]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update powerpc libm-test ULPs.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
5e056687
AZ
12013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4
2b66ef5d
TS
52013-05-26 Thomas Schwinge <thomas@codesourcery.com>
6
528c2405
TS
7 * stdio-common/bug26.c (main): Correct fscanf template.
8
07b4c13d
TS
9 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
10 declare _dl_skip_args.
11
ec9dd97c
TS
12 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13 Don't declare.
14
2b66ef5d
TS
15 * manual/platform.texi: Add missing @end deftypefun.
16
4f8dfe27
JM
172013-05-24 Joseph Myers <joseph@codesourcery.com>
18
0323d086
JM
19 [BZ #15529]
20 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21 bit of mantissa of 2^16382.
22 * math/libm-test.inc (hypot_test_data): Add more tests.
23
dd4259b9
JM
24 * math/libm-test.inc: Add drem and pow10 to list of tested
25 functions.
26 (pow10_test): New function.
27 (drem_test): Likewise.
28 (drem_test_tonearest): Likewise.
29 (drem_test_towardzero): Likewise.
30 (drem_test_downward): Likewise.
31 (drem_test_upward): Likewise.
32 (main): Call the new functions.
33
4f8dfe27
JM
34 * math/libm-test.inc (finite_test_data): Remove.
35 (finite_test): Run tests from isfinite_test_data.
36 (gamma_test_data): Remove.
37 (gamma_test): Run tests from lgamma_test_data.
38 * sysdeps/i386/fpu/libm-test-ulps: Update.
39 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40
d116b7c4
AZ
412013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42
43 * manual/platform.texi: Add PowerPC PPR function set documentation.
44 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
45 implementation.
46
e96e3767
CD
472013-05-24 Carlos O'Donell <carlos@redhat.com>
48
49 * math/libm-test.inc (MAX_EXP): Define.
50 (ULPDIFF): Define.
51 (ulp): New function.
52 (check_float_internal): Use ULPDIFF.
53 (cpow_test): Disable failing test.
54 (check_ulp): Test ulp() implemetnation.
55 (main): Call check_ulp before starting tests.
56
b679a606
JM
572013-05-24 Joseph Myers <joseph@codesourcery.com>
58
e8bdba36
JM
59 * math/gen-libm-test.pl (generate_testfile): Do not handle
60 START_DATA and END_DATA.
61 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
62 END_DATA.
63 (acos_tonearest_test_data): Likewise.
64 (acos_towardzero_test_data): Likewise.
65 (acos_downward_test_data): Likewise.
66 (acos_upward_test_data): Likewise.
67 (acosh_test_data): Likewise.
68 (asin_test_data): Likewise.
69 (asin_tonearest_test_data): Likewise.
70 (asin_towardzero_test_data): Likewise.
71 (asin_downward_test_data): Likewise.
72 (asin_upward_test_data): Likewise.
73 (asinh_test_data): Likewise.
74 (atan_test_data): Likewise.
75 (atanh_test_data): Likewise.
76 (atan2_test_data): Likewise.
77 (cabs_test_data): Likewise.
78 (cacos_test_data): Likewise.
79 (cacosh_test_data): Likewise.
80 (carg_test_data): Likewise.
81 (casin_test_data): Likewise.
82 (casinh_test_data): Likewise.
83 (catan_test_data): Likewise.
84 (catanh_test_data): Likewise.
85 (cbrt_test_data): Likewise.
86 (ccos_test_data): Likewise.
87 (ccosh_test_data): Likewise.
88 (ceil_test_data): Likewise.
89 (cexp_test_data): Likewise.
90 (cimag_test_data): Likewise.
91 (clog_test_data): Likewise.
92 (clog10_test_data): Likewise.
93 (conj_test_data): Likewise.
94 (copysign_test_data): Likewise.
95 (cos_test_data): Likewise.
96 (cos_tonearest_test_data): Likewise.
97 (cos_towardzero_test_data): Likewise.
98 (cos_downward_test_data): Likewise.
99 (cos_upward_test_data): Likewise.
100 (cosh_test_data): Likewise.
101 (cosh_tonearest_test_data): Likewise.
102 (cosh_towardzero_test_data): Likewise.
103 (cosh_downward_test_data): Likewise.
104 (cosh_upward_test_data): Likewise.
105 (cpow_test_data): Likewise.
106 (cproj_test_data): Likewise.
107 (creal_test_data): Likewise.
108 (csin_test_data): Likewise.
109 (csinh_test_data): Likewise.
110 (csqrt_test_data): Likewise.
111 (ctan_test_data): Likewise.
112 (ctan_tonearest_test_data): Likewise.
113 (ctan_towardzero_test_data): Likewise.
114 (ctan_downward_test_data): Likewise.
115 (ctan_upward_test_data): Likewise.
116 (ctanh_test_data): Likewise.
117 (ctanh_tonearest_test_data): Likewise.
118 (ctanh_towardzero_test_data): Likewise.
119 (ctanh_downward_test_data): Likewise.
120 (ctanh_upward_test_data): Likewise.
121 (erf_test_data): Likewise.
122 (erfc_test_data): Likewise.
123 (exp_test_data): Likewise.
124 (exp_tonearest_test_data): Likewise.
125 (exp_towardzero_test_data): Likewise.
126 (exp_downward_test_data): Likewise.
127 (exp_upward_test_data): Likewise.
128 (exp10_test_data): Likewise.
129 (exp2_test_data): Likewise.
130 (expm1_test_data): Likewise.
131 (fabs_test_data): Likewise.
132 (fdim_test_data): Likewise.
133 (finite_test_data): Likewise.
134 (floor_test_data): Likewise.
135 (fma_test_data): Likewise.
136 (fma_towardzero_test_data): Likewise.
137 (fma_downward_test_data): Likewise.
138 (fma_upward_test_data): Likewise.
139 (fmax_test_data): Likewise.
140 (fmin_test_data): Likewise.
141 (fmod_test_data): Likewise.
142 (fpclassify_test_data): Likewise.
143 (frexp_test_data): Likewise.
144 (gamma_test_data): Likewise.
145 (hypot_test_data): Likewise.
146 (ilogb_test_data): Likewise.
147 (isfinite_test_data): Likewise.
148 (isgreater_test_data): Likewise.
149 (isgreaterequal_test_data): Likewise.
150 (isinf_test_data): Likewise.
151 (isless_test_data): Likewise.
152 (islessequal_test_data): Likewise.
153 (islessgreater_test_data): Likewise.
154 (isnan_test_data): Likewise.
155 (isnormal_test_data): Likewise.
156 (issignaling_test_data): Likewise.
157 (isunordered_test_data): Likewise.
158 (j0_test_data): Likewise.
159 (j1_test_data): Likewise.
160 (jn_test_data): Likewise.
161 (ldexp_test_data): Likewise.
162 (lgamma_test_data): Likewise.
163 (lrint_test_data): Likewise.
164 (lrint_tonearest_test_data): Likewise.
165 (lrint_towardzero_test_data): Likewise.
166 (lrint_downward_test_data): Likewise.
167 (lrint_upward_test_data): Likewise.
168 (llrint_test_data): Likewise.
169 (llrint_tonearest_test_data): Likewise.
170 (llrint_towardzero_test_data): Likewise.
171 (llrint_downward_test_data): Likewise.
172 (llrint_upward_test_data): Likewise.
173 (log_test_data): Likewise.
174 (log10_test_data): Likewise.
175 (log1p_test_data): Likewise.
176 (log2_test_data): Likewise.
177 (logb_test_data): Likewise.
178 (logb_downward_test_data): Likewise.
179 (lround_test_data): Likewise.
180 (llround_test_data): Likewise.
181 (modf_test_data): Likewise.
182 (nearbyint_test_data): Likewise.
183 (nextafter_test_data): Likewise.
184 (nexttoward_test_data): Likewise.
185 (pow_test_data): Likewise.
186 (pow_tonearest_test_data): Likewise.
187 (pow_towardzero_test_data): Likewise.
188 (pow_downward_test_data): Likewise.
189 (pow_upward_test_data): Likewise.
190 (remainder_test_data): Likewise.
191 (remainder_tonearest_test_data): Likewise.
192 (remainder_towardzero_test_data): Likewise.
193 (remainder_downward_test_data): Likewise.
194 (remainder_upward_test_data): Likewise.
195 (remquo_test_data): Likewise.
196 (rint_test_data): Likewise.
197 (rint_tonearest_test_data): Likewise.
198 (rint_towardzero_test_data): Likewise.
199 (rint_downward_test_data): Likewise.
200 (rint_upward_test_data): Likewise.
201 (round_test_data): Likewise.
202 (scalb_test_data): Likewise.
203 (scalbn_test_data): Likewise.
204 (scalbln_test_data): Likewise.
205 (signbit_test_data): Likewise.
206 (sin_test_data): Likewise.
207 (sin_tonearest_test_data): Likewise.
208 (sin_towardzero_test_data): Likewise.
209 (sin_downward_test_data): Likewise.
210 (sin_upward_test_data): Likewise.
211 (sincos_test_data): Likewise.
212 (sinh_test_data): Likewise.
213 (sinh_tonearest_test_data): Likewise.
214 (sinh_towardzero_test_data): Likewise.
215 (sinh_downward_test_data): Likewise.
216 (sinh_upward_test_data): Likewise.
217 (sqrt_test_data): Likewise.
218 (tan_test_data): Likewise.
219 (tan_tonearest_test_data): Likewise.
220 (tan_towardzero_test_data): Likewise.
221 (tan_downward_test_data): Likewise.
222 (tan_upward_test_data): Likewise.
223 (tanh_test_data): Likewise.
224 (tgamma_test_data): Likewise.
225 (trunc_test_data): Likewise.
226 (y0_test_data): Likewise.
227 (y1_test_data): Likewise.
228 (yn_test_data): Likewise.
229 (significand_test_data): Likewise.
230
b679a606
JM
231 * math/gen-libm-test.pl (@functions): Remove variable.
232 (generate_testfile): Don't handle START and END lines.
233 * math/libm-test.inc (START): New macro.
234 (END): Likewise.
235 (END_COMPLEX): Likewise.
236 (acos_test): Use END macro without arguments.
237 (acos_test_tonearest): Likewise.
238 (acos_test_towardzero): Likewise.
239 (acos_test_downward): Likewise.
240 (acos_test_upward): Likewise.
241 (acosh_test): Likewise.
242 (asin_test): Likewise.
243 (asin_test_tonearest): Likewise.
244 (asin_test_towardzero): Likewise.
245 (asin_test_downward): Likewise.
246 (asin_test_upward): Likewise.
247 (asinh_test): Likewise.
248 (atan_test): Likewise.
249 (atanh_test): Likewise.
250 (atan2_test): Likewise.
251 (cabs_test): Likewise.
252 (cacos_test): Use END_COMPLEX macro without arguments.
253 (cacosh_test): Likewise.
254 (carg_test): Use END macro without arguments.
255 (casin_test): Use END_COMPLEX macro without arguments.
256 (casinh_test): Likewise.
257 (catan_test): Likewise.
258 (catanh_test): Likewise.
259 (cbrt_test): Use END macro without arguments.
260 (ccos_test): Use END_COMPLEX macro without arguments.
261 (ccosh_test): Likewise.
262 (ceil_test): Use END macro without arguments.
263 (cexp_test): Use END_COMPLEX macro without arguments.
264 (cimag_test): Use END macro without arguments.
265 (clog_test): Use END_COMPLEX macro without arguments.
266 (clog10_test): Likewise.
267 (conj_test): Likewise.
268 (copysign_test): Use END macro without arguments.
269 (cos_test): Likewise.
270 (cos_test_tonearest): Likewise.
271 (cos_test_towardzero): Likewise.
272 (cos_test_downward): Likewise.
273 (cos_test_upward): Likewise.
274 (cosh_test): Likewise.
275 (cosh_test_tonearest): Likewise.
276 (cosh_test_towardzero): Likewise.
277 (cosh_test_downward): Likewise.
278 (cosh_test_upward): Likewise.
279 (cpow_test): Use END_COMPLEX macro without arguments.
280 (cproj_test): Likewise.
281 (creal_test): Use END macro without arguments.
282 (csin_test): Use END_COMPLEX macro without arguments.
283 (csinh_test): Likewise.
284 (csqrt_test): Likewise.
285 (ctan_test): Likewise.
286 (ctan_test_tonearest): Likewise.
287 (ctan_test_towardzero): Likewise.
288 (ctan_test_downward): Likewise.
289 (ctan_test_upward): Likewise.
290 (ctanh_test): Likewise.
291 (ctanh_test_tonearest): Likewise.
292 (ctanh_test_towardzero): Likewise.
293 (ctanh_test_downward): Likewise.
294 (ctanh_test_upward): Likewise.
295 (erf_test): Use END macro without arguments.
296 (erfc_test): Likewise.
297 (exp_test): Likewise.
298 (exp_test_tonearest): Likewise.
299 (exp_test_towardzero): Likewise.
300 (exp_test_downward): Likewise.
301 (exp_test_upward): Likewise.
302 (exp10_test): Likewise.
303 (exp2_test): Likewise.
304 (expm1_test): Likewise.
305 (fabs_test): Likewise.
306 (fdim_test): Likewise.
307 (finite_test): Likewise.
308 (floor_test): Likewise.
309 (fma_test): Likewise.
310 (fma_test_towardzero): Likewise.
311 (fma_test_downward): Likewise.
312 (fma_test_upward): Likewise.
313 (fmax_test): Likewise.
314 (fmin_test): Likewise.
315 (fmod_test): Likewise.
316 (fpclassify_test): Likewise.
317 (frexp_test): Likewise.
318 (gamma_test): Likewise.
319 (hypot_test): Likewise.
320 (ilogb_test): Likewise.
321 (isfinite_test): Likewise.
322 (isgreater_test): Likewise.
323 (isgreaterequal_test): Likewise.
324 (isinf_test): Likewise.
325 (isless_test): Likewise.
326 (islessequal_test): Likewise.
327 (islessgreater_test): Likewise.
328 (isnan_test): Likewise.
329 (isnormal_test): Likewise.
330 (issignaling_test): Likewise.
331 (isunordered_test): Likewise.
332 (j0_test): Likewise.
333 (j1_test): Likewise.
334 (jn_test): Likewise.
335 (ldexp_test): Likewise.
336 (lgamma_test): Likewise.
337 (lrint_test): Likewise.
338 (lrint_test_tonearest): Likewise.
339 (lrint_test_towardzero): Likewise.
340 (lrint_test_downward): Likewise.
341 (lrint_test_upward): Likewise.
342 (llrint_test): Likewise.
343 (llrint_test_tonearest): Likewise.
344 (llrint_test_towardzero): Likewise.
345 (llrint_test_downward): Likewise.
346 (llrint_test_upward): Likewise.
347 (log_test): Likewise.
348 (log10_test): Likewise.
349 (log1p_test): Likewise.
350 (log2_test): Likewise.
351 (logb_test): Likewise.
352 (logb_test_downward): Likewise.
353 (lround_test): Likewise.
354 (llround_test): Likewise.
355 (modf_test): Likewise.
356 (nearbyint_test): Likewise.
357 (nextafter_test): Likewise.
358 (nexttoward_test): Likewise.
359 (pow_test): Likewise.
360 (pow_test_tonearest): Likewise.
361 (pow_test_towardzero): Likewise.
362 (pow_test_downward): Likewise.
363 (pow_test_upward): Likewise.
364 (remainder_test): Likewise.
365 (remainder_test_tonearest): Likewise.
366 (remainder_test_towardzero): Likewise.
367 (remainder_test_downward): Likewise.
368 (remainder_test_upward): Likewise.
369 (remquo_test): Likewise.
370 (rint_test): Likewise.
371 (rint_test_tonearest): Likewise.
372 (rint_test_towardzero): Likewise.
373 (rint_test_downward): Likewise.
374 (rint_test_upward): Likewise.
375 (round_test): Likewise.
376 (scalb_test): Likewise.
377 (scalbn_test): Likewise.
378 (scalbln_test): Likewise.
379 (signbit_test): Likewise.
380 (sin_test): Likewise.
381 (sin_test_tonearest): Likewise.
382 (sin_test_towardzero): Likewise.
383 (sin_test_downward): Likewise.
384 (sin_test_upward): Likewise.
385 (sincos_test): Likewise.
386 (sinh_test): Likewise.
387 (sinh_test_tonearest): Likewise.
388 (sinh_test_towardzero): Likewise.
389 (sinh_test_downward): Likewise.
390 (sinh_test_upward): Likewise.
391 (sqrt_test): Likewise.
392 (tan_test): Likewise.
393 (tan_test_tonearest): Likewise.
394 (tan_test_towardzero): Likewise.
395 (tan_test_downward): Likewise.
396 (tan_test_upward): Likewise.
397 (tanh_test): Likewise.
398 (tgamma_test): Likewise.
399 (trunc_test): Likewise.
400 (y0_test): Likewise.
401 (y1_test): Likewise.
402 (yn_test): Likewise.
403 (significand_test): Likewise.
404
bae143d2
OB
4052013-05-24 Ondřej Bílka <neleai@seznam.cz>
406
407 [BZ #15381]
408 * libio/genops.c (_IO_no_init): Initialize wide struct info.
409
9323d39b
EM
4102013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
411
d4ea44a0 412 [BZ #14894]
9323d39b
EM
413 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
414 __ppc_mdoio and __ppc_mdoom.
415 * manual/platform.texi: Document new functions __ppc_yield,
416 __ppc_mdoio and __ppc_mdoom.
417
13e23af7
CD
4182013-05-22 Carlos O'Donell <carlos@redhat.com>
419
420 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
421 (main): Mention "tls" pseudo-hwcap is legacy.
422 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
423
351fe550
JM
4242013-05-22 Joseph Myers <joseph@codesourcery.com>
425
426 * math/gen-libm-test.pl (parse_args): Output only string of
427 arguments as text for test name, not full call or descriptions of
428 tests for extra outputs.
429 (generate_testfile): Do not pass function name to parse_args.
430 Generate this_func variable from START.
431 * math/libm-test.inc (struct test_f_f_data): Rename test_name
432 field to arg_str.
433 (struct test_ff_f_data): Likewise.
434 (test_ff_f_data_nexttoward): Likewise.
435 (struct test_fi_f_data): Likewise.
436 (struct test_fl_f_data): Likewise.
437 (struct test_if_f_data): Likewise.
438 (struct test_fff_f_data): Likewise.
439 (struct test_c_f_data): Likewise.
440 (struct test_f_f1_data): Likewise. Remove field extra_name.
441 (struct test_fF_f1_data): Likewise.
442 (struct test_ffI_f1_data): Likewise.
443 (struct test_c_c_data): Rename test_name field to arg_str.
444 (struct test_cc_c_data): Likewise.
445 (struct test_f_i_data): Likewise.
446 (struct test_ff_i_data): Likewise.
447 (struct test_f_l_data): Likewise.
448 (struct test_f_L_data): Likewise.
449 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
450 and extra2_name.
451 (COMMON_TEST_SETUP): New macro.
452 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
453 (COMMON_TEST_CLEANUP): Likewise.
454 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
455 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
456 macros.
457 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
458 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
459 macros.
460 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
461 (RUN_TEST_fff_f): Take argument string. Call new setup and
462 cleanup macros.
463 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
464 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
465 macros.
466 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
467 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
468 macros.
469 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
470 (RUN_TEST_fF_f1): Take argument string. Call new setup and
471 cleanup macros.
472 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
473 (RUN_TEST_fI_f1): Take argument string. Call new setup and
474 cleanup macros.
475 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
476 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
477 cleanup macros.
478 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
479 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
480 macros.
481 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
482 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
483 macros.
484 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
485 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
486 macros.
487 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
488 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
489 cleanup macros.
490 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
491 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
492 cleanup macros.
493 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
494 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
495 macros.
496 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
497 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
498 cleanup macros.
499 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
500 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
501 macros.
502 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
503 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
504 macros.
505 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
506 (RUN_TEST_fFF_11): Take argument string. Call new setup and
507 cleanup macros.
508 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
509
85118d4d
EBM
5102013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
511
512 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
513 to _sifields.sigfault.
514 (si_addr_lsb): Define new macro.
515 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
516 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
517 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
518
7a44c18f
CD
5192013-05-03 Carlos O'Donell <carlos at redhat.com>
520
521 [BZ #15441]
522 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
523 returns -1.
524 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
525 null return -1.
526 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
527 loading the domain.
528
b50a7181
JM
5292013-05-22 Joseph Myers <joseph@codesourcery.com>
530
531 * math/gen-libm-test.pl (parse_args): Do not include expected
532 result in test name.
533 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
534 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
535 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
536 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
537 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
539
051063c8
SP
5402013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
541
3ce9e010
SP
542 * benchtests/Makefile: Sort function entries.
543
051063c8
SP
544 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
545 tanh, asinh, acosh, atanh.
546 * benchtests/acos-inputs: New file.
547 * benchtests/acosh-inputs: New file.
548 * benchtests/asin-inputs: New file.
549 * benchtests/asinh-inputs: New file.
550 * benchtests/atanh-inputs: New file.
551 * benchtests/cosh-inputs: New file.
552 * benchtests/log-inputs: New file.
553 * benchtests/sinh-inputs: New file.
554 * benchtests/tanh-inputs: New file.
555
47c22455
DL
5562013-05-21 Dmitry V. Levin <ldv@altlinux.org>
557
558 [BZ #15339]
559 * posix/tst-getaddrinfo4.c: New test.
560 * posix/Makefile (tests): Add it.
561
3d04f5db
SP
5622013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
563
564 [BZ #15339]
565 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
566 when no services were used.
567 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
568 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
569
d5dd6189
AS
5702013-05-21 Andreas Schwab <schwab@suse.de>
571
572 [BZ #15014]
573 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
574 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
575 successful.
576 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
577 redundant variable declarations and reallocation of buffer when
578 parsing as IPv6 address. Always set NSS status when called from
579 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
580 buffer too small. Correct computation of needed size.
581 * nss/Makefile (tests): Add test-digits-dots.
582 * nss/test-digits-dots.c: New test.
583
fef94eab
SP
5842013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
585
586 * benchtests/Makefile: Remove instructions for adding
587 benchmark tests.
588 * benchtests/README: New file to explain how to execute and
589 enhance the benchmark tests.
590
e39adf43
AS
5912013-05-21 Andreas Schwab <schwab@suse.de>
592
593 [BZ #15493]
594 * setjmp/Makefile (tests): Add tst-sigsetjmp.
595 * setjmp/tst-sigsetjmp.c: New test.
596
b2b671b6
OB
5972013-05-20 Ondřej Bílka <neleai@seznam.cz>
598
599 * sysdeps/x86_64/memset.S (memset): New implementation.
600 (__bzero): Likewise.
601 (__memset_tail): New function.
602
2d48b41c
OB
6032013-05-20 Ondřej Bílka <neleai@seznam.cz>
604
605 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
606 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
607 __memcpy_sse2_unaligned ifunc selection.
608 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
609 Add memcpy-sse2-unaligned.S.
610 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
611 Add: __memcpy_sse2_unaligned.
612
f16cc3eb
JM
6132013-05-19 Joseph Myers <joseph@codesourcery.com>
614
3e694268
JM
615 [BZ #15490]
616 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
617 math_force_eval before restoring floating-point envrionment.
618 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
619 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
620 Likewise.
621 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
622 <math_private.h>.
623 (__nearbyintl): Use math_force_eval before restoring
624 floating-point environment.
625 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
626
db62a907
JM
627 * math/gen-libm-test.pl (special_functions): Remove.
628 (parse_args): Don't handle TEST_extra. Handle functions with no
629 return value.
630 * math/libm-test.inc (struct test_sincos_data): Replace with
631 struct test_fFF_11_data.
632 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
633 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
634 (sincos_test_data): Change element type to struct
635 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
636 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
637 RUN_TEST_LOOP_sincos.
638 * math/README.libm-test: Don't mention special handling of
639 individual functions.
640 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
641 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
642 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
643 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
644 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
646
f16cc3eb
JM
647 * math/gen-libm-test.pl (get_variable): Remove function.
648 (parse_args): Don't show pointer parameters to call in test
649 names. Use "extra output N" in test names for extra outputs
650 rather than naming variables.
651
3779b5b6
JM
6522013-05-18 Joseph Myers <joseph@codesourcery.com>
653
2ee094ff
JM
654 [BZ #15488]
655 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
656 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
657 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
658 double tests.
659 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
660 disable.
661 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
662 check_long_double.
663
3779b5b6
JM
664 * math/gen-libm-test.pl (@tests): Remove variable.
665 ($count): Likewise.
666 (new_test): Remove function.
667 (show_exceptions): New function.
668 (special_functions): Use show_exceptions instead of new_test.
669 (parse_args): Likewise.
670 (generate_testfile): Pass only function name in generated call to
671 print_max_error or print_complex_max_error.
672 (get_ulps): Do not handle complex tests specially.
673 (output_test): Rename to ...
674 (get_all_ulps_for_test): ... this. Return a string rather than
675 printing to a file. Require ulps to be present.
676 (output_ulps): Generate arrays rather than #defines.
677 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
678 (struct ulp_data): New type.
679 (BUILD_COMPLEX_ULP): Remove macro.
680 (compare_ulp_data): New function.
681 (find_ulps): Likewise.
682 (find_test_ulps): Likewise.
683 (find_function_ulps): Likewise.
684 (find_complex_function_ulps): Likewise.
685 (print_max_error): Determine allowed ulps using
686 find_function_ulps.
687 (print_complex_max_error): Determine allowed ulps using
688 find_complex_function_ulps.
689 (check_float_internal): Determine max ulps using find_test_ulps.
690 (check_float): Do not take max_ulp parameter. Update call to
691 check_float_internal.
692 (check_complex): Likewise.
693 (check_int): Do not take max_ulp parameter.
694 (check_long): Likewise.
695 (check_bool): Likewise.
696 (check_longlong): Likewise.
697 (struct test_f_f_data): Remove max_ulp field.
698 (struct test_ff_f_data): Likewise.
699 (struct test_ff_f_data_nexttoward): Likewise.
700 (struct test_fi_f_data): Likewise.
701 (struct test_fl_f_data): Likewise.
702 (struct test_if_f_data): Likewise.
703 (struct test_fff_f_data): Likewise.
704 (struct test_c_f_data): Likewise.
705 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
706 (struct test_fF_f1_data): Likewise.
707 (struct test_ffI_f1_data): Likewise.
708 (struct test_c_c_data): Remove max_ulp field.
709 (struct test_cc_c_data): Likewise.
710 (struct test_f_i_data): Likewise.
711 (struct test_ff_i_data): Likewise.
712 (struct test_f_l_data): Likewise.
713 (struct test_f_L_data): Likewise.
714 (struct test_sincos_data): Likewise.
715 (RUN_TEST_f_f): Do not handle ulps.
716 (RUN_TEST_LOOP_f_f): Likewise.
717 (RUN_TEST_2_f): Likewise.
718 (RUN_TEST_LOOP_2_f): Likewise.
719 (RUN_TEST_fff_f): Likewise.
720 (RUN_TEST_LOOP_fff_f): Likewise.
721 (RUN_TEST_c_f): Likewise.
722 (RUN_TEST_LOOP_c_f): Likewise.
723 (RUN_TEST_f_f1): Likewise.
724 (RUN_TEST_LOOP_f_f1): Likewise.
725 (RUN_TEST_fF_f1): Likewise.
726 (RUN_TEST_LOOP_fF_f1): Likewise.
727 (RUN_TEST_fI_f1): Likewise.
728 (RUN_TEST_LOOP_fI_f1): Likewise.
729 (RUN_TEST_ffI_f1): Likewise.
730 (RUN_TEST_LOOP_ffI_f1): Likewise.
731 (RUN_TEST_c_c): Likewise.
732 (RUN_TEST_LOOP_c_c): Likewise.
733 (RUN_TEST_cc_c): Likewise.
734 (RUN_TEST_LOOP_cc_c): Likewise.
735 (RUN_TEST_f_i): Likewise.
736 (RUN_TEST_LOOP_f_i): Likewise.
737 (RUN_TEST_f_i_tg): Likewise.
738 (RUN_TEST_LOOP_f_i_tg): Likewise.
739 (RUN_TEST_ff_i_tg): Likewise.
740 (RUN_TEST_LOOP_ff_i_tg): Likewise.
741 (RUN_TEST_f_b): Likewise.
742 (RUN_TEST_LOOP_f_b): Likewise.
743 (RUN_TEST_f_b_tg): Likewise.
744 (RUN_TEST_LOOP_f_b_tg): Likewise.
745 (RUN_TEST_f_l): Likewise.
746 (RUN_TEST_LOOP_f_l): Likewise.
747 (RUN_TEST_f_L): Likewise.
748 (RUN_TEST_LOOP_f_L): Likewise.
749 (RUN_TEST_sincos): Likewise.
750 (RUN_TEST_LOOP_sincos): Likewise.
751
8269107f
JM
7522013-05-17 Joseph Myers <joseph@codesourcery.com>
753
bb38759d
JM
754 [BZ #15480]
755 [BZ #15485]
756 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
757 main case of finite arguments, set rounding mode to FE_TONEAREST
758 and discard exceptions.
759 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
760 exceptions.
761 (remainder_tonearest_test_data): New variable.
762 (remainder_test_tonearest): New function.
763 (remainder_towardzero_test_data): New variable.
764 (remainder_test_towardzero): New function.
765 (remainder_downward_test_data): New variable.
766 (remainder_test_downward): New function.
767 (remainder_upward_test_data): New variable.
768 (remainder_test_upward): New function.
769 (main): Call the new test functions.
770
a00bdcf0
JM
771 * math/libm-test.inc (struct test_f_f1_data): Remove field
772 extra_init.
773 (struct test_fF_f1_data): Likewise.
774 (struct test_ffI_f1_data): Likewise.
775 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
776 based on value of EXTRA_EXPECTED.
777 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
778 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
779 EXTRA_VAR based on value of EXTRA_EXPECTED.
780 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
781 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
782 EXTRA_VAR based on value of EXTRA_EXPECTED.
783 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
784 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
785 EXTRA_VAR based on value of EXTRA_EXPECTED.
786 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
787 * math/gen-libm-test.pl (parse_args): Don't output initializers
788 for extra output values.
789
de407f79
JM
790 * math/libm-test.inc (check_int): Expect result to be exactly
791 equal to expected value and do not handle ulps.
792 (check_long): Likewise.
793 (check_longlong): Likewise.
794
8269107f
JM
795 * math/libm-test.inc (ceil_test_data): Test for "inexact"
796 exceptions.
797 (cimag_test_data): Likewise.
798 (conj_test_data): Likewise.
799 (copysign_test_data): Likewise.
800 (cproj_test_data): Likewise.
801 (creal_test_data): Likewise.
802 (fabs_test_data): Likewise.
803 (fdim_test_data): Likewise.
804 (finite_test_data): Likewise.
805 (floor_test_data): Likewise.
806 (fmax_test_data): Likewise.
807 (fmin_test_data): Likewise.
808 (fmod_test_data): Likewise.
809 (fpclassify_test_data): Likewise.
810 (frexp_test_data): Likewise.
811 (ilogb_test_data): Likewise.
812 (isfinite_test_data): Likewise.
813 (isgreater_test_data): Likewise.
814 (isgreaterequal_test_data): Likewise.
815 (isinf_test_data): Likewise.
816 (isless_test_data): Likewise.
817 (islessequal_test_data): Likewise.
818 (islessgreater_test_data): Likewise.
819 (isnan_test_data): Likewise.
820 (isnormal_test_data): Likewise.
821 (issignaling_test_data): Likewise.
822 (isunordered_test_data): Likewise.
823 (ldexp_test_data): Likewise.
824 (lrint_test_data): Likewise.
825 (lrint_test_data) [TEST_FLOAT]: Disable one test.
826 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
827 (lrint_tonearest_test_data): Test for "inexact" exceptions.
828 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
829 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
830 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
831 test input.
832 (lrint_towardzero_test_data): Test for "inexact" exceptions.
833 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
834 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
835 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
836 that test input.
837 (lrint_downward_test_data): Test for "inexact" exceptions.
838 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
839 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
840 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
841 test input.
842 (lrint_upward_test_data): Test for "inexact" exceptions.
843 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
844 test input.
845 (llrint_test_data): Test for "inexact" exceptions.
846 (llrint_test_data) [TEST_FLOAT]: Disable one test.
847 (llrint_tonearest_test_data): Test for "inexact" exceptions.
848 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
849 (llrint_towardzero_test_data): Test for "inexact" exceptions.
850 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
851 (llrint_downward_test_data): Test for "inexact" exceptions.
852 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
853 (llrint_upward_test_data): Test for "inexact" exceptions.
854 (logb_test_data): Likewise.
855 (logb_downward_test_data): Likewise.
856 (nextafter_test_data): Likewise.
857 (nexttoward_test_data): Likewise.
858 (remainder_test_data): Likewise.
859 (remquo_test_data): Likewise.
860 (scalbn_test_data): Likewise.
861 (scalbln_test_data): Likewise.
862 (signbit_test_data): Likewise.
863 (sqrt_test_data): Likewise.
864 (significand_test_data): Likewise.
865
48a18de1
SP
8662013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
867
868 [BZ #15424]
869 * benchtests/bench-modf.c (struct args): Mark arg0 as
870 volatile.
871 * scripts/bench.pl: Mark members of struct args as volatile.
872
13d3b41a
AZ
8732013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
874
68191c1d 875 [BZ # 15497]
13d3b41a
AZ
876 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
877 negative infinity on POWER6 or lower.
878 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
879
2848b105
MR
8802013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
881
882 [BZ #15442]
883 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
884 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
885 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
886 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
887 (_FP_SETQNAN): New macro.
888 (_FP_SETQNAN_SEMIRAW): Likewise.
889 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
890 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
891 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
892 (FP_EXTEND): Use _FP_FRAC_SNANP.
893 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
894 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
895 into account.
896 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
897 New macro.
898 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
899 Likewise.
900
323e5cb7
JM
9012013-05-16 Joseph Myers <joseph@codesourcery.com>
902
c58b274f
JM
903 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
904 with DIVIDE_BY_ZERO_EXCEPTION.
905 (gamma_test_data): Likewise.
906 (lgamma_test_data): Likewise.
907 (log_test_data): Likewise.
908 (log10_test_data): Likewise.
909 (log2_test_data): Likewise.
910 (tgamma_test_data): Likewise.
911
0ab34904
JM
912 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
913 (acos_test_tonearest): Likewise.
914 (acos_test_towardzero): Likewise.
915 (acos_test_downward): Likewise.
916 (acos_test_upward): Likewise.
917 (acosh_test): Likewise.
918 (asin_test): Likewise.
919 (asin_test_tonearest): Likewise.
920 (asin_test_towardzero): Likewise.
921 (asin_test_downward): Likewise.
922 (asin_test_upward): Likewise.
923 (asinh_test): Likewise.
924 (atan_test): Likewise.
925 (atanh_test): Likewise.
926 (atan2_test): Likewise.
927 (cabs_test): Likewise.
928 (cacos_test): Likewise.
929 (cacosh_test): Likewise.
930 (casin_test): Likewise.
931 (casinh_test): Likewise.
932 (catan_test): Likewise.
933 (catanh_test): Likewise.
934 (cbrt_test): Likewise.
935 (ccos_test): Likewise.
936 (ccosh_test): Likewise.
937 (cexp_test): Likewise.
938 (clog_test): Likewise.
939 (clog10_test): Likewise.
940 (cos_test): Likewise.
941 (cos_test_tonearest): Likewise.
942 (cos_test_towardzero): Likewise.
943 (cos_test_downward): Likewise.
944 (cos_test_upward): Likewise.
945 (cosh_test): Likewise.
946 (cosh_test_tonearest): Likewise.
947 (cosh_test_towardzero): Likewise.
948 (cosh_test_downward): Likewise.
949 (cosh_test_upward): Likewise.
950 (cpow_test): Likewise.
951 (csin_test): Likewise.
952 (csinh_test): Likewise.
953 (csqrt_test): Likewise.
954 (ctan_test): Likewise.
955 (ctan_test_tonearest): Likewise.
956 (ctan_test_towardzero): Likewise.
957 (ctan_test_downward): Likewise.
958 (ctan_test_upward): Likewise.
959 (ctanh_test): Likewise.
960 (ctanh_test_tonearest): Likewise.
961 (ctanh_test_towardzero): Likewise.
962 (ctanh_test_downward): Likewise.
963 (ctanh_test_upward): Likewise.
964 (erf_test): Likewise.
965 (erfc_test): Likewise.
966 (exp_test): Likewise.
967 (exp_test_tonearest): Likewise.
968 (exp_test_towardzero): Likewise.
969 (exp_test_downward): Likewise.
970 (exp_test_upward): Likewise.
971 (exp10_test): Likewise.
972 (exp2_test): Likewise.
973 (expm1_test): Likewise.
974 (fmod_test): Likewise.
975 (gamma_test): Likewise.
976 (hypot_test): Likewise.
977 (j0_test): Likewise.
978 (j1_test): Likewise.
979 (jn_test): Likewise.
980 (lgamma_test): Likewise.
981 (log_test): Likewise.
982 (log10_test): Likewise.
983 (log1p_test): Likewise.
984 (log2_test): Likewise.
985 (logb_test_downward): Likewise.
986 (pow_test): Likewise.
987 (pow_test_tonearest): Likewise.
988 (pow_test_towardzero): Likewise.
989 (pow_test_downward): Likewise.
990 (pow_test_upward): Likewise.
991 (remainder_test): Likewise.
992 (remquo_test): Likewise.
993 (sin_test): Likewise.
994 (sin_test_tonearest): Likewise.
995 (sin_test_towardzero): Likewise.
996 (sin_test_downward): Likewise.
997 (sin_test_upward): Likewise.
998 (sincos_test): Likewise.
999 (sinh_test): Likewise.
1000 (sinh_test_tonearest): Likewise.
1001 (sinh_test_towardzero): Likewise.
1002 (sinh_test_downward): Likewise.
1003 (sinh_test_upward): Likewise.
1004 (sqrt_test): Likewise.
1005 (tan_test): Likewise.
1006 (tan_test_tonearest): Likewise.
1007 (tan_test_towardzero): Likewise.
1008 (tan_test_downward): Likewise.
1009 (tan_test_upward): Likewise.
1010 (tanh_test): Likewise.
1011 (tgamma_test): Likewise.
1012 (y0_test): Likewise.
1013 (y1_test): Likewise.
1014 (yn_test): Likewise.
1015
323e5cb7
JM
1016 * math/gen-libm-test.pl (adjust_arg): Remove function.
1017 (special_function): Remove argument $in_func. Only handle
1018 generating output for tables of tests, not inside functions.
1019 (parse_args): Likewise.
1020 (generate_testfile): Remove variable $in_func. Update call to
1021 parse_args.
1022 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
1023 (MINUS_ZERO_INIT): Rename macro to minus_zero.
1024 (PLUS_INFTY_INIT): Rename macro to plus_infty.
1025 (MINUS_INFTY_INIT): Rename macro to minus_infty.
1026 (QNAN_VALUE_INIT): Rename macro to qnan_value.
1027 (MAX_VALUE_INIT): Rename macro to max_value.
1028 (MIN_VALUE_INIT): Rename macro to min_value.
1029 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
1030 (plus_zero): Remove variable.
1031 (minus_zero): Likewise.
1032 (plus_infty): Likewise.
1033 (minus_infty): Likewise.
1034 (qnan_value): Likewise.
1035 (max_value): Likewise.
1036 (min_value): Likewise.
1037 (min_subnorm_value): Likewise.
1038
e054f494
RA
10392013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1040
1041 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
1042 uint64_t or uint32_t usage.
1043 * crypt/sha256-block.c: Likewise.
1044 * crypt/sha256-crypt.c: Likewise.
1045 * crypt/sha256.c: Likewise.
1046 * crypt/sha512-block.c: Likewise.
1047 * crypt/sha512-crypt.c: Likewise.
1048 * crypt/sha512.c: Likewise.
1049 * debug/backtrace-tst.c: Likewise.
1050 * debug/pcprofiledump.c: Likewise.
1051 * elf/cache.c: Likewise.
1052 * elf/dl-cache.c: Likewise.
1053 * elf/dl-misc.c: Likewise.
1054 * elf/dl-profile.c: Likewise.
1055 * elf/dl-support.c: Likewise.
1056 * elf/ldconfig.c: Likewise.
1057 * elf/sprof.c: Likewise.
1058 * iconv/dummy-repertoire.c: Likewise.
1059 * iconv/iconv_charmap.c: Likewise.
1060 * iconv/skeleton.c: Likewise.
1061 * iconvdata/8bit-generic.c: Likewise.
1062 * iconvdata/cp737.h: Likewise.
1063 * iconvdata/cp775.h: Likewise.
1064 * iconvdata/ibm1008.h: Likewise.
1065 * iconvdata/ibm1025.h: Likewise.
1066 * iconvdata/ibm1046.h: Likewise.
1067 * iconvdata/ibm1097.h: Likewise.
1068 * iconvdata/ibm1112.h: Likewise.
1069 * iconvdata/ibm1122.h: Likewise.
1070 * iconvdata/ibm1123.h: Likewise.
1071 * iconvdata/ibm1124.h: Likewise.
1072 * iconvdata/ibm1129.h: Likewise.
1073 * iconvdata/ibm1130.h: Likewise.
1074 * iconvdata/ibm1132.h: Likewise.
1075 * iconvdata/ibm1133.h: Likewise.
1076 * iconvdata/ibm1137.h: Likewise.
1077 * iconvdata/ibm1140.h: Likewise.
1078 * iconvdata/ibm1141.h: Likewise.
1079 * iconvdata/ibm1142.h: Likewise.
1080 * iconvdata/ibm1143.h: Likewise.
1081 * iconvdata/ibm1144.h: Likewise.
1082 * iconvdata/ibm1145.h: Likewise.
1083 * iconvdata/ibm1146.h: Likewise.
1084 * iconvdata/ibm1147.h: Likewise.
1085 * iconvdata/ibm1148.h: Likewise.
1086 * iconvdata/ibm1149.h: Likewise.
1087 * iconvdata/ibm1153.h: Likewise.
1088 * iconvdata/ibm1154.h: Likewise.
1089 * iconvdata/ibm1155.h: Likewise.
1090 * iconvdata/ibm1156.h: Likewise.
1091 * iconvdata/ibm1157.h: Likewise.
1092 * iconvdata/ibm1158.h: Likewise.
1093 * iconvdata/ibm1160.h: Likewise.
1094 * iconvdata/ibm1161.h: Likewise.
1095 * iconvdata/ibm1162.h: Likewise.
1096 * iconvdata/ibm1163.h: Likewise.
1097 * iconvdata/ibm1164.h: Likewise.
1098 * iconvdata/ibm1166.h: Likewise.
1099 * iconvdata/ibm1167.h: Likewise.
1100 * iconvdata/ibm12712.h: Likewise.
1101 * iconvdata/ibm1390.h: Likewise.
1102 * iconvdata/ibm1399.h: Likewise.
1103 * iconvdata/ibm16804.h: Likewise.
1104 * iconvdata/ibm4517.h: Likewise.
1105 * iconvdata/ibm4899.h: Likewise.
1106 * iconvdata/ibm4909.h: Likewise.
1107 * iconvdata/ibm4971.h: Likewise.
1108 * iconvdata/ibm5347.h: Likewise.
1109 * iconvdata/ibm803.h: Likewise.
1110 * iconvdata/ibm856.h: Likewise.
1111 * iconvdata/ibm901.h: Likewise.
1112 * iconvdata/ibm902.h: Likewise.
1113 * iconvdata/ibm9030.h: Likewise.
1114 * iconvdata/ibm9066.h: Likewise.
1115 * iconvdata/ibm921.h: Likewise.
1116 * iconvdata/ibm922.h: Likewise.
1117 * iconvdata/ibm9448.h: Likewise.
1118 * iconvdata/isiri-3342.h: Likewise.
1119 * iconvdata/jis0201.h: Likewise.
1120 * include/link.h: Likewise.
1121 * include/netdb.h: Likewise.
1122 * inet/check_native.c: Likewise.
1123 * inet/check_pf.c: Likewise.
1124 * inet/getipv4sourcefilter.c: Likewise.
1125 * inet/getnameinfo.c: Likewise.
1126 * inet/getsourcefilter.c: Likewise.
1127 * inet/htonl.c: Likewise.
1128 * inet/setipv4sourcefilter.c: Likewise.
1129 * inet/setsourcefilter.c: Likewise.
1130 * inet/test-inet6_opt.c: Likewise.
1131 * inet/tst-network.c: Likewise.
1132 * locale/C-collate.c: Likewise.
1133 * locale/C-ctype.c: Likewise.
1134 * locale/C-time.c: Likewise.
1135 * locale/C-translit.h: Likewise.
1136 * locale/loadarchive.c: Likewise.
1137 * locale/programs/3level.h: Likewise.
1138 * locale/programs/charmap.c: Likewise.
1139 * locale/programs/charmap.h: Likewise.
1140 * locale/programs/ld-address.c: Likewise.
1141 * locale/programs/ld-collate.c: Likewise.
1142 * locale/programs/ld-ctype.c: Likewise.
1143 * locale/programs/ld-identification.c: Likewise.
1144 * locale/programs/ld-measurement.c: Likewise.
1145 * locale/programs/ld-messages.c: Likewise.
1146 * locale/programs/ld-monetary.c: Likewise.
1147 * locale/programs/ld-name.c: Likewise.
1148 * locale/programs/ld-numeric.c: Likewise.
1149 * locale/programs/ld-paper.c: Likewise.
1150 * locale/programs/ld-telephone.c: Likewise.
1151 * locale/programs/ld-time.c: Likewise.
1152 * locale/programs/linereader.c: Likewise.
1153 * locale/programs/locale.c: Likewise.
1154 * locale/programs/locarchive.c: Likewise.
1155 * locale/programs/locfile.h: Likewise.
1156 * locale/programs/repertoire.c: Likewise.
1157 * locale/programs/simple-hash.c: Likewise.
1158 * locale/programs/simple-hash.h: Likewise.
1159 * malloc/memusage.c: Likewise.
1160 * malloc/memusagestat.c: Likewise.
1161 * nis/nis_defaults.c: Likewise.
1162 * nis/nis_hash.c: Likewise.
1163 * nis/nis_print.c: Likewise.
1164 * nis/nis_xdr.c: Likewise.
1165 * nscd/connections.c: Likewise.
1166 * nscd/hstcache.c: Likewise.
1167 * nscd/nscd_gethst_r.c: Likewise.
1168 * nscd/nscd_getserv_r.c: Likewise.
1169 * nscd/nscd_helper.c: Likewise.
1170 * nscd/servicescache.c: Likewise.
1171 * nss/makedb.c: Likewise.
1172 * nss/nss_db/db-XXX.c: Likewise.
1173 * nss/nss_db/db-initgroups.c: Likewise.
1174 * nss/nss_db/db-netgrp.c: Likewise.
1175 * nss/nss_files/files-network.c: Likewise.
1176 * nss/nss_files/files-parse.c: Likewise.
1177 * posix/bug-regex5.c: Likewise.
1178 * posix/fnmatch_loop.c: Likewise.
1179 * posix/regcomp.c: Likewise.
1180 * posix/regexec.c: Likewise.
1181 * posix/tst-rfc3484-2.c: Likewise.
1182 * posix/tst-rfc3484-3.c: Likewise.
1183 * posix/tst-rfc3484.c: Likewise.
1184 * resolv/nss_dns/dns-canon.c: Likewise.
1185 * resolv/nss_dns/dns-network.c: Likewise.
1186 * resolv/res_init.c: Likewise.
1187 * resolv/res_mkquery.c: Likewise.
1188 * resolv/tst-aton.c: Likewise.
1189 * stdlib/cxa_atexit.c: Likewise.
1190 * stdlib/cxa_finalize.c: Likewise.
1191 * stdlib/gen-fpioconst.c: Likewise.
1192 * stdlib/strtol_l.c: Likewise.
1193 * string/tst-endian.c: Likewise.
1194 * sunrpc/auth_des.c: Likewise.
1195 * sunrpc/clnt_udp.c: Likewise.
1196 * sunrpc/rtime.c: Likewise.
1197 * sunrpc/svcauth_des.c: Likewise.
1198 * sunrpc/xdr.c: Likewise.
1199 * sunrpc/xdr_intXX_t.c: Likewise.
1200 * sunrpc/xdr_rec.c: Likewise.
1201 * sysdeps/generic/ldconfig.h: Likewise.
1202 * sysdeps/generic/ldsodefs.h: Likewise.
1203 * sysdeps/generic/memusage.h: Likewise.
1204 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1205 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
1206 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
1207 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1208 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1209 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1210 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1211 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1212 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1213 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1214 * sysdeps/posix/getaddrinfo.c: Likewise.
1215 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1216 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1217 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
1218 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1219 * sysdeps/powerpc/test-gettimebase.c: Likewise.
1220 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1221 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
1222 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
1223 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1224 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
1225 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1226 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1227 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
1228 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
1229 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
1230 * sysdeps/x86_64/dl-tls.h: Likewise.
1231 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
1232 * time/alt_digit.c: Likewise.
1233 * time/era.c: Likewise.
1234 * wcsmbs/tst-c16c32-1.c: Likewise.
1235
8c75f674
JM
12362013-05-16 Joseph Myers <joseph@codesourcery.com>
1237
1238 * math/libm-test.inc (struct test_sincos_data): New type.
1239 (RUN_TEST_LOOP_sincos): New macro.
1240 (sincos_test_data): New variable.
1241 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
1242
e6e49e59
RH
12432013-05-16 Richard Henderson <rth@redhat.com>
1244
1245 * math/atest-exp2.c (LIMB64): New macro.
1246 (CONSTSZ): New macro.
1247 (mp_exp1, mp_exp_m1, mp_log2): New variables.
1248 (hexdig): Move ...
1249 (print_mpn_fp): ... to function scope.
1250 (read_mpn_hex): Remove.
1251 (get_log2): Remove.
1252 (exp2_mpn): Use mp_log2.
1253 (main): Use mp_exp1.
1254
15c7c18d
JM
12552013-05-16 Joseph Myers <joseph@codesourcery.com>
1256
105a07df
JM
1257 * math/libm-test.inc: Remove comment about not testing "inexact"
1258 exceptions.
1259 (INEXACT_EXCEPTION): New macro.
1260 (NO_INEXACT_EXCEPTION): Likewise.
1261 (INVALID_EXCEPTION_OK): Update value.
1262 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1263 (OVERFLOW_EXCEPTION_OK): Likewise.
1264 (UNDERFLOW_EXCEPTION_OK): Likewise.
1265 (IGNORE_ZERO_INF_SIGN): Likewise.
1266 (ERRNO_UNCHANGED): Likewise.
1267 (ERRNO_EDOM): Likewise.
1268 (ERRNO_ERANGE): Likewise.
1269 (test_exceptions): Handle testing "inexact" exceptions.
1270 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
1271 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
1272 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
1273 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
1274 INEXACT_EXCEPTION.
1275 (rint_towardzero_test_data): Likewise.
1276 (rint_downward_test_data): Likewise.
1277 (rint_upward_test_data): Likewise.
1278
e9eee333
JM
1279 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
1280 with OVERFLOW_EXCEPTION.
1281 (exp10_test_data): Likewise.
1282 (exp2_test_data): Likewise.
1283 (expm1_test_data): Likewise.
1284 (lgamma_test_data): Likewise.
1285 (pow_test_data): Likewise.
1286 (tgamma_test_data): Likewise.
1287 (yn_test_data): Remove duplicate test of overflow.
1288
1c38ff73
JM
1289 * math/libm-test.inc (struct test_cc_c_data): New type.
1290 (RUN_TEST_LOOP_cc_c): New macro.
1291 (cpow_test_data): New variable.
1292 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
1293
15c7c18d
JM
1294 * math/libm-test.inc (struct test_f_L_data): New type.
1295 (RUN_TEST_LOOP_f_L): New macro.
1296 (llrint_test_data): New variable.
1297 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
1298 (llrint_tonearest_test_data): New variable.
1299 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
1300 (llrint_towardzero_test_data): New variable.
1301 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
1302 (llrint_downward_test_data): New variable.
1303 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
1304 (llrint_upward_test_data): New variable.
1305 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
1306 (llround_test_data): New variable.
1307 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
1308
f137ff13
PC
13092013-05-13 Peter Collingbourne <pcc@google.com>
1310
1311 * math/atest-exp2.c (get_log2): Remove const attribute.
1312
3608cb24
JM
13132013-05-15 Joseph Myers <joseph@codesourcery.com>
1314
1315 * math/libm-test.inc (struct test_f_l_data): New type.
1316 (RUN_TEST_LOOP_f_l): New macro.
1317 (lrint_test_data): New variable.
1318 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
1319 (lrint_tonearest_test_data): New variable.
1320 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
1321 (lrint_towardzero_test_data): New variable.
1322 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
1323 (lrint_downward_test_data): New variable.
1324 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
1325 (lrint_upward_test_data): New variable.
1326 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
1327 (lround_test_data): New variable.
1328 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
1329
39b1f617
PC
13302013-05-15 Peter Collingbourne <pcc@google.com>
1331
1deff3dc
PC
1332 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
1333 (EXTRACT_WORDS64) Use where appropriate.
1334 (INSERT_WORDS64) Likewise.
1335
791f3ba0
PC
1336 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
1337 constraints with x constraints.
1338 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
1339
39b1f617
PC
1340 * malloc/obstack.c (_obstack_compat): Add initializer.
1341
12fba011
EM
13422013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
1343
1344 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
1345 si_trapno and add si_addr_lsb to _sifields.sigfault.
1346 (si_trapno): Remove macro.
1347 (si_addr_lsb): Define new macro.
1348 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1349
d369f531
JM
13502013-05-15 Joseph Myers <joseph@codesourcery.com>
1351
b861c6c4
JM
1352 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
1353 instead of TEST_f_l.
1354 (llrint_test_tonearest): Likewise.
1355 (llrint_test_towardzero): Likewise.
1356 (llrint_test_downward): Likewise.
1357 (llrint_test_upward): Likewise.
1358 (llround_test): Likewise.
1359
7abeee12
JM
1360 * math/libm-test.inc (struct test_f_i_data): Add comment.
1361 (RUN_TEST_LOOP_f_b): New macro.
1362 (RUN_TEST_LOOP_f_b_tg): Likewise.
1363 (finite_test_data): New variable.
1364 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
1365 (isfinite_test_data): New variable.
1366 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1367 (isinf_test_data): New variable.
1368 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1369 (isnan_test_data): New variable.
1370 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1371 (isnormal_test_data): New variable.
1372 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1373 (issignaling_test_data): New variable.
1374 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1375 (signbit_test_data): New variable.
1376 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1377
cbe8c4d3
JM
1378 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
1379 with INVALID_EXCEPTION.
1380 (acosh_test_data): Likewise.
1381 (asin_test_data): Likewise.
1382 (atanh_test_data): Likewise.
1383 (fmod_test_data): Likewise.
1384 (log_test_data): Likewise.
1385 (log10_test_data): Likewise.
1386 (log2_test_data): Likewise.
1387 (pow_test_data): Likewise.
1388 (sqrt_test_data): Likewise.
1389 (y0_test_data): Likewise.
1390 (y1_test_data): Likewise.
1391 (yn_test_data): Likewise.
1392
5575c0e5
JM
1393 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
1394 function contents.
1395
d369f531
JM
1396 * math/libm-test.inc (struct test_ff_i_data): New type.
1397 (RUN_TEST_LOOP_ff_i_tg): New macro.
1398 (isgreater_test_data): New variable.
1399 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1400 (isgreaterequal_test_data): New variable.
1401 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1402 (isless_test_data): New variable.
1403 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1404 (islessequal_test_data): New variable.
1405 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1406 (islessgreater_test_data): New variable.
1407 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1408 (isunordered_test_data): New variable.
1409 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1410
781fd748
DM
14112013-05-14 David S. Miller <davem@davemloft.net>
1412
1413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1414
87aa21df
JM
14152013-05-14 Joseph Myers <joseph@codesourcery.com>
1416
5e908270
JM
1417 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
1418
f71172e5
JM
1419 * math/libm-test.inc (struct test_fF_f1_data): Change type of
1420 extra_test to int.
1421 (struct test_f_i_data): Change type of max_ulp to int.
1422
8cfa635a
JM
1423 * math/libm-test.inc (test_ffI_f1_data): New type.
1424 (RUN_TEST_LOOP_ffI_f1): New macro.
1425 (remquo_test_data): New variable.
1426 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
1427
2bcb36b2
JM
1428 * setjmp/tst-setjmp-fp.c: New file.
1429 * setjmp/Makefile (tests): Add tst-setjmp-fp.
1430 (link-libm): New variable.
1431 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
1432
acbd839a
JM
1433 * math/libm-test.inc (struct test_f_i_data): New type.
1434 (RUN_TEST_LOOP_f_i): New macro.
1435 (RUN_TEST_LOOP_f_i_tg): Likewise.
1436 (fpclassify_test_data): New variable.
1437 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
1438 (ilogb_test_data): New variable.
1439 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
1440
e414d745
JM
1441 * math/libm-test.inc (scalbln_test): Correct function name in END
1442 call.
1443
d9c2a0fd
JM
1444 * math/libm-test.inc (struct test_f_f1_data): Add comment.
1445 (RUN_TEST_LOOP_fI_f1): New macro.
1446 (frexp_test_data): New variable.
1447 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
1448
9dc9095d
JM
1449 * math/libm-test.inc (struct test_fF_f1_data): New type.
1450 (RUN_TEST_LOOP_fF_f1): New macro.
1451 (modf_test_data): New variable.
1452 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
1453
87aa21df
JM
1454 * math/libm-test.inc (struct test_f_f1_data): New type.
1455 (RUN_TEST_LOOP_f_f1): New macro.
1456 (gamma_test_data): New variable.
1457 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
1458 (lgamma_test_data): New variable.
1459 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
1460
141af660
CD
14612013-05-13 Carlos O'Donell <carlos@redhat.com>
1462
1463 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
1464 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
1465 (main): Comment "tls" pseudo-hwcap.
1466
6d33265c
JM
14672013-05-13 Joseph Myers <joseph@codesourcery.com>
1468
68fc074c
JM
1469 * math/libm-test.inc (struct test_fl_f_data): New type.
1470 (RUN_TEST_LOOP_fl_f): New variable.
1471 (scalbln_test_data): New variable.
1472 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
1473
243216e1
JM
1474 * math/libm-test.inc (struct test_fi_f_data): New type.
1475 (RUN_TEST_LOOP_fi_f): New macro.
1476 (ldexp_test_data): New variable.
1477 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
1478 (scalbn_test_data): New variable.
1479 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
1480
6a1992e2
JM
1481 * math/libm-test.inc (struct test_c_f_data): New type.
1482 (RUN_TEST_LOOP_c_f): New macro.
1483 (cabs_test_data): New variable.
1484 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
1485 (carg_test_data): New variable.
1486 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
1487 (cimag_test_data): New variable.
1488 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
1489 (creal_test_data): New variable.
1490 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
1491
0e400df5
JM
1492 * math/libm-test.inc (struct test_if_f_data): New type.
1493 (RUN_TEST_LOOP_if_f): New macro.
1494 (jn_test_data): New variable.
1495 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
1496 (yn_test_data): New variable.
1497 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
1498
6d33265c
JM
1499 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
1500
f98ece5f
AZ
15012013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1502
1503 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
1504 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
1505
0f7d347b
SP
15062013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1507
43fe811b
SP
1508 * benchtests/Makefile (CPPFLAGS-nonlib): Add
1509 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
1510 (bench-deps): Add bench-timing.h.
1511 * benchtests-bench-skeleton.c: Include bench-timing.h.
1512 (main): Use TIMING_* macros instead of clock_gettime.
1513 * benchtests/bench-timing.h: New file.
1514
0f7d347b
SP
1515 [BZ #14582]
1516 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
1517 Renamed from _LIB_VERSION.
1518 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
1519
601a3a5f
JM
15202013-05-12 Joseph Myers <joseph@codesourcery.com>
1521
4f184d30
JM
1522 * math/libm-test.inc (struct test_fff_f_data): New type.
1523 (RUN_TEST_LOOP_fff_f): New macro.
1524 (fma_test_data): New variable.
1525 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
1526 (fma_towardzero_test_data): New variable.
1527 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
1528 (fma_downward_test_data): New variable.
1529 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
1530 (fma_upward_test_data): New variable.
1531 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
1532
08198877
JM
1533 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
1534 (struct test_c_c_data): New type.
1535 (RUN_TEST_LOOP_c_c): New macro.
1536 (cacos_test_data): New variable.
1537 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
1538 (cacosh_test_data): New variable.
1539 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
1540 (casin_test_data): New variable.
1541 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
1542 (casinh_test_data): New variable.
1543 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
1544 (catan_test_data): New variable.
1545 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
1546 (catanh_test_data): New variable.
1547 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
1548 (ccos_test_data): New variable.
1549 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
1550 (ccosh_test_data): New variable.
1551 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
1552 (cexp_test_data): New variable.
1553 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
1554 (clog_test_data): New variable.
1555 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
1556 (clog10_test_data): New variable.
1557 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
1558 (conj_test_data): New variable.
1559 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
1560 (cproj_test_data): New variable.
1561 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
1562 (csin_test_data): New variable.
1563 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
1564 (csinh_test_data): New variable.
1565 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
1566 (csqrt_test_data): New variable.
1567 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
1568 (ctan_test_data): New variable.
1569 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
1570 (ctan_tonearest_test_data): New variable.
1571 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1572 (ctan_towardzero_test_data): New variable.
1573 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1574 (ctan_downward_test_data): New variable.
1575 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1576 (ctan_upward_test_data): New variable.
1577 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1578 (ctanh_test_data): New variable.
1579 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
1580 (ctanh_tonearest_test_data): New variable.
1581 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1582 (ctanh_towardzero_test_data): New variable.
1583 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1584 (ctanh_downward_test_data): New variable.
1585 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1586 (ctanh_upward_test_data): New variable.
1587 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1588 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
1589 of BUILD_COMPLEX.
1590
601a3a5f
JM
1591 * math/libm-test.inc (struct test_ff_f_data): New type.
1592 (struct test_ff_f_data_nexttoward): Likewise.
1593 (RUN_TEST_LOOP_2_f): New macro.
1594 (RUN_TEST_LOOP_ff_f): Likewise.
1595 (atan2_test_data): New variable.
1596 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
1597 (copysign_test_data): New variable.
1598 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
1599 (fdim_test_data): New variable.
1600 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
1601 (fmax_test_data): New variable.
1602 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
1603 (fmin_test_data): New variable.
1604 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
1605 (fmod_test_data): New variable.
1606 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
1607 (hypot_test_data): New variable.
1608 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
1609 (nextafter_test_data): New variable.
1610 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
1611 (nexttoward_test_data): New variable.
1612 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
1613 (pow_test_data): New variable.
1614 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
1615 (pow_tonearest_test_data): New variable.
1616 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
1617 (pow_towardzero_test_data): New variable.
1618 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
1619 (pow_downward_test_data): New variable.
1620 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
1621 (pow_upward_test_data): New variable.
1622 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
1623 (remainder_test_data): New variable.
1624 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
1625 (scalb_test_data): New variable.
1626 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
1627 * sysdeps/i386/fpu/libm-test-ulps: Update.
1628
74c57478
JM
16292013-05-11 Joseph Myers <joseph@codesourcery.com>
1630
8329e4da
JM
1631 * math/libm-test.inc (fma_test): Use max_value instead of local
1632 variable fltmax.
1633 (nextafter_test): Likewise.
1634
74c57478
JM
1635 * math/libm-test.inc (acos_towardzero_test_data): New variable.
1636 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1637 (acos_downward_test_data): New variable.
1638 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1639 (acos_upward_test_data): New variable.
1640 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1641 (acosh_test_data): New variable.
1642 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
1643 (asin_test_data): New variable.
1644 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
1645 (asin_tonearest_test_data): New variable.
1646 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1647 (asin_towardzero_test_data): New variable.
1648 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1649 (asin_downward_test_data): New variable.
1650 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1651 (asin_upward_test_data): New variable.
1652 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1653 (asinh_test_data): New variable.
1654 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
1655 (atan_test_data): New variable.
1656 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
1657 (atanh_test_data): New variable.
1658 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
1659 (cbrt_test_data): New variable.
1660 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
1661 (ceil_test_data): New variable.
1662 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
1663 (cos_test_data): New variable.
1664 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
1665 (cos_tonearest_test_data): New variable.
1666 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1667 (cos_towardzero_test_data): New variable.
1668 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1669 (cos_downward_test_data): New variable.
1670 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1671 (cos_upward_test_data): New variable.
1672 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1673 (cosh_test_data): New variable.
1674 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
1675 (cosh_tonearest_test_data): New variable.
1676 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1677 (cosh_towardzero_test_data): New variable.
1678 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1679 (cosh_downward_test_data): New variable.
1680 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1681 (cosh_upward_test_data): New variable.
1682 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1683 (erf_test_data): New variable.
1684 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
1685 (erfc_test_data): New variable.
1686 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
1687 (exp_test_data): New variable.
1688 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
1689 (exp_tonearest_test_data): New variable.
1690 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1691 (exp_towardzero_test_data): New variable.
1692 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1693 (exp_downward_test_data): New variable.
1694 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1695 (exp_upward_test_data): New variable.
1696 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1697 (exp10_test_data): New variable.
1698 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
1699 (exp2_test_data): New variable.
1700 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
1701 (expm1_test_data): New variable.
1702 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
1703 (fabs_test_data): New variable.
1704 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
1705 (floor_test_data): New variable.
1706 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
1707 (j0_test_data): New variable.
1708 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
1709 (j1_test_data): New variable.
1710 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
1711 (log_test_data): New variable.
1712 (log_test): Run tests with RUN_TEST_LOOP_f_f.
1713 (log10_test_data): New variable.
1714 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
1715 (log1p_test_data): New variable.
1716 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
1717 (log2_test_data): New variable.
1718 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
1719 (logb_test_data): New variable.
1720 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
1721 (logb_downward_test_data): New variable.
1722 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1723 (nearbyint_test_data): New variable.
1724 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
1725 (rint_test_data): New variable.
1726 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
1727 (rint_tonearest_test_data): New variable.
1728 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1729 (rint_towardzero_test_data): New variable.
1730 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1731 (rint_downward_test_data): New variable.
1732 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1733 (rint_upward_test_data): New variable.
1734 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1735 (round_test_data): New variable.
1736 (round_test): Run tests with RUN_TEST_LOOP_f_f.
1737 (sin_test_data): New variable.
1738 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
1739 (sin_tonearest_test_data): New variable.
1740 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1741 (sin_towardzero_test_data): New variable.
1742 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1743 (sin_downward_test_data): New variable.
1744 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1745 (sin_upward_test_data): New variable.
1746 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1747 (sinh_test_data): New variable.
1748 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
1749 (sinh_tonearest_test_data): New variable.
1750 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1751 (sinh_towardzero_test_data): New variable.
1752 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1753 (sinh_downward_test_data): New variable.
1754 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1755 (sinh_upward_test_data): New variable.
1756 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1757 (sqrt_test_data): New variable.
1758 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
1759 (tan_test_data): New variable.
1760 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
1761 (tan_tonearest_test_data): New variable.
1762 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1763 (tan_towardzero_test_data): New variable.
1764 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1765 (tan_downward_test_data): New variable.
1766 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1767 (tan_upward_test_data): New variable.
1768 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1769 (tanh_test_data): New variable.
1770 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
1771 (tgamma_test_data): New variable.
1772 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
1773 (trunc_test_data): New variable.
1774 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
1775 (y0_test_data): New variable.
1776 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
1777 (y1_test_data): New variable.
1778 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
1779 (significand_test_data): New variable.
1780 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
1781
7187d844
CG
17822013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
1783
1784 [BZ #12387]
1785 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
1786
f63fae73
PT
17872013-05-10 Pino Toscano <toscano.pino@tiscali.it>
1788
1789 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
1790
8a67a4b3
AJ
17912013-05-10 Andreas Jaeger <aj@suse.de>
1792
1793 [BZ #15448]
1794 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
1795 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
1796
51df539d
JM
17972013-05-10 Joseph Myers <joseph@codesourcery.com>
1798
1799 * math/gen-libm-test.pl (adjust_arg): New function.
1800 (special_functions): Handle generating output in both functions
1801 and arrays.
1802 (parse_args): Likewise.
1803 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
1804 $in_func argument to parse_args.
1805 * math/libm-test.inc (struct test_f_f_data): New type.
1806 (IF_ROUND_INIT_): New macro.
1807 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
1808 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1809 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1810 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1811 (ROUND_RESTORE_): Likewise.
1812 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
1813 (ROUND_RESTORE_FE_TONEAREST): Likewise.
1814 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
1815 (ROUND_RESTORE_FE_UPWARD): Likewise.
1816 (RUN_TEST_LOOP_f_f): New macro.
1817 (acos_test_data): New variable.
1818 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
1819 (acos_tonearest_test_data): New variable.
1820 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1821
5c637fe5
SP
18222013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1823
1824 * benchtests/bench-skeleton.c (startup): Fix coding style.
1825
ab2b9461
JM
18262013-05-10 Joseph Myers <joseph@codesourcery.com>
1827
1828 [BZ #6809]
1829 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
1830 negative infinity argument.
1831 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
1832 negative infinity argument.
1833 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
1834 negative infinity argument.
1835 * math/libm-test.inc (tgamma_test): Expect errno to be set for
1836 domain errors.
1837
4c0fe6fe
FW
18382013-05-10 Florian Weimer <fweimer@redhat.com>
1839
1840 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
1841 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
1842 * iconv/iconv_prog.c (main): Likewise.
1843 * locale/programs/charmap-dir.c (charmap_readdir)
1844 (fopen_uncompressed): Likewise.
1845 * locale/programs/locfile.c (siblings_uncached)
1846 (write_locale_data): Use lstat64 instead of lstat.
1847 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
1848 stat.
1849
a3375d29
AJ
18502013-05-10 Andreas Jaeger <aj@suse.de>
1851
1852 [BZ #15395]
1853 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
1854 localization.
1855 Include <locale.h>.
1856
36129722
CD
18572013-05-09 Carlos O'Donell <carlos@redhat.com>
1858
1859 * elf/dl-close.c (_dl_close_worker): Add comments.
1860
faa7f811
JM
18612013-05-09 Joseph Myers <joseph@codesourcery.com>
1862
ed41ffef
JM
1863 [BZ #15359]
1864 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
1865 high part of pi/2.
1866 (__ieee754_rem_pio2l): Update comments.
1867
d0213cd0
JM
1868 [BZ #15429]
1869 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
1870 high part of pi/2.
1871 (__ieee754_rem_pio2l): Update comments.
1872
0d3e777a
JM
1873 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
1874 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
1875
24f56066
JM
1876 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
1877 M_PI_4l.
1878
faa7f811
JM
1879 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
1880 (M_PI_34_LOG10El): Likewise.
1881 (M_PI2_LOG10El): Likewise.
1882 (M_PI4_LOG10El): Likewise.
1883 (M_PI_LOG10El): Likewise.
1884
e9a5e0fd
AZ
18852013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1886
1887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1888
d8cd06db
JM
18892013-05-08 Joseph Myers <joseph@codesourcery.com>
1890
a0d9f9d7
JM
1891 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
1892 (MINUS_ZERO_INIT): Likewise.
1893 (PLUS_INFTY_INIT): Likewise.
1894 (MINUS_INFTY_INIT): Likewise.
1895 (QNAN_VALUE_INIT): Likewise.
1896 (MAX_VALUE_INIT): Likewise.
1897 (MIN_VALUE_INIT): Likewise.
1898 (MIN_SUBNORM_VALUE_INIT): Likewise.
1899 (plus_zero): Initialize with PLUS_ZERO_INIT.
1900 (minus_zero): Initialize with MINUS_ZERO_INIT.
1901 (plus_infty): Initialize with PLUS_INFTY_INIT.
1902 (minus_infty): Initialize with MINUS_INFTY_INIT.
1903 (qnan_value): Initialize with QNAN_VALUE_INIT.
1904 (max_value): Initialize with MAX_VALUE_INIT.
1905 (min_value): Initialize with MIN_VALUE_INIT.
1906 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
1907
ae08db3b
JM
1908 * math/libm-test.inc (RUN_TEST_if_f): New macro.
1909 (jn_test): Use TEST_if_f instead of TEST_ff_f.
1910 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
1911 (yn_test): Use TEST_if_f instead of TEST_ff_f.
1912
f44bf14a
JM
1913 * math/libm-test.inc (RUN_TEST_f_f): New macro.
1914 (RUN_TEST_2_f): Likewise.
1915 (RUN_TEST_ff_f): Likewise.
1916 (RUN_TEST_fi_f): Likewise.
1917 (RUN_TEST_fl_f): Likewise.
1918 (RUN_TEST_fff_f): Likewise.
1919 (RUN_TEST_c_f): Likewise.
1920 (RUN_TEST_f_f1): Likewise.
1921 (RUN_TEST_fF_f1): Likewise.
1922 (RUN_TEST_fI_f1): Likewise.
1923 (RUN_TEST_ffI_f1): Likewise.
1924 (RUN_TEST_c_c): Likewise.
1925 (RUN_TEST_cc_c): Likewise.
1926 (RUN_TEST_f_i): Likewise.
1927 (RUN_TEST_f_i_tg): Likewise.
1928 (RUN_TEST_ff_i_tg): Likewise.
1929 (RUN_TEST_f_b): Likewise.
1930 (RUN_TEST_f_b_tg): Likewise.
1931 (RUN_TEST_f_l): Likewise.
1932 (RUN_TEST_f_L): Likewise.
1933 (RUN_TEST_sincos): Likewise.
1934 * math/gen-libm-test.pl (new_test): Take new argument to indicate
1935 whether to show exceptions. Do not include ");\n" in return
1936 value.
1937 (special_functions): Output call to RUN_TEST_sincos instead of
1938 check_float calls. Update calls to new_test.
1939 (parse_args): Output call to single RUN_TEST_* macro instead of
1940 check_* calls and other assignments. Update calls to new_test.
1941
d8cd06db
JM
1942 [BZ #2546]
1943 [BZ #2560]
1944 [BZ #5159]
1945 [BZ #15426]
1946 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
1947 input to result for tgamma overflow.
1948 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
1949 (gamma_coeff): New variable.
1950 (NCOEFF): New macro.
1951 (gamma_positive): New function.
1952 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
1953 underflow here. Use gamma_positive instead of exp (lgamma) for
1954 other arguments.
1955 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
1956 (gamma_coeff): New variable.
1957 (NCOEFF): New macro.
1958 (gammaf_positive): New function.
1959 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
1960 underflow here. Use gamma_positive instead of exp (lgamma) for
1961 other arguments.
1962 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
1963 (gamma_coeff): New variable.
1964 (NCOEFF): New macro.
1965 (gammal_positive): New function.
1966 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
1967 underflow here. Use gamma_positive instead of exp (lgamma) for
1968 other arguments.
1969 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
1970 (gamma_coeff): New variable.
1971 (NCOEFF): New macro.
1972 (gammal_positive): New function.
1973 (__ieee754_gammal_r): Handle positive infinity, overflow and
1974 underflow here. Handle NaN the same as positive infinity. Remove
1975 check x < 0xffffffff for negative integers. Use gamma_positive
1976 instead of exp (lgamma) for other arguments.
1977 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
1978 (gamma_coeff): New variable.
1979 (NCOEFF): New macro.
1980 (gammal_positive): New function.
1981 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
1982 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
1983 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1984 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
1985 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1986 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
1987 * sysdeps/generic/math_private.h (__gamma_productf): New
1988 prototype.
1989 (__gamma_product): Likewise.
1990 (__gamma_productl): Likewise.
1991 * math/Makefile (libm-calls): Add gamma_product.
1992 * math/libm-test.inc (tgamma_test): Add more tests.
1993 * sysdeps/i386/fpu/libm-test-ulps: Update.
1994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1995
bb7cf681
OB
19962013-05-08 Ondřej Bílka <neleai@seznam.cz>
1997
1998 * benchtests/bench-skeleton.c (main): Preheat CPU.
1999
ba853947
AJ
20002013-05-07 Aurelien Jarno <aurelien@aurel32.net>
2001
2002 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
2003
8347c74c
RM
20042013-05-07 Roland McGrath <roland@hack.frob.com>
2005
2006 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
2007 and _dl_skip_args_internal.
2008
e8dd4791
CD
20092013-05-07 Carlos O'Donell <carlos@redhat.com>
2010
2011 * manual/message.texi (Message Translation): Talk about users.
2012 Message to key mapping impacts design.
2013
c7405830
RM
20142013-05-06 Roland McGrath <roland@hack.frob.com>
2015
a9173057
RM
2016 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
2017
976e2f03
RM
2018 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
2019
9723ffc5
RM
2020 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
2021 * sysdeps/wordsize-64/glob64.c: ... here.
2022
962e6658
RM
2023 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
2024 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
2025 New macros.
2026
ee586a6d
RM
2027 * debug/getlogin_r_chk.c: Moved to ...
2028 * login/getlogin_r_chk.c: ... here.
2029 * debug/Makefile (routines): Move getlogin_r_chk to ...
2030 * login/Makefile (routines): ... here.
2031 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
2032 * login/Versions (libc: GLIBC_2.4): ... here.
2033
355f9165
RM
2034 * io/poll.c (__poll): Renamed from poll.
2035 Add libc_hidden_def.
2036 (poll): Define as weak alias.
2037
bd9ffde6
RM
2038 * debug/ptsname_r_chk.c: Moved to ...
2039 * login/ptsname_r_chk.c: ... here.
2040 * debug/Makefile (routines): Move ptsname_r_chk to ...
2041 * login/Makefile (routines): ... here.
2042 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
2043 * login/Versions (libc: GLIBC_2.4): ... here.
2044
8fb16a04
RM
2045 * posix/getlogin.c: Moved to ...
2046 * login/getlogin.c: ... here.
2047 * posix/getlogin_r.c: Moved to ...
2048 * login/getlogin_r.c: ... here.
2049 * posix/getlogin_r.c: Moved to ...
2050 * login/getlogin_r.c: ... here.
2051 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
2052 * login/Makefile (routines): ... here.
2053 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
2054 * login/Versions (libc: GLIBC_2.0): ... here.
2055
b99b892f
RM
2056 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
2057 (setrlimit): Define as weak alias.
2058
c7405830
RM
2059 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
2060 Call __ names for open, ftruncate, and close.
2061 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
2062 (truncate): Define as weak alias.
2063
5bf96de5
JM
20642013-05-06 Joseph Myers <joseph@codesourcery.com>
2065
9ea3513c
JM
2066 * math/gen-libm-test.pl (parse_args): Initialize x before each
2067 test of frexp, modf and remquo.
2068
5bf96de5
JM
2069 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
2070 test signgam value.
2071
16e616a7
AZ
20722013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2073
2074 [BZ #15418]
2075 [BZ #15419]
2076 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
2077 internal tests.
2078 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2079
d5e82754
RM
20802013-05-06 Roland McGrath <roland@hack.frob.com>
2081
2082 * elf/dl-writev.h: New file.
2083 * elf/dl-misc.c: Include it.
2084 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
2085 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
2086
a7548d41
JM
20872013-05-04 Joseph Myers <joseph@codesourcery.com>
2088
b7dab1e4
JM
2089 * math/libm-test.inc (noXFails): Remove variable.
2090 (noXPasses): Likewise.
2091 (BUILD_COMPLEX_INT): Remove macro.
2092 (print_screen): Remove xfail argument.
2093 (print_screen_max_error): Likewise.
2094 (update_stats): Likewise.
2095 (print_max_error): Likewise. Update calls to other affected
2096 functions.
2097 (print_complex_max_error): Likewise.
2098 (test_single_exception): Update calls to print_screen.
2099 (test_single_errno): Likewise.
2100 (check_float_internal): Remove xfail argument. Update calls to
2101 other affected functions.
2102 (check_float): Likewise.
2103 (check_complex): Likewise.
2104 (check_int): Likewise.
2105 (check_long): Likewise.
2106 (check_bool): Likewise.
2107 (check_longlong): Likewise.
2108 (main): Don't print noXFails and noXPasses.
2109 * math/gen-libm-test.pl (top level): Don't mention expected
2110 failure handling in comment.
2111 (new_test): Don't handle expected failures.
2112 (parse_args): Don't mention expected failure handling in comment.
2113 (generate_testfile): Don't handle expected failures.
2114 (parse_ulps): Likewise.
2115 (print_ulps_file): Likewise.
2116 (get_failure): Remove function.
2117 (output_test): Don't handle expected failures.
2118 * make/README.libm-test: Don't mention expected failure handling.
2119
a7548d41
JM
2120 * math/libm-test.inc (plus_zero): Make const. Add initializer.
2121 (minus_zero): Likewise.
2122 (plus_infty): Likewise.
2123 (minus_infty): Likewise.
2124 (qnan_value): Likewise.
2125 (max_value): Likewise.
2126 (min_value): Likewise.
2127 (min_subnorm_value): Likewise.
2128 (initialize): Do not initialize those variables dynamically.
2129
60bfd54c
RM
21302013-05-03 Roland McGrath <roland@hack.frob.com>
2131
cc0e6ed8
RM
2132 * io/open.c (__open_2): Moved to ...
2133 * io/open_2.c: ... this new file.
2134 * io/open64.c (__open64_2): Moved to ...
2135 * io/open64_2.c: ... this new file.
2136 * io/openat.c (__openat_2): Moved to ...
2137 * io/openat_2.c: ... this new file.
2138 * io/openat64.c (__openat64_2): Moved to ...
2139 * io/openat64_2.c: ... this new file.
2140 * io/Makefile (routines): Add them.
2141 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
2142 * sysdeps/unix/sysv/linux/open_2.c: File removed.
2143 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
2144 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
2145 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
2146 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
2147 (__openat64): Add hidden_ver.
2148 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
2149 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
2150
60bfd54c
RM
2151 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
2152 Separately conditionalize setting of GLRO(dl_sysinfo) so
2153 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
2154 as well, but the actual setting is only under [NEED_DL_SYSINFO].
2155
83e7640f
AZ
21562013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2157
2158 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
2159 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
2160 definition.
2161 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
2162 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2163 (_libc_vdso_platform_setup): Add __vdso_time initialization.
2164 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
2165 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
2166
d5dc2af3
JM
21672013-05-03 Joseph Myers <joseph@codesourcery.com>
2168
c31a5b1e
JM
2169 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
2170 test signgam value.
2171
d5dc2af3
JM
2172 * math/libm-test.inc (hypot_test): Do not use
2173 IGNORE_ZERO_INF_SIGN.
2174
164fd39d
AJ
21752013-05-03 Andreas Jaeger <aj@suse.de>
2176
2177 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
2178 Linux 3.9.
2179 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
2180 (PF_MAX): Adjust for VSOCK change.
2181
8237f48c
AZ
21822013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2183
2184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2185
9df02941
CD
21862013-05-02 Carlos O'Donell <carlos@redhat.com>
2187
2188 [BZ #15264]
2189 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
2190 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
2191 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
2192
d422395e
DM
21932013-05-02 David S. Miller <davem@davemloft.net>
2194
2195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2196
a07c5731
OB
21972013-05-01 Ondřej Bílka <neleai@seznam.cz>
2198
2199 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
2200
1324e37f
RM
22012013-05-01 Roland McGrath <roland@hack.frob.com>
2202
2203 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
2204
0695940b
RS
22052013-05-01 Richard Smith <richard@metafoo.co.uk>
2206
bb5f27ad 2207 [BZ #14952]
0695940b
RS
2208 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
2209 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2210 Use __attribute__ ((__gnu_inline__)).
2211 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2212 Don't use __attribute__ ((__gnu_inline__)).
2213
10de07f5
JM
22142013-05-01 Joseph Myers <joseph@codesourcery.com>
2215
2216 [BZ #15423]
2217 * math/s_catan.c (__catan): Handle small real or imaginary part of
2218 input specially to avoid spurious underflow.
2219 * math/s_catanf.c (__catanf): Likewise.
2220 * math/s_catanh.c (__catanh): Likewise.
2221 * math/s_catanhf.c (__catanhf): Likewise.
2222 * math/s_catanhl.c (__catanhl): Likewise.
2223 * math/s_catanl.c (__catanl): Likewise.
2224 * math/libm-test.inc (catan_test): Add more tests.
2225 (catanh_test): Likewise.
2226 * sysdeps/i386/fpu/libm-test-ulps: Update.
2227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2228
cb4d5414
AZ
22292013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2230
2231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2232
caf84319
JM
22332013-04-30 Joseph Myers <joseph@codesourcery.com>
2234
2235 [BZ #15416]
2236 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
2237 accurately for denominator in atan2.
2238 * math/s_catanf.c (__catanf): Likewise.
2239 * math/s_catanh.c (__catanh): Likewise.
2240 * math/s_catanhf.c (__catanhf): Likewise.
2241 * math/s_catanhl.c (__catanhl): Likewise.
2242 * math/s_catanl.c (__catanl): Likewise.
2243 * math/libm-test.inc (catan_test): Add more tests.
2244 (catanh_test): Likewise.
2245 * sysdeps/i386/fpu/libm-test-ulps: Update.
2246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2247
d569c6ee
SP
22482013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2249
6dbe713d
SP
2250 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
2251
f0ee064b
SP
2252 * benchtests/Makefile (bench): Remove slow benchmarks.
2253 * benchtests/atan-inputs: Add slow benchmark inputs.
2254 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
2255 (BENCH_FUNC): Accept variant offset.
2256 (VARIANT): Define.
2257 * benchtests/bench-skeleton.c (main): Run benchmark for each
2258 variant.
2259 * benchtests/cos-inputs: Add slow benchmark inputs.
2260 * benchtests/exp-inputs: Likewise.
2261 * benchtests/pow-inputs: Likewise.
2262 * benchtests/sin-inputs: Likewise.
2263 * benchtests/slowatan-inputs: Remove.
2264 * benchtests/slowatan.c: Remove.
2265 * benchtests/slowcos-inputs: Remove.
2266 * benchtests/slowcos.c: Remove.
2267 * benchtests/slowexp-inputs: Remove.
2268 * benchtests/slowexp.c: Remove.
2269 * benchtests/slowpow-inputs: Remove.
2270 * benchtests/slowpow.c: Remove.
2271 * benchtests/slowsin-inputs: Remove.
2272 * benchtests/slowsin.c: Remove.
2273 * benchtests/slowtan-inputs: Remove.
2274 * benchtests/slowtan.c: Remove.
2275 * benchtests/tan-inputs: Add slow benchmark inputs.
2276 * scripts/bench.pl: Parse comments and directives.
2277
d569c6ee
SP
2278 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
2279 in CPPFLAGS.
2280 ($(objpfx)bench-%.c): Remove *-ITER.
2281 * benchtests/bench-modf.c: Remove definition of ITER.
2282 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
2283 (main): Loop for DURATION seconds instead of fixed number of
2284 iterations.
2285 * scripts/bench.pl: Don't expect iterations in parameters.
2286
a6a242fe
RM
22872013-04-29 Roland McGrath <roland@hack.frob.com>
2288
2289 * io/fchdir.c (__fchdir): Renamed from fchdir.
2290 (fchdir): Define as weak alias.
2291
f2da7793
JM
22922013-04-29 Joseph Myers <joseph@codesourcery.com>
2293
2294 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
2295 (ERRNO_EDOM): Likewise.
2296 (ERRNO_ERANGE): Likewise.
2297 (noErrnoTests): New variable.
2298 (init_max_error): Set errno to 0.
2299 (test_single_errno): New function.
2300 (test_errno): Likewise.
2301 (check_float_internal): Call test_errno. Set errno to 0.
2302 (check_complex): Refer to errno tests in comment.
2303 (check_int): Call test_errno. Set errno to 0.
2304 (check_long): Likewise.
2305 (check_bool): Likewise.
2306 (check_longlong): Likewise.
2307 (cos_test): Use ERRNO_* flags for errno tests instead of
2308 check_int.
2309 (expm1_test): Likewise.
2310 (fmod_test): Likewise.
2311 (ilogb_test): Likewise.
2312 (lgamma_test): Likewise.
2313 (pow_test): Likewise.
2314 (remainder_test): Likewise.
2315 (sin_test): Likewise.
2316 (tan_test): Likewise.
2317 (yn_test): Likewise.
2318 (initialize): Set errno to 0.
2319 (main): Print number of errno tests.
2320 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
2321
b1a36ceb
AJ
23222013-04-29 Andreas Jaeger <aj@suse.de>
2323
c3ed8088
AJ
2324 [BZ #15084]
2325 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
2326 and RES_USEVC.
2327
f1a24198
AJ
2328 [BZ #15085]
2329 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
2330 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
2331 unimplemented.
2332
9ce3b2cb
AJ
2333 [BZ #15380]
2334 * stdlib/random.c (__initstate): Return NULL if
2335 __initstate fails.
2336
f1a24198 2337 [BZ #15086]
b1a36ceb
AJ
2338 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
2339 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
2340 RES_SNGLKUPREOP.
2341
7e7b6f36
AZ
23422013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2343
2344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2345
4d14f449
JM
23462013-04-29 Joseph Myers <joseph@codesourcery.com>
2347
2348 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
2349 of individual tests.
2350 (casin_test): Likewise.
2351 (casinh_test): Likewise.
2352
5b4217d7
JM
23532013-04-27 Joseph Myers <joseph@codesourcery.com>
2354
2355 [BZ #15409]
2356 * math/s_catan.c (__catan): Handle arguments with large real or
2357 imaginary part separately without squaring.
2358 * math/s_catanf.c (__catanf): Likewise.
2359 * math/s_catanh.c (__catanh): Likewise.
2360 * math/s_catanhf.c (__catanhf): Likewise.
2361 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2362 and redefine.
2363 (__catanhl): Handle arguments with large real or imaginary part
2364 separately without squaring.
2365 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2366 and redefine.
2367 (__catanl): Handle arguments with large real or imaginary part
2368 separately without squaring.
2369 * math/libm-test.inc (catan_test): Add more tests.
2370 (catanh_test): Likewise.
2371 * sysdeps/i386/fpu/libm-test-ulps: Update.
2372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2373
4220c3ef
AJ
23742013-04-27 Andreas Jaeger <aj@suse.de>
2375
2376 [BZ #15007]
2377 * stdlib/stdlib.h: Update guards for qecvt.
2378 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
2379 <stdlib.h>.
2380
4721b2d1
AM
23812013-04-27 Allan McRae <allan@archlinux.org>
2382
2383 * sysdeps/i386/fpu/libm-test-ulps: Update.
2384
f0302940
JM
23852013-04-26 Joseph Myers <joseph@codesourcery.com>
2386
9457fd95
JM
2387 [BZ #15406]
2388 * math/s_catan.c: Include <float.h>.
2389 (__catan): Ensure underflow exception occurs for underflowed
2390 result.
2391 * math/s_catanf.c: Include <float.h>.
2392 (__catanf): Ensure underflow exception occurs for underflowed
2393 result.
2394 * math/s_catanh.c: Include <float.h>.
2395 (__catanh): Ensure underflow exception occurs for underflowed
2396 result.
2397 * math/s_catanhf.c: Include <float.h>.
2398 (__catanhf): Ensure underflow exception occurs for underflowed
2399 result.
2400 * math/s_catanhl.c: Include <float.h>.
2401 (__catanhl): Ensure underflow exception occurs for underflowed
2402 result.
2403 * math/s_catanl.c: Include <float.h>.
2404 (__catanl): Ensure underflow exception occurs for underflowed
2405 result.
2406 * math/libm-test.inc (catan_test): Add more tests.
2407 (catanh_test): Likewise.
2408
f0302940
JM
2409 [BZ #15405]
2410 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
2411 underflowed result.
2412 * math/s_ccoshf.c (__ccoshf): Likewise.
2413 * math/s_ccoshl.c (__ccoshl): Likewise.
2414 * math/s_csin.c (__csin): Likewise.
2415 * math/s_csinf.c (__csinf): Likewise.
2416 * math/s_csinh.c (__csinh): Likewise.
2417 * math/s_csinhf.c (__csinhf): Likewise.
2418 * math/s_csinhl.c (__csinhl): Likewise.
2419 * math/s_csinl.c (__csinl): Likewise.
2420 * math/libm-test.inc (ccos_test): Add more tests.
2421 (ccosh_test): Likewise.
2422 (csin_test): Likewise.
2423 (csinh_test): Likewise.
2424
aa630f59
AZ
24252013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2426
2427 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
2428 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
2429 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
2430 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
2431 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
2432 powerpc/power5+/fpu folders.
2433 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
2434
2435
1b835983
MT
24362013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2437
2438 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2439
73709b26
JM
24402013-04-25 Joseph Myers <joseph@codesourcery.com>
2441
2442 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
2443 additions to variable.
2444 [$(config-machine) = x86_64] (modules-names): Likewise.
2445 ($(objpfx)tst-audit3): Remove dependency.
2446 ($(objpfx)tst-audit3.out): Likewise.
2447 ($(objpfx)tst-audit4): Likewise.
2448 ($(objpfx)tst-audit4.out): Likewise.
2449 ($(objpfx)tst-audit5): Likewise.
2450 ($(objpfx)tst-audit5.out): Likewise.
2451 ($(objpfx)tst-audit6): Likewise.
2452 ($(objpfx)tst-audit6.out): Likewise.
2453 ($(objpfx)tst-audit7): Likewise.
2454 ($(objpfx)tst-audit7.out): Likewise.
2455 (tst-audit3-ENV): Remove variable.
2456 (tst-audit4-ENV): Likewise.
2457 (tst-audit5-ENV): Likewise.
2458 (tst-audit6-ENV): Likewise.
2459 (tst-audit7-ENV): Likewise.
2460 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
2461 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
2462 addition to variable.
2463 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
2464 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
2465 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
2466 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
2467 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
2468 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
2469 tst-audit3, tst-audit4 and tst-audit5.
2470 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
2471 tst-audit6 and tst-audit7.
2472 [$(subdir) = elf] (modules-names): Add audit modules for those
2473 tests.
2474 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
2475 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
2476 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
2477 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
2478 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
2479 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
2480 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
2481 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
2482 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
2483 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
2484 [$(subdir) = elf] (tst-audit3-ENV): New variable.
2485 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
2486 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
2487 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
2488 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
2489 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
2490 Likewise.
2491 [$(subdir) = elf && $(config-cflags-avx) = yes]
2492 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
2493 [$(subdir) = elf && $(config-cflags-avx) = yes]
2494 (CFLAGS-tst-auditmod4a.c): Likewise.
2495 [$(subdir) = elf && $(config-cflags-avx) = yes]
2496 (CFLAGS-tst-auditmod4b.c): Likewise.
2497 [$(subdir) = elf && $(config-cflags-avx) = yes]
2498 (CFLAGS-tst-auditmod6b.c): Likewise.
2499 [$(subdir) = elf && $(config-cflags-avx) = yes]
2500 (CFLAGS-tst-auditmod6c.c): Likewise.
2501 [$(subdir) = elf && $(config-cflags-avx) = yes]
2502 (CFLAGS-tst-auditmod7b.c): Likewise.
2503 * elf/tst-audit3.c: Move to ...
2504 * sysdeps/x86_64/tst-audit3.c: ... here.
2505 * elf/tst-audit4.c: Move to ...
2506 * sysdeps/x86_64/tst-audit4.c: ... here.
2507 * elf/tst-audit5.c: Move to ...
2508 * sysdeps/x86_64/tst-audit5.c: ... here.
2509 * elf/tst-audit6.c: Move to ...
2510 * sysdeps/x86_64/tst-audit6.c: ... here.
2511 * elf/tst-audit7.c: Move to ...
2512 * sysdeps/x86_64/tst-audit7.c: ... here.
2513 * elf/tst-auditmod3a.c: Move to ...
2514 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
2515 * elf/tst-auditmod3b.c: Move to ...
2516 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
2517 * elf/tst-auditmod4a.c: Move to ...
2518 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
2519 * elf/tst-auditmod4b.c: Move to ...
2520 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
2521 * elf/tst-auditmod5a.c: Move to ...
2522 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
2523 * elf/tst-auditmod5b.c: Move to ...
2524 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
2525 * elf/tst-auditmod6a.c: Move to ...
2526 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
2527 * elf/tst-auditmod6b.c: Move to ...
2528 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
2529 * elf/tst-auditmod6c.c: Move to ...
2530 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
2531 * elf/tst-auditmod7a.c: Move to ...
2532 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
2533 * elf/tst-auditmod7b.c: Move to ...
2534 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
2535
1ef74943
PP
25362013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
2537
2538 [BZ #15366]
2539 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
2540 define unconditionally.
2541 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
2542 define unconditionally.
2543 (INT8_C, INT16_C, etc.): Likewise.
2544
93fd48c5
MR
25452013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
2546
ae9552cf
MR
2547 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
2548 __ehdr_start with hidden visibility.
2549
93fd48c5
MR
2550 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
2551
418601aa
CD
25522013-04-24 Carlos O'Donell <carlos@redhat.com>
2553
2554 * math/libm-test.inc (cos_test): Use accurate hex constants.
2555 (sincost_test): Likewise.
2556
2f38fbfe
JM
25572013-04-24 Joseph Myers <joseph@codesourcery.com>
2558
5e221800
JM
2559 * math/libm-test.inc (catan_test): Add more tests.
2560 (catanh_test): Likewise.
2561
77f143fd
JM
2562 * math/s_catanf.c (__catanf): Use suffixed floating-point
2563 constants.
2564 * math/s_catanhf.c (__catanhf): Likewise.
2565 * math/s_catanhl.c (__catanhl): Likewise.
2566 * math/s_catanl.c (__catanl): Likewise.
2567
2f38fbfe
JM
2568 [BZ #15394]
2569 * math/s_catan.c (__catan): Calculate imaginary part of result
2570 with log1p not log unless computing log of number close to 0.
2571 * math/s_catanf.c (__catanf): Likewise.
2572 * math/s_catanl.c (__catanl): Likewise.
2573 * math/s_catanh.c (__catanh): Calculate real part of result with
2574 log1p not log unless computing log of number close to 0.
2575 * math/s_catanhf.c (__catanhf): Likewise.
2576 * math/s_catanhl.c (__catanhl): Likewise.
2577 * math/libm-test.inc (catan_test): Add more tests.
2578 (catanh_test): Likewise.
2579 * sysdeps/i386/fpu/libm-test-ulps: Update.
2580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2581
45d69176
SP
25822013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2583
2584 * benchtests/Makefile: Mention files in which fast and slow
2585 paths of math functions are implemented.
2586
87f51853
RM
25872013-04-23 Roland McGrath <roland@hack.frob.com>
2588
2589 * sysdeps/posix/timespec_get.c: New file.
2590
3c026539
AZ
25912013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2592
2593 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
2594 POWER.
2595 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
2596 for POWER.
2597 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
2598 powerpc/power5/fpu folders.
2599 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
2600 * benchtests/Makefile: Add modf testcase.
2601 * benchtests/bench-modf.c: New file: Benchmark test for mo
2602
ff491d14
SP
26032013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2604
2605 [BZ #14888]
2606 * time/Makefile (tests): Add tst-strptime-whitespace.
2607 * time/strptime_l.c (get_number): Use ISSPACE.
2608 (__strptime_internal): Likewise.
2609 * time/tst-strptime-whitespace.c: New test case.
2610
7ed3f4e8
AS
26112013-04-23 Andreas Schwab <schwab@linux-m68k.org>
2612
2613 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
2614 member.
2615 (_nss_files_init): Set it here.
2616
5c95f7b6
HC
26172013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
2618
2619 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
2620 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
2621 unsigned.
2622
d34c9158
JBG
26232013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
2624
2625 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
2626
2169712d
SP
26272013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2628
2629 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
2630 size just once.
2631
29c5de99
DM
26322013-04-21 David S. Miller <davem@davemloft.net>
2633
2634 * po/ru.po: Update Russion translation from translation project.
2635
ccdad15d
AC
26362013-04-17 Adam Conrad <adconrad@0c3.net>
2637
2638 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
2639 and setfsgid.
2640
0f122b8d
CD
26412013-04-17 Carlos O'Donell <carlos@redhat.com>
2642
5c5b07da 2643 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 2644 * configure: Regenerate.
5c5b07da 2645 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
2646 Add example to error message.
2647 * sysdeps/i386/configure: Regenerate.
2648
037714dd
SP
26492013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2650
2651 * benchtests/Makefile (bench): Add cos, tan, slowcos and
2652 slowtan.
2653 * benchtests/cos-inputs: New file.
2654 * benchtests/slowcos-inputs: New file.
2655 * benchtests/slowcos.c: New file.
2656 * benchtests/slowtan-inputs: New file.
2657 * benchtests/slowtan.c: New file.
2658 * benchtests/tan-inputs: New file.
2659
e913141d
RM
26602013-04-16 Roland McGrath <roland@hack.frob.com>
2661
2662 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
2663 considered kosher.
2664
a2964074
SP
26652013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2666
4856bcd2
SP
2667 * benchtests/Makefile: Include cppflags-iterator.mk to add
2668 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
2669
a2964074
SP
2670 * Makefile.in (bench-clean): New target.
2671 * benchtests/Makefile (bench-clean): Likewise.
2672
9fbf9aca
DH
26732013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
2674
2675 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
2676
207d1e2a
TS
26772013-04-15 Thomas Schwinge <thomas@codesourcery.com>
2678
2679 * stdio-common/tstdiomisc.c: Fix coding-style violation.
2680
306dfba9
AS
26812013-04-15 Andreas Schwab <schwab@suse.de>
2682
2683 * nscd/grpcache.c (cache_addgr): Properly check for short write.
2684 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2685 * nscd/pwdcache.c (cache_addpw): Likewise.
2686 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
2687 more than recsize.
2688
206a6699
SP
26892013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2690
2691 * benchtests/Makefile (bench): Write all output to
2692 bench-out.tmp together.
2693
0582f6b3
AS
26942013-04-15 Andreas Schwab <schwab@suse.de>
2695
2696 * nscd/nscd.c (main): Don't fork again after closing files.
2697
acb4325f
SP
26982013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2699
5cb26d0a
SP
2700 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
2701
acb4325f
SP
2702 * benchtests/Rules (bench-deps): Collect dependencies into a
2703 single variable. Add Makefile to dependencies.
2704 ($(objpfx)bench-%.c): Depend on bench-deps.
2705
47792506
RM
27062013-04-12 Roland McGrath <roland@hack.frob.com>
2707 Xavier Roche <roche+kml2@exalead.com>
2708
2709 [BZ #15361]
2710 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
2711 just that it's a file descriptor.
2712 * manual/llio.texi (Synchronizing AIO Operations): Update description
2713 for EBADF error from aio_fsync.
2714
8fc1bee5
SP
27152013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2716
2717 * Rules (bench): Move target definition...
2718 * benchtests/Makefile: ... here.
2719
aba5e333
CD
27202013-04-11 Carlos O'Donell <carlos@redhat.com>
2721
2722 * math/libm-test.inc (cos_test): Fix PI/2 test.
2723 (sincos_test): Likewise.
2724 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2725 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2726
273cdee8
AS
27272013-04-11 Andreas Schwab <schwab@suse.de>
2728
6ecec3b6
AS
2729 [BZ #13988]
2730 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
2731 accept exponent character only when digits were seen.
2732 * stdio-common/Makefile (tests): Add bug26.
2733 * stdio-common/bug26.c: New file.
2734
273cdee8
AS
2735 [BZ #14293]
2736 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
2737 non-freeable.
2738
8da491f5
SP
27392013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2740
01dc6df9
SP
2741 * Makeconfig (rtld-prefix): Define built linker prefix.
2742 * Rules (run-bench): Use it.
2743 * math/Makefile (run-regen-ulps): Likewise.
2744
8da491f5
SP
2745 * Rules (bench): Remove eval.
2746
abe7f530
SP
27472013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2748 Roland McGrath <roland@hack.frob.com>
2749 Ondrej Bilka <neleai@seznam.cz>
2750
2751 [BZ #15346]
2752 * time/getdate.c: Include ctype.h and alloca.h.
2753 (__getdate_r): Trim leading and trailing spaces of input.
2754 * time/tst-getdate.c (tests): Add tests with leading and
2755 trailing spaces.
2756
61c23e62
RM
27572013-04-08 Roland McGrath <roland@hack.frob.com>
2758
2759 [BZ #14280]
2760 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
2761 when computing value.
2762
7208a313
CD
27632013-04-06 Carlos O'Donell <carlos@redhat.com>
2764
085b2d41
CD
2765 * math/README.libm-test (How can I generate "libm-test-ulps"?):
2766 Use testrun.sh to run libm tests.
2767
7208a313
CD
2768 [BZ #15309]
2769 * elf/dl-open.c (dl_open_worker): memset all of seen array.
2770
872c0acd
MM
27712013-04-06 Marko Myllynen <myllynen@redhat.com>
2772
2773 [BZ #15264]
2774 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
2775
26510bdd
CD
27762013-04-06 Carlos O'Donell <carlos@redhat.com>
2777
2778 * Makefile.in (regen-ulps): New target.
2779 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
2780 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
2781 [ifneq (no,$(PERL)] (regen-ulps): New target.
2782 [ifeq (no,$(PERL)] (regen-ulps): New target.
2783 * math/libm-test.inc (ulps_file_name): Define.
2784 (output_dir): New variable.
2785 (options): Add "output-dir" option.
2786 (parse_opt): Handle 'o' case.
2787 (main): If output_dir is non-NULL use it as a prefix
2788 otherwise use "".
2789 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
2790
a01f19c8
CD
27912013-04-06 Carlos O'Donell <carlos@redhat.com>
2792
2793 [BZ #10060, #10062]
2794 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
2795 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
2796 fail configure if __sync_val_compare_and_swap is not inlined.
2797 * sysdeps/i386/configure: Regenerate.
2798 * configure.in: Build for i686 when configured for i386.
2799 * configure: Regenerate.
2800 * README: Remove i386 reference.
2801
b7a329a5
CD
28022013-04-06 Carlos O'Donell <carlos@redhat.com>
2803
2804 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
2805 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2806
bf0f50df
TS
28072013-04-05 Thomas Schwinge <thomas@codesourcery.com>
2808
ee091edf
TS
2809 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
2810 (lmsnanval): New variables.
2811 (F): Add conversion tests.
2812 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
2813 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
2814
a8b792d6
TS
2815 * stdio-common/tstdiomisc.c (F): Properly collect individual
2816 tests' results.
2817
a1cbf437
TS
2818 [BZ #14686, #15336]
2819 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
2820 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2821 Instead, use input NaN values or generate a qNaN by arithmetic
2822 operation. Also fix bugs to comply with the standard.
2823 * math/libm-test.inc (remainder_test): Add more tests.
2824
8b43a0c9
TS
2825 [BZ #15335, #15342]
2826 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
2827 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
2828 input NaN values or generate a qNaN by arithmetic operation.
2829
d91da4ce
TS
2830 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
2831 unreachable code.
2832
bf0f50df
TS
2833 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
2834 definitions.
2835
05e166c8
JM
28362013-04-03 Joseph Myers <joseph@codesourcery.com>
2837
2838 [BZ #14478]
2839 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
2840 underflowed result.
2841 * math/s_cexpf.c (__cexpf): Likewise.
2842 * math/s_cexpl.c (__cexpl): Likewise.
2843 * math/libm-test.inc (cexp_test): Add more tests.
2844
1cef1b19
AS
28452013-04-03 Andreas Schwab <schwab@suse.de>
2846
2847 [BZ #15330]
2848 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
2849 order arrays from heap if bigger than alloca cutoff.
2850
74d87055
TS
28512013-04-03 Thomas Schwinge <thomas@codesourcery.com>
2852
2853 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
2854 (SNAN_TESTS_double): Refer to GCC PR56831.
2855 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
2856 GCC PR56828.
2857
d755bba4
SP
28582013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2859
90d5d5bb
SP
2860 * Rules (bench): Move bench.out after the run is complete.
2861
73e0cd5d
SP
2862 * Rules (bench): Echo currently running benchmark.
2863
64aabd4b
SP
2864 * benchtests/Makefile (bench): Add atan and slowatan.
2865 * benchtests/atan-inputs: New file.
2866 * benchtests/slowatan-inputs: New file.
2867 * benchtests/slowatan.c: New file.
2868
c871eccd
SP
2869 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
2870 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
2871 its value.
2872
d755bba4
SP
2873 [BZ #15305]
2874 * sysdeps/unix/sysv/linux/kernel-features.h
2875 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
2876 __ASSUME_XFS_RESTRICTED_CHOWN.
2877 * sysdeps/unix/sysv/linux/pathconf.c
2878 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2879 Save and restore errno.
2880
52ce4860
JM
28812013-04-02 Joseph Myers <joseph@codesourcery.com>
2882
2883 [BZ #15327]
2884 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
2885 arguments using __kernel_casinh.
2886 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
2887 arguments using __kernel_casinhf.
2888 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
2889 arguments using __kernel_casinhl.
2890 * math/libm-test.inc (cacosh_test): Add more tests.
2891 * sysdeps/i386/fpu/libm-test-ulps: Update.
2892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2893
81f311c2
SP
28942013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2895
e7906a47
SP
2896 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
2897 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
2898
92e3664b
SP
2899 * bench/Makefile (bench): Add sin and slowsin.
2900 * benchtests/sin-inputs: New file.
2901 * benchtests/slowsin-inputs: New file.
2902 * benchtests/slowsin.c: New file.
2903
81f311c2
SP
2904 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
2905 (bench): Add slowexp and slowpow.
2906 (exp-ITER): Increase iterations.
2907 (pow-ITER): Likewise.
2908 * benchtests/exp-inputs: Change input.
2909 * benchtests/pow-inputs: Likewise.
2910 * benchtests/slowexp-inputs: New file.
2911 * benchtests/slowexp.c: New file.
2912 * benchtests/slowpow-inputs: New file.
2913 * benchtests/slowpow.c: New file.
2914
ab0f1aa9
AZ
29152013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2916
2917 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
2918 instructions.
2919 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2920 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2921 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2922 * benchtests/Makefile: Add rint benchtest.
2923 * benchtests/rint-inputs: Input for rint benchtest.
2924
57267616
TS
29252013-04-02 Thomas Schwinge <thomas@codesourcery.com>
2926
2927 * Versions.def (libm): Add GLIBC_2.18.
2928 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
2929 hidden libm prototypes.
2930 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
2931 * math/Makefile (libm-calls): Add s_issignaling.
2932 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
2933 __issignalingf, __issignalingl. Adjust all libm.abilist files.
2934 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
2935 declaration.
2936 * math/math.h [__USE_GNU] (issignaling): New macro.
2937 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
2938 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
2939 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
2940 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
2941 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2942 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
2943 * manual/arith.texi (issignaling): New section.
2944 * manual/libm-err-tab.pl (@all_functions): Update comment.
2945 * math/gen-libm-test.pl (parse_args): Apply special handling for
2946 issignaling.
2947 * math/libm-test.inc (print_float, issignaling_test): New
2948 functions.
2949 (check_float_internal): Add issignaling checks.
2950 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
2951 default definition.
2952 * sysdeps/powerpc/math-tests.h: New file.
2953 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
2954 tests.
2955 * math/test-snan.c (TEST_FUNC): Likewise.
2956
6142896d
DM
29572013-03-30 David S. Miller <davem@davemloft.net>
2958
2959 * po/de.po: Update from translation team.
2960
ccc8cadf
JM
29612013-03-30 Joseph Myers <joseph@codesourcery.com>
2962
2963 [BZ #10357]
2964 * math/k_casinh.c (__kernel_casinh): Handle arguments with
2965 imaginary part less than 1.0 and real part less than 0.5
2966 specially.
2967 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2968 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2969 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
2970 (cacos_test): Add more tests.
2971 (casin_test): Likewise.
2972 (casinh_test): Likewise.
2973 * sysdeps/i386/fpu/libm-test-ulps: Update.
2974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2975
0f6a8d4b
SP
29762013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2977
0d1029de
SP
2978 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
2979 ONE with its value.
2980
c2d94018
SP
2981 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
2982 (__pow_mp): Replace ONE and MONE with their values.
2983 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2984 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
2985 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2986 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
2987 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2988 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2989
27ec37f1
SP
2990 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
2991
a64d7e0e
SP
2992 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
2993 (__pow_mp): Replace ZERO and MZERO with their values.
2994 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
2995 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2996 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2997 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2998 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2999 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
3000 (__sqr): Likewise.
3001
d26dd3eb
SP
3002 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
3003
0f6a8d4b
SP
3004 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
3005
e57b0c61
RM
30062013-03-28 Roland McGrath <roland@hack.frob.com>
3007
3008 * include/stdlib.h [!SHARED] (__call_tls_dtors):
3009 Declare with __attribute__ ((weak)).
3010 * stdlib/exit.c (__libc_atexit) [!SHARED]:
3011 Call __call_tls_dtors only if it's not NULL.
3012
356b3480
RM
30132013-03-28 Roland McGrath <roland@hack.frob.com>
3014
288f7d79
RM
3015 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
3016 didn't do it already, then set _dl_phdr and _dl_phnum based on the
3017 magic __ehdr_start linker symbol if it's defined.
3018 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
3019 them up here if it was already done.
3020
dc0a0263
RM
3021 * elf/dl-support.c (_dl_phdr): Make pointer to const.
3022 (_dl_aux_init): Use const in cast when setting it.
3023 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
3024 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
3025 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
3026
3d3436ae
RM
3027 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
3028 Declare them here.
3029 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
3030 * csu/libc-tls.c: Nor here.
3031 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
3032
356b3480
RM
3033 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
3034 (__libc_message): Never call vsyslog.
3035
b0f1246a
AM
30362013-03-28 Alan Modra <amodra@gmail.com>
3037
3038 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
3039 Define as empty.
3040 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
3041 Likewise.
3042
fbbe2b9a
AZ
30432013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3044
3045 [BZ #15214]
3046 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
3047 underflow.
3048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3049
1728ab37
SP
30502013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3051
7a86be6e
SP
3052 [BZ #15304]
3053 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3054 Don't add gid passed as argument.
3055
1728ab37
SP
3056 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
3057
3a7182a1
JM
30582013-03-27 Joseph Myers <joseph@codesourcery.com>
3059
3060 [BZ #15307]
3061 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3062 imaginary part between 1.0 and 1.5 and real part less than 0.5
3063 specially.
3064 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3065 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3066 * math/libm-test.inc (cacos_test): Add more tests.
3067 (casin_test): Likewise.
3068 (casinh_test): Likewise.
3069 * sysdeps/i386/fpu/libm-test-ulps: Update.
3070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3071
6f2e90e7
SP
30722013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3073
5739f705
SP
3074 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
3075 constants.
3076 (norm): Likewise.
3077 (denorm): Likewise.
3078 (__dbl_mp): Likewise.
3079 (add_magnitudes): Likewise.
3080 (sub_magnitudes): Likewise.
3081 (__add): Likewise.
3082 (__sub): Likewise.
3083 (__mul): Likewise.
3084 (__sqr): Likewise.
3085 (__inv): Likewise.
3086 (__dvd): Likewise.
3087
e375e83d
SP
3088 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
3089 commented code.
3090 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
3091 (__dubcos): Likewise.
3092 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
3093 (__ieee754_acos): Likewise.
3094 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3095 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
3096 (__exp1): Likewise.
3097 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3098 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3099 (log1): Likewise.
3100 (my_log2): Likewise.
3101 (checkint): Likewise.
3102 * sysdeps/ieee754/dbl-64/e_remainder.c
3103 (__ieee754_remainder): Likewise.
3104 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3105 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3106 (bsloww): Likewise.
3107 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3108
6f2e90e7
SP
3109 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3110 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
3111 MANTISSA_STORE_T to store computations on mantissa. Use
3112 macros for rounding and division.
3113 (denorm): Likewise.
3114 (__dbl_mp): Likewise.
3115 (add_magnitudes): Likewise.
3116 (sub_magnitudes): Likewise.
3117 (__mul): Likewise.
3118 (__sqr): Likewise.
3119 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3120 powers of two in terms of TWOPOW macro.
3121 (mp_no): Make type of mantissa as MANTISSA_T.
3122 [!RADIXI]: Define RADIXI.
3123 [!TWO52]: Define TWO52.
3124 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3125
fce14d4e
AZ
31262013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3127
3128 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
3129 llroundl symbol when building for PPC32.
3130
9ad027fb
MW
31312013-03-24 Mark H Weaver <mhw@netris.org>
3132
3133 * manual/arith.texi (Normalization Functions): Fix prototypes for
3134 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
3135
e42a38dd
AZ
31362013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3137
3138 [BZ #13889]
3139 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
3140 high value to check if expl overflow.
3141 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
3142 to check for underflow and overflow.
3143 * math/libm-test.inc: Add exp test.
3144
2e0fb521
DL
31452013-03-21 Dmitry V. Levin <ldv@altlinux.org>
3146
3147 [BZ #11120]
3148 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
3149 with NOT_IN_libc.
3150
b5784d95
AZ
31512013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3152
3153 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
3154 symbol.
3155
5aa4a1a1
TS
31562013-03-21 Thomas Schwinge <thomas@codesourcery.com>
3157
bdef0be7
TS
3158 * math/gen-libm-test.pl (parse_args, special_functions): Properly
3159 wrap blocks consisting of several statements.
3160
5aa4a1a1
TS
3161 * sysdeps/generic/math-tests.h: New file.
3162 * sysdeps/i386/fpu/math-tests.h: Likewise.
3163 * math/test-snan.c: Include it.
3164 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
3165
98c48fe5
JM
31662013-03-21 Joseph Myers <joseph@codesourcery.com>
3167
3168 [BZ #15285]
3169 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
3170 (__ieee754_j0l): Do not improve calculations using cos of twice
3171 input for inputs above LDBL_MAX / 2.0L.
3172 (__ieee754_y0l): Likewise.
3173 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
3174 (__ieee754_j1l): Do not improve calculations using cos of twice
3175 input for inputs above LDBL_MAX / 2.0L.
3176 (__ieee754_y1l): Likewise.
3177 * math/libm-test.inc (j0_test): Add another test.
3178 (j1_test): Likewise.
3179 (y0_test): Likewise.
3180 (y1_test): Likewise.
3181 * sysdeps/i386/fpu/libm-test-ulps: Update.
3182
3775a8bc
SP
31832013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3184
3185 * Rules ($(objpfx)bench-%.c): Include code from a C source
3186 file.
3187
0a1b2ae6
JM
31882013-03-21 Joseph Myers <joseph@codesourcery.com>
3189
3190 [BZ #15287]
3191 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3192 imaginary part 1.0 and real part less than 0.5 specially.
3193 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3194 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3195 * math/libm-test.inc (cacos_test): Add more tests.
3196 (casin_test): Likewise.
3197 (casinh_test): Likewise.
3198 * sysdeps/i386/fpu/libm-test-ulps: Update.
3199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3200
b33d4ce4
SP
32012013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3202
3203 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
3204 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
3205
bef0b507
JM
32062013-03-20 Joseph Myers <joseph@codesourcery.com>
3207
3208 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
3209 * config.make.in (config-cflags-sse4): Remove variable.
3210 (config-cflags-avx): Likewise.
3211 (config-cflags-sse2avx): Likewise.
3212 (config-cflags-novzeroupper): Likewise.
3213 (config-asflags-i686): Likewise.
3214 (have-mfma4): Likewise.
3215 (have-as-vis3): Likewise.
3216 (MIG): Likewise.
3217 * configure.in (MIG): Do not AC_SUBST.
3218 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
3219 (libc_cv_cc_sse4): Do not AC_SUBST.
3220 (libc_cv_cc_avx): Likewise.
3221 (libc_cv_cc_sse2avx): Likewise.
3222 (libc_cv_cc_novzeroupper): Likewise.
3223 (libc_cv_cc_fma4): Likewise.
3224 (libc_cv_as_i686): Likewise.
3225 (libc_cv_sparc_as_vis3): Likewise.
3226 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
3227 LIBC_CONFIG_VAR.
3228 (config-asflags-i686): Likewise.
3229 (config-cflags-avx): Likewise.
3230 (config-cflags-sse2avx): Likewise.
3231 (have-mfma4): Likewise.
3232 (config-cflags-novzeroupper): Likewise.
3233 * sysdeps/mach/configure.in (MIG): Likewise.
3234 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
3235 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
3236 LIBC_CONFIG_VAR.
3237 (config-cflags-avx): Likewise.
3238 (config-cflags-sse2avx): Likewise.
3239 (have-mfma4): Likewise.
3240 (config-cflags-novzeroupper): Likewise.
3241 * configure: Regenerated.
3242 * sysdeps/i386/configure: Likewise.
3243 * sysdeps/mach/configure: Likewise.
3244 * sysdeps/sparc/configure: Likewise.
3245 * sysdeps/x86_64/configure: Likewise.
3246
912cc4b3
RM
32472013-03-20 Roland McGrath <roland@hack.frob.com>
3248
3249 [BZ #14812]
3250 * locale/programs/localedef.c (options): Put N_ translation marker
3251 on argument names, not just descriptions.
3252
04eed2b0
MS
32532013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3254
3255 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
3256
a065ceff
OB
32572013-03-20 Ondřej Bílka <neleai@seznam.cz>
3258
9bb2a810 3259 [BZ #14176]
a065ceff
OB
3260 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
3261
a600e5ce
RM
32622013-03-19 Roland McGrath <roland@hack.frob.com>
3263
3264 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
3265 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
3266 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
3267 [!BEFORE_ABORT] (before_abort): New function.
3268 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
3269 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
3270 (writev_for_fatal): New function.
3271 (WRITEV_FOR_FATAL): New macro; call that.
3272 (backtrace_and_maps): New function.
3273 (BEFORE_ABORT): New macro; call that.
3274 (struct str_list): Type removed.
3275 (__libc_message, __libc_fatal): Functions removed.
3276 Include <sysdeps/posix/libc_fatal.c> instead.
3277
6b18bea6
JM
32782013-03-19 Joseph Myers <joseph@codesourcery.com>
3279
3280 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
3281 constants.
3282 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
3283 double constants.
3284
aaa8cb4b
AS
32852013-03-19 Andreas Schwab <schwab@suse.de>
3286
44673770
AS
3287 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
3288 * sysdeps/gnu/configure: Regenerate.
3289
aaa8cb4b
AS
3290 * configure.in: Substitute libc_cv_rtlddir.
3291 * configure: Regenerate.
3292 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
3293 * Makeconfig (rtlddir, inst_rtlddir): New variables.
3294 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
3295 * elf/Makefile (install-others, CFLAGS-interp.c)
3296 (ldso_install, common-ldd-rewrite): Likewise.
3297 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
3298 $(inst_slibdir)/$(rtld-installed-name).
3299 * scripts/rellns-sh: Add -p option.
3300 * Makerules (make-shlib-link): Use rellns-sh to get relative name
3301 for source.
3302
d3cfc668
SP
33032013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3304
3305 * manual/nptl.texi: Renamed to ...
3306 * manual/threads.texi: ... this.
3307 * manual/Makefile (chapters): Update.
3308
0e2b9cdd
RM
33092013-03-18 Roland McGrath <roland@hack.frob.com>
3310
3311 [BZ #14812]
3312 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
3313 on argument names, not just descriptions.
0e2b9cdd
RM
3314 * malloc/memusagestat.c (options): Likewise.
3315 * nss/getent.c (options): Likewise.
63270c24
RM
3316
33172013-03-18 Benno Schulenberg <bensberg@justemail.net>
3318
3319 [BZ #14812]
3320 * iconv/iconv_prog.c (options): Put N_ translation marker
3321 on argument names, not just descriptions.
3322 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 3323
b2e1393c
OB
33242013-03-18 Ondrej Bilka <neleai@seznam.cz>
3325
3326 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
3327 implementation which is faster on all x86_64 architectures.
3328 Tested on AMD, Intel Nehalem, SNB, IVB.
3329 * sysdeps/x86_64/strnlen.S: Likewise.
3330
3331 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3332 Remove all multiarch strlen and strnlen versions.
3333 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
3334 Remove strlen and strnlen related parts.
3335
3336 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
3337 Inline strlen part.
3338 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3339
3340 * sysdeps/x86_64/multiarch/strlen.S: Remove.
3341 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
3342 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
3343 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
3344 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3345 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
3346
ec4ff04d
CD
33472013-03-17 Carlos O'Donell <carlos@redhat.com>
3348
3349 * manual/memory.texi (Malloc Tunable Parameters):
3350 Sort parameters alphabetically. Add comments for missing entries.
3351
cd18e90a
DM
33522013-03-17 David S. Miller <davem@davemloft.net>
3353
3354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3355
2a185d32
JM
33562013-03-16 Joseph Myers <joseph@codesourcery.com>
3357
d2f9799e
JM
3358 [BZ #15283]
3359 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
3360 for arguments at most half maximum finite value.
3361 * math/libm-test.inc (j0_test): Add more tests.
3362 (j1_test): Likewise.
3363 (y0_test): Likewise.
3364 (y1_test): Likewise.
3365 * sysdeps/i386/fpu/libm-test-ulps: Update.
3366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3367
2a185d32
JM
3368 [BZ #14155]
3369 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
3370 1 / x and functions P and Q for arguments above 0x1p256L.
3371 (__ieee754_y0l): Likewise.
3372 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
3373 (__ieee754_y1l): Likewise.
3374 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
3375 (j1_test): Likewise.
3376 (y0_test): Likewise.
3377 (y1_test): Likewise.
3378
6cbec759
TS
33792013-03-16 Thomas Schwinge <thomas@codesourcery.com>
3380
3381 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
3382 variable.
3383
bc16e260
RM
33842013-03-15 Roland McGrath <roland@hack.frob.com>
3385
aefc9b8c
RM
3386 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
3387 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
3388 zero since it's initialized to EXEC_PAGESIZE.
3389
bc16e260
RM
3390 * sysdeps/unix/sysv/linux/ldsodefs.h
3391 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
3392 * sysdeps/generic/ldsodefs.h: ... here.
3393
a57da955
TS
33942013-03-15 Thomas Schwinge <thomas@codesourcery.com>
3395
af00a34d
TS
3396 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
3397
495ded2c
TS
3398 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
3399 math/test-snan.c.
3400 * math/test-snan.c: Renamed from
3401 sysdeps/powerpc/fpu/test-powerpc-snan.c.
3402 * math/Makefile (tests): Add test-snan.
3403 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
3404 test-powerpc-snan.
3405
777b0332
TS
3406 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
3407 SUFFIX. Initialize qNaN_var with __builtin_nan family of
3408 functions.
3409 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
3410 __builtin_nan family of functions.
3411 * math/libm-test.inc (initialize): Initialize qnan_value with
3412 __builtin_nan family of functions.
3413 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
3414 Remove variables.
3415 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
3416 Remove functions.
3417 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
3418 storage class. Initialize qNaN_var and sNaN_var with
3419 __builtin_nan and __builtin_nans families of functions,
3420 respectively.
3421
64d063b8
TS
3422 * math/libm-test.inc (acosh_test): Also test with qNaN input.
3423 (sqrt_test): Remove duplicate test with qNaN input.
3424 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
3425 (round_test, signbit_test, significand_test): Note missing +/-Inf
3426 as well as qNaN tests.
3427
67e971f1
TS
3428 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
3429 qNaN_var. Fix a few strings, too.
3430 * math/libm-test.inc (nan_value): Rename to qnan_value.
3431 * math/gen-libm-test.pl (%beautify): Adjust to that.
3432 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
3433 * math/test-misc.c (main): Likewise.
3434 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
3435 to __qnan_bytes, and __qnan_union, respectively.
3436 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
3437 Likewise.
3438 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
3439 and lqnanval, respectively.
3440 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
3441 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
3442 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
3443 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
3444
64487e12
TS
3445 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
3446 * math/test-misc.c (main) [__x86_64__]: Enable test for long
3447 doubles.
3448
e015e27b
TS
3449 * math/test-misc.c (main): Fix copy'n'pastos.
3450 * misc/tst-efgcvt.c (special): Likewise.
3451
a57da955
TS
3452 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
3453 Remove declarations.
3454
1e380345
SP
34552013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3456
3457 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
3458 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
3459 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
3460 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
3461
ef26eece
AZ
34622013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3463
3464 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
3465 macro to return vdso values correctly in IFUNC implementations.
3466 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3467 Optimization by using IFUNC.
3468
8cfdb7e0
SP
34692013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3470 Richard Henderson <rth@redhat.com>
3471 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3472
3473 * Makefile.in (bench): New target.
3474 * NEWS: Mention the benchmark framework.
3475 * Rules (bench): Likewise.
3476 (binaries-bench): Generate binaries for functions to
3477 benchmark.
3478 * benchtests/Makefile: New makefile for benchmark tests.
3479 * benchtests/bench-skeleton.c: New skeleton file for benchmark
3480 programs.
3481 * benchtests/exp-inputs: New input file for EXP function.
3482 * benchtests/pow-inputs: New input file for POW function.
3483 * scripts/bench.pl: New script to generate source files for
3484 benchmark programs.
3485
bcda9880
SP
34862013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3487
d22ca8cd
SP
3488 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3489 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
3490 computations on mantissa. Use macros for rounding and
3491 division.
3492 (denorm): Likewise.
3493 (__dbl_mp): Likewise.
3494 (add_magnitudes): Likewise.
3495 (sub_magnitudes): Likewise.
3496 (__mul): Likewise.
3497 (__sqr): Likewise.
3498 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3499 powers of two in terms of TWOPOW macro.
3500 (mp_no): Make type of mantissa as MANTISSA_T.
3501 [!RADIXI]: Define RADIXI.
3502 [!TWO52]: Define TWO52.
3503 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3504
bcda9880
SP
3505 * manual/nptl.texi (cindex): Modify threads to pthreads.
3506
06d5adfb
JM
35072013-03-15 Joseph Myers <joseph@codesourcery.com>
3508
3509 * sysdeps/x86_64/preconfigure: Regenerated.
3510
41c7328e
JM
35112013-03-14 Joseph Myers <joseph@codesourcery.com>
3512
3513 [BZ #14155]
3514 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
3515 0x1p28 and above.
3516 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
3517 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
3518 0x1p28 and above.
3519 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
3520 * math/libm-test.inc (j0_test): Do not allow one spurious
3521 underflow exception.
3522 (y1_test): Likewise.
3523
e25cfa60
SP
35242013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3525
0409959c
SP
3526 * manual/Makefile (chapters): Add nptl.
3527 * manual/debug.texi (Debugging Support): Add link to Threads
3528 chapter.
3529 * manual/nptl.texi: New file.
3530
e25cfa60
SP
3531 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
3532
58a1335e
PB
35332013-03-14 Petr Baudis <pasky@ucw.cz>
3534
3535 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
3536 for non-NULL pointer before the memory validity test. Pointed
3537 out by Holger Brunck <holger.brunck@keymile.com>.
3538
9dc7c64f
AS
35392013-03-13 Andreas Schwab <schwab@suse.de>
3540
3541 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
3542 instead of .os.
3543
54206aa6
JM
35442013-03-13 Joseph Myers <joseph@codesourcery.com>
3545
3546 * timezone/zic.c: Update from tzcode 2013b.
3547
e98cdb38
CD
35482013-03-12 Carlos O'Donell <carlos@redhat.com>
3549
3550 * manual/install.texi (Configuring and compiling):
3551 Mention i686 and i586.
3552 * INSTALL: Regenerate.
3553
9967e003
RM
35542013-03-12 Roland McGrath <roland@hack.frob.com>
3555
3556 * sysdeps/init_array/elf-init.c: New file.
3557 * csu/elf-init.c
3558 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
3559 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
3560
3561 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
3562 __gmon_start__ as global, but as static with a .preinit_array pointer.
3563 * sysdeps/init_array/gmon-start.c: New file. Use that.
3564 * sysdeps/init_array/crti.S: New file, empty except for comments.
3565 * sysdeps/init_array/crtn.S: Likewise.
3566
e6b5a293 35672013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
3568
3569 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
3570 definining bcopy.
80f844c9
OB
3571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3572 Remove Prefer_SSE_for_memop.
3573 * sysdeps/x86_64/multiarch/init-arch.h: Remove
3574 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
3575 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
3576 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3577 memset-x86-64.
80f844c9 3578 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 3579 Remove bzero, memset ifunc support.
80f844c9
OB
3580 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
3581 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
3582 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3583 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3584
fb6b0fcb
AS
35852013-03-11 Andreas Schwab <schwab@suse.de>
3586
3587 [BZ #15234]
3588 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
3589 by SHLIB_COMPAT.
3590 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
3591 (GLIBC_2.16): Remove pthread_atfork.
3592
3e6bd4b1
PP
35932013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3594
3595 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
3596 (ptestcases.h): Likewise.
3597
222d7f00
RM
35982013-03-08 Roland McGrath <roland@hack.frob.com>
3599
3600 * Makeconfig ($(common-objpfx)config.status): Depend on
3601 sysdeps/*/preconfigure{,.in} too.
3602
1ba4f030
JM
36032013-03-08 Joseph Myers <joseph@codesourcery.com>
3604
a222d91a
JM
3605 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
3606 (__free_hook): Use void * instead of __malloc_ptr_t.
3607 (__malloc_hook): Likewise.
3608 (__realloc_hook): Likewise.
3609 (__memalign_hook): Likewise.
3610 (__after_morecore_hook): Likewise.
3611 * malloc/arena.c (save_malloc_hook): Likewise.
3612 (save_free_hook): Likewise.
3613 * malloc/hooks.c (malloc_hook_ini): Likewise.
3614 (realloc_hook_ini): Likewise.
3615 (memalign_hook_ini): Likewise.
3616 * malloc/malloc.c (malloc_hook_ini): Likewise.
3617 (realloc_hook_ini): Likewise.
3618 (memalign_hook_ini): Likewise.
3619 (__free_hook): Likewise.
3620 (__malloc_hook): Likewise.
3621 (__realloc_hook): Likewise.
3622 (__memalign_hook): Likewise.
3623 (__libc_malloc): Likewise.
3624 (__libc_free): Likewise.
3625 (__libc_realloc): Likewise.
3626 (__libc_memalign): Likewise.
3627 (__libc_valloc): Likewise.
3628 (__libc_pvalloc): Likewise.
3629 (__libc_calloc): Likewise.
3630 (__posix_memalign): Likewise.
3631 * malloc/morecore.c (__sbrk): Likewise.
3632 (__default_morecore): Likewise.
3633
5cc45e10
JM
3634 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
3635
dd54b864
JM
3636 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
3637 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
3638 __malloc_ptrdiff_t.
3639
1ba4f030
JM
3640 * malloc/malloc.h (__malloc_size_t): Remove macro.
3641 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
3642 __malloc_size_t.
3643 (old_memalign_hook): Likewise.
3644 (old_realloc_hook): Likewise.
3645 (struct hdr): Likewise.
3646 (flood): Likewise.
3647 (mallochook): Likewise.
3648 (memalignhook): Likewise.
3649 (reallochook): Likewise.
3650 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
3651 (tr_old_realloc_hook): Likewise.
3652 (tr_old_memalign_hook): Likewise.
3653 (tr_mallochook): Likewise.
3654 (tr_reallochook): Likewise.
3655 (tr_memalignhook): Likewise.
3656
edf66e57
AZ
36572013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3658
3659 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
3660 default_ldbl_pack and using as default implementation.
3661 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
3662 implementation.
3663 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
3664 redundant definition.
3665 (ldbl_insert_mantissa): Likewise.
3666 (ldbl_canonicalize): Likewise.
3667 (ldbl_nearbyint): Likewise.
3668 (ldbl_pack): Rename to ldbl_pack_ppc.
3669 (ldbl_unpack): Rename to ldbl_unpack_ppc.
3670 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
3671 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
3672
6d9145d8
SP
36732013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3674
3675 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
3676 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
3677 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
3678 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
3679 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
3680 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
3681 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
3682 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
3683
4dd4e157
AJ
36842013-03-07 Andreas Jaeger <aj@suse.de>
3685
3686 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3687 bits/mman-linux.h.
3688
adbb8027
SP
36892013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3690
ce544b5b
SP
3691 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
3692 Include mpa.h and declare __MPEXP.
3693 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
3694 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3695 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3696 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
3697 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3698 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3699 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
3700
4cc149fd
SP
3701 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
3702 (__slowpow): Use long double EXPL and LOGL functions to
3703 compute POW.
3704 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3705 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3706 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
3707 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3708 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3709 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
3710
e6ebd4a7
SP
3711 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
3712 intermediate variable to calculate exponent.
3713 (__sqr): Likewise.
3714 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3715 Likewise.
3716 (__sqr): Likewise.
3717
82a9811d
SP
3718 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
3719 [!NO__SQR]: Define __sqr.
3720 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
3721 and NO__SQR. Remove all code except __mul and __sqr. Include
3722 sysdeps/ieee754/dbl-64/mpa.c.
3723 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3724
adbb8027
SP
3725 [BZ #12723]
3726 * posix/Makefile (tests): Add tst-pathconf.
3727 * posix/tst-pathconf.c: New test case.
3728 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
3729 _PC_PIPE_BUF.
3730 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
3731
39120df9
PF
37322013-03-06 Patsy Franklin <pfrankli@redhat.com>
3733
3734 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
3735
67525cb8
AJ
37362013-03-06 Andreas Jaeger <aj@suse.de>
3737
664a9ce4
AJ
3738 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
3739 definition via __MAP_ANONYMOUS.
3740
8e39047d
AJ
3741 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
3742 it's not part of Linux headers.
3743
67525cb8
AJ
3744 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
3745 (MAP_HUGE_MASK): Define.
3746
3747 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3748 Define.
3749 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3750 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3751 Define.
3752 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3753 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3754 Define.
3755 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3756 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
3757 Define.
3758 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3759
3760 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
3761 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
3762 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
3763 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
3764 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
3765 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
3766
3767 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
3768 Handle f2fs.
3769
3770 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3771 Handle f2fs and efivarfs.
3772
3773 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
3774 f2fs.
3775
3776 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
3777 (EFIVARFS_MAGIC): Add.
3778 (F2FS_LINK_MAX): Add.
3779
e1b42695
PP
37802013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3781
3782 * stdio-common/vfprintf.c: Replace __builtin_expect with
3783 __glibc_unlikely.
3784
2d67d91a
JM
37852013-03-06 Joseph Myers <joseph@codesourcery.com>
3786
3787 [BZ #13550]
3788 * sysdeps/generic/bp-sym.h: Remove file.
3789 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
3790 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
3791 <bp-sym.h> and <bp-asm.h>.
3792 (__longjmp): Don't use BP_SYM.
3793 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
3794 and <bp-asm.h>.
3795 (memcpy): Don't use BP_SYM.
3796 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
3797 <bp-sym.h> and <bp-asm.h>.
3798 (memcpy): Don't use BP_SYM.
3799 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
3800 <bp-asm.h>.
3801 (memcpy): Don't use BP_SYM.
3802 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
3803 <bp-asm.h>.
3804 (memset): Don't use BP_SYM.
3805 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3806 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3807 (__bzero): Don't use BP_SYM.
3808 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3809 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3810 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
3811 <bp-sym.h> and <bp-asm.h>.
3812 (memcmp): Don't use BP_SYM. Remove comment about bounded
3813 pointers.
3814 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
3815 <bp-sym.h> and <bp-asm.h>.
3816 (memcpy): Don't use BP_SYM.
3817 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
3818 <bp-sym.h> and <bp-asm.h>.
3819 (memset): Don't use BP_SYM.
3820 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3821 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3822 (__bzero): Don't use BP_SYM.
3823 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3824 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3825 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
3826 <bp-sym.h> and <bp-asm.h>.
3827 (strncmp): Don't use BP_SYM. Remove comment about bounded
3828 pointers.
3829 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
3830 <bp-sym.h> and <bp-asm.h>.
3831 (memcpy): Don't use BP_SYM.
3832 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
3833 <bp-sym.h> and <bp-asm.h>.
3834 (memset): Don't use BP_SYM.
3835 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3836 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3837 (__bzero): Don't use BP_SYM.
3838 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3839 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3840 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
3841 <bp-sym.h> and <bp-asm.h>.
3842 (__memchr): Don't use BP_SYM.
3843 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
3844 <bp-sym.h> and <bp-asm.h>.
3845 (memcmp): Don't use BP_SYM. Remove comment about bounded
3846 pointers.
3847 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
3848 <bp-sym.h> and <bp-asm.h>.
3849 (memcpy): Don't use BP_SYM.
3850 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
3851 <bp-sym.h> and <bp-asm.h>.
3852 (__mempcpy): Don't use BP_SYM.
3853 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
3854 <bp-sym.h> and <bp-asm.h>.
3855 (__memrchr): Don't use BP_SYM.
3856 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
3857 <bp-sym.h> and <bp-asm.h>.
3858 (memset): Don't use BP_SYM.
3859 (__bzero): Likewise.
3860 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
3861 <bp-sym.h> and <bp-asm.h>.
3862 (__rawmemchr): Don't use BP_SYM.
3863 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
3864 <bp-sym.h> and <bp-asm.h>.
3865 (__STRCMP): Don't use BP_SYM.
3866 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
3867 <bp-sym.h> and <bp-asm.h>.
3868 (strchr): Don't use BP_SYM.
3869 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
3870 <bp-sym.h> and <bp-asm.h>.
3871 (__strchrnul): Don't use BP_SYM.
3872 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
3873 <bp-sym.h> and <bp-asm.h>.
3874 (strlen): Don't use BP_SYM.
3875 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
3876 <bp-sym.h> and <bp-asm.h>.
3877 (strncmp): Don't use BP_SYM. Remove comment about bounded
3878 pointers.
3879 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
3880 <bp-sym.h> and <bp-asm.h>.
3881 (__strnlen): Don't use BP_SYM.
3882 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
3883 <bp-sym.h> and <bp-asm.h>.
3884 (__GI__setjmp): Don't use BP_SYM.
3885 (_setjmp): Likewise.
3886 (__sigsetjmp): Likewise.
3887 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
3888 (L(start_addresses)): Don't use BP_SYM.
3889 (_start): Likewise.
3890 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
3891 <bp-asm.h>.
3892 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
3893 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
3894 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3895 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3896 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
3897 <bp-asm.h>.
3898 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
3899 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
3900 about bounded pointers.
3901 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3902 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3903 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
3904 <bp-asm.h>.
3905 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3906 about bounded pointers. Remove GKM FIXME comments.
3907 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3908 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
3909 <bp-asm.h>.
3910 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
3911 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
3912 Remove GKM FIXME comments.
3913 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3914 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3915 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
3916 <bp-asm.h>.
3917 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3918 about bounded pointers. Remove GKM FIXME comment.
3919 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
3920 and <bp-asm.h>.
3921 (strncmp): Don't use BP_SYM. Remove comment about bounded
3922 pointers.
3923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
3924 <bp-sym.h> and <bp-asm.h>.
3925 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
3926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
3927 <bp-sym.h> and <bp-asm.h>.
3928 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
3929 comment.
3930
cdcf361f
PP
39312013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3932
3933 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
3934 call free(NULL).
3935
3c4a2b15
DM
39362013-03-05 David S. Miller <davem@davemloft.net>
3937
3938 * po/es.po: Update from translation team.
3939
cdcf361f 39402013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
3941
3942 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
3943 <bits/mman-linux.h>.
3944 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3945 is fine.
3946 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
3947 <bits/mman-linux.h> to end of file.
3948 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3949 is fine.
3950 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
3951 <bits/mman-linux.h> to end of file.
3952 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3953 is fine.
3954 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
3955 <bits/mman-linux.h> to end of file.
3956
3957 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
3958 (MCL_CURRENT, MCL_FUTURE): Define here.
3959
5f67c04f
AK
39602013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3961
8a4473cc 3962 [BZ #15232]
5f67c04f
AK
3963 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
3964 attribute_hidden.
3965 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3966
c3e94a95
AK
39672013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3968
3969 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
3970 fourth parameter needed for rt_sigprocmask syscall.
3971 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3972 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3973 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3974 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3975 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3976 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
3977
cfb6382a
JM
39782013-03-04 Joseph Myers <joseph@codesourcery.com>
3979
3980 [BZ #13550]
3981 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
3982 comment about bounded pointers.
3983 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
3984 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
3985
539d8e01
AJ
39862013-03-04 Andreas Jaeger <aj@suse.de>
3987
3988 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
3989 common definitions.
3990
3991 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
3992 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
3993 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
3994 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3995 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
3996 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3997
2e167a70 39982013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
3999
4000 [BZ #15055]
4001 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4002 __ieee754_sqrl instead of __sqrl.
4003
68508633
JM
40042013-03-01 Joseph Myers <joseph@codesourcery.com>
4005
4006 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
4007 * sysdeps/powerpc/fpu_control.h: ... here.
4008 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
4009 * sysdeps/powerpc/bits/fenvinline.h: ... here.
4010 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
4011 * sysdeps/powerpc/bits/mathinline.h: ... here.
4012
7775448e
RM
40132013-03-01 Roland McGrath <roland@hack.frob.com>
4014
4015 * elf/dl-hwcaps.c (_dl_important_hwcaps):
4016 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
4017 to just [NEED_DL_SYSINFO_DSO].
4018 * elf/dl-support.c: Likewise.
4019 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4020 * elf/rtld.c (dl_main): Likewise.
4021 * elf/setup-vdso.h (setup_vdso): Likewise.
4022 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
4023 * sysdeps/unix/sysv/linux/dl-sysdep.c
4024 (_dl_discover_osversion): Likewise.
4025
4e9b5995
CD
40262013-03-01 Carlos O'Donell <carlos@redhat.com>
4027
4028 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
4029 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4030
e23872c8
SP
40312013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4032
e5c74c63
SP
4033 * NEWS: Mention libm performance improvements and non-x86 PI
4034 futex support.
4035
e23872c8
SP
4036 * csu/libc-start.c (__pthread_initialize_minimal): Change
4037 function arguments.
4038 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4039
b5510883
JM
40402013-02-28 Joseph Myers <joseph@codesourcery.com>
4041
4042 [BZ #13550]
4043 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
4044 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
4045 <bp-sym.h> and <bp-asm.h>.
4046 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4047 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
4048 and <bp-asm.h>.
4049 (memcpy): Don't use BP_SYM.
4050 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
4051 <bp-asm.h>.
4052 (__mpn_add_n): Don't use BP_SYM.
4053 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
4054 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
4055 and <bp-asm.h>.
4056 (__mpn_addmul_1): Don't use BP_SYM.
4057 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4058 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
4059 <bp-sym.h>.
4060 (_setjmp): Don't use BP_SYM.
4061 (__novmx_setjmp): Likewise.
4062 (__GI__setjmp): Likewise.
4063 (__vmx_setjmp): Likewise.
4064 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
4065 <bp-sym.h>.
4066 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
4067 (__bzero): Don't use BP_SYM.
4068 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4069 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4070 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
4071 <bp-sym.h> and <bp-asm.h>.
4072 (memcpy): Don't use BP_SYM.
4073 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
4074 <bp-sym.h> and <bp-asm.h>.
4075 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4076 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
4077 <bp-sym.h> and <bp-asm.h>.
4078 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4079 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
4080 <bp-asm.h>.
4081 (__mpn_lshift): Don't use BP_SYM.
4082 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4083 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
4084 <bp-asm.h>.
4085 (memset): Don't use BP_SYM.
4086 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4087 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4088 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
4089 <bp-asm.h>.
4090 (__mpn_mul_1): Don't use BP_SYM.
4091 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4092 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
4093 <bp-sym.h> and <bp-asm.h>.
4094 (memcmp): Don't use BP_SYM.
4095 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
4096 <bp-sym.h> and <bp-asm.h>.
4097 (memcpy): Don't use BP_SYM.
4098 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
4099 <bp-sym.h> and <bp-asm.h>.
4100 (memset): Don't use BP_SYM.
4101 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
4102 <bp-sym.h> and <bp-asm.h>.
4103 (strncmp): Don't use BP_SYM.
4104 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
4105 <bp-sym.h> and <bp-asm.h>.
4106 (memcpy): Don't use BP_SYM.
4107 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
4108 <bp-sym.h> and <bp-asm.h>.
4109 (memset): Don't use BP_SYM.
4110 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
4111 <bp-sym.h> and <bp-asm.h>.
4112 (__memchr): Don't use BP_SYM.
4113 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
4114 <bp-sym.h> and <bp-asm.h>.
4115 (memcmp): Don't use BP_SYM.
4116 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
4117 <bp-sym.h> and <bp-asm.h>.
4118 (memcpy): Don't use BP_SYM.
4119 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
4120 <bp-sym.h> and <bp-asm.h>.
4121 (__mempcpy): Don't use BP_SYM.
4122 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
4123 <bp-sym.h> and <bp-asm.h>.
4124 (__memrchr): Don't use BP_SYM.
4125 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
4126 <bp-sym.h> and <bp-asm.h>.
4127 (memset): Don't use BP_SYM.
4128 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
4129 <bp-sym.h> and <bp-asm.h>.
4130 (__rawmemchr): Don't use BP_SYM.
4131 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
4132 <bp-sym.h> and <bp-asm.h>.
4133 (__STRCMP): Don't use BP_SYM.
4134 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
4135 <bp-sym.h> and <bp-asm.h>.
4136 (strchr): Don't use BP_SYM.
4137 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
4138 <bp-sym.h> and <bp-asm.h>.
4139 (__strchrnul): Don't use BP_SYM.
4140 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
4141 <bp-sym.h> and <bp-asm.h>.
4142 (strlen): Don't use BP_SYM.
4143 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
4144 <bp-sym.h> and <bp-asm.h>.
4145 (strncmp): Don't use BP_SYM.
4146 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
4147 <bp-sym.h> and <bp-asm.h>.
4148 (__strnlen): Don't use BP_SYM.
4149 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
4150 <bp-asm.h>.
4151 (__mpn_rshift): Don't use BP_SYM.
4152 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4153 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
4154 <bp-sym.h> and <bp-asm.h>.
4155 (__sigsetjmp): Don't use BP_SYM.
4156 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
4157 (L(start_addresses)): Don't use BP_SYM.
4158 (_start): Likewise.
4159 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
4160 <bp-asm.h>.
4161 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
4162 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4163 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4164 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
4165 <bp-asm.h>.
4166 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
4167 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4168 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4169 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
4170 <bp-asm.h>.
4171 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4172 comments.
4173 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4174 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
4175 <bp-asm.h>.
4176 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
4177 FIXME comments.
4178 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4179 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4180 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
4181 <bp-asm.h>.
4182 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4183 comment.
4184 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
4185 and <bp-asm.h>.
4186 (strncmp): Don't use BP_SYM,
4187 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
4188 <bp-asm.h>.
4189 (__mpn_sub_n): Don't use BP_SYM.
4190 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4191 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
4192 and <bp-asm.h>.
4193 (__mpn_submul_1): Don't use BP_SYM.
4194 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
4196 <bp-sym.h> and <bp-asm.h>.
4197 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
4199 <bp-sym.h> and <bp-asm.h>.
4200 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4201 comment.
4202
8d19fe64
SP
42032013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4204
4205 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
4206 Use ZK to minimize writes to Z.
4207 (sub_magnitudes): Simplify code a bit.
4208 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
4209 Use ZK to minimize writes to Z.
4210 (sub_magnitudes): Simplify code a bit.
4211
85bd816a
RM
42122013-02-27 Roland McGrath <roland@hack.frob.com>
4213
4214 * csu/gmon-start.c: Add special exception to license text.
4215
b5977bf2
RH
42162013-02-27 Richard Henderson <rth@redhat.com>
4217
4218 * scripts/config.guess: Update from config.git.
4219 * scripts/config.sub: Likewise.
4220
11d6e2f2
SP
42212013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4222
09c14ed2
SP
4223 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
4224
a688864e
SP
4225 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
4226
6295157a
SP
4227 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
4228
b8de2202
SP
4229 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
4230
11d6e2f2
SP
4231 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
4232
7e80ddb8
RM
42332013-02-26 Roland McGrath <roland@hack.frob.com>
4234
4235 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
4236 [$(build-shared = yes].
7e80ddb8 4237
7da6d9ed
SP
42382013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4239
45f05884
SP
4240 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
4241 (__mul): Reduce iterations for calculating mantissa.
4242
2236d359
SP
4243 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
4244 MPTWO.
4245 (__mpranred): Likewise.
4246
7da6d9ed
SP
4247 [BZ #15160]
4248 * malloc/memusagestat.c (main): Draw graphs for heap and stack
4249 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
4250
b7688c42
PE
42512013-02-26 Paul Eggert <eggert@cs.ucla.edu>
4252
4253 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
4254 Define __attribute__.
4255
53a5c423
SP
42562013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4257
4258 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
4259 unused.
4260 * posix/regex_internal.h (__attribute): Remove.
4261 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
4262 (re_string_context_at): Likewise.
4263 (bitset_not): Use __attribute__ and mark function as possibly
4264 unused.
4265 (bitset_merge): Likewise.
4266 (bitset_mask): Likewise.
4267 (re_string_char_size_at): Likewise.
4268 (re_string_wchar_at): Likewise.
4269 (re_string_elem_size_at): Likewise.
4270
60f5a8b5
SP
42712013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4272
2a983a2e
SP
4273 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
4274 code.
4275 (cc32): Likewise.
4276
e69804d1
SP
4277 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
4278 (__acr): Likewise.
4279 (__cpy): Likewise.
4280 (norm): Likewise.
4281 (denorm): Likewise.
4282 (__dbl_mp): Likewise.
4283 (add_magnitudes): Likewise.
4284 (sub_magnitudes): Likewise.
4285 (__mul): Likewise.
4286 (__inv): Likewise.
4287
2f22a1e8
SP
4288 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
4289 style.
4290
8930ddc7
SP
4291 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
4292 style.
4293
dc60cb11
SP
4294 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
4295 code.
4296
60f5a8b5
SP
4297 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
4298 up changes with default code.
4299 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
4300 Likewise.
4301
b4d1fd33
AM
43022013-02-24 Allan McRae <allan@archlinux.org>
4303
faf6f8bc
AM
4304 * manual/socket.texi (The Internet Namespace): Order menu items
4305 to match that in the file.
4306
b4d1fd33
AM
4307 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
4308 node listing of the info page menu.
4309
2366713d
JM
43102013-02-21 Joseph Myers <joseph@codesourcery.com>
4311
4312 [BZ #13550]
4313 * sysdeps/i386/bp-asm.h: Remove file.
4314 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4315 (PARMS): Do not use macros from bp-asm.h.
4316 (S1): Likewise.
4317 (S2): Likewise.
4318 (SIZE): Likewise.
4319 (__mpn_add_n): Do not use BP_SYM
4320 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
4321 "bp-asm.h".
4322 (PARMS): Do not use macros from bp-asm.h.
4323 (S1): Likewise.
4324 (SIZE): Likewise.
4325 (__mpn_addmul_1): Do not use BP_SYM
4326 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
4327 "bp-asm.h".
4328 (PARMS): Do not use macros from bp-asm.h.
4329 (SIGMSK): Likewise.
4330 (_setjmp): Likewise. Do not use BP_SYM.
4331 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
4332 "bp-asm.h".
4333 (PARMS): Do not use macros from bp-asm.h.
4334 (SIGMSK): Likewise.
4335 (setjmp): Likewise. Do not use BP_SYM.
4336 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
4337 "bp-asm.h".
4338 (PARMS): Do not use macros from bp-asm.h.
4339 (__frexp): Do not use BP_SYM.
4340 (frexp): Likewise.
4341 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
4342 "bp-asm.h".
4343 (PARMS): Do not use macros from bp-asm.h.
4344 (__frexpf): Do not use BP_SYM.
4345 (frexpf): Likewise.
4346 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
4347 "bp-asm.h".
4348 (PARMS): Do not use macros from bp-asm.h.
4349 (__frexpl): Do not use BP_SYM.
4350 (frexpl): Likewise.
4351 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
4352 "bp-asm.h".
4353 (PARMS): Do not use macros from bp-asm.h.
4354 (__remquo): Do not use BP_SYM.
4355 (remquo): Likewise.
4356 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
4357 "bp-asm.h".
4358 (PARMS): Do not use macros from bp-asm.h.
4359 (__remquof): Do not use BP_SYM.
4360 (remquof): Likewise.
4361 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
4362 "bp-asm.h".
4363 (PARMS): Do not use macros from bp-asm.h.
4364 (__remquol): Do not use BP_SYM.
4365 (remquol): Likewise.
4366 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
4367 "bp-asm.h".
4368 (PARMS): Do not use macros from bp-asm.h.
4369 (DEST): Likewise.
4370 (SRC): Likewise.
4371 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
4372 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
4373 "bp-asm.h".
4374 (PARMS): Do not use macros from bp-asm.h.
4375 (strlen): Do not use BP_SYM.
4376 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
4377 "bp-asm.h".
4378 (PARMS): Do not use macros from bp-asm.h.
4379 (S1): Likewise.
4380 (S2): Likewise.
4381 (SIZE): Likewise.
4382 (__mpn_add_n): Do not use BP_SYM.
4383 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
4384 "bp-asm.h".
4385 (PARMS): Do not use macros from bp-asm.h.
4386 (S1): Likewise.
4387 (SIZE): Likewise.
4388 (__mpn_addmul_1): Do not use BP_SYM.
4389 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
4390 weak_alias.
4391 (bzero): Likewise.
4392 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
4393 "bp-asm.h".
4394 (PARMS): Do not use macros from bp-asm.h.
4395 (S): Likewise.
4396 (SIZE): Likewise.
4397 (__mpn_lshift): Do not use BP_SYM.
4398 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
4399 "bp-asm.h".
4400 (PARMS): Do not use macros from bp-asm.h.
4401 (DEST): Likewise.
4402 (SRC): Likewise.
4403 (LEN): Likewise.
4404 (memcpy): Likewise. Do not use BP_SYM.
4405 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
4406 libc_hidden_def and weak_alias.
4407 (mempcpy): Do not use BP_SYM in weak_alias.
4408 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
4409 "bp-asm.h".
4410 (PARMS): Do not use macros from bp-asm.h.
4411 (DEST): Likewise.
4412 (LEN): Likewise.
4413 [!BZERO_P] (CHR): Likewise.
4414 (memset): Likewise. Do not use BP_SYM.
4415 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
4416 "bp-asm.h".
4417 (PARMS): Do not use macros from bp-asm.h.
4418 (S1): Likewise.
4419 (SIZE): Likewise.
4420 (__mpn_mul_1): Do not use BP_SYM.
4421 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
4422 "bp-asm.h".
4423 (PARMS): Do not use macros from bp-asm.h.
4424 (S): Likewise.
4425 (SIZE): Likewise.
4426 (__mpn_rshift): Do not use BP_SYM.
4427 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
4428 "bp-asm.h".
4429 (PARMS): Do not use macros from bp-asm.h.
4430 (STR): Likewise.
4431 (CHR): Likewise.
4432 (strchr): Likewise. Do not use BP_SYM.
4433 (index): Do not use BP_SYM in weak_alias.
4434 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
4435 "bp-asm.h".
4436 (PARMS): Do not use macros from bp-asm.h.
4437 (DEST): Likewise.
4438 (SRC): Likewise.
4439 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
4440 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
4441 "bp-asm.h".
4442 (PARMS): Do not use macros from bp-asm.h.
4443 (strlen): Do not use BP_SYM.
4444 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
4445 "bp-asm.h".
4446 (PARMS): Do not use macros from bp-asm.h.
4447 (S1): Likewise.
4448 (S2): Likewise.
4449 (SIZE): Likewise.
4450 (__mpn_sub_n): Do not use BP_SYM.
4451 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
4452 "bp-asm.h".
4453 (PARMS): Do not use macros from bp-asm.h.
4454 (S1): Likewise.
4455 (SIZE): Likewise.
4456 (__mpn_submul_1): Do not use BP_SYM.
4457 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
4458 "bp-asm.h".
4459 (PARMS): Do not use macros from bp-asm.h.
4460 (S1): Likewise.
4461 (S2): Likewise.
4462 (SIZE): Likewise.
4463 (__mpn_add_n): Do not use BP_SYM.
4464 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
4465 weak_alias.
4466 (bzero): Likewise.
4467 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
4468 "bp-asm.h".
4469 (PARMS): Do not use macros from bp-asm.h.
4470 (BLK2): Likewise.
4471 (LEN): Likewise.
4472 (memcmp): Do not use BP_SYM.
4473 (bcmp): Do not use BP_SYM in weak_alias.
4474 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
4475 "bp-asm.h".
4476 (PARMS): Do not use macros from bp-asm.h.
4477 (DEST): Likewise.
4478 (SRC): Likewise.
4479 (LEN): Likewise.
4480 (memcpy): Likewise. Do not use BP_SYM.
4481 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
4482 "bp-asm.h".
4483 (PARMS): Do not use macros from bp-asm.h.
4484 (DEST): Likewise.
4485 (SRC): Likewise.
4486 (LEN): Likewise.
4487 (memmove): Likewise. Do not use BP_SYM.
4488 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
4489 "bp-asm.h".
4490 (PARMS): Do not use macros from bp-asm.h.
4491 (DEST): Likewise.
4492 (SRC): Likewise.
4493 (LEN): Likewise.
4494 (__mempcpy): Likewise. Do not use BP_SYM.
4495 (mempcpy): Do not use BP_SYM in weak_alias.
4496 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
4497 "bp-asm.h".
4498 (PARMS): Do not use macros from bp-asm.h.
4499 (DEST): Likewise.
4500 (LEN): Likewise.
4501 [!BZERO_P] (CHR): Likewise.
4502 (memset): Likewise. Do not use BP_SYM.
4503 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
4504 "bp-asm.h".
4505 (PARMS): Do not use macros from bp-asm.h.
4506 (STR2): Likewise.
4507 (strcmp): Do not use BP_SYM.
4508 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
4509 "bp-asm.h".
4510 (PARMS): Do not use macros from bp-asm.h.
4511 (STR): Likewise.
4512 (DELIM): Likewise.
4513 [USE_AS_STRTOK_R] (SAVE): Likewise.
4514 (FUNCTION): Likewise. Do not use BP_SYM.
4515 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
4516 aliases.
4517 (strtok_r): Likewise.
4518 (__GI___strtok_r): Likewise.
4519 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4520 (PARMS): Do not use macros from bp-asm.h.
4521 (S): Likewise.
4522 (SIZE): Likewise.
4523 (__mpn_lshift): Do not use BP_SYM.
4524 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4525 (PARMS): Do not use macros from bp-asm.h.
4526 (STR): Likewise.
4527 (CHR): Likewise.
4528 (__memchr): Do not use BP_SYM.
4529 (memchr): Do not use BP_SYM in weak_alias.
4530 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4531 (PARMS): Do not use macros from bp-asm.h.
4532 (BLK2): Likewise.
4533 (LEN): Likewise.
4534 (memcmp): Do not use BP_SYM.
4535 (bcmp): Do not use BP_SYM in weak_alias.
4536 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
4537 (PARMS): Do not use macros from bp-asm.h.
4538 (S1): Likewise.
4539 (SIZE): Likewise.
4540 (__mpn_mul_1): Do not use BP_SYM.
4541 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
4542 "bp-asm.h".
4543 (PARMS): Do not use macros from bp-asm.h.
4544 (STR): Likewise.
4545 (CHR): Likewise.
4546 (__rawmemchr): Do not use BP_SYM.
4547 (rawmemchr): Do not use BP_SYM in weak_alias.
4548 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4549 (PARMS): Do not use macros from bp-asm.h.
4550 (S): Likewise.
4551 (SIZE): Likewise.
4552 (__mpn_rshift): Do not use BP_SYM.
4553 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4554 (PARMS): Do not use macros from bp-asm.h.
4555 (SIGMSK): Likewise.
4556 (__sigsetjmp): Likewise. Do not use BP_SYM.
4557 * sysdeps/i386/start.S: Do not include "bp-sym.h".
4558 (_start): Do not use BP_SYM.
4559 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
4560 (PARMS): Do not use macros from bp-asm.h.
4561 (DEST): Likewise.
4562 (SRC): Likewise.
4563 (__stpcpy): Likewise. Do not use BP_SYM.
4564 (stpcpy): Do not use BP_SYM in weak_alias.
4565 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
4566 "bp-asm.h".
4567 (PARMS): Do not use macros from bp-asm.h.
4568 (DEST): Likewise.
4569 (SRC): Likewise.
4570 (LEN): Likewise.
4571 (__stpncpy): Likewise. Do not use BP_SYM.
4572 (stpncpy): Do not use BP_SYM in weak_alias.
4573 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4574 (PARMS): Do not use macros from bp-asm.h.
4575 (STR): Likewise.
4576 (CHR): Likewise.
4577 (strchr): Likewise. Do not use BP_SYM.
4578 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
4579 "bp-asm.h".
4580 (PARMS): Do not use macros from bp-asm.h.
4581 (STR): Likewise.
4582 (CHR): Likewise.
4583 (__strchrnul): Likewise. Do not use BP_SYM.
4584 (strchrnul): Do not use BP_SYM in weak_alias.
4585 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
4586 "bp-asm.h".
4587 (PARMS): Do not use macros from bp-asm.h.
4588 (STOP): Likewise.
4589 (strcspn): Do not use BP_SYM.
4590 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
4591 "bp-asm.h".
4592 (PARMS): Do not use macros from bp-asm.h.
4593 (STR): Likewise.
4594 (STOP): Likewise.
4595 (strpbrk): Likewise. Do not use BP_SYM.
4596 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
4597 "bp-asm.h".
4598 (PARMS): Do not use macros from bp-asm.h.
4599 (STR): Likewise.
4600 (CHR): Likewise.
4601 (strrchr): Likewise. Do not use BP_SYM.
4602 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
4603 (PARMS): Do not use macros from bp-asm.h.
4604 (SKIP): Likewise.
4605 (strspn): Do not use BP_SYM.
4606 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
4607 (PARMS): Do not use macros from bp-asm.h.
4608 (STR): Likewise.
4609 (DELIM): Likewise.
4610 (SAVE): Likewise.
4611 (FUNCTION): Likewise. Do not use BP_SYM.
4612 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
4613 aliases.
4614 (strtok_r): Likewise.
4615 (__GI___strtok_r): Likewise.
4616 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4617 (PARMS): Do not use macros from bp-asm.h.
4618 (S1): Likewise.
4619 (S2): Likewise.
4620 (SIZE): Likewise.
4621 (__mpn_sub_n): Do not use BP_SYM.
4622 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
4623 "bp-asm.h".
4624 (PARMS): Do not use macros from bp-asm.h.
4625 (S1): Likewise.
4626 (SIZE): Likewise.
4627 (__mpn_submul_1): Do not use BP_SYM.
4628 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
4629 <bp-sym.h>.
4630 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
4631 and <bp-asm.h>.
4632 (PARMS): Do not use macros from bp-asm.h.
4633 (FLAGS): Likewise.
4634 (PTID): Likewise.
4635 (TLS): Likewise.
4636 (CTID): Likewise.
4637 (__clone): Do not use BP_SYM.
4638 (clone): Do not use BP_SYM in weak_alias.
4639 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
4640 and <bp-asm.h>.
4641 (PARMS): Do not use macros from bp-asm.h.
4642 (LEN): Likewise.
4643 (__mmap64): Do not use BP_SYM.
4644 (mmap64): Do not use BP_SYM in weak_alias.
4645 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4646 <bp-sym.h> and <bp-asm.h>.
4647 (PARMS): Do not use macros from bp-asm.h.
4648 (__posix_fadvise64_l64): Do not use BP_SYM.
4649 * sysdeps/unix/sysv/linux/i386/semtimedop.S
4650 (PARMS): Do not use macros from bp-asm.h.
4651 (NSOPS): Likewise.
4652 (semtimedop): Do not use BP_SYM.
4653 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
4654 and <bp-asm.h>.
4655
582a3cff
AM
46562013-02-21 Allan McRae <allan@archlinux.org>
4657
4658 * manual/message.texi (Charset conversion in gettext):
4659 Move @end statement to beginning of line.
4660
bab8a695
SP
46612013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4662
80945231
SP
4663 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
4664 static.
4665 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4666 Likewise.
4667
bab8a695
SP
4668 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
4669 (denorm): Likewise.
4670 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
4671 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
4672
e21d7aa7
AK
46732013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4674
4675 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
4676 tail-call to the resolved function if pltexit isn't needed.
4677
4c7a4263
SP
46782013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4679
4680 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
4681 or Y being zero as being unlikely.
4682 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4683 Likewise.
4684
41f49342
CD
46852013-02-20 Carlos O'Donell <carlos@redhat.com>
4686
4687 * manual/nss.texi (System Databases and Name Service Switch):
4688 Remove frobnicate @pxref.
4689
50022a93
TS
46902013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4691
4692 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4693 __attribute__ ((unused)) to __attribute__ ((__unused__)).
4694
08cbd996
PM
46952013-02-20 Petr Machata <pmachata@redhat.com>
4696
4697 * elf/elf.h (R_ARM_TARGET1): New macro.
4698 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
4699 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
4700 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
4701 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
4702 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
4703 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
4704 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
4705 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
4706 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
4707 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
4708 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
4709 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
4710 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
4711 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
4712 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
4713 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
4714 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
4715 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
4716 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
4717 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
4718 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
4719 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
4720 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
4721 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
4722 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
4723 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
4724 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
4725 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
4726 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
4727 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
4728 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
4729 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
4730 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
4731 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
4732 (R_ARM_THM_GOT_BREL12): Likewise.
4733 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
4734 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
4735 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
4736 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
4737 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
4738 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
4739 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
4740 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
4741 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
4742
c7b275d6
TS
47432013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4744
4745 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4746 __attribute_used__ to __attribute__ ((unused)).
4747
20cd7fb3
SP
47482013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4749
4750 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
4751 powerpc mpa.c.
4752 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
4753 comment formatting.
4754 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
4755
92945b52
JM
47562013-02-19 Joseph Myers <joseph@codesourcery.com>
4757
4758 [BZ #13550]
4759 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
4760 Remove macro.
4761 (ENTER): Remove both macro definitions.
4762 (LEAVE): Likewise.
4763 (CHECK_BOUNDS_LOW): Likewise.
4764 (CHECK_BOUNDS_HIGH): Likewise.
4765 (CHECK_BOUNDS_BOTH): Likewise.
4766 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
4767 (RETURN_BOUNDED_POINTER): Likewise.
4768 (RETURN_NULL_BOUNDED_POINTER): Likewise.
4769 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
4770 (POP_ERRNO_LOCATION_RETURN): Likewise.
4771 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
4772 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4773 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
4774 macros.
4775 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4776 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
4777 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
4778 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
4779 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
4780 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
4781 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
4782 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
4783 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
4784 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
4785 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
4786 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
4787 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4788 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
4789 removed macros.
4790 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4791 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
4792 macros.
4793 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4794 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
4795 * sysdeps/i386/i586/memset.S (memset): Likewise.
4796 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
4797 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4798 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
4799 macros.
4800 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4801 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
4802 Change uses of L(2) to L(out).
4803 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
4804 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
4805 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
4806 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4807 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
4808 removed macros.
4809 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4810 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
4811 macros.
4812 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4813 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
4814 (RETURN): Do not use macro LEAVE.
4815 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
4816 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
4817 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
4818 * sysdeps/i386/i686/memset.S (memset): Likewise.
4819 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
4820 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
4821 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4822 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
4823 Likewise.
4824 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4825 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
4826 L(1_2) and L(1_3) into L(1).
4827 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4828 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
4829 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4830 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
4831 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4832 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
4833 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
4834 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4835 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
4836 macros.
4837 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
4838 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4839 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
4840 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
4841 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
4842 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4843 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
4844 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
4845 * sysdeps/i386/strcspn.S (strcspn): Likewise.
4846 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
4847 * sysdeps/i386/strrchr.S (strrchr): Likewise.
4848 * sysdeps/i386/strspn.S (strspn): Likewise.
4849 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
4850 conditional code.
4851 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4852 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
4853 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4854 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
4855 L(1_3) into L(1_1).
4856 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
4857 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4858 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
4859 macros.
4860 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4861
2389741a
JJ
48622013-02-19 Jakub Jelinek <jakub@redhat.com>
4863
4864 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
4865 macro.
4866
2016b3cd
SP
48672013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4868
e4f22324
SP
4869 * math/atest-exp.c (exp_mpn): Remove ROUND.
4870 * math/atest-exp2.c (exp_mpn): Likewise.
4871 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
4872
2016b3cd
SP
4873 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
4874 * stdlib/tst-tls-atexit-lib.c: Likewise.
4875 * stdlib/tst-tls-atexit.c: Likewise.
4876
4be9b544
MF
48772013-02-18 Mike Frysinger <vapier@gentoo.org>
4878
4879 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
4880 and __attribute_alloc_size__.
4881
2f62b9ee
MF
48822013-02-18 Mike Frysinger <vapier@gentoo.org>
4883
4884 * include/programs/xmalloc.h: Change __attribute_alloc_size to
4885 __attribute_alloc_size__.
4886 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
4887 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
4888
6ff444c4
MF
48892013-02-18 Mike Frysinger <vapier@gentoo.org>
4890
4891 * include/programs/xmalloc.h: New file.
4892 * catgets/gencat.c: Include it.
4893 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
4894 * elf/pldd.c: Likewise.
4895 * iconv/iconv_charmap.c: Likewise.
4896 * iconv/iconvconfig.c: Likewise.
4897 * iconv/strtab.c: Likewise.
4898 * locale/programs/locale.c: Likewise.
4899 * locale/programs/localedef.h: Likewise.
4900 * locale/programs/simple-hash.c: Likewise.
4901 * nscd/nscd.h: Likewise.
4902 * nss/makedb.c: Likewise.
4903 * sysdeps/generic/ldconfig.h: Likewise.
4904
be179c8a
SP
49052013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4906
ba384f6e
SP
4907 * Versions.def: Add GLIBC_2.18.
4908 * include/link.h (struct link_map): New member l_tls_dtor_count.
4909 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
4910 (__call_tls_dtors): Likewise.
4911 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
4912 __cxa_thread_atexit_impl.
4913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4914 Likewise.
4915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4916 Likewise.
4917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4918 Likewise.
4919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4920 Likewise.
4921 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
4923 Likewise.
4924 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
4925 Likewise.
4926 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4928 Likewise.
4929 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
4930 (tests): Add test case tst-tls-atexit.
4931 (modules-names): Add shared library for tst-tls-atexit.
4932 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
4933 (GLIBC_PRIVATE): Add __call_tls_dtors.
4934 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
4935 for libstdc++.
4936 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
4937 * stdlib/tst-tls-atexit.c: New test case.
4938 * stdlib/tst-tls-atexit-lib.c: New test case.
4939
ffaa74cf 4940 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 4941
be179c8a
SP
4942 * elf/Versions (ld): Add _dl_find_dso_for_object.
4943 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
4944 * elf/dl-open.c (_dl_find_dso_for_object): New function.
4945 (dl_open_worker): Use _dl_find_dso_for_object.
4946 * elf/dl-sym.c (do_sym): Likewise.
4947 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
4948
f78b5caa
AK
49492013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4950
4951 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
4952 Syntactic changes only.
4953 (_dl_runtime_profile): Do a tail-call to the resolved function.
4954
29691210
JM
49552013-02-17 Joseph Myers <joseph@codesourcery.com>
4956
4957 [BZ #13550]
4958 * sysdeps/x86_64/bp-asm.h: Remove file.
4959 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
4960 <bp-sym.h> and <bp-asm.h>.
4961 (__clone): Do not use BP_SYM.
4962 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
4963 <bp-sym.h> and <bp-asm.h>.
4964 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4965 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
4966 "bp-asm.h".
4967 (_setjmp): Do not use BP_SYM.
4968 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
4969 "bp-asm.h".
4970 (setjmp): Do not use BP_SYM.
4971 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
4972 libc_hidden_def.
4973 (mempcpy): Do not use BP_SYM in weak_alias.
4974 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
4975 "bp-asm.h".
4976 (strchr): Do not use BP_SYM.
4977 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
4978 "bp-asm.h".
4979 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
4980 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
4981 (_start): Do not use BP_SYM.
4982 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
4983 "bp-asm.h".
4984 (strcat): Do not use BP_SYM.
4985 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
4986 "bp-asm.h".
4987 (STRCMP): Do not use BP_SYM.
4988 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
4989 "bp-asm.h".
4990 (STRCPY): Do not use BP_SYM.
4991 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
4992 "bp-asm.h".
4993 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
4994 "bp-asm.h".
4995 (FUNCTION): Do not use BP_SYM.
4996 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
4997 weak_alias.
4998 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
4999
f238fd19
AJ
50002013-02-17 Andreas Jaeger <aj@suse.de>
5001
5002 * time/Versions: Sort entries.
5003 * string/Versions: Likewise.
5004 * resolv/Versions: Likewise.
5005 * posix/Versions: Likewise.
5006 * iconv/Versions: Likewise.
5007 * elf/Versions: Likewise.
5008 * wcsmbs/Versions: Likewise.
5009
bd07f23c 50102013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 5011
22af19f9
SP
5012 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
5013 loop termination condition.
5014
4709fe76
SP
5015 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
5016 variable to calculate EZ.
5017 (__sqr): Likewise.
2d0e0f29
SP
5018
5019 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
5020 the lower precision input.
5021
daaa7713
JM
50222013-02-15 Joseph Myers <joseph@codesourcery.com>
5023
5024 [BZ #13550]
5025 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
5026 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
5027 (run-via-rtld-prefix): Do not handle %-bp tests.
5028 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
5029 (all-object-suffixes): Remove .ob.
5030 (bppfx): Remove variable.
5031 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
5032 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
5033 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
5034 [$(build-bounded) = yes] (libtype.ob): Likewise.
5035 * Makerules (elide-routines.ob): Remove variable.
5036 (do-tests-clean): Do not handle *-bp.out.
5037 (common-mostlyclean): Do not handle *-bp and *-bp.out.
5038 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
5039 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
5040 (tests): Do not include $(tests-bp.out).
5041 (xtests): Do not include $(xtests-bp.out).
5042 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
5043 [$(build-bounded) = yes] ($(addprefix
5044 $(objpfx),$(binaries-bounded))): Remove rule.
5045 ($(objpfx)%-bp.out): Remove rule.
5046 * config.make.in (build-bounded): Remove variable.
5047 * crypt/Makefile [$(build-bounded) = yes]
5048 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
5049 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
5050 append to variable.
5051 [$(build-bounded) = yes] (install-lib): Likewise.
5052 [$(build-bounded) = yes] (generated): Likewise.
5053 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
5054 Remove rule.
5055 * intl/Makefile [$(build-bounded) = yes]
5056 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
5057 * math/Makefile [$(build-bounded) = yes]
5058 ($(tests:%=$(objpfx)%-bp): Likewise.
5059 * misc/Makefile [$(build-bounded) = yes]
5060 ($(objpfx)tst-tsearch-bp): Likewise.
5061 * nptl/Makeconfig (bounded-thread-library): Remove variable.
5062 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
5063 Remove dependency.
5064 * string/Makefile (o-objects.ob): Remove variable.
5065 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
5066 (CFLAGS-.ob): Remove variable.
5067 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
5068 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
5069 both definitions of variable.
5070 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
5071 (ASFLAGS-.ob): Remove variable.
5072
e97ed6dd
JM
50732013-02-14 Joseph Myers <joseph@codesourcery.com>
5074
2bdd4ca6
JM
5075 [BZ #13550]
5076 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
5077 Remove __BOUNDED_POINTERS__ from condition.
5078 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
5079 * string/bits/string2.h [!__NO_STRING_INLINES &&
5080 !__BOUNDED_POINTERS__]: Likewise.
5081 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
5082 Likewise.
5083 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
5084 Remove conditional code.
5085 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
5086 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
5087 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
5088 condition.
5089
e97ed6dd
JM
5090 [BZ #13550]
5091 * csu/libc-start.c: Do not include <bp-sym.h>.
5092 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
5093 * elf/dl-open.c: Do not include <bp-sym.h>.
5094 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
5095 * math/fegetenv.c: Do not include <bp-sym.h>.
5096 (fegetenv): Do not use BP_SYM in versioned symbols.
5097 * nptl/sysdeps/pthread/bits/libc-lockP.h
5098 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
5099 <bp-sym.h>.
5100 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5101 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
5102 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5103 (__pthread_mutex_destroy): Likewise.
5104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5105 (__pthread_mutex_lock): Likewise.
5106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5107 (__pthread_mutex_trylock): Likewise.
5108 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5109 (__pthread_mutex_unlock): Likewise.
5110 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5111 (__pthread_mutexattr_init): Likewise.
5112 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5113 (__pthread_mutexattr_destroy): Likewise.
5114 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5115 (__pthread_mutexattr_settype): Likewise.
5116 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5117 (__pthread_rwlock_init): Likewise.
5118 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5119 (__pthread_rwlock_destroy): Likewise.
5120 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5121 (__pthread_rwlock_rdlock): Likewise.
5122 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5123 (__pthread_rwlock_tryrdlock): Likewise.
5124 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5125 (__pthread_rwlock_wrlock): Likewise.
5126 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5127 (__pthread_rwlock_trywrlock): Likewise.
5128 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5129 (__pthread_rwlock_unlock): Likewise.
5130 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5131 (__pthread_key_create): Likewise.
5132 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5133 (__pthread_setspecific): Likewise.
5134 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5135 (__pthread_getspecific): Likewise.
5136 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
5137 Likewise.
5138 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5139 (_pthread_cleanup_push_defer): Likewise.
5140 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5141 (_pthread_cleanup_pop_restore): Likewise.
5142 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5143 (pthread_setcancelstate): Likewise.
5144 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
5145 <bp-sym.h>.
5146 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
5147 (memchr): Do not use BP_SYM in weak_alias.
5148 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
5149 (fegetenv): Do not use BP_SYM in versioned symbols.
5150 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
5151 (fesetenv): Do not use BP_SYM in versioned symbols.
5152 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5153 (feupdateenv): Do not use BP_SYM in versioned symbols.
5154 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5155 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5156 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
5157 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
5158 (open64): Do not use BP_SYM in weak_alias.
5159 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
5160 (fegetenv): Do not use BP_SYM in versioned symbols.
5161 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
5162 (fesetenv): Do not use BP_SYM in versioned symbols.
5163 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5164 (feupdateenv): Do not use BP_SYM in versioned symbols.
5165 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
5166 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
5167 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
5168 (feraiseexcept): Do not use BP_SYM in versioned symbols.
5169 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5170 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5171 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
5172 <bp-sym.h>.
5173 (__libc_start_main): Do not use BP_SYM.
5174
d6752ccd
SP
51752013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5176
cb57ce60
SP
5177 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
5178 redundant return line.
5179 (norm): Likewise.
5180 (denorm): Likewise.
5181 (dbl_mp): Likewise.
5182 (sub_magnitudes): Likewise.
5183 (__add): Likewise.
5184 (__sub): Likewise.
5185 (__mul): Likewise.
5186 (__inv): Likewise.
5187 (__dvd): Likewise.
5188 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
5189 (norm): Likewise.
5190 (denorm): Likewise.
5191 (dbl_mp): Likewise.
5192 (sub_magnitudes): Likewise.
5193 (__add): Likewise.
5194 (__sub): Likewise.
5195 (__mul): Likewise.
5196 (__inv): Likewise.
5197 (__dvd): Likewise.
5198
f414520d
SP
5199 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
5200 instead of __mul.
5201 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5202 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
5203 (cc32): Likewise.
5204
d6752ccd
SP
5205 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
5206 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
5207 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
5208 of __mul for squares.
5209 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
5210 function
5211 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
5212 Likewise.
5213 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
5214 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5215
70d9946a
JM
52162013-02-13 Joseph Myers <joseph@codesourcery.com>
5217
5218 [BZ #13550]
5219 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
5220 code.
5221 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
5222 prototype or function definition. Rename ubp_* variables and
5223 parameters. Remove argv definitions conditional on
5224 [__BOUNDED_POINTERS__].
5225 * debug/backtrace.c (__backtrace): Do not use __unbounded.
5226 * elf/dl-runtime.c (_dl_fixup): Likewise.
5227 * include/set-hooks.h (RUN_HOOK): Likewise.
5228 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
5229 definition.
5230 * string/strcpy.c (strcpy): Do not use __unbounded.
5231 * sysdeps/generic/frame.h (struct layout): Likewise.
5232 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
5233 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
5234 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
5235 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
5236 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
5237 (__backtrace): Likewise.
5238 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
5239 use __ptrvalue.
5240 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5241 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5242 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5243 Likewise.
5244 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
5245 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
5246 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5247 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5248 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
5249 Do not use __unbounded.
5250 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
5251 Rename __unboundedrlimits parameter to rlimits in prototype.
5252 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
5253 Do not use __unbounded.
5254 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
5255 not use __ptrvalue.
5256 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5257 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
5258 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5259 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
5260 __ptrvalue or __unbounded.
5261 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
5262 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
5263 use __unbounded.
5264 (__new_msgctl): Do not use __ptrvalue.
5265 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
5266 __unbounded.
5267 (__libc_msgrcv): Do not use __ptrvalue.
5268 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
5269 startup_info): Do not use __unbounded.
5270 (__libc_start_main): Likewise. Rename ubp_* variables and
5271 parameters. Remove argv definitions conditional on
5272 [__BOUNDED_POINTERS__].
5273 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
5274 __ptrvalue.
5275 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
5276 use __unbounded.
5277 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
5278 or __ptrvalue.
5279 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
5280 use __unbounded.
5281 (__new_shmctl): Do not use __ptrvalue.
5282 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5283 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5284 Likewise.
5285 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5286 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
5287 (__libc_sigaction): Likewise.
5288 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
5289 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
5290 Likewise.
5291 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5292
cc7834d6
OB
52932013-02-13 Ondřej Bílka <neleai@seznam.cz>
5294
ffb1ec7b 5295 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
5296
5297 * string/mempcpy.c: Implement by calling memcpy.
5298
bdf02814
SP
52992013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5300
c2af38aa
SP
5301 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
5302
4e92d59e
SP
5303 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
5304 evaluation.
5305
909279a5
SP
5306 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
5307 values in the mantissa.
5308
bdf02814
SP
5309 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
5310 minimize writes to Z.
5311 (sub_magnitudes): Simplify code a bit.
5312
cd525923
RM
53132013-02-12 Roland McGrath <roland@hack.frob.com>
5314
5315 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
5316 from the message. The linker prefixes all warnings with that already.
5317
7e2f0d2d
AS
53182013-02-12 Andreas Schwab <schwab@suse.de>
5319
a445af0b
AS
5320 [BZ #15078]
5321 * posix/regexec.c (extend_buffers): Add parameter min_len.
5322 (check_matching): Pass minimum needed length.
5323 (clean_state_log_if_needed): Likewise.
5324 (get_subexp): Likewise.
5325 * posix/Makefile (tests): Add bug-regex34.
5326 (bug-regex34-ENV): Define.
5327 * posix/bug-regex34.c: New file.
5328
7e2f0d2d
AS
5329 [BZ #11561]
5330 * posix/regcomp.c (parse_bracket_exp): When looking up collating
5331 elements compare against the byte sequence of it, not its name.
5332 * posix/Makefile (tests): Add bug-regex35.
5333 (bug-regex35-ENV): Define.
5334 * posix/bug-regex35.c: New file.
5335
a175b684
TV
53362013-02-11 Tom de Vries <tom@codesourcery.com>
5337
5338 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
5339 comment.
5340 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
5341 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
5342 (CHECK_EOL): Add undef.
5343
310998fe 53442013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
5345
5346 * bits/stdlib-bsearch.h: New file.
5347 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 5348 * stdlib/stdlib.h: Likewise.
41eda41d 5349
8ded91fb
RM
53502013-02-11 Roland McGrath <roland@hack.frob.com>
5351
5352 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
5353 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
5354 declaration.
5355 * manual/search.texi (Array Search Function): Add missing const in
5356 lfind prototype.
5357 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
5358 declaration to use rlim_t.
5359 (Basic Scheduling Functions): Remove erroneous const from
5360 sched_getparam prototype. Remove erroneous * from
5361 sched_get_priority_max and sched_get_priority_min prototypes.
5362 (Resource Usage): Fix summary @comment on vtimes to refer to
5363 sys/vtimes.h rather than vtimes.h.
5364 Add missing *s in vtimes prototype.
5365 (Limits on Resources): Fix ulimit prototype to return long int.
5366 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
5367 prototypes to use long int rather than double.
5368 (BSD Random): Fix initstate and setstate to use char *, not void *.
5369 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
5370 prototype to make second argument 'struct aiocb64 *const[]'.
5371 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
5372 (Status of AIO Operations): Remove erroneous const in aio_return and
5373 aio_return64 prototypes.
5374 (Synchronizing I/O): Fix sync prototype to return void.
5375 * manual/startup.texi (Suboptions): Remove an erroneous const in
5376 getsubopt prototype.
5377 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
5378 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
5379 use size_t rather than int.
5380 (Scanning All Users): Likewise for getpwent_r.
5381 (Setting Groups): Add missing const to setgroups prototype.
5382 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
5383 * manual/socket.texi (Host Names): Fix gethostbyaddr and
5384 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
5385 'const void *' rather than 'const char *'.
5386 (Host Address Functions): Likewise for inet_ntop.
5387 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
5388 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
5389 ssize_t for return value.
5390 (Sending Data): Likewise for send, sendto, sendmsg.
5391 (Socket Option Functions): Add a missing const in setsockopt prototype.
5392 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
5393 use wchar_t for the argument.
5394 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
5395 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
5396 take no arguments.
5397 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
5398 double/float/long double for second argument.
5399 Fix return types of significand, significandf, significandl.
5400 * manual/filesys.texi (Setting Permissions): Use mode_t for second
5401 argument in fchmod prototype.
5402 (File Owner): Use uid_t and gid_t in fchown prototype.
5403 (File Times): Add const to utimes, futimes, and lutimes prototypes.
5404 (Making Special Files): Use mode_t and dev_t in mknod prototype.
5405 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
5406 use 'const struct dirent **' as argument types to CMP function pointer
5407 argument.
5408 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
5409 (File Times): Fix summary magic @comment for struct utimbuf and utime
5410 to refer to utime.h, not time.h.
5411 * manual/string.texi (Argz Functions): Add missing const in
5412 argz_extract and argz_next prototypes.
5413 (Finding Tokens in a String): Likewise for basename.
5414 (String/Array Comparison): Fix typo in wcscasecmp prototype.
5415 (Copying and Concatenation): Fix typo in wmemmove prototype.
5416 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
5417 (Signal Stack): Remove erroneous const in sigstack prototype.
5418 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
5419 prototype.
5420 (Simple Calendar Time): Likewise for stime.
5421 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
5422 prototype.
5423 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
5424 say sys/sysctl.h instead.
5425 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
5426 and vsyslog prototypes.
5427
fe77fe6d
TV
54282013-02-11 Tom de Vries <tom@codesourcery.com>
5429
5430 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
5431 Remove.
5432
3a09b620
RM
54332013-02-11 Roland McGrath <roland@hack.frob.com>
5434
5435 * misc/sys/mman.h: Fix typo in mremap comment.
5436
550a0b89
RM
54372013-02-08 Roland McGrath <roland@hack.frob.com>
5438
5439 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
5440 the '\0' terminator.
5441
a2da1673
JM
54422013-02-08 Joseph Myers <joseph@codesourcery.com>
5443
5444 [BZ #13550]
5445 * debug/segfault.c: Don't include <bp-checks.h>.
5446 * sysdeps/generic/bp-checks.h: Remove file.
5447 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
5448 (__GETDENTS): Don't use CHECK_N.
5449 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
5450 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5451 (__getgroups): Don't use CHECK_N.
5452 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5453 (setgroups): Don't use CHECK_N.
5454 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
5455 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
5456 (__libc_msgrcv): Don't use CHECK_N.
5457 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
5458 (__libc_msgsnd): Don't use CHECK_N.
5459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
5460 <bp-checks.h>.
5461 (__libc_pread): Don't use CHECK_N.
5462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
5463 include <bp-checks.h>.
5464 (__libc_pread64): Don't use CHECK_N.
5465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
5466 include <bp-checks.h>.
5467 (__libc_pwrite): Don't use CHECK_N.
5468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
5469 include <bp-checks.h>.
5470 (__libc_pwrite64): Don't use CHECK_N.
5471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
5472 <bp-checks.h>.
5473 (__libc_pread): Don't use CHECK_N.
5474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
5475 include <bp-checks.h>.
5476 (__libc_pread64): Don't use CHECK_N.
5477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
5478 include <bp-checks.h>.
5479 (__libc_pwrite): Don't use CHECK_N.
5480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
5481 include <bp-checks.h>.
5482 (__libc_pwrite64): Don't use CHECK_N.
5483 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
5484 (do_pread): Don't use CHECK_N.
5485 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
5486 (do_pread64): Don't use CHECK_N.
5487 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
5488 (do_pwrite): Don't use CHECK_N.
5489 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
5490 (do_pwrite64): Don't use CHECK_N.
5491 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
5492 (__libc_readv): Don't use CHECK_N.
5493 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
5494 (semop): Don't use CHECK_N.
5495 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
5496 <bp-checks.h>.
5497 (semtimedop): Don't use CHECK_N.
5498 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
5499 (__libc_pread): Don't use CHECK_N.
5500 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
5501 <bp-checks.h>.
5502 (__libc_pread64): Don't use CHECK_N.
5503 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
5504 <bp-checks.h>.
5505 (__libc_pwrite): Don't use CHECK_N.
5506 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
5507 <bp-checks.h>.
5508 (__libc_pwrite64): Don't use CHECK_N.
5509 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
5510 <bp-checks.h>.
5511 (__libc_msgrcv): Don't use CHECK_N.
5512 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
5513 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
5514 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
5515 (__libc_writev): Don't use CHECK_N.
5516
b84660a8
RM
55172013-02-08 Roland McGrath <roland@hack.frob.com>
5518
7f3e75f8
RM
5519 * string/strcpy.c: Removed unused variable.
5520
b84660a8
RM
5521 * Makeconfig (+sysdep-includes): Define with := rather than =.
5522 Use an existing include/ subdir of each sysdeps dir before it.
5523
471514d3
CD
55242013-02-08 Carlos O'Donell <carlos@redhat.com>
5525
5526 * nscd/connection.c (register_traced_file): Comment function.
5527 [HAVE_INOTIFY] (union __inev): Define.
5528 [HAVE_INOTIFY] (inotify_check_files): New function.
5529 [HAVE_INOTIFY] (clear_db_cache): Likewise.
5530 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
5531 clear_db_cache.
5532 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
5533
b2d3c3be
CD
55342013-02-08 Carlos O'Donell <carlos@redhat.com>
5535
5536 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
5537 loaded if not already and that a failure is permanent.
5538
b39949d2
CD
55392013-02-08 Carlos O'Donell <carlos@redhat.com>
5540
ddacd1db 5541 [BZ #15006]
b39949d2
CD
5542 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
5543 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
5544
b2c9eff4
JM
55452013-02-08 Joseph Myers <joseph@codesourcery.com>
5546
f3aae3f3
JM
5547 [BZ #13550]
5548 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
5549 (CHECK_1_NULL_OK): Likewise.
5550 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
5551 (__fxstat): Do not use CHECK_1.
5552 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5553 <bp-checks.h>.
5554 (___fxstat64): Do not use CHECK_1.
5555 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5556 <bp-checks.h>.
5557 (__fxstatat): Do not use CHECK_1.
5558 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5559 <bp-checks.h>.
5560 (__fxstatat64): Do not use CHECK_1.
5561 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
5562 <bp-checks.h>.
5563 (__fxstat): Do not use CHECK_1.
5564 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5565 <bp-checks.h>.
5566 (__fxstatat): Do not use CHECK_1.
5567 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5568 <bp-checks.h>.
5569 (__getresgid): Do not use CHECK_1.
5570 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5571 <bp-checks.h>.
5572 (__getresuid): Do not use CHECK_1.
5573 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
5574 <bp-checks.h>.
5575 (__lxstat): Do not use CHECK_1.
5576 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5577 <bp-checks.h>.
5578 (__old_msgctl): Do not use CHECK_1.
5579 (__new_msgctl): Likewise.
5580 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
5581 <bp-checks.h>.
5582 (__new_setrlimit): Do not use CHECK_1.
5583 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5584 <bp-checks.h>.
5585 (__old_shmctl): Do not use CHECK_1.
5586 (__new_shmctl): Likewise.
5587 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
5588 <bp-checks.h>.
5589 (__xstat): Do not use CHECK_1.
5590 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
5591 (__lxstat): Do not use CHECK_1.
5592 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5593 <bp-checks.h>.
5594 (___lxstat64): Do not use CHECK_1.
5595 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
5596 (__old_msgctl): Do not use CHECK_1.
5597 (__new_msgctl): Likewise.
5598 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
5599 <bp-checks.h>.
5600 (__gettimeofday): Do not use CHECK_1.
5601 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
5602 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
5603 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
5604 <bp-checks.h>.
5605 (__gettimeofday): Do not use CHECK_1.
5606 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
5607 (__old_shmctl): Do not use CHECK_1_NULL_OK.
5608 (__new_shmctl): Do not use CHECK_1.
5609 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
5610 <bp-checks.h>.
5611 (do_sigtimedwait): Do not use CHECK_1.
5612 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
5613 <bp-checks.h>.
5614 (do_sigwaitinfo): Do not use CHECK_1.
5615 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
5616 <bp-checks.h>.
5617 (msgctl): Do not use CHECK_1.
5618 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
5619 <bp-checks.h>.
5620 (shmctl): Do not use CHECK_1.
5621 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
5622 (ustat): Do not use CHECK_1.
5623 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
5624 <bp-checks.h>.
5625 (__fxstat): Do not use CHECK_1.
5626 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5627 <bp-checks.h>.
5628 (__fxstatat): Do not use CHECK_1.
5629 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
5630 <bp-checks.h>.
5631 (__lxstat): Do not use CHECK_1.
5632 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
5633 <bp-checks.h>.
5634 (__xstat): Do not use CHECK_1.
5635 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
5636 (__xstat): Do not use CHECK_1.
5637 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
5638 (___xstat64): Do not use CHECK_1.
5639
b2c9eff4
JM
5640 [BZ #13550]
5641 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
5642 definitions.
5643 (CHECK_BOUNDS_HIGH): Likewise.
5644 * string/strcpy.c: Do not include <bp-checks.h>.
5645 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
5646
f1d70dad
RM
56472013-02-07 Roland McGrath <roland@hack.frob.com>
5648
5649 * nscd/nscd-client.h (__nscd_drop_map_ref):
5650 Add __attribute__ ((unused)).
5651 * nis/nss-nisplus.h (niserr2nss): Likewise.
5652
5653 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
5654 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
5655
5656 * csu/libc-tls.c (init_static_tls, init_slotinfo):
5657 Remove inline keyword.
5658 * include/rounding-mode.h (round_away): Likewise.
5659 * libio/wfileops.c (adjust_wide_data): Likewise.
5660 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
5661 (__m128i_strloadu_tolower): Likewise.
5662 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
5663 (__m128i_strloadu_tolower): Likewise.
5664 * time/mktime.c (ydhms_diff): Likewise.
5665 * locale/elem-hash.h (elem_hash): Likewise.
5666 * locale/setlocale.c (setdata): Likewise.
5667 * posix/regex_internal.h (re_string_char_size_at): Likewise.
5668 (re_string_wchar_at): Likewise.
5669 (bitset_not, bitset_merge, bitset_mask): Likewise.
5670 [!(__GNUC__ > 3)] (inline): Remove macro.
5671 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
5672 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
5673 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5674 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
5675 * string/memcmp.c (memcmp_bytes): Likewise.
5676 * locale/programs/locarchive.c (compute_hashval): Likewise.
5677 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
5678 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
5679 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
5680 * nss/getent.c (print_rpc, print_protocols): Likewise.
5681 (print_passwd, print_group, print_aliases): Likewise.
5682 * nis/nss-nisplus.h (niserr2nss): Likewise.
5683 * nscd/connections.c (restart_p): Likewise.
5684 Change return type to bool.
5685
eab55bfb
RM
56862013-02-05 Roland McGrath <roland@hack.frob.com>
5687
7bd642f5
RM
5688 * Makeconfig (all-Depend-files): Add existing
5689 $(sorted-subdirs:=/Depend) files.
5690 (all-subdirs): Remove nss.
5691 * sysdeps/unix/inet/Subdirs: Add it here instead.
5692 * hesiod/Depend: New file.
5693
573c29b2
RM
5694 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
5695 instead of calling alloca.
5696
b2e25af0
RM
5697 * io/lseek.c (__lseek): Rename to __libc_lseek.
5698 Define __lseek as an alias.
5699
eab55bfb
RM
5700 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
5701
9a0d1941
CD
57022013-02-04 Carlos O'Donell <carlos@redhat.com>
5703
5704 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
5705 else clause and remove check for non-standard endianness.
5706
b83bbec4
DM
57072013-02-04 David S. Miller <davem@davemloft.net>
5708
5709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5710
6277fdab
JM
57112013-02-04 Joseph Myers <joseph@codesourcery.com>
5712
5713 [BZ #13550]
5714 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
5715 (__ubp_memchr): Remove prototype.
5716 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
5717 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5718 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
5719 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5720 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
5721 Remove alias.
5722 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
5723 (__ubp_memchr): Likewise.
5724 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
5725 (__ubp_memchr): Likewise.
5726 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
5727 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
5728 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
5729 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
5730 CHECK_STRING.
5731 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5732 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
5733 (__getcwd): Do not use CHECK_STRING.
5734 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5735 <bp-checks.h>.
5736 (__real_chown): Do not use CHECK_STRING.
5737 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
5738 <bp-checks.h>.
5739 (fchownat): Do not use CHECK_STRING.
5740 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
5741 CHECK_STRING.
5742 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5743 <bp-checks.h>.
5744 (__lchown): Do not use CHECK_STRING.
5745 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5746 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5747 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5748 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5750 include <bp-checks.h>.
5751 (truncate64): Do not use CHECK_STRING.
5752 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5753 <bp-checks.h>.
5754 (__real_chown): Do not use CHECK_STRING.
5755 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5756 <bp-checks.h>.
5757 (__lchown): Do not use CHECK_STRING.
5758 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5759 <bp-checks.h>.
5760 (__chown): Do not use CHECK_STRING.
5761 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
5762 <bp-checks.h>.
5763 (truncate64): Do not use CHECK_STRING.
5764 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
5765 Likewise.
5766 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
5767 (__xmknod): Do not use CHECK_STRING.
5768 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5769 <bp-checks.h>.
5770 (__xmknodat): Do not use CHECK_STRING.
5771 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5772 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5773
903ae060
AS
57742013-02-04 Andreas Schwab <schwab@suse.de>
5775
5776 [BZ #14142]
5777 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
5778 * include/netdb.h: Likewise for h_errno.
5779 * elf/tst-stackguard1.c: Include <tls.h>.
5780
542f9466
JK
57812013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5782
5783 * elf/link.h (struct link_map): Extend the l_addr comment.
5784 * include/link.h (struct link_map): Likewise.
5785
e782a927
JM
57862013-02-01 Joseph Myers <joseph@codesourcery.com>
5787
5788 [BZ #13550]
5789 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
5790 (BOUNDED_1): Remove macro.
5791 * debug/backtrace.c: Don't include <bp-checks.h>.
5792 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
5793 (__backtrace): Likewise.
5794 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
5795 <bp-checks.h>.
5796 (__backtrace): Don't use BOUNDED_1.
5797 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
5798 <bp-checks.h>.
5799 (__backtrace): Don't use BOUNDED_1.
5800 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
5801 (__backtrace): Don't use BOUNDED_1.
5802 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
5803 (shmat): Don't use BOUNDED_N.
5804
8cf28c5e
JM
58052013-01-31 Joseph Myers <joseph@codesourcery.com>
5806
3a7ac8a0
JM
5807 [BZ #13550]
5808 * sysdeps/generic/bp-start.h: Remove file.
5809 * csu/libc-start.c: Don't include <bp-start.h>.
5810 (LIBC_START_MAIN): Set up __environ directly instead of using
5811 INIT_ARGV_and_ENVIRON.
5812 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
5813 <bp-start.h>.
5814
f3499f95
JM
5815 [BZ #13550]
5816 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
5817 definitions.
5818 (CHECK_FCNTL): Likewise.
5819 (CHECK_N_PAGES): Likewise.
5820
32a45bea
JM
5821 [BZ #13550]
5822 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
5823 definitions.
5824 (CHECK_SIGSET_NULL_OK): Likewise.
5825 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
5826 <bp-checks.h>.
5827 (sigpending): Don't use CHECK_SIGSET.
5828 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
5829 <bp-checks.h>.
5830 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5831 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
5832 <bp-checks.h>.
5833 (do_sigsuspend): Don't use CHECK_SIGSET.
5834 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
5835 use CHECK_SIGSET.
5836 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
5837 (do_sigwait): Don't use CHECK_SIGSET.
5838 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
5839 use CHECK_SIGSET.
5840 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
5841 include <bp-checks.h>.
5842 (sigpending): Don't use CHECK_SIGSET.
5843 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
5844 include <bp-checks.h>.
5845 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5846 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
5847 <bp-checks.h>.
5848 (sigpending): Don't use CHECK_SIGSET.
5849 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
5850 <bp-checks.h>.
5851 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5852
2e8a5c8c
JM
5853 [BZ #13550]
5854 * sysdeps/generic/bp-semctl.h: Remove file.
5855 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
5856 <bp-checks.h> and <bp-semctl.h>.
5857 (__old_semctl): Don't use CHECK_SEMCTL.
5858 (__new_semctl): Likewise.
5859 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
5860 and <bp-semctl.h>.
5861 (__old_semctl): Don't use CHECK_SEMCTL.
5862 (__new_semctl): Likewise.
5863 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
5864 <bp-checks.h> and <bp-semctl.h>.
5865 (__old_semctl): Don't use CHECK_SEMCTL.
5866 (__new_semctl): Likewise.
5867 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
5868 <bp-checks.h> and <bp-semctl.h>.
5869 (semctl): Don't use CHECK_SEMCTL.
5870
c2d54929
JM
5871 [BZ #13550]
5872 * Makerules (elide-bp-thunks): Remove variable.
5873 (elide-routines.oS): Don't use $(elide-bp-thunks).
5874 (elide-routines.os): Likewise.
5875 (elide-routines.o): Likewise.
5876 (elide-routines.op): Likewise.
5877 (elide-routines.og): Likewise.
5878 (objects): Don't use $(bp-thunks).
5879 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
5880 include.
5881 (common-generated): Do not add s-proto-bp.d.
5882 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
5883 (int): Likewise.
5884 (typ): Likewise.
5885 Do not generate makefile rules for bounded-pointer thunks.
5886 * sysdeps/generic/bp-thunks.h: Remove file.
5887 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
5888 * sysdeps/unix/s-proto-bp.S: Likewise.
5889
8cf28c5e
JM
5890 [BZ #15062]
5891 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
5892 parts of result separately when argument is not close to line from
5893 -i to i and one part of argument is small.
5894 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5895 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5896 * math/libm-test.inc (cacos_test): Add more tests.
5897 (casin_test): Likewise.
5898 (casinh_test): Likewise.
5899 * sysdeps/i386/fpu/libm-test-ulps: Update.
5900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5901
c4e33b8d
DM
59022013-01-31 David S. Miller <davem@davemloft.net>
5903
5904 * po/de.po: Update from translation team.
5905
3b60b421
MK
59062013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
5907
5908 * time/tzfile.c: Include stdint.h for SIZE_MAX.
5909
bb931195
TS
59102013-01-25 Thomas Schwinge <thomas@codesourcery.com>
5911
b5a5da23
TS
5912 * configure.in (_AC_PROG_CC_C89): New definition.
5913 * configure: Regenerate.
5914
bb931195
TS
5915 * configure.in (AC_PROG_CPP): New definition.
5916 * configure: Regenerate.
5917
8c53a12c
JM
59182013-01-23 Joseph Myers <joseph@codesourcery.com>
5919
5920 * debug/tst-backtrace.h: New file.
5921 * debug/tst-backtrace2.c: Include tst-backtrace.h.
5922 (ret): Remove variable.
5923 (x): Likewise.
5924 (FAIL): Remove macro.
5925 (NO_INLINE): Likewise.
5926 (fn1): Use match function instead of strstr.
5927 * debug/tst-backtrace3.c: Include tst-backtrace.h.
5928 (ret): Remove variable.
5929 (x): Likewise.
5930 (FAIL): Remove macro.
5931 (NO_INLINE): Likewise.
5932 (fn): Use match function instead of strstr.
5933 * debug/tst-backtrace4.c: Include tst-backtrace.h.
5934 (ret): Remove variable.
5935 (x): Likewise.
5936 (FAIL): Remove macro.
5937 (NO_INLINE): Likewise.
5938 (handle_signal): Use match function instead of strstr.
5939 * debug/tst-backtrace5.c: Include tst-backtrace.h.
5940 (ret): Remove variable.
5941 (x): Likewise.
5942 (FAIL): Remove macro.
5943 (NO_INLINE): Likewise.
5944 (handle_signal): Use match function instead of strstr.
5945
4858fa2a
RM
59462013-01-23 Roland McGrath <roland@hack.frob.com>
5947
5948 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
5949
bae8e7f5
DM
59502013-01-23 David S. Miller <davem@davemloft.net>
5951
5952 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
5953 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
5954 argument of CAS if possible.
5955 * sysdeps/sparc/sparc64/bits/atomic.h
5956 (__arch_compare_and_exchange_val_32_acq): Likewise.
5957 (__arch_compare_and_exchange_val_64_acq): Likewise.
5958
9cbbc4ae
PT
59592013-01-23 Pino Toscano <toscano.pino@tiscali.it>
5960
5961 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
5962 * sysdeps/posix/ulimit.c: ... this.
92a601b8 5963 Include <limits.h>.
67b3f58c 5964 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 5965
5655a0b5
AC
59662013-01-23 Adam Conrad <adconrad@0c3.net>
5967
5968 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
5969 (LDFLAGS-tst-array5): Likewise.
5970
052aff95
JM
59712013-01-23 Joseph Myers <joseph@codesourcery.com>
5972
5973 [BZ #15036]
5974 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
5975 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
5976 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
5977 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
5978
7c1e01aa
DM
59792013-01-21 David S. Miller <davem@davemloft.net>
5980
5981 * sysdeps/sparc/backtrace.c: New file.
5982 * sysdeps/sparc/sparc32/backtrace.h: New file.
5983 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
5984 * sysdeps/sparc/sparc64/backtrace.h: New file.
5985 * sysdeps/sparc/sparc64/backtrace.c: Delete.
5986 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
5987 -funwind-tables.
5988
ab087e0a
AS
59892013-01-21 Andreas Schwab <schwab@suse.de>
5990
5991 [BZ #15020]
5992 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
5993 closed its stdout.
5994
ed689c2f
AS
59952013-01-20 Andreas Schwab <schwab@linux-m68k.org>
5996
5997 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
5998 "mpa2.h".
5999 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6000
31d470ac
JM
60012013-01-18 Joseph Myers <joseph@codesourcery.com>
6002 Mark Mitchell <mark@codesourcery.com>
6003 Tom de Vries <tom@codesourcery.com>
6004 Paul Pluzhnikov <ppluzhnikov@google.com>
6005
6006 * debug/tst-backtrace2.c: New file.
6007 * debug/tst-backtrace3.c: Likewise.
6008 * debug/tst-backtrace4.c: Likewise.
6009 * debug/tst-backtrace5.c: Likewise.
6010 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
6011 (CFLAGS-tst-backtrace3.c): Likewise.
6012 (CFLAGS-tst-backtrace4.c): Likewise.
6013 (CFLAGS-tst-backtrace5.c): Likewise.
6014 (LDFLAGS-tst-backtrace2): Likewise.
6015 (LDFLAGS-tst-backtrace3): Likewise.
6016 (LDFLAGS-tst-backtrace4): Likewise.
6017 (LDFLAGS-tst-backtrace5): Likewise.
6018 (tests): Add new tests tst-backtrace2, tst-backtrace3,
6019 tst-backtrace4 and tst-backtrace5.
6020
90567f30 60212013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
6022 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6023
6024 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
6025 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
6026 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
6027 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
6028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6029 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
6030 "+r" and remove output regs list as redundant. Add explicit inline
6031 asm to specify register of return val to work around compiler codegen
6032 bug. Remove (int) cast on return value. Add return type parameter to
6033 use in macro so that this macro does not truncate return value for
6034 64-bit values.
6035 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
6036 pass to INTERNAL_VSYSCALL_NCS.
6037 (INLINE_VSYSCALL): Add 'long int' as return type to
6038 INTERNAL_VSYSCALL_NCS macro invocation.
6039 (INTERNAL_VSYSCALL): Add 'long int' as return type to
6040 INTERNAL_VSYSCALL_NCS macro invocation.
6041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6042
d3b9ea61
SP
60432013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6044
0b57daeb
SP
6045 [BZ #14496]
6046 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
6047 Fix application of SIMD FP exception mask.
6048
caa99d06
SP
6049 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
6050 mp_no from a power of two.
6051 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
6052 __mpexp_twomm1. Use __pow_mp.
6053
d3b9ea61
SP
6054 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
6055 multiplication.
6056
1dbaee3c
DM
60572013-01-17 David S. Miller <davem@davemloft.net>
6058
6059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6060
728d7b43
JM
60612013-01-17 Joseph Myers <joseph@codesourcery.com>
6062
6063 [BZ #15023]
6064 * include/complex.h: Condition contents on [!_COMPLEX_H].
6065 (__kernel_casinhf): New prototype.
6066 (__kernel_casinh): Likewise.
6067 (__kernel_casinhl): Likewise.
6068 * math/Makefile (libm_calls): Add k_casinh.
6069 * math/k_casinh.c: New file.
6070 * math/k_casinhf.c: Likewise.
6071 * math/k_casinhl.c: Likewise.
6072 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
6073 finite nonzero arguments.
6074 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
6075 finite nonzero arguments.
6076 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
6077 finite nonzero arguments.
6078 * math/s_casinh.c: Do not include <float.h>.
6079 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
6080 * math/s_casinhf.c: Do not include <float.h>.
6081 (__casinhf): Move code for finite nonzero arguments to
6082 k_casinhf.c.
6083 * math/s_casinhl.c: Do not include <float.h>.
6084 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
6085 redefine.
6086 (__casinhl): Move code for finite nonzero arguments to
6087 k_casinhl.c.
6088 * math/libm-test.inc (cacos_test): Add more tests.
6089 * sysdeps/i386/fpu/libm-test-ulps: Update.
6090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6091
2a26ef3a
PT
60922013-01-17 Pino Toscano <toscano.pino@tiscali.it>
6093
6094 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
6095 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
6096 [!HAVE_MREMAP]: Remove [defined linux] case.
6097 * malloc/arena.c: Do not include <malloc-sysdep.h>.
6098
a897655d
SP
60992013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6100
6101 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
6102
881ebe89 61032013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
6104
6105 * elf/elf.h (R_386_SIZE32): New relocation.
6106 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
6107 R_386_SIZE32.
6108 (elf_machine_rela): Likewise.
6109 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6110 R_X86_64_SIZE64 and R_X86_64_SIZE32.
6111
59981e9b
JM
61122013-01-17 Joseph Myers <joseph@codesourcery.com>
6113
6114 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
6115 (FP_FAST_FMA): Do not define.
6116 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
6117 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
6118 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
6119 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
6120 !_SOFT_FLOAT]: Likewise.
6121 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
6122 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
6123 value.
6124 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
6125 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
6126 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
6127 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
6128 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
6129 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
6130 file.
6131
cfa8054f
AS
61322013-01-16 Andreas Schwab <schwab@suse.de>
6133
6134 [BZ #14327]
6135 * include/stdlib.h (__mktemp): Add declaration.
6136 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
6137 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
6138
dd930cc5
SP
61392013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6140
881ebe89
SP
6141 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
6142 definitions.
6143 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6144 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
6145 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
6146 definitions here.
6147 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
6148 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
6149 definitions.
6150 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
6151 and ONE.
6152 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
6153 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
6154 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
6155 definitions.
6156 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
6157 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
6158 definitions.
6159 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 6160
dd930cc5
SP
6161 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
6162
c19a9f89
DM
61632013-01-15 David S. Miller <davem@davemloft.net>
6164
1aa61767
DM
6165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6166 trunc{,f} to libm-sysdep_routes.
6167 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
6169 file.
6170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
6171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
6172 file.
6173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
6174 file.
6175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
6176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
6177 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
6178 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
6179 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
6180 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
6181 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
6182 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
6183
c42d5e98
DM
6184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6185 nearbyint{,f} to libm-sysdep_routes.
6186 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
6188 New file.
6189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
6190 file.
6191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
6192 New file.
6193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
6194 file.
6195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
6196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
6197 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
6198 file.
6199 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
6200 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
6201 file.
6202 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
6203 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
6204 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
6205
c19a9f89
DM
6206 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6207 libc_feholdexcept and libc_fesetenv.
6208
357679d2
MF
62092013-01-15 Mike Frysinger <vapier@gentoo.org>
6210
6211 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
6212
65a82e3d
DM
62132013-01-14 David S. Miller <davem@davemloft.net>
6214
8b954ab9
DM
6215 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
6216 (SPARC_ASM_VIS2_IFUNC): Likewise.
6217 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
6218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
6219 use of 'siam' instruction.
6220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
6221 Likewise.
6222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
6223 Likewise.
6224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
6225 Likewise.
6226 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
6227 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6228 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
6229 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
6230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
6231 file.
6232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
6233 file.
6234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
6235 file.
6236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
6237 file.
6238 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
6239 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
6240 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
6241 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
6242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
6243 new VIS2 routines.
6244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6247 Likewise.
6248 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6249 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6250 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6251 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
6253 routines to libm-sysdep_routines.
6254 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6255
65a82e3d
DM
6256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6257 fdim/fdimf to libm-sysdep_routines.
6258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
6259 file.
6260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
6261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
6262 file.
6263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
6264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
6265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
6266 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
6267 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
6268 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
6269 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
6270
e34ab705
SP
62712013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6272
2a91b573
SP
6273 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
6274 to optimize copies.
6275
1066a534
SP
6276 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
6277 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6278 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6279
e34ab705
SP
6280 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
6281 local variable MPTWO.
6282 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6283 Likewise.
6284
aba5e596
MF
62852013-01-13 Mike Frysinger <vapier@gentoo.org>
6286
6287 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
6288 GLOB_NOESCAPE.
6289
e557e9e5
MF
62902013-01-13 Mike Frysinger <vapier@gentoo.org>
6291
6292 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
6293
0428cec9
MF
62942013-01-13 Mike Frysinger <vapier@gentoo.org>
6295
6296 * manual/pattern.texi (glob_t): Document gl_flags.
6297 (glob64_t): Likewise.
6298
8794a964
DM
62992013-01-11 David S. Miller <davem@davemloft.net>
6300
66438c3f
RM
6301 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
6302 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
6303 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
6304 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
6305 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
6306 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
6307 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
6308 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
6309 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
6310 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
6311 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
6312 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
6313 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
6314
4ae4244d
DM
6315 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6316 sparc V9 rather than using V8 code.
6317 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6318 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6319
8794a964
DM
6320 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6321 Move to...
6322 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
6323 Here.
6324
6270516e
RM
63252013-01-11 Roland McGrath <roland@hack.frob.com>
6326
6327 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
6328 not in the main loop.
6329 * configure: Regenerated.
6330
6a57d931
JM
63312013-01-11 Joseph Myers <joseph@codesourcery.com>
6332
6333 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
6334 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
6335 to just #else.
6336 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
6337 [!__GLIBC_HAVE_LONG_LONG] case.
6338 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
6339 condition to just #else.
6340 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
6341 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
6342 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
6343 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
6344 unconditional.
6345 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
6346 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6347 #elif condition to just #else.
6348 * sysdeps/unix/sysv/linux/sys/sysmacros.h
6349 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
6350 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6351 #elif condition to just #else.
6352
0e8529e9
SE
63532013-01-11 Steve Ellcey <sellcey@mips.com>
6354
6355 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
6356 (EF_MIPS_ARCH_64): Fix value.
6357 (EF_MIPS_ARCH_32R2): New.
6358 (EF_MIPS_ARCH_64R2): New.
6359
740b3dbe
L
63602013-01-11 H.J. Lu <hongjiu.lu@intel.com>
6361
6362 * Makeconfig (+link-pie-before-libc): New.
6363 (+link-pie-after-libc): Likewise.
6364 (+link-pie-tests): Likewise.
6365 (+link-pie): Rewritten.
6366 (link-before-libc): Remove $(config-LDFLAGS).
6367 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
6368 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
6369 (config-LDFLAGS): Renamed to ...
6370 (rtld-LDFLAGS): This.
6371 (rtld-tests-LDFLAGS): New macro.
6372 (link-libc-rpath-link): Likewise.
6373 (link-libc-tests-rpath-link): Likewise.
6374 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
6375 (link-libc): Prepand $(link-libc-rpath-link).
6376 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
6377 (test-program-prefix): New macro.
6378 (test-via-rtld-prefix): Likewise.
6379 (test-program-cmd): Likewise.
6380 (host-test-program-cmd): Likewise.
6381 * Makefile ($(common-objpfx)testrun.sh): Replace
6382 $(run-program-prefix) with $(test-program-prefix).
6383 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
6384 $(rtld-LDFLAGS).
6385 ($(common-objpfx)shlib.lds): Likewise.
6386 (build-module-helper): Likewise.
6387 ($(common-objpfx)format.lds): Likewise.
6388 * Rules (binaries-pie-tests): New.
6389 (binaries-pie-notests): Likewise.
6390 (binaries-pie): Rewritten.
6391 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
6392 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
6393 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
6394 (make-test-out): Replace $(host-built-program-cmd) with
6395 $(host-test-program-cmd).
6396 * config.make.in (build-hardcoded-path-in-tests): New variable.
6397 * configure.in (--enable-hardcoded-path-in-tests): New configure
6398 option.
6399 (hardcoded_path_in_tests): New AC_SUBST.
6400 * configure: Regenerated.
6401 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
6402 $(built-program-cmd) with $(test-program-cmd).
6403 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
6404 (test_program_cmd): This.
6405 * elf/Makefile ($(objpfx)order.out): Run test with
6406 $(test-program-prefix).
6407 ($(objpfx)order2.out): Likewise.
6408 ($(objpfx)tst-initorder.out): Likewise.
6409 ($(objpfx)tst-initorder2.out): Likewise.
6410 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
6411 $(test-program-cmd).
6412 ($(objpfx)tst-array1-static.out): Likewise.
6413 ($(objpfx)tst-array2.out): Likewise.
6414 ($(objpfx)tst-array3.out): Likewise.
6415 ($(objpfx)tst-array4.out): Likewise.
6416 ($(objpfx)tst-array5.out): Likewise.
6417 ($(objpfx)tst-array5-static.out): Likewise.
6418 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
6419 $(test-program-cmd).
6420 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
6421 $(run-program-prefix) with $(test-program-prefix).
6422 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
6423 (test_program_prefix): This.
6424 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
6425 $(run-program-prefix) with $(test-program-prefix).
6426 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
6427 (test_program_prefix): This.
6428 * iconvdata/tst-tables.sh: Likewise.
6429 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
6430 $(run-program-prefix) with $(test-program-prefix).
6431 ($(objpfx)tst-translit.out): Likewise.
6432 ($(objpfx)tst-gettext2.out): Likewise.
6433 ($(objpfx)tst-gettext4.out): Likewise.
6434 ($(objpfx)tst-gettext6.out): Likewise.
6435 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
6436 (test_program_prefix): This.
6437 * intl/tst-gettext2.sh: Likewise.
6438 * intl/tst-gettext4.sh Likewise.
6439 * intl/tst-gettext6.sh: Likewise.
6440 * intl/tst-translit.sh: Likewise.
6441 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
6442 with $(test-program-cmd).
6443 * libio/Makefile ($(objpfx)test-freopen.out): Replace
6444 $(run-program-prefix) with $(test-program-prefix).
6445 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
6446 (test_program_prefix): This.
6447 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
6448 $(run-program-prefix) with $(test-program-prefix).
6449 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
6450 (test_program_prefix): This.
6451 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
6452 * posix/Makefile ($(objpfx)globtest.out): Replace
6453 $(run-via-rtld-prefix) and $(test-wrapper) with
6454 $(test-program-prefix) and $(test-via-rtld-prefix).
6455 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
6456 $(test-program-prefix).
6457 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
6458 $(host-test-program-cmd).
6459 (tst-spawn-ARGS): Likewise.
6460 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
6461 $(test-program-prefix).
6462 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
6463 (test_via_rtld_prefix): This.
6464 (test_wrapper): Renamed to ...
6465 (test_program_prefix): This.
6466 (run_program_prefix): Replaced by test_program_prefix.
6467 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
6468 (test_program_prefix): This.
6469 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
6470 with $(host-test-program-cmd).
6471 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
6472 $(run-program-prefix) with $(test-program-prefix).
6473 ($(objpfx)tst-printf.out): Likewise.
6474 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
6475 $(test-program-cmd).
6476 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
6477 (test_program_prefix): This.
6478 * stdio-common/tst-unbputc.sh: Likewise.
6479 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
6480 $(run-program-prefix) with $(test-program-prefix).
6481 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
6482 (test_program_prefix): This.
6483 * string/Makefile ($(objpfx)tst-svc.out): Replace
6484 $(built-program-cmd) with $(test-program-cmd).
6485
c6fe55cf
AJ
64862013-01-11 Andreas Jaeger <aj@suse.de>
6487
6488 [BZ #15003]
6489 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
6490 value. Sync with Linux 3.7.
6491
9e6919c8
DM
64922013-01-10 David S. Miller <davem@davemloft.net>
6493
6494 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
6495 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6496 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6497
1c9f1a02
RM
64982013-01-10 Roland McGrath <roland@hack.frob.com>
6499
6500 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
6501 never set.
6502 * configure: Regenerated.
6503
b9de2dde
DM
65042013-01-10 David S. Miller <davem@davemloft.net>
6505
6506 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6507 sparc V9 rather than using V8 code.
6508 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6509 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6510
e7f68ef4
RM
65112013-01-10 Roland McGrath <roland@hack.frob.com>
6512
6513 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
6514 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
6515 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
6516 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
6517 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
6518 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
6519 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
6520 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
6521 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
6522 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
6523 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
6524 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
6525 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
6526 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
6527 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
6528 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
6529 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
6530 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
6531 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
6532 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
6533 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
6534 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
6535 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
6536 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
6537 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
6538 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
6539 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
6540
5a47cc9c
DM
65412013-01-10 David S. Miller <davem@davemloft.net>
6542
6543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6544
4cf8f209
L
65452013-01-10 H.J. Lu <hongjiu.lu@intel.com>
6546
6547 * posix/Makefile (tests-static): New variable.
6548 (tests): Add $(tests-static).
6549 (tst-exec-static-ARGS): New variable.
6550 (tst-spawn-static-ARGS): Likewise.
6551 * posix/tst-exec-static.c: New file.
6552 * posix/tst-spawn-static.c: Likewise.
6553 * posix/tst-exec.c: Support run directly.
6554 * posix/tst-spawn.c: Likewise.
6555
fed0faa1
JM
65562013-01-10 Joseph Myers <joseph@codesourcery.com>
6557
828beb13
JM
6558 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
6559 long.
6560 * math/bits/mathcalls.h (llrint): Likewise.
6561 (llround): Likewise.
6562 * stdlib/stdlib.h (struct drand48_data): Likewise.
6563 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
6564 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
6565 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
6566 Likewise.
6567 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
6568 Likewise.
6569 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
6570 (elf_greg_t): Likewise.
6571 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
6572 (__jmp_buf): Likewise.
6573 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
6574 definitions.
6575 (llrint): Likewise, for all definitions.
6576 (llrintl): Likewise.
6577
fed0faa1
JM
6578 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
6579 Remove [__GNUC__] condition.
6580 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
6581 condition to just [__USE_ISOC99].
6582 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
6583
1a20cb20
L
65842013-01-10 H.J. Lu <hongjiu.lu@intel.com>
6585
6586 [BZ #14200]
6587 * sysdeps/unix/sysv/linux/x86/bits/environments.h
6588 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
6589 defined.
6590 (_POSIX_V6_ILP32_OFF32): Likewise.
6591 (_XBS5_ILP32_OFF32): Likewise.
6592 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
6593 (__ILP32_OFFBIG_LDFLAGS): Likewise.
6594
751b85f7
SP
65952013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6596
7490eb81
SP
6597 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
6598
751b85f7
SP
6599 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
6600 doubles __mpexp_twomm1. Adjust usage.
6601 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
6602 Remove.
6603
988197f0
AS
66042013-01-10 Andreas Schwab <schwab@suse.de>
6605
6606 [BZ #14964]
6607 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
6608 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
6609
e83d7298
DM
66102013-01-09 David S. Miller <davem@davemloft.net>
6611
034ed64b 6612 [BZ #15003]
e83d7298
DM
6613 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
6614 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
6615 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
6616 TCP_FASTOPEN): Define.
6617 (tcp_repair_opt): New structure.
6618 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
6619 enum values.
6620 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
6621 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
6622 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
6623 (tcp_cookie_transactions): New structure.
6624
d5e0b9bd
AB
66252013-01-09 Anton Blanchard <anton@samba.org>
6626
6627 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
6628 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
6629 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
6630 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6631
0c07e3ea
JM
66322013-01-09 Joseph Myers <joseph@codesourcery.com>
6633
6634 * include/features.h (__USE_ANSI): Remove.
6635
232f7002
RM
66362013-01-09 Roland McGrath <roland@hack.frob.com>
6637
ad98e30c
RM
6638 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
6639
232f7002
RM
6640 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
6641
950c99ca
SP
66422013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6643
b5792741
SP
6644 * sysdeps/s390/fpu/libm-test-ulps: Update.
6645
47cf2278
SP
6646 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6647
950c99ca
SP
6648 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
6649 (__acr): Likewise.
6650 (__cpy): Likewise.
6651 (norm): Likewise.
6652 (denorm): Likewise.
6653 (__mp_dbl): Likewise.
6654 (__dbl_mp): Likewise.
6655 (add_magnitudes): Likewise.
6656 (sub_magnitudes): Likewise.
6657 (__add): Likewise.
6658 (__sub): Likewise.
6659 (__mul): Likewise.
6660 (__inv): Likewise.
6661 (__dvd): Likewise.
6662 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
6663 (__acr): Likewise.
6664 (__cpy): Likewise.
6665 (norm): Likewise.
6666 (denorm): Likewise.
6667 (__mp_dbl): Likewise.
6668 (__dbl_mp): Likewise.
6669 (add_magnitudes): Likewise.
6670 (sub_magnitudes): Likewise.
6671 (__add): Likewise.
6672 (__sub): Likewise.
6673 (__mul): Likewise.
6674 (__inv): Likewise.
6675 (__dvd): Likewise.
6676 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
6677 (__acr): Likewise.
6678 (__cpy): Likewise.
6679 (norm): Likewise.
6680 (denorm): Likewise.
6681 (__mp_dbl): Likewise.
6682 (__dbl_mp): Likewise.
6683 (add_magnitudes): Likewise.
6684 (sub_magnitudes): Likewise.
6685 (__add): Likewise.
6686 (__sub): Likewise.
6687 (__mul): Likewise.
6688 (__inv): Likewise.
6689 (__dvd): Likewise.
6690
eede9df9
JM
66912013-01-08 Joseph Myers <joseph@codesourcery.com>
6692
6693 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
6694 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
6695 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
6696 2 && __USE_EXTERN_INLINES]: Likewise.
6697
c40ea3d9
AJ
66982013-01-08 Andreas Jaeger <aj@suse.de>
6699
6700 [BZ# 14985]
6701 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
6702 Remove.
6703 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6704 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6705
2ccdea26
AB
67062013-01-07 Anton Blanchard <anton@samba.org>
6707
6708 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
6709 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6710 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
6711 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6712 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6713 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6714 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
6715 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
6716 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6717 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6718 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6719 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6720 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6721 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6722 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6723 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6724 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6725 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6726 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6727 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6728 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6729 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
6730 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6731 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6732 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
6733 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6734 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6735 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6736 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
6737 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6738 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6739 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6740 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6741 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6742 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6743 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6744 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6745 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6746 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6747 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6748 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
6749 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6750 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6751
a9708fed
JM
67522013-01-07 Joseph Myers <joseph@codesourcery.com>
6753
375607b9
JM
6754 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
6755 (__MALLOC_PMT): Likewise.
6756 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
6757 [__GNUC__], only on [_LIBC].
6758 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6759 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
6760 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6761 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
6762 forward declaration.
6763 (realloc_hook_ini): Likewise.
6764 (memalign_hook_ini): Likewise.
6765 (__libc_memalign): Do not use __MALLOC_PMT in variable
6766 declaration.
6767 (__libc_valloc): Likewise.
6768 (__libc_pvalloc): Likewise.
6769 (__libc_calloc): Likewise.
6770 (__posix_memalign): Likewise.
6771
a9708fed
JM
6772 [BZ #14996]
6773 * math/s_casinh.c: Include <float.h>.
6774 (__casinh): Do not do computation with squaring and square root
6775 for large arguments.
6776 * math/s_casinhf.c: Include <float.h>.
6777 (__casinhf): Do not do computation with squaring and square root
6778 for large arguments.
6779 * math/s_casinhl.c: Include <float.h>.
6780 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
6781 (__casinhl): Do not do computation with squaring and square root
6782 for large arguments.
6783 * math/libm-test.inc (casin_test): Add more tests.
6784 (casinh_test): Likewise.
6785 * sysdeps/i386/fpu/libm-test-ulps: Update.
6786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6787
afec409a
L
67882013-01-04 H.J. Lu <hongjiu.lu@intel.com>
6789
6790 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
6791 (__x86_64_raw_data_cache_size): Likewise.
6792 (__x86_64_data_cache_size_half): Likewise.
6793 (__x86_64_raw_data_cache_size_half): Likewise.
6794 (__x86_64_shared_cache_size): Likewise.
6795 (__x86_64_raw_shared_cache_size): Likewise.
6796 (__x86_64_shared_cache_size_half): Likewise.
6797 (__x86_64_raw_shared_cache_size_half): Likewise.
6798 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
6799 to ...
6800 (__x86_data_cache_size): This.
6801 (__x86_64_raw_data_cache_size): Renamed to ...
6802 (__x86_raw_data_cache_size): This.
6803 (__x86_64_data_cache_size_half): Renamed to ...
6804 (__x86_data_cache_size_half): This.
6805 (__x86_64_raw_data_cache_size_half): Renamed to ...
6806 (__x86_raw_data_cache_size_half): This.
6807 (__x86_64_shared_cache_size): Renamed to ...
6808 (__x86_shared_cache_size): This.
6809 (__x86_64_raw_shared_cache_size): Renamed to ...
6810 (__x86_raw_shared_cache_size): This.
6811 (__x86_64_shared_cache_size_half): Renamed to ...
6812 (__x86_shared_cache_size_half): This.
6813 (__x86_64_raw_shared_cache_size_half): Renamed to ...
6814 (__x86_raw_shared_cache_size_half): This.
6815 * sysdeps/x86_64/memcpy.S: Updated.
6816 * sysdeps/x86_64/memset.S: Likewise.
6817 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6818 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6819 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6820
0b3986d0
DM
68212013-01-04 David S. Miller <davem@davemloft.net>
6822
6823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6824
e47686e9
AS
68252013-01-04 Andreas Schwab <schwab@linux-m68k.org>
6826
d643bac1
AS
6827 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
6828 1 to avoid redefinition warning.
6829 (__USE_GNU): Don't define.
6830 (init_signaling_nan): Protoize.
6831
e47686e9
AS
6832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6833
b18decba
SP
68342013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6835
fffb407f
SP
6836 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
6837 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
6838 (__cpymn): Likewise.
6839 (norm): Remove commented code.
6840 (denorm): Likewise.
6841 (__mp_dbl): Likewise.
6842 (__inv): Likewise.
6843 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
6844 (__cpymn): Likewise.
6845 (norm): Remove commented code.
6846 (denorm): Likewise.
6847 (__mp_dbl): Likewise.
6848 (__inv): Likewise.
6849
b18decba
SP
6850 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
6851 mp_no value for 1.0 and 2.0.
6852 (norm): Use RADIXI instead of radixi.d.
6853 (denorm): Likewise.
6854 (__mul): Use 0.0 instead of zero.d.
6855 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
6856 mp_no value for 1.0 and 2.0.
6857 (norm): Use RADIXI instead of radixi.d.
6858 (denorm): Likewise.
6859 (__mul): Use 0.0 instead of zero.d.
6860
cdc1c96f
JM
68612013-01-04 Joseph Myers <joseph@codesourcery.com>
6862
6863 [BZ #14994]
6864 * math/s_casinh.c (__casinh): Reduce finite argument to first
6865 quadrant then set signs of results at the end.
6866 * math/s_casinhf.c (__casinhf): Likewise.
6867 * math/s_casinhl.c (__casinhl): Likewise.
6868 * math/libm-test.inc (casin_test): Add more tests.
6869 (casinh_test): Likewise.
6870 * sysdeps/i386/fpu/libm-test-ulps: Update.
6871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6872
302913e1
SP
68732013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6874
6420d207
SP
6875 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
6876
a9e48ab4
SP
6877 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
6878
b7837264
SP
6879 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
6880 declarations.
6881 (denorm): Likewise.
6882 (__mp_dbl): Likewise.
6883 (__inv): Likewise.
6884
f8af25d2
SP
6885 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
6886 and adjust the header comment.
6887
302913e1
SP
6888 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
6889 variable name from declaration.
6890
5d7dd1ca
L
68912013-01-03 H.J. Lu <hongjiu.lu@intel.com>
6892
6893 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6894 Initialize COMMON_CPUID_INDEX_7 element.
6895 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
6896 (CPUID_RTM): Likewise.
6897 (HAS_RTM): Likewise.
6898 (COMMON_CPUID_INDEX_7): New enum.
6899
2f5f40f4
AS
69002013-01-03 Andreas Schwab <schwab@linux-m68k.org>
6901
6902 [BZ #14981]
6903 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
6904 size is zero, record memory as freed.
6905
4056f4a0
AJ
69062013-01-03 Andreas Jaeger <aj@suse.de>
6907
6908 * po/ia.po: Add new Interlingua translation.
6909
ab15736f 69102012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
6911
6912 * locale/programs/localedef.c: Fix description of '--posix' flag.
6913
568035b7
JM
69142013-01-02 Joseph Myers <joseph@codesourcery.com>
6915
e6898b8d
JM
6916 * NEWS: Update dates in second copyright notice.
6917 * README: Update copyright dates in example.
6918 * manual/libc.texinfo: Update copyright dates.
6919 * scripts/test-installation.pl: Update copyright date in --version
6920 output.
6921
0e2f9562
JM
6922 * hurd/ctty-input.c: Fix copyright notice formatting.
6923 * hurd/ctty-output.c: Likewise.
6924 * hurd/dtable.c: Likewise.
6925 * hurd/hurd-raise.c: Likewise.
6926 * hurd/hurdprio.c: Likewise.
6927 * hurd/msgportdemux.c: Likewise.
6928 * misc/sys/file.h: Likewise.
6929 * misc/sys/ioctl.h: Likewise.
6930 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6931 * sysdeps/mach/hurd/chdir.c: Likewise.
6932 * sysdeps/mach/hurd/fchdir.c: Likewise.
6933 * sysdeps/mach/hurd/rename.c: Likewise.
6934 * sysdeps/mach/hurd/rmdir.c: Likewise.
6935 * sysdeps/mach/hurd/seekdir.c: Likewise.
6936 * sysdeps/mach/hurd/setsid.c: Likewise.
6937 * sysdeps/posix/wait3.c: Likewise.
6938
568035b7
JM
6939 * All files with FSF copyright notices: Update copyright dates
6940 using scripts/update-copyrights.
6941 * intl/plural.c: Regenerated.
6942 * locale/programs/charmap-kw.h: Likewise.
6943 * locale/programs/locfile-kw.h: Likewise.
6944
da08f647
SP
69452013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6946
0f5477af
SP
6947 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
6948 four values.
6949
44e0d4c2
SP
6950 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
6951 calculation loop and add branch prediction.
6952
4d55b4e5
SP
6953 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
6954 check access beyond bounds of m1np.
6955
da08f647
SP
6956 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
6957 MPTWO.
6958 (__inv): Remove local variable MPTWO to use the global
6959 constant.
6960 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
6961 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
6962 variable MPTWO.
6963 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
6964 MP3HALFS static const.
6965
8e051029
DM
69662013-01-01 David S. Miller <davem@davemloft.net>
6967
6968 * po/ca.po: Update from translation team.
6969
f4cf5f2d
JM
69702013-01-01 Joseph Myers <joseph@codesourcery.com>
6971
6972 * scripts/update-copyrights: New file.
6973 * Makeconfig: Reformat copyright notice.
6974 * ctype/ctype.h: Likewise.
6975 * debug/swprintf_chk.c: Likewise.
6976 * elf/dl-cache.c: Likewise.
6977 * elf/dl-debug.c: Likewise.
6978 * elf/dl-object.c: Likewise.
6979 * grp/initgroups.c: Likewise.
6980 * hurd/Makefile: Likewise.
6981 * hurd/hurd/signal.h: Likewise.
6982 * hurd/hurdfault.c: Likewise.
6983 * hurd/hurdioctl.c: Likewise.
6984 * hurd/hurdlookup.c: Likewise.
6985 * hurd/intr-msg.c: Likewise.
6986 * iconv/gconv_open.c: Likewise.
6987 * libio/swprintf.c: Likewise.
6988 * locale/lc-ctype.c: Likewise.
6989 * locale/nl_langinfo.c: Likewise.
6990 * mach/Machrules: Likewise.
6991 * mach/Makefile: Likewise.
6992 * malloc/obstack.h: Likewise.
6993 * manual/Makefile: Likewise.
6994 * manual/tsort.awk: Likewise.
6995 * misc/bits/stab.def: Likewise.
6996 * nis/nis_print_group_entry.c: Likewise.
6997 * nis/nis_table.c: Likewise.
6998 * nis/nss_compat/compat-pwd.c: Likewise.
6999 * nis/nss_compat/compat-spwd.c: Likewise.
7000 * po/Makefile: Likewise.
7001 * posix/fnmatch.c: Likewise.
7002 * posix/regex.h: Likewise.
7003 * resolv/Makefile: Likewise.
7004 * resolv/nss_dns/dns-network.c: Likewise.
7005 * resolv/res_hconf.c: Likewise.
7006 * scripts/gen-sorted.awk: Likewise.
7007 * soft-fp/soft-fp.h: Likewise.
7008 * stdio-common/printf.h: Likewise.
7009 * stdlib/monetary.h: Likewise.
7010 * stdlib/random.c: Likewise.
7011 * stdlib/random_r.c: Likewise.
7012 * sysdeps/generic/Makefile: Likewise.
7013 * sysdeps/gnu/Makefile: Likewise.
7014 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7015 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7016 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7017 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7018 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7019 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7020 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7021 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7022 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7023 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7024 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7025 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7026 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7027 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7028 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
7029 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7030 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7031 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7032 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7033 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7034 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7035 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7036 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7037 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7038 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
7039 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7040 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7041 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
7042 * sysdeps/mach/hurd/errnos.awk: Likewise.
7043 * sysdeps/mach/hurd/fork.c: Likewise.
7044 * sysdeps/mach/hurd/getcwd.c: Likewise.
7045 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
7046 * sysdeps/mach/hurd/mmap.c: Likewise.
7047 * sysdeps/mach/hurd/utimes.c: Likewise.
7048 * sysdeps/mach/hurd/xmknod.c: Likewise.
7049 * sysdeps/posix/profil.c: Likewise.
7050 * sysdeps/posix/readdir_r.c: Likewise.
7051 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7052 * sysdeps/powerpc/bits/setjmp.h: Likewise.
7053 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
7054 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7055 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7056 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7057 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7058 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7059 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7060 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7061 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7062 * sysdeps/pthread/lio_listio.c: Likewise.
7063 * sysdeps/sparc/dl-procinfo.h: Likewise.
7064 * sysdeps/unix/i386/sysdep.S: Likewise.
7065 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
7066 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
7067 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7068 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
7069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7070 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7071 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7072 * sysdeps/unix/sysv/linux/speed.c: Likewise.
7073 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7074 * sysdeps/wordsize-32/divdi3.c: Likewise.
7075 * time/sys/time.h: Likewise.
7076 * wcsmbs/Makefile: Likewise.
7077
0549fbba
DM
70782013-01-01 David S. Miller <davem@davemloft.net>
7079
a141f1a7
DM
7080 * po/fr.po: Update from translation team.
7081
0549fbba
DM
7082 * catgets/gencat.c: Update copyright year.
7083 * csu/version.c: Likewise.
7084 * debug/catchsegv.sh: Likewise.
7085 * debug/pcprofiledump.c: Likewise.
7086 * debug/xtrace.sh: Likewise.
7087 * elf/ldconfig.c: Likewise.
7088 * elf/ldd.bash.in: Likewise.
7089 * elf/pldd.c: Likewise.
7090 * elf/sotruss.ksh: Likewise.
7091 * elf/sprof.c: Likewise.
7092 * iconv/iconv_prog.c: Likewise.
7093 * iconv/iconvconfig.c: Likewise.
7094 * locale/programs/locale.c: Likewise.
7095 * locale/programs/localedef.c: Likewise.
7096 * login/programs/pt_chown.c: Likewise.
7097 * malloc/memusage.sh: Likewise.
7098 * malloc/memusagestat.c: Likewise.
7099 * malloc/mtrace.pl: Likewise.
7100 * nscd/nscd.c: Likewise.
7101 * nss/getent.c: Likewise.
7102 * nss/makedb.c: Likewise.
7103 * posix/getconf.c: Likewise.
7104
18ea052c
SP
71052012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7106
7107 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
7108 numbers.
7109
9c89fca6
MF
71102012-12-30 Mike Frysinger <vapier@gentoo.org>
7111
7112 * math/bits/mathcalls.h (modf): Use __nonnull.
7113
085ec079
SP
71142012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7115
7116 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
7117 (split): Use macro CN instead of the bare value.
7118 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
7119 could be used.
7120 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
7121 instead of the bare value.
7122 (power1): Likewise.
7123
6d9f97e1
SP
71242012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7125
d63f73be
SP
7126 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
7127 __ATAN_TWOM.
7128 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7129
6d9f97e1
SP
7130 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
7131 their values.
7132 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7133 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7134 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
7135 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7136
4c4febf5
AJ
71372012-12-28 Andreas Jaeger <aj@suse.de>
7138
af5843ef
AJ
7139 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
7140 values are from Linux 3.7.
7141
4c4febf5
AJ
7142 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
7143 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
7144
99136f82
SP
71452012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7146
2f216c3c 7147 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
7148 TRUE case.
7149
99136f82
SP
7150 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
7151 (norm): Likewise.
7152 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
7153 variables with preprocessor constants.
7154 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7155 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7156 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7157
7fffbdff
BH
71582012-12-27 Bruno Haible <bruno@clisp.org>
7159
7160 [BZ #14317]
7161 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
7162 only if needed.
7163
b76eb5f0
SP
71642012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7165
31a7fe5c
SP
7166 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
7167 and use variable directly.
7168 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
7169
b76eb5f0
SP
7170 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7171 MPONE.
7172 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
7173 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7174 variable MPONE.
7175 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7176 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7177 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
7178 include directive. Remove local variable MPONE.
7179 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
7180 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
7181 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7182
2c8bfe7d
DM
71832012-12-25 David S. Miller <davem@davemloft.net>
7184
7185 * version.h (RELEASE): Set to "development".
7186 (VERSION): Set to "2.17.90".
7187 * NEWS: Add 2.18 section.
7188
147d03b0
DM
71892012-12-21 David S. Miller <davem@davemloft.net>
7190
7191 * po/hr.po: Update from translation team.
7192
a8ebb2b9
AK
71932012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7194
7195 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
7196
95b4f1b6
SE
71972012-12-19 Steve Ellcey <sellcey@mips.com>
7198
b2d94007 7199 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 7200
cedb2a90
MS
72012012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7202
7203 * manual/contrib.texi (Contributors): Spelling correction.
7204
bbf527d6
DM
72052012-12-15 David S. Miller <davem@davemloft.net>
7206
7207 * po/ru.po: Update from translation team.
7208
bc38c906
DM
72092012-12-13 David S. Miller <davem@davemloft.net>
7210
85429b1a
DM
7211 * NEWS: Mention IFUNC testsuite enhancements.
7212
d283e353
DM
7213 * po/pl.po: Update from translation team.
7214 * po/bg.po: Likewise.
7215
bc38c906
DM
7216 * manual/contrib.texi (Contributors): Update entries for Hongjiu
7217 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
7218
a181b0d7
DM
72192012-12-11 David S. Miller <davem@davemloft.net>
7220
4641d57e
DM
7221 * po/sv.po: Update from translation team.
7222
f7bc6495
DM
7223 * po/vi.po: Update from translation team.
7224
6fc9048f
DM
7225 * po/cs.po: Update from translation team.
7226
a181b0d7
DM
7227 * po/de.po: Update from translation team.
7228 * po/eo.po: Likewise.
7229 * po/nl.po: Likewise.
7230
f70bfe80
SP
72312012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7232
3c8b4190
SP
7233 [BZ #14246]
7234 * manual/argp.texi (Argp Helper Functions): Move node to follow
7235 Argp Parsing State.
7236
f70bfe80
SP
7237 [BZ #14872]
7238 * manual/conf.texi (Limits on File System Capacity): Mention if
7239 terminating null is included in the max size.
7240
188f0adf
AJ
72412012-12-10 Andreas Jaeger <aj@suse.de>
7242
7243 * po/cs.po: Update from translation team.
7244
56e7d3ad
SP
72452012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7246
7247 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
7248 void pointer and cast to uintptr_t.
7249 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
7250 path.
7251 * sysdeps/s390/s390-64/memcpy.S: Likewise.
7252 * sysdeps/s390/s390-64/memset.S: Likewise.
7253
76f2d2ea 72542012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
7255
7256 [BZ #14833]
7257 * menual/message.texi (Message Translation): Fix typos.
7258 (Helper programs for gettext): Likewise.
7259
67cbf9a2
AS
72602012-12-07 Andreas Schwab <schwab@linux-m68k.org>
7261
7262 [BZ #14898]
7263 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
7264 Change to -1.
7265
682d0e9a
DM
72662012-12-07 David S. Miller <davem@davemloft.net>
7267
7268 * po/libc.pot: Update.
7269
573cd484
RH
72702012-12-07 Richard Henderson <rth@redhat.com>
7271
7e9da188 7272 [BZ #10114]
573cd484
RH
7273 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
7274 normal/normal case to before the switch.
7275 (_FP_DIV): Likewise.
7276
e933a943
MF
72772012-12-06 Carlos O'Donell <carlos@systemhalted.org>
7278 Mike Frysinger <vapier@gentoo.org>
7279
7280 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
7281 check for __NR_fadvise64_64.
7282
82123268
CM
72832012-12-06 Chris Metcalf <cmetcalf@tilera.com>
7284
7285 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
7286 0, not just to plain "0" as a statement.
7287 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
7288 with cw.
7289
d9814526
JM
72902012-12-06 Joseph Myers <joseph@codesourcery.com>
7291
7292 * NEWS: Use sourceware.org in Bugzilla URL.
7293
7728c574
SP
72942012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7295
f16946dd
SP
7296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7297 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7298
5704bbcb
SP
7299 * stdio-common/tst-put-error.c (do_test): Add newline to the
7300 padded test to ensure flush.
7301
17aa0516
JL
73022012-12-05 Jeff Law <law@redhat.com>
7303
7304 * sunrpc/etc.rpc (fedfs_admin): Add entry.
7305
363313b5
JM
73062012-12-05 Joseph Myers <joseph@codesourcery.com>
7307
effbd42a
JM
7308 * README: Don't refer to ports add-on as distributed separately.
7309 Mention AArch64 in list of systems supported in the ports add-on.
7310
87600365
JM
7311 * LICENSES: Add more non-FSF copyright and license notices.
7312
a0d7066a
JM
7313 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
7314 ((unused)).
7315
66ca5a5b
JM
7316 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
7317
363313b5
JM
7318 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
7319 10000 as width of padded output.
7320
b37984ad
JM
73212012-12-04 Joseph Myers <joseph@codesourcery.com>
7322
9003570a
JM
7323 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
7324
b37984ad
JM
7325 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
7326 variable LX with __attribute__ ((unused)).
7327 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7328 Likewise.
7329 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
7330 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7331 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
7332 with __attribute__ ((unused)).
7333
c8df52ec
DM
73342012-12-04 David S. Miller <davem@abraco.davemloft.net>
7335
7336 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
7337
b3b099af
JM
73382012-12-04 Joseph Myers <joseph@codesourcery.com>
7339
c33aa6e3
JM
7340 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
7341 (CFLAGS-nldbl-acos.c): New variable.
7342 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
7343 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
7344 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
7345 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
7346 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
7347 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
7348 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
7349 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
7350 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
7351 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
7352 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
7353 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
7354 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
7355 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
7356 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
7357 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
7358 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
7359 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
7360 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
7361 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
7362 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
7363 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
7364 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
7365 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
7366 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
7367 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
7368 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
7369 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
7370 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
7371 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
7372 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
7373 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
7374 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
7375 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
7376 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
7377 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
7378 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
7379 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
7380 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
7381 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
7382 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
7383 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
7384 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
7385 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
7386 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
7387 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
7388 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
7389 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
7390 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
7391 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
7392 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
7393 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
7394 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
7395 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
7396 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
7397 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
7398 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
7399 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
7400 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
7401 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
7402 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
7403 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
7404 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
7405 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
7406 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
7407 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
7408 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
7409 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
7410 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
7411 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
7412 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
7413 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
7414 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
7415 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
7416 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
7417 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
7418 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
7419 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
7420 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
7421 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
7422 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
7423 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
7424 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
7425 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
7426 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
7427 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
7428 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
7429 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
7430 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
7431 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
7432 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
7433 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
7434 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
7435 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
7436 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
7437 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
7438 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
7439
20f0018d
JM
7440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7441 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7442
b3b099af
JM
7443 [BZ #14914]
7444 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
7445 whole low double instead of just low 47 bits when splitting values
7446 into two parts.
7447
029264d1
AM
74482012-12-03 Allan McRae <allan@archlinux.org>
7449
7450 * manual/stdio.texi (Predefined Printf Handlers): Remove
7451 @hsep and @vsep usage.
7452
c9d6789e
MF
74532012-12-03 Mike Frysinger <vapier@gentoo.org>
7454
7455 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
7456 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
7457
4b7634a5
JL
74582012-12-03 Jeff Law <law@redhat.com>
7459
7460 * time/sys/time.h (settimeofday): Do not mark TV argument
7461 as __nonnull.
7462
eb6cbd24
MF
74632012-12-01 Mike Frysinger <vapier@gentoo.org>
7464
7465 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
7466 when currently writing and seek to current position when not.
7467 * libio/Makefile (tests): Remove bug-fclose1.
7468 * libio/bug-fclose1.c: Delete.
7469
f638872a
JM
74702012-12-01 Joseph Myers <joseph@codesourcery.com>
7471
7472 * manual/arith.texi (feenableexcept): Fix typo.
7473 (fedisableexcept): Likewise.
7474
48085d14
RM
74752012-11-30 Roland McGrath <roland@hack.frob.com>
7476
7477 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
7478 second, differently-typed declaration, rather than a cast.
7479
1a538b9f
SP
74802012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7481
7482 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
7483 * include/rpc/svc.h: ... here.
7484
d07f2ff1 74852012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
7486
7487 [BZ #13013]
7488 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
7489 depending n and resplen2 to catch cases where answer
7490 equals answerp2.
7491
c93ec1f0
CD
74922012-11-29 Carlos O'Donell <carlos@systemhalted.org>
7493
7494 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
7495 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
7496
37db69de
MF
74972012-11-29 Mike Frysinger <vapier@gentoo.org>
7498
7499 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
7500
e10c4e4f
RM
75012012-11-29 Roland McGrath <roland@hack.frob.com>
7502
7503 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
7504
2af1b328
JL
75052012-11-28 Jeff Law <law@redhat.com>
7506
7507 [BZ #13761]
7508 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
7509 dataset_temporary. Track alloca usage into alloca_used.
7510 If dataset is large allocate and release it via malloc/free.
7511
111db5b1
FW
75122012-06-04 Florian Weimer <fweimer@redhat.com>
7513
f06cc227 7514 [BZ #14197]
111db5b1
FW
7515 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
7516
dd694abd
DM
75172012-11-28 David S. Miller <davem@davemloft.net>
7518
7519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7520
9984dd01
JM
75212012-11-28 Joseph Myers <joseph@codesourcery.com>
7522
7523 [BZ #14803]
7524 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
7525 of pi/2 rounded to nearest to 64 bits.
7526 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
7527 nearest to 64 bits.
7528 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
7529 bits.
7530
14bc93a9
JL
75312012-11-28 Jeff Law <law@redhat.com>
7532 Martin Osvald <mosvald@redhat.com>
7533
7534 [BZ #14889]
7535 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
7536 * sunrpc/svc.c: Include time.h.
7537 (__svc_accept_failed): New function.
7538 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
7539 any reason other than EINTR, call __svc_accept_failed.
7540 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
7541 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
7542
e3c6aa3a
AS
75432012-11-28 Andreas Schwab <schwab@suse.de>
7544
7545 * scripts/abilist.awk: Also handle indirect functions in .opd
7546 section.
7547
1bead169
JM
75482012-11-28 Joseph Myers <joseph@codesourcery.com>
7549
7550 [BZ #13881]
7551 * sysdeps/x86/fpu/powl_helper.c: New file.
7552 * sysdeps/x86/fpu/Makefile: Likewise.
7553 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
7554 (p3): New object.
7555 (__ieee754_powl): Use __powl_helper for finite arguments except
7556 integer exponents below 8.
7557 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
7558 (p3): New object.
7559 (__ieee754_powl): Use __powl_helper for finite arguments except
7560 integer exponents below 8.
7561 * math/libm-test.inc (pow_test): Add more tests and enable some
7562 previously disabled tests.
7563 * sysdeps/i386/fpu/libm-test-ulps: Update.
7564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7565
0817d63d
SP
75662012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7567 Carlos O'Donell <carlos_odonell@mentor.com>
7568
7569 * nss/makedb.c (is_prime): Assert that input is odd and greater
7570 than 4. Note that fact in a comment too.
7571 (next_prime): Add 4 to input.
7572
de2fd463
SP
75732012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7574
7575 [BZ #11741]
7576 * libio/Makefile (tests): Add test case tst-fwrite-error.
7577 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
7578 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
7579 * libio/tst-fwrite-error.c: New test case.
7580
c515fb51
L
75812012-11-26 H.J. Lu <hongjiu.lu@intel.com>
7582
7583 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
7584 before casting to void *.
7585 * include/libc-internal.h (__pointer_type): New macro.
7586 (__integer_if_pointer_type_sub): Likewise.
7587 (__integer_if_pointer_type): Likewise.
7588 (cast_to_integer): Likewise.
7589 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
7590 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
7591 before casting to atomic64_t.
7592 (atomic_exchange_acq): Likewise.
7593 (__arch_exchange_and_add_body): Likewise.
7594 (__arch_add_body): Likewise.
7595 (atomic_add_negative): Likewise.
7596 (atomic_add_zero): Likewise.
7597
4cf77aa9
JM
75982012-11-26 Joseph Myers <joseph@codesourcery.com>
7599
7600 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
7601 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
7602 (add_fdes): Likewise.
7603 (linear_search_fdes): Likewise.
7604 (binary_search_unencoded_fdes): Likewise.
7605
d260b3b4
AS
76062012-11-26 Andreas Schwab <schwab@linux-m68k.org>
7607
7608 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
7609
67060746
AC
76102012-11-24 Adam Conrad <adconrad@0c3.net>
7611
7612 * configure.in: Autodetect C++ header directories.
7613 * configure: Regenerated.
7614
800938a1
MF
76152012-11-23 Mike Frysinger <vapier@gentoo.org>
7616
7617 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
7618
4e6e34e6
AS
76192012-11-23 Andreas Schwab <schwab@linux-m68k.org>
7620
7621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7622
7c7feb47
JM
76232012-11-22 Joseph Myers <joseph@codesourcery.com>
7624
7184dcdf
JM
7625 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
7626 LDBL_MANT_DIG == 106]: Disable some tests.
7627 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7628 Likewise.
7629 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7630 Likewise.
7631
0a42601f
JM
7632 [BZ #14871]
7633 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
7634 input for small inputs. Return +/- pi/2 for large inputs.
7635 * math/libm-test.inc (atan_test): Add more tests.
7636
79c9b9fe
JM
7637 * sysdeps/generic/unwind-dw2-fde-glibc.c
7638 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
7639 __attribute__ ((unused)).
7640
c60d3bf2
JM
7641 [BZ #14645]
7642 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
7643 x * y if x and y are nonzero and z is zero.
7644
ef1e0867
JM
7645 [BZ #14811]
7646 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
7647 nonzero exponents with absolute value below 0x1p-117 to +/-
7648 0x1p-117.
7649
1468ded3
JM
7650 [BZ #14869]
7651 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
7652 up arguments below 2**-450, not just those below 2**-500.
7653 * math/libm-test.inc (hypot_test): Add another test.
7654
8e27e3cc
JM
7655 [BZ #14868]
7656 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7657 Return a+b for ratio over 2**120, not 2**60.
7658 * math/libm-test.inc (hypot_test): Add another test.
7659
c9c0279b
JM
7660 * math/libm-test.inc (clog_test): Use
7661 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
7662 (clog10_test): Likewise.
7663
7c7feb47
JM
7664 [BZ #6778]
7665 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
7666
fff1530e
AS
76672012-11-22 Andreas Schwab <schwab@suse.de>
7668
7669 * sysdeps/i386/fpu/libm-test-ulps: Update.
7670
94558d30
PT
76712012-11-22 Pino Toscano <toscano.pino@tiscali.it>
7672
7673 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
7674 printf output with newline.
7675
7e1be741
L
76762012-11-21 H.J. Lu <hongjiu.lu@intel.com>
7677
6bfea974
L
7678 [BZ #14865]
7679 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
7680 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
7681 -z nodlopen, -z initfirst and -z execstack support.
7682 * configure: Regenerated.
7683
7e1be741
L
7684 * elf/elf.h (DF_1_NODIRECT): New macro.
7685 (DF_1_IGNMULDEF): Likewise.
7686 (DF_1_NOKSYMS): Likewise.
7687 (DF_1_NOHDR): Likewise.
7688 (DF_1_EDITED): Likewise.
7689 (DF_1_NORELOC): Likewise.
7690 (DF_1_SYMINTPOSE): Likewise.
7691 (DF_1_GLOBAUDIT): Likewise.
7692 (DF_1_SINGLETON): Likewise.
7693 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
7694 DT_1_SUPPORTED_MASK bits.
7695 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
7696
105ce2ce
CD
76972012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
7698
7699 * sysdeps/unix/make-syscalls.sh: Document prefixes.
7700
123be9de
TS
77012012-11-20 Thomas Schwinge <thomas@codesourcery.com>
7702
d072f3f7
TS
7703 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
7704 macro.
7705
123be9de
TS
7706 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
7707 (sendmmsg): Move declarations...
7708 * socket/sys/socket.h: ... here.
7709 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
7710 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
7711 include it from...
7712 * socket/recvmmsg.c: ... this new file.
7713 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
7714 (sendmmsg): Rename to __sendmmsg, create weak alias and make
7715 definition of __sendmmsg hidden.
7716 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
7717 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
7718 Move ENOSYS stub into and include it from...
7719 * socket/sendmmsg.c: ... this new file.
7720 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
7721 (sysdep_routines): Move recvmmsg and sendmmsg...
7722 * socket/Makefile (routines): ... here.
7723 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
7724 (GLIBC_PRIVATE): Add __sendmmsg.
7725 * include/sys/socket.h (__sendmmsg): Add declarations.
7726 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
7727 sendmmsg.
7728
cf9a5d18
JM
77292012-11-20 Joseph Myers <joseph@codesourcery.com>
7730
7731 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
7732 variable I1 with __attribute__ ((unused)).
7733 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7734
ecd4caf9
JM
77352012-11-19 Joseph Myers <joseph@codesourcery.com>
7736
be14d48f
JM
7737 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
7738 DUMMY variables with __attribute__ ((unused)).
7739
ecd4caf9
JM
7740 * bits/byteswap.h: Include <bits/types.h>.
7741 (__bswap_64): Use __uint64_t instead of unsigned long long int.
7742
986cab95
PT
77432012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7744
7745 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
7746 string_t. Do not manually set errno.
7747 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
7748 length with __strnlen. Make sure to both set errno and return it on
7749 failure.
7750
6d33cc9d
DM
77512012-11-19 David S. Miller <davem@davemloft.net>
7752
7753 With help from Joseph Myers.
7754 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
7755 very large arguments properly.
7756 * math/libm-test.inc (atan_test): New tests.
7757 (atan2_test): New tests.
7758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7759 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7760
ee663277
JM
77612012-11-19 Joseph Myers <joseph@codesourcery.com>
7762
877f2d8e
JM
7763 [BZ #14856]
7764 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
7765 Define to 3.
7766
116fc08a
JM
7767 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
7768 [POSIX] (EADDRNOTAVAIL): Likewise.
7769 [POSIX] (EAFNOSUPPORT): Likewise.
7770 [POSIX] (EALREADY): Likewise.
7771 [POSIX] (ECONNABORTED): Likewise.
7772 [POSIX] (ECONNREFUSED): Likewise.
7773 [POSIX] (ECONNRESET): Likewise.
7774 [POSIX] (EDESTADDRREQ): Likewise.
7775 [POSIX] (EDQUOT): Likewise.
7776 [POSIX] (EHOSTUNREACH): Likewise.
7777 [POSIX] (EIDRM): Likewise.
7778 [POSIX] (EISCONN): Likewise.
7779 [POSIX] (ELOOP): Likewise.
7780 [POSIX] (EMULTIHOP): Likewise.
7781 [POSIX] (ENETDOWN): Likewise.
7782 [POSIX] (ENETUNREACH): Likewise.
7783 [POSIX] (ENOBUFS): Likewise.
7784 [POSIX] (ENODATA): Likewise.
7785 [POSIX] (ENOLINK): Likewise.
7786 [POSIX] (ENOMSG): Likewise.
7787 [POSIX] (ENOPROTOOPT): Likewise.
7788 [POSIX] (ENOSR): Likewise.
7789 [POSIX] (ENOSTR): Likewise.
7790 [POSIX] (ENOTCONN): Likewise.
7791 [POSIX] (ENOTSOCK): Likewise.
7792 [POSIX] (EOPNOTSUPP): Likewise.
7793 [POSIX] (EOVERFLOW): Likewise.
7794 [POSIX] (EPROTO): Likewise.
7795 [POSIX] (EPROTONOSUPPORT): Likewise.
7796 [POSIX] (EPROTOTYPE): Likewise.
7797 [POSIX] (ESTALE): Likewise.
7798 [POSIX] (ETIME): Likewise.
7799 [POSIX] (ETXTBSY): Likewise.
7800 [POSIX] (EWOULDBLOCK): Likewise.
7801 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
7802 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
7803 [POSIX] (SEEK_CUR): Likewise.
7804 [POSIX] (SEEK_END): Likewise.
7805 [POSIX || UNIX98] (mode_t): Do not require.
7806 [POSIX] (off_t): Likewise.
7807 [POSIX] (pid_t): Likewise.
7808 [POSIX] (sys/stat.h): Do not allow header.
7809 [POSIX] (unistd.h): Likewise.
7810 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
7811 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
7812 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
7813 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
7814 require.
7815 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
7816 sigevent): Specify elements.
7817 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
7818 entry.
7819 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
7820 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
7821
a483863f
JM
7822 * conform/data/cpio.h-data [POSIX]: Disable whole file.
7823 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
7824 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
7825 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
7826 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
7827 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
7828 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
7829 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
7830 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
7831 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
7832 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
7833 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
7834 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
7835 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
7836 Likewise.
7837 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
7838 Likewise.
7839 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
7840 Likewise.
7841 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
7842 Likewise.
7843 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
7844 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
7845 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
7846 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
7847 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
7848 Specify lower bound on value.
7849 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
7850 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
7851 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
7852 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
7853 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
7854 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
7855 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
7856 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
7857 value.
7858 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
7859 as optional.
7860 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
7861 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
7862 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
7863 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
7864 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
7865 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
7866 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
7867 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
7868 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
7869 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
7870 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
7871 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
7872 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
7873 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
7874 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
7875 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
7876 entry.
7877 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
7878 optional.
7879 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
7880 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
7881 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
7882 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
7883 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
7884 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
7885 Likewise.
7886 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
7887 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
7888 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
7889 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
7890 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
7891 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
7892 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
7893 as optional.
7894 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
7895 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
7896 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
7897 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
7898 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
7899 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
7900 specify as optional.
7901 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
7902 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
7903 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
7904 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
7905 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
7906 [XPG3] (NL_LANGMAX): Likewise.
7907 [POSIX || XPG3] (NL_MSGMAX): Likewise.
7908 [POSIX || XPG3] (NL_NMAX): Likewise.
7909 [POSIX || XPG3] (NL_SETMAX): Likewise.
7910 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
7911 [XPG3] (NZERO): Likewise.
7912 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
7913 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
7914 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
7915 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
7916 (REG_ERANGE): Expect.
7917 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
7918 optional-constant.
7919 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
7920 Use (void) in prototype.
7921 [POSIX] (*_t): Allow.
7922 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
7923 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
7924 (WRDE_BADVAL): Expect.
7925
5ba924e3
JM
7926 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
7927 expect.
7928 [XPG3 || XPG4] (O_RSYNC): Likewise.
7929 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
7930 Likewise.
7931 [XPG3 || XPG4] (pthread_sigmask): Likewise.
7932 [XPG3 || XPG4] (sigqueue): Likewise.
7933 [XPG3 || XPG4] (sigtimedwait): Likewise.
7934 [XPG3 || XPG4] (sigwaitinfo): Likewise.
7935 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
7936 [XPG3 || XPG4] (vsnprintf): Likewise.
7937 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
7938 Likewise.
7939 [XPG3 || XPG4] (blksize_t): Likewise.
7940 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
7941 Likewise.
7942 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
7943 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7944 [XPG3 || XPG4] (struct itimerspec): Likewise.
7945 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
7946 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
7947 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
7948 [XPG3 || XPG4] (clockid_t): Likewise.
7949 [XPG3 || XPG4] (timer_t): Likewise.
7950 [XPG3 || XPG4] (clock_getres): Likewise.
7951 [XPG3 || XPG4] (clock_gettime): Likewise.
7952 [XPG3 || XPG4] (clock_settime): Likewise.
7953 [XPG3 || XPG4] (nanosleep): Likewise.
7954 [XPG3 || XPG4] (timer_create): Likewise.
7955 [XPG3 || XPG4] (timer_delete): Likewise.
7956 [XPG3 || XPG4] (timer_gettime): Likewise.
7957 [XPG3 || XPG4] (timer_getoverrun): Likewise.
7958 [XPG3 || XPG4] (timer_settime): Likewise.
7959 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
7960 [XPG3 || XPG4] (getlogin_r): Likewise.
7961 [XPG3 || XPG4] (pread): Likewise.
7962 [XPG3 || XPG4] (pthread_atfork): Likewise.
7963 [XPG3 || XPG4] (pwrite): Likewise.
7964
ee663277
JM
7965 [BZ #14835]
7966 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
7967 <bits/siginfo.h>.
7968
942caa16
PT
79692012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7970
e19af380
PT
7971 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
7972 finalizing MALLSTREAM.
7973
942caa16
PT
7974 * sysdeps/mach/hurd/syncfs.c: New file.
7975
cfde9b46
SP
79762012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7977
7978 [BZ #14719]
7979 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
7980 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
7981 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
7982 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
7983 (_nss_dns_gethostbyname4_r): Likewise.
7984 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
7985 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
7986
f6da27e5
PH
79872012-11-19 Peng Haitao <penght@cn.fujitsu.com>
7988
7989 [BZ #13763]
7990 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
7991
6665d4a2
SM
79922012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
7993
1f51ee92
SM
7994 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
7995 * elf/cache.c (print_entry): Print ",AArch64" for
7996 FLAG_AARCH64_LIB64
7997
6665d4a2
SM
7998 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
7999 * elf/cache.c (print_entry): Print ",hard-float" for
8000 FLAG_ARM_LIBHF.
8001
05b227bd
DM
80022012-11-18 David S. Miller <davem@davemloft.net>
8003
8004 With help from Joseph Myers.
8005 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
8006 cutoff to 2**-13.
8007 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
8008 cutoff to 2**-25.
8009 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
8010 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
8011 small.
8012 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8013 * math/libm-test.inc (y0_test): New tests.
8014 (y1_test): New tests.
8015 * sysdeps/i386/fpu/libm-test-ulps: Update.
8016 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8018
786b0b67
AS
80192012-11-18 Andreas Schwab <schwab@linux-m68k.org>
8020
8021 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
8022 64-bit targets.
8023 * configure: Regenerated.
8024
8e18b86d
DM
80252012-11-17 David S. Miller <davem@davemloft.net>
8026
8027 [BZ #14811]
8028 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
8029 nonzero exponents with absolute value below 0x1p-128 to +/-
8030 0x1p-128.
8031
531f1ae0
JM
80322012-11-17 Joseph Myers <joseph@codesourcery.com>
8033
12df29e2
JM
8034 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
8035
150dc1a0
JM
8036 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
8037
531f1ae0
JM
8038 * posix/getconf-speclist.c: New file.
8039 * posix/posix-envs.def: Likewise.
8040 * posix/confstr.c (START_ENV_GROUP): New macro.
8041 (END_ENV_GROUP): Likewise.
8042 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8043 (KNOWN_PRESENT_ENV_STRING): Likewise.
8044 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8045 (UNKNOWN_ENVIRONMENT): Likewise.
8046 (confstr): Include posix-envs.def instead of handling
8047 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
8048 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
8049 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
8050 (END_ENV_GROUP): Likewise.
8051 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8052 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8053 (UNKNOWN_ENVIRONMENT): Likewise.
8054 (__sysconf): Include posix-envs.def instead of handling associated
8055 cases directly here.
8056 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
8057 preprocessing getconf-speclist.c rather than running getconf or
8058 generating empty file.
8059
a93f9cbc
PT
80602012-11-16 Pino Toscano <toscano.pino@tiscali.it>
8061
8062 * scripts/check-local-headers.sh: Ignore 'mach' headers.
8063
d64d9f87
AL
80642012-11-16 Andrej Lajovic <natrij@gmail.com>
8065
8066 [BZ #14672]
8067 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
8068
447885eb
DM
80692012-11-16 David S. Miller <davem@davemloft.net>
8070
8071 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
8072 smaller than LDBL_EPSILON/2.0L, just return xm1.
8073
bcbf9830
L
80742012-11-16 H.J. Lu <hongjiu.lu@intel.com>
8075
8076 * elf/tst-array1.c (init): Set constructor priority to 1000.
8077 (fini): Set destructor priority to 1000.
8078 * elf/tst-array2dep.c: Likewise.
8079
2b766585
SP
80802012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8081
8082 [BZ #11741]
8083 * libio/fileops.c (_IO_new_file_write): Correctly return error.
8084 (_IO_new_file_xsputn): Also return EOF if none of the input
8085 data was written when overflow failed.
8086 * libio/iopadn.c (_IO_padn): Likewise.
8087 * libio/iowpadn.c (_IO_wpadn): Likewise.
8088 * stdio-common/tst-put-error.c: Add copyright notice.
8089 (do_test): Add case for printing padded string.
8090 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
8091 _IO_padn returned error.
8092 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
8093 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
8094 return EOF.
8095
b1848fde
SP
80962012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8097
8098 * libio/libioP.h: Add comment note that the references to C++
8099 bits are now obsolete.
8100
2fd89785
MS
81012012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8102
8103 * math/libm-test.inc (check_complex): Use asprintf.
8104
e3ea5409
JM
81052012-11-14 Joseph Myers <joseph@codesourcery.com>
8106
8107 * debug/pcprofiledump.c (print_version): Update copyright year.
8108 * malloc/memusagestat.c (print_version): Likewise.
8109
2e64d265
L
81102012-11-14 H.J. Lu <hongjiu.lu@intel.com>
8111
8112 [BZ #14831]
8113 * elf/Makefile (tests): Add tst-audit8.
8114 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
8115 ($(objpfx)tst-audit8.out): New target.
8116 (tst-audit8-ENV): New variable.
8117 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
8118 audit if l_reloc_result is NULL.
8119 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
8120 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
8121 * elf/tst-audit8.c: New file.
8122
c485e4d2
MS
81232012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8124
8125 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
8126 * misc/Makefile (CFLAGS-select.c): Define.
8127 * posix/Makefile (CFLAGS-pause.c): Define.
8128
3a0d900a
DM
81292012-11-13 David S. Miller <davem@davemloft.net>
8130
8131 * crypt/Makefile: Move test targets after toplevel Rules
8132 inclusion. Grab any necessary sysdep routines when linking.
8133 * crypt/md5.c (md5_process_block): Remove define, we will always
8134 name it __md5_process_block.
8135 (md5_finish_ctx): Update md5_process_block call.
8136 (md5_stream): Likewise.
8137 (md5_process_bytes): Likewise.
8138 (md5_process_block): Rename to __md5_process_block and move to ...
8139 * crypt/md5-block.c: ... here.
8140 * crypt/sha256.c (sha256_process_block): Move to ...
8141 * crypt/sha256-block.c: ... here.
8142 * crypt/sha512.c (sha512_process_block): Move to ...
8143 * crypt/sha512-block.c: ... here.
8144 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
8145 path.
8146 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
8147 * sysdeps/sparc/sparc64/multiarch/Makefile
8148 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
8149 crypt subdir.
8150 (localedef-aux): Add md5 crypto assembler when in locale subdir.
8151 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
8152 multiarch changes.
8153 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
8154 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
8155 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
8156 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
8157 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
8158 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
8159 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
8160 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
8161 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
8162 file.
8163 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
8164 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
8165 file.
8166 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
8167
8ca89318
JM
81682012-11-13 Joseph Myers <joseph@codesourcery.com>
8169
e27d476a
JM
8170 * timezone/tzselect.ksh: Update from tzcode git revision
8171 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
8172 * timezone/zdump.c: Likewise.
8173 * timezone/zic.c: Likewise.
8174 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
8175 in TZVERSION setting, not $(PKGVERSION).
8176 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
8177 REPORT_BUGS_TO settings.
8178
8ca89318
JM
8179 [BZ #14838]
8180 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
8181 macro.
8182
47594329
MS
81832012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8184
8185 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
8186 detection to immediately after _FP_ROUND().
8187 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
8188 bits are 0.
8189
640ac3f1
DM
81902012-11-11 David S. Miller <davem@davemloft.net>
8191
8192 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
8193 inttypes.h
8194 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
8195 __close rather than their public counterparts.
8196
3d2577bb
JM
81972012-11-10 Joseph Myers <joseph@codesourcery.com>
8198
8199 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
8200 file.
8201 [UNIX98] (sem_timedwait): Do not expect.
8202 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
8203 [XPG4 || UNIX98] (sockatmark): Do not expect.
8204 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
8205 (clock_getcpuclockid): Do not expect.
8206 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
8207 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
8208 Do not expect.
8209 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
8210 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
8211 [UNIX98] (vwscanf): Likewise.
8212 [UNIX98] (vswscanf): Likewise.
8213
fb1ae1ee
JM
82142012-11-09 Joseph Myers <joseph@codesourcery.com>
8215
9ec6f8bd
JM
8216 * timezone/version.h: Remove file.
8217 * timezone/README: Do not refer to version.h.
8218 * timezone/Makefile ($(objpfx)zic.o): New dependency on
8219 $(objpfx)version.h.
8220 ($(objpfx)zdump.o): Likewise.
c3f81911 8221 ($(objpfx)version.h): New target.
9ec6f8bd 8222
0aa8f8a1
JM
8223 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
8224 2012i.
8225 * timezone/README: Don't mention modification to tzselect.ksh.
8226 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
8227 work on unmodified tzselect.ksh. Substitute version numbers in
8228 tzselect.ksh.
8229
4e87147f
JM
8230 * Makefile (format-me): Remove.
8231 (INSTALL): Adjust indentation. Use commands directly instead of
8232 using $(format-me).
8233
8b748aed
JM
8234 * aclocal.m4 (ACX_PKGVERSION): New macro.
8235 (ACX_BUGURL): Likewise.
8236 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
8237 (PKGVERSION): New AC_DEFINE_UNQUOTED.
8238 (REPORT_BUGS_TO): Likewise.
8239 * configure: Regenerated.
8240 * config.h.in (PKGVERSION): New macro.
8241 (REPORT_BUGS_TO): Likewise.
8242 * config.make.in (PKGVERSION): New variable.
8243 (PKGVERSION_TEXI): Likewise.
8244 (REPORT_BUGS_TO): Likewise.
8245 (REPORT_BUGS_TEXI): Likewise.
8246 * Makefile (format-me): Use -I$(common-objpfx)manual.
8247 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
8248 ($(common-objpfx)manual/%): New target.
8249 (manual/%): Remove target.
8250 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
8251 (print_version): Use PKGVERSION.
8252 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
8253 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
8254 and REPORT_BUGS_TO.
8255 ($(objpfx)xtrace): Likewise.
8256 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
8257 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
8258 (print_version): Use PKGVERSION.
8259 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
8260 (do_version): Use PKGVERSION.
8261 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
8262 REPORT_BUGS_TO.
8263 (common-ldd-rewrite): Likewise.
8264 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
8265 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
8266 (print_version): Use PKGVERSION.
8267 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
8268 * elf/pldd.c (argp_program_bug_address): Remove variable.
8269 (more_help): New function.
8270 (argp): Use more_help.
8271 (print_version): Use PKGVERSION.
8272 * elf/sln.c (main): Use PKGVERSION.
8273 (usage): Use REPORT_BUGS_TO.
8274 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
8275 (top level): Use PKGVERSION.
8276 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
8277 (print_version): Use PKGVERSION.
8278 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
8279 (print_version): Use PKGVERSION.
8280 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
8281 (print_version): Use PKGVERSION.
8282 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
8283 (print_version): Use PKGVERSION.
8284 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
8285 (print_version): Use PKGVERSION.
8286 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
8287 (print_version): Use PKGVERSION.
8288 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
8289 and BUGURL.
8290 ($(objpfx)memusage): Likewise.
8291 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
8292 (do_version): Use PKGVERSION.
8293 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
8294 (print_version): Use PKGVERSION.
8295 * malloc/mtrace.pl ($PACKAGE): Remove variable.
8296 ($PKGVERSION): New variable.
8297 ($REPORT_BUGS_TO): Likewise.
8298 (usage): Use $REPORT_BUGS_TO.
8299 (top level): Use $PKGVERSION.
8300 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
8301 ($(objpfx)pkgvers.texi): New rule.
8302 ($(objpfx)stamp-pkgvers): Likewise.
8303 * manual/install.texi: Include pkgvers.texi.
8304 (--with-pkgversion): Document new configure option.
8305 (--with-bugurl): Likewise.
8306 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
8307 than necessarily for this particular distribution. Use
8308 REPORT_BUGS_TO for where to report bugs.
8309 * INSTALL: Regenerated.
8310 * manual/libc.texinfo: Include pkgvers.texi.
8311 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
8312 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
8313 (print_version): Use PKGVERSION.
8314 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
8315 (print_version): Use PKGVERSION.
8316 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
8317 (print_version): Use PKGVERSION.
8318 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
8319 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
8320 macro.
8321 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
8322 (print_version): Use PKGVERSION.
8323 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
8324 (print_version): Use PKGVERSION.
8325 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
8326 and PKGVERSION.
8327
92e4b6a9
JM
8328 * timezone/checktab.awk: Update from tzcode 2012i.
8329 * timezone/ialloc.c: Likewise.
8330 * timezone/private.h: Likewise.
8331 * timezone/scheck.c: Likewise.
8332 * timezone/tzfile.h: Likewise.
8333 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
8334 (TZVERSION): Hardcode tzcode version number.
8335 * timezone/zdump.c: Update from tzcode 2012i.
8336 * timezone/zic.c: Likewise.
8337 * timezone/version.h: New file.
8338 * timezone/README: Describe version.h. Update upstream location.
8339
9bde902c
JM
8340 [BZ #14824]
8341 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
8342 (mktemp): Enable declaration.
8343 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
8344 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
8345 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
8346 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
8347 Likewise.
8348 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
8349 Likewise.
8350 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
8351 Likewise.
8352 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
8353 Likewise.
8354 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
8355 Likewise.
8356 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
8357 Likewise.
8358
fb1ae1ee
JM
8359 [BZ #14821]
8360 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
8361 offset in buffer as u_int32_t not u_long. Consistently use memcpy
8362 for copies of such integer values.
8363 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
8364 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
8365
2c1adbcb
AJ
83662012-11-09 Andreas Jaeger <aj@suse.de>
8367
8368 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
8369 definitions and declarations that are provided by
8370 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8371
d0f8457e
AK
83722012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8373
3a235abb 8374 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
8375 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
8376 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
8377 definition.
8378
57241e26
MS
83792012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8380
8381 * elf/elf.h: Update comment before AArch64 relocations.
8382
60e8270d
DM
83832012-11-07 David S. Miller <davem@davemloft.net>
8384
8385 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
8386 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8387 (__start_context): Declare.
8388 (__makecontext_ret): Delete.
8389 (__makecontext): Hook up __start_context instead of
8390 __makecontext_ret.
8391 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8392 (sysdep_routines): Add __start_context when in stdlib.
8393
0fbb0fbc
JM
83942012-11-07 Joseph Myers <joseph@codesourcery.com>
8395
8396 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
8397 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
8398 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
8399 hardcoded "nm".
8400 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
8401 (READELF): New variable. Use it instead of hardcoded "readelf".
8402
eb48db7e
L
84032012-11-07 H.J. Lu <hongjiu.lu@intel.com>
8404
8405 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
8406 * sysdeps/x86/Makefile: Here.
8407 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
8408 * sysdeps/x86/tst-xmmymm.sh: This.
8409
05bcf62a
JM
84102012-11-07 Joseph Myers <joseph@codesourcery.com>
8411
c4b6cf53
JM
8412 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
8413 expectations.
8414 [UNIX98] (pthread_barrier_t): Do not expect.
8415 [UNIX98] (pthread_barrierattr_t): Likewise.
8416 [UNIX98] (pthread_spinlock_t): Likewise.
8417 [UNIX98] (pthread_barrier_destroy): Likewise.
8418 [UNIX98] (pthread_barrier_init): Likewise.
8419 [UNIX98] (pthread_barrier_wait): Likewise.
8420 [UNIX98] (pthread_barrierattr_destroy): Likewise.
8421 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
8422 [UNIX98] (pthread_barrierattr_init): Likewise.
8423 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
8424 [UNIX98] (pthread_getcpuclockid): Likewise.
8425 [UNIX98] (pthread_mutex_timedlock): Likewise.
8426 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
8427 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
8428 [UNIX98] (pthread_sigmask): Likewise.
8429 [UNIX98] (pthread_spin_destroy): Likewise.
8430 [UNIX98] (pthread_spin_init): Likewise.
8431 [UNIX98] (pthread_spin_lock): Likewise.
8432 [UNIX98] (pthread_spin_trylock): Likewise.
8433 [UNIX98] (pthread_spin_unlock): Likewise.
8434 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
8435 Do not expect.
8436 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
8437 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
8438 [XPG3 || XPG4] (pthread_cond_t): Likewise.
8439 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
8440 [XPG3 || XPG4] (pthread_key_t): Likewise.
8441 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
8442 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
8443 [XPG3 || XPG4] (pthread_once_t): Likewise.
8444 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
8445 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
8446 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
8447 [XPG3 || XPG4] (pthread_t): Likewise.
8448
cbe6e120
JM
8449 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
8450 not expect.
8451 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
8452
1b126443
JM
8453 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
8454 Change function return type to int.
8455
b961a573
JM
8456 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
8457 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
8458 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
8459 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
8460 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
8461 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
8462 [!POSIX] (posix_madvise): Likewise.
8463 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
8464 && !UNIX98].
8465 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
8466 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
8467 (mode_t): Likewise.
8468 (posix_mem_offset): Likewise.
8469 (posix_typed_mem_get_info): Likewise.
8470 (posix_typed_mem_open): Likewise.
8471
9e188909
JM
8472 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
8473 Change condition to [XOPEN2K8].
8474
05bcf62a
JM
8475 * conform/conformtest.pl: Preprocess allow-header data with -x c
8476 instead of from stdin.
8477 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
8478 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
8479 [C99-based standards] (cerfc): Likewise.
8480 [C99-based standards] (cexp2): Likewise.
8481 [C99-based standards] (cexpm1): Likewise.
8482 [C99-based standards] (clog10): Likewise.
8483 [C99-based standards] (clog1p): Likewise.
8484 [C99-based standards] (clog2): Likewise.
8485 [C99-based standards] (clgamma): Likewise.
8486 [C99-based standards] (ctgamma): Likewise.
8487 [C99-based standards] (cerff): Likewise.
8488 [C99-based standards] (cerfcf): Likewise.
8489 [C99-based standards] (cexp2f): Likewise.
8490 [C99-based standards] (cexpm1f): Likewise.
8491 [C99-based standards] (clog10f): Likewise.
8492 [C99-based standards] (clog1pf): Likewise.
8493 [C99-based standards] (clog2f): Likewise.
8494 [C99-based standards] (clgammaf): Likewise.
8495 [C99-based standards] (ctgammaf): Likewise.
8496 [C99-based standards] (cerfl): Likewise.
8497 [C99-based standards] (cerfcl): Likewise.
8498 [C99-based standards] (cexp2l): Likewise.
8499 [C99-based standards] (cexpm1l): Likewise.
8500 [C99-based standards] (clog10l): Likewise.
8501 [C99-based standards] (clog1pl): Likewise.
8502 [C99-based standards] (clog2l): Likewise.
8503 [C99-based standards] (clgammal): Likewise.
8504 [C99-based standards] (ctgammal): Likewise.
8505 * conform/data/inttypes.h-data [C99-based standards]: Include
8506 stdint.h-data. Remove all expectations for stdint.h contents.
8507 [C99-based standards] (PRI*): Do not allow.
8508 [C99-based standards] (SCN*): Likewise.
8509 [C99-based standards] (*_t): Likewise.
8510 [C99-based-standards] (PRId8): Expect macro.
8511 [C99-based-standards] (PRIi8): Likewise.
8512 [C99-based-standards] (PRIo8): Likewise.
8513 [C99-based-standards] (PRIu8): Likewise.
8514 [C99-based-standards] (PRIx8): Likewise.
8515 [C99-based-standards] (PRIX8): Likewise.
8516 [C99-based-standards] (SCNd8): Likewise.
8517 [C99-based-standards] (SCNi8): Likewise.
8518 [C99-based-standards] (SCNo8): Likewise.
8519 [C99-based-standards] (SCNu8): Likewise.
8520 [C99-based-standards] (SCNx8): Likewise.
8521 [C99-based-standards] (PRIdLEAST8): Likewise.
8522 [C99-based-standards] (PRIiLEAST8): Likewise.
8523 [C99-based-standards] (PRIoLEAST8): Likewise.
8524 [C99-based-standards] (PRIuLEAST8): Likewise.
8525 [C99-based-standards] (PRIxLEAST8): Likewise.
8526 [C99-based-standards] (PRIXLEAST8): Likewise.
8527 [C99-based-standards] (SCNdLEAST8): Likewise.
8528 [C99-based-standards] (SCNiLEAST8): Likewise.
8529 [C99-based-standards] (SCNoLEAST8): Likewise.
8530 [C99-based-standards] (SCNuLEAST8): Likewise.
8531 [C99-based-standards] (SCNxLEAST8): Likewise.
8532 [C99-based-standards] (PRIdFAST8): Likewise.
8533 [C99-based-standards] (PRIiFAST8): Likewise.
8534 [C99-based-standards] (PRIoFAST8): Likewise.
8535 [C99-based-standards] (PRIuFAST8): Likewise.
8536 [C99-based-standards] (PRIxFAST8): Likewise.
8537 [C99-based-standards] (PRIXFAST8): Likewise.
8538 [C99-based-standards] (SCNdFAST8): Likewise.
8539 [C99-based-standards] (SCNiFAST8): Likewise.
8540 [C99-based-standards] (SCNoFAST8): Likewise.
8541 [C99-based-standards] (SCNuFAST8): Likewise.
8542 [C99-based-standards] (SCNxFAST8): Likewise.
8543 [C99-based-standards] (PRId16): Likewise.
8544 [C99-based-standards] (PRIi16): Likewise.
8545 [C99-based-standards] (PRIo16): Likewise.
8546 [C99-based-standards] (PRIu16): Likewise.
8547 [C99-based-standards] (PRIx16): Likewise.
8548 [C99-based-standards] (PRIX16): Likewise.
8549 [C99-based-standards] (SCNd16): Likewise.
8550 [C99-based-standards] (SCNi16): Likewise.
8551 [C99-based-standards] (SCNo16): Likewise.
8552 [C99-based-standards] (SCNu16): Likewise.
8553 [C99-based-standards] (SCNx16): Likewise.
8554 [C99-based-standards] (PRIdLEAST16): Likewise.
8555 [C99-based-standards] (PRIiLEAST16): Likewise.
8556 [C99-based-standards] (PRIoLEAST16): Likewise.
8557 [C99-based-standards] (PRIuLEAST16): Likewise.
8558 [C99-based-standards] (PRIxLEAST16): Likewise.
8559 [C99-based-standards] (PRIXLEAST16): Likewise.
8560 [C99-based-standards] (SCNdLEAST16): Likewise.
8561 [C99-based-standards] (SCNiLEAST16): Likewise.
8562 [C99-based-standards] (SCNoLEAST16): Likewise.
8563 [C99-based-standards] (SCNuLEAST16): Likewise.
8564 [C99-based-standards] (SCNxLEAST16): Likewise.
8565 [C99-based-standards] (PRIdFAST16): Likewise.
8566 [C99-based-standards] (PRIiFAST16): Likewise.
8567 [C99-based-standards] (PRIoFAST16): Likewise.
8568 [C99-based-standards] (PRIuFAST16): Likewise.
8569 [C99-based-standards] (PRIxFAST16): Likewise.
8570 [C99-based-standards] (PRIXFAST16): Likewise.
8571 [C99-based-standards] (SCNdFAST16): Likewise.
8572 [C99-based-standards] (SCNiFAST16): Likewise.
8573 [C99-based-standards] (SCNoFAST16): Likewise.
8574 [C99-based-standards] (SCNuFAST16): Likewise.
8575 [C99-based-standards] (SCNxFAST16): Likewise.
8576 [C99-based-standards] (PRId32): Likewise.
8577 [C99-based-standards] (PRIi32): Likewise.
8578 [C99-based-standards] (PRIo32): Likewise.
8579 [C99-based-standards] (PRIu32): Likewise.
8580 [C99-based-standards] (PRIx32): Likewise.
8581 [C99-based-standards] (PRIX32): Likewise.
8582 [C99-based-standards] (SCNd32): Likewise.
8583 [C99-based-standards] (SCNi32): Likewise.
8584 [C99-based-standards] (SCNo32): Likewise.
8585 [C99-based-standards] (SCNu32): Likewise.
8586 [C99-based-standards] (SCNx32): Likewise.
8587 [C99-based-standards] (PRIdLEAST32): Likewise.
8588 [C99-based-standards] (PRIiLEAST32): Likewise.
8589 [C99-based-standards] (PRIoLEAST32): Likewise.
8590 [C99-based-standards] (PRIuLEAST32): Likewise.
8591 [C99-based-standards] (PRIxLEAST32): Likewise.
8592 [C99-based-standards] (PRIXLEAST32): Likewise.
8593 [C99-based-standards] (SCNdLEAST32): Likewise.
8594 [C99-based-standards] (SCNiLEAST32): Likewise.
8595 [C99-based-standards] (SCNoLEAST32): Likewise.
8596 [C99-based-standards] (SCNuLEAST32): Likewise.
8597 [C99-based-standards] (SCNxLEAST32): Likewise.
8598 [C99-based-standards] (PRIdFAST32): Likewise.
8599 [C99-based-standards] (PRIiFAST32): Likewise.
8600 [C99-based-standards] (PRIoFAST32): Likewise.
8601 [C99-based-standards] (PRIuFAST32): Likewise.
8602 [C99-based-standards] (PRIxFAST32): Likewise.
8603 [C99-based-standards] (PRIXFAST32): Likewise.
8604 [C99-based-standards] (SCNdFAST32): Likewise.
8605 [C99-based-standards] (SCNiFAST32): Likewise.
8606 [C99-based-standards] (SCNoFAST32): Likewise.
8607 [C99-based-standards] (SCNuFAST32): Likewise.
8608 [C99-based-standards] (SCNxFAST32): Likewise.
8609 [C99-based-standards] (PRId64): Likewise.
8610 [C99-based-standards] (PRIi64): Likewise.
8611 [C99-based-standards] (PRIo64): Likewise.
8612 [C99-based-standards] (PRIu64): Likewise.
8613 [C99-based-standards] (PRIx64): Likewise.
8614 [C99-based-standards] (PRIX64): Likewise.
8615 [C99-based-standards] (SCNd64): Likewise.
8616 [C99-based-standards] (SCNi64): Likewise.
8617 [C99-based-standards] (SCNo64): Likewise.
8618 [C99-based-standards] (SCNu64): Likewise.
8619 [C99-based-standards] (SCNx64): Likewise.
8620 [C99-based-standards] (PRIdLEAST64): Likewise.
8621 [C99-based-standards] (PRIiLEAST64): Likewise.
8622 [C99-based-standards] (PRIoLEAST64): Likewise.
8623 [C99-based-standards] (PRIuLEAST64): Likewise.
8624 [C99-based-standards] (PRIxLEAST64): Likewise.
8625 [C99-based-standards] (PRIXLEAST64): Likewise.
8626 [C99-based-standards] (SCNdLEAST64): Likewise.
8627 [C99-based-standards] (SCNiLEAST64): Likewise.
8628 [C99-based-standards] (SCNoLEAST64): Likewise.
8629 [C99-based-standards] (SCNuLEAST64): Likewise.
8630 [C99-based-standards] (SCNxLEAST64): Likewise.
8631 [C99-based-standards] (PRIdFAST64): Likewise.
8632 [C99-based-standards] (PRIiFAST64): Likewise.
8633 [C99-based-standards] (PRIoFAST64): Likewise.
8634 [C99-based-standards] (PRIuFAST64): Likewise.
8635 [C99-based-standards] (PRIxFAST64): Likewise.
8636 [C99-based-standards] (PRIXFAST64): Likewise.
8637 [C99-based-standards] (SCNdFAST64): Likewise.
8638 [C99-based-standards] (SCNiFAST64): Likewise.
8639 [C99-based-standards] (SCNoFAST64): Likewise.
8640 [C99-based-standards] (SCNuFAST64): Likewise.
8641 [C99-based-standards] (SCNxFAST64): Likewise.
8642 [C99-based-standards] (PRIdMAX): Likewise.
8643 [C99-based-standards] (PRIiMAX): Likewise.
8644 [C99-based-standards] (PRIoMAX): Likewise.
8645 [C99-based-standards] (PRIuMAX): Likewise.
8646 [C99-based-standards] (PRIxMAX): Likewise.
8647 [C99-based-standards] (PRIXMAX): Likewise.
8648 [C99-based-standards] (SCNdMAX): Likewise.
8649 [C99-based-standards] (SCNiMAX): Likewise.
8650 [C99-based-standards] (SCNoMAX): Likewise.
8651 [C99-based-standards] (SCNuMAX): Likewise.
8652 [C99-based-standards] (SCNxMAX): Likewise.
8653 [C99-based-standards] (PRIdPTR): Likewise.
8654 [C99-based-standards] (PRIiPTR): Likewise.
8655 [C99-based-standards] (PRIoPTR): Likewise.
8656 [C99-based-standards] (PRIuPTR): Likewise.
8657 [C99-based-standards] (PRIxPTR): Likewise.
8658 [C99-based-standards] (PRIXPTR): Likewise.
8659 [C99-based-standards] (SCNdPTR): Likewise.
8660 [C99-based-standards] (SCNiPTR): Likewise.
8661 [C99-based-standards] (SCNoPTR): Likewise.
8662 [C99-based-standards] (SCNuPTR): Likewise.
8663 [C99-based-standards] (SCNxPTR): Likewise.
8664 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
8665 allow.
8666 * conform/data/stdint.h-data: Update comments to clarify
8667 requirements.
8668 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
8669 type.
8670 [C99-based standards] (INT8_MAX): Likewise.
8671 [C99-based standards] (INT16_MIN): Likewise.
8672 [C99-based standards] (INT16_MAX): Likewise.
8673 [C99-based standards] (INT32_MIN): Likewise.
8674 [C99-based standards] (INT32_MAX): Likewise.
8675 [C99-based standards] (INT64_MIN): Likewise.
8676 [C99-based standards] (INT64_MAX): Likewise.
8677 [C99-based standards] (UINT8_MAX): Likewise.
8678 [C99-based standards] (UINT16_MAX): Likewise.
8679 [C99-based standards] (UINT32_MAX): Likewise.
8680 [C99-based standards] (UINT64_MAX): Likewise.
8681 [C99-based standards] (INT_LEAST8_MIN): Likewise.
8682 [C99-based standards] (INT_LEAST8_MAX): Likewise.
8683 [C99-based standards] (INT_LEAST16_MIN): Likewise.
8684 [C99-based standards] (INT_LEAST16_MAX): Likewise.
8685 [C99-based standards] (INT_LEAST32_MIN): Likewise.
8686 [C99-based standards] (INT_LEAST32_MAX): Likewise.
8687 [C99-based standards] (INT_LEAST64_MIN): Likewise.
8688 [C99-based standards] (INT_LEAST64_MAX): Likewise.
8689 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
8690 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
8691 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
8692 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
8693 [C99-based standards] (INT_FAST8_MIN): Likewise.
8694 [C99-based standards] (INT_FAST8_MAX): Likewise.
8695 [C99-based standards] (INT_FAST16_MIN): Likewise.
8696 [C99-based standards] (INT_FAST16_MAX): Likewise.
8697 [C99-based standards] (INT_FAST32_MIN): Likewise.
8698 [C99-based standards] (INT_FAST32_MAX): Likewise.
8699 [C99-based standards] (INT_FAST64_MIN): Likewise.
8700 [C99-based standards] (INT_FAST64_MAX): Likewise.
8701 [C99-based standards] (UINT_FAST8_MAX): Likewise.
8702 [C99-based standards] (UINT_FAST16_MAX): Likewise.
8703 [C99-based standards] (UINT_FAST32_MAX): Likewise.
8704 [C99-based standards] (UINT_FAST64_MAX): Likewise.
8705 [C99-based standards] (INTPTR_MIN): Likewise.
8706 [C99-based standards] (INTPTR_MAX): Likewise.
8707 [C99-based standards] (UINTPTR_MAX): Likewise.
8708 [C99-based standards] (INTMAX_MIN): Likewise.
8709 [C99-based standards] (INTMAX_MAX): Likewise.
8710 [C99-based standards] (UINTMAX_MAX): Likewise.
8711 [C99-based standards] (PTRDIFF_MIN): Likewise.
8712 [C99-based standards] (PTRDIFF_MAX): Likewise.
8713 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
8714 [C99-based standards] (SIZE_MAX): Likewise.
8715 [C99-based standards] (WCHAR_MAX): Likewise.
8716 [C99-based standards] (WINT_MAX): Likewise.
8717 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
8718 constraint on value.
8719 [C99-based standards] (WCHAR_MIN): Likewise.
8720 [C99-based standards] (WINT_MIN): Likewise.
8721 [C99-based standards] (*_t): Allow.
8722 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
8723 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
8724 Include math.h-data and complex.h-data. Remove all expectations
8725 of math.h and complex.h contents.
8726 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
8727 at end of line.
8728 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
8729 (struct tm): Expect tag.
8730 [C99-based-standards] (wcstof): Expect function.
8731 [C99-based-standards] (wcstold): Likewise.
8732 [C99-based-standards] (wcstoll): Likewise.
8733 [C99-based-standards] (wcstoull): Likewise.
8734 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
8735 macro-int-constant. Specify type.
8736 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
8737 constraint on value.
8738 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8739 Specify type.
8740 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
8741 Specify value.
8742 [ISO C standards]: Do not allow headers.
8743 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
8744 wcs[abcdefghijklmnopqrstuvwxyz]*.
8745 [ISO C standards] (*_t): Do not allow.
8746 * conform/data/wctype.h-data [C99-based standards] (iswblank):
8747 Expect function.
8748 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
8749 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8750 Specify type.
8751 [ISO C standards]: Do not allow headers.
8752 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
8753 is[abcdefghijklmnopqrstuvwxyz]*.
8754 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
8755 to[abcdefghijklmnopqrstuvwxyz]*.
8756 [ISO C standards] (*_t): Do not allow.
8757 * conform/data/stdalign.h-data: New file.
8758 * conform/data/stdbool.h-data: Likewise.
8759 * conform/data/stdnoreturn.h-data: Likewise.
8760
7514feb8
RM
87612012-11-07 Roland McGrath <roland@hack.frob.com>
8762
8763 [BZ #14815]
8764 * manual/filesys.texi (Directory Entries): Typo fix.
8765 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
8766
19b2ecfc
MS
87672012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8768
8769 * elf/elf.h (EM_AARCH64): New macro.
8770 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
8771 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
8772 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
8773 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
8774 (R_AARCH64_TLSDESC): Likewise.
8775 (NT_ARM_TLS): Likewise.
8776 (NT_ARM_HW_BREAK): Likewise.
8777 (NT_ARM_HW_WATCH): Likewise.
8778
60e235ee
JM
87792012-11-07 Joseph Myers <joseph@codesourcery.com>
8780
8781 [BZ #14811]
8782 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
8783 (__ieee754_powl): Saturate nonzero exponents with absolute value
8784 below 0x1p-79 to +/- 0x1p-79.
8785 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
8786 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
8787 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
8788 nonzero exponents with absolute value below 0x1p-32 to +/-
8789 0x1p-32.
8790 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
8791 (__ieee754_powl): Saturate nonzero exponents with absolute value
8792 below 0x1p-79 to +/- 0x1p-79.
8793 * math/libm-test.inc (pow_test): Add more tests.
8794
0ab234b7
AK
87952012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8796
8797 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
8798 _dl_s390_cap_flags with kernel. Increase string length.
8799 (_dl_s390_platforms): Add z196 and zEC12.
8800
45832f74
JM
88012012-11-07 Joseph Myers <joseph@codesourcery.com>
8802
8803 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
8804 Change XOPEN21K to XOPEN2K.
8805
19218757
MK
88062012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
8807
8808 * string/memmove.c: Use memcpy when possible.
8809
c5f45721
AJ
88102012-11-06 Andreas Jaeger <aj@suse.de>
8811
8812 * po/eo.po: Update from translation team.
8813
82477c28
JM
88142012-11-06 Joseph Myers <joseph@codesourcery.com>
8815
8816 [BZ #14793]
8817 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
8818 exponent and small x and y exponents, scale x or y up. Increase
8819 by 2 the exponent used in scaling up.
8820 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8821 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8822 * math/libm-test.inc (fma_test): Add more tests.
8823 (fma_test_towardzero): Likewise.
8824 (fma_test_downward): Likewise.
8825 (fma_test_upward): Likewise.
8826
99252c8c
JM
88272012-11-05 Joseph Myers <joseph@codesourcery.com>
8828
acfa885f
JM
8829 [BZ #14805]
8830 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
8831 fenv_t *.
8832
99252c8c
JM
8833 [BZ #14801]
8834 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
8835 namespace for names of struct fields.
8836 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
8837 fenv_t fields.
8838 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8839 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
8840
d6d98dea
ST
88412012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8842
8843 [BZ #3665]
8844 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
8845
e10bb107
TS
88462012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8847
8848 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
8849 PTR_DEMANGLE.
8850
8851 [BZ #5246]
8852 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
8853 PTR_DEMANGLE.
8854
a0c2940d
JM
88552012-11-04 Joseph Myers <joseph@codesourcery.com>
8856
8857 [BZ #14797]
8858 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
8859 definitely overflow as x * y not x * y + z.
8860 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8861 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8862 * math/libm-test.inc (fma_test): Add more tests.
8863 (fma_test_towardzero): Likewise.
8864 (fma_test_downward): Likewise.
8865 (fma_test_upward): Likewise.
8866
b830319d
TS
88672012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8868
8869 [BZ #157]
8870
8871 * include/stub-tag.h: Remove file.
8872 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
8873 '#include' of it.
8874 * manual/maint.texi (Porting): Don't reference it.
8875 * Makerules ($(objpfx)stubs): Likewise.
8876 * dirent/closedir.c: Don't include <stub-tag.h>.
8877 * dirent/dirfd.c: Likewise.
8878 * dirent/fdopendir.c: Likewise.
8879 * dirent/getdents.c: Likewise.
8880 * dirent/getdents64.c: Likewise.
8881 * dirent/opendir.c: Likewise.
8882 * dirent/readdir.c: Likewise.
8883 * dirent/readdir64.c: Likewise.
8884 * dirent/readdir64_r.c: Likewise.
8885 * dirent/readdir_r.c: Likewise.
8886 * dirent/rewinddir.c: Likewise.
8887 * dirent/seekdir.c: Likewise.
8888 * dirent/telldir.c: Likewise.
8889 * gmon/profil.c: Likewise.
8890 * grp/setgroups.c: Likewise.
8891 * inet/if_index.c: Likewise.
8892 * io/access.c: Likewise.
8893 * io/chdir.c: Likewise.
8894 * io/chmod.c: Likewise.
8895 * io/chown.c: Likewise.
8896 * io/close.c: Likewise.
8897 * io/dup.c: Likewise.
8898 * io/dup2.c: Likewise.
8899 * io/dup3.c: Likewise.
8900 * io/euidaccess.c: Likewise.
8901 * io/faccessat.c: Likewise.
8902 * io/fchdir.c: Likewise.
8903 * io/fchmod.c: Likewise.
8904 * io/fchmodat.c: Likewise.
8905 * io/fchown.c: Likewise.
8906 * io/fchownat.c: Likewise.
8907 * io/fcntl.c: Likewise.
8908 * io/flock.c: Likewise.
8909 * io/fstatfs.c: Likewise.
8910 * io/fstatfs64.c: Likewise.
8911 * io/fstatvfs.c: Likewise.
8912 * io/fstatvfs64.c: Likewise.
8913 * io/futimens.c: Likewise.
8914 * io/fxstat.c: Likewise.
8915 * io/fxstat64.c: Likewise.
8916 * io/fxstatat.c: Likewise.
8917 * io/fxstatat64.c: Likewise.
8918 * io/getcwd.c: Likewise.
8919 * io/isatty.c: Likewise.
8920 * io/lchmod.c: Likewise.
8921 * io/lchown.c: Likewise.
8922 * io/link.c: Likewise.
8923 * io/linkat.c: Likewise.
8924 * io/lseek.c: Likewise.
8925 * io/lseek64.c: Likewise.
8926 * io/lxstat64.c: Likewise.
8927 * io/mkdir.c: Likewise.
8928 * io/mkdirat.c: Likewise.
8929 * io/mkfifo.c: Likewise.
8930 * io/mkfifoat.c: Likewise.
8931 * io/open.c: Likewise.
8932 * io/open64.c: Likewise.
8933 * io/openat.c: Likewise.
8934 * io/openat64.c: Likewise.
8935 * io/pipe.c: Likewise.
8936 * io/pipe2.c: Likewise.
8937 * io/poll.c: Likewise.
8938 * io/posix_fadvise.c: Likewise.
8939 * io/posix_fadvise64.c: Likewise.
8940 * io/posix_fallocate.c: Likewise.
8941 * io/posix_fallocate64.c: Likewise.
8942 * io/read.c: Likewise.
8943 * io/readlink.c: Likewise.
8944 * io/readlinkat.c: Likewise.
8945 * io/rmdir.c: Likewise.
8946 * io/sendfile.c: Likewise.
8947 * io/sendfile64.c: Likewise.
8948 * io/statfs.c: Likewise.
8949 * io/statfs64.c: Likewise.
8950 * io/statvfs.c: Likewise.
8951 * io/statvfs64.c: Likewise.
8952 * io/symlink.c: Likewise.
8953 * io/symlinkat.c: Likewise.
8954 * io/ttyname.c: Likewise.
8955 * io/ttyname_r.c: Likewise.
8956 * io/umask.c: Likewise.
8957 * io/unlink.c: Likewise.
8958 * io/unlinkat.c: Likewise.
8959 * io/utime.c: Likewise.
8960 * io/utimensat.c: Likewise.
8961 * io/write.c: Likewise.
8962 * io/xmknod.c: Likewise.
8963 * io/xmknodat.c: Likewise.
8964 * io/xstat.c: Likewise.
8965 * io/xstat64.c: Likewise.
8966 * login/getpt.c: Likewise.
8967 * login/grantpt.c: Likewise.
8968 * login/unlockpt.c: Likewise.
8969 * math/e_acoshl.c: Likewise.
8970 * math/e_acosl.c: Likewise.
8971 * math/e_asinl.c: Likewise.
8972 * math/e_atan2l.c: Likewise.
8973 * math/e_atanhl.c: Likewise.
8974 * math/e_coshl.c: Likewise.
8975 * math/e_expl.c: Likewise.
8976 * math/e_fmodl.c: Likewise.
8977 * math/e_gammal_r.c: Likewise.
8978 * math/e_hypotl.c: Likewise.
8979 * math/e_j0l.c: Likewise.
8980 * math/e_j1l.c: Likewise.
8981 * math/e_jnl.c: Likewise.
8982 * math/e_lgammal_r.c: Likewise.
8983 * math/e_log10l.c: Likewise.
8984 * math/e_log2l.c: Likewise.
8985 * math/e_logl.c: Likewise.
8986 * math/e_powl.c: Likewise.
8987 * math/e_rem_pio2l.c: Likewise.
8988 * math/e_sinhl.c: Likewise.
8989 * math/e_sqrtl.c: Likewise.
8990 * math/fclrexcpt.c: Likewise.
8991 * math/fedisblxcpt.c: Likewise.
8992 * math/feenablxcpt.c: Likewise.
8993 * math/fegetenv.c: Likewise.
8994 * math/fegetexcept.c: Likewise.
8995 * math/fegetround.c: Likewise.
8996 * math/feholdexcpt.c: Likewise.
8997 * math/fesetenv.c: Likewise.
8998 * math/fesetround.c: Likewise.
8999 * math/feupdateenv.c: Likewise.
9000 * math/fgetexcptflg.c: Likewise.
9001 * math/fraiseexcpt.c: Likewise.
9002 * math/fsetexcptflg.c: Likewise.
9003 * math/ftestexcept.c: Likewise.
9004 * math/k_cosl.c: Likewise.
9005 * math/k_rem_pio2l.c: Likewise.
9006 * math/k_sinl.c: Likewise.
9007 * math/k_tanl.c: Likewise.
9008 * math/s_asinhl.c: Likewise.
9009 * math/s_atanl.c: Likewise.
9010 * math/s_cbrtl.c: Likewise.
9011 * math/s_erfl.c: Likewise.
9012 * math/s_expm1l.c: Likewise.
9013 * math/s_log1pl.c: Likewise.
9014 * math/s_tanhl.c: Likewise.
9015 * misc/acct.c: Likewise.
9016 * misc/brk.c: Likewise.
9017 * misc/chflags.c: Likewise.
9018 * misc/chroot.c: Likewise.
9019 * misc/fchflags.c: Likewise.
9020 * misc/fgetxattr.c: Likewise.
9021 * misc/flistxattr.c: Likewise.
9022 * misc/fremovexattr.c: Likewise.
9023 * misc/fsetxattr.c: Likewise.
9024 * misc/fsync.c: Likewise.
9025 * misc/ftruncate.c: Likewise.
9026 * misc/futimes.c: Likewise.
9027 * misc/futimesat.c: Likewise.
9028 * misc/getdomain.c: Likewise.
9029 * misc/getdtsz.c: Likewise.
9030 * misc/gethostid.c: Likewise.
9031 * misc/gethostname.c: Likewise.
9032 * misc/getloadavg.c: Likewise.
9033 * misc/getpagesize.c: Likewise.
9034 * misc/getsysstats.c: Likewise.
9035 * misc/getxattr.c: Likewise.
9036 * misc/gtty.c: Likewise.
9037 * misc/ioctl.c: Likewise.
9038 * misc/lgetxattr.c: Likewise.
9039 * misc/listxattr.c: Likewise.
9040 * misc/llistxattr.c: Likewise.
9041 * misc/lremovexattr.c: Likewise.
9042 * misc/lsetxattr.c: Likewise.
9043 * misc/lutimes.c: Likewise.
9044 * misc/madvise.c: Likewise.
9045 * misc/mincore.c: Likewise.
9046 * misc/mlock.c: Likewise.
9047 * misc/mlockall.c: Likewise.
9048 * misc/mmap.c: Likewise.
9049 * misc/mprotect.c: Likewise.
9050 * misc/msync.c: Likewise.
9051 * misc/munlock.c: Likewise.
9052 * misc/munlockall.c: Likewise.
9053 * misc/munmap.c: Likewise.
9054 * misc/preadv.c: Likewise.
9055 * misc/preadv64.c: Likewise.
9056 * misc/ptrace.c: Likewise.
9057 * misc/pwritev.c: Likewise.
9058 * misc/pwritev64.c: Likewise.
9059 * misc/readv.c: Likewise.
9060 * misc/reboot.c: Likewise.
9061 * misc/remap_file_pages.c: Likewise.
9062 * misc/removexattr.c: Likewise.
9063 * misc/revoke.c: Likewise.
9064 * misc/select.c: Likewise.
9065 * misc/setdomain.c: Likewise.
9066 * misc/setegid.c: Likewise.
9067 * misc/seteuid.c: Likewise.
9068 * misc/sethostid.c: Likewise.
9069 * misc/sethostname.c: Likewise.
9070 * misc/setregid.c: Likewise.
9071 * misc/setreuid.c: Likewise.
9072 * misc/setxattr.c: Likewise.
9073 * misc/sstk.c: Likewise.
9074 * misc/stty.c: Likewise.
9075 * misc/swapoff.c: Likewise.
9076 * misc/swapon.c: Likewise.
9077 * misc/sync.c: Likewise.
9078 * misc/syncfs.c: Likewise.
9079 * misc/syscall.c: Likewise.
9080 * misc/truncate.c: Likewise.
9081 * misc/ualarm.c: Likewise.
9082 * misc/usleep.c: Likewise.
9083 * misc/ustat.c: Likewise.
9084 * misc/utimes.c: Likewise.
9085 * misc/vhangup.c: Likewise.
9086 * misc/writev.c: Likewise.
9087 * posix/_exit.c: Likewise.
9088 * posix/alarm.c: Likewise.
9089 * posix/execve.c: Likewise.
9090 * posix/fexecve.c: Likewise.
9091 * posix/fork.c: Likewise.
9092 * posix/fpathconf.c: Likewise.
9093 * posix/getaddrinfo.c: Likewise.
9094 * posix/getegid.c: Likewise.
9095 * posix/geteuid.c: Likewise.
9096 * posix/getgid.c: Likewise.
9097 * posix/getgroups.c: Likewise.
9098 * posix/getlogin.c: Likewise.
9099 * posix/getlogin_r.c: Likewise.
9100 * posix/getpgid.c: Likewise.
9101 * posix/getpid.c: Likewise.
9102 * posix/getppid.c: Likewise.
9103 * posix/getresgid.c: Likewise.
9104 * posix/getresuid.c: Likewise.
9105 * posix/getsid.c: Likewise.
9106 * posix/getuid.c: Likewise.
9107 * posix/glob64.c: Likewise.
9108 * posix/nanosleep.c: Likewise.
9109 * posix/pathconf.c: Likewise.
9110 * posix/pause.c: Likewise.
9111 * posix/posix_madvise.c: Likewise.
9112 * posix/pread.c: Likewise.
9113 * posix/pread64.c: Likewise.
9114 * posix/pwrite.c: Likewise.
9115 * posix/pwrite64.c: Likewise.
9116 * posix/sched_getaffinity.c: Likewise.
9117 * posix/sched_getp.c: Likewise.
9118 * posix/sched_gets.c: Likewise.
9119 * posix/sched_primax.c: Likewise.
9120 * posix/sched_primin.c: Likewise.
9121 * posix/sched_rr_gi.c: Likewise.
9122 * posix/sched_setaffinity.c: Likewise.
9123 * posix/sched_setp.c: Likewise.
9124 * posix/sched_sets.c: Likewise.
9125 * posix/sched_yield.c: Likewise.
9126 * posix/setgid.c: Likewise.
9127 * posix/setlogin.c: Likewise.
9128 * posix/setpgid.c: Likewise.
9129 * posix/setresgid.c: Likewise.
9130 * posix/setresuid.c: Likewise.
9131 * posix/setsid.c: Likewise.
9132 * posix/setuid.c: Likewise.
9133 * posix/sleep.c: Likewise.
9134 * posix/spawni.c: Likewise.
9135 * posix/sysconf.c: Likewise.
9136 * posix/times.c: Likewise.
9137 * posix/wait.c: Likewise.
9138 * posix/wait3.c: Likewise.
9139 * posix/wait4.c: Likewise.
9140 * posix/waitpid.c: Likewise.
9141 * resolv/gai_sigqueue.c: Likewise.
9142 * resource/getpriority.c: Likewise.
9143 * resource/getrlimit.c: Likewise.
9144 * resource/getrusage.c: Likewise.
9145 * resource/nice.c: Likewise.
9146 * resource/setpriority.c: Likewise.
9147 * resource/setrlimit.c: Likewise.
9148 * resource/ulimit.c: Likewise.
9149 * rt/aio_cancel.c: Likewise.
9150 * rt/aio_fsync.c: Likewise.
9151 * rt/aio_read.c: Likewise.
9152 * rt/aio_sigqueue.c: Likewise.
9153 * rt/aio_suspend.c: Likewise.
9154 * rt/aio_write.c: Likewise.
9155 * rt/clock_getres.c: Likewise.
9156 * rt/clock_gettime.c: Likewise.
9157 * rt/clock_nanosleep.c: Likewise.
9158 * rt/clock_settime.c: Likewise.
9159 * rt/lio_listio.c: Likewise.
9160 * rt/mq_close.c: Likewise.
9161 * rt/mq_getattr.c: Likewise.
9162 * rt/mq_notify.c: Likewise.
9163 * rt/mq_open.c: Likewise.
9164 * rt/mq_receive.c: Likewise.
9165 * rt/mq_send.c: Likewise.
9166 * rt/mq_setattr.c: Likewise.
9167 * rt/mq_timedreceive.c: Likewise.
9168 * rt/mq_timedsend.c: Likewise.
9169 * rt/mq_unlink.c: Likewise.
9170 * rt/shm_open.c: Likewise.
9171 * rt/shm_unlink.c: Likewise.
9172 * rt/timer_create.c: Likewise.
9173 * rt/timer_delete.c: Likewise.
9174 * rt/timer_getoverr.c: Likewise.
9175 * rt/timer_gettime.c: Likewise.
9176 * rt/timer_settime.c: Likewise.
9177 * setjmp/__longjmp.c: Likewise.
9178 * setjmp/setjmp.c: Likewise.
9179 * signal/kill.c: Likewise.
9180 * signal/killpg.c: Likewise.
9181 * signal/raise.c: Likewise.
9182 * signal/sigaction.c: Likewise.
9183 * signal/sigaltstack.c: Likewise.
9184 * signal/sigblock.c: Likewise.
9185 * signal/sigignore.c: Likewise.
9186 * signal/sigintr.c: Likewise.
9187 * signal/signal.c: Likewise.
9188 * signal/sigpause.c: Likewise.
9189 * signal/sigpending.c: Likewise.
9190 * signal/sigqueue.c: Likewise.
9191 * signal/sigreturn.c: Likewise.
9192 * signal/sigset.c: Likewise.
9193 * signal/sigsetmask.c: Likewise.
9194 * signal/sigstack.c: Likewise.
9195 * signal/sigsuspend.c: Likewise.
9196 * signal/sigtimedwait.c: Likewise.
9197 * signal/sigvec.c: Likewise.
9198 * signal/sigwait.c: Likewise.
9199 * signal/sigwaitinfo.c: Likewise.
9200 * signal/sysv_signal.c: Likewise.
9201 * socket/accept.c: Likewise.
9202 * socket/accept4.c: Likewise.
9203 * socket/bind.c: Likewise.
9204 * socket/connect.c: Likewise.
9205 * socket/getpeername.c: Likewise.
9206 * socket/getsockname.c: Likewise.
9207 * socket/getsockopt.c: Likewise.
9208 * socket/isfdtype.c: Likewise.
9209 * socket/listen.c: Likewise.
9210 * socket/recv.c: Likewise.
9211 * socket/recvfrom.c: Likewise.
9212 * socket/recvmsg.c: Likewise.
9213 * socket/send.c: Likewise.
9214 * socket/sendmsg.c: Likewise.
9215 * socket/sendto.c: Likewise.
9216 * socket/setsockopt.c: Likewise.
9217 * socket/shutdown.c: Likewise.
9218 * socket/sockatmark.c: Likewise.
9219 * socket/socket.c: Likewise.
9220 * socket/socketpair.c: Likewise.
9221 * stdio-common/ctermid.c: Likewise.
9222 * stdio-common/cuserid.c: Likewise.
9223 * stdio-common/remove.c: Likewise.
9224 * stdio-common/rename.c: Likewise.
9225 * stdio-common/renameat.c: Likewise.
9226 * stdio-common/tempname.c: Likewise.
9227 * stdlib/getcontext.c: Likewise.
9228 * stdlib/makecontext.c: Likewise.
9229 * stdlib/setcontext.c: Likewise.
9230 * stdlib/swapcontext.c: Likewise.
9231 * stdlib/system.c: Likewise.
9232 * streams/fattach.c: Likewise.
9233 * streams/fdetach.c: Likewise.
9234 * streams/getmsg.c: Likewise.
9235 * streams/getpmsg.c: Likewise.
9236 * streams/putmsg.c: Likewise.
9237 * streams/putpmsg.c: Likewise.
9238 * sysdeps/unix/bsd/getpt.c: Likewise.
9239 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
9240 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
9241 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9243 Likewise.
9244 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
9245 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9246 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9247 * sysvipc/msgctl.c: Likewise.
9248 * sysvipc/msgget.c: Likewise.
9249 * sysvipc/msgrcv.c: Likewise.
9250 * sysvipc/msgsnd.c: Likewise.
9251 * sysvipc/semctl.c: Likewise.
9252 * sysvipc/semget.c: Likewise.
9253 * sysvipc/semop.c: Likewise.
9254 * sysvipc/semtimedop.c: Likewise.
9255 * sysvipc/shmat.c: Likewise.
9256 * sysvipc/shmctl.c: Likewise.
9257 * sysvipc/shmdt.c: Likewise.
9258 * sysvipc/shmget.c: Likewise.
9259 * termios/tcdrain.c: Likewise.
9260 * termios/tcflow.c: Likewise.
9261 * termios/tcflush.c: Likewise.
9262 * termios/tcgetattr.c: Likewise.
9263 * termios/tcgetpgrp.c: Likewise.
9264 * termios/tcsendbrk.c: Likewise.
9265 * termios/tcsetattr.c: Likewise.
9266 * termios/tcsetpgrp.c: Likewise.
9267 * time/adjtime.c: Likewise.
9268 * time/clock.c: Likewise.
9269 * time/getitimer.c: Likewise.
9270 * time/gettimeofday.c: Likewise.
9271 * time/setitimer.c: Likewise.
9272 * time/settimeofday.c: Likewise.
9273 * time/stime.c: Likewise.
9274 * time/time.c: Likewise.
9275
92762012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 9277
a20492cf
PT
9278 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
9279 /usr/old/bin.
9280
72e182e3
PT
9281 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
9282 instead of spaces.
9283 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
9284
fbeafede
JM
92852012-11-03 Joseph Myers <joseph@codesourcery.com>
9286
5b5b04d6
JM
9287 [BZ #14796]
9288 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
9289 FE_TONEAREST before applying Dekker multiplication and Knuth
9290 addition. Clear inexact exceptions and check for exact zero
9291 results afterwards.
9292 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9293 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9294 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9295 * math/libm-test.inc (fma_test): Add more tests.
9296 (fma_test_towardzero): Likewise.
9297 (fma_test_downward): Likewise.
9298 (fma_test_upward): Likewise.
9299 * sysdeps/generic/math_private.h (default_libc_fesetround): New
9300 function.
9301 (libc_fesetround): New macro.
9302 (libc_fesetroundf): Likewise.
9303 (libc_fesetroundl): Likewise.
9304 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
9305 function.
9306 (libc_fesetround_387): Likewise.
9307 (libc_fesetroundf): New macro.
9308 (libc_fesetround): Likewise.
9309 (libc_fesetroundl): Likewise.
9310 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
9311 function.
9312 (libc_fesetroundf): New macro.
9313 (libc_fesetround): Likewise.
9314 (libc_fesetroundl): Likewise.
9315 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
9316 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
9317 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
9318 libm_hidden_ver.
9319 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
9320 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
9321 libm_hidden_def.
9322 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
9323 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
9324 libm_hidden_ver.
9325 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
9326 libm_hidden_def.
9327
fbeafede
JM
9328 [BZ #3439]
9329 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
9330 integer constant usable in #if and use that to give value to enum
9331 constant.
9332 (FE_DIVBYZERO): Likewise.
9333 (FE_UNDERFLOW): Likewise.
9334 (FE_OVERFLOW): Likewise.
9335 (FE_INVALID): Likewise.
9336 (FE_INVALID_SNAN): Likewise.
9337 (FE_INVALID_ISI): Likewise.
9338 (FE_INVALID_IDI): Likewise.
9339 (FE_INVALID_ZDZ): Likewise.
9340 (FE_INVALID_IMZ): Likewise.
9341 (FE_INVALID_COMPARE): Likewise.
9342 (FE_INVALID_SOFTWARE): Likewise.
9343 (FE_INVALID_SQRT): Likewise.
9344 (FE_INVALID_INTEGER_CONVERSION): Likewise.
9345 (FE_TONEAREST): Likewise.
9346 (FE_TOWARDZERO): Likewise.
9347 (FE_UPWARD): Likewise.
9348 (FE_DOWNWARD): Likewise.
9349 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
9350 (FE_DIVBYZERO): Likewise.
9351 (FE_OVERFLOW): Likewise.
9352 (FE_UNDERFLOW): Likewise.
9353 (FE_INEXACT): Likewise.
9354 (FE_TONEAREST): Likewise.
9355 (FE_DOWNWARD): Likewise.
9356 (FE_UPWARD): Likewise.
9357 (FE_TOWARDZERO): Likewise.
9358 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
9359 (FE_UNDERFLOW): Likewise.
9360 (FE_OVERFLOW): Likewise.
9361 (FE_DIVBYZERO): Likewise.
9362 (FE_INVALID): Likewise.
9363 (FE_TONEAREST): Likewise.
9364 (FE_TOWARDZERO): Likewise.
9365 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
9366 (FE_OVERFLOW): Likewise.
9367 (FE_UNDERFLOW): Likewise.
9368 (FE_DIVBYZERO): Likewise.
9369 (FE_INEXACT): Likewise.
9370 (FE_TONEAREST): Likewise.
9371 (FE_TOWARDZERO): Likewise.
9372 (FE_UPWARD): Likewise.
9373 (FE_DOWNWARD): Likewise.
9374 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
9375 (FE_DIVBYZERO): Likewise.
9376 (FE_OVERFLOW): Likewise.
9377 (FE_UNDERFLOW): Likewise.
9378 (FE_INEXACT): Likewise.
9379 (FE_TONEAREST): Likewise.
9380 (FE_DOWNWARD): Likewise.
9381 (FE_UPWARD): Likewise.
9382 (FE_TOWARDZERO): Likewise.
9383
105ca950
CM
93842012-11-02 Chris Metcalf <cmetcalf@tilera.com>
9385
9386 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
9387
a542b389
AS
93882012-11-03 Andreas Schwab <schwab@linux-m68k.org>
9389
9390 * scripts/cross-test-ssh.sh (command): Use newlines to separate
9391 commands. Quote $PWD.
9392 (blacklist_exports): Don't use remove_newlines. Replace "declare
9393 -x" by "export".
9394 (remove_newlines): Remove.
9395
f62c8abc
L
93962012-11-02 H.J. Lu <hongjiu.lu@intel.com>
9397
9398 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
9399 * stdlib/stdlib.h (atof): Moved to ...
9400 * include/bits/stdlib-float.h: Here. New file.
9401 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
9402 * stdlib/bits/stdlib-float.h: New file.
9403 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
9404 -mno-sse -mno-mmx.
9405 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
9406 <xmmintrin.h>.
9407
0155d5b2
JM
94082012-11-02 Joseph Myers <joseph@codesourcery.com>
9409
a68d0680
JM
9410 * conform/conformtest.pl (@headers): Add fenv.h.
9411 * conform/data/fenv.h-data: New file.
9412 * include/fenv.h [_ISOMAC]: Disable all contents of file except
9413 include of <math/fenv.h>.
9414
caf7f573
JM
9415 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
9416 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
9417 && !UNIX98]. Enables tests for XOPEN2K8.
9418 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
9419 POSIX2008]: Likewise.
9420
6c073ad6
JM
9421 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
9422 (struct rusage): Do not expect type or its members.
9423
0155d5b2
JM
9424 [BZ #3439]
9425 * math/math.h (FP_NAN): Define macro to integer constant usable in
9426 #if and use that to give value to enum constant.
9427 (FP_INFINITE): Likewise.
9428 (FP_ZERO): Likewise.
9429 (FP_SUBNORMAL): Likewise.
9430 (FP_NORMAL): Likewise.
9431
b5dcacb4
AS
94322012-11-02 Andreas Schwab <schwab@linux-m68k.org>
9433
9434 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
9435 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
9436 arguments.
9437
f7934be8
RM
94382012-11-02 Roland McGrath <roland@hack.frob.com>
9439
9440 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
9441 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
9442 autoconf-time if not.
9443 * configure.in: Remove AC_PREREQ.
9444
d7d08bde
TMQMF
94452012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9446
9447 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
9448 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
9449 of the internal implementation.
9450
dcdae19a
JM
94512012-11-02 Joseph Myers <joseph@codesourcery.com>
9452
9453 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
9454 except include of <misc/sys/syslog.h>.
9455
d6cffd3e
AS
94562012-11-01 Andreas Schwab <schwab@linux-m68k.org>
9457
9458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
9459 function returns with a NULL context exit with zero.
9460
b3563932
TMQMF
94612012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9462
9463 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
9464
b288a93d
L
94652012-11-01 H.J. Lu <hongjiu.lu@intel.com>
9466
9467 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
9468 (run_program_cmd): This.
9469 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
9470 (tst_langinfo): New variable. Use it.
9471
a2421a68
SAS
94722012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
9473
9474 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
9475 floating point opcodes.
9476
6f796e1b
TS
94772012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9478
7402596b
TS
9479 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
9480 variable.
9481
d0d4f868
TS
9482 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
9483
6f796e1b
TS
9484 * sysdeps/mach/hurd/powerpc: Remove directory.
9485 * sysdeps/mach/powerpc: Likewise.
9486
4da224a2
AS
94872012-11-01 Andreas Schwab <schwab@linux-m68k.org>
9488
9489 * scripts/check-local-headers.sh: Ignore c++ headers.
9490
341dd673
TS
94912012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9492
9493 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
9494 __libc_cleanup_region_start argument.
9495
473611b2
JM
94962012-11-01 Joseph Myers <joseph@codesourcery.com>
9497
9498 [BZ #14784]
9499 [BZ #14785]
9500 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
9501 x * y using scaling, not as x * y + z.
9502 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9503 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9504 * math/libm-test.inc (fma_test): Add more tests.
9505 (fma_test_towardzero): Likewise.
9506 (fma_test_downward): Likewise.
9507 (fma_test_upward): Likewise.
9508
4078da3d
TS
95092012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9510
9511 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
9512
903252aa
JM
95132012-10-31 Joseph Myers <joseph@codesourcery.com>
9514
9515 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
9516 New variable.
9517
cbc818d0
TS
95182012-10-31 Thomas Schwinge <thomas@codesourcery.com>
9519
9520 * rt/tst-shm.c (worker): Correct checking for mmap failure.
9521
5a03cb1e
AS
95222012-10-31 Andreas Schwab <schwab@linux-m68k.org>
9523
9524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9525 Fix sort order.
9526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9527 Likewise.
9528
90aff2ff
TMQMF
95292012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9530
9531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9532 Fix the order of the list for glibc 2.17.
9533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9534 Likewise.
9535
1818fcb7
AS
95362012-10-31 Andreas Schwab <schwab@linux-m68k.org>
9537
9538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9539
ef82f4da
JM
95402012-10-31 Joseph Myers <joseph@codesourcery.com>
9541
16a0e2ec
JM
9542 [BZ #14610]
9543 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
9544 for low part of x being zero before using __atanl (y).
9545 * math/libm-test.inc (atan2_test): Add another test.
9546
0eb69512
JM
9547 * manual/install.texi (Configuring and compiling): Document
9548 general use of test-wrapper and test-wrapper-env.
9549 * INSTALL: Regenerated.
9550
ef82f4da
JM
9551 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
9552 (__fma): Do not extract and scale down low bits on after-rounding
9553 systems when result rounded to normal precision would have normal
9554 exponent.
9555 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
9556 (__fmal): Do not extract and scale down low bits on after-rounding
9557 systems when result rounded to normal precision would have normal
9558 exponent.
9559 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
9560 (__fmal): Do not extract and scale down low bits on after-rounding
9561 systems when result rounded to normal precision would have normal
9562 exponent.
9563 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
9564 macro.
9565 (fma_test): Add more tests.
9566 (fma_test_towardzero): Likewise.
9567 (fma_test_downward): Likewise.
9568 (fma_test_upward): Likewise.
9569
954ef0d9
L
95702012-10-30 H.J. Lu <hongjiu.lu@intel.com>
9571
9572 * sysdeps/i386/tininess.h: Renamed to ...
9573 * sysdeps/x86/tininess.h: This.
9574 * sysdeps/x86_64/tininess.h: Removed.
9575
df61ffb2
JM
95762012-10-30 Joseph Myers <joseph@codesourcery.com>
9577
9578 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
9579 input. Use $(build-program-cmd).
9580 ($(objpfx)tst-array1-static.out): Likewise.
9581 ($(objpfx)tst-array2.out): Likewise.
9582 ($(objpfx)tst-array3.out): Likewise.
9583 ($(objpfx)tst-array4.out): Likewise.
9584 ($(objpfx)tst-array5.out): Likewise.
9585 ($(objpfx)tst-array5-static.out): Likewise.
9586
01767843
CM
95872012-10-30 Chris Metcalf <cmetcalf@tilera.com>
9588
47cc1490
CM
9589 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
9590 if defined.
9591
01767843
CM
9592 * nss/nsswitch.h (nss_interface_function): Provide new
9593 macro for use with NSS functions.
9594 * grp/initgroups.c: Use new macro.
9595 * nss/getXXbyYY.c: Likewise.
9596 * nss/getXXbyYY_r.c: Likewise.
9597 * nss/getXXent.c: Likewise.
9598 * nss/getXXent_r.c: Likewise.
9599 * sysdeps/posix/getaddrinfo.c: Likewise.
9600
8321aa97
AJ
96012012-10-30 Andreas Jaeger <aj@suse.de>
9602
9603 * po/ru.po: Update Russion translation from translation project.
9604
2a27fd6d
JM
96052012-10-30 Joseph Myers <joseph@codesourcery.com>
9606
8627a232
JM
9607 [BZ #14152]
9608 [BZ #14783]
9609 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
9610 result and shift together with sticky bit instead of replicating
9611 round-to-nearest rounding.
9612 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9613 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9614 * math/libm-test.inc (fma_test): Add more tests. Do not permit
9615 missing underflow exceptions.
9616 (fma_test_towardzero): Add more tests.
9617 (fma_test_downward): Likewise.
9618 (fma_test_upward): Likewise.
9619
2a27fd6d
JM
9620 [BZ #14047]
9621 * sysdeps/generic/tininess.h: New file.
9622 * sysdeps/i386/tininess.h: Likewise.
9623 * sysdeps/sh/tininess.h: Likewise.
9624 * sysdeps/x86_64/tininess.h: Likewise.
9625 * stdlib/tst-strtod-underflow.c: Likewise.
9626 * stdlib/tst-tininess.c: Likewise.
9627 * stdlib/strtod_l.c: Include <tininess.h>.
9628 (round_and_return): Do not set errno for exact underflow cases.
9629 Force an underflow exception when setting errno for underflow.
9630 Determine underflow based on rounding to normal precision if
9631 TININESS_AFTER_ROUNDING.
9632 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
9633 ERANGE for exact underflow cases.
9634 * stdlib/Makefile (tests): Add tst-tininess and
9635 tst-strtod-underflow.
9636 ($(objpfx)tst-tininess): Use $(link-libm).
9637 ($(objpfx)tst-strtod-underflow): Likewise.
9638
e7170363
AJ
96392012-10-30 Andreas Jaeger <aj@suse.de>
9640
e5088dc6
AJ
9641 [BZ#14767]
9642 * elf/Makefile (tests): Remove conditional for have-initfini-array
9643 since this is now always required and the variable does not exist
9644 anymore.
9645 (tests-static): Likewise.
9646 (modules-names): Likewise.
9647
e7170363 9648 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
9649
9650 * elf/tst-array1.c (fini_array): Make writeable so that it can be
9651 merged with constructor/destructor.
9652 (init_array): Likewise.
9653 * elf/tst-array2dep.c (fini_array): Likewise.
9654 (init_array): Likewise.
9655
60457d8a
MF
96562012-10-29 Mike Frysinger <vapier@gentoo.org>
9657
9658 * manual/message.texi: Delete @cartouche tags.
9659
8bece752
PT
96602012-10-29 Pino Toscano <toscano.pino@tiscali.it>
9661
94ce799f
PT
9662 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
9663 EOPNOTSUPP.
9664 * sysdeps/mach/hurd/fsync.c: Likewise.
9665
8bece752
PT
9666 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
9667 [_POSIX_REALTIME_SIGNALS]: Change condition to
9668 [_POSIX_REALTIME_SIGNALS > 0].
9669
86ebe6b1
AJ
96702012-10-27 Andreas Jaeger <aj@suse.de>
9671
9672 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
9673 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
9674 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
9675 [__WORDSIZE != 64]: Likewise.
9676
54399c08
L
96772012-10-26 H.J. Lu <hongjiu.lu@intel.com>
9678
9679 * iconvdata/tst-table.sh: Remove ${SHELL}.
9680 * iconvdata/tst-tables.sh: Likewise.
9681
e2211bed
DM
96822012-10-25 David S. Miller <davem@davemloft.net>
9683
9684 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9685 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
9686 of strtoull.
9687
f303f97c
DM
9688 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
9689 ifunc-impl-list.c
9690 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9691 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
9692 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
9693 file.
9694
1e9d84cd
RM
96952012-10-25 Roland McGrath <roland@hack.frob.com>
9696
9697 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9698 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
9699 __getdirentries.
9700
df381762
JM
97012012-10-25 Joseph Myers <joseph@codesourcery.com>
9702 Jim Blandy <jimb@codesourcery.com>
9703
9704 * scripts/cross-test-ssh.sh: New file.
9705 * manual/install.texi (Configuring and compiling): Document use of
9706 cross-test-ssh.sh.
9707 * INSTALL: Regenerated.
9708
bff64913
PT
97092012-10-25 Pino Toscano <toscano.pino@tiscali.it>
9710
9711 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
9712 EOPNOTSUPP.
9713
25fe8932
JM
97142012-10-25 Joseph Myers <joseph@codesourcery.com>
9715
9716 * Makeconfig (run-program-prefix): Fix comment.
9717
cc1290d0
JM
97182012-10-24 Joseph Myers <joseph@codesourcery.com>
9719 Jim Blandy <jimb@codesourcery.com>
9720
9721 * Makeconfig (test-wrapper): New variable,
9722 (test-wrapper-env): Likewise.
9723 [$(cross-compiling) = yes && $(test-wrapper) != ""]
9724 (run-built-tests): Define to yes.
9725 (run-program-prefix): Use $(test-wrapper).
9726 (built-program-cmd): Likewise.
9727 * Rules (make-test-out): Use $(test-wrapper-env) and
9728 $(host-built-program-cmd).
9729 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
9730 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
9731 tst-pathopt.sh.
9732 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
9733 $(test-wrapper-env) to tst-rtld-load-self.sh.
9734 ($(objpfx)order2.out): Use $(test-wrapper).
9735 ($(objpfx)tst-initorder.out): Likewise.
9736 ($(objpfx)tst-initorder2.out): Likewise.
9737 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
9738 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
9739 (test_wrapper_env): New variable. Use it to run ld.so.
9740 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
9741 Use it to run ld.so.
9742 (test_wrapper_env): Likewise.
9743 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
9744 $(test-wrapper) to run-iconv-test.sh.
9745 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
9746 (ICONV): Use $test_wrapper.
9747 * posix/Makefile ($(objpfx)globtest.out): Pass
9748 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
9749 globtest.sh, not $(run-program-prefix).
9750 * posix/globtest.sh (run_via_rtld_prefix): New variable.
9751 (test_wrapper): Likewise.
9752 (test_wrapper_env): Likewise. Use it to run globtest with HOME
9753 set together with run_via_rtld_prefix.
9754 (run_program_prefix): Define in terms of test_wrapper and
9755 run_via_rtld_prefix.
9756
6e6249d0
RM
97572012-10-24 Roland McGrath <roland@hack.frob.com>
9758
9759 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
9760 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
9761 Targets removed.
9762
9763 [BZ #14743]
9764 * include/time.h: Remove librt_hidden_proto (clock_gettime).
9765 Declare __clock_getres, __clock_gettime, __clock_settime,
9766 __clock_nanosleep, and __clock_getcpuclockid.
9767 * rt/clock_gettime.c: Define __clock_gettime as an alias.
9768 Remove librt_hidden_def (clock_gettime).
9769 * sysdeps/unix/clock_gettime.c: Likewise.
9770 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
9771 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9772 * rt/clock_getres.c: Define __clock_getres as an alias.
9773 * sysdeps/posix/clock_getres.c: Likewise.
9774 * rt/clock_settime.c: Define __clock_settime as an alias.
9775 * sysdeps/unix/clock_settime.c: Likewise.
9776 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
9777 * sysdeps/unix/clock_nanosleep.c: Likewise.
9778 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9779 * rt/clock-compat.c: New file.
9780 * rt/Makefile (librt-routines): Add clock-compat and move
9781 $(clock-routines) to ...
9782 (routines): ... here, new variable.
9783 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
9784 Don't add get_clockfreq here.
9785 * rt/Versions (libc: GLIBC_2.17): New version set.
9786 Add clock_* symbols here.
9787 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
9788 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
9789 (GLIBC_2.17): Add clock_* symbols.
9790 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9791 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9792 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9794 Likewise.
9795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9796 Likewise.
9797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9798 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9801 * NEWS: Mention the move.
9802
9803 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9804 Use __open, __read, __close rather than their public counterparts.
9805 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9806 (__get_clockfreq_via_cpuinfo): Likewise.
9807 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
9808 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
9809
9810 * config.h.in (HAVE_IFUNC): New #undef.
9811 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
9812 was successful.
9813 * configure: Regenerated.
9814
0cae3f4b
MF
98152012-10-24 Mike Frysinger <vapier@gentoo.org>
9816
9817 * configure.in: Move READELF check to start of file.
9818 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
9819 libc_cv_asm_gnu_indirect_function in the process.
9820 * configure: Regenerated.
9821
8175a253
MF
98222012-10-24 Mike Frysinger <vapier@gentoo.org>
9823
9824 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
9825 send the output to /dev/null.
9826 (libc_cv_cc_with_libunwind): Likewise.
9827 (libc_cv_as_noexecstack): Likewise.
9828 * configure: Regenerate.
9829
0708a7d1
JM
98302012-10-24 Joseph Myers <joseph@codesourcery.com>
9831
10b40d85
JM
9832 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
9833
0708a7d1
JM
9834 * posix/globtest.sh (TMPDIR): Do not set.
9835 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
9836 (testout): Likewise.
9837
9fddec1a
AJ
98382012-10-24 Andreas Jaeger <aj@suse.de>
9839
3a8db22f
AJ
9840 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
9841 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
9842 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
9843 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
9844 posix_fadvise64, posix_fallocate64.
9845
9fddec1a
AJ
9846 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
9847 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
9848 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
9849 Likewise.
9850 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
9851 Likewise.
9852 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
9853
9854 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
9855 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
9856 <bits/fcntl-linux.h>.
9857 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
9858
9859 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
9860 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
9861 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
9862 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
9863 [__WORDSIZE != 64]: Likewise.
9864
ebfd1bbd
JM
98652012-10-23 Joseph Myers <joseph@codesourcery.com>
9866
03ac099f
JM
9867 * Makeconfig (run-built-tests): New variable.
9868 * Rules [$(cross-compiling) = yes]: Change condition to
9869 [$(run-built-tests) = no].
9870 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
9871 to [$(run-built-tests) = yes].
9872 * elf/Makefile [$(cross-compiling) = no]: Likewise
9873 * grp/Makefile [$(cross-compiling) = no]: Likewise.
9874 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
9875 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
9876 * intl/Makefile [$(cross-compiling) = no]: Likewise.
9877 * io/Makefile [$(cross-compiling) = no]: Likewise.
9878 * libio/Makefile [$(cross-compiling) = no]: Likewise.
9879 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
9880 * misc/Makefile [$(cross-compiling) = no]: Likewise.
9881 * posix/Makefile [$(cross-compiling) = no]: Likewise.
9882 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
9883 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
9884 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
9885 * string/Makefile [$(cross-compiling) = no]: Likewise.
9886
ebfd1bbd
JM
9887 * posix/Makefile ($(objpfx)globtest.out): Pass
9888 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
9889 $(rtld-installed-name).
9890 * posix/globtest.sh (elf_objpfx): Remove variable.
9891 (rtld_installed_name): Likewise.
9892 (library_path): Likewise.
9893 (run_program_prefix): New variable. Use for running globtest
9894 binary.
9895
166bca24
JB
98962012-10-23 Jim Blandy <jimb@codesourcery.com>
9897 Joseph Myers <joseph@codesourcery.com>
9898
9899 * Makeconfig (host-built-program-cmd): New variable.
9900 * elf/Makefile (tst-stackguard1-ARGS): Use
9901 $(host-built-program-cmd).
9902 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
9903 (tst-spawn-ARGS): Likewise.
9904 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
9905
88866099
JM
99062012-10-23 Joseph Myers <joseph@codesourcery.com>
9907 Jim Blandy <jimb@codesourcery.com>
9908
9909 * Makeconfig (run-via-rtld-prefix): New variable.
9910 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
9911 (built-program-cmd): Likewise.
9912
b4b4c296
AJ
99132012-10-22 Andreas Jaeger <aj@suse.de>
9914
9915 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
9916 __O_RSYNC if it exists, otherwise to O_SYNC.
9917
6fb54a22
JB
99182012-10-22 Jim Blandy <jimb@codesourcery.com>
9919 Joseph Myers <joseph@codesourcery.com>
9920
9921 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
9922 /dev/null.
9923 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
9924 from /dev/null
9925 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
9926 /dev/null.
9927
481b90b9
AJ
99282012-10-22 Andreas Jaeger <aj@suse.de>
9929
2a0e2669
AJ
9930 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
9931 Define always.
9932 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
9933
76e38f9a
AJ
9934 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9935 bits/fcntl-linux.h.
9936
7cd37b43
AJ
9937 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
9938 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
9939
481b90b9
AJ
9940 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
9941 to __O_LARGEFILE.
9942 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
9943 to __O_LARGEFILE.
9944
aba75984
JB
99452012-10-21 Jim Blandy <jimb@codesourcery.com>
9946 Joseph Myers <joseph@codesourcery.com>
9947
9948 * config.make.in (NM): New variable.
9949
88d4247f
AJ
99502012-10-21 Andreas Jaeger <aj@suse.de>
9951
9952 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
9953 definitions and declarations that are provided by
9954 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9955
f2eed205
L
99562012-10-20 H.J. Lu <hongjiu.lu@intel.com>
9957
9958 [BZ #14683]
9959 * elf/Makefile (tests-static): Add tst-leaks1-static.
9960 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
9961 ($(objpfx)tst-leaks1-static): New rule.
9962 ($(objpfx)tst-leaks1-static-mem): Likewise.
9963 (tst-leaks1-static-ENV): New macro.
9964 * elf/dl-open.c (dl_open_worker): Check the main application
9965 only if SHARED is defined.
9966 * elf/tst-leaks1-static.c: New file.
9967
335e6931
AJ
99682012-10-20 Andreas Jaeger <aj@suse.de>
9969
9970 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
9971 generic values for Linux.
9972 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
9973 and declarations that are provided by <bits/fcntl-linux.h> and
9974 include <bits/fcntl-linux.h>.
9975 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9976 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9977
ac5c94d3
RM
99782012-10-20 Roland McGrath <roland@hack.frob.com>
9979
9980 * io/fcntl.h: Move include of <bits/types.h> to the top and
9981 include it unconditionally.
9982
de54b33a
L
99832012-10-20 H.J. Lu <hongjiu.lu@intel.com>
9984
228cfb01
L
9985 * wcsmbs/Makefile (tests-ifunc): New variable.
9986 (tests): Add $(tests-ifunc).
9987 * wcsmbs/test-wcschr-ifunc.c: New file.
9988 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9989 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9990 * wcsmbs/test-wcslen-ifunc.c: Likewise.
9991 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9992 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9993
69f07e5f
L
9994 * string/Makefile (tests-ifunc): New variable.
9995 (tests): Add $(tests-ifunc).
9996 * string/test-memccpy.c (TEST_NAME): New macro.
9997 * string/test-memchr.c (TEST_NAME): Likewise.
9998 * string/test-memcmp.c (TEST_NAME): Likewise.
9999 * string/test-memcpy.c (TEST_NAME): Likewise.
10000 * string/test-memmem.c (TEST_NAME): Likewise.
10001 * string/test-memmove.c (TEST_NAME): Likewise.
10002 * string/test-memset.c (TEST_NAME): Likewise.
10003 * string/test-rawmemchr.c (TEST_NAME): Likewise.
10004 * string/test-stpcpy.c (TEST_NAME): Likewise.
10005 * string/test-stpncpy.c (TEST_NAME): Likewise.
10006 * string/test-strcasecmp.c (TEST_NAME): Likewise.
10007 * string/test-strcasestr.c (TEST_NAME): Likewise.
10008 * string/test-strcat.c (TEST_NAME): Likewise.
10009 * string/test-strchr.c (TEST_NAME): Likewise.
10010 * string/test-strcmp.c(TEST_NAME): Likewise.
10011 * string/test-strcpy.c (TEST_NAME): Likewise.
10012 * string/test-strcspn.c (TEST_NAME): Likewise.
10013 * string/test-strlen.c (TEST_NAME): Likewise.
10014 * string/test-strncasecmp.c (TEST_NAME): Likewise.
10015 * string/test-strncmp.c (TEST_NAME): Likewise.
10016 * string/test-strncpy.c (TEST_NAME): Likewise.
10017 * string/test-strnlen.c (TEST_NAME): Likewise.
10018 * string/test-strpbrk.c (TEST_NAME): Likewise.
10019 * string/test-strrchr.c (TEST_NAME): Likewise.
10020 * string/test-strspn.c (TEST_NAME): Likewise.
10021 * string/test-strstr.c (TEST_NAME): Likewise.
10022 * string/test-bcopy-ifunc.c: New file.
10023 * string/test-bzero-ifunc.c: Likewise.
10024 * string/test-memccpy-ifunc.c: Likewise.
10025 * string/test-memchr-ifunc.c: Likewise.
10026 * string/test-memcmp-ifunc.c: Likewise.
10027 * string/test-memcpy-ifunc.c: Likewise.
10028 * string/test-memmem-ifunc.c: Likewise.
10029 * string/test-memmove-ifunc.c: Likewise.
10030 * string/test-mempcpy-ifunc.c: Likewise.
10031 * string/test-memset-ifunc.c: Likewise.
10032 * string/test-rawmemchr-ifunc.c: Likewise.
10033 * string/test-stpcpy-ifunc.c: Likewise.
10034 * string/test-stpncpy-ifunc.c: Likewise.
10035 * string/test-strcasecmp-ifunc.c: Likewise.
10036 * string/test-strcasestr-ifunc.c: Likewise.
10037 * string/test-strcat-ifunc.c: Likewise.
10038 * string/test-strchr-ifunc.c: Likewise.
10039 * string/test-strchrnul-ifunc.c: Likewise.
10040 * string/test-strcmp-ifunc.c: Likewise.
10041 * string/test-strcpy-ifunc.c: Likewise.
10042 * string/test-strcspn-ifunc.c: Likewise.
10043 * string/test-strlen-ifunc.c: Likewise.
10044 * string/test-strncasecmp-ifunc.c: Likewise.
10045 * string/test-strncat-ifunc.c: Likewise.
10046 * string/test-strncmp-ifunc.c: Likewise.
10047 * string/test-strncpy-ifunc.c: Likewise.
10048 * string/test-strnlen-ifunc.c: Likewise.
10049 * string/test-strpbrk-ifunc.c: Likewise.
10050 * string/test-strrchr-ifunc.c: Likewise.
10051 * string/test-strspn-ifunc.c: Likewise.
10052 * string/test-strstr-ifunc.c: Likewise.
10053
de54b33a
L
10054 * debug/Makefile (tests-ifunc): New variable.
10055 (tests): Add $(tests-ifunc).
10056 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
10057 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
10058 * debug/test-stpcpy_chk-ifunc.c: New file.
10059 * debug/test-strcpy_chk-ifunc.c: Likewise.
10060
88481c16
SP
100612012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10062
10063 [BZ #13601]
10064 * elf/dl-load.c (open_verify): Retry read if the entire ELF
10065 header is not read in.
10066
135948bd
JM
100672012-10-19 Joseph Myers <joseph@codesourcery.com>
10068
89f1c388
JM
10069 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
10070 script to $(SHELL) as $<. Pass $(common-objpfx) to script
10071 directly. Pass built executable to script as
10072 $(built-program-cmd).
10073 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
10074 $testprogram without using LD_LIBRARY_PATH and $ldso.
10075
e40a0d21
JM
10076 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
10077 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
10078 $(rtld-installed-name).
10079 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
10080 (rtld_installed_name): Likewise.
10081 (library_path): Likewise.
10082 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
10083 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
10084 $(run-program-prefix) to tst-tables.sh.
10085 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
10086 it to run tst-table-from and tst-table-to.
10087 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
10088 Pass it to tst-table.sh.
10089 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
10090 $(run-program-prefix) to tst-gettext.sh.
10091 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
10092 tst-translit.sh.
10093 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
10094 tst-gettext2.sh.
10095 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
10096 to run tst-gettext.
10097 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
10098 to run tst-gettext2.
10099 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
10100 to run tst-translit.
10101 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
10102 $(run-program-prefix) to tst-mtrace.sh.
10103 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
10104 to run tst-mtrace.
10105 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
10106 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
10107 $(rtld-installed-name).
10108 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
10109 (rtld_installed_name): Likewise.
10110 (run_program_prefix): New variable. Use it to run wordexp-test.
10111
728e272a
JM
10112 * Makeconfig (ARCH): Remove all definitions.
10113 (machine): Likewise.
10114 [ARCH]: Remove conditional code.
10115 [!objdir]: Give error.
10116 [!objdir] (objpfx): Remove.
10117 [!objdir] (common-objpfx): Likewise.
10118 [!objdir] (common-objdir): Likewise.
10119 * configure.in (config_makefile): Remove. Hardcode Makefile in
10120 AC_CONFIG_FILES call.
10121 * configure: Regenerated.
10122
d528cdcf
JM
10123 [BZ #13888]
10124 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
10125 or TMPDIR.
10126 (testout): Likewise.
10127
135948bd
JM
10128 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
10129 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
10130 $(rtld-installed-name).
10131 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
10132 (rtld_installed_name): Likwise.
10133 (runit): Remove function.
10134 (run_getconf): New variable, Use it for running getconf binary.
10135
38c78296
L
101362012-10-18 H.J. Lu <hongjiu.lu@intel.com>
10137
10138 [BZ #14716]
10139 * string/test-memmem.c (check_result): New function.
10140 (do_one_test): Use it.
10141 (check1): New function.
10142 (test_main): Use it.
10143
d077f65f
MT
101442012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
10145
10146 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
10147
ced52c71
JM
101482012-10-18 Joseph Myers <joseph@codesourcery.com>
10149
10150 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
10151 (_G_LSEEK64): Likewise.
10152 (_G_MMAP64): Likewise.
10153 (_G_FSTAT64): Likewise.
10154 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
10155 (_G_LSEEK64): Likewise.
10156 (_G_MMAP64): Likewise.
10157 (_G_FSTAT64): Likewise.
10158 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
10159 unconditional. Call __mmap64 directly.
10160 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
10161 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
10162 __lseek64 directly.
10163 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
10164 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
10165 __mmap64 directly.
10166 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
10167 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
10168 __lseek64 directly.
10169 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
10170 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
10171 __lseek64 directly.
10172 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
10173 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
10174 __lseek64 directly.
10175 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
10176 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
10177 __fxstat64 directly.
10178 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
10179 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
10180 unconditional.
10181 (freopen64) [!_G_OPEN64]: Remove conditional code.
10182 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
10183 unconditional.
10184 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
10185 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
10186 unconditional.
10187 (ftello64) [!_G_LSEEK64]: Remove conditional code.
10188 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
10189 unconditional.
10190 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10191 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
10192 unconditional.
10193 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
10194 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
10195 unconditional.
10196 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10197 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
10198 unconditional.
10199 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10200 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
10201 unconditional.
10202 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10203
b741de23
SP
102042012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10205
10206 [BZ #12140]
10207 * manual/memory.texi (Malloc Tunable Parameters): Add note
10208 about free list pointers overwriting some perturb bytes.
10209 Wording suggested by Roland McGrath.
10210
f9b9d9c9
JM
102112012-10-17 Joseph Myers <joseph@codesourcery.com>
10212
10213 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
10214 (lgamma_test): Likewise.
10215 (tgamma_test): Likewise.
10216
172a631a
FW
102172012-10-16 Florian Weimer <fweimer@redhat.com>
10218
10219 [BZ #14700]
10220 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
10221 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
10222
e9f37252
MK
102232012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
10224
10225 * NEWS: Mention BZ #14716.
10226 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
10227 when removing AVAILABLE1_USES_J macro.
10228
d394eb74
L
102292012-10-12 H.J. Lu <hongjiu.lu@intel.com>
10230
10231 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
10232 (__bswap_64): __uint64_t for unsigned 64-bit int.
10233
ca38dc17
AS
102342012-10-12 Andreas Schwab <schwab@linux-m68k.org>
10235
10236 * include/string.h (memmem): Declare libc hidden alias.
10237 * string/memmem.c (memmem): Define libc hidden alias.
10238 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
10239 __read, __close instead of open, read, close.
10240
9a387d1f
L
102412012-10-11 H.J. Lu <hongjiu.lu@intel.com>
10242
ac49ecaf
L
10243 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
10244 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
10245 global and hidden.
10246 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
10247 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
10248 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
10249 Likewise.
10250 (__rawmemchr_sse2): Likewise.
10251 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
10252 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
10253 (__strchr_sse2): Likewise.
10254 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
10255 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
10256 (__strcasecmp_sse2): Likewise.
10257 (__strncasecmp_sse2): Likewise.
10258 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
10259 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
10260 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
10261 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
10262 (__strrchr_sse2): Likewise.
10263 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
10264 ifunc-impl-list.c.
10265 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10266 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10267 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10268 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10269 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10270 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10271 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10272 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10273 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
10274 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
10275 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
10276 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
10277 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
10278 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10279 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10280 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10281 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10282 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10283 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
10284 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
10285 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
10286 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
10287 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
10288 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10289 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
10290 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10291 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10292 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10293 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10294 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10295
b090e8ea
L
10296 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
10297 global and hidden.
10298 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
10299 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
10300 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
10301 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
10302 Likewise.
10303 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
10304 Likewise.
10305 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
10306 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
10307 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
10308 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
10309 ifunc-impl-list.c.
10310 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10311 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10312 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10313 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10314 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10315 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10316 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10317 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10318 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10319 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10320 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10321 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10322 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10323 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
10324 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
10325 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10326 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
10327 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
10328 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10329 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10330 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10331 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10332 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10333 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10334 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10335 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
10336 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
10337 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
10338 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
10339 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10340 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
10341 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10342 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10343 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
10344 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10345 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10346 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10347 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10348 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10349 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10350 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
10351
11dd4af6
L
10352 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
10353 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
10354 * include/ifunc-impl-list.h: New file.
10355 * misc/ifunc-impl-list.c: Likewise.
10356 * misc/Makefile (routines): Add ifunc-impl-list.
10357 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
10358 * string/test-string.h: Include <ifunc-impl-list.h>.
10359 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
10360 impl_array): New variables.
10361 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
10362 are defined.
10363 (test_init): Call __libc_ifunc_impl_list to initialize
10364 func_list if TEST_IFUNC and TEST_NAME are defined.
10365
9a387d1f
L
10366 * string/Makefile (strop-tests): Add bcopy and bzero.
10367 * string/test-bcopy.c: New file.
10368 * string/test-bzero.c: Likewise.
10369 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
10370 defined.
10371 * string/test-memset.c: Support bzero test if TEST_BZERO is
10372 defined.
10373 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
10374 __libc_memmove.
10375 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
10376 __libc_memset.
10377 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
10378 of memset.
10379
472371b9
JM
103802012-10-10 Joseph Myers <joseph@codesourcery.com>
10381
1e4a9536
JM
10382 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
10383 * configure: Regenerated.
10384
d173d12e
JM
10385 * Makeconfig (+link-static-before-libc): Don't include
10386 $(link-static-libc).
10387
472371b9
JM
10388 * libio/libio.h (_IO_pos_t): Remove.
10389
89a3ad0b
AO
103902012-10-10 Alexandre Oliva <aoliva@redhat.com>
10391
10392 * NEWS: Add note about FIPS mode. Wording suggested by Roland
10393 McGrath.
10394
e7451425
AO
103952012-10-10 Alexandre Oliva <aoliva@redhat.com>
10396
10397 * crypt/crypt-entry.c: Include fips-private.h.
10398 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
10399 * crypt/md5c-test.c (main): Tolerate disabled MD5.
10400 * sysdeps/unix/sysv/linux/fips-private.h: New file.
10401 * sysdeps/generic/fips-private.h: New file, dummy fallback.
10402
4ba74a35
AO
104032012-10-10 Alexandre Oliva <aoliva@redhat.com>
10404
10405 * crypt/crypt-private.h: Include stdbool.h.
10406 (_ufc_setup_salt_r): Return bool.
10407 * crypt/crypt-entry.c: Include errno.h.
10408 (__crypt_r): Return NULL with EINVAL for bad salt.
10409 * crypt/crypt_util.c (bad_for_salt): New.
10410 (_ufc_setup_salt_r): Check that salt is long enough and within
10411 the specified alphabet.
10412 * crypt/badsalttest.c: New file.
10413 * crypt/Makefile (tests): Add it.
10414 ($(objpfx)badsalttest): New.
10415
f96f1242
MK
104162012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
10417
10418 * NEWS: Add entry for BZ #14602.
10419
0e8e0c1c
JM
104202012-10-09 Joseph Myers <joseph@codesourcery.com>
10421
10422 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
10423 type-generic.
10424 * math/libm-test.inc: Update comment listing what functions and
10425 macros are tested.
10426 (isgreater_test): New function.
10427 (isgreaterequal_test): Likewise.
10428 (isless_test): Likewise.
10429 (islessequal_test): Likewise.
10430 (islessgreater_test): Likewise.
10431 (isunordered_test): Likewise.
10432 (main): Call the new functions.
10433
273edc5e
RM
104342012-10-09 Roland McGrath <roland@hack.frob.com>
10435
b8493de0
RM
10436 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
10437 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
10438 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
10439 * sysdeps/i386/configure: Regenerated.
10440 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
10441 * sysdeps/mach/configure: Regenerated.
10442 * sysdeps/mach/hurd/configure: Regenerated.
10443 * sysdeps/powerpc/configure: Regenerated.
10444 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10445 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10446 * sysdeps/s390/s390-32/configure: Regenerated.
10447 * sysdeps/s390/s390-64/configure: Regenerated.
10448 * sysdeps/sh/configure: Regenerated.
10449 * sysdeps/sparc/configure: Regenerated.
10450 * sysdeps/unix/sysv/linux/configure: Regenerated.
10451 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10452 * sysdeps/x86_64/configure: Regenerated.
10453
273edc5e
RM
10454 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
10455 defined. Don't check if MAP is NULL.
10456
c8450f70
JM
104572012-10-09 Joseph Myers <joseph@codesourcery.com>
10458
10459 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
10460 (_G_stat64): Likewise.
10461 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
10462 (_G_stat64): Likewise.
10463 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
10464 instead of struct _G_stat64.
10465 * libio/fileops.c (mmap_remap_check): Likewise.
10466 (decide_maybe_mmap): Likewise.
10467 (_IO_new_file_seekoff): Likewise.
10468 (_IO_file_stat): Likewise.
10469 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
10470 _G_off64_t.
10471 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
10472 instead of struct _G_stat64.
10473 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10474
57e605ba
MK
104752012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
10476
10477 [BZ #14602]
10478 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10479 Replace with ...
10480 (CHECK_EOL): New macro.
10481 (two_way_short_needle): Check beginning of haystack for EOL. Use
10482 CHECK_EOL.
10483 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10484 Replace with CHECK_EOL.
10485 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10486 Replace with CHECK_EOL.
10487
ef1bb361
JM
104882012-10-08 Joseph Myers <joseph@codesourcery.com>
10489
10490 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
10491 type-generic.
10492 * math/libm-test.inc: Update comment listing what functions and
10493 macros are tested.
10494 (finite_test): New function.
10495 (isinf_test): Likewise.
10496 (isnan_test): Likewise.
10497 (fpclassify_test): Test subnormal input.
10498 (isfinite_test): Likewise.
10499 (isnormal_test): Likewise.
10500 (main): Call the new functions.
10501
55f11534
JN
105022012-10-08 Jonathan Nieder <jrnieder@gmail.com>
10503
10504 [BZ #14660]
10505 * Makerules (%.dynsym): Force C locale when running
10506 $(OBJDUMP) --dynamic-syms.
10507
1ab29350
AS
105082012-10-08 Andreas Schwab <schwab@linux-m68k.org>
10509
10510 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
10511 <stdint.h>.
10512
f1ecb7ef
DM
105132012-10-06 David S. Miller <davem@davemloft.net>
10514
10515 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
10516 upper 32-bits of the length value in %o2 since we use branch-on-register
10517 tests which consider the entire 64-bit register.
10518
5d41d91a
L
105192012-10-06 H.J. Lu <hongjiu.lu@intel.com>
10520
10521 * string/test-strstr.c (check2): Add a test for page boundary.
10522
3baddb72
DM
105232012-10-05 David S. Miller <davem@davemloft.net>
10524
10525 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
10526 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
10527 file.
10528 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10529 sysdep_routines.
10530 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10531 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
10532 and bzero when HWCAP_SPARC_CRYPTO is present.
10533
9cee5585
L
105342012-10-05 H.J. Lu <hongjiu.lu@intel.com>
10535
d7e0dab9
L
10536 [BZ #14602]
10537 * string/test-strstr.c (check2): New function.
10538 (test_main): Call check2.
10539
03759f47
L
10540 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
10541 and bug-strchr1.
10542 * string/bug-strcasestr1.c (do_test): Moved to ...
10543 * string/test-strcasestr.c (check1): Here. New function.
10544 (do_one_test): Break out result checking code into ...
10545 (check_result): This. New function.
10546 (do_one_test): Call check_result.
10547 (test_main): Call check1.
10548 * string/bug-strchr1.c (do_test): Moved to ...
10549 * string/test-strchr.c (check1): Here. New function.
10550 (do_one_test): Break out result checking code into ...
10551 (check_result): This. New function.
10552 (do_one_test): Call check_result.
10553 (test_main): Call check1.
10554 * string/bug-strstr1.c (main): Moved to ...
046f153e 10555 * string/test-strstr.c (check1): Here. New function.
03759f47
L
10556 (do_one_test): Break out result checking code into ...
10557 (check_result): This. New function.
10558 (do_one_test): Call check_result.
10559 (test_main): Call check1.
10560 * string/bug-strcasestr1.c: Removed.
10561 * string/bug-strchr1.c: Likewise.
10562 * string/bug-strstr1.c: Likewise.
10563
53cea63e
L
10564 * elf/Makefile (dl-routines): Add hwcaps.
10565 * elf/dl-support.c (_dl_important_hwcaps): Removed.
10566 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
10567 (_dl_important_hwcaps): Moved to ...
10568 * elf/dl-hwcaps.c: Here. New file.
10569 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
10570
9cee5585 10571 [BZ #14557]
bb859b06
L
10572 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
10573 if IS_IN_rtld isn't defined.
10574
9cee5585
L
10575 * elf/dl-support.c (_dl_sysinfo_map): New.
10576 Include "get-dynamic-info.h" and "setup-vdso.h".
10577 (_dl_non_dynamic_init): Call setup_vdso.
10578 * elf/dynamic-link.h: Don't include <assert.h>.
10579 (elf_get_dynamic_info): Moved to ...
10580 * elf/get-dynamic-info.h: Here. New file.
10581 * elf/dynamic-link.h: Include "get-dynamic-info.h".
10582 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
10583 * elf/setup-vdso.h: Here. New file.
10584 * elf/rtld.c: Include "setup-vdso.h".
10585 (dl_main): Call setup_vdso.
10586
23c31b76
JM
105872012-10-05 Joseph Myers <joseph@codesourcery.com>
10588
28234b07
JM
10589 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
10590 creal in comment listing functions tested. List finite, isinf,
10591 isnan, isless, islessequal, isgreater, isgreaterequal,
10592 islessgreater, isunordered, lgamma_r and pow10 as functions and
10593 macros not tested. Mention which functions not tested are aliases
10594 for other functions. Fix typo. Note that signs of NaNs are not
10595 tested.
10596
23c31b76
JM
10597 * scripts/config.guess: Update from config.git.
10598 * scripts/config.sub: Likewise.
10599
9043e228
RM
106002012-10-04 Roland McGrath <roland@hack.frob.com>
10601
10602 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
10603 * misc/madvise.c (madvise): Renamed to __madvise.
10604 Make madvise a weak alias.
10605 * include/sys/mman.h: Declare __madvise.
10606 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
10607 * sysdeps/unix/syscalls.list
10608 (madvise): Make __madvise the strong name, and madvise a weak alias.
10609 * sysdeps/unix/sysv/linux/syscalls.list
10610 (madvise, mmap): Remove redundant entries.
10611 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
10612 * malloc/malloc.c (mtrim): Likewise.
10613 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
10614
f57f8055
RM
106152012-10-03 Roland McGrath <roland@hack.frob.com>
10616
10617 * sysdeps/mach/hurd/dl-cache.c: File removed.
10618 * config.h.in (USE_LDCONFIG): New #undef.
10619 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
10620 * configure: Regenerated.
10621 * elf/Makefile (dl-routines): Add dl-cache only under
10622 [$(use-ldconfig) = yes].
10623 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
10624 cache on [USE_LDCONFIG].
10625 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
10626 [USE_LDCONFIG].
10627 * elf/rtld.c (dl_main): Likewise.
10628
5bb0c10a
PT
106292012-10-03 Pino Toscano <toscano.pino@tiscali.it>
10630
10631 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
10632 _SC_LEVEL4_CACHE_LINESIZE.
10633
010188c6
RM
106342012-10-03 Roland McGrath <roland@hack.frob.com>
10635
10636 * sysdeps/unix/bsd/confstr.h: File removed.
10637
b6c5ec07
AO
106382012-10-02 Alexandre Oliva <aoliva@redhat.com>
10639
10640 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
10641 sys/sdt-config.h.
10642
408223d4
RM
106432012-10-02 Roland McGrath <roland@hack.frob.com>
10644
10645 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
10646 Make 'mapoff' field ElfW(Off) rather than off_t.
10647
bb9510dc
DL
106482012-10-02 Dmitry V. Levin <ldv@altlinux.org>
10649
fc997c6e
DL
10650 * nscd/Makefile: Remove nscd-cflags and all its users.
10651 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
10652 (CFLAGS-nonlib): Add compiler flags for nscd modules.
10653
bb9510dc
DL
10654 [BZ #10631]
10655 * malloc.c (malloc_printerr): Clarify error message.
10656
05699367
L
106572012-10-02 H.J. Lu <hongjiu.lu@intel.com>
10658
10659 [BZ #14648]
10660 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10661 Set bit_FMA_Usable if FMA is supported.
10662 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
10663 macro.
10664 (bit_FMA4_Usable): Updated.
10665 (index_FMA_Usable): New macro.
10666 (CPUID_FMA): Likewise
10667 (HAS_FMA): Defined with bit_FMA_Usable.
10668
51367701
RM
106692012-10-01 Roland McGrath <roland@hack.frob.com>
10670
10671 * bits/types.h (__swblk_t): Type removed.
10672 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
10673 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
10674 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10675 (__SWBLK_T_TYPE): Likewise.
10676 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10677 (__SWBLK_T_TYPE): Likewise.
10678 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10679 (__SWBLK_T_TYPE): Likewise.
10680 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10681 (__SWBLK_T_TYPE): Likewise.
10682
4d57bf63 106832012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 10684 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
10685
10686 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
10687 (xdr_mapname): Use YPMAXMAP as maxsize.
10688 (xdr_peername): Use YPMAXPEER as maxsize.
10689 (xdr_keydat): Use YPAXRECORD as maxsize.
10690 (xdr_valdat): Use YPMAXRECORD as maxsize.
10691
93c65d43
RM
106922012-10-01 Roland McGrath <roland@hack.frob.com>
10693
497a03d6
RM
10694 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
10695
93c65d43
RM
10696 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
10697 * csu/init-first.c: ... here.
10698 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
10699 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
10700 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10701 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10702 * sysdeps/i386/init-first.c: File removed.
10703 * sysdeps/sh/init-first.c: File removed.
10704
bec749fd
JM
107052012-10-01 Joseph Myers <joseph@codesourcery.com>
10706
10707 [BZ #14645]
10708 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
10709 if x * y might underflow to zero and z is zero.
10710 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10711 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10712 * math/libm-test.inc (min_subnorm_value): New variable.
10713 (fma_test): Add more tests.
10714 (fma_test_towardzero): Likewise.
10715 (fma_test_downward): Likewise
10716 (fma_test_upward): Likewise.
10717 (initialize): Set min_subnorm_value.
10718
8ec5b013
JM
107192012-09-29 Joseph Myers <joseph@codesourcery.com>
10720
10721 [BZ #14638]
10722 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
10723 0 + 0.
10724 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
10725 mode for addition resulting in exact zero.
10726 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
10727 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
10728 exact 0 + 0.
10729 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10730 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10731 * math/libm-test.inc (fma_test): Add more tests.
10732 (fma_test_towardzero): New function.
10733 (fma_test_downward): Likewise.
10734 (fma_test_upward): Likewise.
10735 (main): Call the new functions.
10736
b1fa802e
DM
107372012-09-28 David S. Miller <davem@davemloft.net>
10738
10739 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
10740
d3b9fd9e
RM
107412012-09-28 Roland McGrath <roland@hack.frob.com>
10742
ea4d37b3
RM
10743 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
10744 instead of SIGALRM.
10745
ac51c949
RM
10746 * sysdeps/gnu/_G_config.h: Moved to ...
10747 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
10748 * sysdeps/mach/hurd/_G_config.h: Moved to ...
10749 * sysdeps/generic/_G_config.h: ... here.
10750
28c195f7
RM
10751 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
10752
848917f9
RM
10753 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
10754
6bacf05b
RM
10755 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
10756 Conditionalize target on [libnss_test1.so-version].
10757
91363dbb
RM
10758 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
10759
cc87f7d8
RM
10760 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
10761 (elfobjdir): Move out of conditionals.
10762
b1c608fe
RM
10763 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
10764 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
10765 (__nss_lookup_function): Conditionalize label remove_from_tree on
10766 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 10767
1d9a6d96
DM
107682012-09-28 David S. Miller <davem@davemloft.net>
10769
10770 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
10771 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
10772 file.
10773 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10774 sysdep_routines.
10775 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10776 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
10777 when HWCAP_SPARC_CRYPTO is present.
10778
72581615
PT
107792012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10780
10781 * io/tst-mknodat.c: Create a FIFO instead of a socket.
10782
715a900c
JL
107832012-09-28 Andreas Schwab <schwab@linux-m68k.org>
10784
10785 [BZ #6530]
10786 * stdio-common/vfprintf.c (process_string_arg): Revert
10787 2000-07-22 change.
10788
107892011-09-28 Jonathan Nieder <jrnieder@gmail.com>
10790
10791 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
10792 for testcase.
10793 * stdio-common/tst-sprintf.c: Include <locale.h>
10794 (main): Test sprintf's handling of incomplete multibyte
10795 characters.
10796
9bac1d86
L
107972012-09-28 H.J. Lu <hongjiu.lu@intel.com>
10798
10799 * elf/dl-runtime.c (VERSYMIDX): Removed.
10800 * elf/dl-version.c (VERSYMIDX): Likewise.
10801 * elf/do-rel.h (VERSYMIDX): Likewise.
10802 (VALIDX): Likewise.
10803 * elf/dynamic-link.h (VERSYMIDX): Likewise.
10804 * elf/rtld.c (VALIDX): Likewise.
10805 (ADDRIDX): Likewise.
9bac1d86
L
10806 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
10807 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
10808 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
10809 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
10810 (VALIDX): Likewise.
10811 (ADDRIDX): Likewise.
9bac1d86 10812
b31606c0
PT
108132012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10814
10815 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
10816
11541177
JL
108172012-09-28 Dmitry V. Levin <ldv@altlinux.org>
10818
10819 [BZ #11438]
10820 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
10821 to global scope.
10822 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
10823 addresses are in the same scope as 192.0.2/24.
10824 * posix/gai.conf: Document new scope table defaults.
10825
adb26fae
SP
108262012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10827
10828 [BZ #5298]
10829 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
10830 for ftell. Compute offsets from write pointers instead.
10831 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10832
4573c6b0
SP
108332012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10834
10835 [BZ #14543]
10836 * libio/Makefile (tests): New test case tst-fseek.
10837 * libio/tst-fseek.c: New test case to verify that fseek/ftell
10838 combination works in wide mode.
10839 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
10840 state when the external buffer state changes.
10841
aa9bbfe6
DM
108422012-09-27 David S. Miller <davem@davemloft.net>
10843
10844 [BZ #14376]
10845 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
10846 pass reloc->r_addend in as the 'high' argument to
10847 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
10848
784421e7
DM
10849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10850
c39bc8b8
PT
108512012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10852
10853 * rt/tst-aio2.c: Include <pthread.h>.
10854 * rt/tst-aio3.c: Likewise.
10855
1ccc2399
SE
108562012-09-27 Steve Ellcey <sellcey@mips.com>
10857
10858 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
10859
31ed4153
L
108602012-09-27 H.J. Lu <hongjiu.lu@intel.com>
10861
25f5f885
L
10862 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
10863 contents on [SHARED].
31ed4153 10864
b7bfe116
MP
108652012-09-26 Marek Polacek <polacek@redhat.com>
10866
10867 [BZ #14530]
10868 [BZ #13741]
10869 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
10870 for C++ and GCC <4.3 as well as for non GCC compilers.
10871
43c4edba
MT
108722012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10873
10874 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10875
6a1bf82f
RM
108762012-09-25 Roland McGrath <roland@hack.frob.com>
10877
10878 * Makefile.in (all, install): Declare with .PHONY.
10879 Reported by Michael Hope <michael.hope@linaro.org>.
10880
8ad11b9a
TMQMF
108812012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10882
10883 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
10884 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
10885 system header.
10886 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
10887 Likewise.
10888 (sydep_routines): Add the new and the internal functions.
10889 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
10890 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
10891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
10892 (GLIBC_2.17): Add the new function.
10893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10894 (GLIBC_2.17): Likewise.
10895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
10896 (GLIBC_2.17): Likewise.
10897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
10898 (GLIBC_2.17): Likewise.
10899 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
10900
7e2fca8d
AM
109012012-09-25 Alan Modra <amodra@gmail.com>
10902
10903 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
10904 Add release barrier before setting once_control to say
10905 initialisation is done. Add hints on lwarx. Use macro in
10906 place of isync.
10907 (clear_once_control): Add release barrier.
10908
b87c4b24
JM
109092012-09-25 Joseph Myers <joseph@codesourcery.com>
10910
d032e0d2
JM
10911 [BZ #13629]
10912 * math/s_clog.c (__clog): Handle more values close to |z| = 1
10913 specially.
10914 * math/s_clog10.c (__clog10): Likewise.
10915 * math/s_clog10f.c (__clog10f): Likewise.
10916 * math/s_clog10l.c (__clog10l): Likewise.
10917 * math/s_clogf.c (__clogf): Likewise.
10918 * math/s_clogl.c (__clogl): Likewise.
10919 * math/Makefile (libm-calls): Add x2y2m1.
10920 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
10921 (__x2y2m1): Likewise.
10922 (__x2y2m1l): Likewise.
10923 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
10924 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
10925 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10926 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10927 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
10928 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10929 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
10930 * sysdeps/i386/fpu/libm-test-ulps: Update.
10931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10932
b87c4b24
JM
10933 [BZ #14621]
10934 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
10935 int as type of variable DEPTH.
10936 (glob): Use size_t instead of int as type of variables NEWCOUNT
10937 and OLD_PATHC.
10938
6d3bf199
LD
109392012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10940
22bf5c17
LD
10941 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10942 Add s_sincosf-sse2.
10943 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
10944 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
10945 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
10946 macros for using routine as __sincosf_ia32.
10947 Use macro for function declaration and weak_alias.
10948 * sysdeps/i386/fpu/libm-test-ulps: Update.
10949
10950 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
10951 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10952
10953 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
10954 subnormal argument.
10955 * math/s_cexpf.c (__cexpf): Likewise.
10956 * math/s_csinf.c (__csinf): Likewise.
10957 * math/s_csinhf.c (__csinhf): Likewise.
10958 * math/s_ctanf.c (__ctanf): Likewise.
10959 * math/s_ctanhf.c (__ctanhf): Likewise.
10960 * math/s_ccosh.c (__ccoshf): Likewise.
10961 * math/s_cexp.c (__cexpl): Likewise.
10962 * math/s_csin.c (__csin): Likewise.
10963 * math/s_csinh.c (__csinh): Likewise.
10964 * math/s_ctan.c (__ctan): Likewise.
10965 * math/s_ctanh.c (ctanh): Likewise.
10966 * math/s_ccoshl.c (__ccoshl): Likewise.
10967 * math/s_cexpl.c (__cexpl): Likewise.
10968 * math/s_csinl.c (__csinl): Likewise.
10969 * math/s_csinhl.c (__csinhl): Likewise.
10970 * math/s_ctanl.c (__ctanl): Likewise.
10971 * math/s_ctanhl.c (__ctanhl): Likewise.
10972
203e5603
JM
109732012-09-25 Joseph Myers <joseph@codesourcery.com>
10974
10975 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
10976 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
10977 (_IO_off_t): Define to __off_t, not _G_off_t.
10978 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
10979 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
10980 (_IO_wint_t): Define to wint_t, not _G_wint_t.
10981 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
10982 type of __dummy and __dummy2 fields.
10983 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
10984 (_G_ssize_t): Likewise.
10985 (_G_off_t): Likewise.
10986 (_G_pid_t): Likewise.
10987 (_G_uid_t): Likewise.
10988 (_G_wchar_t): Likewise.
10989 (_G_wint_t): Likewise.
10990 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
10991 (_G_ssize_t): Likewise.
10992 (_G_off_t): Likewise.
10993 (_G_pid_t): Likewise.
10994 (_G_uid_t): Likewise.
10995 (_G_wchar_t): Likewise.
10996 (_G_wint_t): Likewise.
10997 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
10998 (_G_ssize_t): Likewise.
10999 (_G_off_t): Likewise.
11000 (_G_pid_t): Likewise.
11001 (_G_uid_t): Likewise.
11002 (_G_wchar_t): Likewise.
11003 (_G_wint_t): Likewise.
11004
9fab36eb
SP
110052012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11006
11007 * malloc/arena.c: Include malloc-sysdep.h.
11008 (shrink_heap): Use check_may_shrink_heap to decide if madvise
11009 is sufficient to shrink the heap or an unmap is needed.
11010 * sysdeps/generic/malloc-sysdep.h: New file. Define
11011 new function check_may_shrink_heap.
11012 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
11013 new function check_may_shrink_heap.
11014
2b4f00d1
SP
110152012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11016
11017 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
11018 comments.
11019
9a9028b1
DL
110202012-09-24 Dmitry V. Levin <ldv@altlinux.org>
11021
57c69bef
DL
11022 * catgets/test-gencat.sh: Add "set -e".
11023 * elf/tst-pathopt.sh: Likewise.
11024 * grp/tst_fgetgrent.sh: Likewise.
11025 * iconvdata/run-iconv-test.sh: Likewise.
11026 * intl/tst-gettext.sh: Likewise.
11027 * intl/tst-gettext2.sh: Likewise.
11028 * intl/tst-gettext4.sh: Likewise.
11029 * intl/tst-gettext6.sh: Likewise.
11030 * intl/tst-translit.sh: Likewise.
11031 * io/ftwtest-sh: Likewise.
11032 * libio/test-freopen.sh: Likewise.
11033 * malloc/tst-mtrace.sh: Likewise.
11034 * posix/globtest.sh: Likewise.
11035 * posix/tst-getconf.sh: Likewise.
11036 * posix/wordexp-tst.sh: Likewise.
11037 * stdio-common/tst-printf.sh: Likewise.
11038 * stdio-common/tst-unbputc.sh: Likewise.
11039 * stdlib/tst-fmtmsg.sh: Likewise.
11040 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11041 * catgets/Makefile: Do not specify -e option when running
11042 testsuite shell scripts.
11043 * elf/Makefile: Likewise.
11044 * grp/Makefile: Likewise.
11045 * iconvdata/Makefile: Likewise.
11046 * intl/Makefile: Likewise.
11047 * io/Makefile: Likewise.
11048 * libio/Makefile: Likewise.
11049 * malloc/Makefile: Likewise.
11050 * posix/Makefile: Likewise.
11051 * stdio-common/Makefile: Likewise.
11052 * stdlib/Makefile: Likewise.
11053 * sysdeps/x86_64/Makefile: Likewise.
11054
9a9028b1
DL
11055 * io/ftwtest-sh: Add copyright header.
11056 * posix/globtest.sh: Likewise.
11057 * posix/tst-getconf.sh: Likewise.
11058 * posix/wordexp-tst.sh: Likewise.
11059 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11060
ced6f16e
L
110612012-09-24 H.J. Lu <hongjiu.lu@intel.com>
11062
94b32c39
L
11063 [BZ #13679]
11064 * Makeconfig (+link): Defined as $(+link-static) if
11065 $(build-shared) isn't yes.
11066 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
11067 isn't yes.
11068 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
11069
189e935b
L
11070 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
11071
ced6f16e
L
11072 [BZ #14562]
11073 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
11074 new chunk size with MALLOC_ALIGN_MASK.
11075
a9f8e53a
JM
110762012-09-24 Joseph Myers <joseph@codesourcery.com>
11077
11078 [BZ #5044]
11079 * stdio-common/printf_fphex.c: Include <stdbool.h> and
11080 <rounding-mode.h>.
11081 (__printf_fphex): Determine rounding using get_rounding_mode and
11082 round_away.
11083 * stdio-common/tst-printf-round.c (struct hex_test): New
11084 structure.
11085 (hex_tests): New variable.
11086 (test_hex_in_one_mode): New function.
11087 (do_test): Also run tests for hex float output.
11088
43153109
JM
110892012-09-21 Joseph Myers <joseph@codesourcery.com>
11090
11091 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11092 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11093 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
11094 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11095 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11096 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
11097 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11098 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11099
8a26625d
JM
111002012-09-20 Joseph Myers <joseph@codesourcery.com>
11101
11102 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
11103 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
11104 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
11105 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
11106
f3fd569c
DL
111072012-09-19 Dmitry V. Levin <ldv@altlinux.org>
11108
11109 [BZ #14579]
11110 * elf/rtld.c (dl_main): Limit the check for self loading to normal
11111 mode only.
11112 * elf/tst-rtld-load-self.sh: New test.
11113 * elf/Makefile: Run it.
11114
63bbedd4
JM
111152012-09-18 Joseph Myers <joseph@codesourcery.com>
11116
11117 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
11118 (tst-writev-ENV): Remove.
11119 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
11120
626f8b6a
CM
111212012-09-17 Chris Metcalf <cmetcalf@tilera.com>
11122
11123 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
11124
b7aaa4d6
JM
111252012-09-17 Joseph Myers <joseph@codesourcery.com>
11126
11127 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
11128 unconditional.
11129 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
11130 Likewise.
11131 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
11132 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
11133 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
11134 Likewise.
11135
65513990
L
111362012-09-14 H.J. Lu <hongjiu.lu@intel.com>
11137
11138 [BZ #14587]
11139 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
11140 * config.make.in (have-cpp-asm-debuginfo): Removed.
11141 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
11142 * configure: Regenerated.
11143
784761be
JM
111442012-09-14 Joseph Myers <joseph@codesourcery.com>
11145
11146 [BZ #5044]
11147 * stdio-common/printf_fp.c: Include <stdbool.h> and
11148 <rounding-mode.h>.
11149 (___printf_fp): Determine rounding using get_rounding_mode and
11150 round_away.
11151 * stdio-common/tst-printf-round.c: New file.
11152 * stdio-common/Makefile (tests): Add tst-printf-round.
11153 (link-libm): New variable.
11154 ($(objpfx)tst-printf-round): Depend in $(link-libm).
11155
9503345f
L
111562012-09-13 H.J. Lu <hongjiu.lu@intel.com>
11157
11158 [BZ #14576]
11159 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
11160 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
11161 Likewise.
11162 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
11163 Likewise.
11164
ad35fc00
JM
111652012-09-13 Joseph Myers <joseph@codesourcery.com>
11166
11167 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
11168 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11169 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11170 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11171
6c9b0f68
JM
111722012-09-12 Joseph Myers <joseph@codesourcery.com>
11173
11174 [BZ #14518]
11175 * include/rounding-mode.h: New file.
11176 * sysdeps/generic/get-rounding-mode.h: Likewise.
11177 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
11178 * stdlib/strtod_l.c: Include <rounding-mode.h>.
11179 (MAX_VALUE): New macro.
11180 (MIN_VALUE): Likewise.
11181 (overflow_value): New function.
11182 (underflow_value): Likewise.
11183 (round_and_return): Use overflow_value and underflow_value to
11184 determine return values in overflow and underflow cases. Use
11185 round_away to determine rounding depending on rounding mode.
11186 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
11187 determine return values in overflow and underflow cases.
11188 * stdlib/tst-strtod-round.c: Include <fenv.h>.
11189 (struct test_results): New structure.
11190 (struct test): Use struct test_results to store expected results
11191 for all rounding modes.
11192 (TEST): Include expected results for all rounding modes.
11193 (test_in_one_mode): New function.
11194 (do_test): Use test_in_one_mode to compute and check results.
11195 Check results for all rounding modes.
11196 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
11197 $(link-libm).
11198
19fcedd5
AM
111992012-12-09 Allan McRae <allan@archlinux.org>
11200
1e9d84cd 11201 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 11202
8bbfd2f1
JM
112032012-09-11 Joseph Myers <joseph@codesourcery.com>
11204
11205 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
11206 (_G_int32_t): Likewise.
11207 (_G_uint16_t): Likewise.
11208 (_G_uint32_t): Likewise.
11209 (_G_HAVE_BOOL): Likewise.
11210 (_G_HAVE_ATEXIT): Likewise.
11211 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11212 (_G_HAVE_IO_FILE_OPEN): Likewise.
11213 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
11214 (_G_int32_t): Likewise.
11215 (_G_uint16_t): Likewise.
11216 (_G_uint32_t): Likewise.
11217 (_G_HAVE_BOOL): Likewise.
11218 (_G_HAVE_ATEXIT): Likewise.
11219 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11220 (_G_HAVE_IO_FILE_OPEN): Likewise.
11221 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
11222 (_G_int32_t): Likewise.
11223 (_G_uint16_t): Likewise.
11224 (_G_uint32_t): Likewise.
11225 (_G_HAVE_BOOL): Likewise.
11226 (_G_HAVE_ATEXIT): Likewise.
11227 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11228 (_G_HAVE_IO_FILE_OPEN): Likewise.
11229
b1dc5912
L
112302012-09-11 H.J. Lu <hongjiu.lu@intel.com>
11231
11232 * csu/libc-tls.c: Update copyright years.
11233
0e886ef9
JM
112342012-09-10 Joseph Myers <joseph@codesourcery.com>
11235
28361c5e
JM
11236 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
11237 [!_G_USING_THUNKS]: Remove conditional code.
11238 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
11239 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
11240
0e886ef9
JM
11241 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
11242 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
11243 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11244 (_G_VTABLE_LABEL_PREFIX): Likewise.
11245 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11246 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11247 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11248 (_G_VTABLE_LABEL_PREFIX): Likewise.
11249 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11250 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11251 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11252 (_G_VTABLE_LABEL_PREFIX): Likewise.
11253 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11254
bcba7aa2
L
112552012-09-10 H.J. Lu <hongjiu.lu@intel.com>
11256
11257 * libio/Makefile: Include ../Makeconfig before tests.
11258 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
11259 only if $(build-shared) is yes.
11260
06585ee8
L
11261 * iconv/gconv_db.c: Update copyright years.
11262
80ccd52c
LD
112632012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11264
11265 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
11266 unwind info if defined PIC. Fix special cases description.
11267 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
11268
11269 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
11270 DP_HI_MASK entry.
11271 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
11272
691bc9c1
L
112732012-09-07 H.J. Lu <hongjiu.lu@intel.com>
11274
3d9b46b3
L
11275 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
11276
de2139a9
L
11277 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
11278 is NULL.
11279
5ca78dd0
L
11280 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
11281 (LDLIBS-tst-chk4): This.
11282 (LDFLAGS-tst-chk5): Renamed to ...
11283 (LDLIBS-tst-chk5): This.
11284 (LDFLAGS-tst-chk6): Renamed to ...
11285 (LDLIBS-tst-chk6): This.
11286 (LDFLAGS-tst-lfschk4): Renamed to ...
11287 (LDLIBS-tst-lfschk4): This.
11288 (LDFLAGS-tst-lfschk5): Renamed to ...
11289 (LDLIBS-tst-lfschk5): This.
11290 (LDFLAGS-tst-lfschk6): Renamed to ...
11291 (LDLIBS-tst-lfschk6): This.
11292
691bc9c1
L
11293 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
11294 on $(common-objpfx)soversions.mk.
11295
65cafb1c
JM
112962012-09-07 Joseph Myers <joseph@codesourcery.com>
11297
11298 [BZ #10014]
11299 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
11300 example host name.
11301
c78ab094
SP
113022012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11303
11304 * malloc/arena.c (arena_get_retry): New function that gets
11305 another arena for the caller to try its request on.
11306 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
11307 current arena cannot fulfill the request.
11308 (__libc_memalign): Likewise.
11309 (__libc_memalign): Likewise.
11310 (__libc_pvalloc): Likewise.
11311 (__libc_calloc): Likewise.
11312
01f49f59
JT
113132012-09-05 John Tobey <john.tobey@gmail.com>
11314
11315 [BZ #13542]
11316 * manual/arith.texi (Operations on Complex): Fix description
11317 of carg branch cut.
11318
4c23fed5
JM
113192012-09-06 Joseph Myers <joseph@codesourcery.com>
11320
1d3c8572
JM
11321 [BZ #10014]
11322 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
11323 host name.
11324
4c23fed5
JM
11325 [BZ #10038]
11326 * manual/memory.texi (Memory): Make order of menu items match
11327 order of sections.
11328
04570aaa
L
113292012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11330
11331 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
11332 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
11333 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
11334
b80af2f4
L
113352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11336
11337 * csu/libc-tls.c (static_dtv): Renamed to ...
11338 (_dl_static_dtv): This. Make it global.
11339 (_dl_initial_dtv): Removed.
11340 (__libc_setup_tls): Updated.
11341 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
11342 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
11343 DL_INITIAL_DTV.
11344
2abe9f15
PM
113452012-09-06 Petr Machata <pmachata@redhat.com>
11346
11347 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
11348 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
11349 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
11350 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
11351
0948c3af
L
113522012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11353
11354 [BZ #14545]
11355 * csu/libc-tls.c (_dl_initial_dtv): New variable.
11356 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
11357 freeing dtv[-1].
11358
a5055ad1
L
113592012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11360
11361 [BZ #14544]
11362 * Makeconfig (link-static-before-libc): Replace $(+prector)
11363 with $(+prectorT).
11364 (link-static-after-libc): Replace $(+postctor) with
11365 $(+postctorT).
11366 (link-bounded): Replace $(+prector)/$(+postctor) with
11367 $(+prectorT)/$(+postctorT).
11368 (+prectorT): New macro.
11369 (+postctorT): Likewise.
11370
ed8c2ecd
JM
113712012-09-06 Joseph Myers <joseph@codesourcery.com>
11372
11373 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
11374 (round_str): Handle values above the maximum for IBM long double
11375 as inexact.
11376 * stdlib/tst-strtod-round.c (tests): Regenerated.
11377
14c996c8
AK
113782012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11379
11380 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
11381 assembler flag.
11382 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
11383 zarch_nohighgprs around the zarch optimized routines.
11384 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11385 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11386 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
11387 for zarch.
11388
430d6ce6
DM
113892012-09-05 David S. Miller <davem@davemloft.net>
11390
11391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11392
ff04dda4
DM
11393 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
11394 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
11395 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
11396 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11397 entries.
11398
24d4e01b
AO
113992012-09-05 Alexandre Oliva <aoliva@redhat.com>
11400
11401 * malloc/arena.c: Fold copyright years.
11402 * malloc/mcheck.c, malloc/memusage.c: Likewise.
11403
61d58174
AO
114042012-09-05 Alexandre Oliva <aoliva@redhat.com>
11405
11406 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
11407
20196a5e
AO
114082012-09-05 Alexandre Oliva <aoliva@redhat.com>
11409
11410 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
11411
5c447383
AO
114122012-09-05 Alexandre Oliva <aoliva@redhat.com>
11413
11414 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
11415 change internal state upon failure.
11416
fad64255
AO
114172012-09-05 Alexandre Oliva <aoliva@redhat.com>
11418
11419 * malloc/mcheck.c (mcheck_check_all): Fix typo.
11420 * malloc/memusage.c (mmap): Likewise.
11421 (mmap64, mremap): Likewise. Adjust name in comment.
11422
1ffb8c90
SP
114232012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11424
11425 * libio/fileops.c: Fix typos in comments.
11426 * libio/oldfileops.c: Likewise.
11427 * libio/wfileops.c: Likewise.
11428
6ef9cc37
SP
114292012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11430
11431 [BZ #1349]
11432 * malloc/Makefile (tests): Add tst-malloc-usable test case.
11433 (tst-malloc-usable-ENV): Set environment for test case.
11434 * malloc/hooks.c (malloc_check_get_size): New function to get
11435 requested size.
11436 * malloc/malloc.c (musable): Use malloc_check_get_size.
11437 * malloc/tst-malloc-usable.c: New test case.
11438
4d038ae3
AS
114392012-09-05 Andreas Schwab <schwab@linux-m68k.org>
11440
11441 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
11442
c4e85184
AM
114432012-09-05 Allan McRae <allan@archlinux.org>
11444
b9dafc56 11445 [BZ #13966]
c4e85184
AM
11446 * configure.in (CXX_SYSINCLUDES): Use compiler output to
11447 determine header location.
11448 * configure: Regenerated.
11449
e1343020
AS
114502012-09-05 Andreas Schwab <schwab@linux-m68k.org>
11451
11452 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
11453 float format.
11454 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
11455 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
11456 format.
e1343020
AS
11457 (test): Regenerate.
11458
0a9f1987
DM
114592012-09-04 David S. Miller <davem@davemloft.net>
11460
11461 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
11462 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
11463 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
11464
29237804
FW
114652012-09-04 Florian Weimer <fweimer@redhat.com>
11466
11467 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
11468 failures.
11469
edb3cb88
FW
11470 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
11471
60160d83
JM
114722012-09-04 Joseph Myers <joseph@codesourcery.com>
11473
11474 [BZ #9914]
11475 * libio/iogetdelim.c: Include <limits.h>.
11476 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
11477 + len + 1 would overflow.
11478
bcd6c8dc
AJ
114792012-09-03 Andreas Jaeger <aj@suse.de>
11480
11481 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11482 * sysdeps/i386/fpu/libm-test-ulps: Update.
11483
4ffffbd2
LD
114842012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11485
11486 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11487 Add s_sinf-sse2, s_conf-sse2.
11488
11489 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
11490 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
11491 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
11492 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
11493
11494 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
11495 for using routine as __sinf_ia32.
11496 Use macro for function declaration and weak_alias.
11497 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
11498 for using routine as __cosf_ia32.
11499 Use macro for function declaration and weak_alias.
11500
11501 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
11502 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
11503
11504 * sysdeps/x86_64/fpu/s_sinf.S: New file.
11505 * sysdeps/x86_64/fpu/s_cosf.S: New file.
11506 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11507
11508 * math/libm-test.inc (cos_test): Add more test cases.
11509 (sin_test): Likewise.
11510 (sincos_test): Likewise.
11511
511fa286
AK
115122012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11513
11514 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
11515 (IFUNC_RESOLVE): Make pointers to the specialized implementations
11516 hidden.
11517 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11518
5f30cfec
L
115192012-09-02 H.J. Lu <hongjiu.lu@intel.com>
11520
11521 [BZ #14538]
11522 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
11523 first element of the GOT.
11524 (elf_machine_load_address): Return the difference between
11525 the runtime address of _DYNAMIC and elf_machine_dynamic ().
11526
0786794f
AM
115272012-09-01 Allan McRae <allan@archlinux.org>
11528
5f30cfec
L
11529 [BZ #13412]
11530 * configure.in (AWK): Require gawk version 3.0 or later.
11531 * configure: Regenerated.
0786794f 11532
26889eac
JM
115332012-09-01 Joseph Myers <joseph@codesourcery.com>
11534
11535 * sysdeps/unix/sysv/linux/kernel-features.h
11536 (__ASSUME_POSIX_CPU_TIMERS): Remove.
11537 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11538 [__NR_clock_getres]: Make code unconditional.
11539 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
11540 (clock_getcpuclockid): Remove code left unreachable by removal of
11541 conditionals.
11542 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
11543 code unconditional.
11544 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11545 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11546 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
11547 Make code unconditional.
11548 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11549 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11550 * sysdeps/unix/sysv/linux/clock_settime.c
11551 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
11552 conditional code.
11553 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
11554 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11555
d22e28b0
L
115562012-08-29 H.J. Lu <hongjiu.lu@intel.com>
11557
11558 [BZ #14476]
11559 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
11560 scripts/test-installation.pl.
11561
11562 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
11563 and $ld_so_version if it is set.
11564
050af9c4
SP
115652012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11566
11567 [BZ #14516]
11568 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
11569 failure if reading from procfs failed.
11570 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
11571
ad845c0b
JM
115722012-08-27 Joseph Myers <joseph@codesourcery.com>
11573
11574 * sysdeps/unix/sysv/linux/kernel-features.h
11575 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
11576 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11577 Remove conditional code.
11578 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11579 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
11580 Remove conditional code.
11581 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11582 * sysdeps/unix/sysv/linux/i386/fxstat.c
11583 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11584 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11585 * sysdeps/unix/sysv/linux/i386/fxstatat.c
11586 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11587 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11588 * sysdeps/unix/sysv/linux/i386/lxstat.c
11589 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11590 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11591 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
11592 Remove conditional code.
11593 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11594 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11595 Remove conditional code.
11596 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11597 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
11598 <kernel-features.h>.
11599 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
11600 Remove.
11601 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
11602 Remove conditional code.
11603 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11604 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
11605 Remove conditional.
11606
5dbf56af
MF
116072012-08-27 Mike Frysinger <vapier@gentoo.org>
11608
11609 [BZ #5400]
11610 * NEWS: Add fixed bug number.
11611
d6e70f43
JM
116122012-08-27 Joseph Myers <joseph@codesourcery.com>
11613
7efb4737
JM
11614 [BZ #14519]
11615 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
11616 underflowing exponent in case of negative sign.
11617 * stdlib/tst-strtod-round-data: Add more tests.
11618 * stdlib/tst-strtod-round.c (tests): Regenerated.
11619
af92131a
JM
11620 [BZ #3479]
11621 * stdlib/strtod_l.c (NDIG): Remove.
11622 (HEXNDIG): Likewise.
11623 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
11624 smallest representable value.
11625 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
11626 lie within an exact representation of 1/2 ulp of the result.
11627 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
11628 unconditionally.
11629 (TENS_P9_IDX): Define unconditionally.
11630 (TENS_P9_SIZE): Likewise.
11631 (TENS_P10_IDX): Likewise.
11632 (TENS_P10_SIZE): Likewise.
11633 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
11634 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
11635 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
11636 entries for 10^2^13 and 10^2^14.
11637 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
11638 (TENS_P13_IDX): Define.
11639 (TENS_P13_SIZE): Likewise.
11640 (TENS_P14_IDX): Likewise.
11641 (TENS_P14_SIZE): Likewise.
11642 (_fpioconst_pow10): Change array size to
11643 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
11644 unconditional.
11645 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
11646 1024]: Add entries for 10^2^13 and 10^2^14.
11647 [LAST_POW10 > _LAST_POW10]: Remove #error.
11648 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
11649 (_fpioconst_pow10): Change array size to
11650 FPIOCONST_POW10_ARRAY_SIZE.
11651 * stdlib/gen-fpioconst.c: New file.
11652 * stdlib/gen-tst-strtod-round.c: Likewise.
11653 * stdlib/tst-strtod-round-data: Likewise.
11654 * stdlib/tst-strtod-round.c: Likewise.
11655 * stdlib/Makefile (tests): Add tst-strtod-round.
11656
d6e70f43
JM
11657 [BZ #14459]
11658 * stdlib/strtod_l.c: Include <stdint.h>.
11659 (NDEBUG): Do not define.
11660 (round_and_return): Change EXPONENT parameter to type intmax_t.
11661 Rearrange calculations to avoid internal overflow possibilities.
11662 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
11663 Rearrange calculations to avoid internal overflow possibilities.
11664 Assert that number fits inside MPNSIZE limbs.
11665 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
11666 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
11667 calculations and add assertions to avoid internal overflow
11668 possibilities. Add casts to avoid signed/unsigned operations.
11669 * stdlib/tst-strtod-overflow.c: New file.
11670 * stdlib/Makefile (tests): Add tst-strtod-overflow.
11671
1f529f7d
MP
116722012-08-25 Marek Polacek <polacek@redhat.com>
11673
11674 * time/time.h: Fix some typos in comments.
11675
59a629f1
RM
116762012-08-23 Roland McGrath <roland@hack.frob.com>
11677
11678 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
11679 * posix/tst-rfc3484-2.c: Likewise.
11680 * posix/tst-rfc3484-3.c: Likewise.
11681
d3bafbc9
SM
116822012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
11683
11684 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
11685 (EF_ARM_ABI_FLOAT_HARD): Likewise.
11686
4efcc022
JM
116872012-08-23 Joseph Myers <joseph@codesourcery.com>
11688
11689 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
11690 #include of fxstatat64.c.
11691
3cc3ef96
RM
116922012-08-22 Roland McGrath <roland@hack.frob.com>
11693
f04e2132
RM
11694 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
11695 * shadow/getspent_r.c: Likewise.
11696 * shadow/getspnam.c: Likewise.
11697 * shadow/getspnam_r.c: Likewise.
11698 * gshadow/getsgent.c: Likewise.
11699 * gshadow/getsgent_r.c: Likewise.
11700 * gshadow/getsgnam.c: Likewise.
11701 * gshadow/getsgnam_r.c: Likewise.
11702 * inet/getnetbyad.c: Likewise.
11703 * inet/getnetbyad_r.c: Likewise.
11704 * inet/getnetbynm.c: Likewise.
11705 * inet/getnetbynm_r.c: Likewise.
11706 * inet/getnetent.c: Likewise.
11707 * inet/getnetent_r.c: Likewise.
11708 * inet/getproto.c: Likewise.
11709 * inet/getproto_r.c: Likewise.
11710 * inet/getprtent.c: Likewise.
11711 * inet/getprtent_r.c: Likewise.
11712 * inet/getprtname.c: Likewise.
11713 * inet/getprtname_r.c: Likewise.
11714 * inet/getrpcbyname.c: Likewise.
11715 * inet/getrpcbyname_r.c: Likewise.
11716 * inet/getrpcbynumber.c: Likewise.
11717 * inet/getrpcbynumber_r.c: Likewise.
11718 * inet/getrpcent.c: Likewise.
11719 * inet/getrpcent_r.c: Likewise.
11720 * inet/getaliasent.c: Likewise.
11721 * inet/getaliasent_r.c: Likewise.
11722 * inet/getaliasname.c: Likewise.
11723 * inet/getaliasname_r.c: Likewise.
11724 * nscd/getgrgid_r.c: Likewise.
11725 * nscd/getgrnam_r.c: Likewise.
11726 * nscd/gethstbyad_r.c: Likewise.
11727 * nscd/gethstbynm3_r.c: Likewise.
11728 * nscd/getpwnam_r.c: Likewise.
11729 * nscd/getpwuid_r.c: Likewise.
11730 * nscd/getsrvbynm_r.c: Likewise.
11731 * nscd/getsrvbypt_r.c: Likewise.
11732 * nscd/gai.c: Likewise.
11733
c53d909c
RM
11734 * configure.in (build_nscd): New substituted variable, set
11735 by --disable-build-nscd and defaults to $use_nscd.
11736 * configure: Regenerated.
11737 * config.make.in (build-nscd): New substituted variable.
11738 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
11739 Change conditional to require [$(build-nscd) = yes] as well.
11740 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
11741
3cc3ef96
RM
11742 [BZ# 13696]
11743 * configure.in (use_nscd): New substituted variable, set by
11744 --disable-nscd. If enabled, define USE_NSCD.
11745 * configure: Regenerated.
11746 * config.h.in: Add USE_NSCD.
11747 * config.make.in (use-nscd): New substituted variable.
11748 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
11749 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
11750 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
11751 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
11752 (CFLAGS-getgrnam_r.c): Likewise.
11753 (CFLAGS-initgroups.c): Likewise.
11754 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
11755 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
11756 Variables removed.
11757 * inet/getnetgrent_r.c
11758 (nscd_setnetgrent): New function, broken out of ...
11759 (setnetgrent): ... here. Call it.
11760 (innetgr): Conditionalize nscd bits on [USE_NSCD].
11761 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
11762 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
11763 * nscd/Makefile (routines, aux): Move definitions after include of
11764 Makeconfig. Conditionalize on [$(use-nscd) != no].
11765 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
11766 Conditionalize on [USE_NSCD].
11767 (is_nscd, nscd_init_cb): Likewise.
11768 (nss_load_library): Conditionalize init callback on [USE_NSCD].
11769 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
11770 * nss/nss_db/db-init.c: Likewise.
11771 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
11772 [USE_NSCD].
11773 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
11774 (make_request): Use it.
11775 (cache_valid_p): New function.
11776 (__check_pf): Use it.
11777 * NEWS: Add item for --disable-nscd.
11778
07e51550
DL
117792012-08-22 Dmitry V. Levin <ldv@altlinux.org>
11780
11781 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
11782 to support sed >= 4.2.1-20-ga9bf076.
11783 * configure: Regenerated.
11784
35a5b08b
RM
117852012-08-22 Roland McGrath <roland@hack.frob.com>
11786
11787 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
11788 Conditionalize whole body on [IREL].
11789
8479f23a
JL
117902012-08-22 Jeff Law <law@redhat.com>
11791
11792 [BZ #14505]
11793 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
11794 if the family is PF_UNSPEC.
11795
48da0b21
MF
117962012-08-22 Mike Frysinger <vapier@gentoo.org>
11797
11798 * Makerules (lib-version): Rename from V.
11799 (install-lib-nosubdir): Change V to lib-version.
11800
15d0da8c
WS
118012012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
11802
11803 [BZ #14252]
11804 * powerpc32/power6/wcschr.c: New file.
11805 * powerpc32/power6/wcscpy.c: New file.
11806 * powerpc32/power6/wcsrchr.c: New file.
11807 * powerpc64/power6/wcschr.c: New file.
11808 * powerpc64/power6/wcscpy.c: New file.
11809 * powerpc64/power6/wcsrchr.c: New file.
11810
bcca0895
MK
118112012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11812
11813 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
11814 (two_way_short_needle): Use it.
5a4aaa33
RM
11815 * string/strstr.c (AVAILABLE1_USES_J): Define.
11816 * string/strcasestr.c: Likewise.
99677e57
MK
11817
11818 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
11819 array references.
11820 * string/strcasestr.c (TOLOWER): Make side-effect safe.
11821
400726de
MK
11822 [BZ #11607]
11823 * NEWS: Add an entry.
11824 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
11825 define their defaults.
11826 (two_way_short_needle): Detect end-of-string on-the-fly.
11827 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
11828 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
11829 * string/bug-strcasestr1.c: New test.
11830 * string/Makefile: Run it.
11831
20a71f2c
MK
118322012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11833
11834 [BZ #11607]
11835 * string/str-two-way.h (two_way_short_needle): Optimize matching of
11836 the first character.
11837
21ad0558
RM
118382012-08-21 Roland McGrath <roland@hack.frob.com>
11839
11840 * csu/elf-init.c (__libc_csu_irel): Function removed.
11841 * csu/libc-start.c (apply_irel): New function.
11842 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
11843
0e1d9911
JM
118442012-08-21 Joseph Myers <joseph@codesourcery.com>
11845
11846 * sysdeps/unix/sysv/linux/kernel-features.h
11847 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
11848 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11849 <kernel-features.h>.
11850 [__NR_fadvise64_64]: Make code unconditional.
11851 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
11852 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11853 !__NR_fadvise64_64)]: Likewise.
11854 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11855 !__NR_fadvise64_64))]: Likewise.
11856 [__NR_fadvise64]: Make code unconditional.
11857 [!__NR_fadvise64]: Remove conditional code.
11858 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
11859 <kernel-features.h>.
11860 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11861 unconditional.
11862 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11863 conditional code.
11864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
11865 not include <kernel-features.h>.
11866 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11867 unconditional.
11868 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11869 conditional code.
11870 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
11871 include <kernel-features.h>.
11872 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11873 unconditional.
11874 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11875 conditional code.
11876
14a50c9d
WS
118772012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11878
11879 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
11880 slight instruction rearrangements per scrollpipe analysis.
11881 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11882
c0f4faf0
RM
118832012-08-20 Roland McGrath <roland@hack.frob.com>
11884
696da859
RM
11885 * manual/syslog.texi (syslog; vsyslog, closelog):
11886 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
11887 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
11888
c0f4faf0
RM
11889 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
11890 DSOCAPS to match condition on defining it.
11891
348363b2
JM
118922012-08-20 Joseph Myers <joseph@codesourcery.com>
11893
a35cbf28
JM
11894 * sysdeps/unix/sysv/linux/kernel-features.h
11895 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
11896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
11897 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11898 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
11900 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11901 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
11903 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11904 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11905
445f7ecd
JM
11906 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
11907 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
11908
348363b2
JM
11909 * sysdeps/unix/sysv/linux/kernel-features.h
11910 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
11911 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
11912 unconditional.
11913 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11914 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
11915 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11916 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11917 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
11918 Make code unconditional.
11919 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11920 (__mmap64) [!__NR_mmap2]: Likewise.
11921 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
11922 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11923 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11924 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
11925 [__NR_mmap2]: Make code unconditional.
11926 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11927 (__mmap64) [!__NR_mmap2]: Likewise.
11928
bc5bc0e5
AK
119292012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11930
11931 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
11932
88d506de
AJ
119332012-08-18 Andreas Jaeger <aj@suse.de>
11934
11935 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
11936
493387d2
MF
119372012-08-18 Mike Frysinger <vapier@gentoo.org>
11938
11939 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
11940 * include/unistd.h (__have_sock_cloexec): Likewise.
11941 (__have_pipe2): Likewise.
11942 (__have_dup3): Likewise.
11943
a277af22
MF
119442012-08-18 Mike Frysinger <vapier@gentoo.org>
11945
11946 [BZ #9685]
11947 * include/unistd.h (__have_pipe2): Change define into an extern int.
11948 (__have_dup3): Likewise.
11949 * socket/have_sock_cloexec.c: Include fcntl.h.
11950 (__have_pipe2): New variable.
11951 (__have_dup3): Likewise.
11952
fdab8fd3
MF
119532012-08-17 Mike Frysinger <vapier@gentoo.org>
11954
11955 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
11956
31035e80
MP
119572012-08-17 Marek Polacek <polacek@redhat.com>
11958
11959 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
11960 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
11961
3bd9e993
RM
119622012-08-17 Roland McGrath <roland@hack.frob.com>
11963
c91c505f
RM
11964 * configure.in: Add AC_SUBST for sysheaders.
11965 * configure: Regenerated.
11966 * config.make.in (sysheaders): New substituted variable.
11967
7c6f9d53
RM
11968 * sysdeps/unix/mkfifo.c: Moved ...
11969 * sysdeps/posix/mkfifo.c: ... here.
11970 * sysdeps/unix/mkfifoat.c: Moved ...
11971 * sysdeps/posix/mkfifoat.c: ... here.
11972
11973 * sysdeps/unix/utime.c: Moved ...
11974 * sysdeps/posix/utime.c: ... here.
11975
11976 * sysdeps/unix/time.c: Moved ...
11977 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
11978 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
11979 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
11980
11981 * sysdeps/unix/nice.c: Moved ...
11982 * sysdeps/posix/nice.c: ... here.
11983
11984 * sysdeps/unix/alarm.c: Moved ...
11985 * sysdeps/posix/alarm.c: ... here.
11986
3bd9e993
RM
11987 * intl/Makefile ($(codeset_mo)): Depend on the input file.
11988
d1f09384
JL
119892012-08-17 Jeff Law <law@redhat.com>
11990
11991 * intl/Makefile (codeset_mo): New variable.
11992 ($(codeset_mo)): New target.
11993 (tst-codeset.out): Depend on that. Remove explicit rule.
11994 (tst-gettext3.out, tst-gettext5.out): Likewise.
11995 (LOCPATH-ENV, tst-codeset-ENV): New variables.
11996 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
11997 * intl/tst-codeset.sh: Remove.
11998 * intl/tst-gettext3.sh: Likewise.
11999 * intl/tst-gettext5.sh: Likewise.
12000
2ae1ae5c
RM
120012012-08-17 Roland McGrath <roland@hack.frob.com>
12002
c31fdb83
RM
12003 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
12004 * sysdeps/unix/syscalls.list: ... here.
12005
a0844057
RM
12006 * sysdeps/posix/getaddrinfo.c
12007 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
12008 (gaiconf_init, gaiconf_reload): Use them.
12009 [!_STATBUF_ST_NSEC]
12010 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
12011 Define using time_t rather than struct timespec.
12012
750c1f2a
RM
12013 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
12014 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
12015 Macros removed.
12016 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
12017 [!NO_THREADS].
12018 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
12019 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
12020 Likewise.
12021
2ae1ae5c
RM
12022 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
12023 __libc_cleanup_push argument.
12024
e66a42f5
RM
12025 * bits/param.h: New file.
12026 * misc/sys/param.h: New file.
12027 * include/sys/param.h: New file.
12028 * misc/Makefile (headers): Add bits/param.h.
12029 * sysdeps/generic/sys/param.h: File removed.
12030 * sysdeps/unix/sysv/linux/bits/param.h: New file.
12031 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
12032 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 12033 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 12034
b7c08a66
RM
12035 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
12036 last change.
12037
b2e1c562
RM
12038 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
12039 [_IO_MTSAFE_IO].
12040 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
12041 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
12042 New macros.
12043
c75ccd4c
RM
12044 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
12045 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
12046 rather than -D_IO_MTSAFE_IO conditionally.
12047 * stdio-common/Makefile (CPPFLAGS): Likewise.
12048 * wcsmbs/Makefile (CPPFLAGS): Likewise.
12049 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
12050 Use $(libio-mtsafe).
12051 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
12052 of -D_IO_MTSAFE_IO.
12053 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
12054 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
12055 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
12056 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
12057 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
12058 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
12059 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
12060 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
12061 (CFLAGS-fread_u_chk.c): Likewise.
12062 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
12063 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
12064 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
12065 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
12066 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
12067 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
12068 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
12069 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
12070 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
12071
12072 * libio/Makefile: Test [$(libc-reentrant) = yes]
12073 instead of [$(filter %REENTRANT, $(defines)) nonempty].
12074
12075 * Makeconfig
12076 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
12077 * sysdeps/pthread/configure: File removed.
12078 * sysdeps/pthread/Makeconfig: New file.
12079 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
12080 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
12081
d9195db8
GB
120822012-08-16 Gary Benson <gbenson@redhat.com>
12083
12084 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
12085 unmapping the first object in a namespace.
12086
86466cd9
RM
120872012-08-16 Roland McGrath <roland@hack.frob.com>
12088
12089 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
12090 (__internal_setnetgrent): ... this. Add internal_function to
12091 definition. Add libc_hidden_def.
12092 (setnetgrent): Update caller.
12093 (internal_endnetgrent): Renamed to ...
12094 (__internal_endnetgrent): ... this. Add internal_function to
12095 definition. Add libc_hidden_def.
12096 (endnetgrent): Update caller.
12097 (internal_getnetgrent_r): Renamed to ...
12098 (__internal_getnetgrent_r): ... this. Add internal_function to
12099 definition. Add libc_hidden_def.
12100 (__getnetgrent_r): Update caller.
12101 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
12102
c3c8283c
JM
121032012-08-16 Joseph Myers <joseph@codesourcery.com>
12104
12105 * stdlib/longlong.h: Update from GCC.
12106
db1ee0a8
RM
121072012-08-16 Roland McGrath <roland@hack.frob.com>
12108
12109 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
12110 on _QL, which is set by umul_ppmm but never used.
12111 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
12112 variables, which are set by GMP macros but never used.
12113 * stdio-common/_itowa.c (_itowa): Likewise.
12114 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
12115 * stdlib/mod_1.c (mpn_mod_1): Likewise.
12116
30f69637
CD
121172012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
12118
12119 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
12120 struct La_sh_regs is not constant.
12121 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
12122 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
12123 and struct La_sparc64_regs are not constant.
12124
93a78ac4
JM
121252012-08-16 Joseph Myers <joseph@codesourcery.com>
12126
12127 * sysdeps/unix/sysv/linux/kernel-features.h
12128 (__ASSUME_POSIX_TIMERS): Remove.
12129 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12130 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12131 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
12132 Make code unconditional.
12133 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12134 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
12135 Make code unconditional.
12136 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12137 * sysdeps/unix/sysv/linux/clock_nanosleep.c
12138 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
12139 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12140 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
12141 Make code unconditional.
12142 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12143 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
12144 (__libc_missing_posix_timers): Remove.
12145
dd924cd7
RM
121462012-08-15 Roland McGrath <roland@hack.frob.com>
12147
4b4f2771
RM
12148 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
12149 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
12150
601c888b
RM
12151 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
12152
176790a7
RM
12153 * elf/dl-sym.c: Include <stdlib.h>.
12154
329bc018
RM
12155 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
12156 constants, which avoids warnings in 32-bit builds.
12157
e04e272d
RM
12158 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
12159 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
12160
952bf94a
RM
12161 * misc/lseek.c: File moved to ...
12162 * io/lseek.c: ... here.
12163
7c99b50a
RM
12164 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
12165
dd924cd7
RM
12166 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
12167 shifting LEN more than 31 bits at once.
12168
b3f479a8
LD
121692012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12170
12171 [BZ #14195]
8c4ae0d4
RM
12172 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
12173 segmentation fault for a case of two empty input strings.
b3f479a8
LD
12174 * string/test-strncasecmp.c (check1): Renamed to...
12175 (bz12205): ...this.
12176 (bz14195): Add new testcase for two empty input strings and N > 0.
12177 (test_main): Call new testcase, adapt for renamed function.
12178
9c55864e
AJ
121792012-08-15 Andreas Jaeger <aj@suse.de>
12180
12181 [BZ #14090]
12182 * crypt/md5test2.c: New test, based on test supplied by Serge
12183 Belyshev <belyshev@depni.sinp.msu.ru>.
12184 * crypt/Makefile (xtests): Add md5test-giant..
12185 * crypt/Makefile ($(objpfx)md5test-giant): Add.
12186
02dcb6c5
PE
121872012-08-15 Paul Eggert <eggert@cs.ucla.edu>
12188
12189 [BZ #14090]
12190 * crypt/md5.c (md5_process_block): Don't assume the buffer
12191 length is less than 2**32.
12192 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
12193 length is less than 2**64.
12194
a3f95dcc
RM
121952012-08-15 Roland McGrath <roland@hack.frob.com>
12196
be75d758
RM
12197 * string/str-two-way.h: Include <sys/param.h>.
12198 (MAX): Macro removed.
12199
7312ca90
RM
12200 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
12201 Move #define and #undef of memmove to just before and after
12202 including <string.h>.
12203
9a0a5486
RM
12204 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
12205 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
12206 and after including <string.h>. Move declarations of
12207 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
12208 to before #include "string/memmove.c".
12209
67cc348d
RM
12210 * include/dirent.h: Declare __getdirentries.
12211
a3f95dcc
RM
12212 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
12213 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
12214
ca98e171
MF
122152012-08-14 Mike Frysinger <vapier@gentoo.org>
12216
12217 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
12218 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
12219 * sysdeps/i386/configure: Regenerated.
12220 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
12221 STABS_CURRENT_FILE, and STABS_FUN.
12222 (END): Remove call to STABS_FUN_END.
12223 (STABS_CURRENT_FILE1): Delete.
12224 (STABS_CURRENT_FILE): Likewise.
12225 (STABS_FUN): Likewise.
12226 (STABS_FUN_END): Likewise.
12227 (STABS_FUN2): Likewise.
12228 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
12229 * sysdeps/x86_64/configure: Regenerated.
12230
5908bf46
RM
122312012-08-14 Roland McGrath <roland@hack.frob.com>
12232
12233 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 12234 * elf/dl-lookup.c: Likewise.
5908bf46 12235
f2c05b9e
JM
122362012-08-14 Joseph Myers <joseph@codesourcery.com>
12237
12238 * sysdeps/unix/sysv/linux/kernel-features.h
12239 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
12240 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
12241 unconditionally.
12242 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
12243 unconditionally.
12244 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
12245 condition on __ASSUME_CLONE_THREAD_FLAGS.
12246
e11f5155
AJ
122472012-08-14 Andreas Jaeger <aj@suse.de>
12248
12249 * sysdeps/i386/fpu/libm-test-ulps: Update.
12250
51a9ba86
MK
122512012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
12252
2fdd4f78
AJ
12253 * include/atomic.h (atomic_exchange_and_add): Split into ...
12254 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
12255 New atomic macros.
51a9ba86 12256
ba6cba9e
MT
122572012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
12258
12259 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12260
42443a47
JL
122612012-08-13 Jeff Law <law@redhat.com>
12262
12263 * manual/stdio.texi (snprintf): Clarify handling of the trailing
12264 null byte in the output string.
12265
121dce05
JM
122662012-08-10 Joseph Myers <joseph@codesourcery.com>
12267
12268 * sysdeps/unix/sysv/linux/kernel-features.h
12269 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
12270 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
12271 (__ASSUME_ARG_MAX_STACK_BASED): Define.
12272 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12273 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
12274 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
12275 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
12276
bf51f568
JL
122772012-08-09 Jeff Law <law@redhat.com>
12278
12279 [BZ #13939]
12280 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
12281 When avoid_arena is set, don't retry in the that arena. Pick the
12282 next one, whatever it might be.
12283 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
12284 (arena_lock): Pass in new parameter to arena_get2.
12285 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
12286 arena_get2.
12287 (__libc_malloc): Unify retrying after main arena failure with
12288 __libc_memalign version.
12289 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
12290
f85fa270
L
122912012-08-09 H.J. Lu <hongjiu.lu@intel.com>
12292
12293 [BZ #14166]
12294 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
12295 to __redirect_strstr.
12296 (__strstr_sse42): Use typeof __redirect_strstr.
12297 (__strstr_ia32): Likewise.
12298 (__libc_strstr): New prototype.
12299 (strstr): Renamed to ...
12300 (__libc_strstr): This.
12301 (strstr): New strong alias of __libc_strstr.
12302 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12303 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
12304 __redirect_time.
12305 Include <time.h>.
12306 (__libc_time): New prototype.
12307 (time_ifunc): Replace time with __libc_time.
12308 (time): New strong alias and hidden definition of __libc_time.
12309 (__GI_time): Remove strong alias.
12310 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
12311 Include <stddef.h>.
12312 (memmove): Redefined to __redirect_memmove.
12313 (__memmove_sse2): Use typeof __redirect_memmove.
12314 (__memmove_ssse3): Likewise.
12315 (__memmove_ssse3_back): Likewise.
12316 (__libc_memmove): New prototype.
12317 (memmove): Renamed to ...
12318 (__libc_memmove): This.
12319 (memmove): New strong alias of __libc_memmove.
12320
33b4a91e
MS
123212012-08-08 Mark Salter <msalter@redhat.com>
12322
12323 * elf/elf.h
12324 (R_MN10300_TLS_GD): Define.
12325 (R_MN10300_TLS_LD): Likewise.
12326 (R_MN10300_TLS_LDO): Likewise.
12327 (R_MN10300_TLS_GOTIE): Likewise.
12328 (R_MN10300_TLS_IE): Likewise.
12329 (R_MN10300_TLS_LE): Likewise.
12330 (R_MN10300_TLS_DTPMOD): Likewise.
12331 (R_MN10300_TLS_DTPOFF): Likewise.
12332 (R_MN10300_TLS_TPOFF): Likewise.
12333 (R_MN10300_SYM_DIFF): Likewise.
12334 (R_MN10300_ALIGN): Likewise.
12335 (R_MN10300_NUM): Update.
12336
b36137f1
JM
123372012-08-08 Joseph Myers <joseph@codesourcery.com>
12338
12339 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
12340 Remove.
12341
cdd915fd
RM
123422012-08-08 Roland McGrath <roland@hack.frob.com>
12343
a2433aac
RM
12344 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
12345
cdd915fd
RM
12346 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
12347 sysdeps/unix -> sysdeps/posix move.
12348 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12349
bf9b740a
AM
123502012-08-07 Allan McRae <allan@archlinux.org>
12351
12352 [BZ #14303]
12353 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
12354 (SUNOS_CPP): Likewise.
12355 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
12356 not found.
12357 (open_input): Call CPP using execvp.
12358
93df14ee
JM
123592012-08-07 Joseph Myers <joseph@codesourcery.com>
12360
12361 * sysdeps/unix/sysv/linux/kernel-features.h
12362 (__ASSUME_PROT_GROWSUPDOWN): Remove.
12363 (__ASSUME_NO_CLONE_DETACHED): Likewise.
12364 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12365 (__ASSUME_WAITID_SYSCALL): Likewise.
12366 * sysdeps/unix/sysv/linux/dl-execstack.c
12367 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
12368 code unconditional.
12369 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
12370 conditional code.
12371 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
12372 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
12373 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
12374 code.
12375 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
12376 unconditional.
12377 [__ASSUME_WAITID_SYSCALL]: Likewise.
12378 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
12379
d34689de
RM
123802012-08-07 Roland McGrath <roland@hack.frob.com>
12381
a281decc
RM
12382 * sysdeps/unix/closedir.c: Renamed to ...
12383 * sysdeps/posix/closedir.c: ... here.
12384 * sysdeps/unix/dirfd.c: Renamed to ...
12385 * sysdeps/posix/dirfd.c: ... here.
12386 * sysdeps/unix/dirstream.h: Renamed to ...
12387 * sysdeps/posix/dirstream.h: ... here.
12388 * sysdeps/unix/fdopendir.c: Renamed to ...
12389 * sysdeps/posix/fdopendir.c: ... here.
12390 * sysdeps/unix/opendir.c: Renamed to ...
12391 * sysdeps/posix/opendir.c: ... here.
12392 * sysdeps/unix/readdir.c: Renamed to ...
12393 * sysdeps/posix/readdir.c: ... here.
12394 * sysdeps/unix/readdir_r.c: Renamed to ...
12395 * sysdeps/posix/readdir_r.c: ... here.
12396 * sysdeps/unix/rewinddir.c: Renamed to ...
12397 * sysdeps/posix/rewinddir.c: ... here.
12398 * sysdeps/unix/seekdir.c: Renamed to ...
12399 * sysdeps/posix/seekdir.c: ... here.
12400 * sysdeps/unix/telldir.c: Renamed to ...
12401 * sysdeps/posix/telldir.c: ... here.
12402 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
12403 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
12404 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12405 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12406
22895b47
RM
12407 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
12408 * bits/fcntl.h: ... here.
12409
707a53b6
RM
12410 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
12411 not 0.
12412 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
12413 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
12414 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
12415 (struct flock): Move l_start, l_len to the beginning.
12416 Use __pid_t for l_pid.
12417 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
12418 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
12419 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
12420 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
12421 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
12422 [__USE_LARGEFILE64] (struct flock64): New type.
12423 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
12424
f0bd3e25
RM
12425 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
12426 * bits/dirent.h: ... here.
12427
d34689de
RM
12428 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
12429 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
12430
6dad2c06
JM
124312012-08-07 Joseph Myers <joseph@codesourcery.com>
12432
12433 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12434 Change from 2.6.0 to 2.6.16.
12435 * sysdeps/unix/sysv/linux/configure: Regenerated.
12436 * sysdeps/unix/sysv/linux/kernel-features.h
12437 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
12438 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
12439 version.
12440 (__ASSUME_UTIMES): Likewise.
12441 (__ASSUME_CLONE_STOPPED): Remove.
12442 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
12443 architectures, not kernel version.
12444 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
12445 (__ASSUME_NO_CLONE_DETACHED): Likewise.
12446 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12447 (__ASSUME_WAITID_SYSCALL): Likewise.
12448 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
12449 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
12450 * README: State 2.6.16 as minimum Linux kernel version. Do not
12451 refer to older versions.
12452
03af9520
RM
124532012-08-06 Roland McGrath <roland@hack.frob.com>
12454
8e49df1d
RM
12455 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
12456 Define alphasort64 as an alias.
12457 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
12458 Define versionsort64 as an alias.
12459 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
12460 Define scandir64 as an alias.
12461 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
12462 Define scandirat64 as an alias.
12463 * dirent/alphasort64.c (alphasort64):
12464 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
12465 * dirent/versionsort64.c: Likewise.
12466 * dirent/scandir64.c: Likewise.
12467 * dirent/scandirat64.c: Likewise.
12468 * sysdeps/wordsize-64/alphasort.c: File removed.
12469 * sysdeps/wordsize-64/alphasort64.c: File removed.
12470 * sysdeps/wordsize-64/scandir.c: File removed.
12471 * sysdeps/wordsize-64/scandir64.c: File removed.
12472 * sysdeps/wordsize-64/scandirat.c: File removed.
12473 * sysdeps/wordsize-64/scandirat64.c: File removed.
12474 * sysdeps/wordsize-64/versionsort.c: File removed.
12475 * sysdeps/wordsize-64/versionsort64.c: File removed.
12476 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
12477 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
12478 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
12479 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
12480 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
12481 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
12482 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
12483 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
12484
12485 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
12486 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
12487 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
12488 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12489 [defined __arch64__ || defined __sparcv9]
12490 (__INO_T_MATCHES_INO64_T): New macro.
12491 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12492 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
12493 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
12494 * sysdeps/unix/sysv/linux/bits/dirent.h
12495 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
12496 (_DIRENT_MATCHES_DIRENT64): New macro.
12497
03af9520
RM
12498 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
12499 Define lockf64 as an alias.
12500 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
12501 Define fseeko64 as an alias.
12502 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
12503 Define ftello64 as an alias.
12504 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
12505 Define _IO_fgetpos64 and fgetpos64 as aliases.
12506 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
12507 Define _IO_fsetpos64 and fsetpos64 as aliases.
12508 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
12509 Conditionalize body on this.
12510 * libio/fseeko64.c: Likewise.
12511 * libio/ftello64.c: Likewise.
12512 * libio/iofgetpos64.c: Likewise.
12513 * libio/iofsetpos64.c: Likewise.
12514 * sysdeps/wordsize-64/lockf.c: File removed.
12515 * sysdeps/wordsize-64/lockf64.c: File removed.
12516 * sysdeps/wordsize-64/fseeko.c: File removed.
12517 * sysdeps/wordsize-64/fseeko64.c: File removed.
12518 * sysdeps/wordsize-64/ftello.c: File removed.
12519 * sysdeps/wordsize-64/ftello64.c: File removed.
12520 * sysdeps/wordsize-64/iofgetpos.c: File removed.
12521 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
12522 * sysdeps/wordsize-64/iofsetpos.c: File removed.
12523 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
12524 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
12525 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
12526 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
12527 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
12528 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
12529 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
12530 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
12531 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
12532 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
12533 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
12534
12535 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12536 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
12537 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
12538 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12539 [defined __arch64__ || defined __sparcv9]
12540 (__OFF_T_MATCHES_OFF64_T): New macro.
12541 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12542 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12543 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12544 (__OFF_T_MATCHES_OFF64_T): New macro.
12545
c5757acd
L
125462012-08-06 H.J. Lu <hongjiu.lu@intel.com>
12547
12548 * stdlib/secure-getenv.c (__secure_getenv): Replace
12549 GLIBC_2_16 with GLIBC_2_17.
12550
3a31811e
L
125512012-08-06 H.J. Lu <hongjiu.lu@intel.com>
12552
12553 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
12554 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12555
faa2bccb
DM
125562012-08-03 David S. Miller <davem@davemloft.net>
12557
12558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12559
85fe1997
JM
125602012-08-03 Joseph Myers <joseph@codesourcery.com>
12561
12562 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
12563 Remove.
12564 (__ASSUME_CORRECT_SI_PID): Likewise.
12565 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
12566 (__ASSUME_TMPFS_NAME): Likewise.
12567 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
12568 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
12569 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
12570 (HAVE_AUX_SECURE): Make definition unconditional.
12571 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
12572 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
12573
4f75b7a0
RM
125742012-08-03 Roland McGrath <roland@hack.frob.com>
12575
12576 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
12577 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
12578 * sysdeps/mach/hurd/eloop-threshold.h: New file.
12579 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12580 __eloop_threshold instead of SYMLOOP_MAX.
12581
12582 * sysdeps/generic/eloop-threshold.h: New file.
12583 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
12584 of MAXSYMLINKS.
12585 * elf/chroot_canon.c (chroot_canon): Likewise.
12586
7aab07e4
JM
125872012-08-03 Joseph Myers <joseph@codesourcery.com>
12588
12589 [BZ #13717]
12590 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12591 Change to 2.6.0 everywhere.
12592 * sysdeps/unix/sysv/linux/configure: Regenerated.
12593 * sysdeps/unix/sysv/linux/kernel-features.h
12594 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
12595 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
12596 kernel versions.
12597 (__ASSUME_POSIX_TIMERS): Define unconditionally.
12598 (__ASSUME_FUTEX_REQUEUE): Remove.
12599 (__ASSUME_STATFS64): Define unconditionally.
12600 (__ASSUME_AT_SECURE): Likewise.
12601 (__ASSUME_CORRECT_SI_PID): Likewise.
12602 (__ASSUME_TGKILL): Define without depending on kernel version for
12603 i386.
12604 (__ASSUME_UTIMES): Likewise.
12605 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
12606 kernel version.
12607 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
12608 (__ASSUME_TMPFS_NAME): Likewise.
12609 * README: Update reference to Linux kernel versions.
12610
b67e9372
MP
126112012-08-02 Marek Polacek <polacek@redhat.com>
12612
1f529f7d 12613 [BZ# 14150]
b67e9372
MP
12614 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
12615 libc_cv_asm_type_prefix with %.
12616 * configure: Regenerated.
d2441631
RM
12617 * include/libc-symbols.h: Remove comment about
12618 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
12619 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
12620 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
12621 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
12622 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
12623 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12624 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
12625 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
12626 * elf/tst-unique2mod1.c: Likewise.
12627 * elf/tst-unique1mod2.c: Likewise.
12628 * elf/tst-unique1mod1.c: Likewise.
12629 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
12630 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
12631 Replace ASM_TYPE_DIRECTIVE with .type.
12632 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12633 * sysdeps/i386/sysdep.h: Likewise.
12634 * sysdeps/x86_64/sysdep.h: Likewise.
12635 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
12636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12637 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 12638 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
12639 * sysdeps/powerpc/powerpc32/sysdep.h:
12640 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
12641 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12642 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12643 * sysdeps/i386/fpu/e_powf.S: Likewise.
12644 * sysdeps/i386/fpu/e_expl.S: Likewise.
12645 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12646 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12647 * sysdeps/i386/fpu/e_pow.S: Likewise.
12648 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12649 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12650 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12651 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12652 * sysdeps/i386/fpu/e_log2.S: Likewise.
12653 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12654 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12655 * sysdeps/i386/fpu/e_powl.S: Likewise.
12656 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12657 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12658 * sysdeps/i386/fpu/e_logl.S: Likewise.
12659 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12660 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12661 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12662 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12663 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12664 * sysdeps/i386/fpu/e_log.S: Likewise.
12665 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12666 * sysdeps/i386/fpu/e_logf.S: Likewise.
12667 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12668 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12669 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12670 * sysdeps/i386/fpu/e_log10.S: Likewise.
12671 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12672 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12673 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12674 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12675 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12676 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
12677 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12678 * sysdeps/i386/i686/strtok.S: Likewise.
12679 * sysdeps/i386/i386-mcount.S: Likewise.
12680 * sysdeps/i386/strtok.S: Likewise.
12681 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
12682 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12683 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12684 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12685 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12686 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12687 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12688 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12689 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12690 * sysdeps/x86_64/_mcount.S: Likewise.
12691 * sysdeps/x86_64/strtok.S: Likewise.
12692 * sysdeps/sh/_mcount.S: Likewise.
12693
2747bf9a
RM
126942012-08-01 Roland McGrath <roland@hack.frob.com>
12695
12696 * libio/iofopen.c: Include <fcntl.h>.
12697 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
12698 (_IO_fopen64, fopen64): Define as aliases.
12699 * libio/iofopen64.c: Include <fcntl.h>.
12700 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
12701 Conditionalize body on this.
12702 * sysdeps/wordsize-64/iofopen.c: File removed.
12703 * sysdeps/wordsize-64/iofopen64.c: File removed.
12704
3fb791b8
MP
127052012-08-01 Marek Polacek <polacek@redhat.com>
12706
12707 * libc/Makeconfig: Use elf in place of binfmt-subdir.
12708 Use dlfcn directly instead of a variable.
12709 (binfmt-subdir): Do not define.
12710 (dlfcn): Likewise.
12711
a9f1039f
JM
127122012-08-01 Joseph Myers <joseph@codesourcery.com>
12713
23bddc06
JM
12714 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
12715 Remove all definitions.
12716 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
12717 <kernel-features.h>.
12718 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12719 (miss_F_GETOWN_EX): Remove all definitions.
12720 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
12721 macro definition.
12722 [!__ASSUME_FCNTL64]: Remove conditional code.
12723 [__ASSUME_FCNTL64]: Make code unconditional.
12724 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
12725 <kernel-features.h>.
12726 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12727 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
12728 (lockf64) [__NR_fcntl64]: Make code unconditional.
12729 (lockf64) [__ASSUME_FCNTL64]: Likewise.
12730
a9f1039f
JM
12731 * sysdeps/unix/sysv/linux/kernel-features.h
12732 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
12733 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
12734 Make code unconditional.
12735 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12736 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
12738 [__NR_vfork]: Make code unconditional.
12739 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12740 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
12742 [__NR_vfork]: Make code unconditional.
12743 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12744 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12745
09c0ee5f
RM
127462012-08-01 Roland McGrath <roland@hack.frob.com>
12747
48aec5b9
RM
12748 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
12749 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
12750
cd97c966
RM
12751 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12752 Define mkstemp64 as an alias.
3f55550c
RM
12753 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12754 Define mkstemps64 as an alias.
cd97c966
RM
12755 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12756 Define mkostemp64 as an alias.
b8625cfc
RM
12757 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12758 Define mkostemps64 as an alias.
cd97c966
RM
12759 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
12760 Conditionalize body on this.
12761 * misc/mkostemp64.c: Likewise.
b8625cfc 12762 * misc/mkostemps64.c: Likewise.
3f55550c 12763 * misc/mkstemps64.c: Likewise.
cd97c966
RM
12764 * sysdeps/wordsize-64/mkstemp64.c: File removed.
12765 * sysdeps/wordsize-64/mkostemp64.c: File removed.
12766 * sysdeps/wordsize-64/mkostemp.c: File removed.
12767 * sysdeps/wordsize-64/mkstemp.c: File removed.
12768 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
12769 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
12770 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
12771 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
12772
09c0ee5f
RM
12773 [BZ #14138]
12774 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
12775 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
12776 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
12777 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
12778
12779 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
12780 compat_symbol macros from <shlib-compat.h> rather than the underlying
12781 default_symbol_version and symbol_version macros, so that DEFAULT
12782 lines in shlib-versions are respected.
12783 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
12784
7e66ee51
FW
127852012-08-01 Florian Weimer <fweimer@redhat.com>
12786
12787 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
12788 Declare with warn_unused_result.
12789 (setgid, setregid, setegid, setresgid): Likewise.
12790 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
12791 Likewise.
12792 * WUR-REPORT: Remove set*id functions.
12793
d2a54255
PT
127942012-07-31 Pino Toscano <toscano.pino@tiscali.it>
12795
12796 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
12797
7ecdb005
RM
127982012-07-31 Roland McGrath <roland@hack.frob.com>
12799
b4180a5e 12800 [BZ #10191]
789bd351
RM
12801 * include/sys/socket.h (__libc_accept, __libc_accept4):
12802 Add attribute_hidden.
12803 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
12804
40ce302d
RM
12805 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
12806 use of PTR_MANGLE.
12807 * inet/getnetgrent_r.c (setup): Likewise.
12808
7ecdb005
RM
12809 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
12810
e2eabb2c
DM
128112012-07-31 David S. Miller <davem@davemloft.net>
12812
12813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12814
d0419dbf
JM
128152012-07-31 Joseph Myers <joseph@codesourcery.com>
12816
12817 [BZ #13629]
12818 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
12819 value between 1.0 and 2.0 and smaller part has absolute value less
12820 than 1.0.
12821 * math/s_clog10.c (__clog10): Likewise.
12822 * math/s_clog10f.c (__clog10f): Likewise.
12823 * math/s_clog10l.c (__clog10l): Likewise.
12824 * math/s_clogf.c (__clogf): Likewise.
12825 * math/s_clogl.c (__clogl): Likewise.
12826 * math/libm-test.inc (clog_test): Add more tests.
12827 (clog10_test): Likewise.
12828 * sysdeps/i386/fpu/libm-test-ulps: Update.
12829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12830
2bc13872
FW
128312012-07-31 Florian Weimer <fweimer@redhat.com>
12832
12833 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
12834 Exit with zero in case no suitable GID is found, and write a
12835 message to standard error.
12836
bea9b193
RM
128372012-07-30 Roland McGrath <roland@hack.frob.com>
12838
12839 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
12840 rather than to 1.
12841 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
12842 (MAXPATHLEN): Removed.
12843 (NOGROUP, NODEV): New macros.
12844 (setbit, clrbit, isset, isclr): New macros.
12845 (howmany, roundup, powerof2): New macros.
12846 (DEV_BSIZE): New macro.
12847
12848 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
12849 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
12850
12851 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
12852 definition on [!__NO_LONG_DOUBLE_MATH].
12853
12854 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
12855 PTR_MANGLE and PTR_DEMANGLE.
12856
12857 * socket/accept4.c (accept4): Rename to __libc_accept4.
12858 Define accept4 as a weak alias.
12859
12860 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
12861 on [_DIRENT_HAVE_D_TYPE].
12862 * io/ftw.c (ftw_dir): Likewise.
12863
12864 * io/xmknod.c (__xmknod): Don't check PATH for being null.
12865
12866 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
12867
12868 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
12869 Use the BSD numbers rather than the arbitrary ones we had.
12870 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
12871 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
12872 (SIGXCPU, SIGXFSZ): New macros.
12873 (_NSIG): Now 32.
12874
12875 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
12876 initializer on [_LIBC_REENTRANT].
12877
12878 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
12879 definitions inside [_POSIX_MAPPED_FILES].
12880
12881 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
12882
12883 * dirent/opendir.c: Include <fcntl.h>.
12884
12885 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
12886 (__libc_getspecific): Likewise.
12887 (__libc_key_create): Likewise.
12888
12889 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
12890 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
12891 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
12892 (tmpfile64): Define as alias.
12893 * sysdeps/wordsize-64/tmpfile.c: File removed.
12894 * sysdeps/wordsize-64/tmpfile64.c: File removed.
12895 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
12896 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
12897
12898 * stdio-common/vfscanf.c: Include <stdbool.h>.
12899 * nss/makedb.c: Likewise.
12900 * stdio-common/_i18n_number.h: Likewise.
12901 * argp/argp-help.c: Likewise.
12902 * posix/wordexp.c: Likewise.
12903 * sysdeps/posix/spawni.c: Likewise.
12904 * nss/nss_files/files-initgroups.c: Likewise.
12905 * stdio-common/reg-modifier.c: Include <stdlib.h>.
12906 * nss/nss_files/files-initgroups.c: Likewise.
12907 * nss/nss_db/db-netgrp.c: Likewise.
12908 * nss/nss_db/db-initgroups.c: Likewise.
12909 * io/fchmodat.c: Include <sys/stat.h>.
12910
12911 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
12912 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
12913
12914 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
12915 [HAVE_MMAP].
12916
12917 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
12918 Add multiple inclusion protection.
12919
e5abc686
DM
129202012-07-27 David S. Miller <davem@davemloft.net>
12921
12922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12923
815e6fa3
GB
129242012-07-27 Gary Benson <gbenson@redhat.com>
12925
12926 [BZ #14298]
12927 * elf/rtld.c: Include <stap-probe.h>.
12928 (dl_main): Added static probes "init_start" and "init_complete".
12929 * elf/dl-load.c: Include <stap-probe.h>.
12930 (lose): Take new parameter "nsid".
12931 Added static probe "map_failed".
12932 (_dl_map_object_from_fd): Pass namespace id to lose.
12933 Added static probe "map_start".
12934 (open_verify): Pass namespace id to lose.
12935 * elf/dl-open.c: Include <stap-probe.h>.
12936 (dl_open_worker) Added static probes "map_complete", "reloc_start"
12937 and "reloc_complete".
12938 * elf/dl-close.c: Include <stap-probe.h>.
12939 (_dl_close_worker): Added static probes "unmap_start" and
12940 "unmap_complete".
12941 * elf/rtld-debugger-interface.txt: New file documenting the above.
12942
9f98c16c
RM
129432012-07-26 Roland McGrath <roland@hack.frob.com>
12944
12945 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
12946 rather than a string variable.
12947 * sunrpc/rpc_main.c (h_output): Likewise.
12948 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
12949
f3c22df3
PT
129502012-07-26 Pino Toscano <toscano.pino@tiscali.it>
12951
12952 * inet/check_native.c: New file.
12953
3129cfc6
JM
129542012-07-26 Joseph Myers <joseph@codesourcery.com>
12955
da865e95
JM
12956 [BZ #13629]
12957 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
12958 if larger part has absolute value 1.0.
12959 * math/s_clog10.c (__clog10): Likewise.
12960 * math/s_clog10f.c (__clog10f): Likewise.
12961 * math/s_clog10l.c (__clog10l): Likewise.
12962 * math/s_clogf.c (__clogf): Likewise.
12963 * math/s_clogl.c (__clogl): Likewise.
12964 * math/libm-test.inc (clog_test): Add more tests.
12965 (clog10_test): Likewise.
12966 * sysdeps/i386/fpu/libm-test-ulps: Update.
12967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12968
3129cfc6
JM
12969 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
12970 (pltexit): Likewise.
12971 (La_regs): Likewise.
12972 (La_retval): Likewise.
12973 (int_retval): Likewise.
12974 Update #error for removed macros to refer only to definitions in
12975 tst-audit.h.
12976 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
12977 macro.
12978 (pltexit): Likewise.
12979 (La_regs): Likewise.
12980 (La_retval): Likewise.
12981 (int_retval): Likewise.
12982 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
12983 macro.
12984 (pltexit): Likewise.
12985 (La_regs): Likewise.
12986 (La_retval): Likewise.
12987 (int_retval): Likewise.
12988 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
12989 macro.
12990 (pltexit): Likewise.
12991 (La_regs): Likewise.
12992 (La_retval): Likewise.
12993 (int_retval): Likewise.
12994 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
12995 macro.
12996 (pltexit): Likewise.
12997 (La_regs): Likewise.
12998 (La_retval): Likewise.
12999 (int_retval): Likewise.
13000 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
13001 macro.
13002 (pltexit): Likewise.
13003 (La_regs): Likewise.
13004 (La_retval): Likewise.
13005 (int_retval): Likewise.
13006 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
13007 macro.
13008 (pltexit): Likewise.
13009 (La_regs): Likewise.
13010 (La_retval): Likewise.
13011 (int_retval): Likewise.
13012 * sysdeps/generic/tst-audit.h: Update comment to refer only to
13013 macro definitions in tst-audit.h.
13014 * sysdeps/i386/tst-audit.h: New file.
13015 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
13016 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
13017 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
13018 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
13019 * sysdeps/sh/tst-audit.h: Likewise.
13020 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
13021 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
13022 * sysdeps/x86_64/tst-audit.h: Likewise.
13023
bfc07087
AJ
130242012-07-26 Andreas Jaeger <aj@suse.de>
13025
b1b2aaf8
AJ
13026 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
13027 ptrace.
13028
13029 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
13030 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
13031 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
13032 PTRACE_O_MASK.
13033 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
13034 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
13035 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
13036
bfc07087
AJ
13037 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
13038 value.
13039
13040 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
13041 _sigsys.
13042 (si_call_addr, si_syscall, si_arch): Define new macro.
13043 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
13044 _sigsys.
13045 (si_call_addr, si_syscall, si_arch): Define new marcro.
13046 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
13047 _sigsys.
13048 (si_call_addr, si_syscall, si_arch): Define new macro.
13049 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
13050 _sigsys.
13051 (si_call_addr, si_syscall, si_arch): Define new macro.
13052
89b4b02f
JM
130532012-07-25 Joseph Myers <joseph@codesourcery.com>
13054
13055 [BZ #13717]
13056 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13057 Change to 2.4.21 where previously 2.4.1.
13058 * sysdeps/unix/sysv/linux/configure: Regenerated.
13059 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
13060 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
13061 Linux kernel version.
13062 (__ASSUME_STD_AUXV): Remove.
13063 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
13064 kernel version.
13065 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
13066 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
13067 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
13068 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
13069 (__ASSUME_NETLINK_SUPPORT): Likewise.
13070 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
13071 (__no_netlink_support): Remove conditional definition.
13072 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
13073 Remove.
13074 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13075 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
13076 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
13077 (if_nameindex_ioctl): Remove.
13078 (if_nameindex_netlink): Do not handle __no_netlink_support.
13079 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13080 code.
13081 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
13082 Remove conditional code.
13083 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13084 code.
13085 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
13086 unconditional.
13087 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13088 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
13089 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
13090 Remove.
13091 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
13092 [!__ASSUME_STD_AUXV]: Remove conditional code.
13093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
13094 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
13095 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
13096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
13097 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
13098 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13099 code.
13100 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13102 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
13103 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13104 conditional code.
13105 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13107 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13108 code.
13109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13110 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13111 conditional code.
13112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
13113 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13114 code unconditional.
13115 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13116 conditional code.
13117 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13118 unconditional.
13119 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13120 conditional code.
13121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13122 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13123 unconditional.
13124 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13125 conditional code.
13126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13127 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13128 code unconditional.
13129 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13130 conditional code.
13131 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13132 unconditional.
13133 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13134 conditional code.
13135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13136 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13137 code unconditional.
13138 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13139 conditional code.
13140 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13141 unconditional.
13142 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13143 conditional code.
13144
842a39cd
AS
131452012-07-25 Andreas Schwab <schwab@linux-m68k.org>
13146
13147 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
13148 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
13149 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13150 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
13151 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
13152 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13153 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13154 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13155 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
13156 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13157 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
13158 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
13159 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
13160 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13161 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13162 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
13163 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
13164 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
13165 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
13166 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
13167 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
13168 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13169 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13170
84b3fd84
FW
131712012-07-25 Florian Weimer <fweimer@redhat.com>
13172
13173 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
13174 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
13175 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
13176 Introduce __libc_secure_getenv.
0c7936d5
FW
13177 * stdlib/Versions (2.17): Add secure_getenv
13178 (GLIBC_PRIVATE): Add __libc_secure_getenv.
13179 * stdlib/secure-getenv.c: Rename __secure_getenv to
13180 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
13181 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
13182 * stdlib/tst-secure-getenv.c: New.
13183 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
13184 * manual/startup.texi (Environment Access): Document
13185 secure_getenv.
84b3fd84
FW
13186 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
13187 __libc_secure_getenv.
13188 * inet/ruserpass.c (ruserpass): Likewise.
13189 * malloc/mtrace.c (mtrace): Likewise.
13190 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 13191 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
13192 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
13193 * sysdeps/posix/tempname.c: Likewise. Evaluate
13194 HAVE_SECURE_GETENV.
13195 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 13196 __secure_getenv to __libc_secure_getenv.
84b3fd84 13197 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
13198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13199 Likewise.
13200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13201 Likewise.
13202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13204 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 13209
56e49b71
JM
132102012-07-25 Joseph Myers <joseph@codesourcery.com>
13211
13212 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
13213 (struct La_i86_retval): Likewise.
13214 (struct La_x86_64_regs): Likewise.
13215 (struct La_x86_64_retval): Likewise.
13216 (struct La_x32_regs): Likewise.
13217 (struct La_x32_retval): Likewise.
13218 (struct La_ppc32_regs): Likewise.
13219 (struct La_ppc32_retval): Likewise.
13220 (struct La_ppc64_regs): Likewise.
13221 (struct La_ppc64_retval): Likewise.
13222 (struct La_sh_regs): Likewise.
13223 (struct La_sh_retval): Likewise.
13224 (struct La_s390_32_regs): Likewise.
13225 (struct La_s390_32_retval): Likewise.
13226 (struct La_s390_64_regs): Likewise.
13227 (struct La_s390_64_retval): Likewise.
13228 (struct La_sparc32_regs): Likewise.
13229 (struct La_sparc32_retval): Likewise.
13230 (struct La_sparc64_regs): Likewise.
13231 (struct La_sparc64_retval): Likewise.
13232 (struct audit_ifaces): Remove architecture-specific pltenter and
13233 pltexit members.
13234 * sysdeps/i386/ldsodefs.h: New file.
13235 * sysdeps/powerpc/ldsodefs.h: Likewise.
13236 * sysdeps/s390/ldsodefs.h: Likewise.
13237 * sysdeps/sh/ldsodefs.h: Likewise.
13238 * sysdeps/sparc/ldsodefs.h: Likewise.
13239 * sysdeps/x86_64/ldsodefs.h: Likewise.
13240
354691b7
MP
132412012-07-25 Marek Polacek <polacek@redhat.com>
13242
13243 [BZ #6808]
13244 * math/libm-test.inc (yn_test): Add another test.
13245 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
13246 to ERANGE when the result is +-Inf.
13247 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13248 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
13249 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
13250 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
13251
bf9e2071
JM
132522012-07-24 Joseph Myers <joseph@codesourcery.com>
13253
13254 * conform/data/time.h-data (NULL): Use macro-constant. Require
13255 equal to 0.
13256 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
13257 clock_t.
13258 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
13259
57633811
TS
132602012-07-23 Thomas Schwinge <thomas@codesourcery.com>
13261
13262 * configure.in <sysdeps resolving>: Correct printing
13263 Implies_before.
13264 * configure: Regenerate.
13265
c23c33b0
TS
132662012-07-22 Thomas Schwinge <thomas@codesourcery.com>
13267
13268 * math/w_ilogb.c: Include <limits.h>.
13269 * math/w_ilogbl.c: Likewise.
13270
b5982523
JM
132712012-07-20 Joseph Myers <joseph@codesourcery.com>
13272
13273 * manual/lang.texi (__va_copy): Document primarily as ISO C99
13274 va_copy. Document allowing for unavailable va_copy only as
13275 pre-C99 compatibility.
13276 * manual/string.texi (Copying and Concatenation): Use va_copy
13277 instead of __va_copy in concat example.
13278
ac4ea442
PT
132792012-07-20 Pino Toscano <toscano.pino@tiscali.it>
13280
13281 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
13282 (__sendto): Use create_address_port. Initialize APORT and deallocate
13283 it if not null.
13284
f98eafbd
PT
13285 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
13286 with O_NOLINK passed to __file_name_lookup.
13287
898c7aab
PT
13288 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
13289 with O_NOLINK passed to __file_name_lookup.
13290
0ced335a
PT
13291 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
13292 negative N or less than NGIDS.
13293
b3404dbd
PT
13294 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
13295 type to string_t. Set ERANGE as errno and return it if NAME is not big
13296 enough. Use memcpy instead of strncpy.
13297
0f48659e
JM
132982012-07-20 Joseph Myers <joseph@codesourcery.com>
13299
13300 * elf/Makefile (check-data): Remove.
13301 (localplt.data): New vpath directive.
13302 ($(objpfx)check-localplt.out): Use localplt.data from vpath
13303 instead of $(check-data).
13304 * scripts/data/localplt-generic.data: Move to ...
13305 * sysdeps/generic/localplt.data: ... here.
13306 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
13307 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
13308 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
13309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13310 ... here.
13311 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
13312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13313 ... here.
13314 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
13315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
13316 ... here.
13317 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
13318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13319 ... here.
13320 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
13321 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
13322 ... here.
13323 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
13324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
13325 ... here.
13326
d37cbdaa
AZ
133272012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13328
13329 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
13330 PPC32 and PPC64 files.
13331 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
13332 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
13333
46f85fc2
AK
133342012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13335
13336 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
13337 __makecontext_ret to ...
13338 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
13339 ... here and call exit if uc_link is NULL. New file.
13340 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
13341 __makecontext_ret.S.
13342 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
13343 __makecontext_ret to ...
13344 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
13345 ... here and call exit if uc_link is NULL. New file.
13346 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
13347 __makecontext_ret.S.
13348
08f43f9b
AK
133492012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13350
13351 * elf/elf.h (R_390_IRELATIVE): New definition.
13352 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
13353 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
13354 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
13355 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13356 (elf_machine_lazy_rel): Likewise.
13357 * sysdeps/s390/dl-irel.h: New file.
13358 * sysdeps/s390/s390-64/memcpy.S: New asm code.
13359 * sysdeps/s390/s390-64/memset.S: New asm code.
13360 * sysdeps/s390/s390-64/memcmp.S: New asm code.
13361 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
13362 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
13363 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
13364 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
13365 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
13366 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
13367 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
13368 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
13369 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
13370 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
13371 * sysdeps/s390/s390-32/memcpy.S: New asm code.
13372 * sysdeps/s390/s390-32/memset.S: New asm code.
13373 * sysdeps/s390/s390-32/memcmp.S: New asm code.
13374
3b05db33
MP
133752012-07-17 Marek Polacek <polacek@redhat.com>
13376
13377 [BZ #14349]
13378 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
13379 * sysdeps/s390/s390-64/configure.in: Likewise.
13380 * sysdeps/sparc/configure.in: Likewise.
13381 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
13382 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
13383 * sysdeps/i386/configure.in: Likewise.
13384 * sysdeps/x86_64/configure.in: Likewise.
13385 * sysdeps/sh/configure.in: Likewise.
13386 * sysdeps/s390/s390-32/configure: Regenerated.
13387 * sysdeps/s390/s390-64/configure: Likewise.
13388 * sysdeps/x86_64/configure: Likewise.
13389 * sysdeps/sh/configure: Likewise.
13390 * sysdeps/powerpc/powerpc64/configure: Likewise.
13391 * sysdeps/powerpc/powerpc32/configure: Likewise.
13392 * sysdeps/sparc/configure: Likwise.
13393 * sysdeps/i386/configure: Likewise.
13394
a66877c6
MP
13395 * elf/dl-open.c: Comment fixes.
13396
cfc82fd8
JM
133972012-07-17 Joseph Myers <joseph@codesourcery.com>
13398
bd29910a
JM
13399 * Makefile [CXX] (check-data): Remove.
13400 [CXX] (c++-types.data): New vpath directive.
13401 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
13402 vpath. Do not allow for C++ type data being missing.
13403 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
13404 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
13405 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
13406 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
13407 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
13408 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
13409 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
13410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13411 ... here.
13412 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
13413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13414 ... here.
13415 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
13416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
13417 ... here.
13418 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
13419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
13420 ... here.
13421 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
13422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
13423 ... here.
13424 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
13425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
13426 ... here.
13427 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
13428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
13429 ... here.
13430 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
13431 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
13432
cfc82fd8
JM
13433 * elf/tls-macros.h (TLS_LE): Move architecture-specific
13434 definitions to architecture-specific files.
13435 (TLS_IE): Likewise.
13436 (TLS_LD): Likewise.
13437 (TLS_GD): Likewise.
13438 * sysdeps/i386/tls-macros.h: New file.
13439 * sysdeps/powerpc/tls-macros.h: Likewise.
13440 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
13441 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
13442 * sysdeps/sh/tls-macros.h: Likewise.
13443 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
13444 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
13445 * sysdeps/x86_64/tls-macros.h: Likewise.
13446
f7db3170
TS
134472012-07-17 Thomas Schwinge <thomas@codesourcery.com>
13448
07cbfc23
TS
13449 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
13450 zero value for regular exit case.
13451
f7db3170
TS
13452 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13453 (__start_context): Preserve zero value for regular exit case.
13454
dc97c227
TS
134552012-07-17 Thomas Schwinge <thomas@codesourcery.com>
13456 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13457
13458 * manual/setjmp.texi (setcontext): Clarify normal process
13459 termination when uc_link is the null pointer.
13460 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
13461 exit call.
13462
d0cd7d02
AS
134632012-07-16 Andreas Schwab <schwab@linux-m68k.org>
13464
13465 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
13466 preprocessor. Test for each exception mask separately.
13467
dd318934
AJ
134682012-07-16 Andreas Jaeger <aj@suse.de>
13469
13470 * po/ru.po: Update from translation team.
13471
8048311a
JM
134722012-07-15 Joseph Myers <joseph@codesourcery.com>
13473
13474 * conform/data/string.h-data (NULL): Use macro-constant. Require
13475 equal to 0.
13476 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13477 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13478 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
13479 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
13480 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13481
b637d46e
AJ
134822012-07-13 Andreas Jaeger <aj@suse.de>
13483
13484 * po/fr.po: Update from translation team.
13485
541428fe
MP
134862012-07-12 Marek Polacek <polacek@redhat.com>
13487
13488 [BZ #14173]
13489 * math/libm-test.inc (yn_test): Add test for BZ #14173.
13490 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
13491 loop condition.
13492
ec332e94
JM
134932012-07-12 Joseph Myers <joseph@codesourcery.com>
13494
13495 [BZ #13717]
13496 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13497 Change to 2.4.1 where previously 2.4.0.
13498 * sysdeps/unix/sysv/linux/configure: Regenerated.
13499 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
13500 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
13501 version.
13502 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
13503 (__ASSUME_AT_CLKTCK): Remove.
13504 (__ASSUME_AT_PAGESIZE): Likewise.
13505 (__ASSUME_AT_XID): Likewise.
13506 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
13507 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
13508 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
13509 unconditionally.
13510 (HAVE_AUX_PAGESIZE): Likewise.
13511 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
13512 [__ASSUME_AT_CLKTCK]: Make code unconditional.
13513 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
13514
7b6e99be
JB
135152012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
13516
13517 [BZ #14307]
13518 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
13519 the temporary buffer used to invoke __gethostbyname2_r,
13520 __gethostbyaddr_r and gethostbyname4_r to make room for struct
13521 host_data / struct gaih_addrtuple.
13522 * resolv/nss_dns/dns-host.c (global scope): Move definition of
13523 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
13524 header file nss/nsswitch.h.
13525 * nss/nsswitch.h (global scope): Add definition of implementation
13526 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
13527 resolv/nss_dns/dns-host.c).
13528
608404eb
AJ
135292012-07-11 Andreas Jaeger <aj@suse.de>
13530
13531 * po/fr.po: Update from translation team.
13532
71220aca
AJ
13533 * po/sv.po: Update from translation team
13534 * po/fr.po: Another update from translation team.
13535
28cfe843
AZ
135362012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13537
13538 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
13539 for subnormals or multiply small sinh result by itself.
13540 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13542
6b90f981
DM
135432012-07-11 David S. Miller <davem@davemloft.net>
13544
13545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13546
c6825772
AS
135472012-07-10 Andreas Schwab <schwab@linux-m68k.org>
13548
13549 [BZ #14347]
13550 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
13551 (INTERNAL_MARK): Shift it here.
13552
7b8e0d49
MP
135532012-07-10 Marek Polacek <polacek@redhat.com>
13554
13555 [BZ #14151]
13556 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
13557 libc_cv_asm_global_directive with .globl.
13558 * configure: Regenerated.
13559 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
13560 with .globl.
13561 * sysdeps/i386/configure: Regenerated.
13562 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
13563 with .globl.
13564 * sysdeps/x86_64/configure: Regenerated.
13565 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
13566 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
13567 * elf/tst-unique2mod2.c: Likewise.
13568 * elf/tst-unique2mod1.c: Likewise.
13569 * elf/tst-unique1mod2.c: Likewise.
13570 * elf/tst-unique1mod1.c: Likewise.
13571 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13572 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13573 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13574 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13575 * sysdeps/mach/sysdep.h: Likewise.
13576 * sysdeps/i386/sysdep.h: Likewise.
13577 * sysdeps/i386/i386-mcount.S: Likewise.
13578 * sysdeps/x86_64/_mcount.S: Likewise.
13579 * sysdeps/x86_64/sysdep.h: Likewise.
13580 * sysdeps/sh/_mcount.S: Likewise.
13581 * sysdeps/sh/sysdep.h: Likewise.
13582 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
13583 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
13584 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
13585 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13586 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
13587 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
13588 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
13589 * locale/localeinfo.h: Likewise.
13590 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
13591 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
13592
6c55cda3
RM
135932012-07-09 Roland McGrath <roland@hack.frob.com>
13594
13595 [BZ #14336]
13596 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
13597 system".
13598 * manual/message.texi (The Uniforum approach): Likewise.
13599 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
13600 (glibc iconv Implementation): Likewise.
13601
638a572e
JM
136022012-07-09 Joseph Myers <joseph@codesourcery.com>
13603
13604 [BZ #14337]
13605 * math/s_clog.c (__clog): Avoid scaling a value down where that
13606 could result in underflow.
13607 * math/s_clog10.c (__clog10): Likewise.
13608 * math/s_clog10f.c (__clog10f): Likewise.
13609 * math/s_clog10l.c (__clog10l): Likewise.
13610 * math/s_clogf.c (__clogf): Likewise.
13611 * math/s_clogl.c (__clogl): Likewise.
13612 * math/libm-test.inc (clog_test): Add more tests.
13613 (clog10_test): Likewise.
13614 * sysdeps/i386/fpu/libm-test-ulps: Update.
13615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13616
261f4859
AS
136172012-07-06 Andreas Schwab <schwab@linux-m68k.org>
13618
0abaf3e4
AS
13619 [BZ #14283]
13620 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
13621 by 7 not 8 to examine high bit of fractional part.
13622
261f4859
AS
13623 [BZ #14042]
13624 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
13625 for call to __mcount_internal.
13626 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
13627 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
13628 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
13629
f17ac40d
JM
136302012-07-06 Joseph Myers <joseph@codesourcery.com>
13631
9ad63c23
JM
13632 [BZ #14154]
13633 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
13634 approximation for values within 0x1p-13f of an odd multiple of
13635 pi/4.
13636 * math/libm-test.inc (tan_test): Do not allow spurious underflow
13637 exception. Add more tests.
13638 * sysdeps/i386/fpu/libm-test-ulps: Update.
13639
f17ac40d
JM
13640 [BZ #6778]
13641 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
13642 inputs and return -1 for them. Do not check for +Inf in case not
13643 reachable for +Inf.
13644 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13645 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
13646 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13647 and return -1 for them. Do not check for +Inf in case not
13648 reachable for +Inf.
13649 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
13650 define.
13651 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13652 and return -1 for them. Do not check for +Inf in case not
13653 reachable for +Inf.
13654 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
13655 spurious underflow.
13656 * sysdeps/i386/fpu/libm-test-ulps: Update.
13657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13658
fb21f89b
MF
136592012-07-06 Mike Frysinger <vapier@gentoo.org>
13660
13661 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
13662
cdfe2c5e
JM
136632012-07-05 Joseph Myers <joseph@codesourcery.com>
13664
13665 [BZ #14157]
13666 [BZ #14331]
13667 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
13668 could result in spurious underflow. Scale down values above
13669 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
13670 * math/s_csqrtf.c (__csqrtf): Likewise.
13671 * math/s_csqrtl.c (__csqrtl): Likewise.
13672 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
13673 spurious underflow.
13674 * sysdeps/i386/fpu/libm-test-ulps: Update.
13675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13676
70d35b67
AS
136772012-07-04 Andreas Schwab <schwab@linux-m68k.org>
13678
704bc459
AS
13679 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
13680 xopen-msg.sed.
13681 * catgets/xopen-msg.awk: New file.
13682 * catgets/xopen-msg.sed: Removed.
13683
70d35b67
AS
13684 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
13685 po2text.sed.
13686 * intl/po2test.awk: New file.
13687 * intl/po2test.sed: Removed.
13688
ca61cf32
JM
136892012-07-04 Joseph Myers <joseph@codesourcery.com>
13690
13691 [BZ #14328]
13692 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
13693 or multiply small sinh result by itself.
13694 * math/s_ctanf.c (__ctanf): Likewise.
13695 * math/s_ctanh.c (__ctanh): Likewise.
13696 * math/s_ctanhf.c (__ctanhf): Likewise.
13697 * math/s_ctanhl.c (__ctanhl): Likewise.
13698 * math/s_ctanl.c (__ctanl): Likewise.
13699 * math/libm-test.inc (ctan_test_tonearest): New function.
13700 (ctan_test_towardzero): Likewise.
13701 (ctan_test_downward): Likewise.
13702 (ctan_test_upward): Likewise.
13703 (ctanh_test_tonearest): Likewise.
13704 (ctanh_test_towardzero): Likewise.
13705 (ctanh_test_downward): Likewise.
13706 (ctanh_test_upward): Likewise.
13707 (main): Call these new functions.
13708 * sysdeps/i386/fpu/libm-test-ulps: Update.
13709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13710
ca48a46a
MF
137112012-07-03 Mike Frysinger <vapier@gentoo.org>
13712
13713 * .gitignore: Delete /ports entry.
13714
9d63d37d
AJ
137152012-07-03 Andreas Jaeger <aj@suse.de>
13716
13717 * po/bg.po: Update from translation team.
13718 * po/cs.po: Likewise.
13719 * po/de.po: Likewise.
13720 * po/hr.po: Likewise.
13721 * po/nl.pl: Likewise.
13722 * po/pl.po: Likewise.
13723 * po/vi.po: Likewise.
13724
370ca3d2
JM
137252012-07-03 Joseph Myers <joseph@codesourcery.com>
13726
95f5a9a8
JM
13727 * Makeconfig [!+link] (+link-before-libc): New variable.
13728 [!+link] (+link-after-libc): Likewise.
13729 [!+link] (+link-tests): Likewise.
13730 [!+link] (+link): Define in terms of $(+link-before-libc) and
13731 $(+link-after-libc).
13732 [!+link-static] (+link-static-before-libc): New variable.
13733 [!+link-static] (+link-static-after-libc): Likewise.
13734 [!+link-static] (+link-static-tests): Likewise.
13735 [!+link-static] (+link-static): Define in terms of
13736 $(+link-static-before-libc) and $(+link-static-after-libc).
13737 [build-shared] (link-libc-before-gnulib): New variable.
13738 [build-shared] (link-libc-tests): Likewise.
13739 [build-shared] (link-libc): Define in terms of
13740 $(link-libc-before-gnulib).
13741 [!build-shared] (link-libc-tests): New variable.
13742 (link-libc-static-tests): New variable.
13743 [!gnulib] (gnulib-arch): New variable.
13744 [!gnulib] (gnulib-tests): Likewise.
13745 [!gnulib] (static-gnulib-arch): Likewise.
13746 [!gnulib] (static-gnulib-tests): Likewise.
13747 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
13748 Define with "=" instead of ":=".
13749 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
13750 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
13751 * Rules (binaries-all-notests): New variable.
13752 (binaries-all-tests): Likewise.
13753 (binaries-static-notests): Likewise.
13754 (binaries-static-tests): Likewise.
13755 (binaries-all): Define using $(binaries-all-notests) and
13756 $(binaries-all-tests).
13757 (binaries-static): Define using $(binaries-static-notests) and
13758 $(binaries-static-tests).
13759 (binaries-shared-tests): New variable.
13760 (binaries-shared-notests): Likewise.
13761 (binaries-shared): Remove variable.
13762 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
13763 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
13764 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
13765 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
13766 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
13767 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
13768 * elf/Makefile (sln-modules): New variable.
13769 (extra-objs): Add $(sln-modules:=.o).
13770 (ldconfig-modules): Add static-stubs.
13771 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
13772 * elf/static-stubs.c: New file.
13773
7a845b2c
JM
13774 [BZ #14283]
13775 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
13776 by 7 not 8 to examine high bit of fractional part. Use volatile
13777 variables when splitting into final array of floats if
13778 __FLT_EVAL_METHOD__ != 0.
13779 * math/libm-test.inc (cos_test): Add another test.
13780 (sin_test): Likewise.
13781 * sysdeps/i386/fpu/libm-test-ulps: Update.
13782
e2283f38
JM
13783 [BZ #14273]
13784 * math/libm-test.inc (cosh_test): Add more tests.
13785
370ca3d2
JM
13786 * version.h (RELEASE): Set to "development".
13787 (VERSION): Set to "2.16.90".
13788
ee9247c3
CD
137892012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
13790
13791 * NEWS: Update copyright. Remove last-updated date.
13792 Mention math library bug fixes and timezone data changes.
13793 * README: Mention GNU/Hurd, x32, and HPPA support status.
13794
4648c381
TS
137952012-06-28 Thomas Schwinge <thomas@codesourcery.com>
13796
13797 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
13798
aac78a43
AJ
137992012-06-27 Andreas Jaeger <aj@suse.de>
13800
13801 * manual/contrib.texi (Contributors): Add Samuel Thibault.
13802
ed3dbfad
AJ
138032012-06-25 Andreas Jaeger <aj@suse.de>
13804
13805 * sysdeps/s390/fpu/libm-test-ulps: Update.
13806
4d0ee855
AS
138072012-06-23 Andreas Schwab <schwab@linux-m68k.org>
13808 Thomas Schwinge <thomas@codesourcery.com>
13809
13810 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
13811 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
13812 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
13813 fanotify_mark.
13814
af1bce34
TS
138152012-06-23 Thomas Schwinge <thomas@codesourcery.com>
13816
a9fa33ba
TS
13817 * sysdeps/mach/start.c: Remove file.
13818 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
13819 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
13820 * sysdeps/sh/init-first.c: Likewise.
13821
58f902b8
TS
13822 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
13823 registers for frame unwinding purposes, add CFI directives.
13824 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13825 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
13826 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
13827 Likewise.
13828
1518f58b
TS
13829 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
13830 __fortify_fail returning.
13831 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13832
db9b5059
TS
13833 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
13834 sysdeps/sh/____longjmp_chk.S.
13835 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
13836 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
13837 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
13838 (gen-as-const-headers): Append sigaltstack-offsets.sym.
13839
967705fe
TS
13840 * sysdeps/sh/abort-instr.h: New file.
13841 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
13842 process in case exit returns.
13843
a9def8c4
TS
13844 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
13845 initialize the GOT register before use.
13846
2a649725
TS
13847 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
13848 calculation of ARGC > 4.
13849
af1bce34
TS
13850 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
13851 meaningful names to some local labels.
13852
d230f50a
KK
138532012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13854 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13855
13856 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
13857 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
13858 (__arch_compare_and_exchange_val_16_acq): Likewise.
13859 (__arch_compare_and_exchange_val_32_acq): Likewise.
13860 (atomic_exchange_and_add): Fix gUSA sequence.
13861 (atomic_add): Likewise.
13862 (atomic_add_negative): Likewise.
13863 (atomic_add_zero): Likewise.
13864 (atomic_bit_test_set): Likewise.
13865
0479b305
AS
138662012-06-22 Andreas Schwab <schwab@redhat.com>
13867
13868 [BZ #13579]
13869 * include/link.h (struct link_map): Add l_free_initfini.
13870 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
13871 l_initfini.
13872 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
13873 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
13874 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
13875 set.
13876
0e3933b9
CD
138772012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
13878
13879 * configure.in: Use AC_LANG_SOURCE.
13880 * configure: Regenerate.
13881
4248b1b1
RM
138822012-06-22 Roland McGrath <roland@hack.frob.com>
13883
13884 * configure.in (libc_cv_localstatedir): New substituted variable.
13885 * configure: Regenerated.
13886 * config.make.in (localstatedir): New variable, substituted from
13887 libc_cv_localstatedir.
13888 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
13889 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
13890 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
13891 * sysdeps/gnu/configure: Regenerated.
13892
006dd861
JL
138932012-06-21 Jeff Law <law@redhat.com>
13894
13895 [BZ #14277]
13896 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
13897 free. Simplify list management for _LIBC case.
13898
79662d42
JM
138992012-06-21 Joseph Myers <joseph@codesourcery.com>
13900
b7abb4bf
JM
13901 [BZ #14273]
13902 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
13903 Clear sign bit of 64-bit integer value before comparing against
13904 overflow value.
13905
79662d42
JM
13906 * sysdeps/mach/configure: Regenerated.
13907
1f150908
L
139082012-06-21 H.J. Lu <hongjiu.lu@intel.com>
13909
13910 [BZ #14278]
13911 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
13912
28363bbf
JL
139132012-06-21 Jeff Law <law@redhat.com>
13914
13915 [BZ #13882]
13916 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
13917 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 13918 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
13919 * elf/dl-open.c (dl_open_worker): Likewise.
13920
09615db4
CD
139212012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
13922
13923 * scripts/list-sources.sh: Scan PORTS for translations.
13924 * po/libc.pot: Regenerated.
13925
2174c6dd
AJ
139262012-06-21 Andreas Jaeger <aj@suse.de>
13927
13928 [BZ #12194]
13929 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
13930 warning.
13931 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
13932 * bits/byteswap-16.h (__bswap_16): Likewise.
13933 * bits/byteswap.h (__bswap_constant_16): Likewise.
13934
3ee947b1
L
139352012-06-18 H.J. Lu <hongjiu.lu@intel.com>
13936
13937 [BZ #14117]
a2f34833
L
13938 * sysdeps/i386/fpu_control.h: Removed.
13939 * sysdeps/x86_64/fpu_control.h: Moved to ...
13940 * sysdeps/x86/fpu_control.h: Here.
13941
3ee947b1
L
13942 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
13943 (_FPU_SETCW): Likewise.
13944
ed1825f8
L
139452012-06-15 H.J. Lu <hongjiu.lu@intel.com>
13946
25f1282a
L
13947 [BZ #14117]
13948 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
13949 * sysdeps/x86/fpu/bits/mathinline.h: This.
13950 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
13951
ed1825f8
L
13952 [BZ #14050]
13953 [BZ #14117]
13954 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
13955 functions if __x86_64__ is defined.
13956
36d54b74
CLT
139572012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
13958
13959 * string/endian.h: Add !__ASSEMBLER__ condition for including
13960 conversion interfaces.
13961
10285c21
JM
139622012-06-15 Joseph Myers <joseph@codesourcery.com>
13963
13964 [BZ #14241]
13965 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
13966 of ABS(x) in calculating zero to negative powers other than odd
13967 integers.
13968 * math/libm-test.inc (pow_test): Add more tests.
13969
06c5abbd
AJ
139702012-06-15 Andreas Jaeger <aj@suse.de>
13971
13972 * manual/contrib.texi (Contributors): Update entry of Liubov
13973 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
13974 Machado Filho.
13975
a3aeac40
CH
139762012-06-15 Cyril Hrubis <metan@ucw.cz>
13977
13978 * string/string.h: Add __wur to GNU version of strerror_r.
13979
49bdf4c1
L
139802012-06-14 H.J. Lu <hongjiu.lu@intel.com>
13981
13982 [BZ #14229]
13983 * string/Makefile (tests): Add tst-strtok_r.
13984 * string/tst-strtok_r.c: New file.
13985 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
13986 RAX_LP/RDX_LP on SAVE_PTR.
13987
834f9b8d
RM
139882012-06-14 Roland McGrath <roland@hack.frob.com>
13989
13990 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
13991
75fa1921
JM
139922012-06-14 Joseph Myers <joseph@codesourcery.com>
13993
13994 * libm_test.inc (csqrt_test): Allow more spurious underflow
13995 exceptions.
13996 (j0_test): Likewise.
13997 (j1_test): Likewise.
13998 (y0_test): Likewise.
13999 (y1_test): Likewise.
14000
771766df
CD
140012012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
14002
14003 * po/Makefile (libc.pot): Use UTF-8 charset.
14004
ceb9e56b
PP
140052012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
14006
14007 [BZ #14210]
14008 Suppress sign-conversion warning from FD_SET.
14009 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
14010 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
14011 not unsigned long int.
14012 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
14013
ddb28975
L
140142012-06-12 H.J. Lu <hongjiu.lu@intel.com>
14015
14016 [BZ #14050]
14017 [BZ #14117]
14018 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
14019 __extern_always_inline instead of __extern_inline.
14020 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
14021 (__signbit): Likewise.
14022 (__signbitl): Support C++ namespace.
14023 (lrintf): New inline function.
14024 (lrint): Likewise.
14025 (llrintf): Likewise.
14026 (llrint): Likewise.
14027 (fmaxf): Likewise.
14028 (fmax): Likewise.
14029 (fminf): Likewise.
14030 (fmin): Likewise.
14031 (rint): Likewise.
14032 (rintf): Likewise.
14033 (ceil): Likewise.
14034 (ceilf): Likewise.
14035 (floor): Likewise.
14036 (floorf): Likewise.
14037 (nearbyint): Likewise.
14038 (nearbyintf): Likewise.
14039
d7b4fb26
TS
140402012-06-12 Thomas Schwinge <thomas@codesourcery.com>
14041
14042 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
14043 non-default versions.
14044
eb55f5c2
RM
140452012-06-11 Roland McGrath <roland@hack.frob.com>
14046
14047 [BZ #14218]
14048 * manual/argp.texi (Argp): Reword argp_parse description slightly.
14049
366af02c
TS
140502012-06-09 Thomas Schwinge <thomas@codesourcery.com>
14051
99ff6e5c
TS
14052 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
14053 (FE_UPWARD, FE_DOWNWARD): Don't define.
14054 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
14055 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14056
366af02c
TS
14057 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
14058 reading it.
14059 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14060 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14061
793ea851
KK
140622012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14063
14064 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14065 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
14066 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
14067 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
14068
a728a38f
L
140692012-06-06 H.J. Lu <hongjiu.lu@intel.com>
14070
14071 [BZ #14117]
c08010c7
L
14072 * sysdeps/i386/fpu/bits/fenv.h: Removed.
14073 * sysdeps/i386/fpu/Implies: New file.
14074 * sysdeps/x86_64/fpu/Implies: Likewise.
14075 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
14076 * sysdeps/x86/fpu/bits/fenv.h: This.
14077
a728a38f
L
14078 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
14079 __SSE_MATH__.
14080
6e230d11
SP
140812012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14082
14083 [BZ #14134]
14084 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
14085 character 0xffff that matches the last element of the
14086 conversion table.
14087
1b671feb
AZ
140882012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14089
14090 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
14091 fmodl commit.
14092
6043738b
AZ
140932012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14094
14095 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
14096 values higher than 25.6283.
14097
34ae0b32
AZ
140982012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14099
14100 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
14101 subnormal exponent extraction and add some __builtin_expect.
14102 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
14103 Fix for subnormal mantissa calculation.
14104
1214ec8f
MF
141052012-06-04 Mike Frysinger <vapier@gentoo.org>
14106
14107 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
14108 cpu2 is -1 and errno is not ENOSYS.
14109
f3d1f93c
L
141102012-06-04 H.J. Lu <hongjiu.lu@intel.com>
14111
14112 [BZ #14117]
0e4a3cd7
L
14113 * sysdeps/i386/i486/bits/string.h: Renamed to ...
14114 * sysdeps/x86/bits/string.h: This.
14115 * sysdeps/x86_64/bits/string.h: Removed.
14116
6704c645
L
14117 * sysdeps/i386/i486/bits/string.h: Define inline functions only
14118 if not compiling for x86-64, but compiling for >= i486.
14119
48495318
L
14120 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
14121 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
14122
14adcbfc
L
14123 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
14124 New macro from Linux kernel 3.4.0.
14125 (FP_XSTATE_MAGIC2): Likewise.
14126 (FP_XSTATE_MAGIC2_SIZE): Likewise.
14127 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
14128 (struct _fpx_sw_bytes): New struct.
14129 (struct _xsave_hdr): Likewise.
14130 (struct _ymmh_state): Likewise.
14131 (struct _xstate): Likewise.
14132
68e408ab
L
14133 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
14134 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
14135 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
14136 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
14137 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
14138 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
14139
f3d1f93c
L
14140 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
14141 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
14142 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
14143 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
14144 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
14145 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
14146
d9dc34cd
TMQMF
141472012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14148
14149 [BZ #13743]
14150 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
14151 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
14152 (sysdep_headers): Include sys/platform/ppc.h.
14153 * sysdeps/powerpc/test-gettimebase.c: Test for
14154 __ppc_get_timebase() to catch future ISA opcode/insn changes.
14155 * manual/Makefile (appendices): Include platform.texi.
14156 * manual/contrib.texi (Contributors): Update @node pointers.
14157 * manual/maint.texi (Maintenance): Likewise.
14158 (Platform): New node.
14159 * manual/platform.texi: New file. Document the new features.
14160
4af3879c
SP
141612012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14162 Jakub Jelinek <jakub@redhat.com>
14163
14164 [BZ #14188]
14165 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
14166 where __builtin_expect is unavailable.
14167
2fd6ff13
DM
141682012-06-03 David S. Miller <davem@davemloft.net>
14169
14170 * stdlib/longlong.h: Updated from GCC.
14171
173f7220
AS
141722012-06-02 Andreas Schwab <schwab@linux-m68k.org>
14173
14174 [BZ #14042]
14175 * sysdeps/powerpc/powerpc32/mcount.c: New file.
14176 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
14177 __mcount_internal.
14178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14179 (GLIBC_2.16): Likewise.
14180
f34a1c6f
L
141812012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14182
14183 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
14184
88a4576f
JM
141852012-06-01 Joseph Myers <joseph@codesourcery.com>
14186
ea32bcdd
JM
14187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14188 (default-abi): New variable.
14189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
14190 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
14191 variable.
14192 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
14193 Likewise.
14194 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
14195 Likewise.
14196 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
14197 Likewise.
14198
88a4576f
JM
14199 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
14200 definition. Document in comment.
14201
402fe938
DM
142022012-06-01 David S. Miller <davem@davemloft.net>
14203
14204 * stdlib/longlong.h: Updated from GCC.
14205
3553723f
L
142062012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14207
14208 [BZ #14117]
3bd872c4
L
14209 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
14210 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
14211 sys/debugreg.h sys/io.h here.
14212 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
14213 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
14214 sys/io.h.
14215 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
14216 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
14217 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
14218 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
14219 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
14220 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
14221
3553723f
L
14222 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
14223 Define only if __x86_64__ is defined.
14224
4842e4fe
JM
142252012-06-01 Joseph Myers <joseph@codesourcery.com>
14226
c5bfe3d5
JM
14227 [BZ #14048]
14228 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
14229 Use int64_t for variable i.
14230 * math/libm-test.inc (fmod_test): Add more tests.
14231
4842e4fe
JM
14232 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
14233 z computation is not scheduled after fetestexcept.
14234 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
14235 Use math_force_eval instead of asm to ensure calculation scheduled
14236 before exception test.
14237 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
14238 Ensure a1 + u.d computation is not scheduled after fetestexcept.
14239
efb73488
AJ
142402012-06-01 Aurelien Jarno <aurelien@aurel32.net>
14241
14242 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
14243 computation is not scheduled after fetestexcept.
14244
29bcce7c
L
142452012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14246
14247 [BZ #14117]
14248 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
14249 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
14250
73a68f94
AZ
142512012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14252
14253 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
14254 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14255
67b6df78
L
142562012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14257
edf2933a 14258 [BZ #14117]
ebc64a18
L
14259 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
14260 <bits/wordsize.h>.
14261 (__WCHAR_MIN): Support __WORDSIZE == 64.
14262 (__WCHAR_MAX): Likewise.
14263
edf2933a
L
14264 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
14265 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
14266
57c6cf40
L
14267 [BZ #14183]
14268 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
14269 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
14270
67b6df78 14271 [BZ #14117]
8eb6281e
L
14272 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
14273 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
14274
aac639f4
L
14275 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
14276 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
14277
67b6df78
L
14278 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
14279 Defined to 1 if __x86_64__ isn't defined.
14280 (_STAT_VER_LINUX_OLD): New.
14281 (st_atime): Remove duplicate.
14282 (st_mtime): Likewise.
14283 (st_ctime): Likewise.
14284
1c2cfe81
DM
142852012-05-31 David S. Miller <davem@davemloft.net>
14286
14287 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
14288 entries.
14289
5be8418c
AS
142902012-06-01 Andreas Schwab <schwab@linux-m68k.org>
14291
e7725326
AS
14292 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
14293 gen-libm-test.pl.
14294
5be8418c
AS
14295 [BZ #14132]
14296 * elf/dl-reloc.c: Include <_itoa.h>.
14297 (_dl_reloc_bad_type): Remove use of INTUSE.
14298 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
14299 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
14300 * stdio-common/psiginfo.c (psiginfo): Likewise.
14301 * stdio-common/psignal.c (psignal): Likewise.
14302 * string/strsignal.c (strsignal): Likewise.
14303 * include/signal.h (_sys_siglist): Declare hidden proto.
14304 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
14305 INTVARDEF with libc_hidden_data_def.
14306 * stdio-common/itoa-udigits.c: Likewise.
14307 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
14308 (_itoa_lower_digits_internal): Remove declaration.
14309 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
14310 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
14311 (_sys_sigabbrev_internal): Remove aliases.
14312 (_sys_siglist): Define hidden alias.
14313
507352f1
MT
143142012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
14315
14316 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14317 bits/sysctl.h.
14318
42bbb1c3
L
143192012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14320
14321 [BZ #14117]
6bd784b6
L
14322 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
14323 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
14324
8bca20f0
L
14325 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
14326 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
14327 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
14328 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
14329 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
14330 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
14331
f9e890a9
L
14332 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
14333 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
14334 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
14335
471101a1
L
14336 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
14337 with __addr.
14338 (insw): Likewise.
14339 (insl): Likewise.
14340 (outsb): Likewise.
14341 (outsw): Likewise.
14342 (outsl): Likewise.
14343
6451c862
L
14344 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
14345 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
14346 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
14347
a254b8c9
L
14348 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
14349 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
14350 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
14351 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
14352 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
14353 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
14354
b8dfdd92
L
14355 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
14356 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
14357
578cd270
L
14358 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
14359 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
14360
de662f5f
L
14361 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
14362 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
14363 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
14364
25653439
L
14365 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
14366 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
14367 to ...
14368 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
14369
6bad24a0
L
14370 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
14371 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
14372 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
14373
42bbb1c3
L
14374 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
14375 for x86-64.
14376 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
14377
2d10d547
JM
143782012-05-31 Joseph Myers <joseph@codesourcery.com>
14379
14380 * math/math.h (M_El): Use two more decimal places.
14381 (M_LOG2El): Likewise.
14382 (M_LOG10El): Likewise.
14383 (M_LN2l): Likewise.
14384 (M_LN10l): Likewise.
14385 (M_PIl): Likewise.
14386 (M_PI_2l): Likewise.
14387 (M_PI_4l): Likewise.
14388 (M_1_PIl): Likewise.
14389 (M_2_PIl): Likewise.
14390 (M_2_SQRTPIl): Likewise.
14391 (M_SQRT2l): Likewise.
14392 (M_SQRT1_2l): Likewise.
14393
f230c29b
DM
143942012-05-31 David S. Miller <davem@davemloft.net>
14395
14396 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
14397 values between float registers.
14398 * sysdeps/sparc/sparc64/memset.S: Likewise.
14399 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14400
fed806c3
MF
144012012-05-31 Mike Frysinger <vapier@gentoo.org>
14402
14403 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
14404 -D_FORTIFY_SOURCE=1.
14405 (CPPFLAGS-tst-longjmp_chk.c): Define.
14406 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
14407 (CPPFLAGS-tst-longjmp_chk2.c): Define.
14408 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
14409 CFLAGS-tst-wchar-h.c.
14410
30917259
MP
144112012-05-31 Marek Polacek <polacek@redhat.com>
14412
14413 [BZ #14132]
14414 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
14415 __endmntent_internal): Remove declaration.
14416 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
14417 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
14418 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
14419
1c58d5dc
DM
144202012-05-30 David S. Miller <davem@davemloft.net>
14421
14422 * sysdeps/sparc/sparc32/soft-fp/q_util.c
14423 (___Q_simulate_exceptions): Use real FP ops rather than writing
14424 into the %fsr.
14425 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
14426 Likewise.
14427
7dc00e0d
L
144282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14429
14430 [BZ #14117]
0bd53985
L
14431 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
14432 * sysdeps/x86/bits/xtitypes.h: This.
14433
3a257e66
L
14434 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
14435 * sysdeps/x86/bits/wordsize.h: This.
14436
62f62904
L
14437 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
14438 * sysdeps/x86/bits/huge_vall.h: This.
14439
404fe9d9
L
14440 * sysdeps/i386/bits/select.h: Removed.
14441 * sysdeps/x86_64/bits/select.h: Renamed to ...
14442 * sysdeps/x86/bits/select.h: This.
14443
d48d0446
L
14444 * sysdeps/i386/bits/setjmp.h: Removed.
14445 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
14446 * sysdeps/x86/bits/setjmp.h: This.
14447
7dc00e0d
L
14448 * sysdeps/i386/bits/mathdef.h: Removed.
14449 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
14450 * sysdeps/x86/bits/mathdef.h: This.
14451
03277f8f
AS
144522012-05-30 Andreas Schwab <schwab@linux-m68k.org>
14453
14454 [BZ #14132]
14455 * include/sys/socket.h (__connect_internal)
14456 (__libc_sa_len_internal): Remove declaration.
14457 (__connect, __libc_sa_len): Declare hidden_proto.
14458 (SA_LEN): Remove use of INTUSE.
14459 * socket/connect.c: Add libc_hidden_def.
14460 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
14461 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
14462 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
14463 alias.
14464 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14465 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
14466 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
14467 of adding _internal alias.
14468
13764867
L
144692012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14470
14471 [BZ #14117]
6bd97696
L
14472 * sysdeps/i386/bits/link.h: Removed.
14473 * sysdeps/i386/bits/linkmap.h: Likewise.
14474 * sysdeps/x86_64/bits/link.h: Renamed to ...
14475 * sysdeps/x86/bits/link.h: This.
14476 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
14477 * sysdeps/x86/bits/linkmap.h: This.
14478
f726f0bb
L
14479 * sysdeps/i386/bits/endian.h: Removed.
14480 * sysdeps/x86_64/bits/endian.h: Renamed to ...
14481 * sysdeps/x86/bits/endian.h: This.
14482
13764867
L
14483 * sysdeps/i386/bits/byteswap.h: Removed.
14484 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14485 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
14486 * sysdeps/x86/bits/byteswap.h: This.
14487 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
14488 * sysdeps/x86/bits/byteswap-16.h: This.
14489 * sysdeps/i386/Implies: Add x86.
14490 * sysdeps/x86_64/Implies: Likewise.
14491
ae251b0b
DM
144922012-05-30 David S. Miller <davem@davemloft.net>
14493
14494 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
14495 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
14496 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14497 (FP_TRAPPING_EXCEPTIONS): Define.
14498 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14499 (FP_TRAPPING_EXCEPTIONS): Define.
14500 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
14501 subnormals only when inexact has been signalled or underflow
14502 exceptions are enabled.
14503 (_FP_PACK_CANONICAL): Likewise.
14504
d5c90867
L
145052012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14506
14507 [BZ #14183]
14508 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
14509 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
14510
63f1549e
RH
145112012-05-30 Richard Henderson <rth@twiddle.net>
14512
8d8f2279
RH
14513 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
14514 with #ifndef NOT_IN_libc.
14515
63f1549e
RH
14516 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
14517 marked to avoid plt entry.
14518
0ab0291b
L
145192012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14520
14521 [BZ #14112]
14522 * Makeconfig (default-abi): New macro.
14523 (abi-includes): Likewise.
14524 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
14525 $(abi-$(default-abi)-lib-soname) for soname if defined.
14526 ($(common-objpfx)gnu/lib-names.stmp): Generate from
14527 abi-variants.
14528 * Makefile (installed-stubs): Likewise.
14529 * include/stubs-biarch.h: Removed.
14530 * scripts/lib-names.awk: Only handle one library at a time.
14531 * scripts/soversions.awk: Remove WORDSIZE support.
14532 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
14533 entries.
14534 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
14535 Removed.
14536 (syscall-list-default-condition): Likewise.
14537 (syscall-list-default-condition): Likewise.
14538 (syscall-list-includes): Likewise.
14539 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
14540 syscall-list-* with abi-*. Handle undefined abi-variants.
14541 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
14542 * sysdeps/unix/sysv/linux/i386/Implies: New file.
14543 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
14544 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
14545 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
14546 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
14547 Removed.
14548 (syscall-list-32-options): Likewise.
14549 (syscall-list-32-condition): Likewise.
14550 (syscall-list-64-options): Likewise.
14551 (syscall-list-64-condition): Likewise.
14552 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
14553 macro.
14554 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
14555 Renamed to ...
14556 (abi-*): This.
14557 (abi-64-ld-soname): New macro.
14558 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
14559 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
14560 Renamed to ...
14561 (abi-*): This.
14562 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
14563 * sysdeps/x86_64/x32/shlib-versions: Likewise.
14564
4da0431d
JM
145652012-05-30 Joseph Myers <joseph@codesourcery.com>
14566
3a85279c
JM
14567 * sysdeps/unix/sysv/linux/kernel-features.h
14568 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
14569 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
14570 include <kernel-features.h>.
14571 [!__NR_ftruncate64]: Remove conditional code.
14572 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14573 [__NR_ftruncate64]: Make code unconditional.
14574 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14575 * sysdeps/unix/sysv/linux/truncate64.c: Do not
14576 include <kernel-features.h>.
14577 [!__NR_ftruncate64]: Remove conditional code.
14578 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14579 [__NR_ftruncate64]: Make code unconditional.
14580 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
14582 include <kernel-features.h>.
14583 [!__NR_ftruncate64]: Remove conditional code.
14584 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14585 [__NR_ftruncate64]: Make code unconditional.
14586 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14588 include <kernel-features.h>.
14589 [!__NR_ftruncate64]: Remove conditional code.
14590 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14591 [__NR_ftruncate64]: Make code unconditional.
14592 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14593
4da0431d
JM
14594 * configure.in (libc_cv_fpie): Weaken to a compile test using
14595 LIBC_TRY_CC_OPTION.
14596 * configure: Regenerated.
14597
11ef492c
AK
145982012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14599
14600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
14601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
14602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
14603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14604 Refreshed.
14605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
14606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
14607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
14608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
14609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
14610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14611 Refreshed.
14612
d66ef399
DM
146132012-05-27 David S. Miller <davem@davemloft.net>
14614
14615 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
14616 (___Q_zero): New.
14617 (__Q_simulate_exceptions): Return void. Change to simulate
14618 exceptions by writing into the %fsr.
14619 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
14620 (__Qp_handle_exceptions): Likewise.
14621 (numbers): Delete.
14622 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
14623 __Qp_handle_exceptions.
14624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
14625 __Qp_handle_exceptions.
14626 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14627 as unused and give dummy FP_RND_NEAREST initializer.
14628 (FP_INHIBIT_RESULTS): Define.
14629 (___Q_simulate_exceptions): Update declaration.
14630 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
14631 formatting.
14632 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14633 as unused and give dummy FP_RND_NEAREST initializer.
14634 (__Qp_handle_exceptions): Update declaration.
14635 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
14636 formatting.
14637
04fb54b5
TS
146382012-05-27 Thomas Schwinge <thomas@codesourcery.com>
14639
14640 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
14641 the temporary FPU control word.
14642 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14643 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
14644 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
14645 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14646 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14647 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
14648 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
14649 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14650 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14651 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14652 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14653
3f99608f
KK
146542012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14655
14656 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
14657 fields.
14658
65a4de4e
CLT
146592012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
14660
14661 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
14662 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
14663 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
14664 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
14665 Likewise.
14666 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
14667 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
14668 Likewise.
14669
15749d40
UD
146702012-05-27 Ulrich Drepper <drepper@gmail.com>
14671
14672 * po/h.po: Update from translation team.
14673
25dbcb27
AS
146742012-05-26 Andreas Schwab <schwab@linux-m68k.org>
14675
3d3f8e55
AS
14676 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
14677
25dbcb27
AS
14678 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
14679 handling of denormals.
14680 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14681 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14682 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14683 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14684 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14685 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
14686 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
14687 Likewise.
14688
7ad47a80 146892012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
14690
14691 [BZ #14152]
14692 * math/libm-test.inc (fma_test): Don't always expect underflow
14693 exception.
14694
9c6ea9fa
SP
146952012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14696
14697 [BZ #12416]
14698 * elf/tst-execstack.c: Include stackinfo.h.
14699 (do_test): Adjust test case to ensure that pthread_getattr_np
14700 behaviour remains the same after marking stack executable.
14701
a8239222
JM
147022012-05-25 Joseph Myers <joseph@codesourcery.com>
14703
14704 * sysdeps/unix/sysv/linux/kernel-features.h
14705 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
14706 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
14707 kernel-features.h.
14708 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14709 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14710 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
14711 kernel-features.h.
14712 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14713 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14714
918b5606
L
147152012-05-25 H.J. Lu <hongjiu.lu@intel.com>
14716
14717 * configure.in: Define the default includes to being none.
14718 * configure: Regenerated.
14719
3a097cc7
RM
147202012-05-25 Roland McGrath <roland@hack.frob.com>
14721
8422c9a5
RM
14722 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
14723 * sysdeps/x86_64/setjmp.S: Likewise.
14724 * sysdeps/i386/bsd-setjmp.S: Likewise.
14725 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14726 * sysdeps/i386/setjmp.S: Likewise.
14727 * sysdeps/i386/__longjmp.S: Likewise.
14728 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14729 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
14730
3a097cc7
RM
14731 * include/stap-probe.h: New file.
14732 * configure.in: Handle --enable-systemtap.
14733 * configure: Regenerated.
14734 * config.h.in (USE_STAP_PROBE): New #undef.
14735 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
14736 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
14737 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
14738
21708942
JM
147392012-05-25 Joseph Myers <joseph@codesourcery.com>
14740
14741 [BZ #13717]
14742 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14743 to 2.4.0 where earlier.
14744 * sysdeps/unix/sysv/linux/configure: Regenerated.
14745 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14746 <kernel-features.h>.
14747 [__ASSUME_32BITUIDS]: Make code unconditional.
14748 [!__ASSUME_32BITUIDS]: Remove conditional code.
14749 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
14750 <kernel-features.h>.
14751 [__ASSUME_32BITUIDS]: Make code unconditional.
14752 [!__ASSUME_32BITUIDS]: Remove conditional code.
14753 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
14754 [__ASSUME_32BITUIDS]: Make code unconditional.
14755 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
14756 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.c: Do not include
14765 <kernel-features.h>.
14766 [__ASSUME_32BITUIDS]: Make code unconditional.
14767 [!__ASSUME_32BITUIDS]: Remove conditional code.
14768 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
14769 <kernel-features.h>.
14770 [__ASSUME_32BITUIDS]: Make code unconditional.
14771 [!__ASSUME_32BITUIDS]: Remove conditional code.
14772 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14773 <kernel-features.h>.
14774 [__ASSUME_32BITUIDS]: Make code unconditional.
14775 [!__ASSUME_32BITUIDS]: Remove conditional code.
14776 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14777 <kernel-features.h>.
14778 [__ASSUME_32BITUIDS]: Make code unconditional.
14779 [!__ASSUME_32BITUIDS]: Remove conditional code.
14780 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
14781 <kernel-features.h>.
14782 [__ASSUME_32BITUIDS]: Make code unconditional.
14783 [!__ASSUME_32BITUIDS]: Remove conditional code.
14784 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14785 <kernel-features.h>.
14786 [__ASSUME_32BITUIDS]: Make code unconditional.
14787 [!__ASSUME_32BITUIDS]: Remove conditional code.
14788 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14789 <kernel-features.h>.
14790 [__ASSUME_32BITUIDS]: Make code unconditional.
14791 [!__ASSUME_32BITUIDS]: Remove conditional code.
14792 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
14793 <kernel-features.h>.
14794 [__ASSUME_32BITUIDS]: Make code unconditional.
14795 [!__ASSUME_32BITUIDS]: Remove conditional code.
14796 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
14797 <kernel-features.h>.
14798 [__NR_setresgid] (__setresgid): Do not declare.
14799 [__ASSUME_32BITUIDS]: Make code unconditional.
14800 [!__ASSUME_32BITUIDS]: Remove conditional code.
14801 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
14802 <kernel-features.h>.
14803 [__NR_setresuid] (__setresuid): Do not declare.
14804 [__ASSUME_32BITUIDS]: Make code unconditional.
14805 [!__ASSUME_32BITUIDS]: Remove conditional code.
14806 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
14807 <kernel-features.h>.
14808 [__ASSUME_32BITUIDS]: Make code unconditional.
14809 [!__ASSUME_32BITUIDS]: Remove conditional code.
14810 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
14811 <kernel-features.h>.
14812 [__ASSUME_32BITUIDS]: Make code unconditional.
14813 [!__ASSUME_32BITUIDS]: Remove conditional code.
14814 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
14815 <kernel-features.h>.
14816 [__ASSUME_32BITUIDS]: Make code unconditional.
14817 [!__ASSUME_32BITUIDS]: Remove conditional code.
14818 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
14819 <kernel-features.h>.
14820 [__ASSUME_32BITUIDS]: Make code unconditional.
14821 [!__ASSUME_32BITUIDS]: Remove conditional code.
14822 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
14823 <kernel-features.h>.
14824 [__ASSUME_32BITUIDS]: Make code unconditional.
14825 [!__ASSUME_32BITUIDS]: Remove conditional code.
14826 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
14827 <kernel-features.h>.
14828 [__ASSUME_32BITUIDS]: Make code unconditional.
14829 [!__ASSUME_32BITUIDS]: Remove conditional code.
14830 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
14831 <kernel-features.h>.
14832 [__ASSUME_32BITUIDS]: Make code unconditional.
14833 [!__ASSUME_32BITUIDS]: Remove conditional code.
14834 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
14835 <kernel-features.h>.
14836 [__ASSUME_32BITUIDS]: Make code unconditional.
14837 [!__ASSUME_32BITUIDS]: Remove conditional code.
14838 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
14839 <kernel-features.h>.
14840 [__ASSUME_32BITUIDS]: Make code unconditional.
14841 [!__ASSUME_32BITUIDS]: Remove conditional code.
14842 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14843 <kernel-features.h>.
14844 [__ASSUME_32BITUIDS]: Make code unconditional.
14845 [!__ASSUME_32BITUIDS]: Remove conditional code.
14846 * sysdeps/unix/sysv/linux/kernel-features.h
14847 (__ASSUME_SETRESUID_SYSCALL): Remove.
14848 (__ASSUME_SETRESGID_SYSCALL): Likewise.
14849 (__ASSUME_32BITUIDS): Likewise.
14850 (__ASSUME_LDT_WORKS): Likewise.
14851 (__ASSUME_O_DIRECTORY): Likewise.
14852 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
14853 architecture but not kernel version.
14854 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14855 (__ASSUME_MMAP2_SYSCALL): Likewise.
14856 (__ASSUME_STAT64_SYSCALL): Likewise.
14857 (__ASSUME_IPC64): Likewise.
14858 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
14859 <kernel-features.h>.
14860 [__ASSUME_32BITUIDS]: Make code unconditional.
14861 [!__ASSUME_32BITUIDS]: Remove conditional code.
14862 * sysdeps/unix/sysv/linux/opendir.c: Do not include
14863 <kernel-features.h>.
14864 [__ASSUME_O_DIRECTORY]: Make code unconditional.
14865 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
14866 132096]: Remove conditional code.
14867 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
14868 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14869 <kernel-features.h>.
14870 [__ASSUME_32BITUIDS]: Make code unconditional.
14871 [!__ASSUME_32BITUIDS]: Remove conditional code.
14872 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14873 <kernel-features.h>.
14874 [__ASSUME_32BITUIDS]: Make code unconditional.
14875 [!__ASSUME_32BITUIDS]: Remove conditional code.
14876 * sysdeps/unix/sysv/linux/setegid.c: Do not include
14877 <kernel-features.h>.
14878 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
14879 unconditional.
14880 (__setresgid): Do not declare.
14881 [__ASSUME_32BITUIDS]: Make code unconditional.
14882 [!__ASSUME_32BITUIDS]: Remove conditional code.
14883 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
14884 <kernel-features.h>.
14885 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
14886 unconditional.
14887 (__setresuid): Do not declare.
14888 [__ASSUME_32BITUIDS]: Make code unconditional.
14889 [!__ASSUME_32BITUIDS]: Remove conditional code.
14890 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14891 <kernel-features.h>.
14892 [__ASSUME_32BITUIDS]: Make code unconditional.
14893 [!__ASSUME_32BITUIDS]: Remove conditional code.
14894 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
14895 <kernel-features.h>.
14896 [__ASSUME_32BITUIDS]: Make code unconditional.
14897 [!__ASSUME_32BITUIDS]: Remove conditional code.
14898
a386f1cc
RH
148992012-05-25 Richard Henderson <rth@twiddle.net>
14900
14901 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
14902 dl_hwcap to ifunc resolver.
14903 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
14904 elf_ifunc_invoke.
14905 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
14906 dl_hwcap to ifunc resolver.
14907 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
14908
b6550497
JM
149092012-05-24 Joseph Myers <joseph@codesourcery.com>
14910
14911 [BZ #14153]
14912 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
14913 for |x| <= 2**-26, not 2**-57.
14914 * math/libm-test.inc (acos_test): Do not allow spurious underflow
14915 exception.
14916
b0bc23a1
JL
149172012-05-24 Jeff Law <law@redhat.com>
14918
14919 * stdio-common/Makefile (tests): Add bug25.
14920 * stdio-common/bug25.c: New test.
14921
347c92e9
L
149222012-05-24 H.J. Lu <hongjiu.lu@intel.com>
14923
14924 [BZ #13576]
14925 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
14926 multiple of MALLOC_ALIGNMENT in size.
14927 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
14928
6bcc8b3f
JM
149292012-05-24 Joseph Myers <joseph@codesourcery.com>
14930
14931 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
14932 Require >= 256.
14933 (FILENAME_MAX): Use macro-int-constant.
14934 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
14935 (_IOFBF): Use macro-int-constant.
14936 (_IOLBF): Likewise.
14937 (_IONBF): Likewise.
14938 (SEEK_CUR): Likewise.
14939 (SEEK_END): Likewise.
14940 (SEEK_SET): Likewise.
14941 (TMP_MAX): Likewise.
14942 (EOF): Use macro-int-constant. Require < 0.
14943 (NULL): Use macro-constant. Require == 0.
14944 (stdin): Require type to be FILE *.
14945 (stdout): Likewise.
14946 (stderr): Likewise.
14947 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
14948 macro-int-constant.
14949 (EXIT_SUCCESS): Likewise.
14950 (NULL): Use macro-constant. Require == 0.
14951 (RAND_MAX): Use macro-int-constant.
14952 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
14953 [C99-based standards] (strtof): Require function.
14954 [C99-based standards] (strtold): Likewise.
14955 [C99-based standards] (strtoll): Likewise.
14956 [C99-based standards] (strtoull): Likewise.
14957 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14958 [ISO || ISO99 || ISO11] (limits.h): Likewise.
14959 [ISO || ISO99 || ISO11] (math.h): Likewise.
14960 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
14961 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14962 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14963
d18ea0c5
AS
149642012-05-24 Andreas Schwab <schwab@linux-m68k.org>
14965
14966 [BZ #14132]
56d25bb8
AS
14967 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
14968 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
14969 * intl/dgettext.c (DCGETTEXT): Likewise.
14970 * intl/gettext.c (DCGETTEXT): Likewise.
14971 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
14972 * posix/regex_internal.h (gettext): Likewise.
14973 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
14974 Remove declaration.
14975 * include/argz.h (__argz_count_internal)
14976 (__argz_stringify_internal): Remove declaration.
14977 (__argz_count, __argz_stringify): Declare hidden proto.
14978 * intl/dcgettext.c: Remove use of INTDEF.
14979 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
14980 * string/argz-stringify.c: Likewise.
14981 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14982 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14983 Declare hidden proto.
d18ea0c5
AS
14984 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14985 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14986 Declare hidden proto.
14987 * include/stdio.h (__asprintf_internal): Don't declare.
14988 (__asprintf): Don't define as macro. Declare hidden proto.
14989 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
14990 (__fsetlocking): Declare hidden proto.
14991 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
14992 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
14993 hidden proto.
14994 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
14995 (_IO_setlinebuf): Remove use of INTUSE.
14996 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
14997 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
14998 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
14999 Remove declaration.
15000 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
15001 (_IO_do_flush): Remove use of INTUSE.
15002 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
15003 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
15004 (_IO_adjust_column, _IO_least_wmarker)
15005 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
15006 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
15007 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
15008 (_IO_default_doallocate, _IO_wdefault_doallocate)
15009 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
15010 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
15011 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
15012 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
15013 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
15014 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
15015 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
15016 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
15017 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
15018 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
15019 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
15020 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
15021 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
15022 proto.
15023 (_IO_flush_all_internal, _IO_adjust_column_internal)
15024 (_IO_default_uflow_internal, _IO_default_finish_internal)
15025 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
15026 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
15027 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
15028 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
15029 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
15030 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
15031 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
15032 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
15033 (_IO_file_close_internal, _IO_file_close_it_internal)
15034 (_IO_file_underflow_internal, _IO_file_overflow_internal)
15035 (_IO_file_init_internal, _IO_file_attach_internal)
15036 (_IO_file_fopen_internal, _IO_file_read_internal)
15037 (_IO_file_sync_internal, _IO_file_seek_internal)
15038 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
15039 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
15040 (_IO_str_underflow_internal, _IO_str_overflow_internal)
15041 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
15042 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
15043 (_IO_list_all_internal, _IO_link_in_internal)
15044 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
15045 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
15046 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
15047 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
15048 (_IO_do_write_internal, _IO_padn_internal)
15049 (_IO_getline_info_internal, _IO_getline_internal)
15050 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
15051 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
15052 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
15053 (_IO_vfscanf_internal, _IO_vfprintf_internal)
15054 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
15055 (_IO_init_internal, _IO_un_link_internal): Don't declare.
15056 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
15057 with libc_hidden_ver, remove use of INTUSE.
15058 * libio/genops.c: Likewise.
15059 * libio/freopen.c: Likewise.
15060 * libio/freopen64.c: Likewise.
15061 * libio/iofclose.c: Likewise.
15062 * libio/iofdopen.c: Likewise.
15063 * libio/iofflush.c: Likewise.
15064 * libio/iofflush_u.c: Likewise.
15065 * libio/iofgets.c: Likewise.
15066 * libio/iofgets_u.c: Likewise.
15067 * libio/iofopen.c: Likewise.
15068 * libio/iofopncook.c: Likewise.
15069 * libio/iofread.c: Likewise.
15070 * libio/iofread_u.c: Likewise.
15071 * libio/ioftell.c: Likewise.
15072 * libio/iofwrite.c: Likewise.
15073 * libio/iogetline.c: Likewise.
15074 * libio/iogets.c: Likewise.
15075 * libio/iogetwline.c: Likewise.
15076 * libio/iopadn.c: Likewise.
15077 * libio/iopopen.c: Likewise.
15078 * libio/ioseekoff.c: Likewise.
15079 * libio/ioseekpos.c: Likewise.
15080 * libio/iosetbuffer.c: Likewise.
15081 * libio/iosetvbuf.c: Likewise.
15082 * libio/ioungetc.c: Likewise.
15083 * libio/ioungetwc.c: Likewise.
15084 * libio/iovdprintf.c: Likewise.
15085 * libio/iovsprintf.c: Likewise.
15086 * libio/iovsscanf.c: Likewise.
15087 * libio/memstream.c: Likewise.
15088 * libio/obprintf.c: Likewise.
15089 * libio/oldfileops.c: Likewise.
15090 * libio/oldiofclose.c: Likewise.
15091 * libio/oldiofdopen.c: Likewise.
15092 * libio/oldiofopen.c: Likewise.
15093 * libio/oldiopopen.c: Likewise.
15094 * libio/oldstdfiles.c: Likewise.
15095 * libio/putc.c: Likewise.
15096 * libio/setbuf.c: Likewise.
15097 * libio/setlinebuf.c: Likewise.
15098 * libio/stdfiles.c: Likewise.
15099 * libio/strops.c: Likewise.
15100 * libio/vasprintf.c: Likewise.
15101 * libio/vscanf.c: Likewise.
15102 * libio/vsnprintf.c: Likewise.
15103 * libio/vswprintf.c: Likewise.
15104 * libio/wfiledoalloc.c: Likewise.
15105 * libio/wfileops.c: Likewise.
15106 * libio/wgenops.c: Likewise.
15107 * libio/wmemstream.c: Likewise.
15108 * libio/wstrops.c: Likewise.
15109 * libio/__fpurge.c: Likewise.
15110 * libio/__fsetlocking.c: Likewise.
15111 * assert/assert.c: Likewise.
15112 * debug/fgets_chk.c: Likewise.
15113 * debug/fgets_u_chk.c: Likewise.
15114 * debug/fread_chk.c: Likewise.
15115 * debug/fread_u_chk.c: Likewise.
15116 * debug/gets_chk.c: Likewise.
15117 * debug/obprintf_chk.c: Likewise.
15118 * debug/vasprintf_chk.c: Likewise.
15119 * debug/vdprintf_chk.c: Likewise.
15120 * debug/vsnprintf_chk.c: Likewise.
15121 * debug/vsprintf_chk.c: Likewise.
15122 * malloc/mtrace.c: Likewise.
15123 * misc/error.c: Likewise.
15124 * misc/syslog.c: Likewise.
15125 * stdio-common/asprintf.c: Likewise.
15126 * stdio-common/fxprintf.c: Likewise.
15127 * stdio-common/getw.c: Likewise.
15128 * stdio-common/isoc99_fscanf.c: Likewise.
15129 * stdio-common/isoc99_scanf.c: Likewise.
15130 * stdio-common/isoc99_vfscanf.c: Likewise.
15131 * stdio-common/isoc99_vscanf.c: Likewise.
15132 * stdio-common/isoc99_vsscanf.c: Likewise.
15133 * stdio-common/printf-prs.c: Likewise.
15134 * stdio-common/printf_fp.c: Likewise.
15135 * stdio-common/printf_fphex.c: Likewise.
15136 * stdio-common/printf_size.c: Likewise.
15137 * stdio-common/putw.c: Likewise.
15138 * stdio-common/scanf.c: Likewise.
15139 * stdio-common/sprintf.c: Likewise.
15140 * stdio-common/tmpfile.c: Likewise.
15141 * stdio-common/vfprintf.c: Likewise.
15142 * stdio-common/vfscanf.c: Likewise.
15143 * stdlib/strfmon_l.c: Likewise.
15144 * sunrpc/openchild.c: Likewise.
15145 * sunrpc/xdr_stdio.c: Likewise.
15146 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15147 * sysdeps/mach/hurd/tmpfile.c: Likewise.
15148
d6c33fda
RM
151492012-05-24 Roland McGrath <roland@hack.frob.com>
15150
c1487492
RM
15151 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15152
15153 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
15154 in the third column, to generate for the shared library an IFUNC
15155 that uses _dl_vdso_vsym.
15156 * Makerules (COMPILE.c, compile-stdin.c): New variables.
15157 * Makeconfig (object-suffixes-noshared): New variable.
15158
15159 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
15160 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
15161 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
15162 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
15163
d6c33fda
RM
15164 [BZ #14132]
15165 * include/sys/time.h (__gettimeofday): Remove macro.
15166 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
15167 * time/gettimeofday.c (__gettimeofday): Remove #undef.
15168 Remove INTDEF.
15169 (__gettimeofday): Add libc_hidden_def.
15170 (gettimeofday): Add libc_hidden_weak.
15171 * sysdeps/mach/gettimeofday.c: Likewise.
15172 * sysdeps/posix/gettimeofday.c: Likewise.
15173 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15174 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15175 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
15176 (__gettimeofday_internal): Remove strong_alias.
15177 (__gettimeofday): Add libc_hidden_def.
15178 (gettimeofday): Add libc_hidden_weak.
15179 * sysdeps/unix/syscalls.list (gettimeofday):
15180 Remove __gettimeofday_internal alias.
15181
b5a2bbe6
L
151822012-05-24 Daniel Jacobowitz <drow@false.org>
15183 H.J. Lu <hongjiu.lu@intel.com>
15184
15185 [BZ #12495]
15186 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
15187 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
15188 (largebin_index_32_big): New.
15189 (largebin_index): Use it for 16-byte alignment.
15190 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
15191 correction with front_misalign.
15192
cfba4fda
L
151932012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15194
7f907421
L
15195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
15196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15197 Likewise.
15198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
15199 Likewise.
15200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15201 Likewise.
15202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
15203 Likewise.
15204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
15205 Likewise.
15206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
15207 Likewise.
15208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
15209 Likewise.
15210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15211 Likewise.
15212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
15213 Likewise.
15214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
15215 Likewise.
15216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15217 Likewise.
15218 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
15219 Likewise.
15220
cfba4fda
L
15221 * scripts/data/c++-types-x32-linux-gnu.data: New file.
15222 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
15223
80bad0cc
JM
152242012-05-24 Joseph Myers <joseph@codesourcery.com>
15225
7a25eb06
JM
15226 [BZ #10846]
15227 [BZ #14036]
15228 * math/libm-test.inc (exp_test): Add test from bug 14036.
15229 (pow_test): Add test from bug 10846.
15230
795405f9
JM
15231 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
15232 and other flags.
15233 (special_function): Do not include flags in test name.
15234 (parse_args): Likewise.
15235 * sysdeps/i386/fpu/libm-test-ulps: Update.
15236 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15237 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15238 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15240
80bad0cc
JM
15241 * math/gen-libm-test.pl (%beautify): Add entries for underflow
15242 exceptions.
15243 * math/libm-test.inc ("Philosophy"): Update comment about
15244 exception testing.
15245 (UNDERFLOW_EXCEPTION): New macro.
15246 (UNDERFLOW_EXCEPTION_OK): Likewise.
15247 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
15248 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
15249 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
15250 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
15251 (INVALID_EXCEPTION_OK): Update value.
15252 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15253 (OVERFLOW_EXCEPTION_OK): Likewise.
15254 (IGNORE_ZERO_INF_SIGN): Likewise.
15255 (test_exceptions): Handle underflow exceptions.
15256 (acos_test): Update for underflow exception expectations.
15257 (cexp_test): Likewise.
15258 (clog_test): Likewise.
15259 (clog10_test): Likewise.
15260 (csqrt_test): Likewise.
15261 (ctan_test): Likewise.
15262 (ctanh_test): Likewise.
15263 (exp_test): Likewise.
15264 (exp10_test): Likewise.
15265 (exp2_test): Likewise.
15266 (expm1_test): Likewise.
15267 (fma_test): Likewise.
15268 (j0_test): Likewise.
15269 (jn_test): Likewise.
15270 (nexttoward_test): Likewise.
15271 (pow_test): Likewise.
15272 (scalbn_test): Likewise.
15273 (scalbln_test): Likewise.
15274 (tan_test): Likewise.
15275 (y1_test): Likewise.
15276 * sysdeps/i386/fpu/libm-test-ulps: Update.
15277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15278
9e0e3d0b
DM
152792012-05-23 David S. Miller <davem@davemloft.net>
15280
15281 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15282 (__libc_sigaction): Remove unused local variables.
15283
ccd0a08f
L
152842012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15285
15286 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
15287
62bdf9a6
PE
152882012-05-23 Paul Eggert <eggert@cs.ucla.edu>
15289
f8591f80
PE
15290 mktime: avoid signed integer overflow
15291 * time/mktime.c (__mktime_internal): Do not mishandle the case
15292 where diff == INT_MIN.
15293
94c7d826
PE
15294 mktime: simplify computation of average
15295 * time/mktime.c (ranged_convert): Use new time_t_avg function
15296 instead of rolling our own (probably-slower) code.
15297
ce73d683
PE
15298 mktime: do not assume signed right shift propagates sign bit
15299 * time/mktime.c (isdst_differ): New static function.
15300 (__mktime_internal): No need to normalize tm_isdst now.
15301 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
15302 tm_isdst values.
15303
72a22e59
PE
15304 mktime: merge another wrapv change from gnulib
15305 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
15306 from some compilers.
15307
68605433
PE
15308 mktime: remove incorrect attempt at unusual arithmetics
15309 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
15310 The code didn't really work on such machines anyway.
15311 (TYPE_MINIMUM): Assume two's complement.
15312 (twos_complement_arithmetic): Verify that long_int and time_t
15313 are two's complement (or unsigned, in the latter case).
15314
03cf7fe3
PE
15315 mktime: check signed shifts on long_int and time_t, too
15316 * time/mktime.c (SHR): Check that shifts work as desired
15317 on the types long_int and time_t too, as SHR is used on
15318 such types.
15319
f04dfbc2
PE
15320 mktime: do not assume 'long' is wide enough
15321 * time/mktime.c (verify): Move decl up.
15322 (long_int): New type.
15323 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
15324 to remove assumption in the code that 'long' is wide enough to
15325 store year values. This assumption is not true on x32 and on
15326 some non-glibc platforms.
15327
62bdf9a6
PE
15328 mktime: merge wrapv change from gnulib
15329 * time/mktime.c (WRAPV): New macro.
15330 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
15331 (guess_time_tm, __mktime_internal): Do not assume that signed
15332 integer overflow wraps around; modern compilers generate code
15333 where this assumption is no longer valid.
15334
5e292e4f
L
153352012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15336
15337 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15338 Replace "jmp L(pseudo_end)" with "ret".
15339 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
15340 Likewise.
15341
8caf8c87
AJ
153422012-05-23 Andreas Jaeger <aj@suse.de>
15343
15344 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
15345 * sysdeps/unix/sysv/linux/poll.c: Remove file.
15346
1a09dc56
AJ
153472012-05-23 Andreas Jaeger <aj@suse.de>
15348 Maximilian Attems <max@stro.at>
15349
15350 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
15351 New macros.
15352
1c87aba0
L
153532012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15354
15355 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
15356 code so that pseudo_end is just ret and the stack pointer is
15357 correct also for static library in error case.
15358
40e45bd5
JM
153592012-05-23 Joseph Myers <joseph@codesourcery.com>
15360
c2670533
JM
15361 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
15362 move to syscalls.list.
15363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15367
40e45bd5
JM
15368 * manual/install.texi (Running make install): Do not mention Linux
15369 kernel version for which pt_chown is not needed.
15370 (Linux): Do not mention problems with nscd with 2.0 kernels.
15371 * INSTALL: Regenerated.
15372
be08eda5
AJ
153732012-05-23 Andreas Jaeger <aj@suse.de>
15374
15375 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
15376 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
15377 macro.
15378 * sysdeps/unix/sysv/linux/s390/bits/mman.h
15379 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15380 * sysdeps/unix/sysv/linux/sh/bits/mman.h
15381 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15382 * sysdeps/unix/sysv/linux/i386/bits/mman.h
15383 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15384 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
15385 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15386 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
15387 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15388 * sysdeps/unix/sysv/linux/bits/in.h
15389 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
15390
a6a056bb
RM
153912012-05-22 Roland McGrath <roland@hack.frob.com>
15392
15393 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
15394 (PREPARE_VERSION): Just use assert instead, it will be elided
15395 under [NDEBUG] anyway.
15396
c9009328
L
153972012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15398
15399 * sysdeps/unix/sysv/linux/Makefile: Include
15400 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 15401 (sysdep_routines): Remove sysctl.
c9009328
L
15402 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
15403 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
15404 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
15405 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
15406 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
15407
73338355
AJ
154082012-05-22 Andreas Jaeger <aj@suse.de>
15409
15410 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
15411 that pseudo_end is just ret and the stack pointer is correct also
15412 for static library in error case.
15413
d44638b0
PP
154142012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
15415
15416 [BZ #14122]
15417 * nss/nsswitch.c (defconfig_entries): New variable.
15418 (__nss_database_lookup): Don't leak defconfig entries.
15419 (nss_parse_service_list): Don't leak on error paths.
15420 (free_database_entries): New function.
15421 (free_defconfig): New function.
15422 (free_mem): Move common code to free_database_entries.
15423
31a39bd8
L
154242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15425
da0331a8
L
15426 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
15427 Add arch_prctl.
15428 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
15429
31a39bd8
L
15430 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15431 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
15432 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
15433 New macro.
15434 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
15435 (INTERNAL_SYSCALL_TYPES): Likewise.
15436 (LOAD_ARGS_TYPES_[1-6]): Likewise.
15437 (LOAD_REGS_TYPES_[1-6]): Likewise.
15438 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
15439 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
15440
45470df3
AZ
154412012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15442
15443 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
15444 copysignl for GLIBC_2_0.
15445 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
15446 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
15447 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
15448 logbl for GLIBC_2_0.
15449 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
15450 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
15451
98a61bcb
L
154522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15453
a4f6e481
L
15454 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
15455 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
15456
f63d5db6
L
15457 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15458 Use "neg %eax".
15459
98a61bcb
L
15460 * time/mktime.c: Update copyright years.
15461
95770f14
PE
154622012-05-22 Paul Eggert <eggert@cs.ucla.edu>
15463
6226efbd
PE
15464 mktime: merge comment-quoting-style change from gnulib
15465 * time/mktime.c: Quote 'like this' in comments.
15466 The GNU coding standards suggest that we no longer quote `like this',
15467 as "`" and "'" are typically rendered asymmetrically nowadays.
15468 The typical gnulib style is to quote 'like this' when quoting
15469 code, and "like this" when quoting English.
15470
b99e4f78
PE
15471 * time/mktime.c (compile-command): Add "-I.".
15472
643e01e6
PE
15473 mktime: merge mktime-internal.h change from gnulib
15474 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
15475
2554247d
PE
15476 mktime: merge time_r change from gnulib
15477 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
15478
826dd0ab
PE
15479 mktime: merge DEBUG change from gnulib
15480 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
15481 case system <time.h> has a #define.
15482
bd83aabe
PE
15483 mktime: merge <sys/types.h> change from gnulib
15484 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
15485 since <time.t> is now guaranteed to define time_t.
15486
95770f14
PE
15487 mktime: merge HAVE_CONFIG_H change from gnulib
15488 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
15489
5e1a27a9
L
154902012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15491
0e44a77e
L
15492 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15493 Use "neg %eax".
15494
5e1a27a9
L
15495 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
15496 __rlim_t cast.
15497 (struct rusage): Use anonymous union to pad each field to
15498 __syscall_slong_t.
15499
46259bec
DM
155002012-05-21 David S. Miller <davem@davemloft.net>
15501
15502 * Makefules (o-iterator): Remove .s cases.
15503 (compile-command.s): Delete.
15504 (COMPILE.s): Delete.
15505 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
15506
59f0c22e
JM
155072012-05-21 Joseph Myers <joseph@codesourcery.com>
15508
15509 * configure.in (libc_cv_predef_stack_protector): Only consider
15510 "foobar" and "__stack_chk_fail" lines in libc_undefs.
15511 * configure: Regenerated.
15512
20c07380
L
155132012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15514
bbb3154b
L
15515 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15516 New macro. Use R*LP on int and pointer.
15517 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
15518 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
15519 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
15520 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
15521
20c07380
L
15522 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
15523 [__WORDSIZE_TIME64_COMPAT32] instead of
15524 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
15525 (struct utmp): Likewise.
15526 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
15527 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
15528 Renamed to ...
15529 (__WORDSIZE_TIME64_COMPAT32): This.
15530 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
15531 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
15532 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
15533 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
15534 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
15535 (__WORDSIZE_TIME64_COMPAT32): New macro.
15536
d8d1017e
AJ
155372012-05-21 Andreas Jaeger <aj@suse.de>
15538
15539 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
15540 only if [SHARED]. Add prototype for __wcschr_ia32.
15541
6c7fb145
RM
155422012-05-21 Roland McGrath <roland@hack.frob.com>
15543
15544 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
15545 of %rbp unmolested in the jmp_buf while mangling the low bits.
15546 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
15547 unmolested high bits of %rbp while demangling the low bits.
15548 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15549
66274218
AJ
155502012-05-21 Andreas Jaeger <aj@suse.de>
15551
07c58f8f
AJ
15552 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
15553 * sunrpc/svc_simple.c: Use it for registerrpc.
15554 * sunrpc/xcrypt.c: Use it for passwd2des.
15555
66274218
AJ
15556 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
15557
61f65140
L
155582012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15559
15560 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
15561 Don't define if [__SYSCALL_WORDSIZE != 32].
15562 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
15563 New macro.
15564
5fefb436
AJ
155652012-05-21 Bruno Haible <bruno@clisp.org>
15566 Andreas Jaeger <aj@suse.de>
15567
15568 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
15569 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
15570 inptr and inend for must_buffer_ch.
15571 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
15572 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
15573 * stdio-common/Makefile (tests): Remove bug15.
15574 (bug15-ENV): Remove macro.
15575 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
15576 anymore.
15577
d8e272ab
AJ
155782012-05-19 Andreas Jaeger <aj@suse.de>
15579 Roland McGrath <roland@hack.frob.com>
15580
15581 * manual/contrib.texi: Completely rewritten. It contains now an
15582 alphabetical list of contributors and their contributions.
15583
4a56a162
RH
155842012-05-21 Richard Henderson <rth@twiddle.net>
15585
15586 * misc/getauxval.c (__getauxval): Use unsigned long int.
15587 * misc/sys/auxv.h: Include <sys/cdefs.h>.
15588 (getauxval): Use unsigned long int.
15589
d024d23c
L
155902012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15591
15592 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15593
cbc00a03
RM
155942012-05-21 Roland McGrath <roland@hack.frob.com>
15595
15596 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
15597 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
15598 __alignof__ (long double).
15599
478143fa
AZ
156002012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15601
15602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15603
c7683a6d
RH
156042012-05-20 Richard Henderson <rth@twiddle.net>
15605
15606 * misc/getauxval.c: New file.
15607 * misc/sys/auxv.h: New file.
15608 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
15609 (routines): Add getauxval.
15610 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
15611 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
15612 * elf/dl-sysdep.c (_dl_auxv): Remove.
15613 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
15614 * elf/dl-support.c (_dl_auxv): New variable.
15615 (_dl_aux_init): Initialize it.
15616 * manual/startup.texi (Auxiliary Vector): New node.
15617 * sysdeps/generic/bits/hwcap.h: New file.
15618 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
15619 * sysdeps/powerpc/sysdep.h: ... here. Include it.
15620 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
15621 * sysdeps/sparc/sysdep.h: ... here. Include it.
15622 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
15623 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
15624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15625 Update.
c7683a6d
RH
15626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
15627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
15628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
15629 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
15630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
15633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
15634
a6f1845d
AZ
156352012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15636
15637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15638
cbcbe830
DM
156392012-05-19 David S. Miller <davem@davemloft.net>
15640
15641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15642
e0b16cc2
JM
156432012-05-19 Joseph Myers <joseph@codesourcery.com>
15644
15645 [BZ #14123]
15646 * math/s_ccosh.c: Include <float.h>
15647 (__ccosh): Avoid internal overflow calculating sinh and cosh
15648 values before multiplying by sin and cos values.
15649 * math/s_ccoshf.c: Likewise.
15650 * math/s_ccoshl.c: Likewise.
15651 * math/s_csin.c: Likewise.
15652 * math/s_csinf.c: Likewise.
15653 * math/s_csinl.c: Likewise.
15654 * math/s_csinh.c: Likewise.
15655 * math/s_csinhf.c: Likewise.
15656 * math/s_csinhl.c: Likewise.
15657 * math/libm-test.inc (ccos_test): Add more tests.
15658 (ccosh_test): Likewise.
15659 (csin_test): Likewise.
15660 (csinh_test): Likewise.
15661 * sysdeps/i386/fpu/libm-test-ulps: Update.
15662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15663
6ad13e08
L
156642012-05-19 H.J. Lu <hongjiu.lu@intel.com>
15665
f66f0ce8
L
15666 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
15667 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
15668
6ad13e08
L
15669 * sysdeps/x86_64/x32/_itoa.h: Add comment.
15670
b1d072a7
JM
156712012-05-19 Joseph Myers <joseph@codesourcery.com>
15672
15673 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
15674 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
15675 * sysdeps/powerpc/soft-fp/Versions: Likewise.
15676 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
15677 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
15678 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
15679 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
15680 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
15681 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
15682 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
15683 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
15684 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
15685 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
15686 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
15687 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
15688 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
15689 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
15690 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
15691 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
15692 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
15693 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
15694 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
15695 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
15696 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
15697 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
15698 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
15699 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
15700 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
15701 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
15702 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
15703 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
15704
9eae47cb
AJ
157052012-05-18 Andreas Jaeger <aj@suse.de>
15706
15707 * csu/.gitignore: Delete.
15708
bb07f69f
L
157092012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15710
15711 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
15712 (timex): Use __syscall_slong_t.
15713
e6bdb741
AJ
157142012-05-18 Andreas Jaeger <aj@suse.de>
15715 Carlos O'Donell <carlos_odonell@mentor.com>
15716
15717 * manual/install.texi (Configuring and compiling): Update
15718 description about files modified in the source directory.
d6c33fda 15719 * INSTALL: Regenerated.
e6bdb741 15720
1b74487e
L
157212012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15722
15723 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
15724 value. Use "or" to set return value to -1.
15725 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
15726 negate return value.
15727
a88b64b9
TMQMF
157282012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15729
15730 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
15731 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
15732 failure if the compiler has Graphite support disabled.
15733 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
15734 Likewise.
15735 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
15736 CFLAGS-memmove.c): Likewise.
15737 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
15738 Likewise.
15739
3707636e
L
157402012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15741
610b8622
L
15742 * sysdeps/x86_64/x32/_itoa.h: New file.
15743
7cd195df
L
15744 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
15745 getdents system call only if kernel and user dirents have the
15746 same d_ino and d_off.
15747
94b07d20
L
15748 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15749 LLONG_MAX != LONG_MAX.
15750 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15751 (_fitoa_word): Likewise.
15752
18298070
L
15753 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
15754 years.
15755 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
15756 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
15757 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
15758
553c7ea4
L
15759 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
15760 include <bits/wordsize.h>. Check __x86_64__ instead of
15761 __WORDSIZE.
15762 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
15763 if __x86_64__ is defined. Use anonymous union on fpstate.
15764
3707636e
L
15765 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
15766 anonymous union.
15767
b53ef01a
AS
157682012-05-18 Andreas Schwab <schwab@linux-m68k.org>
15769
37fb1dc0
AS
15770 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
15771 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
15772 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
15773 Refer to _rtld_local_ro instead of _rtld_global_ro.
15774 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
15775 Likewise.
15776 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
15777 Likewise.
15778 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
15779 Likewise.
15780 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
15781 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
15782 of _rtld_global, and rtld_progname instead of _dl_argv[0].
15783
b53ef01a
AS
15784 * sysdeps/powerpc/powerpc32/dl-machine.c
15785 (__elf_machine_runtime_setup) [PROF]: Don't reference
15786 _dl_prof_resolve.
15787
7a185db2
AJ
157882012-05-18 Andreas Jaeger <aj@suse.de>
15789
15790 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
15791 function only available for GCCs before 3.4 since GCC 3.4
15792 introduced a builtin.
15793 (lrint): Likewise.
15794 (llrintf): Likewise.
15795 (llrint): Likewise.
15796 (fmaxf): Likewise.
15797 (fmax): Likewise.
15798 (fminf): Likewise.
15799 (fmin): Likewise.
15800 (rint): Likewise.
15801 (rintf): Likewise.
15802 (nearbyint): Likewise.
15803 (nearbyintf): Likewise.
15804 (ceil): Likewise.
15805 (ceilf): Likewise.
15806 (floor): Likewise.
15807 (floorf): Likewise.
15808
3e5aef87
L
158092012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15810
428bd707
L
15811 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
15812 on both fields and cast pointer to __syscall_ulong_t.
15813
3e5aef87
L
15814 * bits/types.h (__fsword_t): New type.
15815 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
15816 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
15817 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15818 (__FSWORD_T_TYPE): Likewise.
15819 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15820 (__FSWORD_T_TYPE): Likewise.
15821 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15822 (__FSWORD_T_TYPE): Likewise.
15823 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
15824 (__FSWORD_T_TYPE): Likewise.
15825 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
15826 __SWORD_TYPE with __fsword_t.
15827 (statfs64): Likewise.
15828
1ba7c3dc
DM
158292012-05-17 David S. Miller <davem@davemloft.net>
15830
15831 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
15832
59910343
AJ
158332012-05-17 Andreas Jaeger <aj@suse.de>
15834
15835 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
15836 warning.
15837
2e4c1e9e
L
158382012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15839
15840 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
15841
de7f5ce7
AJ
158422012-05-17 Andreas Jaeger <aj@suse.de>
15843
15844 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
15845 when it is used.
15846
286abc3d
CM
158472012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15848
15849 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
15850
477cc68e
L
158512012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15852
15853 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
15854 * sysdeps/x86_64/tst-mallocalign1.c: New file.
15855
1a0994f5
CD
158562012-05-17 Andreas Jaeger <aj@suse.de>
15857 Carlos O'Donell <carlos_odonell@mentor.com>
15858
15859 [BZ #14059]
15860 * sysdeps/x86_64/multiarch/init-arch.h
15861 (bit_YMM_Usable): Rename to...
15862 (bit_AVX_Usable): ... this.
15863 (bit_FMA4_Usable): New macro.
15864 (bit_XMM_state): New macro.
15865 (bit_YMM_state): New macro.
15866 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
15867 [__ASSEMBLER__] (index_AVX_Usable): ... this.
15868 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
15869 (CPUID_OSXSAVE): New macro.
15870 (CPUID_AVX): New macro.
15871 (CPUID_FMA4): New macro.
15872 (index_YMM_Usable): Rename to...
15873 (index_AVX_Usable): ... this.
15874 (HAS_AVX): Use HAS_ARCH_FEATURE.
15875 (HAS_FMA4): Likewise.
15876 (HAS_YMM_USABLE): Remove.
15877 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15878 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
15879 are present.
15880 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
15881 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
15882 * sysdeps/x86_64/multiarch/Makefile: Likewise.
15883 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
15884 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
15885
0af797de
CM
158862012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15887
15888 * math/libm-test.c: Support platforms without multiple rounding modes.
15889 * math/bug-nextafter.c: Support platforms without FP exceptions.
15890 * math/bug-nexttoward.c: Likewise.
15891 * math/test-fenv.c: Likewise.
15892 * math/test-misc.c: Likewise.
15893 * stdlib/bug-getcontext.c: Likewise.
15894
e39745ff
AJ
158952012-05-17 Andreas Jaeger <aj@suse.de>
15896
15897 * manual/examples/search.c (critter_cmp): Change signature to
15898 avoid warnings.
15899 * manual/string.texi (Collation Functions): Likewise.
15900
48970aba
L
159012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15902
15903 * bits/types.h: Fold copyright years.
15904 * bits/typesizes.h: Likewise.
15905 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
15906 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15907 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
15908 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
15909 * time/time.h: Likewise.
15910
bedee953
PP
159112012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
15912
15913 [BZ #208]
15914 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
15915 in instead of returning them. Return void.
15916 (__libc_mallinfo): Accumulate over all arenas.
15917 (__malloc_stats): Adjust for change in int_mallinfo interface.
15918
61653dfb
RM
159192012-05-16 Roland McGrath <roland@hack.frob.com>
15920
30b99d79
RM
15921 [BZ #10375]
15922 * configure.in (NM): Add AC_CHECK_TOOL for it.
15923 (libc_extra_cflags): New substituted variable.
15924 Check for -fstack-protector being used implicitly.
15925 * configure: Regenerated.
15926 * config.make.in (config-extra-cflags): New variable,
15927 gets @libc_extra_cflags@.
15928 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
15929
61653dfb
RM
15930 [BZ #10375]
15931 * configure.in: Check for _FORTIFY_SOURCE being predefined.
15932 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
15933 * configure: Regenerated.
15934 * config.make.in (CPPUNDEFS): New substituted variable.
15935 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
15936 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
15937 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
15938
661768bb
L
159392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15940
15941 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
15942 (mq_attr): Use __syscall_slong_t.
15943
d4261567
L
159442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15945
15946 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
15947 Check __x86_64__ instead of __WORDSIZE.
15948 (_STAT_VER_LINUX): Likewise.
15949 (stat): Check __x86_64__ instead of __WORDSIZE. Use
15950 __syscall_ulong_t and __syscall_slong_t.
15951 (stat64): Likewise.
15952
cf3ff365
L
159532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15954
15955 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
15956
76cf3e4d
L
159572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15958
15959 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
15960
a637753a
L
159612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15962
15963 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
15964 __syscall_ulong_t.
15965
d5e05119
L
15966 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
15967 include <bits/wordsize.h>. Check __x86_64__ instead of
15968 __WORDSIZE.
15969 (greg_t): Use "__extension__ long long int" if __x86_64__ is
15970 defined.
15971 (mcontext_t): Replace "unsigned long" with "unsigned long long".
15972
f62ee380
L
15973 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
15974 include <bits/wordsize.h>. Check __x86_64__ instead of
15975 __WORDSIZE.
15976 (user_regs_struct): Use "__extension__ unsigned long long"
15977 instead of "unsigned long" if __x86_64__ is defined.
15978 (user): Likewise. Pad after pointer field if __ILP32__ is
15979 defined.
15980
4e124ced
JM
159812012-05-16 Joseph Myers <joseph@codesourcery.com>
15982
6a3951a0
JM
15983 * configure.in (makeinfo): Require version 4.5 or later. Allow
15984 versions 5 to 9.
15985 * configure: Regenerated.
15986 * manual/install.texi (texinfo): Increase version requirement to
15987 4.5 or later.
15988 * INSTALL: Regenerated.
15989
4e124ced
JM
15990 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
15991
953ca31a
L
159922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15993
15994 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
15995
617aca05
L
15996 * sysdeps/x86_64/x32/ffs.c: New file.
15997
5762f7ae
L
15998 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
15999 __syscall_ulong_t.
16000 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
16001 defined. Use __syscall_ulong_t.
16002 (shminfo): Use __syscall_ulong_t.
16003 (shm_info): Likewise.
16004
a26b6856
L
16005 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
16006 __syscall_ulong_t.
16007
cb2b9ef7
L
16008 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
16009 <bits/wordsize.h>.
16010 (msgqnum_t): Use __syscall_ulong_t.
16011 (msglen_t): Likewise.
16012 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
16013 __syscall_ulong_t.
16014
34683bb0
L
16015 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
16016 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16017
84a68786
L
16018 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
16019
48baa5f1
L
16020 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
16021 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
16022
180be88b
L
16023 * sysvipc/sys/msg.h (msgbuf): Replace long int with
16024 __syscall_slong_t.
16025
5e90c8ad
L
16026 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
16027 include <bits/wordsize.h>. Check __x86_64__ instead of
16028 __WORDSIZE.
16029
23dfb58b
L
16030 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
16031 "unsigned long long int" if __x86_64__ is defined.
16032 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
16033
ce5d54b0
L
16034 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
16035 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16036 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
16037
13dc9eac
L
16038 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
16039 <stdint.h>.
16040 (GET_PC): Cast to uintptr_t first.
16041 (GET_FRAME): Likewise.
16042 (GET_STACK): Likewise.
16043
a7895d15
L
16044 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
16045 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
16046 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
16047 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
16048 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
16049 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
16050 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
16051 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
16052 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
16053 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
16054 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
16055 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
16056 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16057 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
16058 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
16059 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
16060 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
16061 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
16062 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
16063 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
16064 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
16065 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
16066 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
16067 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
16068 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
16069 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
16070 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
16071 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
16072 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
16073
656416c9
AS
160742012-05-16 Andreas Schwab <schwab@linux-m68k.org>
16075
5bd66283
AS
16076 * Makerules (+depfiles): Also collect depfiles from .oS in
16077 $(extra-objs).
16078 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
16079 .oS, $(libnldbl-routines)).
16080
656416c9
AS
16081 * Makerules (native-compile-mkdep-flags): Define.
16082 * sunrpc/Makefile (extra-objs): Add $(addprefix
16083 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
16084 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
16085 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
16086 calling $(make-target-directory).
16087
a46f2169
L
160882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16089
16090 * bits/types.h (__snseconds_t): Removed.
16091 * time/time.h (struct timespec): Replace __snseconds_t with
16092 __syscall_slong_t.
16093 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
16094 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
16095 Likewise.
16096 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16097 (__SNSECONDS_T_TYPE): Likewise.
16098 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16099 (__SNSECONDS_T_TYPE): Likewise.
16100 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16101 (__SNSECONDS_T_TYPE): Likewise.
16102
6af6528b
L
161032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16104
16105 * sysdeps/mach/hurd/bits/typesizes.h
16106 (__SYSCALL_SLONG_TYPE): New macro.
16107 (__SYSCALL_ULONG_TYPE): Likewise.
16108
de986b56
L
161092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16110
16111 * bits/types.h (__syscall_slong_t): New type.
16112 (__syscall_ulong_t): Likewise.
16113
16114 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
16115 (__SYSCALL_ULONG_TYPE): Likewise.
16116 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16117 (__SYSCALL_SLONG_TYPE): Likewise.
16118 (__SYSCALL_ULONG_TYPE): Likewise.
16119 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16120 (__SYSCALL_SLONG_TYPE): Likewise.
16121 (__SYSCALL_ULONG_TYPE): Likewise.
16122 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16123 (__SYSCALL_SLONG_TYPE): Likewise.
16124 (__SYSCALL_ULONG_TYPE): Likewise.
16125
85736dc7
L
161262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16127
16128 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
16129 Add sigaltstack-offsets.sym.
16130 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
16131 <sigaltstack-offsets.h>.
16132 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
16133 longjmp_msg pointer.
16134 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
16135 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
16136 signal stack.
16137 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
16138
cc03b296
JM
161392012-05-15 Joseph Myers <joseph@codesourcery.com>
16140
a9538892
JM
16141 * elf/stackguard-macros.h: Remove file.
16142 * sysdeps/generic/stackguard-macros.h: New file.
16143 * sysdeps/i386/stackguard-macros.h: Likewise.
16144 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16145 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16146 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16147 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16148 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16149 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16150 * sysdeps/x86_64/stackguard-macros.h: Likewise.
16151 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
16152 <elf/stackguard-macros.h>.
16153
cc03b296
JM
16154 [BZ #14109]
16155 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
16156 __aligned__ in attribute.
16157 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
16158 (gregset_t): Likewise.
16159
93171016
L
161602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16161
16162 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
16163 * sysdeps/x86_64/64/Implies-after: Here. New file.
16164 * sysdeps/x86_64/x32/Implies-after: New file.
16165
d86813a0
L
161662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16167
16168 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
16169 and access return value for _dl_profile_fixup. Use R10_LP to
16170 load frame size.
16171
2953ec75
L
161722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16173
16174 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
16175
3b550e9e
L
161762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16177
16178 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
16179 * sysdeps/x86_64/x32/sysdep.h: New file.
16180
eda41706
L
161812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16182
16183 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
16184 * sysdeps/x86_64/setjmp.S: Likewise.
16185
9ea01d93
AZ
161862012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16187
16188 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
16189 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
16190 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
16191 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
16192 remove unused global constant.
16193
02a91938
CM
161942012-05-15 Chris Metcalf <cmetcalf@tilera.com>
16195
16196 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
16197 include of <not-cancel.h>.
16198
6540185f
RM
161992012-05-15 Roland McGrath <roland@hack.frob.com>
16200
16201 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
16202
509072a0
AJ
162032012-05-15 Jeff Law <law@redhat.com>
16204 Andreas Jaeger <aj@suse.de>
16205
16206 [BZ #13594]
16207 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
16208 out from...
16209 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
16210 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
16211 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
16212 code changing __hst_map_handle.map.
16213
ba75122d
RM
162142012-05-15 Roland McGrath <roland@hack.frob.com>
16215
16216 * configure.in (sysnames): Look for Implies-before and Implies-after
16217 files.
16218 * configure: Regenerated.
16219
890d8bd8
L
162202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16221
16222 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
16223 8-byte data alignment with LP_SIZE alignment.
16224
f6ee6623
L
162252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16226
16227 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
16228 into R10_LP.
16229
ea2626f6
L
162302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16231
16232 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
16233
085f715e
L
162342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16235
16236 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
16237 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
16238 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
16239 Likewise.
16240 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16241
be8498fc
L
162422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16243
16244 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
16245 (stackinfo_sub_sp): Likewise.
16246
70bc83b9
L
162472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16248
16249 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
16250 RAX_LP.
16251
9bc0b730
L
162522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16253
16254 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
16255 into R*_LP.
16256
6d2850e7
L
162572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16258
16259 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
16260 sizes into R*_LP.
16261
3cb84561
L
162622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16263
16264 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
16265
54e2ed81
L
162662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16267
16268 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
16269 into R11_LP and load __x86_64_shared_cache_size_half into
16270 R8_LP.
16271
8a17f349
L
162722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16273
16274 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
16275 R8_LP.
16276
777b1eea
AZ
162772012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16278
16279 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
16280 logb for POWER7.
16281 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
16282 logbf for POWER7.
16283 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
16284 logbl for POWER7.
16285 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
16286 powerpc32/power7/fpu/s_logb.c via #include.
16287 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
16288 powerpc32/power7/fpu/s_logbf.c via #include.
16289 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
16290 powerpc32/power7/fpu/s_logbl.c via #include.
16291
d20d4ac2
JM
162922012-05-15 Joseph Myers <joseph@codesourcery.com>
16293
16294 * README.libm: Remove file.
16295
6cdef1ab
L
162962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16297
16298 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
16299 count for x32. Use R*_LP and omit operand-size suffix.
16300
0b254d8f
L
163012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16302
16303 * shlib-versions: Move x86_64-.*-linux.* entries to ...
16304 * sysdeps/x86_64/64/shlib-versions: Here. New file.
16305 * sysdeps/x86_64/x32/shlib-versions: New file.
16306
ceb809dc
RM
163072012-05-14 Roland McGrath <roland@hack.frob.com>
16308
16309 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
16310 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
16311 Use _dl_fatal_printf instead.
16312
37f1abd4
JM
163132012-05-14 Joseph Myers <joseph@codesourcery.com>
16314
16315 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
16316 set if not set by the user. Do not allow for being unset.
16317 * sysdeps/unix/sysv/linux/configure: Regenerated.
16318
11de3a33
L
163192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16320
16321 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
16322 the `q' suffix from lea and replace .quad with ASM_ADDR.
16323
e02f153a
L
163242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16325
16326 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
16327 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
16328 instead of $17.
16329 (PTR_DEMANGLE): Likewise.
16330
520ae0fd
L
163312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16332
16333 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
16334 (LP_OP): Likewise.
16335 (ASM_ADDR): Likewise.
16336 (RAX_LP): Likewise.
16337 (RBP_LP): Likewise.
16338 (RBX_LP): Likewise.
16339 (RCX_LP): Likewise.
16340 (RDI_LP): Likewise.
16341 (RSI_LP): Likewise.
16342 (RSP_LP): Likewise.
16343 (R8_LP): Likewise.
16344 (R9_LP): Likewise.
16345 (R10_LP): Likewise.
16346 (R10_LP): Likewise.
16347 (R11_LP): Likewise.
16348 (R12_LP): Likewise.
16349 (R13_LP): Likewise.
16350 (R14_LP): Likewise.
16351 (R15_LP): Likewise.
16352
b985be81
L
163532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16354
16355 * sysdeps/x86_64/x32/dl-machine.h: New file.
16356
6a4888ff
AJ
163572012-05-14 Andreas Jaeger <aj@suse.de>
16358
16359 * manual/Makefile (subdir): Remove export of subdir.
16360 (all): Remove target.
16361 (.PHONY): Remove all from list.
16362 (mkinstalldirs): Remove.
16363 (.PHONY): Remove installdirs from list.
16364 ($(inst_infodir)/libc.info): Use make-target-directory.
16365 (installdirs): Remove.
16366 (subdir_%): Remove.
16367 (glibc-targets): Remove.
16368 (lib): Remove.
16369 (stubs): Remove.
16370 ($(objpfx)stubs ../po/manual.pot): Remove.
16371 ($(objpfx)stamp%): Remove.
16372 (make-target-directory): Remove.
16373 (subdir_install): Remove.
16374 (routines): Remove.
16375 (aux): Remove.
16376 (sources): Remove.
16377 (objects): Remove.
16378 (headers): Remove.
16379
16380 [BZ #13750]
16381 * manual/.gitignore: Remove, it's not needed anymore.
16382 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
16383 all files in it.
16384 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
16385 directory.
16386 (texis): Renamed to $(objpfx)texis.
16387 (texis-path): New, contains path to generated files.
16388 (chapters.%): Use texis-path for complete path, add extra argument
16389 libc-texinfo.sh.
16390 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
16391 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
16392 (summary,texi, stamp-summary): Use complete path of
16393 files. Generate files in build dir.
16394 (dir-add.texi): Build in build dir.
16395 (libm-err.texi,stamp-libm-err): Likewise.
16396 (version.texi, stamp-version): Likewise.
16397 (.%c.texi): Likewise.
16398 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
16399 (mostlyclean): Remove target.
16400 (realclean): Remove target.
16401 (generated): Add new variable with contents from mostlyclean and
16402 realclean, remove entries duplicated in common-mostlyclean, add
16403 stamp-libm-err and stamp-version.
16404 (generated-dirs): Add libc directory.
16405 ($(inst_infodir)/libc.info): Install files from build dir.
16406
16407 * manual/install.texi (Configuring and compiling): Adjust since
16408 the info files are not part of the tar ball anymore.
16409
7ac77294
AJ
164102012-05-14 Andreas Jaeger <aj@suse.de>
16411
16412 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
16413 variable.
16414
ffb7875d
JM
164152012-05-14 Joseph Myers <joseph@codesourcery.com>
16416
16417 [BZ #13717]
16418 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16419 to 2.2.0 where earlier.
16420 * sysdeps/unix/sysv/linux/configure: Regenerated.
16421 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
16422 Remove conditional code.
16423 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
16424 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
16425 Remove conditional code.
16426 [!__NR_lchown]: Likewise.
16427 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16428 [__NR_lchown]: Likewise.
16429 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
16430 comment referencing __ASSUME_LCHOWN_SYSCALL.
16431 * sysdeps/unix/sysv/linux/i386/sigaction.c
16432 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16433 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16434 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
16435 Remove conditional code.
16436 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
16437 (__protocol_available): Remove #if 0 code.
16438 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
16439 conditional code.
16440 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
16441 * sysdeps/unix/sysv/linux/kernel-features.h
16442 (__ASSUME_GETCWD_SYSCALL): Don't define.
16443 (__ASSUME_REALTIME_SIGNALS): Likewise.
16444 (__ASSUME_PREAD_SYSCALL): Likewise.
16445 (__ASSUME_PWRITE_SYSCALL): Likewise.
16446 (__ASSUME_POLL_SYSCALL): Likewise.
16447 (__ASSUME_LCHOWN_SYSCALL): Likewise.
16448 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
16449 non-SPARC.
16450 (__ASSUME_SIOCGIFNAME): Don't define.
16451 (__ASSUME_MSG_NOSIGNAL): Likewise.
16452 (__ASSUME_SENDFILE): Define unconditionally.
16453 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
16454 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
16455 conditional code.
16456 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
16457 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
16458 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
16459 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16460 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
16461 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
16462 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
16464 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16465 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16467 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16468 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
16470 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16471 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
16473 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16474 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
16476 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16477 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
16479 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16480 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
16482 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16483 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
16485 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16486 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16487 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
16488 Remove conditional code.
16489 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16490 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
16491 Remove conditional code.
16492 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16493 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
16494 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
16495 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
16496 Remove conditional code.
16497 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16498 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
16499 Remove conditional code.
16500 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16501 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
16502 Remove conditional code.
16503 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16504 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
16505 Remove conditional code.
16506 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16507 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
16508 Remove conditional code.
16509 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16510 * sysdeps/unix/sysv/linux/sh/pwrite64.c
16511 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16512 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16513 * sysdeps/unix/sysv/linux/sigaction.c
16514 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16515 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16516 * sysdeps/unix/sysv/linux/sigpending.c
16517 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16518 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16519 * sysdeps/unix/sysv/linux/sigprocmask.c
16520 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16521 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16522 * sysdeps/unix/sysv/linux/sigsuspend.c
16523 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16524 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16525 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16526 (__libc_missing_rt_sigs): Remove.
16527 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
16528 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
16529 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
16530 Remove conditional code.
16531 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
16532 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
16533 return 1.
16534 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
16535 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
16536 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
16537 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
16538
1bfb7291
AJ
165392012-05-14 Andreas Jaeger <aj@suse.de>
16540
caae5a81
AJ
16541 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
16542 it's not used in glibc.
16543 (__coshm1): Likewise.
16544 (__acosh1p): Likewise.
16545 (__sgn): Likewise.
16546
1bfb7291
AJ
16547 * manual/string.texi (Copying and Concatenation): Add missing
16548 variable in concat example.
16549 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
16550
c044d724
L
165512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16552
144c5467 16553 [BZ #14103]
c044d724
L
16554 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
16555 __builtin_clzl with __builtin_clzll.
16556
2523c62b
L
165572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16558
16559 [BZ #14104]
16560 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
16561 libc_freeres_ptr.
16562
d7bb4c42
LD
165632012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16564
16565 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
16566 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
16567 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
16568 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
16569
9dc4e1fb
MF
165702012-05-14 Mike Frysinger <vapier@gentoo.org>
16571
16572 * NEWS: Update ia64 info.
16573
c7df0112
AS
165742012-05-12 Andreas Schwab <schwab@linux-m68k.org>
16575
16576 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
16577 used as bcopy.
16578
dc70356c
TS
165792012-05-12 Thomas Schwinge <thomas@codesourcery.com>
16580
16581 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
16582 * sysdeps/unix/syscalls.list (dup3): Likewise.
16583 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
16584 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
16585
9fb1a21f
L
165862012-05-11 H.J. Lu <hongjiu.lu@intel.com>
16587
16588 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
16589 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
16590
4822a2a5
L
165912012-05-11 H.J. Lu <hongjiu.lu@intel.com>
16592
16593 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
16594 thread pointer.
16595 (TLS_IE): Use mov/add instead of movq/addq to load thread
16596 pointer.
16597 (TLS_GD_PREFIX): New.
16598 (TLS_GD): Use it.
16599
842b81d6
DM
166002012-05-11 David S. Miller <davem@davemloft.net>
16601
16602 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
16603 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
16604 (_FPU_SETCW): Likewise.
16605
1cf463cd
L
166062012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16607
16608 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
16609 is 32-byte aligned.
16610
60cc4a18
AS
166112012-05-11 Andreas Schwab <schwab@linux-m68k.org>
16612
16613 [BZ #11837]
16614 * iconvdata/gb18030.c: Update tables.
16615 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
16616 characters specially.
16617 (BODY for TO_LOOP): Add encoding of missing ranges.
16618
febb44a4
TS
166192012-05-11 Thomas Schwinge <thomas@codesourcery.com>
16620
16621 [BZ #13673]
16622 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
16623 * sysdeps/mach/hurd/dup3.c: Likewise.
16624 * sysdeps/mach/hurd/readlinkat.c: Likewise.
16625 * sysdeps/powerpc/memmove.c:: Likewise.
16626
0a10fb9e
L
166272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16628
16629 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
16630 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
16631
df8a552f
L
166322012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16633
16634 * elf/elf.h (R_X86_64_RELATIVE64): New.
16635 (R_X86_64_NUM): Updated.
16636 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16637 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
16638 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
16639 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
16640 tst-quad1pie tst-quad2pie
16641 (modules-names): Add tst-quadmod1 tst-quadmod2.
16642 ($(objpfx)tst-quad1): New dependency.
16643 ($(objpfx)tst-quad2): Likewise.
16644 ($(objpfx)tst-quad1pie): Likewise.
16645 ($(objpfx)tst-quad2pie): Likewise.
16646 * sysdeps/x86_64/tst-quad1.c: New file.
16647 * sysdeps/x86_64/tst-quad1pie.c: New file.
16648 * sysdeps/x86_64/tst-quad2.c: Likewise.
16649 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
16650 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
16651 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
16652 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
16653 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
16654
f34d6f84
ST
166552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16656
f42d41d1
ST
16657 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
16658 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
16659 * streams/stropts.h (t_scalar_t): Define type.
16660
3c3571fc
ST
16661 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
16662 (_PATH_PRESERVE): Set to "/var/lib".
16663 (_PATH_RWHODIR): Set to "/var/spool/rwho".
16664
61f06bd3
ST
16665 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
16666 instead of int.
16667
918d4d71
ST
16668 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
16669 if __dir_mkfile succeeded.
16670
f34d6f84
ST
16671 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
16672 checking for _hurd_dtablesize. Unlock it right after having
16673 finished _hurd_dtable allocation.
16674
10589b4a
TS
166752012-05-10 Thomas Schwinge <thomas@schwinge.name>
16676
674cdbc7
TS
16677 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
16678 * sysdeps/mach/hurd/configure: Regenerated.
16679 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
16680 special-casing to...
16681 * sysdeps/gnu/configure.in: ... this new file.
16682 * sysdeps/unix/sysv/linux/configure: Regenerated.
16683 * sysdeps/gnu/configure: New generated file.
16684
8e41b99f
TS
16685 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
16686 for Linux: use nsec instead of usec, as well as:
16687 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
16688 members of type struct timespec.
16689 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
16690 New macros.
16691 (struct stat64): Likewise.
16692 (_STATBUF_ST_NSEC): New macro.
16693 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
16694
10589b4a
TS
16695 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16696 __strtoul_internal rather than strtoul.
16697
63643c85
PT
166982012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16699
16700 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
16701 and reject them.
16702
3faebe6a
ST
167032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16704
16705 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
16706 which preserves existing values.
16707 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
16708
c6474b07
PT
167092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16710
16711 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
16712 TIMEOUT values. Return EINVAL for NFDS values either negative or
16713 greater than FD_SETSIZE.
16714
1043890b
ST
167152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16716
16717 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
16718 allocated, call __vm_protect to finish enabling the existing space, and
16719 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
16720 allocate the remainder.
16721
37ed8b9b
PT
167222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16723
16724 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
16725 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
16726
db653660
ST
167272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16728
37ed8b9b
PT
16729 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
16730 sysdeps/mach/hurd/readlink.c.
b29d4053 16731
db653660
ST
16732 * posix/tst-sysconf.c (posix_options): Only use
16733 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
16734 _POSIX_SYNCHRONIZED_IO when they are defined
16735 * sysdeps/mach/hurd/bits/posix_opt.h:
16736 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
16737 (_XOPEN_REALTIME): Undefine macro.
16738 (_XOPEN_REALTIME_THREADS): Undefine macro.
16739 (_XOPEN_SHM): Undefine macro.
16740 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
16741 macro to -1.
16742 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
16743 macro to -1.
16744 (_POSIX_ASYNC_IO): Undefine macro.
16745 (_POSIX_PRIORITIZED_IO): Undefine macro.
16746 (_POSIX_SPIN_LOCKS): Define macro to -1.
16747
ee16e894
ST
16748 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
16749 SA_NODEFER, SA_RESETHAND.
16750 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
16751 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
16752 F_DUPFD_CLOEXEC.
16753
6103ae3b
TS
167542012-05-10 Thomas Schwinge <thomas@schwinge.name>
16755
16756 * elf/Makefile (pldd-modules): Define unconditionally.
16757
80b4e5f3
TS
167582012-05-10 Thomas Schwinge <thomas@schwinge.name>
16759
16760 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
16761
edadcbd6
ST
167622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16763
16764 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
16765 Return ENOENT when name is empty.
16766 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
16767
80694780
TS
167682012-05-10 Thomas Schwinge <thomas@schwinge.name>
16769
1792c087
TS
16770 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
16771
80694780
TS
16772 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
16773
6b645f0d
ST
167742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16775
80694780
TS
16776 Fix mlock in all cases except non-readable pages.
16777 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
16778 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 16779
6b645f0d
ST
16780 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
16781 (__mkdir): When path is `/', just fail with EEXIST.
16782 * sysdeps/mach/hurd/mkdirat.c: Likewise.
16783
e468f8a3
TS
167842012-05-10 Thomas Schwinge <thomas@schwinge.name>
16785
16786 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
16787 <sys/uio.h> (for writev).
16788 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
16789 and <sys/param.h> (for MIN).
16790
a4186cff
PT
167912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16792
16793 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
16794 REQUESTED_TIME. Properly set the remaining time and return EINTR
16795 if interrupted.
16796
510bbf14
TS
167972012-05-10 Thomas Schwinge <thomas@schwinge.name>
16798
16799 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
16800 Depend on against $(link-rpcuserlibs).
16801
5d5722e8
ST
168022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16803
a4186cff
PT
16804 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
16805 (__libc_stack_end): Do not use attribute_relro.
16806 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
16807 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 16808 to libthread-provided value.
a4186cff
PT
16809 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
16810 attribute_relro.
5d5722e8 16811
37233df9
TS
168122012-05-10 Thomas Schwinge <thomas@schwinge.name>
16813
be971a2b
TS
16814 [BZ #3748]
16815 * bits/libc-lock.h (__libc_once_get): New macro.
16816 * sysdeps/mach/bits/libc-lock.h: Likewise.
16817 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
16818 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
16819 instead of using implementation details.
16820
37233df9
TS
16821 * libio/fileops.c: Unconditionally include <kernel-features.h>.
16822 * libio/freopen.c: Likewise.
16823 * libio/freopen64.c: Likewise.
16824 * misc/syslog.c: Likewise.
16825 * nscd/connections.c: Likewise.
16826 * nscd/netgroupcache.c: Likewise.
16827 * sysdeps/posix/getcwd.c: Likewise.
16828
38de94a5
RM
168292012-05-10 Roland McGrath <roland@hack.frob.com>
16830
16831 * math/w_ilogbf.c: Add #include <limits.h>.
16832
67530489
ST
168332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16834
a4186cff 16835 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
16836 path instead of returning without unlocking.
16837
67530489
ST
16838 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
16839 immediate-write ioctls.
16840 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
16841
5aa3a74a
TS
168422012-05-10 Thomas Schwinge <thomas@schwinge.name>
16843
18bad2ae
TS
16844 * sysdeps/mach/hurd/i386/init-first.c (init): Use
16845 __builtin_frame_address instead of making assumptions about the
16846 location of the return address relative to DATA. Force early load of
16847 the return address.
16848 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
16849 __builtin_frame_address.
16850
5aa3a74a
TS
16851 dup3 for GNU Hurd.
16852 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
16853 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
16854 implement dup3 and do some further code clean-ups.
16855 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
16856 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
16857
ecd0de9a
ST
168582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16859
cd9fa985
ST
16860 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
16861
a4186cff
PT
16862 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
16863 HURD_CRITICAL_END around holding _hurd_dtable_lock.
16864 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
16865 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
16866 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
16867 d->port.lock.
802ca5a5 16868
a4186cff
PT
16869 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
16870 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
16871 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 16872
bcf55240
TS
168732012-05-10 Thomas Schwinge <thomas@schwinge.name>
16874
6960eb42
TS
16875 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
16876 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
16877 definitions.
16878
eb43375f
TS
16879 accept4 for GNU Hurd.
16880 * include/sys/socket.h (__libc_accept4): New prototype.
16881 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
16882 to implement __libc_accept4.
16883 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
16884 __libc_accept4.
16885 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
16886
bcf55240
TS
16887 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
16888 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
16889 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
16890 signal-defines.sym.
16891
6178c55b
ST
168922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16893
a4186cff 16894 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 16895
6f080c2f
TS
168962012-05-10 Thomas Schwinge <thomas@schwinge.name>
16897
16898 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
16899 assertion on O_CLOEXEC flag.
16900 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
16901 * hurd/intern-fd.c: Likewise.
16902 * hurd/port2fd.c: Likewise.
16903
bcfe3a54
ST
169042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16905
16906 [BZ #3906]
16907 * bits/in.h (IPV6_PKTINFO): Define new macro.
16908 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
16909
89c9aa49
AZ
169102012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16911
16912 [BZ #13954]
16913 [BZ #13955]
16914 [BZ #13956]
16915 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
16916 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16917 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
16918 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16919 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16920 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16921 * math/libm-test.inc (logb_test) : Additional logb tests.
16922
021db4be
AJ
169232012-05-09 Andreas Schwab <schwab@linux-m68k.org>
16924 Andreas Jaeger <aj@suse.de>
16925
16926 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
16927 * configure: Regenerated.
16928 * config.h.in (LINK_OBSOLETE_RPC): New macro.
16929 * config.make.in (link-obsolete-rpc): New substituted variable.
16930 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
16931 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
16932 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16933 (shared-only-routines): Don't set it under [link-obsolete-rpc],
16934 so that libc.a contains the symbols.
16935 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16936 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
16937 * sunrpc/auth_none.c: Likewise.
16938 * sunrpc/auth_unix.c: Likewise.
16939 * sunrpc/authdes_prot.c: Likewise.
16940 * sunrpc/authuxprot.c: Likewise.
16941 * sunrpc/clnt_gen.c: Likewise.
16942 * sunrpc/clnt_perr.c: Likewise.
16943 * sunrpc/clnt_raw.c: Likewise.
16944 * sunrpc/clnt_simp.c: Likewise.
16945 * sunrpc/clnt_tcp.c: Likewise.
16946 * sunrpc/clnt_udp.c: Likewise.
16947 * sunrpc/clnt_unix.c: Likewise.
16948 * sunrpc/des_crypt.c: Likewise.
16949 * sunrpc/des_soft.c: Likewise.
16950 * sunrpc/get_myaddr.c: Likewise.
16951 * sunrpc/key_call.c: Likewise.
16952 * sunrpc/key_prot.c: Likewise.
16953 * sunrpc/netname.c: Likewise.
16954 * sunrpc/pm_getmaps.c: Likewise.
16955 * sunrpc/pm_getport.c: Likewise.
16956 * sunrpc/pmap_clnt.c: Likewise.
16957 * sunrpc/pmap_prot.c: Likewise.
16958 * sunrpc/pmap_prot2.c: Likewise.
16959 * sunrpc/pmap_rmt.c: Likewise.
16960 * sunrpc/publickey.c: Likewise.
16961 * sunrpc/rpc_cmsg.c: Likewise.
16962 * sunrpc/rpc_common.c: Likewise.
16963 * sunrpc/rpc_dtable.c: Likewise.
16964 * sunrpc/rpc_prot.c: Likewise.
16965 * sunrpc/rpc_thread.c: Likewise.
16966 * sunrpc/rtime.c: Likewise.
16967 * sunrpc/svc.c: Likewise.
16968 * sunrpc/svc_auth.c: Likewise.
16969 * sunrpc/svc_raw.c: Likewise.
16970 * sunrpc/svc_run.c: Likewise.
16971 * sunrpc/svc_tcp.c: Likewise.
16972 * sunrpc/svc_udp.c: Likewise.
16973 * sunrpc/svc_unix.c: Likewise.
16974 * sunrpc/svcauth_des.c: Likewise.
16975 * sunrpc/xcrypt.c: Likewise.
16976 * sunrpc/xdr.c: Likewise.
16977 * sunrpc/xdr_array.c: Likewise.
16978 * sunrpc/xdr_float.c: Likewise.
16979 * sunrpc/xdr_intXX_t.c: Likewise.
16980 * sunrpc/xdr_mem.c: Likewise.
16981 * sunrpc/xdr_rec.c: Likewise.
16982 * sunrpc/xdr_ref.c: Likewise.
16983 * sunrpc/xdr_sizeof.c: Likewise.
16984 * sunrpc/xdr_stdio.c: Likewise.
16985
b5c086a2
RM
169862012-05-10 Roland McGrath <roland@hack.frob.com>
16987
16988 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
16989 change. Update copyright years.
16990
6d74dd09
JM
169912012-05-10 Joseph Myers <joseph@codesourcery.com>
16992
16993 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
16994
28e72501
MK
169952012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
16996 Joseph Myers <joseph@codesourcery.com>
16997 Paul Pluzhnikov <ppluzhnikov@google.com>
16998
16999 [BZ #14012]
17000 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
17001 requiring rpcgen.
17002 [cross-compiling] (extra-libs): Likewise.
17003 [cross-compiling] (extra-libs-others): Likewise.
17004 [cross-compiling] (librpcsvc-routines): Likewise.
17005 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
17006 [cross-compiling] (omit-deps): Likewise.
17007 (sunrpc-CPPFLAGS): New variable.
17008 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
17009 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
17010 (cross-rpcgen-objs): New variable.
17011 (extra-objs): Append $(cross-rpcgen-objs).
17012 ($(cross-rpcgen-objs)): New rule.
17013 ($(objpfx)cross-rpcgen): Likewise.
17014 (rpcgen-cmd): Define to use $(built-program-file). Expand
17015 comment.
17016 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
17017 ($(objpfx)x%.stmp): Likewise.
17018 * sunrpc/proto.h [IS_IN_build] (_): Define.
17019 [IS_IN_build] (_libc_intl_domainname): Likewise.
17020
c8c59454
L
170212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17022
17023 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
17024 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
17025 and R_X86_64_TPOFF64.
17026
6f27cd16
JM
170272012-05-10 Joseph Myers <joseph@codesourcery.com>
17028
17029 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
17030 sysdeps/unix/sysv/syscalls.list.
17031 (stime): Likewise.
17032 (utime): Likewise.
17033 * sysdeps/unix/sysv/syscalls.list: Remove file.
17034
02467e1c
PE
170352012-05-10 Paul Eggert <eggert@cs.ucla.edu>
17036
17037 [BZ #3440]
17038 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
17039 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
17040 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
17041 (__LC_IDENTIFICATION): Make these macros useful in #if
17042 expressions, as required by C99.
17043
da392631
AS
170442012-05-10 Andreas Schwab <schwab@linux-m68k.org>
17045
17046 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
17047 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
17048 after this.
17049
8115f29b
L
170502012-05-09 H.J. Lu <hongjiu.lu@intel.com>
17051
17052 * stdlib/longlong.h: Updated from GCC.
17053
bdd74070
AJ
170542012-05-09 Andreas Jaeger <aj@suse.de>
17055
edfe0dbe
AJ
17056 * nscd/nscd.c (run_modes): Make named enum, reorder so that
17057 default is first entry.
17058 (run_mode): Set type.
17059 (main): Remove informal message about syslog.
17060 (options): Fix typo.
17061
bcfe3a54
ST
17062 [BZ #14053]
17063 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 17064 to asm.
bcfe3a54
ST
17065 (lrint): Likewise.
17066 (llrintf): Likewise.
17067 (llrint): Likewise.
17068 (rint): Likewise.
17069 (rintf): Likewise.
17070 (nearbyint): Likewise.
17071 (nearbyintf): Likewise.
bdd74070 17072
91d8d69e
AJ
170732012-05-09 Andreas Jaeger <aj@suse.de>
17074 Pedro Alves <palves@redhat.com>
17075
17076 * nscd/nscd.c (run_mode): Use enum.
17077 (main): Cleanup coding style issue.
17078
bb90b80b
AJ
170792012-05-09 Alexandre Oliva <aoliva@redhat.com>
17080 Andreas Jaeger <aj@suse.de>
17081
bcfe3a54
ST
17082 * nscd/nscd.c (go_background): Replaced with...
17083 (run_mode): ... this.
bb90b80b 17084 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
17085 (options): Add -F --foreground.
17086 (main): Implement it.
17087 (parse_opt): Parse it.
bb90b80b 17088
1a4b75a1
AJ
170892012-05-09 Andreas Jaeger <aj@suse.de>
17090
17091 [BZ #14083]
17092 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
17093 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
17094 -Wconversion warning.
17095 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
17096 Likewise.
17097
b1cc2472
JM
170982012-05-09 Joseph Myers <joseph@codesourcery.com>
17099
17100 * conform/data/locale.h-data (NULL): Use macro-constant. Require
17101 == 0.
17102 (LC_ALL): Use macro-int-constant.
17103 (LC_COLLATE): Likewise.
17104 (LC_CTYPE): Likewise.
17105 (LC_MESSAGES): Likewise.
17106 (LC_MONETARY): Likewise.
17107 (LC_NUMERIC): Likewise.
17108 (LC_TIME): Likewise.
17109 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
17110 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17111 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17112 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
17113 Specify type.
17114 [C99-based standards] (float_t): Expect type.
17115 [C99-based standards] (double_t): Expect type.
17116 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
17117 type.
17118 [C99-based standards] (HUGE_VALL): Likewise.
17119 [C99-based standards] (INFINITY): Likewise.
17120 [C99-based standards] (NAN): Likewise.
17121 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
17122 [C99-based standards] (FP_NAN): Likewise.
17123 [C99-based standards] (FP_NORMAL): Likewise.
17124 [C99-based standards] (FP_SUBNORMAL): Likewise.
17125 [C99-based standards] (FP_ZERO): Likewise.
17126 [C99-based standards] (FP_FAST_FMA): Use
17127 optional-macro-int-constant. Specify type. Require == 1.
17128 [C99-based standards] (FP_FAST_FMAF): Likewise.
17129 [C99-based standards] (FP_FAST_FMAL): Likewise.
17130 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
17131 [C99-based standards] (FP_ILOGBNAN): Likewise.
17132 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
17133 Specify type.
17134 [C99-based standards] (MATH_ERREXCEPT): Likewise.
17135 [C99-based standards] (math_errhandling): Specify type.
17136 [ISO99 || ISO11] (signgam): Do not allow.
17137 [non-C99-based standards] (copysignf): Do not allow.
17138 [non-C99-based standards] (exp2f): Likewise.
17139 [non-C99-based standards] (log2f): Likewise.
17140 [non-C99-based standards] (modff): Allow.
17141 [non-C99-based standards] (erff): Do not allow.
17142 [non-C99-based standards] (erfcf): Likewise.
17143 [non-C99-based standards] (gammaf): Likewise.
17144 [non-C99-based standards] (hypotf): Likewise.
17145 [non-C99-based standards] (j0f): Likewise.
17146 [non-C99-based standards] (j1f): Likewise.
17147 [non-C99-based standards] (jnf): Likewise.
17148 [non-C99-based standards] (lgammaf): Likewise.
17149 [non-C99-based standards] (tgammaf): Likewise.
17150 [non-C99-based standards] (y0f): Likewise.
17151 [non-C99-based standards] (y1f): Likewise.
17152 [non-C99-based standards] (ynf): Likewise.
17153 [non-C99-based standards] (isnanf): Likewise.
17154 [non-C99-based standards] (acoshf): Likewise.
17155 [non-C99-based standards] (asinhf): Likewise.
17156 [non-C99-based standards] (atanhf): Likewise.
17157 [non-C99-based standards] (cbrtf): Likewise.
17158 [non-C99-based standards] (expm1f): Likewise.
17159 [non-C99-based standards] (ilogbf): Likewise.
17160 [non-C99-based standards] (log1pf): Likewise.
17161 [non-C99-based standards] (logbf): Likewise.
17162 [non-C99-based standards] (nextafterf): Likewise.
17163 [non-C99-based standards] (remainderf): Likewise.
17164 [non-C99-based standards] (rintf): Likewise.
17165 [non-C99-based standards] (scalbf): Likewise.
17166 [non-C99-based standards] (copysignl): Likewise.
17167 [non-C99-based standards] (exp2l): Likewise.
17168 [non-C99-based standards] (log2l): Likewise.
17169 [non-C99-based standards] (modfl): Allow.
17170 [non-C99-based standards] (erfl): Do not allow.
17171 [non-C99-based standards] (erfcl): Likewise.
17172 [non-C99-based standards] (gammal): Likewise.
17173 [non-C99-based standards] (hypotl): Likewise.
17174 [non-C99-based standards] (j0l): Likewise.
17175 [non-C99-based standards] (j1l): Likewise.
17176 [non-C99-based standards] (jnl): Likewise.
17177 [non-C99-based standards] (lgammal): Likewise.
17178 [non-C99-based standards] (tgammal): Likewise.
17179 [non-C99-based standards] (y0l): Likewise.
17180 [non-C99-based standards] (y1l): Likewise.
17181 [non-C99-based standards] (ynl): Likewise.
17182 [non-C99-based standards] (isnanl): Likewise.
17183 [non-C99-based standards] (acoshl): Likewise.
17184 [non-C99-based standards] (asinhl): Likewise.
17185 [non-C99-based standards] (atanhl): Likewise.
17186 [non-C99-based standards] (cbrtl): Likewise.
17187 [non-C99-based standards] (expm1l): Likewise.
17188 [non-C99-based standards] (ilogbl): Likewise.
17189 [non-C99-based standards] (log1pl): Likewise.
17190 [non-C99-based standards] (logbl): Likewise.
17191 [non-C99-based standards] (nextafterl): Likewise.
17192 [non-C99-based standards] (remainderl): Likewise.
17193 [non-C99-based standards] (rintl): Likewise.
17194 [non-C99-based standards] (scalbl): Likewise.
17195 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17196 [non-C99-based standards] (FP_*): Do not allow.
17197 [C99-based standards] (FP_*): Change to
17198 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17199 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17200 allow.
17201 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
17202 (SIG_ERR): Likewise.
17203 [X/Open-based standards] (SIG_HOLD): Likewise.
17204 (SIG_IGN): Likewise.
17205 (SIGABRT): Use macro-int-constant. Specify type. Require
17206 positive value.
17207 (SIGFPE): Likewise.
17208 (SIGILL): Likewise.
17209 (SIGINT): Likewise.
17210 (SIGSEGV): Likewise.
17211 (SIGTER): Likewise.
17212 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
17213 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
17214 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
17215 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
17216 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
17217 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
17218 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
17219 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
17220 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
17221 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
17222 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
17223 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
17224 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
17225 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
17226 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
17227 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
17228 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
17229 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
17230 [X/Open-based standards] (SIGTRAP): Likewise.
17231 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
17232 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
17233 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
17234 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
17235 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17236 allow.
17237
b9f1922d
IW
172382012-05-08 Ian Wienand <ianw@vmware.com>
17239
17240 [BZ #14080]
17241 * time/tzset.c (__tzset_parse_tz): Update default rules for
17242 daylight time changes in the Energy Policy Act of 2005.
17243
1db86e88
AJ
172442012-05-09 Andreas Jaeger <aj@suse.de>
17245
17246 [BZ #13983]
17247 * elf/ldconfig.c (parse_conf): Change string to make clear that
17248 ldconfig only issued a warning if ld.so.conf does not exist.
17249
dee4a4e3
DM
172502012-05-08 David S. Miller <davem@davemloft.net>
17251
ee0db190
DM
17252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
17253 movxtod instead of popping the value on the stack.
17254
dee4a4e3
DM
17255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17256
6a43ec98
CD
172572012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
17258
17259 * config.h.in: Add HAVE_ARM_PCS_VFP.
17260
05c2c961
RMG
172612012-05-08 Roland Mc Grath <roland@hack.frob.com>
17262
bcfe3a54
ST
17263 [BZ #13979]
17264 * include/features.h: Warn if user requests __FORTIFY_SOURCE
17265 checking but the checks are disabled for any reason.
05c2c961 17266
4b30f61a
L
172672012-05-08 H.J. Lu <hongjiu.lu@intel.com>
17268
17269 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
17270 and ELF64_R_TYPE with ELFW(R_TYPE).
17271
eee2bc67
JM
172722012-05-08 Joseph Myers <joseph@codesourcery.com>
17273
7ea5391a
JM
17274 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
17275 (ulimit): Likewise.
17276
eee2bc67
JM
17277 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
17278 (settimeofday): Likewise.
17279
abb66a67
MF
172802012-05-08 Mike Frysinger <vapier@gentoo.org>
17281
17282 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
17283 a struct th_u2 inside the union, and move tu_block/tu_code into
17284 a new th_u3 union of tu_block/tu_code inside of that. Move
17285 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
17286 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
17287 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
17288 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
17289 (th_stuff): Change to th_u1.tu_stuff.
17290 (th_data): Define.
17291 (th_msg): Change to th_u1.th_u2.tu_data.
17292
7f18b530
DM
172932012-05-07 David S. Miller <davem@davemloft.net>
17294
05760585
DM
17295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17296
7f18b530
DM
17297 [BZ #14074]
17298 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
17299 (SETUP_PIC_REG): Use it.
17300 (SETUP_PIC_REG_LEAF): Use it.
17301
495fd99f
JM
173022012-05-07 Joseph Myers <joseph@codesourcery.com>
17303
17304 [BZ #13885]
17305 [BZ #13923]
17306 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17307 USE_AS_EXPM1L.
17308 (EXPL_FINITE): Likewise.
17309 (FLDLOG): Likewise.
17310 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17311 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17312 e_expl.S.
17313 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17314 USE_AS_EXPM1L.
17315 (EXPL_FINITE): Likewise.
17316 (FLDLOG): Likewise.
17317 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17318 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17319 e_expl.S.
17320 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
17321 test of -max_value argument for long double.
17322 * sysdeps/i386/fpu/libm-test-ulps: Update.
17323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17324
6693d694
DM
173252012-05-06 David S. Miller <davem@davemloft.net>
17326
17327 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
17328 quad soft-float symbols whose references which are compiler
17329 generated.
17330 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17331
6c23e11c
JM
173322012-05-06 Joseph Myers <joseph@codesourcery.com>
17333
d8b82cad
JM
17334 [BZ #13884]
17335 [BZ #13914]
17336 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17337 USE_AS_EXP10L.
17338 (EXPL_FINITE): Likewise.
17339 (FLDLOG): Likewise.
17340 (c0): Likewise.
17341 (c1): Likewise.
17342 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
17343 Adjust comments for base varying.
17344 (__expl_finite): Change alias to EXPL_FINITE.
17345 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
17346 e_expl.S.
17347 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
17348 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17349 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17350 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
17351 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17352 USE_AS_EXP10L.
17353 (EXPL_FINITE): Likewise.
17354 (FLDLOG): Likewise.
17355 (c0): Likewise.
17356 (c1): Likewise.
17357 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
17358 Adjust comments for base varying.
17359 (__expl_finite): Change alias to EXPL_FINITE.
17360 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
17361 tests for bugs.
17362 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17363
6c23e11c
JM
17364 [BZ #14064]
17365 * math/libm-test.inc (check_float_internal): Correct ulp
17366 calculation for subnormal expected results.
17367
29ba805c
AJ
173682012-05-06 Andreas Jaeger <aj@suse.de>
17369
17370 * Makeconfig (+math-flags): New, set to -frounding-math.
17371 (+cflags): Add +math-flags so that all of glibc gets compiled with
17372 it.
17373
17374 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
17375
7b17aeda
JM
173762012-05-05 Joseph Myers <joseph@codesourcery.com>
17377
5779f134
JM
17378 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
17379 Disable one test.
17380
41498f4d
JM
17381 [BZ #13787]
17382 [BZ #13922]
17383 [BZ #14036]
17384 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
17385 (__ieee754_expl): Allow for and saturate large arguments.
17386 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
17387 (u_threshold): Likewise.
17388 (__exp): Call __ieee754_exp before checking for overflow and
17389 underflow.
17390 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
17391 (u_threshold): Likewise.
17392 (__expf): Call __ieee754_expf before checking for overflow and
17393 underflow.
17394 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
17395 (u_threshold): Likewise.
17396 (__expl): Call __ieee754_expl before checking for overflow and
17397 underflow.
17398 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
17399 (__ieee754_expl): Allow for and saturate large arguments.
17400 * math/libm-test.inc (exp_test): Add another test. Do not allow
17401 missing overflow exception on overflow.
17402 (expm1_test): Do not allow missing overflow exception on overflow.
17403
6698b8bf
JM
17404 * sysdeps/i386/fpu/e_expl.c: Move to ...
17405 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
17406 rather than using inline asm.
17407 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
17408 * sysdeps/x86_64/fpu/e_expl.S: Copy from
17409 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
17410
7b17aeda
JM
17411 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
17412 (nice): Likewise.
17413 (poll): Likewise.
17414 (signal): Likewise.
17415 (time): Likewise.
17416 (times): Likewise.
17417
f7c85819
JM
174182012-05-04 Joseph Myers <joseph@codesourcery.com>
17419
17420 * sysdeps/unix/syscalls.list (adjtime): Add entry from
17421 sysdeps/unix/common/syscalls.list.
17422 (fchmod): Likewise.
17423 (fchown): Likewise.
17424 (ftruncate): Likewise.
17425 (getrusage): Likewise.
17426 (gettimeofday): Likewise.
17427 (setpgid): Likewise.
17428 (setregid): Likewise.
17429 (setreuid): Likewise.
17430 (sigaction): Likewise.
17431 (truncate): Likewise.
17432 (vhangup): Likewise.
17433 * sysdeps/unix/common/syscalls.list: Remove file.
17434 * sysdeps/unix/bsd/Implies: Don't include unix/common.
17435 * sysdeps/unix/sysv/linux/Implies: Likewise.
17436
336270d0
L
174372012-05-04 H.J. Lu <hongjiu.lu@intel.com>
17438
17439 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
17440 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
17441 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
17442 Moved to ...
17443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17444 Here.
17445 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
17446 to ...
17447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
17448 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
17449 to ...
17450 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
17451 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
17452 to ...
17453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
17454 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
17455 to ...
17456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
17457 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
17458 to ...
17459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
17460 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
17461 to ...
17462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
17463 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
17464 to ...
17465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17466 Here.
17467 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
17468 to ...
17469 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
17470 Here.
17471 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
17472 to ...
17473 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
17474 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
17475 Moved to ...
17476 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
17477 Here.
17478 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
17479 to ...
17480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
17481
d128e450
JM
174822012-05-04 Joseph Myers <joseph@codesourcery.com>
17483
fa8ee516
JM
17484 * sysdeps/unix/common/bits/dirent.h: Remove file.
17485 * sysdeps/unix/common/bits/fcntl.h: Likewise.
17486
d128e450
JM
17487 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
17488 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
17489 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
17490 * sysdeps/unix/bsd/isatty.c: Likewise.
17491 * sysdeps/unix/bsd/tcdrain.c: Likewise.
17492 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
17493 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
17494
ff8faaf0 174952012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 17496
62881be4 17497 [BZ #13563]
31dc8730
AZ
17498 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
17499 long double comparison inaccuracies.
17500 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17502
6fef930c
AS
175032012-05-04 Andreas Schwab <schwab@linux-m68k.org>
17504
17505 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
17506 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
17507
8f203e6c
JM
175082012-05-04 Joseph Myers <joseph@codesourcery.com>
17509
17510 [BZ #14049]
17511 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
17512 nonzero digits before rounding a hex value.
17513 * stdlib/tst-strtod.c (tests): Add another test.
17514
5197d9c2
AK
175152012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17516
17517 * sysdeps/s390/fpu/libm-test-ulps: Update.
17518
f0c1dedf
AJ
175192012-05-03 Andreas Jaeger <aj@suse.de>
17520
17521 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
17522 does not get optimized out.
17523 (malloc_opt_barrier): New.
17524
a65ef2ae 175252012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 17526 Roland McGrath <roland@hack.frob.com>
a65ef2ae 17527
2b942cb7 17528 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 17529 intermediate file deletion.
2b942cb7 17530 (generated): Add .symlist files.
a65ef2ae 17531
54b71e02
JM
175322012-05-03 Joseph Myers <joseph@codesourcery.com>
17533
17534 [BZ #13775]
17535 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
17536 Redirect under this condition.
17537 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17538 [__USE_GNU] (__dprintf_chk): Not under this condition.
17539 [__USE_GNU] (__vdprintf_chk): Likewise.
17540 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
17541 under this condition.
17542 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17543 [__USE_XOPEN2K8] (dprintf): Define under this condition.
17544 [__USE_XOPEN2K8] (vdprintf): Likewise.
17545 [__USE_GNU] (__dprintf_chk): Not under this condition.
17546 [__USE_GNU] (__vdprintf_chk): Likewise.
17547 [__USE_GNU] (dprintf): Likewise.
17548 [__USE_GNU] (vdprintf): Likewise.
17549
d3dfcc41
RM
175502012-05-03 Roland McGrath <roland@hack.frob.com>
17551
17552 * elf/Makefile (common-generated): Set this instead of generated for
17553 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
17554 $(all-built-dso)-derived lists.
17555
7ac30cc5
AJ
175562012-05-03 Andreas Jaeger <aj@suse.de>
17557
0c51e550
AJ
17558 * sysdeps/i386/fpu/libm-test-ulps: Update.
17559
7ac30cc5
AJ
17560 * FAQ: Removed.
17561 * FAQ.in: Likewise.
17562 * scripts/gen-FAQ.pl: Likewise.
17563 * manual/install.texi (Installation): Point to online location of
17564 FAQ.
17565 * Makefile (files-for-dist): Remove FAQ.
17566 (FAQ): Remove.
17567
d4c2917f
AM
175682012-05-02 Allan McRae <allan@archlinux.org>
17569
17570 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
17571 (LDFLAGS-reldepmod5.so): Likewise.
17572 (LDFLAGS-reldep6mod1.so): Likewise.
17573 (LDFLAGS-reldep6mod4.so): Likewise.
17574 (LDFLAGS-reldep8mod3.so): Likewise.
17575 (LDFLAGS-unload4mod1.so): Likewise.
17576 (LDFLAGS-unload4mod2.so): Likewise.
17577 (LDFLAGS-tst-initorder): Likewise.
17578 (LDFLAGS-tst-initordera2.so): Likewise.
17579 (LDFLAGS-tst-initordera3.so): Likewise.
17580 (LDFLAGS-tst-initordera4.so): Likewise.
17581 (LDFLAGS-tst-initorderb2.so): Likewise.
17582 (LDFLAGS-noload): Likewise.
17583 (LDFLAGS-next): Likewise.
17584 (LDFLAGS-order2mod1.so): Likewise.
17585 (LDFLAGS-order2mod2.so): Likewise.
17586 (LDFLAGS-tst-initorder2): Likewise.
17587 (LDFLAGS-tst-initorder2a.so): Likewise.
17588 (LDFLAGS-tst-initorder2b.so): Likewise.
17589 (LDFLAGS-tst-initorder2c.so): Likewise.
17590 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
17591
d77f993f
DM
175922012-05-02 David S. Miller <davem@davemloft.net>
17593
17594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17595
171a70b4
PP
175962012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
17597
17598 [BZ #14055]
17599 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
17600
0be196ad
AJ
176012012-05-02 Andreas Jaeger <aj@suse.de>
17602
17603 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
17604 since we manipulate rounding mode.
17605 (CPPFLAGS-test-idouble.c): Likewise.
17606 (CPPFLAGS-test-ifloat.c): Likewise.
17607 (CFLAGS-test-ldouble.c): Likewise.
17608 (CFLAGS-test-double.c): Likewise.
17609 (CFLAGS-test-float.c): Likewise.
17610 (CFLAGS-test-misc.c): Likewise.
17611 (CFLAGS-test-test-fenv.c): Likewise.
17612
4f9d04aa
AZ
176132012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17614
2b942cb7
RM
17615 [BZ #2550]
17616 [BZ #2570]
17617 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
17618 comparisons to determine direction to adjust input.
4f9d04aa 17619
82a79e7d
RM
176202012-05-01 Roland McGrath <roland@hack.frob.com>
17621
f5a01ca9
RM
17622 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
17623 output to the target.
17624
90fe4186
RM
17625 * scripts/localplt.awk: New file.
17626 * elf/Makefile ($(objpfx)check-localplt): Target removed.
17627 (check-localplt-CFLAGS): Variable removed.
17628 ($(all-built-dso:=.jmprel)): New static pattern rule.
17629 (generated): Add those targets.
17630 (localplt-built-dso): New variable.
17631 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
17632
17633 * elf/check-localplt.c: File removed.
17634
82397ed6
RM
17635 * scripts/check-execstack.awk: New file.
17636 * elf/Makefile ($(objpfx)check-execstack): Target removed.
17637 (check-execstack-CFLAGS): Variable removed.
17638 ($(objpfx)check-execstack.h): Target removed.
17639 ($(objpfx)execstack-default): New target.
17640 (generated): Add that instead of check-execstack.h.
17641 ($(all-built-dso:=.phdr)): New static pattern rule.
17642 (generated): Add those targets.
17643 * elf/check-execstack.c: File removed.
17644
82a79e7d
RM
17645 * scripts/check-textrel.awk: New file.
17646 * elf/Makefile ($(objpfx)check-textrel): Target removed.
17647 (check-textrel-CFLAGS): Variable removed.
17648 (all-built-dso): Use := to define.o
17649 ($(all-built-dso:=.dyn)): New static pattern rule.
17650 (generated): Add those targets.
17651 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
17652 * config.make.in (READELF): New substituted variable.
17653 * elf/check-textrel.c: File removed.
17654
62fde54f 176552012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 17656
615605c9
JM
17657 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17658 allow.
17659 * conform/data/ctype.h-data [C99-based standards] (isblank):
17660 Expect function.
17661 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
17662 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
17663 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17664 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
17665 Specify type. Require positive value.
17666 (EILSEQ): Likewise.
17667 (ERANGE): Likewise.
17668 [ISO || POSIX] (EILSEQ): Do not expect.
17669 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
17670 Specify type. Require positive value.
17671 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
17672 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
17673 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
17674 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
17675 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
17676 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
17677 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
17678 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
17679 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
17680 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
17681 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
17682 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
17683 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
17684 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
17685 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
17686 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
17687 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
17688 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
17689 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
17690 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
17691 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
17692 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
17693 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
17694 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
17695 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
17696 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
17697 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
17698 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
17699 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
17700 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
17701 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
17702 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
17703 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
17704 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
17705 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
17706 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
17707 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
17708 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
17709 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
17710 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
17711 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
17712 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
17713 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
17714 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
17715 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
17716 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
17717 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
17718 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
17719 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
17720 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
17721 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
17722 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
17723 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
17724 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
17725 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
17726 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
17727 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
17728 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
17729 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
17730 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
17731 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
17732 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
17733 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
17734 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
17735 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
17736 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
17737 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
17738 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
17739 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
17740 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
17741 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
17742 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
17743 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
17744 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
17745 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
17746 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
17747 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
17748 Require >= 2.
17749 (FLT_ROUNDS): Expect as macro, not constant.
17750 (FLT_MANT_DIG): Use macro-int-constant.
17751 (DBL_MANT_DIG): Likewise.
17752 (LDBL_MANT_DIG): Likewise.
17753 (FLT_DIG): Likewise.
17754 (DBL_DIG): Likewise.
17755 (LDBL_DIG): Likewise.
17756 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
17757 (DBL_MIN_EXP): Likewise.
17758 (LDBL_MIN_EXP): Likewise.
17759 (FLT_MAX_EXP): Use macro-int-constant.
17760 (DBL_MAX_EXP): Likewise.
17761 (LDBL_MAX_EXP): Likewise.
17762 (FLT_MAX_10_EXP): Likewise.
17763 (DBL_MAX_10_EXP): Likewise.
17764 (LDBL_MAX_10_EXP): Likewise.
17765 (FLT_MAX): Use macro-constant.
17766 (DBL_MAX): Likewise.
17767 (LDBL_MAX): Likewise.
17768 (FLT_EPSILON): Use macro-constant. Give upper bound.
17769 (DBL_EPSILON): Likewise.
17770 (LDBL_EPSILON): Likewise.
17771 (FLT_MIN): Likewise.
17772 (DBL_MIN): Likewise.
17773 (LDBL_MIN): Likewise.
17774 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
17775 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
17776 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
17777 [ISO11] (FLT_HAS_SUBNORM): Likewise.
17778 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
17779 [ISO11] (DBL_DECIMAL_DIG): Likewise.
17780 [ISO11] (FLT_DECIMAL_DIG): Likewise.
17781 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
17782 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
17783 [ISO11] (FLT_TRUE_MIN): Likewise.
17784 [ISO11] (LDBL_TRUE_MIN): Likewise.
17785 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17786 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
17787 (SCHAR_MIN): Use macro-int-constant. Specify type.
17788 (SCHAR_MAX): Likewise.
17789 (UCHAR_MAX): Likewise.
17790 (CHAR_MIN): Likewise.
17791 (CHAR_MAX): Likewise.
17792 (MB_LEN_MAX): Use macro-int-constant.
17793 (SHRT_MIN): Use macro-int-constant. Specify type.
17794 (SHRT_MAX): Likewise.
17795 (USHRT_MAX): Likewise.
17796 (INT_MAX): Likewise.
17797 (INT_MIN): Use macro-int-constant. Specify type. Make upper
17798 bound negative.
17799 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
17800 bound with "U".
17801 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17802 bound with "L".
17803 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
17804 bound negative. Suffix upper bound with "L".
17805 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17806 bound with "UL".
17807 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
17808 Specify type.
17809 [C99-based standards] (LLONG_MAX): Likewise.
17810 [C99-based standards] (ULLONG_MAX): Likewise.
17811 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
17812 == 0.
17813 [ISO11] (max_align_t): Require type.
17814 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17815
c9140a62
JM
17816 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
17817 from $CFLAGS, without defining away __attribute__ calls.
17818 (checknamespace): Use $CFLAGS_namespace.
17819
9af0bf29
JM
17820 * conform/conformtest.pl (@keywords): Only include C99 keywords
17821 for standards based on C99 or C11.
17822
343222a2
JM
17823 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
17824 Disable tests.
17825 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
17826 UNIX98]: Likewise.
17827
661f8cf0
JM
17828 * conform/conformtest.pl: Handle "macro-int-constant" and test for
17829 usability of symbols in #if.
17830
ee74b9cb
JM
17831 * conform/conformtest.pl: If macro or constant types start
17832 "promoted:", expect the symbol to be of the following type
17833 promoted by the integer promotions.
62fde54f 17834
aafc49b3
JM
17835 * conform/conformtest.pl: Parse all "constant" and "macro" lines
17836 in one place. Also handle "macro-constant".
17837
fefdf574
JM
17838 * conform/conformtest.pl: Only accept expected macro values with
17839 "==". Parse all "macro" lines in one place.
17840 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
17841
f2d922fe
JM
17842 * conform/conformtest.pl: Handle braced types on "constant" lines
17843 instead of handling "typed-constant".
17844 * conform/data/signal.h-data: Use "constant" instead of
17845 "typed-constant".
17846
d22956c9
JM
17847 * conform/conformtest.pl: Handle "optional-" at start of lines in
17848 one place rather than duplicating several cases. Handle each
17849 format of "macro" line with initial "optional-".
17850
028e2e38
JM
17851 * conform/conformtest.pl: Only accept expected constant or
17852 optional-constant values with "==". Parse all "constant" lines in
17853 one place. Parse all "optional-constant" lines in one place.
17854 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
17855 * conform/data/fmtmsg.h-data: Likewise.
17856 * conform/data/netinet/in.h-data: Likewise.
17857 * conform/data/tar.h-data: Likewise.
17858 * conform/data/limits.h-data: Use "==" form on "constant" and
17859 "optional-constant" lines.
17860
1b8f2850
JM
17861 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
17862 Use -std=c99 for XOPEN2K.
17863 (@knownproblems): Remove.
17864 (newtoken): Don't check %isknown.
17865
a05a144b
JM
17866 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
17867 Do not expect macro.
17868 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
17869 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
17870 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
17871 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
17872 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
17873 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
17874 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
17875 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
17876 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
17877 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
17878 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
17879 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
17880 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
17881 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
17882 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
17883 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
17884 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
17885 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
17886 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
17887 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
17888 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
17889 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
17890 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
17891 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
17892 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
17893 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
17894 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
17895 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
17896 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
17897 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
17898 [XPG3] (acosh): Likewise.
17899 [XPG3] (asinh): Likewise.
17900 [XPG3] (atanh): Likewise.
17901 [XPG3] (cbrt): Likewise.
17902 [XPG3] (expm1): Likewise.
17903 [XPG3] (ilogb): Likewise.
17904 [XPG3] (log1p): Likewise.
17905 [XPG3] (logb): Likewise.
17906 [XPG3] (nextafter): Likewise.
17907 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
17908 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
17909 [XPG3] (remainder): Likewise.
17910 [XPG3] (rint): Likewise.
17911 [XPG3 || XPG4 || UNIX98] (round): Likewise.
17912 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
17913 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
17914 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
17915 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
17916 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
17917 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
17918 [UNIX98 || XOPEN2K] (scalb): Expect.
17919 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
17920 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
17921 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
17922 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
17923 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
17924 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
17925 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
17926 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
17927 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
17928 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
17929 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
17930 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
17931 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
17932 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
17933 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
17934 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
17935 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
17936 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
17937 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
17938 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
17939 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
17940 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
17941 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
17942 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
17943 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
17944 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
17945 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
17946 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
17947 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
17948 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
17949 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
17950 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
17951 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
17952 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
17953 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
17954 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
17955 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
17956 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
17957 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
17958 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
17959 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
17960 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
17961 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
17962 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
17963 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
17964 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
17965 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
17966 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
17967 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
17968 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
17969 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
17970 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
17971 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
17972 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
17973 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
17974 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
17975 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
17976 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
17977 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
17978 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
17979 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
17980 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
17981 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
17982 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
17983 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
17984 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
17985 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
17986 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
17987 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
17988 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
17989 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
17990 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
17991 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
17992 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
17993 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
17994 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
17995 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
17996 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
17997 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
17998 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
17999 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
18000 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
18001 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
18002 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
18003 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
18004 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
18005 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
18006 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
18007 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
18008 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
18009 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
18010 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
18011 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
18012 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
18013 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
18014 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
18015 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
18016 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
18017 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
18018 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
18019 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
18020 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
18021 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
18022 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
18023 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
18024 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
18025 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
18026 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
18027 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
18028 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
18029 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
18030 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
18031 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
18032 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
18033 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
18034 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
18035 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
18036 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
18037 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
18038 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
18039 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
18040 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
18041 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
18042 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
18043 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
18044 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
18045 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
18046 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
18047 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
18048 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
18049 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
18050 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
18051 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
18052 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
18053 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
18054 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
18055 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
18056
73c5ebe3
JM
18057 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
18058 _XOPEN_SOURCE_EXTENDED for XPG4.
18059
39c33b6c
JM
18060 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
18061
62fde54f
JM
18062 * Makeconfig (localtime): Remove variable.
18063 (inst_localtime-file): Likewise.
18064
0741d64c
AS
180652012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18066
18067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18068 Update.
18069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18070 Update.
18071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18072 Update.
18073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18074 Update.
18075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18076 Update.
18077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
18078 Update.
18079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18080 Update.
18081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
18082 Update.
18083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18084 Update.
18085
7cb029ee
JM
180862012-05-01 Joseph Myers <joseph@codesourcery.com>
18087
18088 [BZ #2550]
18089 [BZ #2570]
18090 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
18091 comparisons to determine direction to adjust input.
18092 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18093 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
18094 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18095 Likewise.
18096 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18097 Likewise.
18098 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18099 Likewise.
18100 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18101 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18102 Likewise.
18103 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18104 Likewise.
18105 * math/libm-test.inc (nexttoward_test): Add more tests.
18106
412bd966
AS
181072012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18108
18109 [BZ #14040]
18110 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
18111 in version GLIBC_2.1, not GLIBC_2.0.
18112 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
18113 Likewise.
18114
9568c0c2
JM
181152012-04-30 Joseph Myers <joseph@codesourcery.com>
18116
adfbc8ac
JM
18117 [BZ #13942]
18118 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
18119 (1 - x) * (1 + x).
18120 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18121 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
18122 * math/libm-test.inc (acos_test): Add more tests.
18123 (asin_test): Likewise.
18124 * sysdeps/i386/fpu/libm-test-ulps: Update.
18125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18126
5ba3cc69
JM
18127 [BZ #14034]
18128 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
18129 of square root.
18130 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
18131 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18132 * math/libm-test.inc (acos_test_tonearest): New function.
18133 (acos_test_towardzero): Likewise.
18134 (acos_test_downward): Likewise.
18135 (acos_test_upward): Likewise.
18136 (asin_test_tonearest): Likewise.
18137 (asin_test_towardzero): Likewise.
18138 (asin_test_downward): Likewise.
18139 (asin_test_upward): Likewise.
18140 (main): Call the new functions.
18141 * sysdeps/i386/fpu/libm-test-ulps: Update.
18142 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18143
9568c0c2
JM
18144 [BZ #13884]
18145 [BZ #13924]
18146 * math/e_exp10.c: Include <float.h>.
18147 (__ieee754_exp10): Handle underflow here rather than multiplying
18148 large negative argument by M_LN10.
18149 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
18150 of __ieee754_expf.
18151 * math/e_exp10l.c: Include <float.h>.
18152 (__ieee754_exp10l): Handle underflow here rather than multiplying
18153 large negative argument by M_LN10l.
18154 * math/libm-test.inc (exp10_test): Add another test. Do not allow
18155 spurious overflow exception on underflow.
18156
5ac3ea17
MP
181572012-04-29 Marek Polacek <polacek@redhat.com>
18158
18159 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
18160 (__fortify_function): New macro.
18161 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
18162 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
18163 __extern_always_inline.
18164 * libio/bits/stdio2.h: Likewise.
18165 * libio/bits/stdio.h: Likewise.
18166 * string/string.h: Likewise.
18167 * string/bits/string3.h: Likewise.
18168 * include/stdio.h: Likewise.
18169 * stdlib/bits/stdlib.h: Likewise.
18170 * stdlib/stdlib.h: Likewise.
18171 * rt/bits/mqueue2.h: Likewise.
18172 * rt/mqueue.h: Likewise.
18173 * posix/bits/unistd.h: Likewise.
18174 * posix/unistd.h: Likewise.
18175 * io/bits/poll2.h: Likewise.
18176 * io/bits/fcntl2.h: Likewise.
18177 * io/fcntl.h: Likewise.
18178 * io/sys/poll.h: Likewise.
18179 * misc/bits/syslog.h: Likewise.
18180 * misc/bits/syslog-ldbl.h: Likewise.
18181 * misc/sys/syslog.h: Likewise.
18182 * socket/bits/socket2.h: Likewise.
18183 * socket/sys/socket.h: Likewise.
18184 * debug/tst-chk1.c: Likewise.
18185 * wcsmbs/bits/wchar2.h: Likewise.
18186 * wcsmbs/bits/wchar-ldbl.h: Likewise.
18187 * wcsmbs/wchar.h: Likewise.
18188
ecf0ebfb
AJ
181892012-04-29 Andreas Jaeger <aj@suse.de>
18190
18191 * Makerules (tests): Remove enable-check-abi protection.
18192 (check-abi-warn): Remove.
18193 (check-abi-%): Remove check-abi-warn usage.
18194
18195 * configure.in: Remove check-abi configure option.
18196 * configure: Regenerated.
18197 * config.make.in (enable-check-abi): Remove.
18198
6d5c57fa
AS
181992012-04-28 Andreas Schwab <schwab@linux-m68k.org>
18200
24c5d07e 18201 [BZ #14033]
ded5180a
AS
18202 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
18203 double functions to double *_finite functions.
18204
7e0d315d
AS
18205 [BZ #13941]
18206 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
18207 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
18208 LDBL_MIN_EXP.
18209 * stdio-common/Makefile (tests): Add tst-sprintf3.
18210 * stdio-common/tst-sprintf3.c: New file.
18211
6d5c57fa
AS
18212 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
18213 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
18214
0749ff8b
JM
182152012-04-28 Joseph Myers <joseph@codesourcery.com>
18216
18217 * conform/conformtest.pl: Remove duplicate typed-constant
18218 handling.
18219
8dbd5d7b
DM
182202012-04-28 David S. Miller <davem@davemloft.net>
18221
18222 * Makerules (%.abilist): Add vpath on sysdep_dirs.
18223 (check-abi-%): Remove AWK script prerequisite and explicit
18224 abilist directory.
18225 (check-abi): Rewrite to just diff the symlist with the abilist.
18226 (config-tls, config-abi-config): Delete, no longer used.
18227 (update-abi-%): Remove AWK script and explicit abilist directory.
18228 (update-abi): Rewrite to simply compare and conditionally copy the
18229 symlist and the sysdep abilist file. Remove update-abi-config
18230 checks.
18231 * abilist/ld.abilist: Remove.
18232 * abilist/libBrokenLocale.abilist: Remove.
18233 * abilist/libanl.abilist: Remove.
18234 * abilist/libcrypt.abilist: Remove.
18235 * abilist/libdl.abilist: Remove.
18236 * abilist/librt.abilist: Remove.
18237 * abilist/libthread_db.abilist: Remove.
18238 * abilist/libutil.abilist: Remove.
18239 * scripts/extract-abilist.awk: Remove.
18240 * scripts/merge-abilist.awk: Remove.
18241 * sysdeps/generic/libcidn.abilist: New file.
18242 * sysdeps/generic/libnss_compat.abilist: New file.
18243 * sysdeps/generic/libnss_db.abilist: New file.
18244 * sysdeps/generic/libnss_dns.abilist: New file.
18245 * sysdeps/generic/libnss_files.abilist: New file.
18246 * sysdeps/generic/libnss_hesiod.abilist: New file.
18247 * sysdeps/generic/libnss_nis.abilist: New file.
18248 * sysdeps/generic/libnss_nisplus.abilist: New file.
18249 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
18250 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
18251 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
18252 file.
18253 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
18254 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
18255 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
18256 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
18257 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
18258 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
18259 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
18260 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
18261 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
18262 file.
18263 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
18264 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
18265 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
18266 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
18267 file.
18268 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
18269 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
18270 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
18271 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
18272 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
18273 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
18274 file.
18275 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
18276 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
18277 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
18278 file.
18279 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
18280 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
18281 New file.
18282 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
18283 New file.
18284 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
18285 New file.
18286 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
18287 New file.
18288 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
18289 New file.
18290 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
18291 New file.
18292 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
18293 New file.
18294 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
18295 New file.
18296 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
18297 New file.
18298 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
18299 New file.
18300 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
18301 New file.
18302 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
18303 New file.
18304 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
18305 New file.
18306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
18307 file.
18308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18309 New file.
18310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18311 New file.
18312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
18313 file.
18314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18315 New file.
18316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18317 New file.
18318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
18319 file.
18320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18321 New file.
18322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18323 New file.
18324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18325 New file.
18326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18327 New file.
18328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18329 New file.
18330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18331 New file.
18332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
18333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
18334 file.
18335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18336 New file.
18337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
18338 file.
18339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
18340 file.
18341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
18342 file.
18343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
18344 file.
18345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
18346 file.
18347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18348 New file.
18349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
18350 file.
18351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
18352 file.
18353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18354 New file.
18355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
18356 file.
18357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
18358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
18359 file.
18360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18361 New file.
18362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
18363 file.
18364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
18365 file.
18366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
18367 file.
18368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
18369 file.
18370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
18371 file.
18372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18373 New file.
18374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
18375 file.
18376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
18377 file.
18378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18379 New file.
18380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
18381 file.
18382 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18383 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
18384 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
18385 file.
18386 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
18387 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
18388 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
18389 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
18390 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
18391 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
18392 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
18393 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
18394 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
18395 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
18396 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
18397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
18398 file.
18399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18400 New file.
18401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
18402 file.
18403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
18404 file.
18405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
18406 file.
18407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
18408 file.
18409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
18410 file.
18411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18412 New file.
18413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
18414 New file.
18415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
18416 file.
18417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
18418 New file.
18419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
18420 file.
18421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
18422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
18423 file.
18424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
18425 New file.
18426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
18427 file.
18428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
18429 file.
18430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
18431 file.
18432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
18433 file.
18434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
18435 file.
18436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18437 New file.
18438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
18439 New file.
18440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
18441 file.
18442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
18443 New file.
18444 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
18445 file.
18446
41d73a1b
JM
184472012-04-28 Joseph Myers <joseph@codesourcery.com>
18448
18449 * conform/conformtest.pl: Fix typo in handling typed-constant from
18450 allow-header.
18451
28aeeda4
JM
184522012-04-27 Joseph Myers <joseph@codesourcery.com>
18453
adae8f5e
JM
18454 * README: Cut down references to pre-2.6 Linux kernels and
18455 Linuxthreads. Update lists of configurations in libc and ports
18456 and sort alphabetically. Say "or newer" with Linux kernel version
18457 requirements.
18458
28aeeda4
JM
18459 * config.h.in [IS_IN_build]: Allow compiling without optimization.
18460
a462cb63
RA
184612012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18462
18463 [BZ #887]
18464 * math/libm-test.inc (logb_test_downward): New test to expose
18465 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
18466 rounding mode.
18467
6ad3493e
JM
184682012-04-27 Joseph Myers <joseph@codesourcery.com>
18469
18470 [BZ #14027]
18471 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
18472 to be done.
18473 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
18474 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
18475
2ce4f015
JM
184762012-04-26 Joseph Myers <joseph@codesourcery.com>
18477
5aeb141a
JM
18478 * sysdeps/unix/i386/brk.S: Remove file.
18479 * sysdeps/unix/i386/dl-brk.S: Likewise.
18480 * sysdeps/unix/i386/pipe.S: Likewise.
18481 * sysdeps/unix/i386/sigreturn.S: Likewise.
18482 * sysdeps/unix/i386/syscall.S: Likewise.
18483 * sysdeps/unix/i386/vfork.S: Likewise.
18484 * sysdeps/unix/i386/wait.S: Likewise.
18485
7143acae
JM
18486 * sysdeps/unix/common/tcsendbrk.c: Move to ...
18487 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
18488
2ce4f015
JM
18489 * configure.in (arm*-none*): Do not allow without
18490 --enable-hacker-mode.
18491 (netbsd*): Remove case setting base_os.
18492 (386bsd*): Likewise.
18493 (freebsd*): Likewise.
18494 (bsdi*): Likewise.
18495 (osf*): Likewise.
18496 (sunos*): Likewise.
18497 (ultrix*): Likewise.
18498 (newsos*): Likewise.
18499 (dynix*): Likewise.
18500 (*bsd*): Likewise.
18501 (sysv*): Likewise.
18502 (isc*): Likewise.
18503 (esix*): Likewise.
18504 (sco*): Likewise.
18505 (minix*): Likewise.
18506 (irix4*): Likewise.
18507 (irix6*): Likewise.
18508 (solaris[2-9]*): Likewise.
18509 (none): Likewise.
18510 * configure: Regenerated.
18511
0ac229c8
AZ
185122012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18513
18514 [BZ #11521]
18515 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
18516 overflow or cancellation in calculating denominator.
18517 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
18518 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
18519 down expression to avoid unexpected rounding in newer GCCs.
18520 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
18521
33f244f4
DM
185222012-04-26 David S. Miller <davem@davemloft.net>
18523
18524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
18525 long-double compat symbols.
18526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
18530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
18534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
18535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
18536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
18537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
18538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18539
cfa1f3e8
DM
185402012-04-25 David S. Miller <davem@davemloft.net>
18541
18542 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
18543 HWCAP_* values only after the memory barriers have been defined.
18544 (atomic_full_barrier): Define.
18545 (atomic_read_barrier): Define.
18546 (atomic_write_barrier): Define.
18547
6e236b92
SP
185482012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18549
18550 * shlib-versions: Add libgcc_s version information.
18551 * sysdeps/generic/libgcc_s.h: Remove.
18552 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
18553 libgcc_s.h.
18554 * sysdeps/gnu/unwind-resume.c: Likewise.
18555 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
18556
aab39a09
DM
185572012-04-25 David S. Miller <davem@davemloft.net>
18558
18559 * sysdeps/unix/sparc/brk.S: Delete.
18560 * sysdeps/unix/sparc/dl-brk.S: Delete.
18561 * sysdeps/unix/sparc/pipe.S: Delete.
18562 * sysdeps/unix/sparc/sysdep.S: Delete.
18563 * sysdeps/unix/sparc/sysdep.h: Delete.
18564 * sysdeps/unix/sparc/vfork.S: Delete.
18565 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
18566 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
18567 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
18568 ret_ERRVAL, r0, r1, MOVE): Define.
18569 (JUMPTARGET): Remove.
18570 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
18571 sysdeps/unix/sparc/sysdep.h
18572 (ENTRY, END): Remove.
18573 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18574
a3cc4f48
JM
185752012-04-25 Joseph Myers <joseph@codesourcery.com>
18576
2ed8cda2
JM
18577 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
18578 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
18579 -DIS_IN_build.
18580
35d76d59
JM
18581 * timezone/README: Update upstream location and email address for
18582 tzcode and tzdata.
18583 * timezone/zdump.c: Update from tzcode 2012b.
18584 * timezone/zic.c: Likewise.
18585
a3cc4f48
JM
18586 * configure.in (libc_cv_as_needed): Remove test.
18587 * configure: Regenerated.
18588 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
18589 conditional definition.
18590 [$(have-as-needed) != yes] (no-as-needed): Likewise.
18591 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
18592 * config.make.in (have-as-needed): Remove variable.
18593
ceab42c3
SP
185942012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18595 Paul Pluzhnikov <ppluzhnikov@google.com>
18596
18597 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
18598 strings correctly.
18599
3ce2865f
CLT
186002012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
18601
18602 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
18603 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
18604 * sysdeps/sh/strlen.S: Likewise.
18605
f37e0d68
JM
186062012-04-24 Joseph Myers <joseph@codesourcery.com>
18607
ae186e9a
JM
18608 * sysdeps/unix/fork.S: Remove file.
18609 * sysdeps/unix/i386/fork.S: Likewise.
18610 * sysdeps/unix/sparc/fork.S: Likewise.
18611
b96914af
JM
18612 * sysdeps/unix/system.c: Remove file.
18613 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
18614
f37e0d68
JM
18615 * sysdeps/unix/getegid.S: Remove file.
18616 * sysdeps/unix/geteuid.S: Likewise.
18617
87ef29ca
RM
186182012-04-24 Roland McGrath <roland@hack.frob.com>
18619
83bcd236
RM
18620 * scripts/check-localplt.awk: New file.
18621 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
18622 of diff.
18623 * scripts/data/localplt-generic.data: Add a comment.
18624
87ef29ca
RM
18625 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
18626 NODE when __dir_mkfile failed.
18627 * sysdeps/mach/hurd/symlinkat.c: Likewise.
18628 Reported by Ludovic Courtès <ludo@gnu.org>.
18629
e5a6e567
AJ
186302012-04-24 Andreas Jaeger <aj@suse.de>
18631
18632 * Makerules (common-clean): Also remove gen-as-const-headers
18633 files.
18634
c1820385
JM
186352012-04-24 Joseph Myers <joseph@codesourcery.com>
18636
18637 * Makerules (native-compile): Do not change working directory for
18638 build. Use $(OUTPUT_OPTION) in command.
18639 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
18640
94e02fc4
AZ
186412012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18642
18643 [BZ #13886]
18644 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
18645 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
18646 * math/libm-test.inc (floor_test): Add more tests.
18647 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
18648
3a533ca3
JM
186492012-04-24 Joseph Myers <joseph@codesourcery.com>
18650
940ab4b3
JM
18651 * sysdeps/unix/getdents.c: Remove file.
18652 * sysdeps/unix/sysv/getdents.c: Likewise.
18653 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
18654
90e037bd
JM
18655 * sysdeps/unix/syscalls.list (madvise): Add syscall from
18656 sysdeps/unix/mman/syscalls.list.
18657 (mmap): Likewise.
18658 (mprotect): Likewise.
18659 (msync): Likewise.
18660 (munmap): Likewise.
18661 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
18662 * sysdeps/unix/mman/syscalls.list: Remove.
18663 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
18664
3a533ca3
JM
18665 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
18666 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
18667 * configure: Regenerated.
18668 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
18669 $(libgcc_s_suffix).
18670 * config.make.in (libgcc_s_suffix): Remove variable.
18671
1ad743de
JM
186722012-04-23 Joseph Myers <joseph@codesourcery.com>
18673
4ad451e2
JM
18674 * sysdeps/unix/sysv/gethostname.c: Move to ...
18675 * sysdeps/posix/gethostname.c: ... here.
18676
5e37ce39
JM
18677 * sysdeps/unix/execve.S: Remove file.
18678
1ad743de
JM
18679 * sysdeps/unix/_exit.S: Remove file.
18680
4e681b5b
AJ
186812012-04-23 Andreas Jaeger <aj@suse.de>
18682
18683 [BZ #13739]
18684 * manual/Makefile: Remove make dist support, there's no
18685 need for a stand-alone documentation tar ball.
18686 (TEXI2DVI): Define always, it's not in Makeconfig.
18687 (dist): Removed.
18688 (tar-it): Removed.
18689 (edition): Removed.
18690 (glibc-doc-$(edition).tar): Removed
18691 (%.Z): Removed.
18692 (%.gz): Removed.
18693 (%.uu): Removed.
18694 (ETAGS): Remove, it's in Makeconfig.
18695 (move-if-change): Remove, it's in Makeconfig.
18696
38686a03 186972012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
18698
18699 [BZ #13970]
18700 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
18701 (strtod, strtof, strtold, strtol, strtoul, strtoq)
18702 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
18703 (strtod_l, strtof_l, strtold_l): Remove __wur.
18704 It is not necessarily an error to ignore strtol's return value.
18705 One can reliably look at the stored endptr to decide whether
18706 the number had valid syntax.
18707
7c0616fa
AJ
187082012-04-21 Andreas Jaeger <aj@suse.de>
18709
803cb6b7 18710 [BZ #13739]
7c0616fa
AJ
18711 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
18712
b0fe253f
JM
187132012-04-21 Joseph Myers <joseph@codesourcery.com>
18714
18715 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
18716 * sysdeps/unix/sysv/Versions: Remove file.
18717
8280f22d
MT
187182012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
18719
18720 [BZ #13927]
18721 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18722
75ce411f 187232012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
18724
18725 [BZ #7064]
18726 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
18727 version from __vm86.
18728
097d59fa
JM
187292012-04-20 Joseph Myers <joseph@codesourcery.com>
18730
a90f3bcb
JM
18731 * sysdeps/unix/common/lxstat.c: Remove file.
18732 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
18733
edc7ea78
JM
18734 * sysdeps/unix/sysv/Makefile: Remove file.
18735
cb78c221
JM
18736 * sysdeps/unix/sysv/direct.h: Remove file.
18737
efa6a45f
JM
18738 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
18739 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
18740 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
18741 * sysdeps/unix/sysv/bits/signum.h: Likewise.
18742 * sysdeps/unix/sysv/bits/stat.h: Likewise.
18743 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
18744 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
18745
9c9f2d0c
JM
18746 * sysdeps/unix/sysv/setrlimit.c: Remove file.
18747
4541c83b
JM
18748 * sysdeps/unix/xmknod.c: Remove file.
18749 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
18750
f5d153a0
JM
18751 * sysdeps/unix/sysv/settimeofday.c: Remove file.
18752
aa746595
JM
18753 * sysdeps/unix/sysv/i386/time.S: Remove file.
18754
cce5905e
JM
18755 * sysdeps/unix/fxstat.c: Remove file.
18756 * sysdeps/unix/xstat.c: Likewise.
18757 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
18758
37fa3841
JM
18759 * sysdeps/unix/sysv/sigaction.c: Remove file.
18760
ff1962a3
JM
18761 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
18762 (sysdep_headers): Remove variable.
18763 [termio.h not in sysdep_headers] (generated): Likewise.
18764 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
18765 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
18766 * sysdeps/unix/sysv/tcdrain.c: Likewise.
18767 * sysdeps/unix/sysv/tcflow.c: Likewise.
18768 * sysdeps/unix/sysv/tcflush.c: Likewise.
18769 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
18770 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
18771 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
18772 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
18773 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
18774
e7740d31
JM
18775 * sysdeps/unix/siglist.c: Remove file.
18776
ee06f18b
JM
18777 * sysdeps/unix/getppid.S: Remove file.
18778
097d59fa
JM
18779 * sysdeps/unix/mkdir.c: Remove file.
18780 * sysdeps/unix/rmdir.c: Likewise.
18781
ff3d51ec
AS
187822012-04-19 Andreas Schwab <schwab@linux-m68k.org>
18783
18784 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
18785 ERR_MAX value.
18786 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
18787 errlist-compat value.
18788
50f81fd7
DM
187892012-04-18 David S. Miller <davem@davemloft.net>
18790
18791 * sysdeps/generic/memcopy.h (reg_char): Delete.
18792 * debug/strcat_chk.c: Use char, not reg_char.
18793 * debug/strcpy_chk.c: Likewise.
18794 * debug/strncat_chk.c: Likewise.
18795 * debug/strncpy_chk.c: Likewise.
18796 * string/memchr.c: Likewise.
18797 * string/memrchr.c: Likewise.
18798 * string/rawmemchr.c: Likewise.
18799 * string/strcat.c: Likewise.
18800 * string/strchr.c: Likewise.
18801 * string/strchrnul.c: Likewise.
18802 * string/strcmp.c: Likewise.
18803 * string/strcpy.c: Likewise.
18804 * string/strncat.c: Likewise.
18805 * string/strncmp.c: Likewise.
18806 * string/strncpy.c: Likewise.
18807
8ff41c46
WS
188082012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18809
18810 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
18811 __builtin_memcopy is called when src and dest ranges are known to not
18812 overlap.
18813
6b652f46
WS
188142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18815
18816 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
18817 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
18818 fwd_align_merge macro call.
18819 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
18820 bwd_align_merge macro call.
18821 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18822
b282631e
WS
188232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18824
18825 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
18826 bwd_align_merge macros.
18827 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
18828 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
18829 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18830
95aa737c
DM
188312012-04-18 David S. Miller <davem@davemloft.net>
18832
18833 * sysdeps/sparc/sparc64/memcopy.h: Delete.
18834
7a99a614
AJ
188352012-04-18 Andreas Jaeger <aj@suse.de>
18836
18837 [BZ# 6794]
18838 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
18839 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
18840 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18841
18842 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
18843 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
18844 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18845
18846 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
18847 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
18848 Adjust for changed ldbl-128 files.
18849
18850 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
18851 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
18852 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18853
e5270c23
DM
188542012-04-17 David S. Miller <davem@davemloft.net>
18855
18856 * sysdeps/sparc/sparc32/memcopy.h: Delete.
18857
fb5e92c9
AS
188582012-04-17 Andreas Schwab <schwab@linux-m68k.org>
18859
18860 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
18861 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
18862 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
18863 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
18864 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18865 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
18866
76da7265
AZ
188672012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18868
18869 [BZ #6794]
18870 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
18871 * math/libm-test.inc: Add ilogb errno and exception tests.
18872 * math/w_ilogb.c: New file: ilogb wrapper.
18873 * math/w_ilogbf.c: New file: ilogbf wrapper.
18874 * math/w_ilogbl.c: New file: ilogbl wrapper.
18875 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
18876 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
18877 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
18878 exception being thrown with 0.0 as argument.
18879 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
18880 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
18881 exception being thrown with 0.0 as argument.
18882 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
18883 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18884 exception being thrown with 0.0 as argument.
18885 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
18886 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18887 exception being thrown with 0.0 as argument.
18888 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
18889 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 18890 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
18891 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
18892 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
18893 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
18894 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
18895 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
18896 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
18897
0396e69d
PB
188982012-04-17 Petr Baudis <pasky@ucw.cz>
18899
18900 * include/sys/uio.h: Change __vector to __iovec to avoid clash
18901 with altivec.
18902
750b5926
MP
189032012-04-16 Marek Polacek <polacek@redhat.com>
18904
18905 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
18906
751728a1
MP
189072012-04-16 Marek Polacek <polacek@redhat.com>
18908
18909 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
18910 operands of fdivp instruction.
18911
34a27407
L
189122012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18913
18914 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
18915 * elf/tst-auditmod3b.c: Likewise.
18916 * elf/tst-auditmod4b.c: Likewise.
18917 * elf/tst-auditmod5b.c: Likewise.
18918 * elf/tst-auditmod6b.c: Likewise.
18919 * elf/tst-auditmod6c.c: Likewise.
18920 * elf/tst-auditmod7b.c: Likewise.
18921 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
18922 * sysdeps/x86_64/preconfigure.in: Likewise.
18923 * sysdeps/x86_64/preconfigure: Regenerated.
18924
7e73e17d
L
189252012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18926
18927 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
18928 __ILP32__.
18929
c7a6ab72
AB
189302012-04-13 Antoine Balestrat <merkil33@gmail.com>
18931
18932 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18933 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
18934
a9e8e0e0
CL
189352012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
18936
18937 [BZ #13973]
18938 * locale/iso-639.def: Fix gl language name. Spotted by
18939 Yaron Shahrabani.
18940
ec98af7d
RM
189412012-04-12 Roland McGrath <roland@hack.frob.com>
18942
18943 [BZ #2074]
18944 * libio/libio.h (__io_write_fn): Update comment.
18945
247c3ede
PB
189462012-04-12 Petr Baudis <pasky@ucw.cz>
18947
18948 [BZ #2074]
18949 * stdio.texi (Hook Functions): The user provided writer function
18950 is not allowed to return -1.
18951
55939d6d
DM
189522012-04-11 David S. Miller <davem@davemloft.net>
18953
18954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18955
90020f5a
MF
189562012-04-11 Mike Frysinger <vapier@gentoo.org>
18957
18958 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
18959 Add a leading slash to rtkaio.
18960
288f9098
JM
189612012-04-11 Jim Meyering <meyering@redhat.com>
18962
90020f5a
MF
18963 [BZ #11959]
18964 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
18965 It is not necessarily an error to ignore fwrite's return
18966 value. One can reliably use ferror to test for errors after
18967 the fact.
288f9098 18968
4be2b570
L
189692012-04-10 H.J. Lu <hongjiu.lu@intel.com>
18970
18971 * bits/types.h (__snseconds_t): New type.
18972 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
18973
18974 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
18975 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18976 (__SNSECONDS_T_TYPE): Likewise.
18977 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18978 (__SNSECONDS_T_TYPE): Likewise.
18979 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18980 (__SNSECONDS_T_TYPE): Likewise.
18981
288f9098 189822012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
18983
18984 [BZ #2636]
18985 * manual/time.texi (Processor Time): Return type of times is
18986 elapsed real time since an arbitrary point in the past.
18987 (CPU Time): Move CLK_TCK from here...
18988 (Processor Time): ...to here. Correct description.
18989 * manual/conf.texi (Constants for Sysconf): Correct description of
18990 _SC_CLK_TCK.
18991
d7dd4413
DM
189922012-04-10 David S. Miller <davem@davemloft.net>
18993
18994 [BZ #13967]
18995 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
18996 where the is a gap between DT_REL(A) and DT_JMPREL.
18997
b46068fc
L
189982012-04-10 H.J. Lu <hongjiu.lu@intel.com>
18999
19000 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
19001 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19002 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19003
73d65cc3
SP
190042012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19005
19006 * elf/dl-support.c (_dl_inhibit_cache): New variable.
19007 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
19008 (dl_main): Handle --inhibit-cache.
19009 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
19010 _dl_inhibit_cache.
19011 * elf/dl-load.c (_dl_map_object): Use it.
19012 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
19013
bcc8d661
JM
190142012-04-09 Joseph Myers <joseph@codesourcery.com>
19015
8f9a2fae
JM
19016 [BZ #13872]
19017 * sysdeps/i386/fpu/e_powl.S (p78): New object.
19018 (__ieee754_powl): Saturate large exponents rather than testing for
19019 overflow of y*log2(x).
19020 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19021 * math/libm-test.inc (pow_test): Do not permit spurious overflow
19022 exceptions.
19023
bcc8d661
JM
19024 [BZ #11521]
19025 * math/s_ctan.c: Include <float.h>.
19026 (__ctan): Avoid internal overflow or cancellation in calculating
19027 denominator.
19028 * math/s_ctanf.c: Likewise.
19029 * math/s_ctanl.c: Likewise.
19030 * math/s_ctanh.c: Likewise.
19031 * math/s_ctanhf.c: Likewise.
19032 * math/s_ctanhl.c: Likewise.
19033 * math/libm-test.inc (ctan_test): Add more tests.
19034 (ctanh_test): Likewise.
19035 * sysdeps/i386/fpu/libm-test-ulps: Update.
19036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19037
823fbbb4
AJ
190382012-04-09 Andreas Jaeger <aj@suse.de>
19039
03879793
AJ
19040 [BZ #6894]
19041 * manual/filesys.texi (Directory Entries): Mention that d_namlen
19042 is an optional BSD extension.
19043
823fbbb4
AJ
19044 [BZ #10254]
19045 * manual/stdio.texi (Opening Streams): Document additional fopen
19046 parameters.
19047
8de131cb
RM
190482012-04-09 Roland McGrath <roland@hack.frob.com>
19049
19050 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
19051 %eax without telling the compiler.
19052
c0ed9d7d
CD
190532012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
19054
19055 [BZ # 13963]
19056 * manual/install.texi: Use sourceware.org.
19057
c483f6b4
JM
190582012-04-09 Joseph Myers <joseph@codesourcery.com>
19059
d7dd9453
JM
19060 [BZ #13873]
19061 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
19062 (__ieee754_pow): Generate overflow and underflow using huge*huge
19063 and tiny*tiny rather than just returning constant infinity or zero
19064 for large exponents.
19065 * math/libm-test.inc (pow_test): Require overflow exceptions for
19066 applicable cases of large exponents.
19067
c483f6b4
JM
19068 [BZ #706]
19069 * sysdeps/i386/fpu/e_pow.S (p10): New object.
19070 (__ieee754_pow): Use iterative multiplication algorithm only for
19071 integer exponents with absolute value below 1024. Check for odd
19072 integer exponents when using algorithm for real exponents.
19073 * math/libm-test.inc (pow_test): Add more tests.
19074 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19075
d2de7579
JM
190762012-04-08 Joseph Myers <joseph@codesourcery.com>
19077
19078 [BZ #13705]
19079 * math/libm-test.inc (exp_test): Do not allow overflow exception
19080 on underflow test.
19081
f77f1232
AJ
190822012-04-08 Aurelien Jarno <aurelien@aurel32.net>
19083
19084 [BZ #13705]
19085 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
19086 instead of __kernel_standard_f.
19087
3884932b
MF
190882012-04-08 Mike Frysinger <vapier@gentoo.org>
19089
19090 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
19091 * sysdeps/x86_64/memset_chk.S: Likewise.
19092
54472e9c
AJ
190932012-04-08 Andreas Jaeger <aj@suse.de>
19094
6ab0fbfc
AJ
19095 [BZ #10153]
19096 * manual/startup.texi (Environment Access): Describe return value
19097 for putenv and setenv.
19098
61efba8c
AJ
19099 [BZ #6895]
19100 * manual/filesys.texi (Directory Entries): Add description for
19101 DT_LNK.
19102
95c3f29a
AJ
19103 [BZ #6890]
19104 * manual/filesys.texi (Directory Entries): Clarify that it's file
19105 system not operating system in the description of DT_UNKNOWN.
19106
54472e9c
AJ
19107 [BZ #6578]
19108 * manual/syslog.texi (closelog): Fix reference, it's openlog.
19109
624254b1
SC
191102012-04-08 Stephen Compall <s11@member.fsf.org>
19111
19112 [BZ #6649]
19113 * manual/llio.texi (Opening and Closing Files): Add cross
19114 reference to explain mode argument.
19115
1e4920e0
MF
191162012-04-07 Mike Frysinger <vapier@gentoo.org>
19117
19118 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
19119 * sysdeps/x86_64/memset_chk.S: Likewise.
19120
5ed848f3
DM
191212012-04-07 David S. Miller <davem@davemloft.net>
19122
19123 * elf/elf.h (R_SPARC_WDISP10): Define.
19124 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
19125 R_SPARC_SIZE32.
19126 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
19127 R_SPARC_SIZE64 and R_SPARC_H34.
19128
96154cd8
CD
191292012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
19130
19131 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
19132 conditions and remove no longer applicable assertion.
19133
9904dc47
L
191342012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19135
19136 * bits/byteswap.h: Include <features.h>.
19137 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19138 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19139
f8887d0a
L
191402012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19141
19142 * bits/byteswap.h (__bswap_16): Removed.
19143 Include <bits/byteswap-16.h> to get __bswap_16.
19144 * sysdeps/i386/bits/byteswap.h: Likewise.
19145 * sysdeps/s390/bits/byteswap.h: Likewise.
19146 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19147 * bits/byteswap-16.h: New file.
19148 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19149 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19150 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
19151 * string/Makefile (headers): Add bits/byteswap-16.h.
19152
62470f60
PP
191532012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19154
19155 [BZ #13895]
19156 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
19157 extra indirection.
19158 * nss/Makefile (tests-static, tests): Add tst-nss-static.
19159 * nss/tst-nss-static.c: New.
19160
4dad7bab
RM
191612012-04-06 Robert Millan <rmh@gnu.org>
19162
19163 [BZ #6486]
19164 * manual/llio.texi (File Position Primitive): lseek
19165 refers to WHENCE when it really means OFFSET.
19166
e9142a17
AJ
191672012-04-06 Andreas Jaeger <aj@suse.de>
19168
2c040eff
AJ
19169 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
19170 strncmp declarations.
19171
e9142a17
AJ
19172 * abilist/libc.abilist: Add __poll and __ppoll.
19173
ff9f1c5f
DM
191742012-04-05 David S. Miller <davem@davemloft.net>
19175
dcd2ae90
DM
19176 * scripts/check-local-headers.sh: Accept a host triplet in the
19177 path matched by the exclude regexp.
19178
993eb054
DM
19179 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
19180 definition.
19181 * sysdeps/powerpc/powerpc32/dl-machine.h
19182 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
19183 * sysdeps/s390/s390-32/dl-machine.h
19184 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19185 * sysdeps/sparc/sparc32/dl-machine.h
19186 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19187 * sysdeps/sparc/sparc64/dl-machine.h
19188 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19189
ff9f1c5f
DM
19190 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
19191 lazy binding.
48e2e132 19192 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
19193 undefined symbol errors.
19194
48e2e132 19195 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
19196 DT_NEEDED entries.
19197
e80d6f94
MM
191982012-04-05 Michael Matz <matz@suse.de>
19199
19200 [BZ #13592]
19201 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
19202
349fa79f
AJ
192032012-04-05 Andreas Jaeger <aj@suse.de>
19204
19205 [BZ #13908]
19206 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
19207 comment.
19208
f402708f
KK
192092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19210
19211 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
19212 which ROUND is no valid rounding mode.
19213
2ecccfc9
KK
192142012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19215
19216 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
19217 read again.
19218 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
19219
8a53f50f
KK
192202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19221
19222 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
19223 an exception using FPU order intentionally.
19224
192252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19226
19227 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
19228 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
19229 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
19230 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
19231
d653abb7
SJ
192322012-04-05 Simon Josefsson <simon@josefsson.org>
19233
19234 [BZ #12340]
19235 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
19236 EINVAL when BUFLEN is too smal.
19237
c3b1bf7d
TS
192382012-04-05 Thomas Schwinge <thomas@codesourcery.com>
19239
19240 [BZ #13553]
19241 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
19242 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
19243
b1aa60f3
AJ
192442012-04-03 Andreas Jaeger <aj@suse.de>
19245
c3b1bf7d 19246 [BZ #13938]
67f60a26
AJ
19247 * manual/setjmp.texi (System V contexts): Fix sentence.
19248
b1aa60f3
AJ
19249 [BZ #13926]
19250 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
19251 New macro for this case.
19252 [!__GNUC__] (__bswap_64): New inline function for this case.
19253 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19254 * bits/byteswap.h: Likewise.
19255 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
19256 ull, guard with __GLIBC_HAVE_LONG_LONG.
19257
19258 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
19259 __GLIBC_HAVE_LONG_LONG.
19260
19261 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
19262 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
19263
39c59c35
TMQMF
192642012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19265
19266 [BZ #13691]
19267 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
19268 inptr and inend, rather than using last_ch.
19269
135ffda8
DM
192702012-04-02 David S. Miller <davem@davemloft.net>
19271
19272 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
19273 * stdio-common/printf-parse.h (read_int): Change return type to
19274 'int', return -1 on INT_MAX overflow.
19275 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
19276 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
19277 overflows INT_MAX. Check for overflow of in-format-string precision
19278 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
19279 SIZE_MAX not INT_MAX for integer overflow test.
19280 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
19281 skip the construct in the format string but do not record anything.
19282 * stdio-common/bug22.c: Adjust to test both width/prevision
19283 INT_MAX overflow as well as total length INT_MAX overflow. Check
19284 explicitly for proper errno values.
19285
228c019e
TS
192862012-04-02 Thomas Schwinge <thomas@codesourcery.com>
19287
302cadd3
TS
19288 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
19289 CHAR_MAX.
19290 * string/test-strcmp.c [! WIDE]: Likewise.
19291 * time/tst-mktime2.c: Likewise for INT_MAX.
19292 * string/test-string.h: #include <sys/param.h> for MIN.
19293
228c019e
TS
19294 * csu/init-first.c (__libc_init_first): Call __ctype_init.
19295 * sysdeps/i386/init-first.c (init): Likewise.
19296 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
19297 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
19298 * sysdeps/sh/init-first.c (init): Likewise.
19299
cfa633f5
UD
193002012-04-01 Ulrich Drepper <drepper@gmail.com>
19301
19302 * po/ru.po: Update from translation team.
d1635ef8 19303 * po/vi.po: Likewise.
cfa633f5 19304
6cd0a5ea
SP
193052012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19306
19307 * resolv/nss_dns/dns-host.c: Merge copyright years.
19308
4b43400f
LD
193092012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19310
19311 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19312 Optimize memcpy with prefetch if
19313 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
19314 src, dst pointers have unequal 16 byte alignments.
19315
48c41d04
SP
193162012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19317
19318 [BZ #13928]
19319 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
19320 from a CNAME entry and return the minimum ttl for the query.
19321 (gaih_getanswer_slice): Likewise.
19322
b8dc394d
JL
193232012-03-30 Jeff Law <law@redhat.com>
19324
19325 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
19326 due to long keys.
19327 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
19328 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
19329
2f5a5ed0
JL
19330 * resolv/nss_dns/dns-host.c: Update copyright year.
19331
1d39e359
UD
193322012-03-30 Ulrich Drepper <drepper@gmail.com>
19333
c030f70c 19334 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 19335 requests to save a system call. Fix check that all bytes are sent.
c030f70c 19336
1d39e359
UD
19337 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
19338 comments for sendmmsg.
19339
193402012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
19341
19342 [BZ #13691]
19343 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
19344 with only 1 character between 0x0041 and 0x01b0.
19345 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
19346 * wcsmbs/tst-mbsnrtowcs.c: New file.
19347
20fde227
DM
193482012-03-29 David S. Miller <davem@davemloft.net>
19349
19350 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
19351 small copies by hand.
19352
984a4237
JL
193532012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19354
19355 [BZ #13761]
19356 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
19357 _nss_compat_initgroups_dyn): Fall back to malloc/free
19358 for large group memberships.
19359
18c9d62b
DM
193602012-03-28 David S. Miller <davem@davemloft.net>
19361
88d85d4f
DM
19362 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
19363 that branches into memcpy.
19364 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19365 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
19366 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19367 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
19368 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
19369 bits.
19370 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
19371 implementation too.
19372 * sysdeps/sparc/mempcpy.S: New file.
19373
e5aa83e1
DM
19374 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
19375 the IFUNC routine in the libc case.
19376 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19377
88570753
DM
19378 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
19379 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
19380 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
19381 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
19382 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
19383 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
19384 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
19385 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
19386
249d7567
DM
19387 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
19388 loop to 256 bytes instead of 64 bytes and fix test signedness.
19389
18c9d62b
DM
19390 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
19391 * sysdeps/sparc/sparc32/Makefile: rather than here...
19392 * sysdeps/sparc/sparc64/Makefile: and here.
19393
05f3d1f6
UD
193942012-03-28 Ulrich Drepper <drepper@gmail.com>
19395
19396 * malloc/mallocbug.c: Avoid warnings about unused variables.
19397
86ae07a8
JL
193982012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19399
19400 [BZ #13760]
19401 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
19402 in the right place. Discard and retry query if response is
19403 larger than input buffer size.
19404
41bf21a1
JM
194052012-03-28 Joseph Myers <joseph@codesourcery.com>
19406
d6270972
JM
19407 [BZ #369]
19408 [BZ #2678]
19409 [BZ #3866]
19410 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
19411 x for large integer exponent.
19412 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19413 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
19414 sign of result as needed afterwards.
19415 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19416 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
19417 result for underflowing pow the same as for overflow.
19418 (__kernel_standard_l): Handle powl overflow and underflow here
19419 rather than calling __kernel_standard.
19420 * math/libm-test.inc (pow_test): Add more tests.
19421
414fca03 19422 [BZ #3868]
41bf21a1
JM
19423 [BZ #13879]
19424 [BZ #13910]
19425 [BZ #13911]
19426 [BZ #13912]
19427 [BZ #13913]
19428 [BZ #13915]
19429 [BZ #13916]
19430 [BZ #13917]
19431 [BZ #13918]
19432 [BZ #13919]
19433 [BZ #13920]
19434 [BZ #13921]
19435 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
19436 * sysdeps/ieee754/k_standard.c: Include <float.h>.
19437 (__kernel_standard_l): New function.
19438 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
19439 __kernel_standard.
19440 * math/w_acosl.c (__acosl): Likewise.
19441 * math/w_asinl.c (__asinl): Likewise.
19442 * math/w_atan2l.c (__atan2l): Likewise.
19443 * math/w_atanhl.c (__atanhl): Likewise.
19444 * math/w_coshl.c (__coshl): Likewise.
19445 * math/w_exp10l.c (__exp10l): Likewise.
19446 * math/w_exp2l.c (__exp2l): Likewise.
19447 * math/w_fmodl.c (__fmodl): Likewise.
19448 * math/w_hypotl.c (__hypotl): Likewise.
19449 * math/w_j0l.c (__j0l, __y0l): Likewise.
19450 * math/w_j1l.c (__j1l, __y1l): Likewise.
19451 * math/w_jnl.c (__jnl, __ynl): Likewise.
19452 * math/w_lgammal.c (__lgammal): Likewise.
19453 * math/w_log10l.c (__log10l): Likewise.
19454 * math/w_log2l.c (__log2l): Likewise.
19455 * math/w_logl.c (__logl): Likewise.
19456 * math/w_powl.c (__powl): Likewise.
19457 * math/w_remainderl.c (__remainderl): Likewise.
19458 * math/w_scalbl.c (sysv_scalbl): Likewise.
19459 * math/w_sinhl.c (__sinhl): Likewise.
19460 * math/w_sqrtl.c (__sqrtl): Likewise.
19461 * math/w_tgammal.c (__tgammal): Likewise.
19462 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
19463 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
19464 * math/libm-test.inc (acos_test): Add more tests.
19465 (acosh_test): Likewise.
19466 (asin_test): Likewise.
19467 (atanh_test): Likewise.
19468 (exp_test): Likewise.
19469 (exp10_test): Likewise.
19470 (exp2_test): Likewise.
19471 (expm1_test): Likewise.
19472 (lgamma_test): Likewise.
19473 (log_test): Likewise.
19474 (log10_test): Likewise.
19475 (log1p_test): Likewise.
19476 (log2_test): Likewise.
19477 (pow_test): Do not allow some spurious overflow exceptions.
19478 (sqrt_test): Add more tests.
19479 (tgamma_test): Likewise.
19480 (y0_test): Likewise.
19481 (y1_test): Likewise.
19482 (yn_test): Likewise.
19483
dd62fda6
AB
194842012-03-27 Anton Blanchard <anton@samba.org>
19485
19486 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
19487 MAP_HUGETLB.
19488 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19489 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19490 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19491
1e3cdfda
AJ
194922012-03-27 David S. Miller <davem@davemloft.net>
19493
b855ab85
DM
19494 * conform/Makefile: Run run-conformtest.sh using $(BASH).
19495
1e3cdfda
AJ
19496 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
19497 have-as-vis3 check.
19498
194992012-03-27 Andreas Jaeger <aj@suse.de>
19500
19501 * sysdeps/x86_64/elf/configure.in: Moved to ...
19502 * sysdeps/x86_64/configure.in: ... here.
19503 * sysdeps/x86_64/elf/start.S: Moved to ...
19504 * sysdeps/x86_64/start.S: ... here.
19505 * sysdeps/x86_64/elf/configure: Delete.
19506
19507 * sysdeps/x86_64/configure.in: Merge contents from
19508 sysdeps/i386/configure.in (without i686 check).
19509
19510 * sysdeps/i386/elf/Versions: Merge into ...
19511 * sysdeps/i386/Versions: ... this.
19512 * sysdeps/i386/elf/Versions: Delete file.
19513 * sysdeps/i386/elf/start.S: Moved to ...
19514 * sysdeps/i386/start.S: ...here.
19515 * sysdeps/i386/elf/configure.in: Merge into...
19516 * sysdeps/i386/configure.in: ...here.
19517 * sysdeps/i386/elf/configure.in: Delete file.
19518 * sysdeps/i386/elf/configure: Delete file.
19519
19520 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
19521 * debug/backtracesyms.c: ... here.
19522 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
19523 * debug/backtracesymsfd.c: ... here.
19524 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
19525 * sysdeps/generic/ifunc-sel.h: ... here.
19526
19527 * sysdeps/unix/i386/start.c: Delete file.
19528 * sysdeps/unix/sparc/start.c: Delete file.
19529 * sysdeps/unix/start.c: Delete file.
19530
19531 * sysdeps/sh/elf/configure.in: Moved to ...
19532 * sysdeps/sh/configure.in: ... here.
19533 * sysdeps/sh/elf/start.S: Moved to ...
19534 * sysdeps/sh/start.S: ... here.
19535 * sysdeps/sh/elf/configure: Delete file.
19536
19537 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
19538 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
19539 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
19540 * sysdeps/powerpc/powerpc64/entry.h: ... here.
19541 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
19542 * sysdeps/powerpc/powerpc64/start.S: here.
19543 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
19544 * sysdeps/powerpc/powerpc64/Makefile: ... this.
19545 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
19546 * sysdeps/powerpc/powerpc64/configure.in: ... this.
19547 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
19548
19549 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
19550 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
19551 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
19552 * sysdeps/powerpc/powerpc32/start.S: ... here.
19553 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
19554 * sysdeps/powerpc/powerpc32/configure.in: ... this.
19555 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
19556
19557 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
19558 * sysdeps/powerpc/ifunc-sel.h: ... here.
19559 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
19560 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
19561
19562 * sysdeps/sparc/elf/configure.in: Moved to ...
19563 * sysdeps/sparc/configure.in: ... here.
19564 * sysdeps/sparc/elf/configure: Delete file.
19565 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
19566 * sysdeps/sparc/sparc32/start.S: ... here.
19567 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
19568 * sysdeps/sparc/sparc64/start.S: ... here.
19569 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
19570 * sysdeps/sparc/sparc32/Makefile: ... this.
19571 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
19572 * sysdeps/sparc/sparc64/Makefile: ... this.
19573
19574 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
19575 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
19576 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
19577 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
19578 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
19579 * sysdeps/s390/s390-32/setjmp.S: ... here.
19580 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
19581 * sysdeps/s390/s390-32/configure.in: ... here.
19582 * sysdeps/s390/s390-32/elf/configure: Delete file.
19583 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
19584 * sysdeps/s390/s390-32/start.S: ... here.
19585
19586 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
19587 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
19588 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
19589 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
19590 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
19591 * sysdeps/s390/s390-64/setjmp.S: ... here.
19592 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
19593 * sysdeps/s390/s390-64/configure.in: ... here
19594 * sysdeps/s390/s390-64/elf/configure: Delete file.
19595 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
19596 * sysdeps/s390/s390-64/start.S: ... here.
19597 * sysdeps/s390/s390-64/elf/configure: Delete.
19598
19599 * configure.in: Remove support for elf directories in sysdeps.
19600
19601 * configure: Regenerated.
19602 * sysdeps/i386/configure: Regenerated.
19603 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19604 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19605 * sysdeps/s390/s390-32/configure: Regenerated.
19606 * sysdeps/s390/s390-64/configure: Regenerated.
19607 * sysdeps/sh/configure: Regenerated.
19608 * sysdeps/sparc/configure: Regenerated.
19609 * sysdeps/x86_64/configure: Regenerated.
19610
a3f61311
AS
196112012-03-26 Andreas Schwab <schwab@linux-m68k.org>
19612
c876e002
AS
19613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19614
a3f61311
AS
19615 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
19616 denormal result into account.
19617
ac4c54f0
RM
196182012-03-25 Roland McGrath <roland@hack.frob.com>
19619
19620 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
19621 Reported by Allan McRae <allan@archlinux.org>.
19622
6a9b9c02
JL
196232012-03-23 Jeff Law <law@redhat.com>
19624
19625 * nss/getnssent.c (__nss_getent): Fix typo.
19626
4c42a0c1
DM
196272012-03-23 David S. Miller <davem@davemloft.net>
19628
19629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19630
1532c7ac
L
196312012-03-23 H.J. Lu <hongjiu.lu@intel.com>
19632
19633 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
19634 to pad to uint64_t for each field.
19635 (dl_tls_index): Replace unsigned long with uint64_t.
19636
3ff42526
PP
196372012-03-23 Daniel Jacobowitz <dmj@google.com>
19638 Paul Pluzhnikov <ppluzhnikov@google.com>
19639
19640 [BZ #6528]
19641 * grp/Makefile (otherlibs): Don't set it.
19642 * inet/Makefile (otherlibs): Likewise.
19643 * login/Makefile (otherlibs): Likewise.
19644 * nscd/Makefile (otherlibs): Likewise.
19645 * posix/Makefile (otherlibs): Likewise.
19646 * pwd/Makefile (otherlibs): Likewise.
19647 * rt/Makefile (otherlibs): Likewise.
19648 * sunrpc/Makefile (otherlibs): Likewise.
19649 * nss/Makefile (otherlibs): Likewise.
19650 Add libnss_files to routines and static-only-routines.
19651 ($(objpfx)getent): Remove rule.
19652 * resolv/Makefile: Add libnss_dns and libresolv to routines and
19653 static-only-routines.
19654
7c69cd14
JM
196552012-03-22 Joseph Myers <joseph@codesourcery.com>
19656
19657 [BZ #13892]
19658 * math/s_cexp.c: Include <float.h>.
19659 (__cexp): Handle exp result overflowing not necessarily
19660 overflowing both real and imaginary parts of result.
19661 * math/s_cexpf.c: Likewise.
19662 * math/s_cexpl.c: Likewise.
19663 * math/libm-test.inc (cexp_test): Add more tests.
19664 * sysdeps/i386/fpu/libm-test-ulps: Update.
19665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19666
81b035fe
L
196672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19668
19669 * include/link.h (ELFW): New macro.
19670 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
19671 Replace ELF64_R_TYPE with ELFW(R_TYPE).
19672
1da7940c
L
196732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19674
19675 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
19676 with uint64_t.
19677
b749dbb9
L
196782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19679
19680 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
19681 declaration.
19682 (struct La_x32_retval): Likewise.
19683
2ff87f3f
L
196842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19685
19686 * sysdeps/x86_64/preconfigure.in: New file.
19687 * sysdeps/x86_64/preconfigure: New generated file.
19688
c0df8e69
JM
196892012-03-22 Joseph Myers <joseph@codesourcery.com>
19690
48e44791
JM
19691 [BZ #13824]
19692 * math/e_exp2l.c: Include <float.h>.
19693 (__ieee754_exp2l): Handle overflow and underflow cases
19694 separately. Only pass fractional part of argument to
19695 __ieee754_expl.
19696 * math/libm-test.inc (exp2_test): Add more tests.
19697
c0df8e69
JM
19698 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
19699 negating x to take absolute value.
19700 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19701 Likewise.
19702 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19703 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19704 Likewise.
19705 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
19706 computing low part if x was negated.
19707 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19708
c8e43ba7
L
197092012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19710
19711 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
19712 la_x32_gnu_pltexit.
19713 (pltexit): Cast int_retval to ptrdiff_t.
19714 * elf/tst-auditmod3b.c: Likewise.
19715 * elf/tst-auditmod4b.c: Likewise.
19716 * elf/tst-auditmod5b.c: Likewise.
19717 * elf/tst-auditmod6b.c: Likewise.
19718 * elf/tst-auditmod6c.c: Likewise.
19719 * elf/tst-auditmod7b.c: Likewise.
19720
19721 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
19722 and x32_gnu_pltexit.
19723
19724 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
19725 __ELF_NATIVE_CLASS.
19726 (La_x32_regs): New macro.
19727 (La_x32_retval): Likewise.
19728 (la_x32_gnu_pltenter): New function prototype.
19729 (la_x32_gnu_pltexit): Likewise.
19730
7998fa78
AS
197312012-03-21 Andreas Schwab <schwab@linux-m68k.org>
19732
dcb33988
AS
19733 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
19734 exponent.
19735
233fc563
AS
19736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19737
7998fa78
AS
19738 * configure.in (libc_cv_cc_nofma): Check for option to disable
19739 generation of FMA instructions.
19740 * configure: Regenerate.
19741 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
19742 * sysdeps/ieee754/dbl-64/Makefile: New file.
19743 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19744 Remove brandred-fma4.
19745 (CFLAGS-brandred-fma4.c): Remove.
19746 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
19747 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
19748 define.
19749 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
19750 define.
19751
8e95c99a
L
197522012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19753
19754 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19755 LLONG_MAX != LONG_MAX.
19756 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19757 (_fitoa_word): Likewise.
19758 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
19759 LLONG_MAX != LONG_MAX.
19760 * stdio-common/_itowa.h: Include <_itoa.h>.
19761 (_itowa_word): Use _ITOA_WORD_TYPE on value.
19762 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
19763 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
19764 only if not defined.
19765 (_ITOA_WORD_TYPE): Likewise.
19766 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19767 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
19768
6f4db457
DM
197692012-03-21 David S. Miller <davem@davemloft.net>
19770
19771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19772
7785fe5a
L
197732012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19774
19775 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
19776 of x86_64 when setting libc_cv_slibdir, libdir and
19777 libc_cv_localedir.
19778 * sysdeps/unix/sysv/linux/configure: Regenerated.
19779
4535cd55
JM
197802012-03-21 Joseph Myers <joseph@codesourcery.com>
19781
19782 * manual/lang.texi (Old Varargs): Remove section.
19783 (How Variadic): Update menu.
19784 (va_start): Do not mention varargs.h.
19785
17228132
TS
197862012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19787 Joseph Myers <joseph@codesourcery.com>
19788
19789 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
19790 link test.
19791 * configure: Regenerated.
19792
8149f976
TS
197932012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19794
05f3d1f6
UD
19795 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
19796 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
19797 conformtest.pl
8149f976 19798
1a4ac776
JM
197992012-03-21 Joseph Myers <joseph@codesourcery.com>
19800
be22ce65
JM
19801 * NOTES: Remove.
19802 * Makefile (files-for-dist): Remove NOTES.
19803 (NOTES): Remove rule.
19804 * README: Don't refer to NOTES.
19805 * manual/creature.texi: Don't include macros.texi.
19806 * manual/intro.texi (creature.texi): Remove comment referring to
19807 NOTES.
19808
40b601fb
JM
19809 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
19810 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
19811 * configure: Regenerated.
19812 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
19813 LIBC_TRY_CC_OPTION.
19814 (libc_cv_as_i686): Likewise.
19815 (libc_cv_cc_avx): Likewise.
19816 (libc_cv_cc_sse2avx): Likewise.
19817 (libc_cv_cc_fma4): Likewise.
19818 (libc_cv_cc_novzeroupper): Likewise.
19819 * sysdeps/i386/configure: Regenerated.
19820
1a4ac776
JM
19821 [BZ #13883]
19822 * sysdeps/i386/fpu/s_cexp.S: Remove.
19823 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19824 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19825 * math/libm-test.inc (cexp_test): Add more tests.
19826 * sysdeps/i386/fpu/libm-test-ulps: Update.
19827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19828
a458e7fe
AM
198292012-03-21 Allan McRae <allan@archlinux.org>
19830
19831 * timezone/Makefile: Do not install iso3166.tab and zone.tab
19832
0cb7efc5
JM
198332012-03-21 Joseph Myers <joseph@codesourcery.com>
19834
19835 [BZ #13871]
19836 * math/w_exp2.c: Do not include <float.h>.
19837 (o_threshold, u_threshold): Remove.
19838 (__exp2): Calculate result before checking finiteness and calling
19839 __kernel_standard.
19840 * math/w_exp2f.c: Likewise.
19841 * math/w_exp2l.c: Likewise.
19842 * math/libm-test.inc (exp2_test): Require overflow exception for
19843 1e6 input.
2460d3aa
JM
19844
19845 [BZ #3866]
19846 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
19847 range of signed 64-bit integers before using fistpll. Remove
19848 checks for whether integers fit in mantissa bits.
19849 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
19850 the range of signed 32-bit integers before using fistpl. Remove
19851 checks for whether integers fit in mantissa bits.
19852 * sysdeps/i386/fpu/e_powl.S (p64): New object.
19853 (__ieee754_powl): Test for y outside the range of signed 64-bit
19854 integers before using fistpll. Reduce 64-bit values to 63-bit
19855 ones as needed.
19856 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
19857 divide-by-zero is raised for zero to large negative powers.
19858 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
19859 (__ieee754_powl): Test for y outside the range of signed 64-bit
19860 integers before using fistpll. Reduce 64-bit values to 63-bit
19861 ones as needed.
19862 * math/libm-test.inc (pow_test): Add more tests.
19863
eb96ffb0
L
198642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19865
19866 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
19867 <stdio-common/_itoa.h>.
19868 * debug/segfault.c: Likewise.
19869 * elf/dl-cache.c: Likewise.
19870 * elf/dl-minimal.c: Likewise.
19871 * elf/dl-misc.c: Likewise.
19872 * elf/dl-sysdep.c: Likewise.
19873 * elf/dl-version.c: Likewise.
19874 * elf/rtld.c: Likewise.
19875 * hurd/hurdsock.c: Likewise.
19876 * hurd/lookup-retry.c: Likewise.
19877 * malloc/malloc.c: Likewise.
19878 * malloc/mtrace.c: Likewise.
19879 * nscd/nscd_getgr_r.c: Likewise.
19880 * nscd/nscd_getpw_r.c: Likewise.
19881 * nscd/nscd_getserv_r.c: Likewise.
19882 * posix/getopt_init.c: Likewise.
19883 * posix/wordexp.c: Likewise.
19884 * stdio-common/_itoa.c: Likewise.
19885 * stdio-common/printf_fphex.c: Likewise.
19886 * stdio-common/vfprintf.c: Likewise.
19887 * string/_strerror.c: Likewise.
19888 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
19889 * sysdeps/i386/i686/hp-timing.h: Likewise.
19890 * sysdeps/mach/_strerror.c: Likewise.
19891 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
19892 * sysdeps/mach/hurd/sethostid.c: Likewise.
19893 * sysdeps/mach/hurd/xmknodat.c: Likewise.
19894 * sysdeps/mach/xpg-strerror.c: Likewise.
19895 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19896 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19897 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
19898 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
19899 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19900 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
19901 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
19902 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
19903 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
19904 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
19905 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
19906 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19907 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
19908 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19909 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19910 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
19911 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
19912 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
19913 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
19914 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
19915 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
19916
19917 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
19918
19919 * stdio-common/_itoa.h: Moved to ...
19920 * sysdeps/generic/_itoa.h: Here.
19921
19922 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
19923
19924 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
19925 instead of "_itoa.h" and "_itowa.h".
19926 * stdio-common/vfprintf.: Likewise.
19927
d1af992d
L
199282012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19929
19930 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
19931 <bits/wordsize.h>.
19932 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
19933 (__signbit): Likwise.
19934 (llrintf): Likwise.
19935 (llrint): Likwise.
19936
114883e0
L
199372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19938
19939 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
19940 __WORDSIZE != 64.
19941
c135cc1b
JM
199422012-03-20 Joseph Myers <joseph@codesourcery.com>
19943
19944 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
19945 OVERFLOW_EXCEPTION_OK.
19946 * math/libm-test.inc ("Philosophy"): Update comment about
19947 exception testing.
19948 (OVERFLOW_EXCEPTION): Define.
19949 (OVERFLOW_EXCEPTION_OK): Likewise.
19950 (INVALID_EXCEPTION_OK): Renumber.
19951 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19952 (IGNORE_ZERO_INF_SIGN): Likewise.
19953 (test_exceptions): Handle FE_OVERFLOW.
19954 (exp10_test): Expect overflow exceptions.
19955 (exp2_test): Likewise.
19956 (expm1_test): Likewise.
19957 (nextafter_test): Likewise.
19958 (pow_test): Likewise.
19959 (scalbn_test): Likewise.
19960 (scalbln_test): Likewise.
19961
95443d88
L
199622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19963
19964 * sysdeps/x86_64/bits/atomic.h
19965 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
19966 64bit integer.
19967 (atomic_exchange_acq): Likewise.
19968 (__arch_exchange_and_add_body): Likewise.
19969 (__arch_add_body): Likewise.
19970 (atomic_add_negative): Likewise.
19971 (atomic_add_zero): Likewise.
19972
490df6c4
L
199732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19974
c2722551 19975 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
19976 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
19977
5e52b189
L
199782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19979
19980 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
19981 Check __x86_64__ instead of __WORDSIZE.
19982
a9879d4c
L
199832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19984
19985 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
19986
5df98260
DM
199872012-03-19 David S. Miller <davem@davemloft.net>
19988
e1497744
DM
19989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19990
5df98260
DM
19991 * sysdeps/sparc/fpu/fenv_private.h: New file.
19992 * sysdeps/sparc/fpu/math_private.h: Use it.
19993 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
19994 Remove.
19995 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
19996 (libc_feholdexcept_setroundl): Remove.
19997 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
19998 Remove.
19999 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
20000 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
20001
b4c35121
L
200022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20003
20004 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
20005 int64_t instead of long int.
20006 (INSERT_WORDS64): Likwise.
20007
56965fd7
L
200082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20009
20010 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
20011 _Unwind_GetCFA return to _Unwind_Ptr first.
20012
83d1aec8
JM
200132012-03-19 Joseph Myers <joseph@codesourcery.com>
20014
1897ad44
JM
20015 [BZ #13629]
20016 * math/s_clog.c: Include <float.h>.
20017 (__clog): Scale large or subnormal inputs.
20018 * math/s_clogf.c: Likewise.
20019 * math/s_clogl.c: Likewise.
20020 * math/s_clog10.c: Include <float.h>.
20021 (M_LOG10_2): Define.
20022 (__clog10): Scale large or subnormal inputs.
20023 * math/s_clog10f.c: Likewise.
20024 * math/s_clog10l.c: Likewise.
20025 * math/libm-test.inc (clog_test): Add more tests.
20026 (clog10_test): Likewise.
20027 * sysdeps/i386/fpu/libm-test-ulps: Update.
20028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20029
7726d6a9
JM
20030 [BZ #11451]
20031 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
20032 x and y.
20033 * math/libm-test.inc (atan2_test): Add another test.
20034
83d1aec8
JM
20035 * Makerules (common-objdir-compile): Remove.
20036 * sysdeps/unix/Makefile (config-generated): Do not add
20037 $(unix-generated) to variable.
20038 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
20039 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
20040 Remove rule.
20041 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
20042 Likewise.
20043 [generic bits/local_lim.h] (before-compile): Do not append to
20044 variable.
20045 [generic bits/local_lim.h] (common-generated): Likewise.
20046 [generic sys/param.h] (before-compile): Do not append to variable.
20047 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
20048 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
20049 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
20050 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
20051 include.
20052 [generic sys/param.h] (sys/param.h-includes): Remove variable.
20053 [generic sys/param.h] (sys/param.h-includes): Remove rule.
20054 [generic sys/param.h] ($(addprefix
20055 $(common-objpfx),$(sys/param.h-includes))): Likewise.
20056 [generic sys/param.h] (common-generated): Do not append to
20057 variable.
20058 [generic sys/param.h] (sysdep_headers): Likewise.
20059 [generic bits/errno.h] (before-compile): Do not append to
20060 variable.
20061 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
20062 rule.
20063 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
20064 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
20065 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
20066 [generic bits/errno.h] (common-generated): Do not append to
20067 variable.
20068 [generic bits/ioctls.h] (before-compile): Do not append to
20069 variable.
20070 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
20071 rule.
20072 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
20073 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
20074 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
20075 rule.
20076 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
20077 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
20078 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
20079 [generic bits/ioctls.h] (common-generated): Do not append to
20080 variable.
20081 [generic sys/syscall.h] (syscall.h): Remove variable.
20082 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
20083 rule.
20084 [generic sys/syscall.h] (before-compile): Do not append to
20085 variable.
20086 [generic sys/syscall.h] (common-generated): Likewise.
20087 * sysdeps/unix/errnos-tmpl.c: Remove file.
20088 * sysdeps/unix/errnos.awk: Likewise.
20089 * sysdeps/unix/ioctls-tmpl.c: Likewise.
20090 * sysdeps/unix/ioctls.awk: Likewise.
20091 * sysdeps/unix/mk-local_lim.c: Likewise.
20092 * sysdeps/unix/snarf-ioctls: Likewise.
20093
4851a949
RH
200942012-03-19 Richard Henderson <rth@twiddle.net>
20095
bd37f2ee
RH
20096 * sysdeps/i386/fpu/fenv_private.h: New file.
20097 * sysdeps/i386/fpu/math_private.h: Use it.
20098 (math_opt_barrier, math_force_eval): Remove.
20099 (libc_feholdexcept_setround_53bit): Remove.
20100 (libc_feupdateenv_53bit): Remove.
20101 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20102 (math_opt_barrier, math_force_eval): Remove.
20103 (libc_feholdexcept): Remove.
20104 (libc_feholdexcept_setround): Remove.
20105 (libc_fetestexcept, libc_fesetenv): Remove.
20106 (libc_feupdateenv_test): Remove.
20107 (libc_feupdateenv, libc_feholdsetround): Remove.
20108 (libc_feresetround): Remove.
20109
d0adc922
RH
20110 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
20111 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20112
0fe0f1f8
RH
20113 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
20114 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
20115 (libc_feupdateenv_testl): New.
20116 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
20117 (libc_feupdateenv_testf): New.
20118 (libc_feupdateenv): Use libc_feupdateenv_test.
20119 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
20120 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
20121
eb92c487
RH
20122 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
20123 (libc_feholdsetroundf, libc_feholdsetroundl): New.
20124 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
20125 (libc_feresetround_noex): New.
20126 (libc_feresetround_noexf): New.
20127 (libc_feresetround_noexl): New.
20128 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
20129 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
20130 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
20131 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
20132 SET_RESTORE_ROUND.
20133 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20134 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
20135 (__cos): Likewise.
20136 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
20137 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20138 SET_RESTORE_ROUND_NOEX.
20139 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
20140 SET_RESTORE_ROUND_NOEXF.
20141 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
20142 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
20143 (libc_feholdsetroundf): New.
20144 (libc_feresetround, libc_feresetroundf): New.
20145
7d2e8012
RH
20146 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
20147 (libc_feholdexcept_setround_53bit): Convert from macro to function.
20148 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
20149
b4dabbb4
RH
20150 * sysdeps/generic/math_private.h: Include <fenv.h>.
20151 (default_libc_feholdexcept): New.
20152 (default_libc_feholdexcept_setround): New.
20153 (default_libc_fesetenv, default_libc_feupdateenv): New.
20154 (libc_feholdexcept): Only define if undefined.
20155 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
20156 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
20157 (libc_feholdexcept_setroundl): Likewise.
20158 (libc_feholdexcept_setround_53bit): Likewise.
20159 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
20160 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
20161 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
20162 (libc_feupdateenv_53bit): Likewise.
20163 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
20164 (libc_feholdexcept): Convert from macro to inline function.
20165 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
20166 (libc_fesetenv, libc_feupdateenv): Likewise.
20167
4851a949
RH
20168 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
20169 not previously defined.
20170 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
20171 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
20172 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
20173 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
20174 * sysdeps/ieee754/flt-32/math_private.h: New file.
20175 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
20176 math_private.h below SET_FLOAT_WORD.
20177 (__isnan, __isinf_ns, __finite): Remove.
20178 (__isnanf, __isinf_nsf, __finitef): Remove.
20179
e79d442e
AS
201802012-03-18 Andreas Schwab <schwab@linux-m68k.org>
20181
20182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20183
90b80344
DM
201842012-03-17 David S. Miller <davem@davemloft.net>
20185
20186 [BZ #6471]
20187 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
20188 for 2.16.
20189
edc21804
DM
201902012-03-16 David S. Miller <davem@davemloft.net>
20191
77e927af
DM
20192 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
20193 warnings.
20194
374976dd
DM
20195 [BZ #6471]
20196 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
20197 properly.
20198 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
20199 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
20200 sysdep_routines when subdir is sysvipc.
20201 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
20202 __getshmlba helper.
20203
edc21804
DM
20204 * sysdeps/sparc/fpu/libm-test/ulps: Update.
20205
473c3ef3
L
202062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20207
20208 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
20209 [__LP64__].
20210
eb0f39b6
L
202112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20212
20213 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
20214 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
20215 (__lround): Renamed to ...
20216 (__llround): This. Replace long int with long long int.
20217 Define lround functions as aliases of llround functions.
20218 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
20219
6b6cd74b
L
202202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20221
20222 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
20223 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
20224 adresses to uintptr_t. Replace "long int" and "unsigned long
20225 int" with "greg_t" on va_arg.
20226
f1a77b01
L
202272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20228
20229 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
20230 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
20231
20232 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
20233 Move e_machine check before EI_CLASS check. Handle x32
20234 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
20235 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
20236 SKIP_EM_IA_64 and include
20237 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
20238
20239 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
20240 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
20241 (add_system_dir): New macro.
20242
20243 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
20244 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
20245
11b90b9f
JM
202462012-03-16 Joseph Myers <joseph@codesourcery.com>
20247
c36e1d23
JM
20248 [BZ #2551]
20249 [BZ #2552]
20250 [BZ #2553]
20251 [BZ #2554]
20252 [BZ #2562]
20253 [BZ #2563]
20254 [BZ #2565]
20255 [BZ #2566]
20256 [BZ #2576]
20257 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
20258 (y0): Likewise.
20259 * math/w_j0f.c (j0f): Likewise.
20260 (y0f): Likewise.
20261 * math/w_j0l.c (__j0l): Likewise.
20262 (__y0l): Likewise.
20263 * math/w_j1.c (j1): Likewise.
20264 (y1): Likewise.
20265 * math/w_j1f.c (j1f): Likewise.
20266 (y1f): Likewise.
20267 * math/w_j1l.c (__j1l): Likewise.
20268 (__y1l): Likewise.
20269 * math/w_jn.c (jn): Likewise.
20270 (yn): Likewise.
20271 * math/w_jnf.c (jnf): Likewise.
20272 (ynf): Likewise.
20273 * math/w_jnl.c (__jnl): Likewise.
20274 (__ynl): Likewise.
20275 * math/libm-test.inc (j0_test): Add more tests.
20276 (j1_test): Likewise.
20277 (jn_test): Likewise. Add trailing semicolon to existing test.
20278 (y0_test): Likewise.
20279 (y1_test): Likewise.
20280 * sysdeps/i386/fpu/libm-test-ulps: Update.
20281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20282
11b90b9f
JM
20283 [BZ #13851]
20284 [BZ #13854]
20285 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20286 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
20287 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
20288 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
20289 (__tanl): Set errno for infinite argument.
20290 * sysdeps/i386/fpu/mptan.c: Remove.
20291 * sysdeps/i386/fpu/s_tan.S: Likewise.
20292 * sysdeps/i386/fpu/s_tanl.S: Likewise.
20293 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
20294 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
20295 * math/libm-test.inc (tan_test): Add more tests and enable more
20296 tests for double and long double.
20297 * sysdeps/i386/fpu/libm-test-ulps: Update.
20298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20299
6a1bd2a1
JK
203002012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
20301
20302 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
20303 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
20304
10a803e0
RM
203052012-03-16 Roland McGrath <roland@hack.frob.com>
20306
20307 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
20308 * configure.in: Use it for both main tree and add-ons.
20309 * configure: Regenerated.
20310
f196c7f7
L
203112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20312
20313 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
20314
8848d99d
JM
203152012-03-16 Joseph Myers <joseph@codesourcery.com>
20316
96cbe7f4
JM
20317 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
20318 in comment.
20319
8848d99d
JM
20320 [BZ #13851]
20321 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
20322 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
20323 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
20324 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
20325 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
20326 infinite argument.
20327 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
20328 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
20329 != 0 for prec == 2.
20330 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
20331 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
20332 * sysdeps/i386/fpu/s_cosl.S: Likewise.
20333 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
20334 * sysdeps/i386/fpu/s_sinl.S: Likewise.
20335 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
20336 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
20337 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
20338 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
20339 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
20340 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
20341 * math/libm-test.inc (cos_test): Add more tests and enable more
20342 tests for long double.
20343 (sin_test): Likewise.
20344 (sincos_test): Likewise.
20345 * sysdeps/i386/fpu/libm-test-ulps: Update.
20346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20347
dd7f4703
DM
203482012-03-16 David S. Miller <davem@davemloft.net>
20349
20350 * sysdeps/sparc/fpu/math_private.h: New file.
20351
006f1daa
DM
203522012-03-15 David S. Miller <davem@davemloft.net>
20353
c0c83bc8
DM
20354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
20355 file.
e6a62e18 20356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
20357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
20358 file.
e6a62e18
DM
20359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
20360 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
20361 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
20362 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
20363 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
20364 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
20365 sysdep routines.
20366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20367
88cb87d9
DM
20368 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
20369 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
20370
006f1daa 20371 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
20372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
20373 sparc-ifunc.h
006f1daa 20374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
20375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20376 Likewise.
20377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20378 Likewise.
006f1daa
DM
20379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
20380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
20382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20383 Likewise.
006f1daa
DM
20384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
20386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
20388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
20389 Likewise.
20390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
20391 Likewise.
006f1daa
DM
20392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
20395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
20396 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20397 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20398 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
20399 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
20400 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20401 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20402 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
20403 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
20404 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
20405 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
20406 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
20407 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20408 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
20409 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20410 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
20411 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20412 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
20413 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20414 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
20415 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20416
11e0098e
AS
204172012-03-15 Andreas Schwab <schwab@linux-m68k.org>
20418
20419 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
20420 scaling.
20421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20422
e85b09d0
AJ
204232012-03-15 Andreas Jaeger <aj@suse.de>
20424
20425 [BZ #13852]
20426 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
20427 ieee754/flt-32 implementation for sin, cos and sincos.
20428 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
20429 * sysdeps/i386/fpu/s_cosf.S: Likewise.
20430 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
20431 * sysdeps/i386/fpu/s_sinf.S: Likewise.
20432 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
20433 ieee754/flt-32 implementation for tan.
20434
20435 * math/libm-test.inc (cos_test): Enable some large input tests for
20436 float as well
20437 (sin_test): Likewise.
20438 (sincos_test): Likewise.
20439 (tan_test): Add tests for large input.
20440
20441 * sysdeps/i386/fpu/libm-test-ulps: Update.
20442
81c64153
AJ
204432012-03-15 Andreas Jaeger <aj@suse.de>
20444
20445 [BZ #13658]
20446 * math/libm-test.inc (cos_test): Add more test cases.
20447 (sin_test): Likewise.
20448 (sincos_test): Likewise.
20449
7bbfa5c6
AJ
204502012-03-15 Andreas Jaeger <aj@suse.de>
20451
20452 [BZ #13837]
20453 * math/libm-test.inc (cos_test): Add a test case for large input
20454 value.
20455 (sin_test): Likewise.
20456 (sincos_test): Likewise.
20457
204582012-03-15 Andreas Jaeger <aj@suse.de>,
20459 Joseph Myers <joseph@codesourcery.com>
20460
20461 [BZ #13658]
0671f479 20462 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
20463 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
20464 * sysdeps/i386/fpu/branred.c: Likewise.
20465 * sysdeps/i386/fpu/dosincos.c: Likewise.
20466 * sysdeps/i386/fpu/mpa.c: Likewise.
20467 * sysdeps/i386/fpu/s_cos.S: Likewise.
20468 * sysdeps/i386/fpu/s_sin.S: Likewise.
20469 * sysdeps/i386/fpu/s_sincos.S: Likewise.
20470 * sysdeps/i386/fpu/sincos32.c: Likewise.
20471
20472 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
20473 Define.
20474 (libc_feupdateenv_53bit): Define.
20475 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
20476 Define.
20477 (libc_feupdateenv_53bit): Define.
20478
20479 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
20480 53 bit (without extend i386 double precision).
20481
20482 * math/libm-test.inc (sincos_test): Add tests for large input.
20483 (sin): Likewise.
20484 (cos): Likewise.
20485
20486 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20487
9cad04ea
AS
204882012-03-15 Andreas Schwab <schwab@linux-m68k.org>
20489
20490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20491
f7062b9a
DM
204922012-03-15 David S. Miller <davem@davemloft.net>
20493
20494 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
20495 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
20496 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
20497 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
20498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
20499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
20500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
20501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
20502 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
20503 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
20504 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
20505 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
20506 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
20507 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
20508 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
20509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
20510 file.
f7062b9a 20511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
20512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
20513 file.
f7062b9a 20514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
20515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
20516 file.
f7062b9a 20517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
20518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
20519 file.
f7062b9a
DM
20520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
20521 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
20522 fmin/fmax sysdep routines.
20523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20524
7bd951ff
DM
205252012-03-14 David S. Miller <davem@davemloft.net>
20526
559398ab
DM
20527 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
20528 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
20529 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
20530 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
20531 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
20532 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
20533 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
20534 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
20535 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
20536 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
20537 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
20538 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
20539 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
20540 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
20541 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
20542 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
20543 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
20544 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
20545 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
20546 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
20547 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
20548 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
20549 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
20550 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
20551 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
20552 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
20553 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
20554 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
20555 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
20556 routines.
20557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
20558 file.
559398ab 20559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
20560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
20561 file.
559398ab 20562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
20563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
20564 file.
559398ab 20565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
20566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
20567 file.
559398ab 20568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
20569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
20570 file.
559398ab 20571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
20572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
20573 file.
20574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
20575 file.
20576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
20577 file.
20578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
20579 file.
20580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
20581 New file.
20582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
20583 file.
20584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
20585 file.
559398ab 20586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
20587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
20588 file.
559398ab 20589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
20590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
20591 file.
559398ab 20592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
20593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
20594 file.
559398ab 20595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
20596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
20597 VIS3 routines.
559398ab
DM
20598
20599 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20600 New file.
20601
5a1c1e32
DM
20602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20603
eae47a36
DM
20604 * sysdeps/sparc/configure.in: New file.
20605 * sysdeps/sparc/configure: Generate.
20606 * configure.in (libc_cv_sparc_as_vis3): Substitute.
20607 * configure: Regenerate.
20608 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
20609 * config.make.in (have-as-vis3): New.
20610 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
20611 available use -Av9d instead of -Av9a.
20612 * sysdeps/sparc/sparc64/Makefile: Likewise.
20613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
20614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
20615 New file.
20616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
20617 file.
20618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
20619 New file.
20620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
20621 file.
eae47a36
DM
20622 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
20623 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
20624 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
20625 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
20626 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
20627
c0c83bc8
DM
20628 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
20629 fzeros/fnegs to load 0x80000000 into a float register instead of
20630 using the stack.
7bd951ff
DM
20631 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
20632
bd951ccb
JM
206332012-03-14 Joseph Myers <joseph@codesourcery.com>
20634
20635 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20636 bits/syscall.h.
20637 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
20638 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
20639 ($(inst_includedir)/bits/syscall.h): Remove rule.
20640 ($(objpfx)bits/syscall.d): Include instead of
20641 $(objpfx)syscall-list.d.
20642 (generated): Change syscall-list.h and syscall-list.d to
20643 bits/syscall.h and bits/syscall.d.
20644
bb4e6db2
RM
206452012-03-14 Roland McGrath <roland@hack.frob.com>
20646
20647 [BZ #13846]
20648 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
20649
aa4a2ae1
JM
206502012-03-14 Joseph Myers <joseph@codesourcery.com>
20651
e456826d
JM
20652 [BZ #13841]
20653 * math/s_csqrt.c: Include <float.h>.
20654 (__csqrt): Scale large or subnormal inputs.
20655 * math/s_csqrtf.c: Likewise.
20656 * math/s_csqrtl.c: Likewise.
20657 * math/libm-test.inc (csqrt_test): Add more tests.
20658 * sysdeps/i386/fpu/libm-test-ulps: Update.
20659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20660
aa4a2ae1
JM
20661 [BZ #13840]
20662 * math/libm-test.inc (hypot_test): Add more tests.
20663
7c10fd35
DM
206642012-03-13 David S. Miller <davem@davemloft.net>
20665
20666 [BZ #13840]
20667 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
20668 double-precision for the calculation instead of scaling.
20669
f453b98b
JM
206702012-03-13 Joseph Myers <joseph@codesourcery.com>
20671
20672 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
20673 manipulate bits before adding and subtracting TWO52[sx].
20674 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
20675 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
20676 Likewise.
20677 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
20678
09a3453f
DM
206792012-03-13 David S. Miller <davem@davemloft.net>
20680
8e59da90
DM
20681 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
20682 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
20683 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
20684 rtld-global-offsets.h
20685 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20686
2a8ab7f2
DM
20687 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
20688 large parameters.
20689
10f62770
DM
20690 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
20691
5f0bdb18
DM
20692 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
20693 'err' in the ifdef scope in which it is actually used.
20694
09a3453f
DM
20695 * nss/nss_db/db-init.c: Include string.h
20696
b4b2eb5e
DM
206972012-03-12 David S. Miller <davem@davemloft.net>
20698
98bb2f1c
DM
20699 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20700 masking out of the most significant byte of random value used.
20701 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20702 Fix coding style in previous change.
20703
b4b2eb5e
DM
20704 * sysdeps/unix/sysv/linux/kernel-features.h
20705 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
20706 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
20707 expression.
20708 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
20709 later.
20710
6e226b09
DM
207112012-03-11 David S. Miller <davem@davemloft.net>
20712
a1bcbd40
DM
20713 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20714 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
20715 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
20716 for 'resultvar' otherwise things get truncated on 64-bit.
20717
cb9d6174
DM
20718 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20719 Fix masking out of the most significant byte of random value used.
20720
6e226b09
DM
20721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20722
058c132d
AS
207232012-03-10 Andreas Schwab <schwab@linux-m68k.org>
20724
20725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20726
2d2cd515
DM
207272012-03-09 David S. Miller <davem@davemloft.net>
20728
20729 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
20730 variables with appropriate CPP guards.
20731 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
20732 frame pointer, not the stack pointer. Correct layout comments. Fix test
20733 on resulting framesize and the management of the outregs buffer for pltexit.
20734 Preserve floating point return values across _dl_call_pltexit call.
20735 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
20736 framesize and the management of the outregs buffer for pltexit.
20737 Preserve floating point return values across _dl_call_pltexit
20738 call.
20739 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
20740 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
20741 (print_exit): Fix format string for return register value.
20742
9a07f9d0
JM
207432012-03-10 Joseph Myers <joseph@codesourcery.com>
20744
20745 * sunrpc/Makefile (others): Add rpcgen.
20746 ($(objpfx)rpcgen): Remove special build rule and dependency on
20747 libc.
20748 * sunrpc/rpcgen.c: New file.
20749
547b5e30
PE
207502012-03-09 Paul Eggert <eggert@cs.ucla.edu>
20751
c524201a
PE
20752 [BZ #13673]
20753 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
20754 * stdio-common/bug-vfprintf-nargs.c: Likewise.
20755 * sysdeps/i386/crti.S: Likewise.
20756 * sysdeps/i386/crtn.S: Likewise.
20757 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
20758 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
20759 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
20760 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
20761 * sysdeps/sh/crti.S: Likewise.
20762 * sysdeps/sh/crtn.S: Likewise.
20763 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20764
7b6235f2
PE
20765 [BZ #13673]
20766 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
20767 with URL.
20768 * locale/programs/locfile-kw.gperf: Likewise.
20769 * locale/programs/charmap-kw.h: Regenerated.
20770 * locale/programs/locfile-kw.h: Likewise.
20771
547b5e30
PE
20772 [BZ #13673]
20773 * intl/plural.y: Replace FSF snail mail address with URL.
20774 * intl/plural.c: Regenerated.
20775
5f0a5dae
RH
207762012-03-09 Richard Henderson <rth@twiddle.net>
20777
20778 * include/math_private.h: Remove file.
20779 * math/math_private.h: Move file ...
20780 * sysdeps/generic/math_private.h: ... here.
20781
b8c03620
RH
20782 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
20783 * sysdeps/powerpc/fpu/math_private.h: Likewise.
20784 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20785
4e234f5d 20786 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
20787 and <math_private.h>.
20788 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20789 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20790 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20791 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20792 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20793 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
20794 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20795 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20796 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20797 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20798 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20799 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20800 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20801 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20802 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20803 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20804 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20805 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20806 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20807 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20808 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20809 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20810 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20811 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20812 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20813 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20814 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20815 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20816 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20817 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20818 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20819 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20820 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20821 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20822 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20823 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20824 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20825 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20826 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20827 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20828 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
20829 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20830 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20831 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20832 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20833 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20834 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
20835 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20836 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20837 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20838 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20839 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
20840 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20841 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20842 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20843 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20844 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20845 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20846 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20847 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
20848 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20849 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20850 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20851 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20852 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
20853 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20854 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20855 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20856 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
20857 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
20858 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20859 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20860 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20861 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20862 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
20863 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
20864 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
20865 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20866 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
20867 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
20868 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20869 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
20870 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20871 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20872 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20873 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
20874 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
20875 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
20876 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20877 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20878 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20879 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20880 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20881 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20882 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20883 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20884 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20885 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20886 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20887 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20888 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20889 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20890 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20891 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20892 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20893 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20894 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20895 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20896 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20897 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20898 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20899 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20900 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20901 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20902 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
20903 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20904 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20905 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20906 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20907 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20908 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20909 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20910 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20911 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
20912 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20913 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20914 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20915 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
20916 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20917 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
20918 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
20919 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20920 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20921 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
20922 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
20923 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20924 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20925 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20926 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
20927 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20928 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20929 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20930 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20931 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
20932 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
20933 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20934 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20935 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20936 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
20937 * sysdeps/ieee754/k_standard.c: Likewise.
20938 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20939 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20940 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20941 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20942 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20943 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20944 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20945 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20946 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20947 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20948 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20949 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20950 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20951 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20952 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20953 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20954 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20955 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20956 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20957 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
20958 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
20959 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
20960 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20961 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20962 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20963 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20964 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20965 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20966 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20967 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20968 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20969 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20970 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20971 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20972 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20973 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20974 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20975 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
20976 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
20977 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20978 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20979 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20980 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20981 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20982 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20983 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20984 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20985 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20986 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20987 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20988 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20989 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20990 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20991 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
20992 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20993 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20994 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
20995 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
20996 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20997 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20998 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20999 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21000 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21001 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21002 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21003 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21004 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21005 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21006 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21007 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21008 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21009 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21010 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21011 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21012 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21013 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21014 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
21015 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21016 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21017 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21018 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21019 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21020 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21021 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21022 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
21023 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21024 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21025 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21026 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21027 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21028 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
21029 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21030 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21031 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21032 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21033 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21034 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
21035 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21036 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21037 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
21038 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21039 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21040 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21041 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21042 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
21043 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21044 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21045 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21046 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
21047 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21048 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21049 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21050 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21051 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21052 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21053 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21054 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21055 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21056 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21057 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21058 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21059 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21060 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21061 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21062 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21063 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
21064 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21065 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21066 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21067 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21068 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21069 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21070 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21071 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21072 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21073 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21074 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
21075 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21076 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21077 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
21078 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
21079 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21080 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
21081 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
21082 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21083 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21084 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21085 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21086 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21087 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
21088 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21089 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21090 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21091 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21092 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
21093 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
21094 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21095 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21096 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21097 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21098 * sysdeps/ieee754/s_lib_version.c: Likewise.
21099 * sysdeps/ieee754/s_matherr.c: Likewise.
21100 * sysdeps/ieee754/s_signgam.c: Likewise.
21101 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21102 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21103 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
21104 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
21105 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
21106 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21107 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
21108 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
21109 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
21110 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
21111 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21112 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
21113 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21114 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21115 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
21116 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21117 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21118 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21119 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21120 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21121 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 21122
1991fa03
JM
211232012-03-09 Joseph Myers <joseph@codesourcery.com>
21124
21125 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
21126 * sunrpc/rpc_main.c: Likewise.
21127 * sunrpc/rpc_svcout.c: Likewise.
21128
60d6f5a6
DM
211292012-03-09 David S. Miller <davem@davemloft.net>
21130
21131 * include/math_private.h: New file.
21132
4962050e
JM
211332012-03-09 Joseph Myers <joseph@codesourcery.com>
21134
02a6f887
JM
21135 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
21136 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
21137 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
21138 from <bits/socket_type.h>.
21139 (enum __socket_type): Don't define here.
21140 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
21141 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21142 bits/socket_type.h.
21143
c6e013c1
JM
21144 [BZ #13566]
21145 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
21146 checking __USE_GNU.
21147
4962050e
JM
21148 * Makerules ($(inst_includedir)/%.h): New rule.
21149 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
21150 (install-others): Remove variable setting.
21151 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
21152
38842f45
RH
211532012-03-08 Richard Henderson <rth@twiddle.net>
21154
67bb6da6
RH
21155 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
21156 from macro to inline function; merge with the
21157 !__LIBC_INTERNAL_MATH_INLINES version.
21158 (__ieee754_sqrtf): Likewise.
21159
15194b4b
RH
21160 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
21161 to inline function.
21162 (__rintf, __floor, __floorf): Likewise.
21163
64e21ede
RH
21164 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
21165 macro to inline function.
21166 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
21167
38842f45
RH
21168 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
21169 not <math/math_private.h>.
21170
c64bf5fe
DM
211712012-03-08 David S. Miller <davem@davemloft.net>
21172
21173 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
21174 copyright year.
21175 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
21176
82d86f28
TS
211772012-03-08 Thomas Schwinge <thomas@codesourcery.com>
21178
21179 * resolv/gai_misc.c (handle_requests): Fix struct timespec
21180 normalization.
21181 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
21182 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21183
aea5d727
UD
211842012-03-08 Ulrich Drepper <drepper@gmail.com>
21185
21186 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
21187 be defined individually, they must be defined as a block. Define
21188 S for printing a string instead of hidint the different by using a
21189 macro for adding the 'l'.
21190 * stdio-common/tst-fphex-wide.c: Adjust.
21191
70bca0a3
MP
211922012-03-07 Marek Polacek <polacek@redhat.com>
21193
21194 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
21195
65b81130
MP
211962012-03-08 Marek Polacek <polacek@redhat.com>
21197
21198 [BZ #13806]
21199 * stdio-common/Makefile (tests): Add tst-fphex-wide.
21200 * stdio-common/tst-fphex.c: Define a few macros to make the
21201 test reusable. Use them.
21202 * stdio-common/tst-fphex-wide.c: New file.
21203
07037eeb
JM
212042012-03-08 Joseph Myers <joseph@codesourcery.com>
21205
a7a93d50
JM
21206 [BZ #6911]
21207 * manual/macros.texi (gnusystems): New macro.
21208 (nongnusystems): Likewise.
21209 (gnulinuxhurdsystems): Likewise.
21210 (gnuhurdsystems): Likewise..
21211 (gnulinuxsystems): Likewise.
21212 * manual/charset.texi: Use new macros or @theglibc{} to refer to
21213 variants of the GNU system, not "GNU system".
21214 * manual/conf.texi: Likewise.
21215 * manual/errno.texi: Likewise. Update example of errno macro
21216 expansion.
21217 * manual/filesys.texi: Likewise.
21218 (getumask): Document as specific to GNU/Hurd.
21219 * manual/install.texi: Likewise. Reword some references to
21220 GNU/Linux.
21221 * manual/intro.texi: Likewise.
21222 * manual/io.texi: Likewise.
21223 (File Name Portability): Detail which constraints are inapplicable
21224 to all GNU systems and which are only inapplicable to GNU/Hurd.
21225 * manual/job.texi: Likewise.
21226 * manual/llio.texi: Likewise.
21227 (O_NOCTTY): Document as present on GNU/Linux.
21228 * manual/maint.texi: Likewise.
21229 * manual/memory.texi: Likewise.
21230 * manual/pattern.texi: Likewise.
21231 * manual/pipe.texi: Likewise.
21232 * manual/process.texi: Likewise.
21233 * manual/resource.texi: Likewise.
21234 (RUSAGE_CHILDREN): Remove statement about specifying a particular
21235 child on GNU/Hurd.
21236 * manual/setjmp.texi: Likewise.
21237 * manual/signal.texi: Likewise.
21238 * manual/startup.texi: Likewise.
21239 * manual/stdio.texi: Likewise.
21240 * manual/terminal.texi: Likewise.
21241 (ONLCR): Document as POSIX.
21242 (OXTABS): Document availability on GNU/Linux as XTABS.
21243 (ONOEOT): Document availability separately from other bits.
21244 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
21245 * manual/time.texi: Likewise.
21246 * manual/users.texi: Likewise.
21247 * INSTALL: Regenerated.
21248 * sysdeps/gnu/errlist.c: Regenerated.
21249
07037eeb
JM
21250 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
21251 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
21252 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
21253 puts.
21254 * configure: Regenerated.
21255
d1d3431a
JM
212562012-03-07 Joseph Myers <joseph@codesourcery.com>
21257
af6a1e37
JM
21258 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
21259 default includes instead of AC_HEADER_CHECK.
21260 * sysdeps/i386/configure: Regenerated.
21261
d1d3431a
JM
21262 [BZ #10716]
21263 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
21264 * math/s_cacoshf.c (__cacoshf): Likewise.
21265 * math/s_cacoshl.c (__cacoshl): Likewise.
21266 * math/s_casinh.c (__casinh): Set signs of result from argument.
21267 * math/s_casinhf.c (__casinhf): Likewise.
21268 * math/s_casinhl.c (__casinhl): Likewise.
21269 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
21270 (casinh_test): Add more tests.
21271 * sysdeps/i386/fpu/libm-test-ulps: Update.
21272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21273
482ff4da
UD
212742012-03-07 Ulrich Drepper <drepper@gmail.com>
21275
872fda05
UD
21276 * po/zh_TW.po: Update from translation team.
21277
a4300c7a
UD
21278 * login/Makefile (distribute): Remove variable.
21279 * catgets/Makefile: Likewise.
21280 * mach/Makefile: Likewise.
21281 * malloc/Makefile: Likewise.
21282 * misc/Makefile: Likewise.
21283 * iconv/Makefile: Likewise.
21284 * nscd/Makefile: Likewise.
21285 * hurd/Makefile: Likewise.
21286 * manual/Makefile: Likewise.
21287 * locale/Makefile: Likewise.
21288 * intl/Makefile: Likewise.
21289 * conform/Makefile: Likewise.
21290 * nss/Makefile: Likewise.
21291 * time/Makefile: Likewise.
21292 * soft-fp/Makefile: Likewise.
21293 * dirent/Makefile: Likewise.
21294 * gmon/Makefile: Likewise.
21295 * po/Makefile: Likewise.
21296 * rt/Makefile: Likewise.
21297 * socket/Makefile: Likewise.
21298 * math/Makefile: Likewise.
21299 * signal/Makefile: Likewise.
21300 * debug/Makefile: Likewise.
21301 * elf/Makefile: Likewise.
21302 * timezone/Makefile: Likewise.
21303 * stdlib/Makefile: Likewise.
21304 * iconvdata/Makefile: Likewise.
21305 * sunrpc/Makefile: Likewise.
21306 * io/Makefile: Likewise.
21307 * argp/Makefile: Likewise.
21308 * inet/Makefile: Likewise.
21309 * hesiod/Makefile: Likewise.
21310 * grp/Makefile: Likewise.
21311 * csu/Makefile: Likewise.
21312 * wctype/Makefile: Likewise.
21313 * crypt/Makefile: Likewise.
21314 * libio/Makefile: Likewise.
21315 * string/Makefile: Likewise.
21316 * nis/Makefile: Likewise.
21317 * resolv/Makefile: Likewise.
21318 * stdio-common/Makefile: Likewise.
21319 * wcsmbs/Makefile: Likewise.
21320 * dlfcn/Makefile: Likewise.
21321 * posix/Makefile: Likewise.
21322
3b7c4e74 21323 [BZ #6959]
482ff4da
UD
21324 * timezone/Makefile: Don't install timezone files, just the programs
21325 and scripts.
21326
f72ed77d
UD
213272012-03-06 Ulrich Drepper <drepper@gmail.com>
21328
a000466f
UD
21329 * nss/databases.def: Add missing gshadow entry.
21330
f72ed77d
UD
21331 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
21332
a53b7a4e
MP
213332012-03-06 Marek Polacek <polacek@redhat.com>
21334
21335 [BZ #13726]
21336 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
21337 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21338 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
21339 * stdio-common/tst-long-dbl-fphex.c: New file.
21340
e9258400
DM
213412012-03-06 David S. Miller <davem@davemloft.net>
21342
21343 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21344 (set_obp_int): New function.
21345 (get_obp_int): New function.
21346 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
21347 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
21348 Avoid unused variable warnings on 'val' and use builtin_expect.
21349 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
21350 __builtin_expect.
e9258400
DM
21351 (INLINE_CLONE_SYSCALL): Likewise.
21352
3bd2c723
DM
213532012-03-05 David S. Miller <davem@davemloft.net>
21354
21355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21356
bbb78d03
AS
213572012-03-05 Andreas Schwab <schwab@linux-m68k.org>
21358
884c5db4
AS
21359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21360
bbb78d03
AS
21361 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
21362 only for |x| >= 40.
21363 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21364
1c9f702a 213652012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
21366
21367 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
21368 Replace gettimeofday with __vdso_gettimeofday.
21369
7be16f82
RM
21370 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21371 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
21372 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
21373
21374 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
21375 time with __vdso_time.
21376
ed58a00f
JM
213772012-03-05 Joseph Myers <joseph@codesourcery.com>
21378
21379 * manual/lang.texi (size_t): Note types to which size_t may be
21380 equivalent with the GNU C Library, but do not describe when
21381 differences between them are significant.
21382
30ee4ced
AJ
213832012-03-05 Andreas Jaeger <aj@suse.de>
21384
21385 * sysdeps/i386/fpu/libm-test-ulps: Update.
21386
b7cd39e8
JM
213872012-03-05 Joseph Myers <joseph@codesourcery.com>
21388
21389 [BZ #3976]
21390 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
21391 (__ieee754_pow): Save and restore rounding mode and use
21392 round-to-nearest for main computations.
21393 * math/libm-test.inc (pow_test_tonearest): New function.
21394 (pow_test_towardzero): Likewise.
21395 (pow_test_downward): Likewise.
21396 (pow_test_upward): Likewise.
21397 (main): Call the new functions.
21398 * sysdeps/i386/fpu/libm-test-ulps: Update.
21399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
21400
21401 [BZ #3976]
21402 * math/libm-test.inc (cosh_test_tonearest): New function.
21403 (cosh_test_towardzero): Likewise.
21404 (cosh_test_downward): Likewise.
21405 (cosh_test_upward): Likewise.
21406 (sinh_test_tonearest): Likewise.
21407 (sinh_test_towardzero): Likewise.
21408 (sinh_test_downward): Likewise.
21409 (sinh_test_upward): Likewise.
21410 (main): Call the new functions.
21411 * sysdeps/i386/fpu/libm-test-ulps: Update.
21412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21413
6c6a98c9
TV
214142012-03-05 Tom de Vries <tom@codesourcery.com>
21415
21416 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
21417 default stack guard is set in last bytes.
21418 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
21419
21bb2d2e 214202012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 21421
21bb2d2e 21422 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 21423
21bb2d2e
AJ
21424 [BZ #13656]
21425 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
21426 possibly allocate from heap instead of stack.
21427 * stdio-common/bug-vfprintf-nargs.c: New file.
21428 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 21429
c6922934
AS
214302012-03-03 Andreas Schwab <schwab@linux-m68k.org>
21431
21432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21433
bc957d53
MP
214342012-03-03 Marek Polacek <polacek@redhat.com>
21435
21436 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
21437 * math/math_private.h: Likewise.
21438 * stdlib/tst-strtod.c: Likewise.
21439 * sysdeps/i386/i486/bits/atomic.h: Likewise.
21440 * sysdeps/x86_64/bits/atomic.h: Likewise.
21441
6358490d
DM
214422012-03-02 David S. Miller <davem@davemloft.net>
21443
21444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
21445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
21446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
21447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
21448 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
21449 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
21450 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
21451 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
21452
01ae168d
RM
214532012-03-02 Roland McGrath <roland@hack.frob.com>
21454
d9a17c07
RM
21455 [BZ #13792]
21456 * manual/examples/README: New file, says the example source files
21457 can be used under GPL>=2.
21458 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
21459 line containing just "*/".
21460 * manual/examples/add.c: Add copyright header (GPL>=2).
21461 * manual/examples/argp-ex1.c: Likewise.
21462 * manual/examples/argp-ex2.c: Likewise.
21463 * manual/examples/argp-ex3.c: Likewise.
21464 * manual/examples/argp-ex4.c: Likewise.
21465 * manual/examples/atexit.c: Likewise.
21466 * manual/examples/db.c: Likewise.
21467 * manual/examples/dir.c: Likewise.
21468 * manual/examples/dir2.c: Likewise.
21469 * manual/examples/execinfo.c: Likewise.
21470 * manual/examples/filecli.c: Likewise.
21471 * manual/examples/filesrv.c: Likewise.
21472 * manual/examples/fmtmsgexpl.c: Likewise.
21473 * manual/examples/genpass.c: Likewise.
21474 * manual/examples/inetcli.c: Likewise.
21475 * manual/examples/inetsrv.c: Likewise.
21476 * manual/examples/isockad.c: Likewise.
21477 * manual/examples/longopt.c: Likewise.
21478 * manual/examples/memopen.c: Likewise.
21479 * manual/examples/memstrm.c: Likewise.
21480 * manual/examples/mkfsock.c: Likewise.
21481 * manual/examples/mkisock.c: Likewise.
21482 * manual/examples/mygetpass.c: Likewise.
21483 * manual/examples/pipe.c: Likewise.
21484 * manual/examples/popen.c: Likewise.
21485 * manual/examples/rprintf.c: Likewise.
21486 * manual/examples/search.c: Likewise.
21487 * manual/examples/select.c: Likewise.
21488 * manual/examples/setjmp.c: Likewise.
21489 * manual/examples/sigh1.c: Likewise.
21490 * manual/examples/sigusr.c: Likewise.
21491 * manual/examples/stpcpy.c: Likewise.
21492 * manual/examples/strdupa.c: Likewise.
21493 * manual/examples/strftim.c: Likewise.
21494 * manual/examples/strncat.c: Likewise.
21495 * manual/examples/subopt.c: Likewise.
21496 * manual/examples/swapcontext.c: Likewise.
21497 * manual/examples/termios.c: Likewise.
21498 * manual/examples/testopt.c: Likewise.
21499 * manual/examples/testpass.c: Likewise.
21500 * manual/examples/timeval_subtract.c: Likewise.
21501
01ae168d
RM
21502 [BZ #13792]
21503 * manual/time.texi (Elapsed Time): Move timeval_subtract example
21504 function to ...
21505 * manual/timeval_subtract.c.texi: ... here, new file.
21506
49efa33d
DM
215072012-03-02 David S. Miller <davem@davemloft.net>
21508
21509 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
21510
28afd92d
JM
215112012-03-02 Joseph Myers <joseph@codesourcery.com>
21512
804360ed
JM
21513 [BZ #3976]
21514 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
21515 (__sin): Save and restore rounding mode and use round-to-nearest
21516 for all computations.
21517 (__cos): Save and restore rounding mode and use round-to-nearest
21518 for all computations.
21519 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
21520 <fenv.h>.
21521 (tan): Save and restore rounding mode and use round-to-nearest for
21522 all computations.
21523 * math/libm-test.inc (cos_test_tonearest): New function.
21524 (cos_test_towardzero): Likewise.
21525 (cos_test_downward): Likewise.
21526 (cos_test_upward): Likewise.
21527 (sin_test_tonearest): Likewise.
21528 (sin_test_towardzero): Likewise.
21529 (sin_test_downward): Likewise.
21530 (sin_test_upward): Likewise.
21531 (tan_test_tonearest): Likewise.
21532 (tan_test_towardzero): Likewise.
21533 (tan_test_downward): Likewise.
21534 (tan_test_upward): Likewise.
21535 (main): Call the new functions.
21536 * sysdeps/i386/fpu/libm-test-ulps: Update.
21537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21538
a6d06d7b
JM
21539 [BZ #10135]
21540 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
21541 small n, then large n, before computing and testing k+n.
21542 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21543 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
21544 Likewise.
21545 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
21546 Likewise.
21547 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
21548 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
21549 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
21550 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
21551 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21552 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21553 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
21554 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
21555 * math/libm-test.inc (scalbn_test): Add more tests.
21556 (scalbln_test): Likewise.
21557
07e12bb3
JM
21558 * manual/filesys.texi (mode_t): Describe constraints on size and
21559 signedness, not exact equivalence to a particular type.
21560 (ino_t): Likewise.
21561 (ino64_t): Likewise.
21562 (dev_t): Likewise.
21563 (nlink_t): Likewise.
21564 (blkcnt_t): Likewise.
21565 (blkcnt64_t): Likewise.
21566 * manual/llio.texi (off_t): Likewise.
21567
28afd92d
JM
21568 [BZ #3976]
21569 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
21570 (__ieee754_exp): Save and restore rounding mode and use
21571 round-to-nearest for all computations.
21572 * math/libm-test.inc (exp_test_tonearest): New function.
21573 (exp_test_towardzero): Likewise.
21574 (exp_test_downward): Likewise.
21575 (exp_test_upward): Likewise.
21576 (main): Call the new functions.
21577 * sysdeps/i386/fpu/libm-test-ulps: Update.
21578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21579
b1eeb65d
CD
215802012-03-01 Chris Demetriou <cgd@google.com>
21581
21582 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
21583 have predictable order.
21584
53362a4b
DM
215852012-03-01 David S. Miller <davem@davemloft.net>
21586
3c969083
DM
21587 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
21588
759707de
DM
21589 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
21590 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
21591 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
21592 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
21593
dfdb8ff2
DM
21594 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
21595 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
21596 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
21597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
21598 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
21599 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
21600 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
21601 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
21602 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
21603
ead89f96
DM
21604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21605
7f66bd07
DM
21606 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
21607 * sysdeps/sparc/fpu/libm-test-ulps: to here.
21608 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
21609
53362a4b
DM
21610 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
21611 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21612 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
21613 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
21614 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
21615 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
21616 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
21617 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21618 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
21619 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
21620 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
21621 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21622 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21623 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
21624 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21625 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21626 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
21627 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
21628 * sysdeps/sparc/elf/configure: Regenerated.
21629
7b1902cb
JM
216302012-03-01 Joseph Myers <joseph@codesourcery.com>
21631
bec039bc
JM
21632 * configure.in (AS, LD): Require binutils 2.20 or later.
21633 * configure: Regenerated.
21634 * manual/install.texi (Tools for Compilation): Give binutils 2.20
21635 as required minimum version.
21636 * INSTALL: Regenerated.
21637
7b1902cb
JM
21638 [BZ #2541]
21639 [BZ #4108]
21640 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
21641 before squaring exponent.
21642 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
21643 bottom long double and 27 bits of top long double before squaring
21644 exponent.
21645 * math/libm-test.inc (erfc_test): Add more tests.
21646 * sysdeps/i386/fpu/libm-test-ulps: Update.
21647 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21649
f775c276
KT
216502012-03-01 Kai Tietz <ktietz@redhat.com>
21651
21652 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
21653 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
21654 containing bit-fields.
21655 * soft-fp/extended.h (_FP_UNION_E): Likewise.
21656 * soft-fp/single.h (_FP_UNION_S): Likewise.
21657 * soft-fp/double.h (_FP_UNION_D): Likewise.
21658
5b8a4d4a
JM
216592012-02-29 Joseph Myers <joseph@codesourcery.com>
21660
0bab47b6
JM
21661 [BZ #13786]
21662 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
21663 not include ../strcmp.S.
21664 [USE_AS_STRNCASECMP_L]: Likewise.
21665 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
21666 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
21667 * sysdeps/i386/i686/multiarch/strncase_l-c.c
21668 (__strncasecmp_l_ia32): Define as alias to
21669 __strncasecmp_l_nonascii.
21670
0fcad3e2
JM
21671 [BZ #5794]
21672 * math/libm-test.inc (expm1_test): Add test for bug 5794.
21673 * sysdeps/i386/fpu/libm-test-ulps: Update.
21674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21675
5b8a4d4a
JM
21676 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
21677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21678
8fdceb2e
JL
216792012-02-29 Jeff Law <law@redhat.com>
21680
21681 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
21682 out of bounds read.
21683
1f393a11
MP
216842012-02-29 Marek Polacek <polacek@redhat.com>
21685
21686 [BZ #13706]
21687 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
21688 * elf/Makefile: Add rules to run tst-unused-dep.out.
21689
8847f037
DM
216902012-02-28 David S. Miller <davem@davemloft.net>
21691
21692 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
21693 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
21694 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
21695 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
21696 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
21697 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
21698
169d7f11
JM
216992012-02-29 Joseph Myers <joseph@codesourcery.com>
21700
21701 * math/libm-test.inc (llround_test): Move one test from
21702 lround_test. Use TEST_f_L in moved test.
21703 (lround_test): Move misplaced test to llround_test. Add testcase
21704 from bug 2561.
21705
39adf059
UD
217062012-02-28 Ulrich Drepper <drepper@gmail.com>
21707
21708 * sysdeps/x86_64/fpu/e_expf.S: New file.
21709 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
21710
71b5d1c5
SB
217112012-02-28 Stanislav Brabec <sbrabec@suse.cz>
21712
21713 [BZ #13637]
21714 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
21715 of remain_len that may cause incomplete multi-byte character and
21716 false match.
21717 * posix/bug-regex33.c: New file.
21718 * posix/Makefile (tests): Add bug-regex33.
21719
1f77f049
JM
217202012-02-28 Joseph Myers <joseph@codesourcery.com>
21721
21722 * manual/macros.texi: New file.
21723 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
21724 * manual/libc.texinfo: Include macros.texi.
21725 * manual/creatute.texi: Likewise.
21726 * manual/install.texi: Likewise.
21727 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
21728 @glibcadj{} in references to the GNU C Library.
21729 * manual/charset.texi: Likewise.
21730 * manual/conf.texi: Likewise.
21731 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
21732 when not using those macros.
21733 * manual/creature.texi: Likewise.
21734 * manual/crypt.texi: Likewise.
21735 * manual/errno.texi: Likewise.
21736 * manual/filesys.texi: Likewise.
21737 * manual/header.texi: Likewise.
21738 * manual/install.texi: Likewise.
21739 * manual/intro.texi: Likewise.
21740 * manual/io.texi: Likewise.
21741 * manual/job.texi: Likewise.
21742 * manual/lang.texi: Likewise.
21743 * manual/libc.texiinfo: Likewise.
21744 * manual/llio.texi: Likewise.
21745 * manual/locale.texi: Likewise.
21746 * manual/maint.texi: Likewise.
21747 * manual/math.texi: Likewise.
21748 * manual/memory.texi: Likewise.
21749 * manual/message.texi: Likewise.
21750 * manual/nss.texi: Likewise.
21751 * manual/pattern.texi: Likewise.
21752 * manual/process.texi: Likewise.
21753 * manual/resource.texi: Likewise.
21754 * manual/search.texi: Likewise.
21755 * manual/setjmp.texi: Likewise.
21756 * manual/signal.texi: Likewise.
21757 * manual/socket.texi: Likewise.
21758 * manual/startup.texi: Likewise.
21759 * manual/stdio.texi: Likewise.
21760 * manual/string.texi: Likewise.
21761 * manual/sysinfo.texi: Likewise.
21762 * manual/syslog.texi: Likewise.
21763 * manual/terminal.texi: Likewise.
21764 * manual/time.texi: Likewise.
21765 * manual/users.texi: Likewise.
21766 * INSTALL: Regenerated.
21767 * NOTES: Regenerated.
d40c5d54 21768 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 21769
450bf206
AS
217702012-02-28 Andreas Schwab <schwab@linux-m68k.org>
21771
21772 * include/dirent.h: Include <dirstream.h> before
21773 <dirent/dirent.h>.
21774
741a235b
DM
217752012-02-28 David S. Miller <davem@davemloft.net>
21776
21777 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
21778 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
21779 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
21780 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
21781
d6b5aa58
DM
217822012-02-27 David S. Miller <davem@davemloft.net>
21783
1aff59a3
DM
21784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
21785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
21786 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
21787 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
21788
d6b5aa58
DM
21789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
21790 frame pointer instead of stack pointer relative arg slot.
21791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21792 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21793 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21794
433f48bf
CD
217952012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
21796
21797 [BZ #3992]
21798 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
21799
d674b76d
DM
218002012-02-27 David S. Miller <davem@davemloft.net>
21801
21802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
21803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
21806 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21807 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21808 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
21809 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
21810
0e7727f7
JM
218112012-02-27 Joseph Myers <joseph@codesourcery.com>
21812
21813 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
21814 later. Allow versions 5-9.
43be4ca2 21815 * configure: Regenerated.
0e7727f7
JM
21816 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
21817 required minimum version and 4.6 as recommended version. Do not
21818 mention bugs in GCC 2.7 and 2.8.
43be4ca2 21819 * INSTALL: Regenerated.
0e7727f7 21820
a78bc654
DM
218212012-02-27 David S. Miller <davem@davemloft.net>
21822
428d5830
DM
21823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
21824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
21825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
21826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
21827 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
21828 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
21829 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
21830 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
21831
a78bc654
DM
21832 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
21833 manipulate bits before adding and subtracting TWO112[sx].
21834 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21835
4579f81c
RM
218362012-02-27 Roland McGrath <roland@hack.frob.com>
21837
36c8acb4
RM
21838 [BZ #13775]
21839 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
21840 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
21841 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
21842 being in POSIX, because they are in 1003.1-2008.
21843
84ad622b
RM
21844 * rt/tst-aio.c: Include <fcntl.h>.
21845 * rt/tst-aio7.c: Likewise.
21846 * rt/tst-aio64.c: Likewise.
21847
4579f81c
RM
21848 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
21849
abd923db
JM
218502012-02-27 Joseph Myers <joseph@codesourcery.com>
21851
21852 * manual/install.texi (--with-headers): Describe headers as
21853 interface headers, not private headers.
21854 (Specific advice for GNU/Linux systems): Describe use of headers
21855 from "make headers_install", not private headers from older
21856 kernels.
43be4ca2 21857 * INSTALL: Regenerated.
abd923db
JM
21858 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
21859 Change to 2.6.19.
21860 * sysdeps/unix/sysv/linux/configure: Regenerated.
21861
6664049b
JM
21862 * manual/llio.texi (fclean): Remove documentation.
21863
bb8b6697
JM
21864 * manual/Makefile (libc-texi-generated): New variable. Include
21865 version.texi.
21866 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
21867 $(libc-texi-generated), not duplicated list of files.
21868 (version.texi, stamp-version): New rules.
21869 (realclean): Remove $(libc-texi-generated), not individual files
21870 from that list. Do not remove dir-add.texinfo.
21871 * manual/libc.texinfo: Comment out uses of edition numbers and
21872 references to printed manual. Remove last-updated dates.
21873 (EDITION): Comment out.
21874 (ISBN): Likewise.
21875 (VERSION, UPDATED): Remove.
21876 (version.texi): Include.
21877
12e5c3b9
AS
218782012-02-27 Andreas Schwab <schwab@linux-m68k.org>
21879
21880 * sysdeps/posix/spawni.c: Include <signal.h>.
21881 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
21882 * sysdeps/pthread/aio_fsync.c: Likewise.
21883
4efeffc1 218842012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 21885
ba63ba08
UD
21886 * conform/Makefile (tests): Run only when not cross-compiling and
21887 when fast-check is not defined.
21888
d94a4670
UD
21889 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
21890 * conform/data/limits.h-data: Fixes for POSIX2008.
21891 * conform/run-conformtest.sh: Run all tests.
21892 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
21893 headers.
21894 * include/bits/dlfcn.h: Likewise.
21895 * include/langinfo.h: Likewise.
21896 * include/monetary.h: Likewise.
21897 * include/sys/poll.h: Likewise.
21898
21899 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
21900 for __USE_GNU.
21901 * posix/spawn.h: Define __need_sigset_t.
21902 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
21903 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
21904 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
21905 to get sigevent_t only.
21906 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
21907 only for __USE_GNU.
21908 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21909 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21910 process_vm_writev only for __USE_GNU.
21911 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
21912
21913 * conform/Makefile: For now ignore errors from run-conformtest.
21914 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
21915 POSIX to avoid namespace pollution. Don't prepend headers.
21916 * conform/data/aio.h-data: Fixes for POSIX testing.
21917 * conform/data/fcntl.h-data: Likewise.
21918 * conform/data/glob.h-data: Likewise.
21919 * conform/data/grp.h-data: Likewise.
21920 * conform/data/pthread.h-data: Likewise.
21921 * conform/data/pwd.h-data: Likewise.
21922 * conform/data/signal.h-data: Likewise.
21923 * conform/data/spawn.h-data: Likewise.
21924 * conform/data/stdio.h-data: Likewise.
21925 * conform/data/stdlib.h-data: Likewise.
21926 * conform/data/stropts.h-data: Likewise.
21927 * conform/data/sys/mman.h-data: Likewise.
21928 * conform/data/sys/stat.h-data: Likewise.
21929 * conform/data/sys/types.h-data: Likewise.
21930 * conform/data/sys/wait.h-data: Likewise.
21931 * conform/data/time.h-data: Likewise.
21932 * conform/data/unistd.h-data: Likewise.
21933 * conform/data/utime.h-data: Likewise.
21934
21935 * io/sys/stat.h: fchmod was always in POSIX.
21936 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
21937 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
21938 * rt/aio.h: Define __need_timespec before including <time.h>.
21939 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
21940 struct. Add forward declaration of pthread_attr_t and use it in
21941 sigevent.
21942 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21943 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21944 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
21945 always remove CLK_TCK definition.
21946
c20105c3
AS
219472012-02-26 Andreas Schwab <schwab@linux-m68k.org>
21948
21949 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
21950
7a270350
UD
219512012-02-25 Ulrich Drepper <drepper@gmail.com>
21952
31341567
UD
21953 * conform/run-conformtest.sh: New file.
21954 * conform/Makefile: Run run-conformtest for tests.
21955 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
21956 support.
21957
21958 * conform/data/uchar.h-data: New file.
21959 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
21960 * conform/data/arpa/inet.h-data: Likewise.
21961 * conform/data/assert.h-data: Likewise.
21962 * conform/data/complex.h-data: Likewise.
21963 * conform/data/cpio.h-data: Likewise.
21964 * conform/data/ctype.h-data: Likewise.
21965 * conform/data/dirent.h-data: Likewise.
21966 * conform/data/dlfcn.h-data: Likewise.
21967 * conform/data/errno.h-data: Likewise.
21968 * conform/data/fcntl.h-data: Likewise.
21969 * conform/data/float.h-data: Likewise.
21970 * conform/data/fmtmsg.h-data: Likewise.
21971 * conform/data/fnmatch.h-data: Likewise.
21972 * conform/data/ftw.h-data: Likewise.
21973 * conform/data/glob.h-data: Likewise.
21974 * conform/data/grp.h-data: Likewise.
21975 * conform/data/iconv.h-data: Likewise.
21976 * conform/data/inttypes.h-data: Likewise.
21977 * conform/data/langinfo.h-data: Likewise.
21978 * conform/data/libgen.h-data: Likewise.
21979 * conform/data/limits.h-data: Likewise.
21980 * conform/data/locale.h-data: Likewise.
21981 * conform/data/math.h-data: Likewise.
21982 * conform/data/monetary.h-data: Likewise.
21983 * conform/data/mqueue.h-data: Likewise.
21984 * conform/data/ndbm.h-data: Likewise.
21985 * conform/data/net/if.h-data: Likewise.
21986 * conform/data/netdb.h-data: Likewise.
21987 * conform/data/netinet/in.h-data: Likewise.
21988 * conform/data/nl_types.h-data: Likewise.
21989 * conform/data/poll.h-data: Likewise.
21990 * conform/data/pthread.h-data: Likewise.
21991 * conform/data/pwd.h-data: Likewise.
21992 * conform/data/regex.h-data: Likewise.
21993 * conform/data/sched.h-data: Likewise.
21994 * conform/data/search.h-data: Likewise.
21995 * conform/data/semaphore.h-data: Likewise.
21996 * conform/data/setjmp.h-data: Likewise.
21997 * conform/data/signal.h-data: Likewise.
21998 * conform/data/spawn.h-data: Likewise.
21999 * conform/data/stdarg.h-data: Likewise.
22000 * conform/data/stdio.h-data: Likewise.
22001 * conform/data/stdlib.h-data: Likewise.
22002 * conform/data/string.h-data: Likewise.
22003 * conform/data/strings.h-data: Likewise.
22004 * conform/data/stropts.h-data: Likewise.
22005 * conform/data/sys/ipc.h-data: Likewise.
22006 * conform/data/sys/mman.h-data: Likewise.
22007 * conform/data/sys/msg.h-data: Likewise.
22008 * conform/data/sys/resource.h-data: Likewise.
22009 * conform/data/sys/select.h-data: Likewise.
22010 * conform/data/sys/sem.h-data: Likewise.
22011 * conform/data/sys/shm.h-data: Likewise.
22012 * conform/data/sys/socket.h-data: Likewise.
22013 * conform/data/sys/stat.h-data: Likewise.
22014 * conform/data/sys/statvfs.h-data: Likewise.
22015 * conform/data/sys/time.h-data: Likewise.
22016 * conform/data/sys/timeb.h-data: Likewise.
22017 * conform/data/sys/times.h-data: Likewise.
22018 * conform/data/sys/types.h-data: Likewise.
22019 * conform/data/sys/uio.h-data: Likewise.
22020 * conform/data/sys/un.h-data: Likewise.
22021 * conform/data/sys/utsname.h-data: Likewise.
22022 * conform/data/sys/wait.h-data: Likewise.
22023 * conform/data/syslog.h-data: Likewise.
22024 * conform/data/tar.h-data: Likewise.
22025 * conform/data/termios.h-data: Likewise.
22026 * conform/data/utime.h-data: Likewise.
22027 * conform/data/utmpx.h-data: Likewise.
22028 * conform/data/varargs.h-data: Likewise.
22029 * conform/data/wchar.h-data: Likewise.
22030 * conform/data/wctype.h-data: Likewise.
22031 * conform/data/wordexp.h-data: Likewise.
22032
22033 * include/stropts.h: New file.
22034 * include/uchar.h: New file.
22035 * include/aio.h: Changes to allow conformtest.pl to use the headers.
22036 * include/assert.h: Likewise.
22037 * include/ctype.h: Likewise.
22038 * include/dirent.h: Likewise.
22039 * include/dlfcn.h: Likewise.
22040 * include/fcntl.h: Likewise.
22041 * include/fnmatch.h: Likewise.
22042 * include/glob.h: Likewise.
22043 * include/grp.h: Likewise.
22044 * include/libio.h: Likewise.
22045 * include/locale.h: Likewise.
22046 * include/math.h: Likewise.
22047 * include/net/if.h: Likewise.
22048 * include/netdb.h: Likewise.
22049 * include/netinet/in.h: Likewise.
22050 * include/pthread.h: Likewise.
22051 * include/pwd.h: Likewise.
22052 * include/regex.h: Likewise.
22053 * include/sched.h: Likewise.
22054 * include/search.h: Likewise.
22055 * include/setjmp.h: Likewise.
22056 * include/signal.h: Likewise.
22057 * include/stdio.h: Likewise.
22058 * include/stdlib.h: Likewise.
22059 * include/string.h: Likewise.
22060 * include/sys/cdefs.h: Likewise.
22061 * include/sys/mman.h: Likewise.
22062 * include/sys/msg.h: Likewise.
22063 * include/sys/resource.h: Likewise.
22064 * include/sys/select.h: Likewise.
22065 * include/sys/socket.h: Likewise.
22066 * include/sys/stat.h: Likewise.
22067 * include/sys/statvfs.h: Likewise.
22068 * include/sys/time.h: Likewise.
22069 * include/sys/times.h: Likewise.
22070 * include/sys/uio.h: Likewise.
22071 * include/sys/utsname.h: Likewise.
22072 * include/sys/wait.h: Likewise.
22073 * include/termios.h: Likewise.
22074 * include/time.h: Likewise.
22075 * include/ulimit.h: Likewise.
22076 * include/unistd.h: Likewise.
22077 * include/utime.h: Likewise.
22078 * include/wchar.h: Likewise.
22079 * include/wctype.h: Likewise.
22080 * include/wordexp.h: Likewise.
22081
22082 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
22083
7a270350
UD
22084 * time/time.h: TIME_UTC must be a macro.
22085 Make timespec_get available for ISO C11 only as well.
22086
7724defc
UD
220872012-02-24 Ulrich Drepper <drepper@gmail.com>
22088
22089 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
22090 Reported by Peng Haitao <penght@cn.fujitsu.com>.
22091
6b1d1d46
JM
220922012-02-24 Joseph Myers <joseph@codesourcery.com>
22093
22094 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 22095
0f8bbd69
JM
220962012-02-24 Joseph Myers <joseph@codesourcery.com>
22097
22098 * manual/texinfo.tex: Update to version 2012-01-19.16.
22099
66ab80bc
JM
221002012-02-24 Joseph Myers <joseph@codesourcery.com>
22101
22102 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
22103
74981cc5
RM
221042012-02-24 Roland McGrath <roland@hack.frob.com>
22105
ee968201
RM
22106 [BZ #13738]
22107 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
22108 * manual/fdl-1.3.texi: New file.
22109 * manual/fdl-1.1.texi: File removed.
22110
74981cc5
RM
22111 [BZ #13738]
22112 * manual/libc.texinfo (FDL_VERSION): New @set.
22113 Use it for mention of FDL in cover text.
22114 (Documentation License): Use it in @include file name.
22115
7bb764bc
JM
221162012-02-22 Joseph Myers <joseph@codesourcery.com>
22117 Roland McGrath <roland@hack.frob.com>
22118
22119 [BZ #5461]
22120 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
22121 not LONG_LONG_MAX and LONG_LONG_MIN.
22122 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
22123 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
22124 name.
22125 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
22126
6cbeae47
JM
221272012-02-22 Joseph Myers <joseph@codesourcery.com>
22128
22129 [BZ #2547]
22130 [BZ #11365]
22131 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
22132 manipulate bits before adding and subtracting TWO23[sx].
22133 * math/libm-test.inc (nearbyint_test): Add more tests.
22134
fe45ce09
JM
221352012-02-22 Joseph Myers <joseph@codesourcery.com>
22136
22137 [BZ #2548]
22138 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
22139 bits before adding and subtracting TWO23[sx].
22140 * math/libm-test.inc (rint_test): Add more tests.
22141 (rint_test_tonearest): Likewise.
22142 (rint_test_towardzero): Likewise.
22143 (rint_test_downward): Likewise.
22144 (rint_test_upward: Likewise.
22145
ff3b3d82
JM
221462012-02-22 Joseph Myers <joseph@codesourcery.com>
22147
22148 [BZ #10110]
22149 * include/stdc-predef.h: New file. Extracted from features.h.
22150 * include/features.h: Include stdc-predef.h.
22151 * Makefile (headers): Add stdc-predef.h.
22152 * CONFORMANCE (Compiler limitations): Update.
22153
ef0aab35
JM
221542012-02-22 Joseph Myers <joseph@codesourcery.com>
22155
22156 * manual/libc.texinfo (VERSION, UPDATED): Revert.
22157
58639409
DM
221582012-02-21 David S. Miller <davem@davemloft.net>
22159
22160 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
22161 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22162
c0e70b25
DM
221632012-02-20 David S. Miller <davem@davemloft.net>
22164
22165 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
22166 using a normal save/restore sequence, rather than allocating a
22167 dummy stack frame just to store a frame pointer and restore.
22168 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22169
fb06851d
JM
221702012-02-21 Joseph Myers <joseph@codesourcery.com>
22171
22172 * manual/install.texi: Fix stray word in line-wrapped comment.
22173
7a8b71c3
DM
221742012-02-20 David S. Miller <davem@davemloft.net>
22175
d510c123
DM
22176 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
22177 both binutils and gcc support GOTDATA.
22178
0722d7c2
DM
22179 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
22180 "rd %pc" in the PIC register setup sequences.
22181
3d2b3019
DM
22182 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
22183 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22184 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22185 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22186 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22187 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22188 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22189 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22190 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
22191 (SYSCALL_ERROR_HANDLER): Likewise.
22192 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22193 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22194 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
22195 (SYSCALL_ERROR_HANDLER): Likewise.
22196
c80098a9
DM
22197 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
22198 (HAVE_GCC_GOTDATA): New.
22199 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
22200 relocation support in both binutils and gcc.
22201 * sysdeps/sparc/elf/configure: Regenerate.
22202
3a2545a0
DM
22203 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
22204 * sysdeps/sparc/sparc32/elf/configure: Delete.
22205 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
22206 * sysdeps/sparc/sparc64/elf/configure: Delete.
22207 * sysdeps/sparc/elf/configure.in: New file.
22208 * sysdeps/sparc/elf/configure: Generate.
22209
7a8b71c3
DM
22210 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
22211 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
22212 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22213 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
22214 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
22215
f1e86fca
JM
222162012-02-21 Joseph Myers <joseph@codesourcery.com>
22217
22218 * manual/install.texi: Do not mention specific glibc version
22219 numbers.
22220 * manual/libc.texinfo (VERSION, UPDATED): Update.
22221 (@copying): Use @copyright{} and range of years.
22222
0e7dfaef
JM
222232012-02-21 Joseph Myers <joseph@codesourcery.com>
22224
22225 [BZ #13695]
22226 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
22227 [crti.S not in sysdirs] (generated): Do not append.
22228 [crti.S not in sysdirs] (omit-deps): Likewise.
22229 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
22230 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
22231 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
22232 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
22233 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
22234 Likewise.
22235 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
22236 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
22237 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
22238 * csu/defs.awk: Remove file.
22239 * sysdeps/generic/initfini.c: Likewise.
22240 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
22241 variable.
22242 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
22243 Likewise.
22244
599af3ca
JM
222452012-02-20 Joseph Myers <joseph@codesourcery.com>
22246
22247 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
22248 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
22249 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
22250 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
22251 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22252 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
22253 <bits/epoll.h>.
22254 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
22255 (__EPOLL_PACKED): Define to empty if not defined by
22256 <bits/epoll.h>.
22257 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
22258 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22259 bits/epoll.h.
22260
0e499750
JM
222612012-02-20 Joseph Myers <joseph@codesourcery.com>
22262
22263 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
22264 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
22265 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
22266 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
22267 <bits/timerfd.h>.
22268 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
22269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22270 bits/timerfd.h.
22271
5ad91f6e
JM
222722012-02-20 Joseph Myers <joseph@codesourcery.com>
22273
22274 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
22275 in C locale.
22276 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22277 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22278 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
22279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22280
06b99b02
AJ
222812012-02-20 Aurelien Jarno <aurelien@aurel32.net>
22282
22283 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22284 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22285
7638c0fd
AS
222862012-02-19 Andreas Schwab <schwab@linux-m68k.org>
22287
22288 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
22289 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
22290 defined.
22291 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
22292 Likewise.
22293 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
22294 entry for 2.16.
22295
92221550
AJ
222962012-02-19 Aurelien Jarno <aurelien@aurel32.net>
22297
22298 * math/w_acos.c: Use non-signaling floating-point comparisons.
22299 * math/w_acosf.c: Likewise.
22300 * math/w_acosh.c: Likewise.
22301 * math/w_acoshf.c: Likewise.
22302 * math/w_acoshl.c: Likewise.
22303 * math/w_acosl.c: Likewise.
22304 * math/w_asin.c: Likewise.
22305 * math/w_asinf.c: Likewise.
22306 * math/w_asinl.c: Likewise.
22307 * math/w_atanh.c: Likewise.
22308 * math/w_atanhf.c: Likewise.
22309 * math/w_atanhl.c: Likewise.
22310 * math/w_exp2.c: Likewise.
22311 * math/w_exp2f.c: Likewise.
22312 * math/w_exp2l.c: Likewise.
22313 * math/w_j0.c: Likewise.
22314 * math/w_j0f.c: Likewise.
22315 * math/w_j0l.c: Likewise.
22316 * math/w_j1.c: Likewise.
22317 * math/w_j1f.c: Likewise.
22318 * math/w_j1l.c: Likewise.
22319 * math/w_jn.c: Likewise.
22320 * math/w_jnf.c: Likewise.
22321 * math/w_log.c: Likewise.
22322 * math/w_log10.c: Likewise.
22323 * math/w_log10f.c: Likewise.
22324 * math/w_log10l.c: Likewise.
22325 * math/w_log2.c: Likewise.
22326 * math/w_log2f.c: Likewise.
22327 * math/w_log2l.c: Likewise.
22328 * math/w_logf.c: Likewise.
22329 * math/w_logl.c: Likewise.
22330 * math/w_sqrt.c: Likewise.
22331 * math/w_sqrtf.c: Likewise.
22332 * math/w_sqrtl.c: Likewise.
22333 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22334 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
22335 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22336 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22337 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22338
ebaf36eb
JM
223392012-02-19 Joseph Myers <joseph@codesourcery.com>
22340
22341 [BZ #9739]
22342 * manual/string.texi (strnlen): Use correct parameter name in
22343 equivalent expression.
22344
71c254a6
JM
223452012-02-19 Joseph Myers <joseph@codesourcery.com>
22346
22347 [BZ #11174]
22348 * manual/users.texi (seteuid): Consistently use neweuid for
22349 argument name.
22350
16d2c631
JM
223512012-02-19 Joseph Myers <joseph@codesourcery.com>
22352
22353 [BZ #13704]
22354 * manual/nss.texi (Services in the NSS configuration): Correct
22355 list of services in example configuration file.
22356
cd837b09
NB
223572012-02-19 Nick Bowler <nbowler@draconx.ca>
22358
22359 [BZ #11322]
22360 * manual/arith.texi: Remove statements about negative zero
22361 behaving identically to zero.
22362
02c4bbad
JM
223632012-02-18 Joseph Myers <joseph@codesourcery.com>
22364
22365 [BZ #5993]
22366 * manual/install.texi: Do not document upgrading from libc5.
22367
366842e7
JM
223682012-02-18 Joseph Myers <joseph@codesourcery.com>
22369
22370 [BZ #4596]
22371 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
22372
dd54084d
DM
223732012-02-18 David S. Miller <davem@davemloft.net>
22374
22375 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
22376 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
22377 %o7 across the call.
22378 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
22379 instead.
22380 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
22381 SETUP_PIC_REG_LEAF.
22382 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22383 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
22384 * sysdeps/sparc/crtn.S: Likewise.
22385
2bcc53a3
UD
223862012-02-17 Ulrich Drepper <drepper@gmail.com>
22387
22388 * aout/Makefile: Remove.
22389
09c093b5
RK
223902012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
22391
22392 [BZ #13058]
22393 * manual/examples/argp-ex1.c (main): Format definition in GNU
22394 style.
22395 * manual/examples/argp-ex2.c (main): Likewise.
22396 * manual/examples/argp-ex3.c (main): Likewise.
22397 * manual/examples/argp-ex4.c (main): Likewise.
22398 * manual/examples/longopt.c (main): Use new-style prototype
22399 definition.
22400 * manual/examples/strncat.c (main): Specify return type and use
22401 (void) for arguments.
22402 * manual/examples/subopt.c (main): Use char **argv argument.
22403
2ee633a2
JM
224042012-02-17 Joseph Myers <joseph@codesourcery.com>
22405
22406 [BZ #5077]
22407 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
22408 rounding modes.
22409
0520adde
FB
224102012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
22411
22412 [BZ #6907]
22413 * manual/string.texi (strchr): Change when strchrnul is
22414 recommended.
22415
3f4081cd
DGM
224162012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
22417
22418 [BZ #174]
22419 * manual/locale.texi (setlocale): Document LOCPATH.
22420
d1b10e78
JM
224212012-02-17 Joseph Myers <joseph@codesourcery.com>
22422
22423 [BZ #10210]
22424 * manual/process.texi (execle): Move @dots{} before last argument.
22425
79c6869c
PB
224262012-02-17 Paul Bolle <pebolle@tiscali.nl>
22427
22428 [BZ #12047]
22429 * manual/charset.texi (Generic Charset Conversion): Fix typo
22430 (LC_TYPE -> LC_CTYPE).
22431
cc6e48bc
NB
224322012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
22433
22434 [BZ #5805]
22435 * manual/arith.texi (scalbn): Use @var{} on parameter names.
22436 (scalbnf): Likewise.
22437 (scalbnl): Likewise.
22438 (scalbln): Likewise.
22439 (scalblnf): Likewise.
22440 (scalblnl): Likewise.
22441 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
22442 (vwarnx): Likewise.
22443 (verr): Likewise.
22444 (verrx): Likewise.
22445 * manual/filesys.texi (telldir): Use braces around return type.
22446 * manual/llio.texi (mmap): Add space after comma.
22447 (mmap64): Likewise.
22448 * manual/math.texi (jn): Use @var{} on parameter names.
22449 (jnf): Likewise.
22450 (jnl): Likewise.
22451 (yn): Likewise.
22452 (ynf): Likewise.
22453 (ynl): Likewise.
22454 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
22455 line.
22456 * manual/resource.texi (ulimit): Use @dots{} instead of literal
22457 "...".
22458 (sched_get_priority_min): Remove semicolon on @deftypefun line.
22459 (sched_get_priority_max): Likewise.
22460 * manual/signal.texi (sigvec): Add space after comma.
22461 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
22462 names.
22463 (if_indextoname): Likewise.
22464 (if_freenameindex): Likewise.
22465 (sendto): Use ',' instead of '.' in prototype.
22466 * manual/startup.texi (syscall): Use @dots{} instead of literal
22467 "...".
22468 * manual/stdio.texi (__fpending): Separate initial words of
22469 paragraph from @deftypefun line.
22470 * manual/syslog.texi (syslog): Use @dots{} instead of literal
22471 "...".
22472 (vsyslog): Use @var{} on parameter names.
22473 * manual/terminal.texi (stty): Use @var{} on parameter names.
22474 * manual/users.texi (getutmp): Use @var{} on parameter names.
22475 (getutmpx): Likewise.
22476
5b23062f
JM
224772012-02-17 Joseph Myers <joseph@codesourcery.com>
22478
22479 [BZ #6884]
22480 * manual/stdio.texi (fopen): Fix typos in description of
22481 ",ccs=STRING".
22482
8dee4833
AJ
224832012-02-17 Aurelien Jarno <aurelien@aurel32.net>
22484
22485 [BZ #4026]
22486 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
22487 get clock_id definition.
22488
9078ce93
TS
224892012-02-17 Thomas Schwinge <thomas@schwinge.name>
22490
22491 [BZ #4822]
22492 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
22493 (madvise): Cast every argument to void on its own.
22494
3835c55f
JM
224952012-02-17 Joseph Myers <joseph@codesourcery.com>
22496
22497 [BZ #9902]
22498 * manual/startup.texi (Exit Status): Fix typo.
22499
35c47e37
JM
225002012-02-17 Joseph Myers <joseph@codesourcery.com>
22501
22502 [BZ #10140]
22503 * manual/examples/argp-ex1.c: Include <stdlib.h>.
22504 * manual/examples/argp-ex2.c: Likewise.
22505 * manual/examples/argp-ex3.c: Likewise.
22506
e3b69ca7
RH
225072012-02-16 Richard Henderson <rth@redhat.com>
22508
22509 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
22510 * sysdeps/s390/s390-32/initfini.c: Remove.
22511 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
22512 * sysdeps/s390/s390-64/initfini.c: Remove.
22513
df83af67
KK
225142012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22515
22516 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
22517 compiler output for sysdeps/generic/initfini.c.
22518 * sysdeps/sh/elf/initfini.c: Remove file.
22519
f63f3380
DM
225202012-02-16 David S. Miller <davem@davemloft.net>
22521
fb59b3a4
DM
22522 [BZ #11494]
22523 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
22524
f63f3380
DM
22525 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
22526 * sysdeps/sparc/crti.S: New file.
22527 * sysdeps/sparc/crtn.S: New file.
22528 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
22529 * sysdeps/sparc/sparc64/Makefile: Likewise.
22530
df6a4a4a
MF
225312012-02-15 Mike Frysinger <vapier@gentoo.org>
22532
6dd8f3dc 22533 [BZ #3335]
df6a4a4a
MF
22534 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
22535
1cac7236
RM
225362012-02-15 Roland McGrath <roland@hack.frob.com>
22537
d2c736f8
RM
22538 [BZ #4822]
22539 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
22540
1cac7236
RM
22541 * mach/devstream.c (cookie_io_functions_t): Macro removed.
22542 (write, read, close): Likewise.
22543 Patch by Aurelien Jarno <aurelien@aurel32.net>.
22544
8e475601
JM
225452012-02-15 Joseph Myers <joseph@codesourcery.com>
22546
22547 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
22548 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
22549 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
22550 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
22551 <bits/signalfd.h>.
22552 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
22553 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22554 bits/signalfd.h.
22555
ed656b40
MP
225562012-02-14 Marek Polacek <polacek@redhat.com>
22557
22558 * sysdeps/x86_64/crti.S: New file.
22559 * sysdeps/x86_64/crtn.S: New file.
22560 * sysdeps/x86_64/elf/initfini.c: Remove file.
22561
2a979d3a
JM
225622012-02-13 Joseph Myers <joseph@codesourcery.com>
22563
22564 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
22565 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
22566 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
22567 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
22568 <bits/inotify.h>.
22569 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
22570 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22571 bits/inotify.h.
22572
2a418ac3
JM
225732012-02-13 Joseph Myers <joseph@codesourcery.com>
22574
22575 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
22576 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
22577 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
22578 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
22579 <bits/eventfd.h>.
22580 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
22581 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22582 bits/eventfd.h.
22583
fb779be7
TS
225842012-02-10 Thomas Schwinge <thomas@codesourcery.com>
22585
e19e83c5
RM
22586 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
22587 __feraiseexcept instead of feraiseexcept.
7c35ffed 22588
fb779be7
TS
22589 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
22590 nanosleep invocations.
22591 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
22592 strings, and add error checking for a nanosleep invocations.
22593
59ba27a6
PE
225942012-02-09 Paul Eggert <eggert@cs.ucla.edu>
22595
22596 Replace FSF snail mail address with URLs, as per GNU coding standards.
22597 Most of the snail mail addresses were wrong anyway, and omitting
22598 them makes the source code easier to maintain. Almost all of the
22599 changes are to license notices and to locale LC_IDENTIFICATION
22600 addresses, except for this one:
22601 * manual/libc.texinfo: In "Published by", give the FSF's URL,
22602 not its snail mail address.
22603
57b957eb
RH
226042012-02-09 Richard Henderson <rth@twiddle.net>
22605
af850b1c
RH
22606 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
22607 of kernel-features.h.
22608
57b957eb
RH
22609 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
22610
6b73181a
MP
226112012-02-08 Marek Polacek <polacek@redhat.com>
22612
22613 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
22614 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
22615 * sysdeps/gnu/_G_config.h: Likewise.
22616 * sysdeps/generic/_G_config.h: Likewise.
22617
26ecc33a
AS
226182012-02-08 Andreas Schwab <schwab@linux-m68k.org>
22619
6c6dbc63
AS
22620 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
22621 tests.
22622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22623
e216c012
AS
22624 * sysdeps/powerpc/powerpc32/crti.S: New file.
22625 * sysdeps/powerpc/powerpc32/crtn.S: New file.
22626 * sysdeps/powerpc/powerpc64/crti.S: New file.
22627 * sysdeps/powerpc/powerpc64/crtn.S: New file.
22628
26ecc33a
AS
22629 * Makeconfig (have-initfini): Don't set.
22630 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
22631 * configure.in (nopic_initfini): Don't substitute.
22632 * config.h.in (HAVE_INITFINI): Don't #undef.
22633 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
22634 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
22635
3add8e13
JM
226362012-02-08 Joseph Myers <joseph@codesourcery.com>
22637
22638 Support crti.S and crtn.S provided directly by architectures.
22639 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
22640 [crti.S in sysdirs] (omit-deps): Likewise.
22641 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
22642 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
22643 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
22644 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
22645 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
22646 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
22647 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
22648 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
22649 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
22650 compiler output for sysdeps/generic/initfini.c.
22651 * sysdeps/i386/elf/Makefile: Remove file.
22652 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
22653
a22f12b4
MP
226542012-02-07 Marek Polacek <polacek@redhat.com>
22655
22656 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
22657 * sysdeps/gnu/_G_config.h: Likewise.
22658 * sysdeps/mach/hurd/_G_config.h: Likewise.
22659
148cf100
MP
226602012-02-07 Marek Polacek <polacek@redhat.com>
22661
22662 * math/Makefile (tests): Add tst-CMPLX2.
22663 * math/tst-CMPLX2.c: New file.
22664
cfdc0dd7
AS
226652012-02-07 Andreas Schwab <schwab@linux-m68k.org>
22666
84ba42c4
AS
22667 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22668
cfdc0dd7
AS
22669 * math/libm-test.inc (jn_test): Add missing L suffix.
22670
622c86f4
MP
226712012-02-06 Marek Polacek <polacek@redhat.com>
22672
22673 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
22674 * sysdeps/i386/fpu/e_powf.S: Likewise.
22675 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22676 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22677 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22678 * sysdeps/i386/fpu/e_pow.S: Likewise.
22679 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22680 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22681 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22682 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22683 * sysdeps/i386/fpu/e_log2.S: Likewise.
22684 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22685 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22686 * sysdeps/i386/fpu/e_powl.S: Likewise.
22687 * sysdeps/i386/fpu/s_log1p.S: Likewise.
22688 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22689 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22690 * sysdeps/i386/fpu/e_logl.S: Likewise.
22691 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22692 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
22693 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22694 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22695 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22696 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22697 * sysdeps/i386/fpu/e_log.S: Likewise.
22698 * sysdeps/i386/fpu/s_cexp.S: Likewise.
22699 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22700 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
22701 * sysdeps/i386/fpu/e_logf.S: Likewise.
22702 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22703 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22704 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
22705 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22706 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22707 * sysdeps/i386/fpu/e_log10.S: Likewise.
22708 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22709 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22710 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22711 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22712 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22713 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22714 * sysdeps/i386/asm-syntax.h: Likewise.
22715 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22716 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22717 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22718 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
22719 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
22720 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22721 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22722 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22723 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22724 * sysdeps/powerpc/sysdep.h: Likewise.
22725 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22726 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22727
d4a54ac6
JM
227282012-02-06 Joseph Myers <joseph@codesourcery.com>
22729
22730 [BZ #411]
22731 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
22732
314054ea
JM
227332012-02-06 Joseph Myers <joseph@codesourcery.com>
22734
22735 * sysdeps/i386/sysdep.h: Include <features.h>.
22736 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
22737 version.
22738
d8e0ca50
JM
227392012-02-05 Joseph Myers <joseph@codesourcery.com>
22740
22741 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
22742 Define.
22743 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
22744 LOAD_PIC_REG_STR.
22745
b1da7dd9
JM
227462012-02-03 Joseph Myers <joseph@codesourcery.com>
22747
22748 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
22749 (SETUP_PIC_REG): Use GET_PC_THUNK.
22750 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
22751 macro.
22752
9a1d9254
JM
227532012-02-03 Joseph Myers <joseph@codesourcery.com>
22754
22755 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
22756 for non-PIC compilation.
22757 (SETUP_PIC_REG): Add .p2align directive.
22758 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
22759 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
22760 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22761 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22762 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22763 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22764 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
22765 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22766 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22767 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22768 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22769 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22770 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22771 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22772 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22773 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22774 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22775 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22776 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22777 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22778 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22779 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22780 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22781 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22782 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22783 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22784 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22785 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22786 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22787 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22788 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22789 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22790 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22791 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22792 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22793 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22794 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22795 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22796 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22797 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22798 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22799
65dc3b75
JM
228002012-02-03 Joseph Myers <joseph@codesourcery.com>
22801
22802 * math/tst-CMPLX.c: Include <stdio.h>.
22803
d55bf177
JM
228042012-01-31 Joseph Myers <joseph@codesourcery.com>
22805
22806 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
22807 float.
22808 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
22809 * sysdeps/sparc/bits/mathdef.h: Likewise.
22810
69db4f8f
MP
228112012-01-31 Marek Polacek <polacek@redhat.com>
22812
22813 * libio/libio.h: Don't define _PARAMS.
22814 * locale/programs/config.h: Don't define PARAMS.
22815 * stdlib/strtol_l.c: Likewise.
22816 (__strtol_l): Remove PARAMS from the prototype.
22817
41b81892
UD
228182012-01-31 Ulrich Drepper <drepper@gmail.com>
22819
3b49edc0
UD
22820 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
22821 names. Just use the correct names. Remove unnecessary wrapper
22822 functions.
22823 * malloc/arena.c: Likewise.
22824 * malloc/hooks.c: Likewise.
22825
41b81892
UD
22826 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
22827 ARENA_TEST says not to. Simplify test for creation of a new arena.
22828 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
22829
27a25b6e
UD
228302012-01-30 Ulrich Drepper <drepper@gmail.com>
22831
22832 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
22833 into tail calls.
22834 (update_get_addr): New function.
22835 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
22836 GET_ADDR_MODULE parameter.
22837
c8a89e7d
JM
228382012-01-30 Joseph Myers <joseph@codesourcery.com>
22839
22840 * crypt/cert.c: Remove __STDC__ conditionals.
22841 * crypt/crypt-entry.c: Likewise.
22842 * crypt/crypt_util.c: Likewise.
22843 * libio/filedoalloc.c: Likewise.
22844 * libio/fileops.c: Likewise.
22845 * libio/genops.c: Likewise.
22846 * libio/iofclose.c: Likewise.
22847 * libio/iofdopen.c: Likewise.
22848 * libio/iofopen.c: Likewise.
22849 * libio/iofopen64.c: Likewise.
22850 * libio/iogetdelim.c: Likewise.
22851 * libio/iopopen.c: Likewise.
22852 * libio/obprintf.c: Likewise.
22853 * libio/oldfileops.c: Likewise.
22854 * libio/oldiofclose.c: Likewise.
22855 * libio/oldiofdopen.c: Likewise.
22856 * libio/oldiofopen.c: Likewise.
22857 * libio/oldiopopen.c: Likewise.
22858 * libio/wfiledoalloc.c: Likewise.
22859 * libio/wgenops.c: Likewise.
22860 * locale/programs/xmalloc.c: Likewise.
22861 * misc/syslog.c: Likewise.
22862 * stdio-common/xbug.c: Likewise.
22863 * string/memchr.c: Likewise.
22864 * string/memcmp.c: Likewise.
22865 * string/memrchr.c: Likewise.
22866 * string/rawmemchr.c: Likewise.
22867 * sysdeps/posix/getcwd.c: Likewise.
22868 * time/strftime_l.c: Likewise.
22869
3b100462
JM
228702012-01-30 Joseph Myers <joseph@codesourcery.com>
22871
22872 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
22873 * config.make.in (config-cflags-sse2avx): Define.
22874 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
22875 Fix typo.
22876
607998af
CM
228772012-01-29 Chris Metcalf <cmetcalf@tilera.com>
22878
22879 * scripts/config.guess: Update from upstream config git repository.
22880 * scripts/config.sub: Likewise.
22881
3601428f
CM
228822012-01-28 Chris Metcalf <cmetcalf@tilera.com>
22883
3ac8b282
CM
22884 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
22885 (EM_NUM): Update.
22886 (R_TILEPRO_*, R_TILEGX_*): New macros.
22887
e034841e
CM
22888 * scripts/firstversions.awk: Fix bug in version range handling.
22889
540d7568
CM
22890 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
22891
3601428f
CM
22892 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
22893
463de862
CM
22894 * include/sys/epoll.h: New file.
22895 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
22896 libc_hidden_def.
22897
73139a76
UD
228982012-01-28 Ulrich Drepper <drepper@gmail.com>
22899
96bc5b45
UD
22900 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
22901 Avoid unnecessary __WORDSIZE == 64 test.
22902 (fmaxf): Use VEX format if possible.
22903 (fmax): Likewise.
22904 (fminf): Likewise.
22905 (fmin): Likewise.
22906
56f6f6a2
UD
22907 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
22908 * math/math_private.h: Remove libc_fegetround* and
22909 libc_fesetround*.
22910 * sysdeps/i386/configure.in: Check for -msse2avx.
22911 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
22912 also if SSE2AVX is defined.
22913 Remove libc_fegetround* and libc_fesetround*.
22914 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
22915 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
22916 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
22917 of HAS_YMM_USABLE.
22918 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22919 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22920 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22921 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22922 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22923
73139a76
UD
22924 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
22925
d73f93a4
AZ
229262012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22927
22928 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
22929 size is not set.
22930 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22931
6ee65ed6
UD
229322012-01-27 Ulrich Drepper <drepper@gmail.com>
22933
22934 [BZ #13618]
22935 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
22936 relocation.
22937 * Makeconfig (libm): Define.
22938 * elf/Makefile: Add rules to build and run tst-relsort1.
22939 * elf/tst-relsort1.c: New file.
22940 * elf/tst-relsort1mod1.c: New file.
22941 * elf/tst-relsort1mod2.c: New file.
22942
8db21882
JM
229432012-01-27 Joseph Myers <joseph@codesourcery.com>
22944
22945 * math/s_ldexp.c: Remove __STDC__ conditionals.
22946 * math/s_ldexpf.c: Likewise.
22947 * math/s_ldexpl.c: Likewise.
22948 * math/s_nextafter.c: Likewise.
22949 * math/s_nexttowardf.c: Likewise.
22950 * math/s_significand.c: Likewise.
22951 * math/s_significandf.c: Likewise.
22952 * math/s_significandl.c: Likewise.
22953 * math/w_jnl.c: Likewise.
22954 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22955 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22956 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22957 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22958 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22959 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22960 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
22961 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22962 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22963 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22964 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22965 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22966 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22967 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22968 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22969 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22970 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22971 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22972 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22973 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22974 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22975 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22976 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22977 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22978 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22979 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22980 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22981 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22982 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22983 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22984 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22985 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22986 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22987 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22988 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22989 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22990 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22991 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22992 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22993 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22994 * sysdeps/ieee754/k_standard.c: Likewise.
22995 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22996 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22997 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22998 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22999 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23000 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23001 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23002 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23003 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23004 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23005 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23006 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23007 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23008 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23009 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23010 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23011 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23012 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23013 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23014 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23015 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23016 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23017 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23018 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23019 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23020 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23021 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23022 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23023 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23024 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23025 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23026 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
23027 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23028 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23029 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23030 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23031 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
23032 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23033 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23034 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
23035 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
23036 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23037 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23038 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
23039 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23040 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23041 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23042 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23043 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23044 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23045 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
23046 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23047 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23048 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23049 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23050 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23051 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
23052 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23053 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23054 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23055 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23056 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23057 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23058 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23059 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23060 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23061 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23062 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23063 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23064 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23065 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23066 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23067 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23068 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23069 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23070 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23071 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23072 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23073 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23074 * sysdeps/ieee754/s_matherr.c: Likewise.
23075 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23076 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23077 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23078 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23079
965a54a4
JM
230802012-01-26 Joseph Myers <joseph@codesourcery.com>
23081
23082 * crypt/md5.h: Remove __STDC__ conditionals.
23083 * libio/libioP.h: Likewise.
23084 * locale/programs/config.h: Likewise.
23085 * sysdeps/generic/sysdep.h: Likewise.
23086 * sysdeps/i386/asm-syntax.h: Likewise.
23087 * sysdeps/s390/asm-syntax.h: Likewise.
23088 * sysdeps/unix/sysdep.h: Likewise.
23089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23091
7071ad79
JM
230922012-01-26 Joseph Myers <joseph@codesourcery.com>
23093
23094 * libio/libio.h: Remove __STDC__ conditionals.
23095 * malloc/obstack.h: Likewise.
23096 * math/complex.h: Likewise.
23097 * math/math.h: Likewise.
23098 * sysdeps/generic/_G_config.h: Likewise.
23099 * sysdeps/gnu/_G_config.h: Likewise.
23100 * sysdeps/mach/hurd/_G_config.h: Likewise.
23101 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23102 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23103 * sysdeps/sparc/bits/mathdef.h: Likewise.
23104
afc5ed09
UD
231052012-01-26 Ulrich Drepper <drepper@gmail.com>
23106
23107 [BZ #13583]
23108 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 23109 Clean up HAS_* macros.
afc5ed09 23110 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
23111 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
23112 possible.
23113 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
23114 HAS_AVX.
23115 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23116 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23117 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23118 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23119 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 23120
bdb6de1d
JM
231212012-01-25 Joseph Myers <joseph@codesourcery.com>
23122
23123 * elf/tst-unique3.cc (gets): Remove declaration.
23124 * elf/tst-unique3lib.cc (gets): Likewise.
23125 * elf/tst-unique3lib2.cc (gets): Likewise.
23126 * elf/tst-unique4.cc (gets): Likewise.
23127
b15549e6
UD
231282012-01-24 Ulrich Drepper <drepper@gmail.com>
23129
23130 * include/stdio.h: Add C++ protection. Add gets declarations and
23131 definitions.
23132 * debug/tst-chk1.c: Don't declare gets here.
23133 * stdio-common/tst-gets.c: Likewise.
23134
a037381f
JM
231352012-01-24 Joseph Myers <joseph@codesourcery.com>
23136
23137 * posix/glob: Remove directory.
23138
f1d4aa75
JM
231392012-01-24 Joseph Myers <joseph@codesourcery.com>
23140
23141 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
23142
81c0c964
PT
231432012-01-22 Pino Toscano <toscano.pino@tiscali.it>
23144
23145 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
23146 of the non-standard EPFNOSUPPORT.
23147
0ea698ae
ST
231482011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
23149
23150 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
23151 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
23152 ANYWHERE set to 1 only on KERN_NO_SPACE error.
23153
d220b117
UD
231542012-01-21 Ulrich Drepper <drepper@gmail.com>
23155
23156 * wcsmbs/uchar.h: Test __STDC_VERSION__.
23157
3e1aa84e
UD
231582012-01-20 Ulrich Drepper <drepper@gmail.com>
23159
23160 * nscd/aicache.c (addhstaiX): Do not cache negative results of
23161 transient errors.
23162 * nscd/grpcache.c (cache_addgr): Likewise.
23163 * nscd/hstcache.c (cache_addhst): Likewise.
23164 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23165 * nscd/pwdcache.c (cache_addpw): Likewise.
23166 * nscd/servicescache.c (cache_addserv): Likewise.
23167
400aa020
UD
231682012-01-16 Ulrich Drepper <drepper@gmail.com>
23169
d77e7869
UD
23170 * malloc/malloc.c: Various cleanups.
23171 * malloc/hooks.c: Likewise.
23172
400aa020
UD
23173 * stdlib/Makefile (tests): Add bug-fmtmsg1.
23174 * stdlib/bug-fmtmsg1.c: New file.
23175
23176 * stdlib/fmtmsg.c (init): Add missing unlock.
23177 Patch by Peng Haitao <penght@cn.fujitsu.com>.
23178
e0a309cf
MP
231792012-01-12 Marek Polacek <polacek@redhat.com>
23180
23181 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
23182 and _GNU_SOURCE.
23183
929d11c7
WS
231842012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23185
23186 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
23187 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
23188 macro to ensure uniqueness of label name.
23189 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23190 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23191
41d0e869
UD
231922012-01-11 Ulrich Drepper <drepper@gmail.com>
23193
0cc5ed3b
UD
23194 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
23195
41d0e869
UD
23196 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
23197 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23198 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23199 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
23200
a47a831a
UD
232012012-01-10 Ulrich Drepper <drepper@gmail.com>
23202
daa891c0
UD
23203 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
23204
23205 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
23206 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23207 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23208
e58ef0f2
UD
23209 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
23210
a47a831a 23211 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
23212 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23213 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 23214 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
23215
23216 * math/bits/math-finite.h: Add ldexp support.
23217
a0bfc9c7
MP
232182012-01-10 Marek Polacek <polacek@redhat.com>
23219
23220 * locale/programs/localedef.h (show_archive_content): Add noreturn
23221 attribute.
23222
d6e97a1d
UD
232232012-01-09 Ulrich Drepper <drepper@gmail.com>
23224
23225 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
23226
d5835c26
UD
232272012-01-08 Ulrich Drepper <drepper@gmail.com>
23228
e5f484c6
UD
23229 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
23230
d5835c26
UD
23231 * io/Makefile (headers): Add bits/poll2.h.
23232
d1f741e9
WS
232332011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
23234
23235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
23236 typo #include statement.
23237
ec09c1c4
UD
232382012-01-08 Ulrich Drepper <drepper@gmail.com>
23239
23240 * include/sys/cdefs.h: Define __attribute_alloc_size.
23241 * catgets/gencat.c: Add alloc_size attribute and apply consistently
23242 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
23243 * elf/pldd.c: Likewise.
23244 * iconv/iconv_charmap.c: Likewise.
23245 * iconv/iconvconfig.c: Likewise.
23246 * iconv/strtab.c: Likewise.
23247 * locale/programs/locale.c: Likewise.
23248 * locale/programs/localedef.h: Likewise.
23249 * locale/programs/simple-hash.c: Likewise.
23250 * nscd/nscd.h: Likewise.
23251 * nss/makedb.c: Likewise.
23252 * sysdeps/generic/ldconfig.h: Likewise.
23253 * locale/programs/localedef.c: Remove xmalloc prototype.
23254 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
23255
20b38e03
PP
232562012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23257
23258 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
23259 appropriate.
23260
a0da5fe1
UD
232612012-01-08 Ulrich Drepper <drepper@gmail.com>
23262
1d5a644a 23263 * math/Makefile (tests): Add tst-CMPLX.
669704fd 23264 * math/tst-CMPLX.c: New file.
1d5a644a 23265
8784a6db
UD
23266 * math/complex.h (CMPLXL): Fix typo.
23267
d9a216c0
UD
23268 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
23269 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
23270 GLIBC_2.16.
23271 * debug/tst-chk1.c: Add poll and ppoll tests.
23272 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
23273 * include/sys/poll.h: Add hidden proto for ppoll.
23274 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
23275 * sysdeps/mach/hurd/ppoll.c: Likewise.
23276 * io/ppoll.c: Likewise.
23277 * debug/poll_chk.c: New file.
23278 * debug/ppoll_chk.c: New file.
23279 * include/bits/poll2.h: New file.
23280 * io/bits/poll2.h: New file.
23281
ac097f5c
UD
23282 [BZ #1350]
23283 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
23284
2119dcfa
UD
23285 * configure.in: static is always set to yes. Remove.
23286 * config.make.in: Don't set build-static.
23287 * Makeconfig: Remove use of build-static.
23288 * dlfcn/Makefile: Likewise.
23289 * elf/Makefile: Likewise.
23290 * math/Makefile: Likewise.
23291 * misc/Makefile: Likewise.
23292 * nptl/Makefile: Likewise.
23293 * sysdeps/mach/hurd/Makefile: Likewise.
23294
121766a9
UD
23295 * configure.in: PWD_P is not used anymore.
23296 * config.make.in: Remove PWD_P entry.
23297
51a1d39c 23298 * configure.in: Remove last remnants of RANLIB.
8720d066 23299 No need to check for signed size_t anymore.
215f4bdc
UD
23300 Don't set libc_commonpagesize and libc_relro_required here for Alpha
23301 and IA-64.
3857022a 23302 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
23303 * aclocal.m4: Likewise.
23304
d3ed7225
UD
23305 * wcsmbs/mbrtoc16.c: Implement using towc function.
23306 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
23307 * wcsmbs/wcsmbsload.c: Likewise.
23308 * iconv/gconv_simple.c: Likewise.
23309 * iconv/gconv_int.h: Likewise.
23310 * iconv/gconv_builtin.h: Likewise.
23311 * iconv/iconv_prog.c: Remove CHAR16 handling.
23312
23313 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
23314
23315 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
23316
a0da5fe1
UD
23317 * configure.in: Remove --with-elf and --enable-bounded options.
23318 Dont set base_machine for ia64. More non-ELF conditions removed.
23319 Remove testing and setting of leading underscore information.
23320 * config.make.in (build-bounded): Set to no.
23321 * config.h.in: Remove NO_UNDERSCORES entry.
23322 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
23323 them.
23324 * csu/start.c: Remove !NO_UNDERSCORE code.
23325 * locale/localeinfo.h: Likewise.
23326 * sysdeps/generic/machine-gmon.h: Likewise.
23327 * sysdeps/generic/sysdep.h: Likewise.
23328 * sysdeps/i386/sysdep.h: Likewise.
23329 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23330 * sysdeps/mach/sysdep.h: Likewise.
23331 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23332 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23333 * sysdeps/sh/sysdep.h: Likewise.
23334 * sysdeps/sparc/sparc32/alloca.S: Likewise.
23335 * sysdeps/unix/i386/sysdep.S: Likewise.
23336 * sysdeps/unix/sparc/start.c: Likewise.
23337 * sysdeps/unix/sparc/sysdep.S: Likewise.
23338 * sysdeps/unix/sparc/sysdep.h: Likewise.
23339 * sysdeps/unix/start.c: Likewise.
23340 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23341 * sysdeps/x86_64/sysdep.h: Likewise.
23342
df78418a
UD
233432012-01-07 Ulrich Drepper <drepper@gmail.com>
23344
a784e502
UD
23345 [BZ #13553]
23346 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
23347 for non-gcc.
23348 * argp/argp-fmtstream.h: Use const instead __const.
23349 * argp/argp.h: Likewise.
23350 * assert/assert.h: Likewise.
23351 * bits/fenv.h: Likewise.
23352 * bits/sched.h: Likewise.
23353 * bits/sigset.h: Likewise.
23354 * bits/sigthread.h: Likewise.
23355 * catgets/nl_types.h: Likewise.
23356 * conform/data/pthread.h-data: Likewise.
23357 * crypt/crypt-private.h: Likewise.
23358 * crypt/crypt.h: Likewise.
23359 * crypt/crypt_util.c: Likewise.
23360 * ctype/ctype.h: Likewise.
23361 * debug/execinfo.h: Likewise.
23362 * debug/mbsnrtowcs_chk.c: Likewise.
23363 * debug/mbsrtowcs_chk.c: Likewise.
23364 * debug/wcsnrtombs_chk.c: Likewise.
23365 * debug/wcsrtombs_chk.c: Likewise.
23366 * debug/wcstombs_chk.c: Likewise.
23367 * dirent/dirent.h: Likewise.
23368 * dlfcn/dlfcn.h: Likewise.
23369 * elf/neededtest4.c: Likewise.
23370 * grp/grp.h: Likewise.
23371 * gshadow/gshadow.h: Likewise.
23372 * iconv/gconv.h: Likewise.
23373 * iconv/gconv_int.h: Likewise.
23374 * iconv/gconv_simple.c: Likewise.
23375 * iconv/iconv.h: Likewise.
23376 * iconv/loop.c: Likewise.
23377 * iconv/skeleton.c: Likewise.
23378 * include/aio.h: Likewise.
23379 * include/aliases.h: Likewise.
23380 * include/argz.h: Likewise.
23381 * include/arpa/inet.h: Likewise.
23382 * include/assert.h: Likewise.
23383 * include/dirent.h: Likewise.
23384 * include/dlfcn.h: Likewise.
23385 * include/execinfo.h: Likewise.
23386 * include/fcntl.h: Likewise.
23387 * include/fenv.h: Likewise.
23388 * include/glob.h: Likewise.
23389 * include/grp.h: Likewise.
23390 * include/libintl.h: Likewise.
23391 * include/mntent.h: Likewise.
23392 * include/netdb.h: Likewise.
23393 * include/pwd.h: Likewise.
23394 * include/rpc/netdb.h: Likewise.
23395 * include/sched.h: Likewise.
23396 * include/search.h: Likewise.
23397 * include/shadow.h: Likewise.
23398 * include/signal.h: Likewise.
23399 * include/stdio.h: Likewise.
23400 * include/stdlib.h: Likewise.
23401 * include/string.h: Likewise.
23402 * include/sys/socket.h: Likewise.
23403 * include/sys/stat.h: Likewise.
23404 * include/sys/statfs.h: Likewise.
23405 * include/sys/statvfs.h: Likewise.
23406 * include/sys/syslog.h: Likewise.
23407 * include/sys/time.h: Likewise.
23408 * include/sys/uio.h: Likewise.
23409 * include/time.h: Likewise.
23410 * include/unistd.h: Likewise.
23411 * include/utmp.h: Likewise.
23412 * include/wchar.h: Likewise.
23413 * include/wctype.h: Likewise.
23414 * inet/aliases.h: Likewise.
23415 * inet/arpa/inet.h: Likewise.
23416 * inet/netinet/ether.h: Likewise.
23417 * inet/netinet/in.h: Likewise.
23418 * intl/libintl.h: Likewise.
23419 * io/bits/fcntl2.h: Likewise.
23420 * io/fcntl.h: Likewise.
23421 * io/ftw.h: Likewise.
23422 * io/sys/poll.h: Likewise.
23423 * io/sys/stat.h: Likewise.
23424 * io/sys/statfs.h: Likewise.
23425 * io/sys/statvfs.h: Likewise.
23426 * io/utime.h: Likewise.
23427 * libio/bits/stdio.h: Likewise.
23428 * libio/bits/stdio2.h: Likewise.
23429 * libio/libio.h: Likewise.
23430 * libio/libioP.h: Likewise.
23431 * libio/stdio.h: Likewise.
23432 * locale/lc-ctype.c: Likewise.
23433 * locale/locale.h: Likewise.
23434 * login/utmp.h: Likewise.
23435 * malloc/arena.c: Likewise.
23436 * malloc/malloc.c: Likewise.
23437 * malloc/malloc.h: Likewise.
23438 * malloc/mcheck.c: Likewise.
23439 * malloc/mtrace.c: Likewise.
23440 * math/bits/mathcalls.h: Likewise.
23441 * math/fenv.h: Likewise.
23442 * math/math_private.h: Likewise.
23443 * misc/bits/error.h: Likewise.
23444 * misc/bits/syslog.h: Likewise.
23445 * misc/err.h: Likewise.
23446 * misc/error.h: Likewise.
23447 * misc/fstab.h: Likewise.
23448 * misc/mntent.h: Likewise.
23449 * misc/regexp.h: Likewise.
23450 * misc/search.h: Likewise.
23451 * misc/sgtty.h: Likewise.
23452 * misc/sys/mman.h: Likewise.
23453 * misc/sys/syslog.h: Likewise.
23454 * misc/sys/uio.h: Likewise.
23455 * misc/sys/xattr.h: Likewise.
23456 * misc/ttyent.h: Likewise.
23457 * nis/rpcsvc/ypclnt.h: Likewise.
23458 * nss/nss.h: Likewise.
23459 * posix/bits/unistd.h: Likewise.
23460 * posix/fnmatch.h: Likewise.
23461 * posix/glob.h: Likewise.
23462 * posix/sched.h: Likewise.
23463 * posix/spawn.h: Likewise.
23464 * posix/sys/wait.h: Likewise.
23465 * posix/unistd.h: Likewise.
23466 * posix/wordexp.h: Likewise.
23467 * pwd/pwd.h: Likewise.
23468 * resolv/netdb.h: Likewise.
23469 * resource/sys/resource.h: Likewise.
23470 * rt/aio.h: Likewise.
23471 * rt/bits/mqueue2.h: Likewise.
23472 * rt/mqueue.h: Likewise.
23473 * shadow/shadow.h: Likewise.
23474 * signal/signal.h: Likewise.
23475 * socket/send.c: Likewise.
23476 * socket/sendto.c: Likewise.
23477 * socket/sys/socket.h: Likewise.
23478 * stdio-common/printf.h: Likewise.
23479 * stdlib/bits/stdlib.h: Likewise.
23480 * stdlib/fmtmsg.h: Likewise.
23481 * stdlib/monetary.h: Likewise.
23482 * stdlib/stdlib.h: Likewise.
23483 * stdlib/ucontext.h: Likewise.
23484 * streams/stropts.h: Likewise.
23485 * string/argz.h: Likewise.
23486 * string/bits/string2.h: Likewise.
23487 * string/string.h: Likewise.
23488 * string/strings.h: Likewise.
23489 * sunrpc/rpc/auth.h: Likewise.
23490 * sunrpc/rpc/auth_des.h: Likewise.
23491 * sunrpc/rpc/clnt.h: Likewise.
23492 * sunrpc/rpc/netdb.h: Likewise.
23493 * sunrpc/rpc/pmap_clnt.h: Likewise.
23494 * sunrpc/rpc/xdr.h: Likewise.
23495 * sysdeps/generic/inttypes.h: Likewise.
23496 * sysdeps/generic/net/if.h: Likewise.
23497 * sysdeps/generic/sys/swap.h: Likewise.
23498 * sysdeps/gnu/net/if.h: Likewise.
23499 * sysdeps/gnu/utmpx.h: Likewise.
23500 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
23501 * sysdeps/i386/i486/bits/string.h: Likewise.
23502 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
23503 * sysdeps/s390/bits/string.h: Likewise.
23504 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
23505 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
23506 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
23507 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
23508 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
23509 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
23510 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
23511 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
23512 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
23513 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
23514 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
23515 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23516 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
23517 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23518 * sysdeps/unix/sysv/linux/readv.c: Likewise.
23519 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
23520 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
23521 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23522 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
23523 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
23524 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23525 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
23526 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
23527 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
23528 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
23529 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
23530 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
23531 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23532 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
23533 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
23534 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
23535 * sysvipc/sys/ipc.h: Likewise.
23536 * sysvipc/sys/msg.h: Likewise.
23537 * sysvipc/sys/sem.h: Likewise.
23538 * sysvipc/sys/shm.h: Likewise.
23539 * termios/termios.h: Likewise.
23540 * time/sys/time.h: Likewise.
23541 * time/time.h: Likewise.
23542 * wcsmbs/bits/wchar2.h: Likewise.
23543 * wcsmbs/uchar.h: Likewise.
23544 * wcsmbs/wchar.h: Likewise.
23545 * wctype/wctype.h: Likewise.
23546
0269750c
UD
23547 [BZ #13551]
23548 * Makeconfig: Remove all but ELF support including AIX support.
23549 * Makerules: Likewise.
23550 * config.h.in: Likewise.
23551 * config.make.in: Likewise.
23552 * configure: Likewise.
23553 * configure.in: Likewise.
23554 * csu/Makefile: Likewise.
23555 * csu/version.c: Likewise.
23556 * debug/Makefile: Likewise.
23557 * dlfcn/Makefile: Likewise.
23558 * elf/Makefile: Likewise.
23559 * extra-lib.mk: Likewise.
23560 * iconv/Makefile: Likewise.
23561 * include/libc-symbols.h: Likewise.
23562 * include/shlib-compat.h: Likewise.
23563 * resolv/Makefile: Likewise.
23564 * resolv/res_libc.c: Likewise.
23565 * rt/Makefile: Likewise.
23566 * sysdeps/i386/asm-syntax.h: Likewise.
23567 * sysdeps/i386/sysdep.h: Likewise.
23568 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23569 * sysdeps/mach/sysdep.h: Likewise.
23570 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
23571 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
23572 * sysdeps/s390/asm-syntax.h: Likewise.
23573 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23574 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23575 * sysdeps/sh/sysdep.h: Likewise.
23576 * sysdeps/unix/sparc/sysdep.h: Likewise.
23577 * sysdeps/wordsize-32/divdi3.c: Likewise.
23578 * sysdeps/x86_64/sysdep.h: Likewise.
23579
00bbd29b
UD
23580 * argp/Versions: Remove _argp_unlock_xxx.
23581
23582 [BZ #13559]
23583 * abilist/ld.abilist: Update. Adjust for removal of tls option.
23584 * abilist/libBrokenLocale.abilist: Likewise.
23585 * abilist/libanl.abilist: Likewise.
23586 * abilist/libc.abilist: Likewise.
23587 * abilist/libcrypt.abilist: Likewise.
23588 * abilist/libdl.abilist: Likewise.
23589 * abilist/libm.abilist: Likewise.
23590 * abilist/libnsl.abilist: Likewise.
23591 * abilist/libpthread.abilist: Likewise.
23592 * abilist/libresolv.abilist: Likewise.
23593 * abilist/librt.abilist: Likewise.
23594 * abilist/libthread_db.abilist: Likewise.
23595 * abilist/libutil.abilist: Likewise.
23596 * abilist/libnss_db.abilist: New file.
23597
23598 * scripts/abilist.awk: Add support for indirect functions.
23599
a2693a0e
UD
23600 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
23601
3f05895f
UD
23602 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
23603
ecb6fb48
UD
23604 * shlib-versions: Remove entries for ports architectures.
23605
664f8cb9
UD
23606 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
23607 files in ports.
23608 * elf/stackguard-macros.h: Remove support for IA-64.
23609 * elf/tst-auditmod1.c: Likewise.
23610 * sysdeps/generic/ldsodefs.h: Likewise.
23611
7ae81d88
UD
23612 * sysdeps/unix/sysv/linux/configure.in: Ports should define
23613 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
23614 configure files.
23615
bdeba135
UD
23616 [BZ #13552]
23617 * configure.in: Remove --enable-omitfp support.
23618 * FAQ.in: Adjust.
23619 * config.make.in: Likewise.
23620 * Makeconfig: Likewise.
23621 * manual/install.texi: Likewise.
23622
d75a0a62
UD
23623 In case anyone cares, the IA-64 architecture could move to ports.
23624 * sysdeps/ia64/*: Removed.
23625 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 23626 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 23627
dcc9756b
UD
23628 [BZ #13555]
23629 * configure.in: Remove entries for unsupported architectures.
23630
d3761ebc 23631 [BZ #13533]
9954432e
UD
23632 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
23633 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
23634 routines.
23635 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
23636 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
23637 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
23638 fall back to using wcrtomb.
23639 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
23640 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
23641 renaming.
23642 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
23643 * wcsmbs/tst-c16c32-1.c: New file.
23644
23645 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
23646 local variable.
23647
c3a87236
UD
23648 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
23649
28926a1b
UD
23650 * elf/tst-unique3.cc: Add explicit declaration of gets.
23651 * elf/tst-unique3lib.cc: Likewise.
23652 * elf/tst-unique3lib2.cc: Likewise.
23653 * elf/tst-unique4.cc: Likewise.
23654
df78418a
UD
23655 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
23656
8ecd6b2a
JM
236572012-01-06 Joseph Myers <joseph@codesourcery.com>
23658
23659 [BZ #13566]
23660 * assert/assert.h (static_assert): Don't define for C++.
23661 * libio/stdio.h (gets): Do declare for C++ <= C++11.
23662 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
23663
9f115170
UD
236642012-01-03 Ulrich Drepper <drepper@gmail.com>
23665
5e0d0300
UD
23666 * iconv/loop.c (single loop): Fix assertion in storing of
23667 remaining bytes.
23668
9f115170
UD
23669 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
23670
81fb02b0
UD
236712012-01-01 Ulrich Drepper <drepper@gmail.com>
23672
23673 * posix/getconf.c: Update copyright year.
23674 * nss/getent.c: Likewise.
a316c1f6 23675 * nss/makedb.c: Likewise.
81fb02b0
UD
23676 * iconv/iconvconfig.c: Likewise.
23677 * iconv/iconv_prog.c: Likewise.
23678 * elf/ldconfig.c: Likewise.
a316c1f6
UD
23679 * elf/pldd.c: Likewise.
23680 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
23681 * catgets/gencat.c: Likewise.
23682 * csu/version.c: Likewise.
23683 * elf/ldd.bash.in: Likewise.
23684 * elf/sprof.c (print_version): Likewise.
23685 * locale/programs/locale.c: Likewise.
23686 * locale/programs/localedef.c: Likewise.
a316c1f6 23687 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
23688 * nscd/nscd.c (print_version): Likewise.
23689 * debug/xtrace.sh: Likewise.
23690 * malloc/memusage.sh: Likewise.
23691 * malloc/mtrace.pl: Likewise.
23692 * debug/catchsegv.sh: Likewise.
23693
2ba92745
JJ
236942011-12-30 Jakub Jelinek <jakub@redhat.com>
23695
23696 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
23697 pure attribute.
23698
dadebdae
UD
236992011-12-24 Ulrich Drepper <drepper@gmail.com>
23700
d3761ebc 23701 [BZ #13533]
db6af3eb
UD
23702 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
23703 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
23704 transformations.
23705 * iconv/gconv_int.h: Likewise.
23706 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
23707 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
23708 from libc for GLIBC_2.16.
23709 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
23710 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
23711 * wcsmbs/uchar.h: Really define mbstate_t.
23712 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
23713 * wcsmbs/c16rtomb.c: New file.
23714 * wcsmbs/mbrtoc16.c: New file.
23715 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
23716 for C/POSIX locale.
23717 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
23718 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
23719
dadebdae
UD
23720 * wcsmbs/wchar.h: Add missing __restrict.
23721
67371b56
UD
237222011-12-23 Ulrich Drepper <drepper@gmail.com>
23723
74033a25
UD
23724 [BZ #13532]
23725 * time/Makefile (routines): Add timespec_get.
23726 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
23727 * time/time.h: Define TIME_UTC and declare timespec_get. Define
23728 timespec for ISO C11.
23729 * time/timespec_get.c: New file.
23730 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
23731 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
23732
380d7e87
UD
23733 [BZ #13531]
23734 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
23735 * stdlib/stdlib.h: Declare aligned_alloc.
23736 * Versions.def: Add GLIBC_2.16 for libc.
23737 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
23738
4e9e7a35
UD
23739 [BZ 13527]
23740 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
23741 ISO C11.
23742
380d7e87 23743 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
23744 code.
23745
03a71829
UD
23746 [BZ #13528]
23747 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
23748
839e283e
UD
23749 [BZ #13529]
23750 * assert/assert.h (static_assert): Define.
23751
ce5294e2 23752 * version.h: Update for 2.16 development version.
90fa7312 23753
8d44e150 23754 [BZ #13526]
d7809905
UD
23755 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
23756 _ISOC11_SOURCE.
23757
c0da14cd
UD
23758 * version.h (RELEASE): Bump for 2.15 release.
23759 * include/features.h (__GLIBC_MINOR__): Bump to 15.
23760
530a3249
MP
23761 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
23762 Patch by Marek Polacek <mpolacek@redhat.com>.
23763
67371b56
UD
23764 * bits/byteswap.h: Protect long long constants with __extension__.
23765 * sysdeps/i386/bits/byteswap.h: Likewise.
23766 * sysdeps/ia64/bits/byteswap.h: Likewise.
23767 * sysdeps/s390/bits/byteswap.h: Likewise.
23768 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23769
15db4de1
LD
237702011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23771
23772 [BZ #13540]
bbe315ea
LD
23773 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
23774 destination buffer.
15db4de1
LD
23775 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
23776
2b2596b1
MP
237772011-12-23 Marek Polacek <polacek@redhat.com>
23778
23779 * elf/dl-addr.c (determine_info): Add inline keyword.
23780 * elf/tst-auditmod4b.c (check_avx): Likewise.
23781 * elf/tst-auditmod6b.c (check_avx): Likewise.
23782 * elf/tst-auditmod6c.c (check_avx): Likewise.
23783 * elf/tst-auditmod7b.c (check_avx): Likewise.
23784
70c6c246
UD
237852011-12-23 Ulrich Drepper <drepper@gmail.com>
23786
23787 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
23788 !__SSE_MATH__.
23789
c044cf14
LD
237902011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23791
15db4de1 23792 [BZ #13540]
c044cf14
LD
23793 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
23794 processing for last bytes.
23795
6b13d9d9
BH
237962011-08-06 Bruno Haible <bruno@clisp.org>
23797
d455f537
BH
23798 [BZ #13061]
23799 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
23800 U+0385, not to U+1FEE.
23801
6b13d9d9
BH
23802 [BZ #13062]
23803 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
23804 entry for U+00A5 U+0301.
23805
db910efd
UD
238062011-12-22 Ulrich Drepper <drepper@gmail.com>
23807
27deeafc
UD
23808 [BZ #13166]
23809 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
23810 buffer for the output is too small.
23811
aed9d171
UD
23812 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
23813 optimization.
23814
db910efd
UD
23815 [BZ #13185]
23816 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
23817 SSE flags if possible.
23818
2bd779ae
LD
238192011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23820
e7f9dac3 23821 [BZ #13540]
2bd779ae
LD
23822 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
23823 processing for last bytes.
23824
154bfc16
JM
238252011-12-22 Joseph Myers <joseph@codesourcery.com>
23826
23827 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
23828 (syscall-list-default-options, syscall-list-default-condition)
23829 (syscall-list-includes): Define.
23830 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
23831 list of ABIs and options and #if conditions for each ABI. Do not
23832 handle common syscalls between ABIs specially.
23833 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
23834 Remove.
23835 (syscall-list-variants, syscall-list-32bit-options)
23836 (syscall-list-32bit-condition, syscall-list-64bit-options)
23837 (syscall-list-64bit-condition): Define.
23838 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
23839 (syscall-list-variants, syscall-list-32bit-options)
23840 (syscall-list-32bit-condition, syscall-list-64bit-options)
23841 (syscall-list-64bit-condition): Define.
23842 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
23843 Remove.
23844 (syscall-list-variants, syscall-list-32bit-options)
23845 (syscall-list-32bit-condition, syscall-list-64bit-options)
23846 (syscall-list-64bit-condition): Define.
23847 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
23848 Remove.
23849 (syscall-list-variants, syscall-list-32bit-options)
23850 (syscall-list-32bit-condition, syscall-list-64bit-options)
23851 (syscall-list-64bit-condition): Define.
23852
21eaf3a5
UD
238532011-12-22 Ulrich Drepper <drepper@gmail.com>
23854
16c6f992
UD
23855 * locale/iso-639.def: Add brx entry.
23856
41043168
UD
23857 [BZ #13328]
23858 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
23859 Proposed by Mariusz_Cukr <marcukr@op.pl>.
23860
21eaf3a5
UD
23861 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
23862 __feraiseexcept_renamed.
23863
e3a851a2
UD
238642011-12-21 Ulrich Drepper <drepper@gmail.com>
23865
4920765e
UD
23866 [BZ #13538]
23867 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
23868 EPOLLET with unsigned values.
23869 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23870 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23871
e3a851a2
UD
23872 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
23873 to large cancellation.
23874 * math/s_cacoshf.c: Likewise.
23875 * math/s_cacoshl.c: Likewise.
23876
b27e24b8
RK
238772011-11-18 Richard B. Kreckel <kreckel@ginac.de>
23878
23879 [BZ #13305]
aebefeee 23880 [BZ #12786]
b27e24b8
RK
23881 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
23882 * math/s_cacoshf.c: Likewise.
23883 * math/s_cacoshl.c: Likewise.
23884
ee190f67
UD
238852011-12-21 Ulrich Drepper <drepper@gmail.com>
23886
23887 [BZ #13439]
23888 * iconv/gconv.h: Define __GCONV_SWAP.
23889 * iconvdata/unicode.c: The swap bit must be stored in __flags.
23890 * iconvdata/utf-16.c: Likewise.
23891 * iconvdata/utf-32.c: Likewise.
23892
707f25df
AS
238932011-12-21 Andreas Schwab <schwab@linux-m68k.org>
23894
23895 [BZ #13524]
23896 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
23897 numerator after shifting it by one limb.
23898
d2daaa1e
RÁE
238992011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
23900
23901 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
23902 under [__USE_EXTERN_INLINES].
23903
a4647e72
UD
239042011-12-17 Ulrich Drepper <drepper@gmail.com>
23905
23906 [BZ #13446]
23907 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
23908
f0b264f1
AZ
239092011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23910
23911 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
23912 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
23913 optimized code.
23914 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
23915 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
23916 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
23917 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
23918 for strncasecmp/strncasecmp_l compilation.
23919 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
23920 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
23921
8ef4f244
MP
239222011-12-08 Marek Polacek <mpolacek@redhat.com>
23923
23924 [BZ #13484]
23925 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
23926 of __asm__.
23927
97ac2654
UD
239282011-12-17 Ulrich Drepper <drepper@gmail.com>
23929
23930 [BZ #13506]
23931 * time/tzfile.c (__tzfile_read): Check values from file header.
23932
91d2a845
WS
239332011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
23934
23935 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
23936 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
23937 * powerpc/powerpc32/dl-start.S: Likewise.
23938 * powerpc/powerpc32/elf/start.S: Likewise.
23939 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23940 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
23941 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
23942 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
23943 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23944 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
23945 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
23946 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23947 * powerpc/powerpc32/fpu/s_round.S: Likewise.
23948 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23949 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23950 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23951 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
23952 * powerpc/powerpc32/memset.S: Likewise.
23953 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23954 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23955 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23956 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23957 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23958 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23959 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23960 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23961 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
23962 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
23963 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
23964 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23965 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23966
a1267ba1
AZ
239672011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23968
23969 * math/libm-test.inc: Added more nearbyint tests.
23970 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
23971 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
23972 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
23973 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
23974
ad8ac1bd
RL
239752011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
23976
23977 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
23978 FD_CLOEXEC.
23979
1d3e4b61
UD
239802011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23981
23982 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
23983 Add wcscpy-ssse3 wcscpy-c.
23984 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
23985 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
23986 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
23987 * sysdeps/x86_64/wcschr.S: New file.
23988 * sysdeps/x86_64/wcsrchr.S: New file.
23989 * string/test-strcmp.c: Remove checking of wcscmp function for
23990 wrong alignments.
23991 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
23992 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
23993 wcsrchr-sse2 wcsrchr-c.
23994 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
23995 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
23996 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
23997 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
23998 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
23999 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
24000 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
24001 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
24002 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
24003 * wcsmbc/wcschr.c (WCSCHR): New macro.
24004
5b330a2d
UD
240052011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24006
24007 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
24008 * wcsmbs/test-wcsrchr.c: New file.
24009 * string/test-strrchr.c: Add wcsrchr support.
24010 (WIDE): New macro.
24011 * wcsmbs/test-wcscpy.c: New file.
24012 * string/test-strcpy.c: Add wcscpy support.
24013 (WIDE): New macro.
26428b7c 24014
f039c043
UD
240152011-12-10 Ulrich Drepper <drepper@gmail.com>
24016
24017 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
24018 the inner loop.
24019
850fb039
AS
240202011-12-06 Andreas Schwab <schwab@linux-m68k.org>
24021
24022 [BZ #13472]
24023 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
24024
4efbd5cb
UD
240252011-12-04 Ulrich Drepper <drepper@gmail.com>
24026
52ff5dd0 24027 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 24028 Minor optimizations.
52ff5dd0 24029
4efbd5cb
UD
24030 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
24031 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
24032 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24033
8a426e12
UD
240342011-12-03 Ulrich Drepper <drepper@gmail.com>
24035
aff2453d
UD
24036 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
24037 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
24038 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
24039 for gcc to avoid warnings.
24040 * inet/Makefile (tests): Add tst-checks.
24041 * inet/tst-checks.c: New file.
24042
24043 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
24044 warning.
24045
24046 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
24047 __wmemcmp_sse2.
24048
24049 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
24050 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
24051
8a426e12
UD
24052 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
24053
9bea3473
UD
240542011-12-02 Ulrich Drepper <drepper@gmail.com>
24055
3a965496
UD
24056 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
24057 problem.
24058
9bea3473
UD
24059 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
24060
f101631b
UD
240612011-11-29 Joseph Myers <joseph@codesourcery.com>
24062
24063 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
24064 conditional on GCC version.
24065 (__arch_compare_and_exchange_val_8_acq)
24066 (__arch_compare_and_exchange_val_16_acq)
24067 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
24068 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
24069 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
24070
a98275aa
UD
240712011-12-02 Joseph Myers <joseph@codesourcery.com>
24072
24073 * sysdeps/sh/backtrace.c: New file.
24074
d4cc29a2
AS
240752011-12-02 Andreas Schwab <schwab@redhat.com>
24076
24077 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
24078 parenthesis.
24079
6257af2d
AS
240802011-12-01 Andreas Schwab <schwab@redhat.com>
24081
24082 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
24083 falling back to utime.
24084
b5f44c1a
AS
240852011-11-30 Andreas Schwab <schwab@redhat.com>
24086
24087 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
24088 expectations for float.
24089
f3a6cc0a
AS
240902011-11-29 Andreas Schwab <schwab@redhat.com>
24091
24092 * locale/weight.h (findidx): Add parameter len.
24093 * locale/weightwc.h (findidx): Likewise.
24094 * posix/fnmatch_loop.c (FCT): Adjust caller.
24095 * posix/regcomp.c (build_equiv_class): Likewise.
24096 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
24097 * posix/regexec.c (check_node_accept_bytes): Likewise.
24098 * string/strcoll_l.c (STRCOLL): Likewise.
24099 * string/strxfrm_l.c (STRXFRM): Likewise.
24100
9d65ea3a
UD
241012011-11-17 Ulrich Drepper <drepper@gmail.com>
24102
24103 * Makefile.in: Remove CVSOPT handling.
24104 * configure.in: Remove use of AC_REVISION.
24105 * iconvdata/Makefile (distribute): No need to filter out CVS.
24106 * scripts/list-sources.sh: Remove CVS, subversion and monotone
24107 handling.
24108
5583a086
AS
241092011-11-16 Andreas Schwab <schwab@redhat.com>
24110
24111 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
24112 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
24113 [USE_AS_STRNCASECMP_L]: Likewise.
24114 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
24115 NO_TLS_DIRECT_SEG_REFS.
24116 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
24117 Fix argument offsets for non-PIC.
24118 [USE_AS_STRNCASECMP_L]: Likewise.
24119 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
24120 NO_TLS_DIRECT_SEG_REFS.
24121
d62a8200
UD
241222011-11-15 Ulrich Drepper <drepper@gmail.com>
24123
9d65ea3a 24124 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
24125 O_CLOEXEC.
24126 * locale/loadlocale.c (_nl_load_locale): Likewise.
24127
09f93bd3
AS
241282011-11-15 Andreas Schwab <schwab@redhat.com>
24129
446514f9
AS
24130 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
24131 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
24132 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
24133 (SYSCALL_GETTIME): Set errno on error.
24134
09f93bd3
AS
24135 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
24136 count references to noai6ai_cached.
24137
312be3f9
UD
241382011-11-15 Ulrich Drepper <drepper@gmail.com>
24139
24140 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
24141
24142 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
24143 FD_CLOEXEC for /proc/self/maps.
24144
24145 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
24146 FD_CLOEXEC for /proc/meminfo.
24147
24148 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
24149 gai.conf.
24150
24151 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
24152 FD_CLOEXEC for given file.
24153
24154 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
24155
24156 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
24157 FD_CLOEXEC for /etc/hosts.
24158 (_gethtent): Likewise.
24159
24160 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
24161
24162 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
24163 cancellation and set FD_CLOEXEC for /etc/netgroup.
24164
24165 * nss/nss_files/files-key.c (search): Don't allow cancellation when
24166 reading /etc/publickey.
24167
24168 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
24169 allow cancellation when reading /etc/group.
24170
24171 * nss/nss_files/files-alias.c (internal_setent): Don't allow
24172 cancellation.
24173 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
24174
24175 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
24176 when using data file.
24177
24178 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
24179
24180 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
24181 (write_nis_obj): Use "c" and "e" in fopen.
24182
24183 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
24184
24185 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
24186
24187 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
24188
24189 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
24190
24191 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
24192 locale.alias.
24193
24194 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
24195
24196 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
24197
24198 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
24199
24200 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
24201 file parsing and set FD_CLOEXEC.
24202
82af0fa8
UD
242032011-11-14 Ulrich Drepper <drepper@gmail.com>
24204
24205 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
24206
a5fb313c
AS
242072011-11-14 Andreas Schwab <schwab@redhat.com>
24208
24209 * malloc/arena.c (arena_get2): Don't call reused_arena when
24210 _int_new_arena failed.
24211
6abf3465
UD
242122011-11-14 Ulrich Drepper <drepper@gmail.com>
24213
24214 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
24215 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
24216 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
24217 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24218 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24219 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
24220 to compile strcasecmp and strncasecmp.
24221 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
24222 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
24223
24224 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
24225
76e3966e
UD
242262011-11-13 Ulrich Drepper <drepper@gmail.com>
24227
24228 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
24229 locale-defines.sym to gen-as-const-headers.
24230 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
24231 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
24232 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
24233 to compile strcasecmp and strncasecmp.
24234 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
24235 strcasecmp_l and strncasecmp_l.
24236 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
24237 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
24238 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
24239 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
24240 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
24241 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
24242 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
24243 * sysdeps/i386/i686/multiarch/strncase.S: New file.
24244 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
24245 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
24246 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
24247
ab26144e
UD
242482011-11-12 Ulrich Drepper <drepper@gmail.com>
24249
7edb22ef
UD
24250 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
24251 result of SYSDEP_GETTIME_CPU to retval.
24252 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
24253 parameter list to macro. Remove trailing semicolon. Adjust users.
24254
9694fc44
UD
24255 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
24256 variable.
24257
8ad89ef8
UD
24258 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
24259 mantissa words.
24260 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
24261
0c822ef9
UD
24262 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
24263 from unused variable.
24264
874e0564
UD
24265 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
24266 DWARF definitions.
24267 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
24268 for assembling.
24269
3a2edc79
UD
24270 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
24271 over namespaces.
24272
f3c2577f
UD
24273 * sunrpc/rpc_prot.c (rejected): Fix case value.
24274
294ce126
UD
24275 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
24276 unsigned long long int to avoid warnings in shift.
24277
5e2b63c6
UD
24278 * posix/regex_internal.c (re_string_reconstruct): Actually use result
24279 of use of trans.
24280 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
24281 variable tmp.
24282
e7f4b08e
UD
24283 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
24284 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24285 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24286
ab26144e
UD
24287 * nis/nis_table.c (nis_list): Use variable of correct type for
24288 result of __follow_path call.
24289
8a6d5255
AZ
242902011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24291
24292 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
24293 of math functions ceil, trunc, floor, round, and sqrt, when
24294 avaliable on the platform.
24295 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
24296 name clash.
24297 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24298 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24299 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24300
aaddc98c
MP
243012011-10-30 Marek Polacek <mpolacek@redhat.com>
24302
24303 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
24304 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24305
95b7042b
RM
243062011-11-11 Roland McGrath <roland@hack.frob.com>
24307
24308 * include/unistd.h: Fix __readlink return type.
24309 Reported by Chris Metcalf <cmetcalf@tilera.com>.
24310
57769839
UD
243112011-11-11 Ulrich Drepper <drepper@gmail.com>
24312
24313 * stdlib/ucontext.h: Undo last change for makecontext.
24314
edc5984d
AS
243152011-11-11 Andreas Schwab <schwab@redhat.com>
24316
98591e58
AS
24317 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
24318
edc5984d
AS
24319 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
24320 * setjmp/setjmp.h: Mark functions as non-leaf.
24321 * setjmp/bits/setjmp2.h: Likewise.
24322 * stdlib/ucontext.h: Likewise.
24323
77cdc054
AS
243242011-11-10 Andreas Schwab <schwab@redhat.com>
24325
24326 * malloc/arena.c (_int_new_arena): Don't increment narenas.
24327 (reused_arena): Don't check arena limit.
24328 (arena_get2): Atomically check arena limit.
24329
fe72eebd
UD
243302011-11-08 Ulrich Drepper <drepper@gmail.com>
24331
5f078c32
UD
24332 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
24333 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
24334
fe72eebd
UD
24335 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
24336 instructions.
24337
ae1bc2fa
AS
243382011-11-07 Andreas Schwab <schwab@redhat.com>
24339
7583a88d
AS
24340 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
24341 handler when locking.
24342
ae1bc2fa
AS
24343 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24344 Fix size of allocated buffer.
24345
10fb0bfa
AS
243462011-11-04 Andreas Schwab <schwab@redhat.com>
24347
998832a4
AS
24348 [BZ #10103]
24349 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
24350 declarations for long double functions.
24351 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
24352
10fb0bfa
AS
24353 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
24354
3d7ba52b
AS
243552011-11-03 Andreas Schwab <schwab@redhat.com>
24356
a9ae54a1
AS
24357 * nscd/nscd.c (main): Don't start AVC thread until credentials are
24358 installed.
24359
3d7ba52b
AS
24360 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
24361 is disabled.
24362
bc8db248
ST
243632011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
24364
24365 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
24366
45b96dd6
AS
243672011-11-01 Andreas Schwab <schwab@linux-m68k.org>
24368
647776f6
AS
24369 * include/alloca.h (stackinfo_alloca_round): Define.
24370 (extend_alloca): Use it.
24371 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
24372 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
24373 here.
24374
d91a8b93
AS
24375 * scripts/check-local-headers.sh: Ignore libaudit.h.
24376
45b96dd6
AS
24377 * nscd/Makefile (extra-objs): Make recursively expanded.
24378
432d41ce
UD
243792011-11-01 Ulrich Drepper <drepper@gmail.com>
24380
34372fc6
UD
24381 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
24382 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24383
fadb59f8
UD
24384 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
24385 * posix/tst-rfc3484-2.c: Likewise.
24386 * posix/tst-rfc3484-3.c: Likewise.
24387
78239589
UD
24388 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24389 process_vm_writev.
24390 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
24391 process_vm_writev.
24392 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
24393 process_vm_writev from libc using GLIBC_2.15 version.
24394
432d41ce
UD
24395 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
24396
02f9c6cf
PP
243972011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
24398
24399 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
24400 stack usage.
24401
3a2c0242
UD
244022011-10-31 Ulrich Drepper <drepper@gmail.com>
24403
f4ec4833
UD
24404 [BZ #13367]
24405 * nss/getent.c (initgroups_keys): Show error message in case no group
24406 names are given.
24407
3a2c0242
UD
24408 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
24409 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
24410 __bump_nl_timestamp.
24411 * nscd/connections (nscd_init): When host database is served open
24412 netlink socket and request notification about configuration changes.
24413 (main_loop_poll): Track netlink file descriptor and bump timestamp
24414 in case data becomes available.
24415 (main_loop_epoll): Likewise.
24416 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
24417 (database_pers_head): Add extra_data fileds.
24418 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
24419 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
24420 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
24421 Adjust caller.
24422 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
24423 in6ai data, call __free_in6ai.
24424 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
24425 Add -DHAVE_NETLINK.
24426 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
24427 interface information. Reuse previous data if netlink timestamp
24428 is not changed.
24429 (__bump_nl_timestamp): New function.
24430 (__free_in6ai): New function.
24431
636064eb
UD
244322011-10-30 Ulrich Drepper <drepper@gmail.com>
24433
24434 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
24435 close_not_cancel_no_status here.
24436 (__check_pf): Reorganize code a bit to not call close twice if OOM.
24437
9beb2334
UD
244382011-10-29 Ulrich Drepper <drepper@gmail.com>
24439
6ef76f3b
UD
24440 [BZ #13276]
24441 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
24442 return value.
24443
0ffc4f3e 24444 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
24445 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
24446 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
24447
cb95113e
UD
244482011-07-03 Andreas Jaeger <aj@suse.de>
24449
24450 [BZ #10709]
24451 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
24452 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
24453 * math/libm-test.inc (sin_test): Add test case.
24454
a1b560ff
UD
244552011-10-29 Ulrich Drepper <drepper@gmail.com>
24456
c9aaface
UD
24457 [BZ #13337]
24458 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
24459 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24460
d272e7f1
UD
24461 * elf/chroot_canon.c (chroot_canon): Cleanups.
24462
1bc33071
UD
24463 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
24464
1760874d
TJ
24465 [BZ #13335]
24466 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
24467 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24468
51d91b18
UD
24469 * string/test-strchr.c: Make usable for strchrnul testing.
24470 * string/test-strchrnul.c: New file.
24471 * string/Makefile (strop-tests): Add strchrnul.
24472
a1b560ff 24473 * po/it.po: Update from translation team.
b611fb81 24474 * po/es.po: Likewise.
a1b560ff 24475
a5b81e1f
UD
244762011-10-28 Ulrich Drepper <drepper@gmail.com>
24477
fd52bc6d
UD
24478 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
24479 the three constants needed as parameters. Drop the others.
24480 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
24481 __m128i_strloadu_tolower.
52e4b9eb
UD
24482 Create and initialize variable zero and use it in all the places
24483 where _mm_setzero_si128 was used.
fd52bc6d 24484
a5b81e1f
UD
24485 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
24486 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
24487 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
24488 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
24489 anymore.
24490 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
24491 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
24492 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
24493 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
24494 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
24495 __mpranred, __mptan.
24496 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
24497 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
24498 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
24499 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
24500 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
24501 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
24502 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
24503 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
24504 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
24505
b4343346
AS
245062011-10-28 Andreas Schwab <schwab@redhat.com>
24507
0c92d8a8
AS
24508 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
24509 redefine if SHARED.
24510 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
24511
b4343346
AS
24512 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
24513 wide char related routines to wcsmbs subdir.
24514
3871f58f
AS
245152011-10-27 Andreas Schwab <schwab@redhat.com>
24516
24517 [BZ #13344]
24518 * misc/sys/cdefs.h (__THROWNL): Define.
24519 * posix/unistd.h: Use __THREADNL instead of __THREAD
24520 for memory synchronization functions.
24521
94d44d9f
RM
245222011-10-26 Roland McGrath <roland@hack.frob.com>
24523
21b64b15 24524 [BZ #13349]
94d44d9f
RM
24525 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
24526 doesn't exist.
24527 * manual/stdio.texi (Obstack Streams): Node removed.
24528
f6ce9294
AS
245292011-10-26 Andreas Schwab <schwab@redhat.com>
24530
80479147
AS
24531 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
24532 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24533 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24534
f6ce9294
AS
24535 * math/math_private.h (math_force_eval): Allow non-addressable
24536 arguments.
24537 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
24538
618280a1
UD
245392011-10-25 Ulrich Drepper <drepper@gmail.com>
24540
e0016b11
UD
24541 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
24542 file is not needed.
24543
24544 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
24545 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
24546 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24547 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24548 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24549 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24550 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24551 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
24552 Add AVX variants.
24553 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
24554 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
24555 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
24556 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
24557 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
24558 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
24559 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
24560 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
24561 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
24562 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
24563 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
24564 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
24565 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
24566 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
24567 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
24568 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
24569 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
24570 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
24571 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
24572
24573 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
24574 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
24575
618280a1
UD
24576 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
24577 place. Use VEX encoding when compiling for AVX.
24578
37822576
AS
245792011-10-25 Andreas Schwab <schwab@redhat.com>
24580
1f1e1947
AS
24581 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
24582 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24583
37822576
AS
24584 * string/test-strchr.c (do_test): Don't generate NUL bytes.
24585
31ea014d
UD
245862011-10-25 Ulrich Drepper <drepper@gmail.com>
24587
d7826aa1 24588 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 24589 useless if() expression.
d7826aa1
UD
24590 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24591 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24592 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24593 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24594 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24595 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24596 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24597 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24598 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24599 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24600 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24601 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24602 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24603 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24604 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24605 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24606 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24607 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24608 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24609
31ea014d
UD
24610 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
24611
16437fec
AS
246122011-10-25 Andreas Schwab <schwab@redhat.com>
24613
24614 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
24615 condition.
24616 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24617
31d3cc00
UD
246182011-10-25 Ulrich Drepper <drepper@gmail.com>
24619
24620 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
24621 .text section. Avoid duplicate constants.
24622 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24623 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24624 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24625 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24626 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24627 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24628 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24629 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24630 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24631 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
24632 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24633 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24634 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24635 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24636 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24637 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24638 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24639 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24640 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24641 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24642 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24643 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24644 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24645 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
24646 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
24647 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
24648 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
24649 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
24650 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
24651 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
24652 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
24653 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
24654 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24655 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
24656 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
24657 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
24658 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
24659 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
24660 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
24661 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
24662 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
24663 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
24664 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
24665 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24666 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
24667
58985aa9
UD
246682011-10-24 Ulrich Drepper <drepper@gmail.com>
24669
202c9deb
UD
24670 * sysdeps/x86_64/dla.h: Move to ...
24671 * sysdeps/x86_64/fpu/dla.h: ...here.
24672 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
24673 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 24674
af968f62
UD
24675 * config.make.in: Add have-mfma4 entry.
24676 * configure.in: Substitute libc_cv_cc_fma4.
24677 * math/Makefile (dbl-only-routines): Add sincostab.
24678 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
24679 Use __sincostab not sincos.
24680 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
24681 name is a macro.
24682 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24683 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24684 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24685 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
24686 using __copysign.
24687 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
24688 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
24689 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
24690 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
24691 and __inv.
24692 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
24693 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
24694 __copysign.
24695 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
24696 define aliases when function name is a macro.
24697 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
24698 sysdeps/ieee754/dbl-64/sincos.tbl.
24699 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
24700 fma4-enabled routines.
24701 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
24702 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
24703 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
24704 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
24705 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
24706 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
24707 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
24708 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
24709 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
24710 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
24711 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
24712 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
24713 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
24714 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
24715 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
24716 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
24717 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
24718 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
24719 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
24720 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
24721 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
24722 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
24723 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
24724 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
24725 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
24726 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
24727 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
24728 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
24729 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
24730 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
24731
58985aa9
UD
24732 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
24733 rename.
24734 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24735 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24736 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24737 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24738 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24739 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24740 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24741 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24742
a201fbcf
AS
247432011-10-24 Andreas Schwab <schwab@redhat.com>
24744
24745 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
24746
fc2ee42a
LD
247472011-10-23 Ulrich Drepper <drepper@gmail.com>
24748
bb3129bd
UD
24749 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
24750
0275fff8
UD
24751 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
24752 prediction.
24753 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
24754
2fa2ae85
UD
24755 * string/strnlen.c: Don't define STRNLEN, reverse logic.
24756 Remove unused variable magic_bits.
24757 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
24758
fc2ee42a
LD
24759 * string/strnlen.c: Define and use STRNLEN macro.
24760 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
24761 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
24762 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
24763 * wcsmbs/wcslen.c: Define and use WCSLEN.
24764 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
24765 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
24766 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
24767 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
24768 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
24769 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
24770 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24771
ce7dd29f
LD
247722011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24773
24774 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24775 strnlen-sse2-no-bsf.
24776 Rename strlen-no-bsf to strlen-sse2-no-bsf.
24777 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
24778 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
24779 Add strnlen support.
24780 (USE_AS_STRNLEN): New macro.
24781 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
24782 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
24783 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
24784 * sysdeps/x86_64/wcslen.S: New file.
24785
979c70a3
MZ
247862011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
24787
24788 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24789 XMM-moves are used for copying on small sizes.
24790
2d09f82f
LD
247912011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24792
24793 * wcsmbs/Makefile (strop-tests): Add wcschr.
24794 * wcsmbs/test-wcschr.c: New file.
24795 * string/test-strchr.c: Update.
24796 Add wcschr support.
24797 (WIDE): New macro.
24798
619fccca
LD
247992011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24800
2d09f82f 24801 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
24802 * wcsmbs/test-wcslen.c: New file.
24803 * string/test-strlen.c: Update.
24804 Add wcslen support.
24805 (WIDE): New macro.
24806
09f699ea
UD
248072011-10-23 Ulrich Drepper <drepper@gmail.com>
24808
24809 * po/it.po: Update from translation team.
24810
95584d3b
LD
248112011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24812
24813 * sysdeps/x86_64/wcscmp.S: Update.
24814 Fix wrong comparison semantics.
24815 wcscmp shall use signed comparison not unsigned.
24816 Don't use substraction to avoid overflow bug.
24817 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24818 * wcsmbc/wcscmp.c: Likewise.
24819 * string/test-strcmp.c: Likewise.
24820 Add new tests to check cases with negative values.
24821
c8b3296b
UD
248222011-10-23 Ulrich Drepper <drepper@gmail.com>
24823
24824 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
24825 * sysdeps/x86_64/dla.h: ...here. New file.
24826 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
24827 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24828 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24829 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24830 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24831 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24832 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24833 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24834 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24835
246ad57a
AS
248362011-10-23 Andreas Schwab <schwab@linux-m68k.org>
24837
24838 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
24839 __ynl_finite aliases.
24840
a1a87169
UD
248412011-10-22 Ulrich Drepper <drepper@gmail.com>
24842
0d355eb7
UD
24843 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24844
a1a87169
UD
24845 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
24846 define DLA_FMA.
24847 [DLA_FMA] (EMULV): Use DLA_FMA.
24848 [DLA_FMA] (MUL12): Use EMULV.
24849 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
24850 that are not needed.
24851 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24852 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24853 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24854 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24855 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24856 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24857 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24858
ee2aafe0
AS
248592011-10-22 Andreas Schwab <schwab@linux-m68k.org>
24860
24861 * math/s_nan.c: Undef __nan.
24862 * math/s_nanf.c: Undef __nanf.
24863 * math/s_nanl.c: Undef __nanl.
24864 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
24865 "math_private.h".
24866
bc62c2fb
UD
248672011-10-22 Ulrich Drepper <drepper@gmail.com>
24868
77425c63
UD
24869 * math/s_catan.c: Add branch predictions.
24870 * math/s_catanf.c: Likewise.
24871 * math/s_catanh.c: Likewise.
24872 * math/s_catanhf.c: Likewise.
24873 * math/s_catanhl.c: Likewise.
24874 * math/s_catanl.c: Likewise.
24875 * math/s_cexp.c: Likewise.
24876 * math/s_cexpf.c: Likewise.
24877 * math/s_cexpl.c: Likewise.
24878 * math/s_clog.c: Likewise.
24879 * math/s_clog10.c: Likewise.
24880 * math/s_clog10f.c: Likewise.
24881 * math/s_clog10l.c: Likewise.
24882 * math/s_clogf.c: Likewise.
24883 * math/s_clogl.c: Likewise.
24884 * math/s_csqrt.c: Likewise.
24885 * math/s_csqrtf.c: Likewise.
24886 * math/s_csqrtl.c: Likewise.
24887 * math/s_ctanf.c: Likewise.
24888 * math/s_ctanh.c: Likewise.
24889 * math/s_ctanhf.c: Likewise.
24890 * math/s_ctanhl.c: Likewise.
24891 * math/s_ctanl.c: Likewise.
24892
bc62c2fb
UD
24893 * math/math_private.h: Define __nan, __nanf, __nanl.
24894 * math/s_cacosh.c: Include <math_private.h>.
24895 * math/s_cacoshl.c: Likewise.
24896 * math/s_casinh.c: Likewise.
24897 * math/s_casinhf.c: Likewise.
24898 * math/s_casinhl.c: Likewise.
24899 * math/s_ccos.c: Rely entire on ccosh.
24900 * math/s_ccosf.c: Rely entire on ccoshf.
24901 * math/s_ccosl.c: Rely entirely on ccoshl.
24902 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
24903 Remove tests for FE_INVALID.
24904 * math/s_ccoshf.c: Likewise.
24905 * math/s_ccoshl.c: Likewise.
24906 * math/s_csin.c: Likewise.
24907 * math/s_csinf.c: Likewise.
24908 * math/s_csinh.c Likewise.
24909 * math/s_csinhf.c: Likewise.
24910 * math/s_csinhl.c: Likewise.
24911 * math/s_csinl.c: Likewise.
24912 * math/s_ctan.c: Likewise.
24913 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
24914 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
24915 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
24916
8ec250a4
UD
249172011-10-21 Ulrich Drepper <drepper@gmail.com>
24918
c196fed8
UD
24919 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
24920 compilation problems.
24921
8ec250a4
UD
24922 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
24923 __builtin_expect.
24924
8d4f46c6
UD
249252011-10-20 Ulrich Drepper <drepper@gmail.com>
24926
ed72b654
UD
24927 * sysdeps/i386/configure.in: Test for -mfma4 option.
24928 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
24929 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
24930 COMMON_CPUID_INDEX_80000001.
24931 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
24932 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
24933 use it if FMA3 is not supported.
24934 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
24935
8d4f46c6
UD
24936 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
24937 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24938
d45c60c2
AS
249392011-10-20 Andreas Schwab <schwab@redhat.com>
24940
24941 [BZ #12892]
24942 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
24943 it would create a cycle with a link time dependency.
24944
d9a4d2ab
UD
249452011-10-19 Ulrich Drepper <drepper@gmail.com>
24946
855d1560
UD
24947 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
24948 instruction.
24949 * string/Makefile (strop-tests): Add rawmemchr.
24950 * string/test-rawmemchr.c: New file.
24951
d9a4d2ab
UD
24952 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
24953 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
24954 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
24955 when compiling str{,n}casecmp and when AVX is available. Hook up
24956 new optimized code in initializers.
24957
8f3b1ffe
AS
249582011-10-19 Andreas Schwab <schwab@redhat.com>
24959
24960 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
24961 __feraiseexcept instead of feraiseexcept.
24962
d38f1dba
UD
249632011-10-18 Ulrich Drepper <drepper@gmail.com>
24964
d9a8d0ab
UD
24965 * math/math_private.h: Define defaults for libc_fetestexcept and
24966 libc_feupdateenv.
24967 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
24968 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
24969 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24970 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24971 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24972 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24973 libc_fetestexcept and libc_feupdateenv.
24974
4855e3dd
UD
24975 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
24976 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
24977 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
24978 * sysdeps/x86_64/fpu/math_private.h: Define special version of
24979 libc_feholdexcept_setround.
24980
581d30e3
UD
24981 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
24982 Add s_nearbyint-c and s_nearbyintf-c.
24983 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
24984 nearbyintf inlines.
24985 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
24986 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
24987 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
24988 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
24989
d38f1dba
UD
24990 * math/math_private.h: Define defaults for libc_fegetround,
24991 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
24992 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
24993 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
24994 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
24995 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
24996 standard functions.
24997 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24998 Remove comments and hacks for old compiler versions.
24999 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25000 libc_fegetround, libc_fesetround, libc_feholdexcept, and
25001 libc_feholdexceptl.
25002
caa6c9d8
AS
250032011-10-18 Andreas Schwab <schwab@redhat.com>
25004
25005 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
25006 (__feraiseexcept_renamed): Add __NTH.
25007 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
25008 namespace violations.
25009
97c066e6
UD
250102011-10-17 Ulrich Drepper <drepper@gmail.com>
25011
99ce7b04
UD
25012 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
25013
1004d182
UD
25014 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
25015
228a984d
UD
25016 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
25017 recently added interfaces.
25018 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
25019
c8553a6a
UD
25020 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
25021 about macro parameter expansion.
25022
ed22dcf6
UD
25023 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
25024 __NO_MATH_INLINES is defined. Cleanups.
25025
25026 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
25027 and __floorf is target has SSE4.1.
25028 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
25029 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
25030 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
25031 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
25032
b171c137
UD
25033 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
25034 name.
25035 (floorf): Likewise.
25036
97c066e6
UD
25037 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
25038
629f62ef
AS
250392011-10-17 Andreas Schwab <schwab@redhat.com>
25040
49a43d80
AS
25041 * misc/sys/cdefs.h: Fix last change.
25042
629f62ef
AS
25043 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
25044 database lookup.
25045
e453f6cd
UD
250462011-10-16 Ulrich Drepper <drepper@gmail.com>
25047
aa78043a
UD
25048 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
25049
ad0f5cad
UD
25050 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
25051 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25052 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25053 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25054 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25055 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25056 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25057 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25058 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25059 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
25060 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
25061 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
25062 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
25063 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
25064 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
25065 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
25066 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
25067 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
25068 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
25069 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
25070 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
25071 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
25072
25073 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
25074 ceil, ceilf, floor, floorf.
25075
25076 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
25077 Perform IRELATIVE relocations last.
25078
e453f6cd
UD
25079 * elf/do-rel.h: Add another parameter nrelative, replacing the
25080 local variable with the same name. Change name of the function
25081 to end in Rel or Rela (uppercase).
25082 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
25083 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
25084 elf_dynamic_do_##reloc function.
25085
fd5bdc09
UD
250862011-10-15 Ulrich Drepper <drepper@gmail.com>
25087
79b195b5
UD
25088 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
25089 is sufficient, at least on modern CPUs.
25090
d4a28569
UD
25091 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
25092
b61099b5
UD
25093 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
25094 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
25095
bcf01e6d
UD
25096 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
25097 __expl_finite.
25098 * math/bits/math-finite.h: Add entries for exp.
25099 * math/e_expl.c: Add __*_finite alias.
25100 * sysdeps/i386/fpu/e_exp.S: Likewise.
25101 * sysdeps/i386/fpu/e_expf.S: Likewise.
25102 * sysdeps/i386/fpu/e_expl.c: Likewise.
25103 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25104 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25105 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25106 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25107 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
25108 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25109 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25110
ba1a0d59
UD
25111 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
25112 is sufficient, at least on modern CPUs.
25113
fd5bdc09
UD
25114 * ctype/ctype-info.c (__ctype_init): Define.
25115 * include/ctype.h (__ctype_init): Declare.
25116 (__ctype_b_loc): The variable is always initialized.
25117 (__ctype_toupper_loc): Likewise.
25118 (__ctype_tolower_loc): Likewise.
25119 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
25120 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
25121
7872cfb0
AS
251222011-10-15 Andreas Schwab <schwab@linux-m68k.org>
25123
b468825a
AS
25124 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
25125
7872cfb0
AS
25126 * configure.in: Also look in $cxxmachine/include for C++ system
25127 headers.
25128
be13f7bf
LD
251292011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25130
25131 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
25132 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
25133 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
25134 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
25135 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
25136 (USE_AS_WMEMCMP): New macro.
25137 Fixing indents.
25138 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
25139 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
25140 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
25141 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
25142 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25143 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
25144 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
25145 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
25146 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
25147 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
25148 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
25149 (USE_AS_WMEMCMP): New macro.
25150 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
25151 * sysdeps/string/test-memcmp.c: Update.
25152 Fix simple_wmemcmp.
25153 Add new tests.
25154 * wcsmbs/wmemcmp.c: Update.
25155 (WMEMCMP): New macro.
25156 Fix overflow bug.
25157
556a2007
AJ
251582011-10-12 Andreas Jaeger <aj@suse.de>
25159
25160 [BZ #13268]
25161 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
25162
538faaa7
UD
251632011-10-15 Ulrich Drepper <drepper@gmail.com>
25164
ab6737ff
UD
25165 * libio/iofwide.c (do_length): Avoid warning.
25166
538faaa7
UD
25167 * ctype/ctype.h (__isctype_f): Add missing __THROW.
25168
396a21b1
UD
251692011-10-14 Ulrich Drepper <drepper@gmail.com>
25170
cdf2901f
UD
25171 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
25172
38ad40ce
UD
25173 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
25174 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
25175 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
25176 * sysdeps/i386/i686/fpu/e_log.S: New file.
25177 * sysdeps/i386/i686/fpu/e_logf.S: New file.
25178 * sysdeps/i386/i686/fpu/e_logl.S: New file.
25179
396a21b1
UD
25180 * ctype/ctype.h: Add support for inlined isXXX functions when
25181 compiling C++ code.
25182
6b1f68c9
AS
251832011-10-14 Andreas Schwab <schwab@redhat.com>
25184
349290c0
AS
25185 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25186
6b1f68c9
AS
25187 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
25188
f2282d42
RM
251892011-10-13 Roland McGrath <roland@hack.frob.com>
25190
25191 [BZ #13291]
25192 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
25193
5298ffa8
AS
251942011-10-13 Andreas Schwab <schwab@redhat.com>
25195
714fad23
AS
25196 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
25197 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
25198 feraiseexcept.
25199
81dcc7fb
AS
25200 * sysdeps/x86_64/memrchr.S: Check for zero size.
25201
5298ffa8
AS
25202 * string/stratcliff.c: Add memrchr tests.
25203
951fbcec
LD
252042011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25205
25206 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25207 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
25208 rawmemchr-sse2 rawmemchr-sse2-bsf.
25209 * sysdeps/i386/i686/multiarch/memchr.S: New file.
25210 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
25211 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
25212 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
25213 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
25214 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
25215 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
25216 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
25217 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
25218 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
25219 * string/memrchr.c (MEMRCHR): New macro.
25220
0ac5ae23
UD
252212011-10-12 Ulrich Drepper <drepper@gmail.com>
25222
25223 Add integration with gcc's -ffinite-math-only and optimize wrapper
25224 functions in libm.
25225 * Versions.def: Define GLIBC_2.15 version for libm.
25226 * math/Makefile (headers): Add bits/math-finite.h.
25227 * math/bits/math-finite.h: New file.
25228 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
25229 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
25230 * math/e_acoshl.c: Add __*_finite alias.
25231 * math/e_acosl.c: Likewise.
25232 * math/e_asinl.c: Likewise.
25233 * math/e_atan2l.c: Likewise.
25234 * math/e_atanhl.c: Likewise.
25235 * math/e_coshl.c: Likewise.
25236 * math/e_exp10.c: Likewise.
25237 * math/e_exp10f.c: Likewise.
25238 * math/e_exp10l.c: Likewise.
25239 * math/e_exp2l.c: Likewise.
25240 * math/e_fmodl.c: Likewise.
25241 * math/e_gammal_r.c: Likewise.
25242 * math/e_hypotl.c: Likewise.
25243 * math/e_j0l.c: Likewise.
25244 * math/e_j1l.c: Likewise.
25245 * math/e_jnl.c: Likewise.
25246 * math/e_lgammal_r.c: Likewise.
25247 * math/e_log10l.c: Likewise.
25248 * math/e_log2l.c: Likewise.
25249 * math/e_logl.c: Likewise.
25250 * math/e_powl.c: Likewise.
25251 * math/e_sinhl.c: Likewise.
25252 * math/e_sqrtl.c: Likewise.
25253 * math/e_scalb.c: Completely rewritten and optimized.
25254 * math/e_scalbf.c: Likewise.
25255 * math/e_scalbl.c: Likewise.
25256 * math/w_acos.c: Likewise.
25257 * math/w_acosf.c: Likewise.
25258 * math/w_acosl.c: Likewise.
25259 * math/w_acosh.c: Likewise.
25260 * math/w_acoshf.c: Likewise.
25261 * math/w_acoshl.c: Likewise.
25262 * math/w_asin.c: Likewise.
25263 * math/w_asinf.c: Likewise.
25264 * math/w_asinl.c: Likewise.
25265 * math/w_atan2.c: Likewise.
25266 * math/w_atan2f.c: Likewise.
25267 * math/w_atan2l.c: Likewise.
25268 * math/w_atanh.c: Likewise.
25269 * math/w_atanhf.c: Likewise.
25270 * math/w_atanhl.c: Likewise.
25271 * math/w_exp10.c: Likewise.
25272 * math/w_exp10f.c: Likewise.
25273 * math/w_exp10l.c: Likewise.
25274 * math/w_fmod.c: Likewise.
25275 * math/w_fmodf.c: Likewise.
25276 * math/w_fmodl.c: Likewise.
25277 * math/w_j0.c: Likewise.
25278 * math/w_j0f.c: Likewise.
25279 * math/w_j0l.c: Likewise.
25280 * math/w_j1.c: Likewise.
25281 * math/w_j1f.c: Likewise.
25282 * math/w_j1l.c: Likewise.
25283 * math/w_jn.c: Likewise.
25284 * math/w_jnf.c: Likewise.
25285 * math/w_log.c: Likewise.
25286 * math/w_logf.c: Likewise.
25287 * math/w_logl.c: Likewise.
25288 * math/w_log10.c: Likewise.
25289 * math/w_log10f.c: Likewise.
25290 * math/w_log10l.c: Likewise.
25291 * math/w_log2.c: Likewise.
25292 * math/w_log2f.c: Likewise.
25293 * math/w_log2l.c: Likewise.
25294 * math/w_pow.c: Likewise.
25295 * math/w_powf.c: Likewise.
25296 * math/w_powl.c: Likewise.
25297 * math/w_remainder.c: Likewise.
25298 * math/w_remainderf.c: Likewise.
25299 * math/w_remainderl.c: Likewise.
25300 * math/w_scalb.c: Likewise.
25301 * math/w_scalbf.c: Likewise.
25302 * math/w_scalbl.c: Likewise.
25303 * math/w_sqrt.c: Likewise.
25304 * math/w_sqrtf.c: Likewise.
25305 * math/w_sqrtl.c: Likewise.
25306 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
25307 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
25308 used.
25309 * math/math_private.h: Declare __kernel_standard_f.
25310 * math/w_cosh.c: Remove cruft and optimize a bit.
25311 * math/w_coshf.c: Likewise.
25312 * math/w_coshl.c: Likewise.
25313 * math/w_exp2.c: Likewise.
25314 * math/w_exp2f.c: Likewise.
25315 * math/w_exp2l.c: Likewise.
25316 * math/w_hypot.c: Likewise.
25317 * math/w_hypotf.c: Likewise.
25318 * math/w_hypotl.c: Likewise.
25319 * math/w_lgamma.c: Likewise.
25320 * math/w_lgamma_r.c: Likewise.
25321 * math/w_lgammaf.c: Likewise.
25322 * math/w_lgammaf_r.c: Likewise.
25323 * math/w_lgammal.c: Likewise.
25324 * math/w_lgammal_r.c: Likewise.
25325 * math/w_sinh.c: Likewise.
25326 * math/w_sinhf.c: Likewise.
25327 * math/w_sinhl.c: Likewise.
25328 * math/w_tgamma.c: Likewise.
25329 * math/w_tgammaf.c: Likewise.
25330 * math/w_tgammal.c: Likewise.
25331 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25332 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25333 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
25334 Minor optimizations. Pretty printing. Remove cruft.
25335 * sysdeps/i386/fpu/e_acosf.S: Likewise.
25336 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25337 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25338 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25339 * sysdeps/i386/fpu/e_acosl.c: Likewise.
25340 * sysdeps/i386/fpu/e_asin.S: Likewise.
25341 * sysdeps/i386/fpu/e_asinf.S: Likewise.
25342 * sysdeps/i386/fpu/e_atan2.S: Likewise.
25343 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
25344 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
25345 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25346 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25347 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25348 * sysdeps/i386/fpu/e_exp10.S: Likewise.
25349 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
25350 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
25351 * sysdeps/i386/fpu/e_exp2.S: Likewise.
25352 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
25353 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
25354 * sysdeps/i386/fpu/e_fmod.S: Likewise.
25355 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
25356 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
25357 * sysdeps/i386/fpu/e_hypot.S: Likewise.
25358 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
25359 * sysdeps/i386/fpu/e_log.S: Likewise.
25360 * sysdeps/i386/fpu/e_log10.S: Likewise.
25361 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25362 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25363 * sysdeps/i386/fpu/e_log2.S: Likewise.
25364 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25365 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25366 * sysdeps/i386/fpu/e_logf.S: Likewise.
25367 * sysdeps/i386/fpu/e_logl.S: Likewise.
25368 * sysdeps/i386/fpu/e_pow.S: Likewise.
25369 * sysdeps/i386/fpu/e_powf.S: Likewise.
25370 * sysdeps/i386/fpu/e_powl.S: Likewise.
25371 * sysdeps/i386/fpu/e_remainder.S: Likewise.
25372 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
25373 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
25374 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25375 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25376 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25377 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
25378 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
25379 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
25380 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25381 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25382 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25383 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25384 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25385 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25386 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25387 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25388 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25389 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25390 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25391 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25392 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25393 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25394 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25395 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25396 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25397 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25398 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25399 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25400 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25401 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25402 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25403 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25404 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25405 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25406 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25407 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25408 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
25409 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25410 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25411 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25412 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25413 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25414 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25415 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25416 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25417 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25418 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25419 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25420 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25421 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25422 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25423 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25424 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25425 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25426 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25427 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25428 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25429 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
25430 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25431 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25432 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25433 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25434 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25435 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25436 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25437 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25438 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25439 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25440 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25441 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25442 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25443 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25444 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25445 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25446 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25447 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25448 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
25449 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25450 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25451 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25452 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25453 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25454 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25455 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25456 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25457 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25458 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25459 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25460 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25461 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25462 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
25463 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25464 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25465 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25466 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25467 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25468 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25469 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25470 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25471 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25472 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25473 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25474 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25475 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25476 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25477 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
25478 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
25479 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
25480 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
25481 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
25482 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
25483 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
25484 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25485 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25486 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25487 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25488 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
25489 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25490 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
25491 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
25492 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
25493 (__isnanf): Likewise.
25494 (__isinf_ns): Likewise.
25495 (__isinf_nsf): Likewise.
25496 (__finite): Likewise.
25497 (__finitef): Likewise.
25498 (__ieee754_sqrt): Define as macro.
25499 (__ieee754_sqrtf): Define as macro.
25500 (__ieee754_sqrtl): Define as macro.
25501 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
25502 inlined copy.
25503 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
25504 __FINITE_MATH_ONLY__ consistent.
25505 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
25506
12cc2fcd
AS
255072011-10-10 Andreas Schwab <schwab@linux-m68k.org>
25508
a843a204
AS
25509 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
25510 of rawmemchr.
25511
12cc2fcd
AS
25512 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
25513
c853acd5
UD
255142011-10-09 Ulrich Drepper <drepper@gmail.com>
25515
25516 * po/ja.po: Update from translation team.
25517
c658d255
RM
255182011-10-08 Roland McGrath <roland@hack.frob.com>
25519
110946e4
RM
25520 * locale/programs/locarchive.c (prepare_address_space): New function.
25521 (create_archive, enlarge_archive, open_archive): Use it.
25522
50604220
RM
25523 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
25524 inside [SHARED], where it is used.
25525
c658d255
RM
25526 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
25527
25528 * nss/getent.c (netgroup_keys): Remove unused variable.
25529 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25530
6a621eb7
UD
255312011-10-08 Ulrich Drepper <drepper@gmail.com>
25532
7edb55ce
UD
25533 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
25534 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
25535 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
25536 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
25537 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
25538 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
25539 * math/Makefile (libm-calls): Add s_isinf_ns.
25540 * math/divtc3.c: Use __isinf_nsl instead of isinf.
25541 * math/multc3.c: Likewise.
25542 * math/s_casin.c: Likewise.
25543 * math/s_casinf.c: Likewise.
25544 * math/s_casinl.c: Likewise.
25545 * math/s_ccos.c: Likewise.
25546 * math/s_ccosf.c: Likewise.
25547 * math/s_ccosl.c: Likewise.
25548 * math/s_ctan.c: Likewise.
25549 * math/s_ctanf.c: Likewise.
25550 * math/s_ctanh.c: Likewise.
25551 * math/s_ctanhf.c: Likewise.
25552 * math/s_ctanhl.c: Likewise.
25553 * math/s_ctanl.c: Likewise.
25554 * math/w_fmod.c: Likewise.
25555 * math/w_fmodf.c: Likewise.
25556 * math/w_fmodl.c: Likewise.
25557 * math/w_remainder.c: Likewise.
25558 * math/w_remainderf.c: Likewise.
25559 * math/w_remainderl.c: Likewise.
25560 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
25561 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
25562 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
25563 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
25564 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
25565 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
25566 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
25567 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
25568
187da0ae
UD
25569 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
25570 of the number.
25571 * stdio-common/printf_fphex.c: Likewise.
25572 * stdio-common/printf_size.c: Likewise.
25573
9277c064
UD
25574 * math/e_exp10.c: Include math_private.h using <...> not "...".
25575 * math/e_exp10f.c: Likewise.
25576 * math/e_exp10l.c: Likewise.
25577 * math/e_exp2l.c: Likewise.
25578 * math/e_j0l.c: Likewise.
25579 * math/e_j1l.c: Likewise.
25580 * math/e_jnl.c: Likewise.
25581 * math/e_lgammal_r.c: Likewise.
25582 * math/e_rem_pio2l.c: Likewise.
25583 * math/e_scalb.c: Likewise.
25584 * math/e_scalbf.c: Likewise.
25585 * math/e_scalbl.c: Likewise.
25586 * math/k_cosl.c: Likewise.
25587 * math/k_sinl.c: Likewise.
25588 * math/k_tanl.c: Likewise.
25589 * math/s_cacoshf.c: Likewise.
25590 * math/s_catan.c: Likewise.
25591 * math/s_catanf.c: Likewise.
25592 * math/s_catanh.c: Likewise.
25593 * math/s_catanhf.c: Likewise.
25594 * math/s_catanhl.c: Likewise.
25595 * math/s_catanl.c: Likewise.
25596 * math/s_ccosh.c: Likewise.
25597 * math/s_ccoshf.c: Likewise.
25598 * math/s_ccoshl.c: Likewise.
25599 * math/s_cexp.c: Likewise.
25600 * math/s_cexpf.c: Likewise.
25601 * math/s_cexpl.c: Likewise.
25602 * math/s_clog.c: Likewise.
25603 * math/s_clog10.c: Likewise.
25604 * math/s_clog10f.c: Likewise.
25605 * math/s_clog10l.c: Likewise.
25606 * math/s_clogf.c: Likewise.
25607 * math/s_clogl.c: Likewise.
25608 * math/s_csin.c: Likewise.
25609 * math/s_csinf.c: Likewise.
25610 * math/s_csinh.c: Likewise.
25611 * math/s_csinhf.c: Likewise.
25612 * math/s_csinhl.c: Likewise.
25613 * math/s_csinl.c: Likewise.
25614 * math/s_csqrt.c: Likewise.
25615 * math/s_csqrtf.c: Likewise.
25616 * math/s_csqrtl.c: Likewise.
25617 * math/s_ctan.c: Likewise.
25618 * math/s_ctanf.c: Likewise.
25619 * math/s_ctanh.c: Likewise.
25620 * math/s_ctanhf.c: Likewise.
25621 * math/s_ctanhl.c: Likewise.
25622 * math/s_ctanl.c: Likewise.
25623 * math/s_ldexp.c: Likewise.
25624 * math/s_ldexpf.c: Likewise.
25625 * math/s_ldexpl.c: Likewise.
25626 * math/s_significand.c: Likewise.
25627 * math/s_significandf.c: Likewise.
25628 * math/s_significandl.c: Likewise.
25629 * math/w_acos.c: Likewise.
25630 * math/w_acosf.c: Likewise.
25631 * math/w_acosh.c: Likewise.
25632 * math/w_acoshf.c: Likewise.
25633 * math/w_acoshl.c: Likewise.
25634 * math/w_acosl.c: Likewise.
25635 * math/w_asin.c: Likewise.
25636 * math/w_asinf.c: Likewise.
25637 * math/w_asinl.c: Likewise.
25638 * math/w_atan2.c: Likewise.
25639 * math/w_atan2f.c: Likewise.
25640 * math/w_atan2l.c: Likewise.
25641 * math/w_atanh.c: Likewise.
25642 * math/w_atanhf.c: Likewise.
25643 * math/w_atanhl.c: Likewise.
25644 * math/w_cosh.c: Likewise.
25645 * math/w_coshf.c: Likewise.
25646 * math/w_coshl.c: Likewise.
25647 * math/w_dremf.c: Likewise.
25648 * math/w_exp10.c: Likewise.
25649 * math/w_exp10f.c: Likewise.
25650 * math/w_exp10l.c: Likewise.
25651 * math/w_exp2.c: Likewise.
25652 * math/w_exp2f.c: Likewise.
25653 * math/w_fmod.c: Likewise.
25654 * math/w_fmodf.c: Likewise.
25655 * math/w_fmodl.c: Likewise.
25656 * math/w_hypot.c: Likewise.
25657 * math/w_hypotf.c: Likewise.
25658 * math/w_hypotl.c: Likewise.
25659 * math/w_j0.c: Likewise.
25660 * math/w_j0f.c: Likewise.
25661 * math/w_j0l.c: Likewise.
25662 * math/w_j1.c: Likewise.
25663 * math/w_j1f.c: Likewise.
25664 * math/w_j1l.c: Likewise.
25665 * math/w_jn.c: Likewise.
25666 * math/w_jnf.c: Likewise.
25667 * math/w_jnl.c: Likewise.
25668 * math/w_lgamma.c: Likewise.
25669 * math/w_lgamma_r.c: Likewise.
25670 * math/w_lgammaf.c: Likewise.
25671 * math/w_lgammaf_r.c: Likewise.
25672 * math/w_lgammal.c: Likewise.
25673 * math/w_lgammal_r.c: Likewise.
25674 * math/w_log.c: Likewise.
25675 * math/w_log10.c: Likewise.
25676 * math/w_log10f.c: Likewise.
25677 * math/w_log10l.c: Likewise.
25678 * math/w_log2.c: Likewise.
25679 * math/w_log2f.c: Likewise.
25680 * math/w_log2l.c: Likewise.
25681 * math/w_logf.c: Likewise.
25682 * math/w_logl.c: Likewise.
25683 * math/w_pow.c: Likewise.
25684 * math/w_powf.c: Likewise.
25685 * math/w_powl.c: Likewise.
25686 * math/w_remainder.c: Likewise.
25687 * math/w_remainderf.c: Likewise.
25688 * math/w_remainderl.c: Likewise.
25689 * math/w_scalb.c: Likewise.
25690 * math/w_scalbf.c: Likewise.
25691 * math/w_scalbl.c: Likewise.
25692 * math/w_sinh.c: Likewise.
25693 * math/w_sinhf.c: Likewise.
25694 * math/w_sinhl.c: Likewise.
25695 * math/w_sqrt.c: Likewise.
25696 * math/w_sqrtf.c: Likewise.
25697 * math/w_sqrtl.c: Likewise.
25698 * math/w_tgamma.c: Likewise.
25699 * math/w_tgammaf.c: Likewise.
25700 * math/w_tgammal.c: Likewise.
25701
6a621eb7
UD
25702 * po/ja.po: Update from translation team.
25703
bf582445
AJ
257042011-09-29 Andreas Jaeger <aj@suse.de>
25705
f9efbf3a
AJ
25706 [BZ #13179]
25707 * sunrpc/netname.c (netname2host): Fix logic.
25708
bf582445
AJ
25709 [BZ #6779]
25710 [BZ #6783]
25711 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
25712 correctly.
25713 * math/w_remainder.c (__remainder): Likewise.
25714 * math/w_remainderf.c (__remainderf): Likewise.
25715 * math/libm-test.inc (remainder_test): Add test cases.
25716
48693bea
AK
257172011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25718
25719 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
25720 sdiv_qrnnd.
25721
42622229
LD
257222011-10-07 Ulrich Drepper <drepper@gmail.com>
25723
25724 * string/test-memcmp.c: Avoid unncessary #defines.
25725 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25726
093ecf92
LD
257272011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25728
25729 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
25730 Use new sse2 version for core i3 - i7 as it's faster
25731 than sse42 version.
25732 (bit_Prefer_PMINUB_for_stringop): New.
25733 * sysdeps/x86_64/rawmemchr.S: Update.
25734 Replace with faster SSE2 version.
25735 * sysdeps/x86_64/memrchr.S: New file.
25736 * sysdeps/x86_64/memchr.S: Update.
25737 Replace with faster SSE2 version.
25738
fde56e5c
MP
257392011-09-12 Marek Polacek <mpolacek@redhat.com>
25740
25741 * elf/dl-load.c (lose): Add cast to avoid warning.
25742
21fd49a9
UD
257432011-10-07 Ulrich Drepper <drepper@gmail.com>
25744
5a06e643
UD
25745 * po/ca.po: Update from translation team.
25746
684ae515
UD
25747 * inet/getnetgrent_r.c: Hook up nscd.
25748 * nscd/Makefile (routines): Add nscd_netgroup.
25749 (nscd-modules): Add netgroupcache.
25750 (CFLAGS-netgroupcache.c): Define.
25751 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
25752 (cache_search): Add const to second parameter.
25753 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
25754 INNETGR.
25755 (dbs): Add netgrdb entry.
25756 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
25757 (verify_persistent_db): Handle netgrdb.
25758 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
25759 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
25760 GETFDNETGR.
25761 (netgroup_response_header): Define.
25762 (innetgroup_response_header): Define.
25763 (datahead): Add netgroup_response_header and innetgroup_response_header
25764 elements.
25765 * nscd/nscd.conf: Add entries for netgroup cache.
25766 * nscd/nscd.h (dbtype): Add netgrdb.
25767 (_PATH_NSCD_NETGROUP_DB): Define.
25768 (netgroup_iov_disabled): Declare.
25769 (xmalloc, xcalloc, xrealloc): Move declarations here.
25770 (cache_search): Adjust prototype.
25771 Add netgroup-related prototypes.
25772 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
25773 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
25774 (__nscd_innetgr): Declare.
25775 * nscd/selinux.c (perms): Use access_vector_t as element type and
25776 add netgroup-related initializers.
25777 * nscd/netgroupcache.c: New file.
25778 * nscd/nscd_netgroup.c: New file.
25779 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
25780 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
25781 For four parameters use innetgr.
25782 * nss/nss_files/files-init.c: Add definition and callback for netgr.
25783 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
25784 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
25785 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
25786
21fd49a9
UD
25787 * nscd/connections.c (register_traced_file): Don't register file
25788 for disabled databases.
25789
054c0457
UD
257902011-10-06 Ulrich Drepper <drepper@gmail.com>
25791
32b63198
UD
25792 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
25793
054c0457
UD
25794 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
25795 from tree and freeing node.
25796
64031225
JO
257972011-09-25 Jiri Olsa <jolsa@redhat.com>
25798
25799 * nss/nsswitch.c (__nss_database_lookup): Handle
25800 nss_parse_service_list out of memory case.
25801
0490345c
JO
258022011-09-15 Jiri Olsa <jolsa@redhat.com>
25803
25804 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
25805 out of memory case.
25806
3a62d00d
AS
258072011-10-04 Andreas Schwab <schwab@redhat.com>
25808
25809 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
25810 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
25811 pass it down.
25812 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
25813 elf_machine_rela, elf_machine_lazy_rel.
25814 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
25815 (ELF_DYNAMIC_DO_REL): Likewise.
25816 (ELF_DYNAMIC_DO_RELA): Likewise.
25817 (ELF_DYNAMIC_RELOCATE): Likewise.
25818 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
25819 to ELF_DYNAMIC_DO_REL.
25820 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
25821 (dl_main): In trace mode always set __RTLD_NOIFUNC.
25822 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
25823 elf_machine_rela.
25824 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
25825 skip_ifunc, don't call ifunc function if non-zero.
25826 (elf_machine_rela): Likewise.
25827 (elf_machine_lazy_rel): Likewise.
25828 (elf_machine_lazy_rela): Likewise.
25829 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
25830 (elf_machine_lazy_rel): Likewise.
25831 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25832 Likewise.
25833 (elf_machine_lazy_rel): Likewise.
25834 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25835 Likewise.
25836 (elf_machine_lazy_rel): Likewise.
25837 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
25838 (elf_machine_lazy_rel): Likewise.
25839 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
25840 (elf_machine_lazy_rel): Likewise.
25841 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25842 (elf_machine_lazy_rel): Likewise.
25843 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25844 (elf_machine_lazy_rel): Likewise.
25845 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25846 (elf_machine_lazy_rel): Likewise.
25847 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25848 (elf_machine_lazy_rel): Likewise.
25849
68577918
UD
258502011-09-28 Ulrich Drepper <drepper@gmail.com>
25851
25852 * nss/nss_files/files-init.c (_nss_files_init): Use static
25853 initialization for all the *_traced_file variables.
25854
68822d74
AS
258552011-09-28 Andreas Schwab <schwab@redhat.com>
25856
25857 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25858
2056100b
RM
258592011-09-27 Roland McGrath <roland@hack.frob.com>
25860
25861 [BZ #13226]
25862 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
25863
32c76b63
AS
258642011-09-27 Andreas Schwab <schwab@redhat.com>
25865
25866 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25867 Reread the line before reparsing it.
25868
bf972c9d
AS
258692011-09-26 Andreas Schwab <schwab@redhat.com>
25870
25871 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
25872
e057a1b5
JM
258732011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
25874 Maxim Kuvyrkov <maxim@codesourcery.com>
25875 Joseph Myers <joseph@codesourcery.com>
25876
25877 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
25878 if needed for __stack_chk_guard.
25879
bc7e1c36
RM
258802011-09-19 Roland McGrath <roland@hack.frob.com>
25881
ecb1482f
RM
25882 * sysdeps/posix/spawni.c (script_execute): Always define it.
25883 It will be optimized away if unused.
25884 (maybe_script_execute): New function.
25885 (__spawni): Call it.
25886
bc7e1c36
RM
25887 * Makerules: Don't include tls.make.
25888 (config-tls): Always set to thread.
25889 * tls.make.c: File removed.
25890
1c3b002b
MF
258912011-09-19 Mike Frysinger <vapier@gentoo.org>
25892
25893 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
25894 * config.make.in (CPPFLAGS-config): New substituted variable.
25895
2840865d
UD
258962011-09-15 Ulrich Drepper <drepper@gmail.com>
25897
88738eb6
UD
25898 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
25899
cbf645a6 25900 [BZ #13192]
2840865d
UD
25901 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
25902 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
25903
b402e91a
RM
259042011-09-15 Roland McGrath <roland@hack.frob.com>
25905
25906 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
25907 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
25908 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25909 (CALL_FAIL): Likewise.
25910 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
25911 (CALL_FAIL): Macro removed.
25912 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
25913
4c1a1f71
UD
259142011-09-15 Ulrich Drepper <drepper@gmail.com>
25915
25916 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
25917 for __FINITE_MATH_ONLY__ == 1.
25918
edc121be
AS
259192011-09-15 Andreas Schwab <schwab@redhat.com>
25920
25921 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
25922 __ieee754_sqrt instead of sqrt.
25923 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
25924 __ieee754_sqrtf instead of sqrtf.
25925 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
25926 __floorf instead of floorf.
25927 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
25928 __floorf, __truncf instead of floorf, truncf.
25929
cd205654
UD
259302011-09-14 Ulrich Drepper <drepper@gmail.com>
25931
ee4d0315
UD
25932 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
25933
cd205654
UD
25934 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
25935 __extern_always_inline.
25936 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
25937 32-bit.
25938
48b67d71
AS
259392011-09-14 Andreas Schwab <schwab@redhat.com>
25940
25941 * elf/rtld.c (dl_main): Also relocate in dependency order when
25942 doing symbol dependency testing.
25943
1ae12c75
AS
259442011-09-13 Andreas Schwab <schwab@linux-m68k.org>
25945
25946 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25947 Always define `refsym'.
25948
995a80df
AS
259492011-09-13 Andreas Schwab <schwab@redhat.com>
25950
e529793b
AS
25951 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
25952 (__FD_ELT): Renamed from __FDELT.
25953 * misc/bits/select2.h (__FD_ELT): Likewise.
25954 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
25955 __FD_MASK instead of __FDELT, __FDMASK.
25956 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25957 Likewise.
25958 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25959 Likewise.
25960
52d4fef8
AS
25961 * elf/Makefile (gen-ldd): Fix pattern.
25962
995a80df
AS
25963 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
25964 (init_tls): Likewise.
25965
8682f8b0
UD
259662011-09-12 Ulrich Drepper <drepper@gmail.com>
25967
25968 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
25969
de82006d
AS
259702011-09-12 Andreas Schwab <schwab@redhat.com>
25971
a7c8e6a1
AS
25972 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
25973 `struct cmsghdr *' instead of `void *'.
25974 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
25975 Likewise.
25976
0f31fe77
AS
259772011-09-11 Andreas Schwab <schwab@linux-m68k.org>
25978
25979 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
25980 if non-absolute.
25981 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
25982 ldd_rewrite_script.
0f31fe77 25983
32b4c839
UD
259842011-09-11 Ulrich Drepper <drepper@gmail.com>
25985
83cd1420
UD
25986 * configure.in: Remove --with-tls option.
25987 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
25988 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
25989 out in case it is missing.
25990 * sysdeps/ia64/elf/configure.in: Likewise.
25991 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
25992 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
25993 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
25994 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
25995 * sysdeps/sh/elf/configure.in: Likewise.
25996 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
25997 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25998 * sysdeps/x86_64/elf/configure.in: Likewise.
25999 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
26000 * sysdeps/mach/hurd/tls.h: Likewise.
26001
633f745d
UD
26002 [BZ #13067]
26003 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
26004
f318beb8
UD
26005 [BZ #13090]
26006 * configure.in: Fix use of AC_INIT.
26007
32b4c839
UD
26008 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
26009
3ce1f295
UD
260102011-09-10 Ulrich Drepper <drepper@gmail.com>
26011
bb016596
UD
26012 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
26013 __set_errno.
8e58439c
UD
26014 * malloc/hooks.c: Likewise.
26015
aebae053 26016 [BZ #11929]
02d46fc4
UD
26017 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
26018 variables statically.
26019 (narenas): Initialize.
26020 (list_lock): Initialize.
bb016596
UD
26021 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
26022 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
26023 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
26024 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
26025 Add initializers to main_arena and mp_.
26026 (malloc_state): Remove pagesize member. Change all users to use
26027 GLRO(dl_pagesize).
26028
26029 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
26030 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
26031 is always initialized.
26032
22a89187
UD
26033 * malloc/malloc.c: Removed unused configurations and dead code.
26034 * malloc/arena.c: Likewise.
26035 * malloc/hooks.c: Likewise.
02d46fc4 26036 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 26037
d063d164
UD
26038 * include/tls.h: Removed. USE___THREAD must always be defined.
26039 * bits/libc-tsd.h: Don't handle !USE___THREAD.
26040 * elf/dl-libc.c: Likewise.
26041 * elf/dl-tsd.c: Likewise.
26042 * include/errno.h: Likewise.
26043 * include/netdb.h: Likewise.
26044 * include/resolv.h: Likewise.
26045 * inet/herrno-loc.c: Likewise.
26046 * inet/herrno.c: Likewise.
26047 * malloc/arena.c: Likewise.
26048 * malloc/hooks.c: Likewise.
26049 * malloc/malloc.c: Likewise.
26050 * resolv/res-state.c: Likewise.
26051 * resolv/res_libc.c: Likewise.
26052 * sysdeps/i386/dl-machine.h: Likewise.
26053 * sysdeps/ia64/dl-machine.h: Likewise.
26054 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26055 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26056 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26057 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26058 * sysdeps/sh/dl-machine.h: Likewise.
26059 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26060 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26061 * sysdeps/unix/i386/sysdep.S: Likewise.
26062 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26063 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26064 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26065 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26066 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26067 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26068 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26069 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26070 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26071 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26072 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26073 * sysdeps/x86_64/dl-machine.h: Likewise.
26074 * tls.make.c: Likewise.
26075
3ce1f295
UD
26076 * configure.in: Remove --with-__thread option. Make tests for
26077 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
26078 tls_model attribute fail if no support is available. Remove
26079 USE_IN_LIBIO.
26080 * Makeconfig: Adjust for dropped configure option. All features are
26081 now mandatory.
26082 * Makerules: Likewise.
26083 * Versions.def: Likewise.
26084 * argp/argp-fmtstream.c: Likewise.
26085 * argp/argp-fmtstream.h: Likewise.
26086 * argp/argp-help.c: Likewise.
26087 * assert/assert.c: Likewise.
26088 * config.h.in: Likewise.
26089 * config.make.in: Likewise.
26090 * configure: Likewise.
26091 * configure.in: Likewise.
26092 * csu/Versions: Likewise.
26093 * csu/init.c: Likewise.
26094 * elf/tst-audit2.c: Likewise.
26095 * elf/tst-tls10.c: Likewise.
26096 * elf/tst-tls10.h: Likewise.
26097 * elf/tst-tls11.c: Likewise.
26098 * elf/tst-tls12.c: Likewise.
26099 * elf/tst-tls14.c: Likewise.
26100 * elf/tst-tlsmod11.c: Likewise.
26101 * elf/tst-tlsmod12.c: Likewise.
26102 * elf/tst-tlsmod13.c: Likewise.
26103 * elf/tst-tlsmod13a.c: Likewise.
26104 * elf/tst-tlsmod14a.c: Likewise.
26105 * elf/tst-tlsmod15b.c: Likewise.
26106 * elf/tst-tlsmod16a.c: Likewise.
26107 * elf/tst-tlsmod16b.c: Likewise.
26108 * elf/tst-tlsmod7.c: Likewise.
26109 * elf/tst-tlsmod8.c: Likewise.
26110 * elf/tst-tlsmod9.c: Likewise.
26111 * gmon/gmon.c: Likewise.
26112 * grp/fgetgrent_r.c: Likewise.
26113 * grp/putgrent.c: Likewise.
26114 * hurd/fopenport.c: Likewise.
26115 * include/libc-symbols.h: Likewise.
26116 * include/tls.h: Likewise.
26117 * intl/gettextP.h: Likewise.
26118 * intl/loadinfo.h: Likewise.
26119 * locale/global-locale.c: Likewise.
26120 * locale/localeinfo.h: Likewise.
26121 * mach/devstream.c: Likewise.
26122 * malloc/arena.c: Likewise.
26123 * malloc/set-freeres.c: Likewise.
26124 * misc/err.c: Likewise.
26125 * misc/getttyent.c: Likewise.
26126 * misc/mntent_r.c: Likewise.
26127 * posix/getopt.c: Likewise.
26128 * posix/wordexp.c: Likewise.
26129 * pwd/fgetpwent_r.c: Likewise.
26130 * resolv/Versions: Likewise.
26131 * resolv/res_hconf.c: Likewise.
26132 * shadow/fgetspent_r.c: Likewise.
26133 * shadow/putspent.c: Likewise.
26134 * stdio-common/printf_fphex.c: Likewise.
26135 * stdio-common/tmpfile.c: Likewise.
26136 * stdlib/abort.c: Likewise.
26137 * stdlib/fmtmsg.c: Likewise.
26138 * sunrpc/auth_unix.c: Likewise.
26139 * sunrpc/clnt_perr.c: Likewise.
26140 * sunrpc/clnt_tcp.c: Likewise.
26141 * sunrpc/clnt_udp.c: Likewise.
26142 * sunrpc/clnt_unix.c: Likewise.
26143 * sunrpc/openchild.c: Likewise.
26144 * sunrpc/svc_simple.c: Likewise.
26145 * sunrpc/svc_tcp.c: Likewise.
26146 * sunrpc/svc_udp.c: Likewise.
26147 * sunrpc/svc_unix.c: Likewise.
26148 * sunrpc/xdr.c: Likewise.
26149 * sunrpc/xdr_array.c: Likewise.
26150 * sunrpc/xdr_rec.c: Likewise.
26151 * sunrpc/xdr_ref.c: Likewise.
26152 * sunrpc/xdr_stdio.c: Likewise.
26153
1248c1c4
PB
261542011-09-09 Ulrich Drepper <drepper@gmail.com>
26155
26156 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26157
261582011-07-03 Andreas Jaeger <aj@suse.de>
26159
26160 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
26161 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
26162 regenerate with gen-libm-tests.pl.
26163
261642010-05-12 Petr Baudis <pasky@suse.cz>
26165
26166 [BZ #11589]
26167 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
26168 around j0() zero points by switching to j1().
26169 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26170 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26171 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26172 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26173
f22e1074
UD
261742011-09-09 Ulrich Drepper <drepper@gmail.com>
26175
f19009c1
UD
26176 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
26177 instead of 0.
26178 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 26179 instead of 0.
f19009c1
UD
26180 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26181 Patch in part by Pavel Roskin <proski@gnu.org>.
26182
3f8cc204
UD
26183 [BZ #13138]
26184 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
26185 realloc.
26186 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
26187 Free memory block if necessary.
26188
f22e1074
UD
26189 [BZ #12847]
26190 * libio/genops.c (INTDEF): For string streams the _lock pointer can
26191 be NULL. Don't lock in this case.
26192
0a2349f9
RM
261932011-09-09 Roland McGrath <roland@hack.frob.com>
26194
26195 * elf/elf.h (ELFOSABI_GNU): New macro.
26196 (ELFOSABI_LINUX): Define to that.
26197
f3cdd467
DZ
261982011-07-29 Denis Zaitceff <zaitceff@gmail.com>
26199
26200 * string/strncat.c (strncat): Undef the symbol in case it has been
26201 defined in bits/string.h.
26202
74718d13
UD
262032011-09-09 Ulrich Drepper <drepper@gmail.com>
26204
633e9e0f
UD
26205 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
26206
0a2349f9 26207 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
26208 link map.
26209
f9924780
AJ
262102011-08-17 Andreas Jaeger <aj@suse.de>
26211
26212 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
26213
7f5517aa
PP
262142011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26215 Ian Lance Taylor <iant@google.com>
26216
26217 * math/libm-test.inc (lround_test): New testcase.
26218 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
26219
762011fe
UD
262202011-09-08 Ulrich Drepper <drepper@gmail.com>
26221
92963737
UD
26222 * Makefile: Remove support for automatic cvs check-ins.
26223 * Makerules: Likewise.
26224 * config.make.in: Likewise.
26225 * configure.in: Likewise.
26226 * intl/Makefile: Likewise.
26227 * locale/Makefile: Likewise.
26228 * po/Makefile: Likewise.
26229 * posix/Makefile: Likewise.
26230 * sysdeps/gnu/Makefile: Likewise.
26231 * sysdeps/mach/hurd/Makefile: Likewise.
26232 * sysdeps/sparc/sparc32/Makefile: Likewise.
26233
b0727fd8
JS
26234 [BZ #13118]
26235 * posix/Makefile (bug-regex32-ENV): Define.
26236 Patch by John Stanley <jpsinthemix@verizon.net>.
26237
a0f33f99
UD
26238 * misc/Makefile (headers): Add bits/select2.h.
26239 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
26240 * misc/bits/select2.h: New file.
26241 * include/bits/select2.h: New file.
26242 * debug/Makefile (routines): Add fdelt_chk.
26243 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
26244 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
26245 FD_ISSET.
26246 * debug/fdelt_chk.c: New file.
26247
762011fe
UD
26248 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
26249 * wcsmbs/test-wmemcmp.c: Likewise.
26250 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 26251 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
26252
262532011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26254
26255 * string/Makefile (strop-tests): Add memcmp.
26256 * string/test-wmemcmp.c: New file.
26257 * string/test-memcmp.c: Add wmemcmp support.
26258
7f513ec8
RM
262592011-09-08 Roland McGrath <roland@hack.frob.com>
26260
0442afb4
RM
26261 [BZ #13153]
26262 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
26263 2011-07-19 change.
26264
7f513ec8
RM
26265 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
26266 garbage value in a __mach_port_mod_refs call in the cases of the
26267 task-self and thread-self ports.
26268
a12b2239
ST
262692011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26270
26271 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
26272
610f9ab4
AS
262732011-09-08 Andreas Schwab <schwab@redhat.com>
26274
7f513ec8 26275 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 26276
48882a1a
LD
262772011-09-07 Ulrich Drepper <drepper@gmail.com>
26278
b49865be
UD
26279 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
26280
fdc86bc9
UD
26281 * elf/dl-libc.c (dlerror_run): Pass back error code from
26282 dl_catch_error.
26283
c966526a
UD
26284 [BZ #13123]
26285 * elf/dl-load.c (lose): Free l_origin if it is valid.
26286
48882a1a
LD
26287 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
26288 names.
26289 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26290 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26291 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26292 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26293 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26294 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
26295
77a2a8b4
AZ
262962011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26297
26298 * sysdeps/powerpc/fpu/e_hypot.c: New file.
26299 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
26300 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
26301 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
26302 * sysdeps/powerpc/fpu/k_cosf.c: New file.
26303 * sysdeps/powerpc/fpu/k_sinf.c: New file.
26304 * sysdeps/powerpc/fpu/s_cosf.c: New file.
26305 * sysdeps/powerpc/fpu/s_sinf.c: New file.
26306 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
26307 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
26308
24f579d8
AM
263092011-08-15 Alan Modra <amodra@gmail.com>
26310
26311 [BZ #13092]
26312 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
26313 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
26314 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
26315 ppc_mcount to static-only-routines.
26316 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
26317 __mcount_internal.
26318 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
26319 __mcount_internal with usual JUMPTARGET. Remove useless nop.
26320
3d4837df
UD
263212011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
26322
26323 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
26324 for finite and infinity parameters.
26325
22700377
WS
263262011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26327
26328 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
26329 and add nop instructions for throughput optimization.
26330 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26331
5025581e
WS
263322011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
26333
26334 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
26335 aligned copy for power7 with vector-scalar instructions.
26336 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26337
08a300c9
L
263382011-07-24 H.J. Lu <hongjiu.lu@intel.com>
26339
26340 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
26341 AVX check.
26342
59178ef9
AS
263432011-09-07 Andreas Schwab <schwab@redhat.com>
26344
26345 [BZ #13144]
26346 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
26347 last change.
26348
e38ba7ab
UD
263492011-09-07 Ulrich Drepper <drepper@gmail.com>
26350
26351 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26352 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
26353 syscall wrapper around clock_gettime in __vdso_clock_gettime.
26354 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
26355 clock_gettime.
26356
d53a73ac
UD
263572011-09-06 Ulrich Drepper <drepper@gmail.com>
26358
fc8bffcc
UD
26359 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
26360 Forgot to demangle the pointer.
26361
ceaa0c5d
UD
26362 * sysdeps/i386/sysdep.h: Define atom_text_section.
26363 * sysdeps/x86_64/sysdep.h: Likewise.
26364 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
26365 section with atom_text_section.
26366 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26367 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26368 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
26369 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
26370 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
26371
a77d3c17
UD
26372 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
26373 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
26374 already be defined. Change to take two parameters and don't assign
26375 result to variable. Adjust all users.
26376 Define INTERNAL_GETTIME if not already defined.
26377 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
26378 call.
26379 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
26380 HAVE_CLOCK_GETTIME_VSYSCALL.
26381 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
26382
d53a73ac
UD
26383 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
26384 gettimeofday vsyscall, just use time.
26385
a8f84144
AS
263862011-09-06 Andreas Schwab <schwab@redhat.com>
26387
26388 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
26389 <errno.h>.
26390
ef606249
UD
263912011-09-06 Ulrich Drepper <drepper@gmail.com>
26392
26393 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
26394 syscall on x86-64.
26395 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
26396 syscall.
26397 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
26398 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
26399 syscall if possible.
26400
6585cb60
UD
264012011-09-05 Ulrich Drepper <drepper@gmail.com>
26402
26403 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
26404 e_ident. Don't pass to find_mapsXX.
26405 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
26406
a5f524e4
LD
264072011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26408
26409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26410 strchr-sse2-no-bsf strrchr-sse2-no-bsf
26411 * sysdeps/x86_64/multiarch/strchr.S: Update.
26412 Check bit_slow_BSF bit.
26413 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26414 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
26415 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
26416
554881ef
UD
264172011-09-05 Ulrich Drepper <drepper@gmail.com>
26418
d96de963
UD
26419 [BZ #13134]
26420 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
26421 before glibc 2.15.
26422 (tryshell): Define.
26423 (__spawni): Change last parameter to be flag. Test
26424 SPAWN_XFLAGS_USE_PATH flag to use path or not.
26425 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
26426 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
26427 * posix/spawni.c: Likewise.
26428 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
26429 * posix/spawnp.c: Likewise. Change normal version to use
26430 SPAWN_XFLAGS_USE_PATH.
26431 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
26432 SPAWN_XFLAGS_TRY_SHELL.
26433
d48e5868
UD
26434 [BZ #13150]
26435 * posix/glob.h: Remove gcc 1.x support.
26436
554881ef
UD
26437 [BZ #13068]
26438 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
26439
693fb948
LD
264402011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26441
26442 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26443 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
26444 strrchr-sse2-bsf
26445 * sysdeps/i386/i686/multiarch/strchr.S: New file.
26446 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
26447 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
26448 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
26449 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
26450 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
26451
1b48c537
UD
264522011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26453
49d42c37
UD
26454 * sysdeps/x86_64/wcscmp.S: New file.
26455
1b48c537
UD
26456 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
26457 wcscmp-c wcscmp-sse2
26458 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
26459 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
26460 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
26461 * wcsmbs/wcscmp.c: Allow renaming.
26462
15c95c5d
DM
264632011-09-05 David S. Miller <davem@davemloft.net>
26464
26465 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
26466 stack slot, rather than the struct return pointer slot.
26467 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
26468 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
26469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
26470 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
26471
2f0ad8f3
UD
264722011-09-05 Ulrich Drepper <drepper@gmail.com>
26473
d88ae418
UD
26474 * po/ja.po: Update from translation team.
26475
2f0ad8f3
UD
26476 [BZ #13144]
26477 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
26478 kernel in 64-bit binaries.
26479
5f4318d1
DM
264802011-09-01 David S. Miller <davem@davemloft.net>
26481
26482 * elf/elf.h (HWCAP_SPARC_*): Move to..
26483 * sysdeps/sparc/sysdep.h: this new file and add new values.
26484 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
26485 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
26486 _DL_HWCAP_COUNT to 24.
26487 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26488 entries.
26489 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
26490 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
26491 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
26492 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
26493 instead of magic constants.
26494 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26495
3ba57516
DM
264962011-08-31 David S. Miller <davem@davemloft.net>
26497
26498 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
26499 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
26500 Reimplement to do errno handling inline.
26501 (SYSCALL_ERROR_HANDLER): New macro.
26502 (__SYSCALL_STRING): Do not do errno handling in asm.
26503 (__CLONE_SYSCALL_STRING): Delete.
26504 (__INTERNAL_SYSCALL_STRING): Delete.
26505 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
26506 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
26507 (PSEUDO): Reimplement to do errno handling inline.
26508 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
26509 (SYSCALL_ERROR_HANDLER): New macro.
26510 (__SYSCALL_STRING): Do not do errno handling in asm.
26511 (__CLONE_SYSCALL_STRING): Delete.
26512 (__INTERNAL_SYSCALL_STRING): Delete.
26513 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
26514 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
26515 i386.
26516 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
26517 (inline_syscall*): Add 'err' argument.
26518 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
26519 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
26520 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
26521 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
26522
26523 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
26524 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26525
2bc17433
AS
265262011-08-30 Andreas Schwab <schwab@redhat.com>
26527
26528 * elf/rtld.c (dl_main): Relocate objects in dependency order.
26529
fbeb5f4d
JO
265302011-08-29 Jiri Olsa <jolsa@redhat.com>
26531
26532 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
26533 directive.
26534
ad69cc26
DM
265352011-08-24 David S. Miller <davem@davemloft.net>
26536
26537 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
26538
39dd69df
AS
265392011-08-24 Andreas Schwab <schwab@redhat.com>
26540
26541 * elf/Makefile: Add rules to build and run unload8 test.
26542 * elf/unload8.c: New file.
26543 * elf/unload8mod1.c: New file.
26544 * elf/unload8mod1x.c: New file.
26545 * elf/unload8mod2.c: New file.
26546 * elf/unload8mod3.c: New file.
26547
26548 * elf/dl-close.c (_dl_close_worker): Reset private search list if
26549 it wasn't used.
26550
2c0b250a
DM
265512011-08-23 David S. Miller <davem@davemloft.net>
26552
26553 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
26554 subtract stack bias.
26555 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
26556 %sp not %fp in calculations.
26557 (_JMPBUF_UNWINDS_ADJ): Likewise.
26558
22044b48
DM
26559 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
26560 (aio_suspend): Call it to force an exception region around the
26561 AIO_MISC_WAIT() invocation.
26562
2cae4995
AS
265632011-08-23 Andreas Schwab <schwab@redhat.com>
26564
26565 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
26566 backslash.
26567
873a772e
AJ
265682011-07-04 Aurelien Jarno <aurelien@aurel32.net>
26569
26570 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
26571 protection macro.
26572 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
26573 and <dl-machine.h>.
26574 (Elf64_FuncDesc): Remove.
26575
25ad0df1
DM
265762011-08-22 David S. Miller <davem@davemloft.net>
26577
26578 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
26579 sigaltstack check, add missing cfi directives.
26580 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
26581 missing cfi directives, and sigaltstack handling.
26582
e888bcbe
AS
265832011-08-16 Andreas Schwab <schwab@redhat.com>
26584
26585 [BZ #11724]
26586 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
26587 object is seen twice.
26588 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26589
26590 * elf/Makefile (distribute): Add tst-initorder2.c.
26591 (tests): Add tst-initorder2.
26592 (modules-names): Add tst-initorder2a tst-initorder2b
26593 tst-initorder2c tst-initorder2d. Add rules to build them.
26594 ($(objpfx)tst-initorder2.out): New rule.
26595 * elf/tst-initorder2.c: New file.
26596 * elf/tst-initorder2.exp: New file.
26597
87162f46
AS
265982011-08-22 Andreas Schwab <schwab@redhat.com>
26599
70538b7f
AS
26600 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
26601
f55ffe58
AS
26602 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
26603 dependencies back to end of function.
26604
87162f46
AS
26605 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26606 $(elfobjdir)/ld.so.
26607
91b392a4
UD
266082011-08-21 Ulrich Drepper <drepper@gmail.com>
26609
26610 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
26611 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
26612 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
26613 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
26614 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
26615 of __vdso_gettimeofday.
26616 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
26617 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
26618 attribute_hidden.
26619 (_libc_vdso_platform_setup): Remove initialization of
26620 __vdso_gettimeofday and __vdso_time.
26621
5c43483f
UD
266222011-08-20 Ulrich Drepper <drepper@gmail.com>
26623
775a77e7
UD
26624 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
26625 and fgetc_unlocked.
26626 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
26627 getc_unlocked.
89f447ed 26628
49c74ba9
UD
26629 * elf/dl-open.c (add_to_global): Report additions to the global scope
26630 for LD_DEBUG=scopes.
26631 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 26632 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 26633
5c43483f
UD
26634 [BZ #13114]
26635 * stdio-common/Makefile (tests): Add bug24.
26636 * stdio-common/bug24.c: New file.
26637
a101b025
AJ
266382011-08-19 Andreas Jaeger <aj@suse.de>
26639
26640 [BZ #13114]
26641 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
26642 non-existant file when using close-on-exec mode.
26643
c88f1766
UD
266442011-08-20 Ulrich Drepper <drepper@gmail.com>
26645
0276a718
UD
26646 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
26647 the very first instruction.
26648
c88f1766
UD
26649 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
26650 the CFI state in the end.
26651 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
26652 inclusion of dl-trampoline.h.
26653 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
26654
51ccffa0
AS
266552011-08-19 Andreas Schwab <schwab@redhat.com>
26656
94d7165f
AS
26657 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
26658 expectations for long double.
26659
51ccffa0
AS
26660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
26661 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
26662
fd708658 266632011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
26664
26665 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
26666 artificual limit depends upon the system page size.
26667
44f0a71e
UD
266682011-08-17 Ulrich Drepper <drepper@gmail.com>
26669
26670 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
26671 * resolv/Makefile: Define CFLAGS-libresolv.
26672
8de79a24
AS
266732011-08-17 Andreas Schwab <schwab@redhat.com>
26674
26675 * nss/makedb.c (compute_tables): Make variables used in nested
26676 function static.
26677
27724598
UD
266782011-08-17 Ulrich Drepper <drepper@gmail.com>
26679
c5305d88
UD
26680 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
26681 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
26682 if buffer was too small.
26683
27724598
UD
26684 * elf/pldd.c (main): Attach to all threads in the process.
26685 Rewrite /proc handling to use *at functions.
26686
076fe015
UD
266872011-08-16 Ulrich Drepper <drepper@gmail.com>
26688
174baab3
UD
26689 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
26690 specifies first scope to show.
26691 (dl_open_worker): Update callers. Move printing scope of new
26692 object to before the relocation.
44f0a71e 26693 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
26694 * sysdeps/generic/ldsodefs.h: Update declaration.
26695
076fe015
UD
26696 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
26697 string for the scope number.
26698
a60df2c3
UD
266992011-08-14 Ulrich Drepper <drepper@gmail.com>
26700
26701 * nscd/servicescache.c (cache_addserv): Make sure written is always
26702 initialized.
26703
5e4287d1
RM
267042011-08-14 Roland McGrath <roland@hack.frob.com>
26705
85ae0589
RM
26706 * sysdeps/i386/i486/bits/atomic.h
26707 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
26708 statement expression, so as to suppress "set but not used" warning.
26709 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
26710
69f63097
RM
26711 * string/strncat.c (STRNCAT): Use prototype definition.
26712
675456ef
RM
26713 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
26714 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
26715 -Iprograms here.
26716 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
26717 (localedef-modules): Add localedef.
26718 (locale-modules): Add locale.
26719
5e4287d1
RM
26720 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
26721 * elf/rtld.c (dl_main): Invert order of assignment in last change,
26722 to avoid a warning.
26723
9c96ff23
DM
267242011-08-14 David S. Miller <davem@davemloft.net>
26725
26726 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
26727 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
26728
f9ddf089
UD
267292011-08-13 Ulrich Drepper <drepper@gmail.com>
26730
44f0a71e 26731 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
26732 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
26733 * elf/rtld.c (dl_main): Set l_name of vDSO.
26734 Call _dl_show_scope when DL_DEBUG_SCOPES.
26735 (process_dl_debug): Recognize scopes flag and also set it for all.
26736 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
26737 Declare _dl_show_scope.
26738
1dc27704
UD
26739 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
26740 (do_dlopen): Pass caller_dlopen to dl_open.
26741 (__libc_dlopen_mode): Initialize caller_dlopen.
26742
f9ddf089
UD
26743 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
26744 of libc. Make tolower call locale-independent. Optimize a bit by
26745 using isdigit instead of isalnum.
26746 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
26747
9ac533d3
UD
267482011-08-12 Ulrich Drepper <drepper@gmail.com>
26749
26750 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
26751 was a dependency or dynamically loaded.
26752
89edf2e9
UD
267532011-08-11 Ulrich Drepper <drepper@gmail.com>
26754
8e999d29
UD
26755 * intl/l10nflist.c: Allow architecture-specific pop function.
26756 * sysdeps/x86_64/l10nflist.c: New file.
26757
89edf2e9
UD
26758 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
26759 classification.
26760
14d96785
AS
267612011-08-10 Andreas Schwab <schwab@redhat.com>
26762
26763 * include/dirent.h: Add libc_hidden_proto for scandirat and
26764 scandirat64. Don't declare __scandirat64.
26765 * dirent/scandirat.c: Add libc_hidden_def.
26766 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
26767 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
26768
6761ac04
DM
267692011-08-10 David S. Miller <davem@davemloft.net>
26770
26771 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
26772 enum.
26773 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26774 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26775 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26776
c55fbd1e
UD
267772011-08-09 Ulrich Drepper <drepper@gmail.com>
26778
26779 * Versions.def [libc]: Add GLIBC_2.15.
26780 * dirent/Makefile (routines): Add scandirat and scandirat64.
26781 * dirent/Versions [libc]: Export scandirat and scandirat64 for
26782 GLIBC_2.15.
26783 * dirent/dirent.h: Declare scandirat and scandirat64.
26784 * dirent/scandirat.c: New file.
26785 * dirent/scandirat64.c: New file.
26786 * sysdeps/wordsize-64/scandirat.c: New file.
26787 * sysdeps/wordsize-64/scandirat64.c: New file.
26788 * dirent/opendir.c: Define opendirat.
26789 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
26790 using scandirat.
26791 * dirent/scandir64.c: Adjust for scandir.c change.
26792 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
26793 __scandirat64, and __scandir_cancel_handler.
26794 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
26795 additional parameter and use openat instead of open (outside of ld.so).
26796 Add new __opendir as wrapper around __opendirat.
26797 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
26798 here without requiring old scandirat implementation.
26799
879165f2
UD
268002011-08-08 Ulrich Drepper <drepper@gmail.com>
26801
26802 * dirent/scandir.c (cancel_handler): Renamed to
26803 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
26804 defined. Adjust users.
26805 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
26806 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
26807
cb7e923b
UD
268082011-08-04 Ulrich Drepper <drepper@gmail.com>
26809
16292edd
UD
26810 * string/test-string.h (IMPL): Use __STRING to expand name and then
26811 stringify it.
26812
cb7e923b
UD
26813 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
26814 of cleanups.
26815
cff82933
LD
268162011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26817
26818 * string/Makefile: Update.
26819 (strop-tests): Append strncat.
26820 * string/test-wcscmp.c: New file.
26821 New comprehensive test for wcscmp.
26822 * string/test-strcmp.c: Update.
26823 (WIDE): New define.
26824
9be9bfcc
AS
268252011-07-22 Andreas Schwab <schwab@redhat.com>
26826
26827 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
26828 line.
26829
2e96f1c7
AS
268302011-07-26 Andreas Schwab <schwab@redhat.com>
26831
26832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26833 encoding to ACE if AI_IDN.
26834
85188888
JJ
268352011-08-01 Jakub Jelinek <jakub@redhat.com>
26836
26837 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
26838 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
26839
5fa16e9b
LD
268402011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26841
26842 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
26843 Fix overflow bug in strncat.
26844 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26845
26846 * string/test-strncat.c: Update.
26847 Add new tests for checking overflow bugs.
26848
268492011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26850
26851 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26852 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
26853 * sysdeps/i386/i686/multiarch/strcat.S: New file.
26854 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
26855 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
26856 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
26857 * sysdeps/i386/i686/multiarch/strncat.S: New file.
26858 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
26859 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
26860
26861 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
26862 (USE_AS_STRCAT): Define.
26863 Add strcat and strncat support.
26864 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26865
8c1a459f
AS
268662011-07-25 Andreas Schwab <schwab@redhat.com>
26867
26868 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
26869 __n bigger than INT_MAX+1.
26870 (__strncmp_g): Likewise.
26871
bba33c28
UD
268722011-07-23 Ulrich Drepper <drepper@gmail.com>
26873
798be72d
UD
26874 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
26875 * libio/stido.h: Likewise.
26876
8accd4dc
UD
26877 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
26878 (AF_NFC): Define.
26879 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
26880 (AF_NFC): Define.
26881
cbff0d96
UD
26882 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
26883 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26884 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26885 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
26886 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26887
9191c04a
UD
26888 [BZ #13021]
26889 * scripts/test-installation.pl: Don't expect libnss_test1 to be
26890 installed.
26891
bba33c28
UD
26892 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
26893 typo.
26894 (_dl_x86_64_save_sse): Likewise.
26895
90f139dd
UD
268962011-07-22 Ulrich Drepper <drepper@gmail.com>
26897
1aae088a
UD
26898 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
26899 OSXSAVE.
26900 (_dl_x86_64_save_sse): Likewise.
26901
8e2045f5
UD
26902 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
26903
90f139dd
UD
26904 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
26905
1d002f25
AS
269062011-07-21 Andreas Schwab <schwab@redhat.com>
26907
26908 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
26909 change.
26910 (_dl_x86_64_save_sse): Use correct AVX check.
26911
21137f89
UD
269122011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26913
26914 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
26915 bug in strncpy/strncat.
26916 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26917
a65c0b7a
UD
269182011-07-21 Ulrich Drepper <drepper@gmail.com>
26919
26920 * string/tester.c (test_strcat): Add tests for different alignments
26921 of source and destination.
26922 (test_strncat): Likewise.
26923
6986b98a
UD
269242011-07-20 Ulrich Drepper <drepper@gmail.com>
26925
90bb2039
UD
26926 [BZ #12852]
26927 * posix/glob.c (glob): Check passed in values before using them in
26928 expressions to avoid some overflows.
26929 (glob_in_dir): Likewise.
26930
5644ef54
UD
26931 [BZ #13007]
26932 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
26933 check for AVX enablement so that we don't crash with old kernels and
26934 new hardware.
26935 * elf/tst-audit4.c: Add same checks here.
26936 * elf/tst-audit6.c: Likewise.
26937
26938 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 26939
bfc9dc9b
AS
269402011-07-09 Andreas Schwab <schwab@linux-m68k.org>
26941
26942 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
26943
702e64bb
UD
269442011-07-20 Ulrich Drepper <drepper@gmail.com>
26945
26946 * po/cs.po: Update from translation team.
26947 * po/bg.po: Likewise.
26948
295e904f
MP
269492011-07-12 Marek Polacek <mpolacek@redhat.com>
26950
26951 * misc/sys/cdefs.h: Add support for const attribute.
26952 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
26953 to gnu_dev_{major,minor,makedev} functions.
26954
3ff94596
MP
269552011-07-20 Marek Polacek <mpolacek@redhat.com>
26956
26957 * intl/dcigettext.c (get_output_charset): Add missing bracket.
26958
28b59fca
AS
269592011-07-20 Andreas Schwab <schwab@redhat.com>
26960
26961 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
26962 strlen results.
26963
19df733e
AK
269642011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26965
26966 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26967 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
26968 register in order to avoid conflicts with the soft frame pointer
26969 being held in r11 when necessary.
26970 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26971 (INTERNAL_VSYSCALL_NCS): Likewise.
26972
c8835729
MP
269732011-07-14 Marek Polacek <mpolacek@redhat.com>
26974
26975 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
26976 * elf/dl-fini.c (_dl_fini): Adjust caller.
26977 * elf/dl-close.c (_dl_close_worker): Likewise.
26978 * sysdeps/generic/ldsodefs.h: Adjust declaration.
26979
b902330c
MP
269802011-07-15 Marek Polacek <mpolacek@redhat.com>
26981
8991e135
MP
26982 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
26983 "aux_cache->nlibs < 0".
26984
b902330c
MP
26985 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
26986 in the reload-count case.
26987
99710781
LD
269882011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26989
26990 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26991 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
26992 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
26993 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
26994 * sysdeps/x86_64/multiarch/strcat.S: New file.
26995 * sysdeps/x86_64/multiarch/strncat.S: New file.
26996 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
26997 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
26998 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
26999 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
27000 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
27001 (USE_AS_STRCAT): Define.
27002 Add strcat and strncat support.
27003 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27004 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27005 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
27006 * string/strncat.c: Update.
27007 (USE_AS_STRNCAT): Define.
27008 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27009 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
27010 and i7.
27011 * sysdeps/x86_64/multiarch/init-arch.h
27012 (bit_Prefer_PMINUB_for_stringop): New.
27013 (index_Prefer_PMINUB_for_stringop): Likewise.
27014 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
27015 bit_Prefer_PMINUB_for_stringop.
27016
7dc6bd90
UD
270172011-07-19 Ulrich Drepper <drepper@gmail.com>
27018
27019 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
27020 buffer64.
27021 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
27022 of casting of buffer.
27023 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
27024 buffer32 and buffer64.
27025 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
27026 writes instead of casting of buffer.
27027 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
27028 buffer32.
27029 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
27030 casting of buffer.
27031
e0e72284
AS
270322011-07-19 Andreas Schwab <schwab@redhat.com>
27033
27034 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
27035
feb1eb0b
UD
270362011-07-19 Ulrich Drepper <drepper@gmail.com>
27037
27038 * nscd/nscd.c (termination_handler): Don't do anything for a database
27039 if it has not yet been initialized.
27040
298711ff
UD
270412011-07-18 Ulrich Drepper <drepper@gmail.com>
27042
27043 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27044
270452011-07-15 Marek Polacek <mpolacek@redhat.com>
27046
27047 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27048
f9d68389
UD
270492011-07-18 Ulrich Drepper <drepper@gmail.com>
27050
27051 * po/nl.po: Update from translation team.
27052 * po/sv.po: Likewise.
27053
db290cf5
RM
270542011-07-16 Roland McGrath <roland@hack.frob.com>
27055
27056 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
27057 now disallowed by GCC.
5c550700 27058
fd5e21c7
RM
27059 * configure.in (use-default-link): Default to yes if a test -shared
27060 link meets our qualifications.
27061 * configure: Regenerated.
27062
5c550700
RM
27063 * config.make.in (output-format): New variable.
27064 * configure.in: Check for ld --print-output-format support.
27065 * configure: Regenerated.
27066 * Makerules ($(common-objpfx)format.lds)
27067 [$(output-format) != unknown]: Just use $(output-format),
27068 instead of the linker-script munging.
27069
9fa2c032
RM
270702011-07-14 Roland McGrath <roland@hack.frob.com>
27071
a6928d51
RM
27072 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
27073 of $(common-objpfx)shlib.lds.
27074 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
27075
661607b3
RM
27076 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
27077 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
27078
9fa2c032
RM
27079 * configure.in (-z relro check): Adjust test code to add a large
27080 writable data section after it.
27081 * configure: Regenerated.
27082
defe9061
RM
270832011-07-11 Roland McGrath <roland@hack.frob.com>
27084
27085 * configure.in (-z relro check): Fix test code to make the variable
27086 truly const.
27087 * configure: Regenerated.
27088
319b9ad4
UD
270892011-07-11 Ulrich Drepper <drepper@gmail.com>
27090
27091 * nscd/nscd.h (struct traced_file): Define.
27092 (struct database_dyn): Remove inotify_descr, reset_res, and filename
27093 elements. Add traced_files.
27094 (inotify_fd): Declare.
27095 (register_traced_file): Declare.
27096 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
27097 (inotify_fd): Export.
27098 (resolv_conf_descr): Remove.
27099 (nscd_init): Move inotify descriptor creation to main.
27100 Don't register files for notification here.
27101 (register_traced_file): New function.
27102 (invalidate_cache): Don't use reset_res to determine whether to call
27103 res_init, go through the list of registered files.
27104 (main_loop_poll): The inotify descriptors are now stored in the
27105 structures for the traced files.
27106 (main_loop_epoll): Likewise
27107 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
27108 to __nss_disable_nscd.
27109 * nscd/cache.c (prune_cache): There is no single inotify descriptor
27110 for a database anymore. Check the records for all the registered
27111 files instead.
27112 * nss/Makefile (libnss_files-routines): Add files-init.
27113 (libnss_db-routines): Add db-init.
27114 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
27115 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
27116 * nss/nss_db/db-init.c: New file.
27117 * nss/nss_files/files-init.c: New file.
27118 * nss/nsswitch.c (nss_load_library): New function. Broken out of
27119 __nss_lookup_function.
27120 (__nss_lookup_function): Call nss_load_library.
27121 (nss_load_all_libraries): New function.
27122 (__nss_disable_nscd): Take parameter with callback function for files
27123 to register. Set is_nscd. Load all the DSOs for the NSS modules
27124 used for the cached services.
27125 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
27126 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
27127 options for features to all the files in nscd.
27128
27129 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
27130
23bee3e8
RM
271312011-07-10 Roland McGrath <roland@hack.frob.com>
27132
27133 * csu/elf-init.c (__libc_csu_init): Comment typo.
27134
46a5b7f0
UD
271352011-07-09 Ulrich Drepper <drepper@gmail.com>
27136
27137 * po/pl.po: Update from translation team.
27138 * po/ja.po: Likewise.
27139 * po/ru.po: Likewise.
27140 * po/ko.po: Likewise.
27141 * po/fr.po: Likewise.
27142
d30cf5bb
RM
271432011-07-09 Roland McGrath <roland@hack.frob.com>
27144
113ddea4
RM
27145 * configure.in (.ctors/.dtors header and trailer check):
27146 Use an empirical test on a built program.
27147 * configure: Regenerated.
27148
574920b4
RM
27149 * configure.in (-z relro check): Use an empirical test on a built DSO.
27150 Detect, but do not require, on ia64.
27151 * configure: Regenerated.
27152
d30cf5bb
RM
27153 * configure.in (READELF): Find it with AC_CHECK_TOOL.
27154 Update tests that use readelf to use $READELF instead.
27155 * configure: Regenerated.
27156
8538fdb3
UD
271572011-07-08 Ulrich Drepper <drepper@gmail.com>
27158
27159 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
27160 if the result is not used.
27161
04d08991
AJ
271622011-07-05 Andreas Jaeger <aj@suse.de>
27163
27164 [BZ#9696]
27165 * stdlib/tst-strtod.c: Add testcase.
27166
de283087
AD
271672011-07-07 Ulrich Drepper <drepper@gmail.com>
27168
4e5f31c8 27169 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 27170 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
27171 The latter has a higher limit. Take additional parameter to pass to
27172 the new function.
27173 (__pathconf): Pass file to __statfs_link_max.
27174 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
27175 __statfs_link_max.
27176 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
27177 __statfs_link_max.
27178
de283087
AD
27179 [BZ #12868]
27180 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
27181 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27182 Handle Lustre.
27183 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
27184 (__statfs_filesize_max): Likewise.
27185 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
27186
c75fa153
AJ
271872011-07-05 Andreas Jaeger <aj@suse.de>
27188
27189 * resolv/res_comp.c (dn_skipname): Remove unused variable.
27190
1a544854
UD
271912011-07-06 Marek Polacek <mpolacek@redhat.com>
27192
27193 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
27194 `status' variable.
27195 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
27196 Likewise.
27197
6f0eec67
UD
271982011-07-04 H.J. Lu <hongjiu.lu@intel.com>
27199
27200 * Makefile (strop-tests): Add strncat.
27201 * string/test-strncat.c: New file.
27202
aae30307
UD
272032011-06-30 Marek Polacek <mpolacek@redhat.com>
27204
27205 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
27206
c0cfb5eb
UD
272072011-06-21 Andreas Jaeger <aj@suse.de>
27208
27209 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
27210 Copy rule from iconvdata/Makefile.
27211
01636b21
UD
272122011-07-06 Ulrich Drepper <drepper@gmail.com>
27213
27214 [BZ #12922]
27215 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
27216 but no long options are defined, just return 'W'.
27217
9895c8bc
UD
272182011-06-22 Marek Polacek <mpolacek@redhat.com>
27219
27220 [BZ #9696]
27221 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
27222
5d4cf042
UD
272232011-07-06 Ulrich Drepper <drepper@gmail.com>
27224
27225 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
27226 netgroups to read.
960e5535 27227 (innetgr): Likewise.
5d4cf042 27228
751eb97e
RM
272292011-07-05 Roland McGrath <roland@hack.frob.com>
27230
27231 * config.make.in (install_root): Default to $(DESTDIR).
27232
f15f1e45
UD
272332011-07-05 Ulrich Drepper <drepper@gmail.com>
27234
27235 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
27236
4e34ac6a
RM
272372011-07-02 Roland McGrath <roland@hack.frob.com>
27238
5e9b6af4
RM
27239 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
27240
84f9ea0f
RM
27241 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
27242 containing directory rather than embedding absolute directory names.
27243
ea5ee9f7
RM
27244 * scripts/check-local-headers.sh: Rewritten using awk.
27245 Match by word, not by line. Print error messages for matches.
27246 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
27247
1b74661a
RM
27248 * Makerules [shlib-lds-flags empty]:
27249 ($(common-objpfx)libc_pic.opts): New target.
27250 ($(common-objpfx)libc_pic.os.clean): New target.
27251 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
27252
27253 * config.make.in (OBJCOPY): New variable.
27254 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
27255 * configure: Regenerated.
27256
f781ef40
RM
27257 * config.make.in (use-default-link): New variable.
27258 * configure.in (use_default_link): Grok --with-default-link to set it.
27259 * configure: Regenerated.
27260 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
27261 (shlib-lds, shlib-lds-flags): Define to empty.
27262
2d4fa81e
RM
27263 * Makerules (shlib-lds): New variable.
27264 (shlib-lds-flags): New variable.
27265 (build-shlib, build-moduile, build-module-asneeded): Use it.
27266 ($(common-objpfx)libc.so): Use $(shlib-lds).
27267 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
27268 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
27269
31fffa6b
RM
27270 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
27271 DT_FLAGS/DT_FLAGS_1 with zero flags.
27272
4e34ac6a
RM
27273 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
27274 linker script munging.
27275
fcfc776b
UD
272762011-07-02 Ulrich Drepper <drepper@gmail.com>
27277
27278 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
27279 as 128-bit value.
27280 * crypt/sha512.c (sha512_process_block): Perform total addition using
27281 128-bit if possible.
27282 (__sha512_finish_ctx): Likewise.
27283 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
27284 as 64-bit value.
27285 * crypt/sha256.c (SWAP64): Define.
27286 (sha256_process_block): Perform total addition using 64-bit if
27287 possible.
27288 (__sha256_finish_ctx): Likewise.
27289
99231d9a
UD
272902011-07-01 Ulrich Drepper <drepper@gmail.com>
27291
27292 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
27293 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27294 * nscd/hstcache.c (cache_addhst): Likewise.
27295 * nscd/grpcache.c (cache_addgr): Likewise.
27296 * nscd/aicache.c (addhstaiX): Likewise
27297 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
27298
445b4a53
TK
272992011-07-01 Thorsten Kukuk <kukuk@suse.de>
27300
27301 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
27302 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27303 * nscd/hstcache.c (cache_addhst): Likewise.
27304 * nscd/grpcache.c (cache_addgr): Likewise.
27305 * nscd/aicache.c (addhstaiX): Likewise
27306
6d4d8e8e
AS
273072011-07-01 Andreas Schwab <schwab@redhat.com>
27308
27309 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
27310 domain only when needed.
27311
89f654c5
AS
273122011-06-30 Andreas Schwab <schwab@redhat.com>
27313
27314 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
27315 is always restored.
27316
cf3b23ff
UD
273172011-06-29 Ulrich Drepper <drepper@gmail.com>
27318
27319 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
27320 are re-adding the entry.
27321 * nscd/servicescache.c (cache_addserv): Likewise.
27322
751626f9
AJ
273232011-06-30 Aurelien Jarno <aurelien@aurel32.net>
27324
27325 * sysdeps/generic/dl-irel.h: fix protection against multiple
27326 inclusions.
27327 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
27328
9113ea1f
UD
273292011-06-28 Ulrich Drepper <drepper@gmail.com>
27330
5c0b8d90
UD
27331 [BZ #12935]
27332 * malloc/memusage.sh: Fix quoting in message.
27333 * debug/xtrace.sh: Likewise.
27334
9113ea1f
UD
27335 * configure.in: Remove support for --experimental-malloc option, make
27336 it the default.
27337 * config.make.in: Likewise.
27338 * malloc/Makefile: Likewise.
27339
a4172181
AS
273402011-06-27 Andreas Schwab <schwab@redhat.com>
27341
27342 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
27343 two-byte characters.
27344
78a7eee7
RM
273452011-06-27 Roland McGrath <roland@hack.frob.com>
27346
62bede13
RM
27347 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
27348 AC_CACHE_CHECK invocation.
27349 * configure: Regenerated.
27350
78a7eee7
RM
27351 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
27352
5ce33a62
UD
273532011-06-27 Ulrich Drepper <drepper@gmail.com>
27354
034807a9
UD
27355 [BZ #12350]
27356 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
27357 bit from old_res_options.
27358
4902da17
UD
27359 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
27360
5ce33a62
UD
27361 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
27362 value type for setfct.
27363
c2344f56
L
273642011-06-23 H.J. Lu <hongjiu.lu@intel.com>
27365
27366 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27367 __gettimeofday instead of gettimeofday.
27368
68468076
UD
273692011-06-26 Ulrich Drepper <drepper@gmail.com>
27370
27371 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
27372
acb0d739
L
273732011-06-24 H.J. Lu <hongjiu.lu@intel.com>
27374
27375 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
27376
27377 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
27378 info.
27379
8912479f
L
273802011-06-22 H.J. Lu <hongjiu.lu@intel.com>
27381
27382 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27383 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
27384 strcpy-sse2-unaligned strncpy-sse2-unaligned
27385 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
27386 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
27387 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
27388 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
27389 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
27390 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
27391 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
27392 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
27393 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
27394 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
27395 (STRCPY): Support SSE2 and SSSE3 versions.
27396
d5495a11
UD
273972011-06-24 Ulrich Drepper <drepper@gmail.com>
27398
27399 [BZ #12874]
27400 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
27401 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
27402 kernels which artificially limit size of requests.
27403
0b1cbaae
L
274042011-06-22 H.J. Lu <hongjiu.lu@intel.com>
27405
27406 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27407 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
27408 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
27409 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
27410 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
27411 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
27412 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
27413 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
27414 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
27415 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
27416 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
27417 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
27418 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
27419 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
27420 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
27421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27422 Enable unaligned load optimization for Intel Core i3, i5 and i7
27423 processors.
27424 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
27425 Define.
27426 (index_Fast_Unaligned_Load): Define.
27427 (HAS_FAST_UNALIGNED_LOAD): Define.
27428
07f494a0
MP
274292011-06-23 Marek Polacek <mpolacek@redhat.com>
27430
27431 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
27432
fa3fc0fe
UD
274332011-06-22 Ulrich Drepper <drepper@gmail.com>
27434
27435 [BZ #12907]
27436 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
27437 until it is clear that the information is realy needed.
27438 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
27439
e12df166
AS
274402011-06-22 Andreas Schwab <schwab@redhat.com>
27441
27442 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
27443
852eb34d
UD
274442011-06-22 Ulrich Drepper <drepper@gmail.com>
27445
84e2a551
UD
27446 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27447 /sys/devices/system/cpu/online if it is usable.
27448
852eb34d
UD
27449 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
27450 reading the information from the /proc filesystem to once a second.
27451
6e502e19
UD
274522011-06-21 Andreas Jaeger <aj@suse.de>
27453
27454 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
27455 NULL after inclusion of kernel headers.
27456
75d39ff2
UD
274572011-06-21 Ulrich Drepper <drepper@gmail.com>
27458
51f9aa6a
UD
27459 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
27460 calls to internal_setent.
27461
c0244a9d
UD
27462 [BZ #12885]
27463 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
27464 addresses using gethostbyname4_r ignore IPv4 addresses.
27465
c5e3c2ae
UD
27466 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
27467 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
27468
75d39ff2
UD
27469 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
27470
42675c6f
DM
274712011-06-20 David S. Miller <davem@davemloft.net>
27472
27473 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
27474 inclusions.
27475 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
27476
27477 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
27478 (elf_irel): Use it.
27479 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
27480 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
27481 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
27482 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
27483 * sysdeps/x86_64/dl-irel.h: Likewise.
27484
27485 * elf/dl-runtime.c: Use elf_ifunc_invoke.
27486 * elf/dl-sym.c: Likewise.
27487
57912a71
UD
274882011-06-15 Ulrich Drepper <drepper@gmail.com>
27489
27490 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
27491 need to dereference resplen2.
27492
ee22793d
AS
274932011-06-14 Andreas Schwab <schwab@redhat.com>
27494
27495 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
27496
a9e836b0
UD
274972011-06-15 Ulrich Drepper <drepper@gmail.com>
27498
77fb9117
UD
27499 * Makeconfig: Define vardbdir and inst_vardbdir.
27500 * nss/Makefile: Add rules to install db-Makefile.
27501
40c1b22c
UD
27502 * nss/nss_db/db-XXX.c: Cleanup.
27503
9f2da732
UD
27504 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
27505 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
27506 GLIBC_PRIVATE.
27507 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
27508 * nss/makedb.c: Implement -g option to specify that value strings
27509 are generated and should not be added to table iterated over for
27510 get*ent calls.
27511 * nss/nss_db/db-initgroups.c: New file.
27512
82e9a1f7
UD
27513 * nss/getent.c: Add support for initgroups lookups through getgrouplist
27514 interface.
27515
c41af17e
UD
27516 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
27517 (internal_getgrouplist): Adjust to name change.
27518 Update use_initgroups_entry if this is not the first call.
27519 * nss/databases.def: Add initgroups entry.
27520
a9e836b0
UD
27521 * nss/makedb.c (compute_tables): Check result of multiple hash table
27522 sizes to minimize maximum chain length.
27523
2666d441
UD
275242011-06-14 Ulrich Drepper <drepper@gmail.com>
27525
27526 * Versions.def: Add entry for libnss_db.
27527 * shlib-versions: Likewise.
27528 * nss/Makefile: Add rules to build libnss_db.
27529 * nss/Versions: Add libnss_db information. Organize libnss_files
27530 entries better.
27531 * nss/db-Makefile: Add gshadow support. Change rules for the new
27532 makedb progra. Some minor improvements to generate smaller files.
27533 * nss/nss_db/nss_db.h: Move NSS database header data structures to
27534 here from...
27535 * nss/makedb.c: ...here.
27536 Improve database format to be smaller and require less memory at
27537 runtime.
27538 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
27539 db anymore.
27540 * nss/nss_db/db-netgrp.c: Likewise.
27541 * nss/nss_db/db-open.c: Likewise.
27542 * nss/nss_files/flies-XXX.x: Adjust comments.
27543 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
27544 * nss/nss_files/files-grp.c: Likewise.
27545 * nss/nss_files/files-hosts.c: Likewise.
27546 * nss/nss_files/files-network.c: Likewise.
27547 * nss/nss_files/files-proto.c: Likewise.
27548 * nss/nss_files/files-pwd.c: Likewise.
27549 * nss/nss_files/files-rpc.c: Likewise.
27550 * nss/nss_files/files-service.c: Likewise.
27551 * nss/nss_files/files-sgrp.c: Likewise.
27552 * nss/nss_files/files-spwd.c: Likewise.
27553 * nss/nss_db/db-alias.c: Removed.
27554 * nss/nss_db/dummy-db.h: Removed.
27555
9ee76b5a
UD
275562011-06-02 Ulrich Drepper <drepper@gmail.com>
27557
27558 * nss/makedb.c: Rewritten to not use database library.
27559 * nss/Makefile: Update to build new makedb program.
27560
c71ca1f8
AJ
275612011-06-14 Andreas Jaeger <aj@suse.de>
27562
27563 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
27564 memset declaration.
27565
3154bfb8
UD
275662011-06-10 Andreas Schwab <schwab@redhat.com>
27567
27568 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
27569 tmpbuf.
27570
b350afab
RM
275712011-06-10 Roland McGrath <roland@hack.frob.com>
27572
decd4e50
RM
27573 * Makerules (shlib.lds): Fail if the linker script comes out empty.
27574 * elf/Makefile ($(objpfx)ld.so): Likewise.
27575
5615eaf2
RM
27576 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
27577 Don't list ld.so twice in dependencies.
27578
27579 * posix/bug-regex31.c: Include <stdlib.h>.
27580
27581 * nscd/hstcache.c (cache_addhst): Remove unused variable.
27582
27583 * nis/nss_compat/compat-spwd.c
27584 (getspent_next_nss_netgr): Remove unused variable.
27585 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
27586
27587 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
27588 nonmembers" output to use the right array.
27589
27590 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
27591
27592 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
27593
27594 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
27595 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
27596 * catgets/gencat.c (read_input_file): Likewise.
27597 * locale/programs/locarchive.c (enlarge_archive): Likewise.
27598
27599 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
27600 variable definition inside #if's controlling its use.
27601
27602 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
27603
27604 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
27605
27606 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
27607
27608 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
27609 unreachable code.
27610
27611 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
27612
b68e08db
RM
27613 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
27614 * configure: Regenerated.
27615
b350afab
RM
27616 * Makerules: Revert last change.
27617 * elf/Makefile: Likewise.
27618
28368601
RM
276192011-06-09 Roland McGrath <roland@hack.frob.com>
27620
27621 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
27622 * elf/Makefile ($(objpfx)librtld.os): Likewise.
27623 (reloc-link): Likewise.
27624
11988f8f
UD
276252011-06-09 Ulrich Drepper <drepper@gmail.com>
27626
27627 * elf/Makefile: Add rules to build pldd.
27628 * elf/pldd.c: New file.
27629 * elf/pldd-xx.c: New file.
27630
e80fab37
UD
276312011-06-07 Ulrich Drepper <drepper@gmail.com>
27632
27633 * version.h: Update for 2.15 development version.
27634
9b849836
DM
276352011-06-07 David S. Miller <davem@davemloft.net>
27636
27637 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
27638 ifuncs.
27639 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
27640 elf_machine_lazy_rel): Likewise.
27641 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27642 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
27643 elf_machine_lazy_rel): Likewise.
27644 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
27645 dl_hwcap via passed in argument.
27646 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
27647 Likewise.
27648
5a31b283
AK
276492011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27650
27651 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
27652
069e52f8
RM
276532011-06-06 Roland McGrath <roland@hack.frob.com>
27654
27655 [BZ #12849]
27656 * manual/fdl-1.1.texi: New file, verbatim from:
27657 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
27658 * manual/lgpl-2.1.texi: New file, verbatim from:
27659 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
27660 * manual/Makefile (licenses): New variable, list those new file names.
27661 (texis): Use it.
27662 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
27663
27664 * manual/fdl.texi: File removed.
27665 * manual/lesser.texi: File removed.
27666 * manual/libc.texinfo (Copying, Documentation License):
27667 Use new @include file names, put @appendix directive before @include.
27668
f16846a5
JJ
276692011-06-04 Jakub Jelinek <jakub@redhat.com>
27670
27671 [BZ #12841]
27672 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
27673 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
27674 (mq_open): Add __NTH.
27675
3d29045b
L
276762011-06-02 H.J. Lu <hongjiu.lu@intel.com>
27677
27678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27679 Assume Intel Core i3/i5/i7 processor if AVX is available.
27680
8c297311
UD
276812011-05-31 Ulrich Drepper <drepper@gmail.com>
27682
27683 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27684 typo.
27685
c8fc0c91
UD
276862011-05-31 Andreas Schwab <schwab@redhat.com>
27687
27688 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
27689 memory. Use alloca_account. Fix memory leak when retrying.
27690
5b27a807
UD
276912011-05-31 Ulrich Drepper <drepper@gmail.com>
27692
356f8bc6
UD
27693 * version.h (RELEASE): Bump for 2.14 release.
27694 * include/features.h (__GLIBC_MINOR__): Bump to 14.
27695
5b27a807
UD
27696 * config.make.in (RANLIB): Remove entry.
27697
01f16ab0
UD
276982011-05-30 Ulrich Drepper <drepper@gmail.com>
27699
41fce8bd
UD
27700 * po/Makefile (po-sed-cmd): Add ksh to extensions.
27701 (libc.pot): Work around missing support for .ksh extension in xgettext.
27702
4769ae77
UD
27703 [BZ #12684]
27704 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
27705 if both request failed.
27706 (send_dg): In case of server errors clear resplen or *resplen2.
27707
6b1e7d19
UD
27708 [BZ #12454]
27709 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
27710 when there are multiple maps.
27711 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
27712 (_dl_fini): Remove test here.
27713
01f16ab0
UD
27714 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
27715
b1ebd700
UD
277162011-05-29 Ulrich Drepper <drepper@gmail.com>
27717
7ae22829
UD
27718 [BZ #12350]
27719 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
27720 bit from old_res_options.
27721 (gaih_inet): Likewise.
27722
553149f6 27723 [BZ #11099]
18a84741 27724 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
27725 as signed.
27726
652ffab1
UD
27727 * resolv/res_init.c (res_setoptions): Make the code more compact.
27728
16985fd0
UD
27729 [BZ #11558]
27730 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
27731 set RES_USEVC.
27732
0464f746
UD
27733 [BZ #11634]
27734 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
27735
7d17596c
UD
27736 * malloc/malloc.h: Mark malloc hook variables as deprecated.
27737
cf6bbbd7
UD
27738 [BZ #11781]
27739 * malloc/malloc.h: Declare malloc hook variables as volatile.
27740
13f1ab36
UD
27741 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
27742 in last patch.
27743
b1ebd700
UD
27744 [BZ #11799]
27745 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 27746 raise in the comment.
80e2212d
UD
27747 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27748 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27749 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 27750
ce67228d
UD
277512011-05-28 Ulrich Drepper <drepper@gmail.com>
27752
8887a920
UD
27753 [BZ #12811]
27754 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
27755 grow the buffers more if it already has to be sufficient.
27756 (build_wcs_upper_buffer): Likewise.
27757 * posix/regexec.c (check_matching): Likewise.
27758 (clean_state_log_if_needed): Likewise.
27759 (extend_buffers): Don't enlarge buffers beyond size of the input
27760 buffer.
27761 Patches mostly by Emil Wojak <emil@wojak.eu>.
27762 * posix/bug-regex32.c: New file.
27763 * posix/Makefile (tests): Add bug-regex32.
27764
4f031072
UD
27765 * locale/findlocale.c (_nl_find_locale): Return right away if
27766 _nl_explode_name failed.
27767 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27768
d0478f0c
UD
27769 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
27770
de81b246
UD
27771 * debug/xtrace.sh: Unify messages.
27772 * malloc/memusage.sh: Likewise.
27773
c738465a
UD
27774 [BZ #12813]
27775 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
27776 time symbol from vDSO. Substitute with vsyscall if not available.
27777 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
27778 __vdso_time.
27779
f1f929d7
UD
27780 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
27781 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
27782 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
27783 Add sendmmsg and internal_sendmmsg.
27784 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
27785 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
27786 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
27787
ce67228d
UD
27788 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
27789 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
27790 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
27791
e57420c6
UD
277922011-05-27 Ulrich Drepper <drepper@gmail.com>
27793
a8509ca5
UD
27794 [BZ #12813]
27795 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
27796 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
27797 available.
27798 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
27799 __vdso_getcpu.
27800
e57420c6
UD
27801 [BZ #12814]
27802 * iconvdata/Makefile (tests): Add bug-iconv9.
27803 * iconvdata/bug-iconv9.c: New file.
27804
4d07db15
AS
278052011-05-27 Andreas Schwab <schwab@redhat.com>
27806
27807 [BZ #12814]
27808 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
27809
ea486f69
JJ
278102011-05-25 Jakub Jelinek <jakub@redhat.com>
27811
27812 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27813 (struct user_regs_struct): Change intcs field back to cs.
27814
6f038433
UD
278152011-05-25 Ulrich Drepper <drepper@gmail.com>
27816
27817 * po/ja.po: Update from translation team.
27818
67f86a25
UD
278192011-05-23 Ulrich Drepper <drepper@gmail.com>
27820
27821 [BZ #12795]
27822 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
27823 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
27824
def7fbd6
AS
278252011-05-20 Andreas Schwab <schwab@redhat.com>
27826
27827 * stdlib/longlong.h: Update from GCC.
27828
f50ef8f1
AS
278292011-05-23 Andreas Schwab <schwab@redhat.com>
27830
27831 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
27832 parameter name.
27833 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
27834 Add parameter name.
27835 (__sysconf): Pass it down.
27836
de7ce8f1
UD
278372011-05-22 Ulrich Drepper <drepper@gmail.com>
27838
f2962a71
UD
27839 [BZ #12671]
27840 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
27841 some situations.
27842 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27843 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
27844 add in in __libc_use_alloca calls. Adjust callers.
27845 (glob): Use malloc in some situations.
27846
de7ce8f1
UD
27847 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
27848 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
27849 pltexit.
27850
aec84f53
UD
278512011-05-21 Ulrich Drepper <drepper@gmail.com>
27852
05bb4a68
UD
27853 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
27854 and CLOCK_BOOTTIME_ALARM.
27855
7ea72f99
UD
27856 [BZ #12782]
27857 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
27858 is returned.
27859
7e4afad5
UD
27860 * string/_strerror.c (__strerror_r): Print negative errors as signed
27861 numbers.
27862
8e211fec
UD
27863 [BZ #12777]
27864 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
27865 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
27866 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
27867
f7d82dc9
UD
27868 * configure.in: Fix typo in redirection and correct removal of test
27869 files in two cases.
27870
cc9e536d
UD
27871 [BZ #12788]
27872 * locale/setlocale.c (new_composite_name): Fix test to check for
27873 identical name of all categories.
27874
aec84f53
UD
27875 [BZ #12792]
27876 * libio/filedoalloc.c (local_isatty): New function.
27877 (_IO_file_doallocate): Use local_isatty.
27878 * stdio-common/perror.c (perror): In case a new stream is used
27879 forward the stream error.
27880 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
27881 error flag.
27882
78e64fdc
RT
278832011-05-20 Ulrich Drepper <drepper@gmail.com>
27884
34a9094f
UD
27885 [BZ #11869]
27886 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
27887 alloca.
27888 * include/alloca.h (extend_alloca_account): Define.
27889
78e64fdc
RT
27890 [BZ #11857]
27891 * posix/regex.h: Fix comments with documentation of user-accessible
27892 fields after compilation and describe correct free'ing of pattern
27893 after re_compile_pattern.
27894 Patch by Reuben Thomas <rrt@sc3d.org>.
27895
457bddfc
RA
278962011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
27897
27898 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
27899 and -mno-altivec to prevent the compiler from using Altivec and/or
27900 VSX instructions when the corresponding registers are not available.
27901
a4527b51
AS
279022011-05-19 Andreas Schwab <schwab@redhat.com>
27903
27904 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
27905
ed690b2f
UD
279062011-05-19 Ulrich Drepper <drepper@gmail.com>
27907
27908 * libio/freopen.c (freopen): Use __dup2, not dup2.
27909 * libio/freopen64.c (freopen64): Likewise.
27910
8db73634
L
279112011-05-17 H.J. Lu <hongjiu.lu@intel.com>
27912
27913 [BZ #12775]
27914 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
27915 * math/Makefile (tests): Add test-powl.
27916 (CFLAGS-test-powl.c): Define.
27917 * math/test-powl.c: New file.
27918
0a197a9d
L
279192011-05-16 H.J. Lu <hongjiu.lu@intel.com>
27920
27921 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
27922
ee30c380
UD
279232011-05-17 Ulrich Drepper <drepper@gmail.com>
27924
27925 [BZ #11837]
27926 * iconvdata/gb18030.c: Update to GB18020-2005.
27927
6ce75379
UD
279282011-05-16 Ulrich Drepper <drepper@gmail.com>
27929
a4b89fd8
AR
27930 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
27931 RE_SYNTAX_POSIX_AWK): Update to match recent development.
27932 Patch by Aharon Robbins <arnold@skeeve.com>.
27933
ea389b12
UD
27934 [BZ #11892]
27935 * stdlib/putenv.c (putenv): Don't always create copy of the variable
27936 on the stack.
27937
68a3f91f
UD
27938 [BZ #11895]
27939 * misc/pselect.c (__pselect): Handle timeout value errors hidden
27940 through underflows.
27941
15cc7dd1
UD
27942 [BZ #12766]
27943 * misc/error.c (error_at_line): Ensure file_name and old_file_name
27944 point to strings before performing equality test for error_one_per_line
27945 mode.
27946
f3799213
UD
27947 [BZ #11697]
27948 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
27949
d79a9c94
UD
27950 [BZ #11820]
27951 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27952 (struct user_fpregs_struct): Avoid __uint*_t types.
27953
56e5eb46
UD
27954 [BZ #6420]
27955 * malloc/mtrace.c (tr_where): Add additional parameter to point to
27956 symbol info. Use it instead of calling _dl_addr locally.
27957 (lock_and_info): New function.
27958 (tr_freehook): Call lock_and_info and pass symbol info as additional
27959 parameter to tr_where.
27960 (tr_mallochook): Likewise.
27961 (tr_reallochook): Likewise.
27962 (tr_memalignhook): Likewise.
27963
6ce75379
UD
27964 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
27965 used and couldn't be at all thread-safe.
27966
f8a3b5bf
UD
279672011-05-15 Ulrich Drepper <drepper@gmail.com>
27968
94b7cc37
UD
27969 * libio/freopen.c (freopen): Don't close old file descriptor
27970 before the new one is opened. Instead dup the new file descriptor
27971 to the old one after the new stream is created.
27972 * libio/freopen64.c (freopen64): Likewise.
27973 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
27974 * libio/fileops.c (_IO_new_file_close_it): Handle new
27975 _IO_FLAGS2_NOCLOSE flag.
27976 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
27977 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
27978 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
27979 _IO_FLAGS2_NOCLOSE flag.
27980 * include/unistd.h: Add hidden_proto for dup3.
27981 Define __have_dup3.
27982 * io/dup3.c: Define hidden symbol.
27983 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
27984
bd25564e
UD
27985 [BZ #7101]
27986 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
27987 when an incomplete long option is used.
27988 * posix/tst-getopt_long1.c: New file.
27989 * posix/Makefile (tests): Add tst-getopt_long1.
27990
c84cfef4
UD
27991 [BZ #10138]
27992 * scripts/config.guess: Update from autoconf-2.68.
27993 * scripts/config.sub: Likewise.
27994
3b85df27
UD
27995 [BZ #10157]
27996 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
27997 tests into ...
27998 (has_cpuclock): ...this. New function.
27999 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
28000 macro here based on has_cpuclock code.
28001
15a856b1
UD
28002 [BZ #10149]
28003 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28004 First byte (not low byte) is now always NUL.
28005 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
28006
05f399e6
UD
28007 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28008 Use non-cancelable interfaces.
28009
10a52685 28010 [BZ #9809]
94ecc67d
UD
28011 * locale/iso-639.def: Add entry for Sorani.
28012
f8a3b5bf
UD
28013 [BZ #11901]
28014 * include/stdlib.h: Move include protection to the right place.
28015 Define abort_msg_s. Declare __abort_msg with it.
28016 * stdlib/abort.c (__abort_msg): Adjust type.
28017 * assert/assert.c (__assert_fail_base): New function. Majority
28018 of code from __assert_fail. Allocate memory for __abort_msg with
28019 mmap.
28020 (__assert_fail): Now call __assert_fail_base.
28021 * assert/assert-perr.c: Remove bulk of implementation. Use
28022 __assert_fail_base.
28023 * include/assert.hL Declare __assert_fail_base.
28024 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
28025 mmap.
28026 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
28027
1af4e298
UD
280282011-05-14 Ulrich Drepper <drepper@gmail.com>
28029
f8a3b5bf 28030 [BZ #11952]
d26dfc60
MG
28031 [BZ #12453]
28032 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
28033 until all modules are registered in the DTV.
28034 * elf/Makefile: Add rules to build and run tst-tls19.
28035 * elf/tst-tls19.c: New file.
28036 * elf/tst-tls19mod1.c: New file.
28037 * elf/tst-tls19mod2.c: New file.
28038 * elf/tst-tls19mod3.c: New file.
28039 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
28040
2fc54d6f
UD
28041 [BZ #12083]
28042 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
28043 correctly.
28044
98d76b46
UD
28045 [BZ #12601]
28046 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
28047 two-byte sequence errors.
28048 * iconvdata/Makefile (tests): Add bug-iconv8.
28049 * iconvdata/bug-iconv8.c: New file.
28050
da3c19ef
UD
28051 [BZ #12626]
28052 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
28053 buf2 definition.
28054
ca408c15
UD
28055 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
28056
d6f67f7d
UD
28057 [BZ #12432]
28058 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
28059 (dummy_getcfa): New function.
28060 (init): Get _Unwind_GetCFA address, use dummy if not found.
28061 (backtrace_helper): In recursion check, also check whether CFA changes.
28062 (__backtrace): Completely initialize arg.
28063
1af4e298 28064 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
28065 storing incomplete byte sequence in state object. Avoid testing for
28066 guaranteed too small input if we know there is enough data available.
1af4e298 28067
da62f81b
AS
280682011-05-11 Andreas Schwab <schwab@redhat.com>
28069
28070 * Makeconfig (+link-pie): Indent.
28071 * Rules (binaries-pie): Define if $(have-fpie) and
28072 $(build-shared).
28073 (binaries-shared): Also filter out $(binaries-pie).
28074 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
28075 * nscd/Makefile (others-pie): Add nscd.
28076 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
28077 ($(objpfx)nscd): Remove command override.
28078 * login/Makefile (others-pie): Add pt_chown.
28079 ($(objpfx)pt_chown): Remove command override.
28080 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
28081 remove command overrides.
28082
fcabc0f8
UD
280832011-05-13 Ulrich Drepper <drepper@gmail.com>
28084
20030ae6
UD
28085 * libio/tst_putwc.c: Fix error messages.
28086
fcabc0f8
UD
28087 [BZ #12724]
28088 * libio/fileops.c (_IO_new_file_close_it): Always flush when
28089 currently writing and seek to current position when not.
28090 * libio/Makefile (tests): Add bug-fclose1.
28091 * libio/bug-fclose1.c: New file.
28092
320a5dc0
PB
280932011-05-12 Ulrich Drepper <drepper@gmail.com>
28094
28095 [BZ #12511]
28096 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
28097 don't set DF_1_NODELETE here.
28098 (do_lookup_x): When entering new entry test for copy relocation
28099 and if necessary set DF_1_NODELETE flag.
28100 * elf/tst-unique4.cc: New file.
28101 * elf/tst-unique4.h: New file.
28102 * elf/tst-unique4lib.cc: New file.
28103 * elf/Makefile: Add rules to build and run tst-unique4.
28104 Patch by Piotr Bury <pbury@goahead.com>.
28105
22836f52
UD
281062011-05-11 Ulrich Drepper <drepper@gmail.com>
28107
f574184a
UD
28108 [BZ #12052]
28109 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
28110
e1fb097f
UD
28111 [BZ #12625]
28112 * misc/mntent_r.c (addmntent): Flush the stream after the output
28113
22836f52
UD
28114 [BZ #12393]
28115 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
28116 (is_trusted_path_normalize): Skip initial colon. Append slash
28117 to empty buffer. Duplicate is_trusted_path code but allow
28118 constructed patch to be prefix.
28119 (is_dst): Allow $ORIGIN followed by /.
28120 (_dl_dst_substitute): Correct clearing of check_for_trusted.
28121 Correct testing of result of is_trusted_path_normalize
28122 (decompose_rpath): Fix warning.
28123
7b3b0b2a
UD
281242011-05-10 Ulrich Drepper <drepper@gmail.com>
28125
28126 [BZ #11257]
28127 * grp/initgroups.c (internal_getgrouplist): When we found the service
28128 list through the initgroups entry in nsswitch.conf do not always
28129 continue on a successful lookup. Don't always use the
eac80ce2 28130 __nss_group_database value if it is set.
7b3b0b2a
UD
28131 * nss/nsswitch.conf (initgroups): Change action for successful db
28132 lookup to continue for compatibility.
28133
2a81eaa5
UD
281342011-05-09 Ulrich Drepper <drepper@gmail.com>
28135
be97a69e
UD
28136 [BZ #11532]
28137 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
28138 and CP774 modules.
28139 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
28140 and CP774 modules.
28141 * iconvdata/tst-tables.sh: Likewise.
28142 * iconvdata/cp770.c: New file.
28143 * iconvdata/cp771.c: New file.
28144 * iconvdata/cp772.c: New file.
28145 * iconvdata/cp773.c: New file.
28146 * iconvdata/cp774.c: New file.
28147 * iconvdata/testdata/CP770: New file.
28148 * iconvdata/testdata/CP770..UTF8: New file.
28149 * iconvdata/testdata/CP771: New file.
28150 * iconvdata/testdata/CP771..UTF8: New file.
28151 * iconvdata/testdata/CP772: New file.
28152 * iconvdata/testdata/CP772..UTF8: New file.
28153 * iconvdata/testdata/CP773: New file.
28154 * iconvdata/testdata/CP773..UTF8: New file.
28155 * iconvdata/testdata/CP774: New file.
28156 * iconvdata/testdata/CP774..UTF8: New file.
28157
28158 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
28159 END CHARMAP line.
28160 * iconvdata/gen-8bit-gap.sh: Likewise.
28161 * iconvdata/gen-8bit.sh: Likewise.
28162
c1e9e399
UD
28163 * locale/iso-639.def: Add ary entry.
28164
24c55fb3 28165 [BZ #11258]
96b4b1b0
UD
28166 * locale/C-translit.h.in: Add U20A1 transliteration.
28167
bdc2f971
KB
28168 [BZ #12178]
28169 * locale/iso-639.def: Add wae entry.
28170 Patch by Kevin Bortis <bortis@translate-wae.ch>.
28171
2952b117
UD
28172 [BZ #12545]
28173 * locale/programs/localedef.c (construct_output_path): Use ssize_t
28174 for n.
28175
2a81eaa5
UD
28176 [BZ #12711]
28177 * locale/C-translit.h.in: Add entry for U20B9.
28178 Patch by pravin.d.s@gmail.com.
28179
28377d1b
UD
281802011-05-08 Ulrich Drepper <drepper@gmail.com>
28181
7fb90fb8
UD
28182 [BZ #12713]
28183 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
28184 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
28185 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
28186 in rtld. Use *stat64.
7fb90fb8 28187 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 28188 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 28189 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
28190 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
28191 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
28192 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
28193 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
28194 __fstatat64 macros.
7fb90fb8
UD
28195 * include/dirent.h: Add libc_hidden_proto for rewinddir.
28196 * dirent/rewinddir.c: Add libc_hidden_def.
28197 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 28198 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 28199
28377d1b
UD
28200 * include/dirent.h (__alloc_dir): Add flags parameter.
28201 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
28202 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
28203 __alloc_dir.
28204 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
28205 from fdopendir if O_CLOEXEC is already set.
28206
66bdbaa4
AM
282072011-03-15 Alan Modra <amodra@gmail.com>
28208
28209 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
28210 l_tls_firstbyte_offset non-zero. Save padding offset in
28211 l_tls_firstbyte_offset for later use.
28212 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
28213 freeing static tls block.
28214
95721191
JN
282152011-03-05 Jonathan Nieder <jrnieder@gmail.com>
28216
28217 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
28218 where #ifdef was intended. The intent is to prevent ARG_MAX from
28219 being defined by the kernel headers.
28220
f87dfb1f
UD
282212011-05-07 Ulrich Drepper <drepper@gmail.com>
28222
28223 [BZ #12734]
28224 * resolv/resolv.h: Define RES_NOTLDQUERY.
28225 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
28226 no-tld-query and set RES_NOTLDQUERY.
28227 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
28228 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
28229 modern BIND to search name as TLD unless forbidden.
28230
47c3cd7a
UD
282312011-05-07 Petr Baudis <pasky@suse.cz>
28232 Ulrich Drepper <drepper@gmail.com>
28233
28234 [BZ #12393]
28235 * elf/dl-load.c (fillin_rpath): Move trusted path check...
28236 (is_trusted_path): ...to here.
c1e9ea35 28237 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 28238 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 28239 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 28240
8a35c912
PP
282412011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28242
28243 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
28244 __BEGIN/__END_DECLS.
28245
acd41f47
UD
282462011-05-06 Ulrich Drepper <drepper@gmail.com>
28247
28248 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
28249 NSS_STATUS_NOTFOUND if no record was found.
28250
597df647
AS
282512011-05-05 Andreas Schwab <schwab@redhat.com>
28252
28253 * sunrpc/Makefile (headers): Add rpc/netdb.h.
28254 (headers-not-in-tirpc): Remove rpc/netdb.h
28255 * resolv/netdb.h: Revert last change.
28256
b9af1301
PP
282572011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28258
28259 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
28260 circular dependency between libgcc.a and libc.a.
28261
4e34d5f5
AS
282622011-05-05 Andreas Schwab <schwab@redhat.com>
28263
28264 * resolv/netdb.h: Don't include <rpc/netdb.h>.
28265 * nis/Makefile: Don't install rpcsvc/*.
28266 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
28267 instead of <rpc/types.h>.
28268 (MAXHOSTNAMELEN): Define.
28269
00ee369c
AS
282702011-05-03 Andreas Schwab <schwab@redhat.com>
28271
28272 * elf/ldconfig.c (add_dir): Don't crash on empty path.
28273
0b592a30
MB
282742011-04-28 Maciej Babinski <mbabinski@google.com>
28275
28276 [BZ #12714]
28277 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
28278 gethostbyname4_r when IPv6 results are possible.
28279
6e04cbbe
UD
282802011-05-02 Ulrich Drepper <drepper@gmail.com>
28281
28282 [BZ #12723]
28283 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
28284 _PC_PIPE_BUF handling.
28285
e4ecafe0
BH
282862011-04-30 Bruno Haible <bruno@clisp.org>
28287
28288 [BZ #12717]
28289 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
28290 * resolv/netdb.h (getnameinfo): Change type of flags parameter
28291 to 'int'.
28292 * inet/getnameinfo.c (getnameinfo): Likewise.
28293
125ee683
UD
282942011-04-29 Ulrich Drepper <drepper@gmail.com>
28295
28296 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
28297 to groups setting in database lookup.
28298 * nss/nsswitch.conf: Add initgroups entry.
28299
b722481a
EB
283002011-04-22 Ulrich Drepper <drepper@gmail.com>
28301
28302 [BZ #12685]
28303 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
28304 mode string.
28305 Patch by Eric Blake <eblake@redhat.com>.
28306
4df46dbd
L
283072011-04-20 H.J. Lu <hongjiu.lu@intel.com>
28308
28309 * sunrpc/Makefile (need-export-routines): Add svc_run.
28310 (routines): Remove svc_run.
28311 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
28312 * sunrpc/clnt_perr.c (clnt_perrno): Export.
28313 * sunrpc/svc_run.c (svc_run): Likewise.
28314 * sunrpc/svc_udp.c (svcudp_create): Likewise.
28315
e84142d2
UD
283162011-04-21 Ulrich Drepper <drepper@gmail.com>
28317
28318 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
28319 problem in reallocation in last patch.
28320
877175d8
UD
283212011-04-20 Ulrich Drepper <drepper@gmail.com>
28322
28323 * sunrpc/Makefile: Move inclusion of Rules.
28324
ab8eed78
UD
283252011-04-19 Ulrich Drepper <drepper@gmail.com>
28326
28327 * nss/nss_files/files-initgroups.c: New file.
28328 * nss/Makefile (libnss_files-routines): Add files-initgroups.
28329 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
28330 _nss_files_initgroups_dyn.
28331
e3d8f584
RS
283322011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
28333
28334 * elf/elf.h (R_ARM_IRELATIVE): Define.
28335
af190f45
UD
283362011-04-19 Ulrich Drepper <drepper@gmail.com>
28337
28338 * po/ru.po: Update from translation team.
28339
53cf59ef
UD
283402011-04-17 Ulrich Drepper <drepper@gmail.com>
28341
28342 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
28343 dependencies.
28344
4c559bcd
MF
283452011-02-06 Mike Frysinger <vapier@gentoo.org>
28346
28347 [BZ #12653]
28348 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
28349 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
28350 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28351 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28352 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28353
4420675c
AS
283542011-03-28 Andreas Schwab <schwab@linux-m68k.org>
28355
28356 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
28357 differing bytes.
28358 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28359 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28360 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28361
75ea32ab
UD
283622011-04-17 Ulrich Drepper <drepper@gmail.com>
28363
28364 [BZ #12420]
28365 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
28366 storing it.
28367 * stdlib/bug-getcontext.c: New file.
28368 * stdlib/Makefile: Add rules to build and run bug-getcontext.
28369
27390476
AK
283702011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28371
28372 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
28373 instructions into .machine "z9-109".
28374 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
28375 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
28376
10442705
AK
283772011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28378
28379 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
28380 between environment variables and auxiliary vector.
28381
7b57bfe5
UD
283822011-04-16 Ulrich Drepper <drepper@gmail.com>
28383
28384 * Makefile: Add rules to build linkobj/libc.so.
28385 * include/libc-symbols.h: Define libc_hidden_nolink.
28386 * include/rpc/auth.h: Mark functions which are to be hidden.
28387 * include/rpc/auth_des.h: Likewise.
28388 * include/rpc/auth_unix.h: Likewise.
28389 * include/rpc/clnt.h: Likewise.
28390 * include/rpc/des_crypt.h: Likewise.
28391 * include/rpc/key_prot.h: Likewise.
28392 * include/rpc/pmap_clnt.h: Likewise.
28393 * include/rpc/pmap_prot.h: Likewise.
28394 * include/rpc/pmap_rmt.h: Likewise.
28395 * include/rpc/rpc_msg.h: Likewise.
28396 * include/rpc/svc.h: Likewise.
28397 * include/rpc/svc_auth.h: Likewise.
28398 * include/rpc/xdr.h: Likewise.
28399 * nis/Makefile: Link all DSOs against linkobj/libc.so.
28400 * nss/Makefile: Likewise.
28401 * sunrpc/Makefile: Don't install headers. Build library with normal
28402 entry points. Don't build rpcinfo. Link RPC tests appropriately.
28403 * sunrpc/auth_des.c: Hide exported symbols by default, export some
28404 for the compat linking library. Remove use of INTDEF/INTUSE.
28405 * sunrpc/auth_none.c: Likewise.
28406 * sunrpc/auth_unix.c: Likewise.
28407 * sunrpc/authdes_prot.c: Likewise.
28408 * sunrpc/authuxprot.c: Likewise.
28409 * sunrpc/clnt_gen.c: Likewise.
28410 * sunrpc/clnt_perr.c: Likewise.
28411 * sunrpc/clnt_raw.c: Likewise.
28412 * sunrpc/clnt_simp.c: Likewise.
28413 * sunrpc/clnt_tcp.c: Likewise.
28414 * sunrpc/clnt_udp.c: Likewise.
28415 * sunrpc/clnt_unix.c: Likewise.
28416 * sunrpc/des_crypt.c: Likewise.
28417 * sunrpc/des_soft.c: Likewise.
28418 * sunrpc/get_myaddr.c: Likewise.
28419 * sunrpc/key_call.c: Likewise.
28420 * sunrpc/key_prot.c: Likewise.
28421 * sunrpc/netname.c: Likewise.
28422 * sunrpc/pm_getmaps.c: Likewise.
28423 * sunrpc/pm_getport.c: Likewise.
28424 * sunrpc/pmap_clnt.c: Likewise.
28425 * sunrpc/pmap_prot.c: Likewise.
28426 * sunrpc/pmap_prot2.c: Likewise.
28427 * sunrpc/pmap_rmt.c: Likewise.
28428 * sunrpc/publickey.c: Likewise.
28429 * sunrpc/rpc_cmsg.c: Likewise.
28430 * sunrpc/rpc_common.c: Likewise.
28431 * sunrpc/rpc_dtable.c: Likewise.
28432 * sunrpc/rpc_prot.c: Likewise.
28433 * sunrpc/rpc_thread.c: Likewise.
28434 * sunrpc/rtime.c: Likewise.
28435 * sunrpc/svc.c: Likewise.
28436 * sunrpc/svc_auth.c: Likewise.
28437 * sunrpc/svc_authux.c: Likewise.
28438 * sunrpc/svc_raw.c: Likewise.
28439 * sunrpc/svc_run.c: Likewise.
28440 * sunrpc/svc_simple.c: Likewise.
28441 * sunrpc/svc_tcp.c: Likewise.
28442 * sunrpc/svc_udp.c: Likewise.
28443 * sunrpc/svc_unix.c: Likewise.
28444 * sunrpc/svcauth_des.c: Likewise.
28445 * sunrpc/xcrypt.c: Likewise.
28446 * sunrpc/xdr.c: Likewise.
28447 * sunrpc/xdr_array.c: Likewise.
28448 * sunrpc/xdr_float.c: Likewise.
28449 * sunrpc/xdr_intXX_t.c: Likewise.
28450 * sunrpc/xdr_mem.c: Likewise.
28451 * sunrpc/xdr_rec.c: Likewise.
28452 * sunrpc/xdr_ref.c: Likewise.
28453 * sunrpc/xdr_sizeof.c: Likewise.
28454 * sunrpc/xdr_stdio.c: Likewise.
28455
e6c61494
UD
284562011-04-10 Ulrich Drepper <drepper@gmail.com>
28457
28458 [BZ #12650]
28459 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
28460 * sysdeps/ia64/dl-tls.h: Likewise.
28461 * sysdeps/powerpc/dl-tls.h: Likewise.
28462 * sysdeps/s390/dl-tls.h: Likewise.
28463 * sysdeps/sh/dl-tls.h: Likewise.
28464 * sysdeps/sparc/dl-tls.h: Likewise.
28465 * sysdeps/x86_64/dl-tls.h: Likewise.
28466 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
28467
34fe483e
AS
284682011-03-14 Andreas Schwab <schwab@redhat.com>
28469
28470 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
28471 rpath element also skip the following colon.
28472 (expand_dynamic_string_token): Add is_path parameter and pass
28473 down to DL_DST_REQUIRED and _dl_dst_substitute.
28474 (decompose_rpath): Call expand_dynamic_string_token with
28475 non-zero is_path. Ignore empty rpaths.
28476 (_dl_map_object_from_fd): Call expand_dynamic_string_token
28477 with zero is_path.
28478
f12a32e6
AS
284792011-04-08 Andreas Schwab <schwab@linux-m68k.org>
28480
28481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28482 Make cancelable.
28483
38a7d692
UD
284842011-04-09 Ulrich Drepper <drepper@gmail.com>
28485
28486 [BZ #12655]
28487 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
28488 Patch by Filipe David Manana <fdmanana@apache.org>.
28489
e451d22b
AS
284902011-04-07 Andreas Schwab <schwab@redhat.com>
28491
28492 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
28493 Maintain aligned stack.
28494 (CHECK_RSP): Remove unused macro.
28495
dedc7c7b
UD
284962011-04-03 Ulrich Drepper <drepper@gmail.com>
28497
28498 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
28499 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
28500
94521213
UD
285012011-04-02 Ulrich Drepper <drepper@gmail.com>
28502
28503 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
28504
8cb700c0 28505 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 28506
0354e355
L
285072011-03-26 H.J. Lu <hongjiu.lu@intel.com>
28508
28509 [BZ #12518]
28510 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
28511 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
28512 * sysdeps/x86_64/memmove.c: New file.
28513 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
28514 (memcpy): Renamed to ...
28515 (__new_memcpy): This.
28516 (memcpy): Provide GLIBC_2_14 memcpy.
28517 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
28518 (memcpy): Provide GLIBC_2_2_5 memcpy.
28519
8593482f
UD
285202011-04-01 Ulrich Drepper <drepper@gmail.com>
28521
28522 [BZ #12631]
28523 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
28524
81a5726b
AS
285252011-03-30 Andreas Schwab <schwab@redhat.com>
28526
28527 * misc/syncfs.c: New file.
28528 * misc/Makefile (routines): Add syncfs.
28529 * posix/unistd.h: Declare syncfs.
28530 * sysdeps/unix/syscalls.list: Add syncfs.
28531
00e5419f
AS
285322011-04-01 Andreas Schwab <schwab@redhat.com>
28533
28534 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
28535 open_by_handle_at.
28536 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28537 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28538 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28539 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28540 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28541 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
28542 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28543
748876bf
UD
285442011-04-01 Ulrich Drepper <drepper@gmail.com>
28545
658e451d
UD
28546 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
28547 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28548 * sysdeps/unix/sysv/linux/powerpc/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/x86_64/bits/fcntl.h: Likewise.
28553
748876bf
UD
28554 * io/Makefile: Compile fallocate.c, fallocate64.c, and
28555 sync_file_range.c with -fexceptions.
28556 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
28557 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
28558 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
28559 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
28560 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
28561 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28562 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
28563 sync_file_range as cancellation point
28564 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
28565 now a wrapper around __call_sync_file_range with cancellation handling.
28566 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
28567 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
28568 function name to __call_sync_file_range.
28569 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
28570 Add call_sync_file_range.
748876bf 28571
6e63d5e1
AS
285722011-04-01 Andreas Schwab <schwab@redhat.com>
28573
28574 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 28575 bits/timex.h.
6e63d5e1 28576
46998f74
UD
285772011-04-01 Ulrich Drepper <drepper@gmail.com>
28578
4c1423ed
UD
28579 * iconv/iconv.h: Fix typo in comment.
28580 * io/fcntl.h: Likewise.
28581 * libio/stdio.h: Likewise.
28582 * posix/spawn.h: Likewise.
28583 * posix/unistd.h: Likewise.
28584 * stdlib/stdlib.h: Likewise.
28585 * time/time.h: Likewise.
28586 * wcsmbs/wchar.h: Likewise.
28587
158648c0
UD
28588 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
28589 open_by_handle): Add.
28590 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
28591 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
28592 Augment a few comments.
28593 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28594 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28595 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28596 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28597 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28598 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
28599 open_by_handle.
28600
46998f74
UD
28601 * io/fcntl.h (AT_EMPTY_PATH): Define.
28602
83fe108b
UD
286032011-03-30 Ulrich Drepper <drepper@gmail.com>
28604
28605 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
28606 * sysdeps/unix/sysv/linux/bits/time.h: New file.
28607 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
28608 to...
28609 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
28610 * Versions.def: Add GLIBC_2.14.
28611 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
28612 Export.
83fe108b 28613
bb242059
UD
286142011-03-22 Ulrich Drepper <drepper@gmail.com>
28615
28616 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
28617 round counter.
28618 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28619
c97a1282
L
286202011-03-20 H.J. Lu <hongjiu.lu@intel.com>
28621
28622 [BZ #12597]
28623 * string/test-strncmp.c (do_page_test): New function.
28624 (check2): Likewise.
28625 (test_main): Call check2.
28626 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
28627
2a115601
UD
286282011-03-20 Ulrich Drepper <drepper@gmail.com>
28629
28630 [BZ #12587]
28631 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
28632 Handle cache information in CPU leaf 4.
28633 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28634
8126d904
UD
286352011-03-18 Ulrich Drepper <drepper@gmail.com>
28636
042c49c6 28637 [BZ #12583]
8126d904
UD
28638 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
28639 character representation.
28640 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
28641
ccfe366e
RA
286422011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
28643
28644 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
28645 END(__isnan) to END(__isnanf) to match function entry point/label
28646 EALIGN(__isnanf,...).
28647
c6e13027
JJ
286482011-03-10 Jakub Jelinek <jakub@redhat.com>
28649
28650 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
28651
33f85a3f
UD
286522011-03-10 Ulrich Drepper <drepper@gmail.com>
28653
028478fa
UD
28654 [BZ #12510]
28655 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
28656 copy from the symbol referenced in the relocation to initialize the
28657 used variable.
28658 Patch by Piotr Bury <pbury@goahead.com>.
28659 * elf/Makefile: Add rules to build and tst-unique3.
28660 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
28661 * elf/tst-unique3.cc: New file.
28662 * elf/tst-unique3.h: New file.
28663 * elf/tst-unique3lib.cc: New file.
28664 * elf/tst-unique3lib2.cc: New file.
28665
33f85a3f
UD
28666 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
28667
03592fc7
MF
286682011-03-10 Mike Frysinger <vapier@gentoo.org>
28669
28670 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
28671 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
28672 to _start.
03592fc7 28673
6a5ee102
UD
286742011-03-06 Ulrich Drepper <drepper@gmail.com>
28675
28676 * elf/dl-load.c (_dl_map_object): If we are looking for the first
28677 to-be-loaded object along a path to loader is ld.so.
28678
7e4ba49c
HJ
286792011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28680 Ulrich Drepper <drepper@gmail.com>
28681
28682 * sysdeps/x86_64/memset.S: After aligning destination, code
28683 branches to different locations depending on the value of
28684 misalignment, when multiarch is enabled. Fix this.
28685
286862011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28687
28688 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
28689 Set _x86_64_preferred_memory_instruction for AMD processsors.
28690 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28691 Set bit_Prefer_SSE_for_memop for AMD processors.
28692
13a804de
UD
286932011-03-04 Ulrich Drepper <drepper@gmail.com>
28694
28695 * libio/fmemopen.c (fmemopen): Optimize a bit.
28696
9d25c392
AS
286972011-03-03 Andreas Schwab <schwab@redhat.com>
28698
28699 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
28700
a5543c6a
RM
287012011-03-03 Roland McGrath <roland@redhat.com>
28702
28703 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
28704
012d35f7
DM
287052011-02-28 Aurelien Jarno <aurelien@aurel32.net>
28706
7e4ba49c 28707 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
28708 __bzero_ultra1 instead of __memset_ultra1.
28709
4bff6e01
AS
287102011-02-23 Andreas Schwab <schwab@redhat.com>
28711 Ulrich Drepper <drepper@gmail.com>
28712
28713 [BZ #12509]
28714 * include/link.h (struct link_map): Add l_orig_initfini.
28715 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
28716 returning unsuccessfully.
28717 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
28718 close of a file loaded at startup, restore the original l_initfini
28719 list.
28720 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
28721 list, store the pointer.
28722 * elf/Makefile ($(objpfx)noload-mem): New rule.
28723 (noload-ENV): Define.
28724 (tests): Add $(objpfx)noload-mem.
28725 * elf/noload.c: Include <memcheck.h>.
28726 (main): Call mtrace. Close all opened handles.
28727
f2092faf
AS
287282011-02-17 Andreas Schwab <schwab@redhat.com>
28729
28730 [BZ #12454]
28731 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
28732 dependencies are missing.
28733
6c8a2e88
ST
287342011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
28735
f2092faf 28736 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
28737 Hurd needs munmap.
28738 * sysdeps/mach/hurd/ifreq.h: New file.
28739
84a42118
PB
287402011-01-27 Petr Baudis <pasky@suse.cz>
28741 Ulrich Drepper <drepper@gmail.com>
28742
071f805e 28743 [BZ 12445]#
84a42118
PB
28744 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
28745 to extend_alloca().
28746 * stdio-common/bug23.c: New file.
28747 * stdio-common/Makefile (tests): Add bug23.
28748
e23fe25b
AS
287492010-09-28 Andreas Schwab <schwab@redhat.com>
28750 Ulrich Drepper <drepper@gmail.com>
28751
28752 [BZ #12489]
28753 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
28754 before performing relro protection. At old place add assertion
28755 to make sure nothing changed.
28756
d3f02e10
NS
287572011-02-17 Nathan Sidwell <nathan@codesourcery.com>
28758 Glauber de Oliveira Costa <glommer@gmail.com>
28759
28760 * elf/elf.h: Add new ARM TLS relocs.
28761
d55fd7a5
RA
287622011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
28763
28764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28765 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
28766 cast from r3.
28767 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
28768 'tests' variable.
28769 * sysdeps/wordsize-64/tst-writev.c: New file.
28770
2206397e
RA
287712011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
28772
28773 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
28774 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
28775 insns in _dl_start to prevent a TOC reference before relocs are
28776 resolved.
28777
e9433893
UD
287782011-02-15 Ulrich Drepper <drepper@gmail.com>
28779
28780 [BZ #12469]
28781 * Makeconfig: Remove RANLIB definition.
28782 * Makerules: Don't use RANLIB.
28783 * aclocal.m4: Remove ranlib test.
28784 * configure.in: No need to check for ranlib.
28785 * elf/rtld-Rules: Don't use RANLIB.
28786
f75286c6
ST
287872011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
28788
8e31c82d
ST
28789 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
28790 protection macro.
28791 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
28792 inclusion protection macro.
28793
f75286c6
ST
28794 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
28795 SIGRTMIN and SIGRTMAX and print information in that case only when
28796 SIGRTMIN is defined.
28797
c1d0e639
JJ
287982011-02-11 Jakub Jelinek <jakub@redhat.com>
28799
28800 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
28801 arginfo fn returning -1.
28802
28803 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
28804 and thousands string is zero terminated.
28805
edf9294e
AS
288062011-02-03 Andreas Schwab <schwab@redhat.com>
28807
28808 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
28809 sysdeps/unix/sysv/linux/bits/socket.h.
28810
2b7e92df
ST
288112011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
28812
edf9294e
AS
28813 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
28814 (__CPU_COUNT): Remove old macros.
28815 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
28816 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
28817 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
28818 (__sched_cpualloc, __sched_cpufree): Add declarations.
28819
a4c7ea7b
UD
288202011-02-05 Ulrich Drepper <drepper@gmail.com>
28821
28822 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
28823 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
28824 * nscd/aicache.c (addhstaiX): Return timeout of added value.
28825 (readdhstai): Return value of addhstaiX call.
28826 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
28827 (addgrbyX): Return value returned by cache_addgr.
28828 (readdgrbyname): Return value returned by addgrbyX.
28829 (readdgrbygid): Likewise.
28830 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
28831 (addpwbyX): Return value returned by cache_addpw.
28832 (readdpwbyname): Return value returned by addhstbyX.
28833 (readdpwbyuid): Likewise.
28834 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
28835 (addservbyX): Return value returned by cache_addserv.
28836 (readdservbyname): Return value returned by addservbyX:
28837 (readdservbyport): Likewise.
28838 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
28839 (addhstbyX): Return value returned by cache_addhst.
28840 (readdhstbyname): Return value returned by addhstbyX.
28841 (readdhstbyaddr): Likewise.
28842 (readdhstbynamev6): Likewise.
28843 (readdhstbyaddrv6): Likewise.
28844 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
28845 (readdinitgroups): Return value returned by addinitgroupsX.
28846 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
28847 (prune_cache): Keep track of timeout value of re-added entries.
28848 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
28849 * nscd/nscd.h: Adjust prototypes of readd* functions.
28850
a0bf67cc
RM
288512011-02-04 Roland McGrath <roland@redhat.com>
28852
28853 * nis/nis_server.c (nis_servstate): Use the right name for 0.
28854 (nis_stats): Likewise.
28855 * nis/nis_modify.c (nis_modify): Likewise.
28856 * nis/nis_remove.c (nis_remove): Likewise.
28857 * nis/nis_add.c (nis_add): Likewise.
28858
28859 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
28860
28861 * posix/fnmatch_loop.c: Add some consts.
28862
28863 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
28864
435b95eb
L
288652011-02-02 H.J. Lu <hongjiu.lu@intel.com>
28866
28867 [BZ #12460]
28868 * config.make.in (config-cflags-novzeroupper): Define.
28869 * configure.in: Substitute libc_cv_cc_novzeroupper.
28870 * elf/Makefile (AVX-CFLAGS): Define.
28871 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
28872 (CFLAGS-tst-auditmod4a.c): Likewise.
28873 (CFLAGS-tst-auditmod4b.c): Likewise.
28874 (CFLAGS-tst-auditmod6b.c): Likewise.
28875 (CFLAGS-tst-auditmod6c.c): Likewise.
28876 (CFLAGS-tst-auditmod7b.c): Likewise.
28877 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
28878
8517b15e
UD
288792011-02-02 Ulrich Drepper <drepper@gmail.com>
28880
28881 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
28882 function to the callback.
28883 Patch partly by Jiri Olsa <jolsa@redhat.com>.
28884
10a656fe
AS
288852011-02-02 Andreas Schwab <schwab@redhat.com>
28886
28887 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
28888 of errno.
28889
968dad0a
UD
288902011-01-19 Ulrich Drepper <drepper@gmail.com>
28891
9f94d2ea 28892 [BZ #11724]
968dad0a
UD
28893 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
28894 of constructors.
28895 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
28896 of destructors.
28897 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
28898
28899 [BZ #11724]
28900 * elf/Makefile: Add rules to build and run new test.
28901 * elf/tst-initorder.c: New file.
28902 * elf/tst-initorder.exp: New file.
28903 * elf/tst-initordera1.c: New file.
28904 * elf/tst-initordera2.c: New file.
28905 * elf/tst-initordera3.c: New file.
28906 * elf/tst-initordera4.c: New file.
28907 * elf/tst-initorderb1.c: New file.
28908 * elf/tst-initorderb2.c: New file.
28909 * elf/tst-order-a1.c: New file.
28910 * elf/tst-order-a2.c: New file.
28911 * elf/tst-order-a3.c: New file.
28912 * elf/tst-order-a4.c: New file.
28913 * elf/tst-order-b1.c: New file.
28914 * elf/tst-order-b2.c: New file.
28915 * elf/tst-order-main.c: New file.
28916 New test case by George Gensure <werkt0@gmail.com>.
28917
86e92359
UD
289182010-10-01 Andreas Schwab <schwab@redhat.com>
28919
28920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28921 decoding ACE if AI_CANONIDN.
28922
5d5732b0
UD
289232011-01-18 Ulrich Drepper <drepper@gmail.com>
28924
28925 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
28926
a77e8cbc
UD
289272011-01-17 Ulrich Drepper <drepper@gmail.com>
28928
6392473f
UD
28929 * version.h (RELEASE): Bump for 2.13 release.
28930 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
28931
620a0529
UD
28932 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
28933
18ba70a5
UD
28934 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
28935 MADV_NOHUGEPAGE.
32465c3e
UD
28936 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
28937 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28938 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28939 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28940 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28941 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
28942
c0dafcf1
UD
28943 * posix/getconf.c: Update copyright year.
28944 * catgets/gencat.c: Likewise.
28945 * csu/version.c: Likewise.
28946 * debug/catchsegv.sh: Likewise.
28947 * debug/xtrace.sh: Likewise.
28948 * elf/ldconfig.c: Likewise.
28949 * elf/ldd.bash.in: Likewise.
28950 * elf/sprof.c (print_version): Likewise.
28951 * iconv/iconv_prog.c: Likewise.
28952 * iconv/iconvconfig.c: Likewise.
28953 * locale/programs/locale.c: Likewise.
28954 * locale/programs/localedef.c: Likewise.
28955 * malloc/memusage.sh: Likewise.
28956 * malloc/mtrace.pl: Likewise.
28957 * nscd/nscd.c (print_version): Likewise.
28958 * nss/getent.c: Likewise.
28959
a77e8cbc
UD
28960 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
28961 PF_CAIF, and PF_ALG.
28962 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28963
77e8bddf
AS
289642011-01-16 Andreas Schwab <schwab@linux-m68k.org>
28965
1f20b93a
AS
28966 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
28967 (modules-names): Use them.
28968 (ifunc-test-modules, ifunc-pie-tests): Define.
28969 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
28970 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
28971 (test-extras): Likewise.
28972 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
28973 $(compile-command.c).
28974 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
28975 (all-built-dso): Define.
28976 (check-textrel.out, check-execstack.out): Depend on it.
28977
77e8bddf
AS
28978 * configure.in: Don't override --enable-multi-arch.
28979
bc425b33
UD
289802011-01-15 Ulrich Drepper <drepper@gmail.com>
28981
28982 [BZ #6812]
28983 * nscd/hstcache.c (tryagain): Define.
28984 (cache_addhst): Return tryagain not notfound for temporary errors.
28985 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
28986 failed.
28987
794c3ad3
UD
289882011-01-14 Ulrich Drepper <drepper@gmail.com>
28989
70181fdd
UD
28990 [BZ #10563]
28991 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
28992 to make the syscall.
28993 * sysdeps/unix/sysv/linux/setgroups.c: New file.
28994
794c3ad3
UD
28995 [BZ #12378]
28996 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
28997 and fall back to matching as normal character if the string ends before
28998 the matching ']' is found. This is what POSIX requires.
28999 * posix/testfnm.c: Adjust test result.
29000 * posix/globtest.sh: Adjust test result. Add new test.
29001 * posix/tst-fnmatch.input: Likewise.
29002 * posix/tst-fnmatch2.c: Add new test.
29003
68dc9497
AS
290042010-12-28 Andreas Schwab <schwab@linux-m68k.org>
29005
29006 * elf/Makefile (check-execstack): Revert last change. Depend on
29007 check-execstack.h.
29008 (check-execstack.h): New target.
29009 (generated): Add check-execstack.h.
29010 * elf/check-execstack.c: Include "check-execstack.h".
29011 (main): Revert last change.
29012 (handle_file): Return zero if GNU_STACK is absent and
29013 DEFAULT_STACK_PERMS doesn't include PF_X.
29014
451f001b
UD
290152011-01-13 Ulrich Drepper <drepper@gmail.com>
29016
cfa28e56
UD
29017 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
29018 in child fails because the descriptor is already closed.
8cf8ce17
UD
29019 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
29020 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
29021 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 29022
1086d70d
UD
29023 [BZ #12397]
29024 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
29025 syscall.
29026
451f001b
UD
29027 [BZ #10484]
29028 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
29029 temporary buffer used to handle multi lookups locally.
a85b5cb4 29030 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 29031
08769175
UD
290322011-01-12 Ulrich Drepper <drepper@gmail.com>
29033
29034 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
29035 loader is ld.so.
29036
5e49c52e
UD
290372011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
29038
29039 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
29040 alignment for SSE2.
29041
60522a5f
UD
290422011-01-12 Ulrich Drepper <drepper@gmail.com>
29043
29044 [BZ #12394]
29045 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
29046 characters. When rounding increased number of integer digits recompute
29047 number of groups.
29048 * stdio-common/tst-grouping.c: New file.
29049 * stdio-common/Makefile: Add rules to build and run tst-grouping.
29050
f257bbd7
UD
290512011-01-09 Ulrich Drepper <drepper@gmail.com>
29052
29053 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
29054 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
29055
29056 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
29057 void.
29058 * bits/select.h: Likewise.
29059
fa9c15cb
UD
290602011-01-08 Ulrich Drepper <drepper@gmail.com>
29061
29062 * po/ja.po: Update from translation team.
29063
16c2895f
DM
290642011-01-04 David S. Miller <davem@sunset.davemloft.net>
29065
29066 [BZ #11155]
29067 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
29068 implementation just like for lxstat, fxstatat, et al.
29069
2543fef2
JM
290702010-12-27 Jim Meyering <meyering@redhat.com>
29071
29072 [BZ #12348]
29073 * posix/regexec.c (build_trtable): Return failure indication upon
29074 calloc failure. Otherwise, re_search_internal could infloop on OOM.
29075
98727dbe
UD
290762010-12-25 Ulrich Drepper <drepper@gmail.com>
29077
5bd6dc5c
UD
29078 [BZ #12201]
29079 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
29080 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
29081 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
29082 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
29083
97983464
UD
29084 [BZ #12207]
29085 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
29086
98727dbe
UD
29087 [BZ #12204]
29088 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
29089 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
29090
4a531bb0
L
290912010-12-15 H.J. Lu <hongjiu.lu@intel.com>
29092
29093 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
29094 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
29095 script has SORT_BY_INIT_PRIORITY.
29096 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
29097 NO_CTORS_DTORS_SECTIONS is defined.
29098 * elf/soinit.c: Likewise.
29099 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
29100 NO_CTORS_DTORS_SECTIONS is defined.
29101 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
29102 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
29103 * sysdeps/sh/init-first.c: Likewise.
29104 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
29105
07eb4b71
UD
291062010-12-24 Ulrich Drepper <drepper@gmail.com>
29107
29108 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
29109 always use the slow path.
29110
30950a5f
RA
291112010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
29112
29113 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
29114 similar rule which adds the sysdep directories to the header search in
29115 order to pick up the correct platform stackinfo.h.
29116 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
29117 perform test if it is, otherwise return successfully without testing.
29118 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
29119 DEFAULT_STACK_PERMS define in stackinfo.h.
29120 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
29121 defined in stackinfo.h.
29122 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
29123 DEFAULT_STACK_PERMS defined in stackinfo.h.
29124 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
29125 * sysdeps/ia64/stackinfo.h: Likewise.
29126 * sysdeps/s390/stackinfo.h: Likewise.
29127 * sysdeps/sh/stackinfo.h: Likewise.
29128 * sysdeps/sparc/stackinfo.h: Likewise.
29129 * sysdeps/x86_64/stackinfo.h: Likewise.
29130 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
29131 PF_X for powerpc64. Retain PF_X for powerpc32.
29132
db753e2c
UD
291332010-12-19 Ulrich Drepper <drepper@gmail.com>
29134
14b697f7
UD
29135 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
29136 accurately.
db753e2c
UD
29137 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
29138 GETDENTS_64BIT_ALIGNED.
29139
28300719
UD
291402010-12-14 Ulrich Drepper <dreper@gmail.com>
29141
14b697f7 29142 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 29143
4f197237
AS
291442010-12-10 Andreas Schwab <schwab@redhat.com>
29145
dbb0472f
AS
29146 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
29147 _GNU_SOURCE.
29148
4f197237
AS
29149 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
29150 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
29151 Remove __restrict.
29152 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
29153 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
29154
fb88ac72
UD
291552010-12-09 Ulrich Drepper <drepper@gmail.com>
29156
29157 [BZ #11655]
29158 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
29159 are initialized.
29160
42acbb92
JJ
291612010-12-09 Jakub Jelinek <jakub@redhat.com>
29162
29163 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
29164
c038d98d
UD
291652010-12-03 Ulrich Drepper <drepper@gmail.com>
29166
29167 * po/it.po: Update from translation team.
29168
3a4a2499
L
291692010-12-01 H.J. Lu <hongjiu.lu@intel.com>
29170
29171 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
29172 unused codes.
29173
1e24cf6e
UD
291742010-11-30 Ulrich Drepper <drepper@gmail.com>
29175
29176 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
29177
a7690819
AS
291782010-11-24 Andreas Schwab <schwab@redhat.com>
29179
29180 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
29181 specially.
29182 (gaih_getanswer_slice): Likewise.
29183
3bf8d1b1
JJ
291842010-10-20 Jakub Jelinek <jakub@redhat.com>
29185
29186 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
29187
6db52fbb
PB
291882010-05-31 Petr Baudis <pasky@suse.cz>
29189
29190 [BZ #11149]
29191 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
29192 silently even in the chroot mode.
29193
eaca7569
UD
291942010-11-22 Ulrich Drepper <drepper@gmail.com>
29195
29196 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
29197 last patch a bit. Pretty printing
29198
3056dcdb
UD
291992010-05-31 Petr Baudis <pasky@suse.cz>
29200
29201 [BZ #10085]
29202 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
29203 initialization of skip_initgroups_dyn.
29204
cf7c9078
UD
292052010-11-19 Ulrich Drepper <drepper@gmail.com>
29206
29207 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
29208 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29209
a1fb5e3e
UD
292102010-11-16 Ulrich Drepper <drepper@gmail.com>
29211
29212 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
29213
3540d66b
AS
292142010-11-11 Andreas Schwab <schwab@redhat.com>
29215
29216 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
29217 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
29218 (tst-fnmatch-ENV): Set MALLOC_TRACE.
29219 ($(objpfx)tst-fnmatch-mem): New rule.
29220 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
29221 * posix/tst-fnmatch.c (main): Call mtrace.
29222
13b69574
L
292232010-11-11 H.J. Lu <hongjiu.lu@intel.com>
29224
29225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29226 Support Intel processor model 6 and model 0x2c.
29227
da93d214
LM
292282010-11-10 Luis Machado <luisgpm@br.ibm.com>
29229
29230 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
29231 signed comparison.
29232
8ca52c6e
L
292332010-11-09 H.J. Lu <hongjiu.lu@intel.com>
29234
29235 [BZ #12205]
29236 * string/test-strncasecmp.c (check_result): New function.
29237 (do_one_test): Use it.
29238 (check1): New function.
29239 (test_main): Use it.
29240 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
29241 Support strcasecmp and strncasecmp.
29242
69da074d
UD
292432010-11-08 Ulrich Drepper <drepper@gmail.com>
29244
29245 [BZ #12194]
29246 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
29247 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29248
ff02d528
L
292492010-11-07 H.J. Lu <hongjiu.lu@intel.com>
29250
29251 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
29252 IFUNC support.
29253 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29254 memset-x86-64.
29255 * sysdeps/x86_64/multiarch/bzero.S: New file.
29256 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
29257 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
29258 * sysdeps/x86_64/multiarch/memset.S: New file.
29259 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
29260 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29261 Set bit_Prefer_SSE_for_memop for Intel processors.
29262 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
29263 Define.
29264 (index_Prefer_SSE_for_memop): Define.
29265 (HAS_PREFER_SSE_FOR_MEMOP): Define.
29266
344d0b54
LM
292672010-11-04 Luis Machado <luisgpm@br.ibm.com>
29268
29269 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
29270 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
29271
c0dde15b
UD
292722010-11-03 H.J. Lu <hongjiu.lu@intel.com>
29273
29274 [BZ #12191]
29275 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29276 (__x86_64_raw_data_cache_size_half): Likewise.
29277 (__x86_64_raw_shared_cache_size): Likewise.
29278 (__x86_64_raw_shared_cache_size_half): Likewise.
29279
29280 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29281 (__x86_64_raw_data_cache_size_half): Likewise.
29282 (__x86_64_raw_shared_cache_size): Likewise.
29283 (__x86_64_raw_shared_cache_size_half): Likewise.
29284 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
29285 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
29286 and __x86_64_raw_shared_cache_size_half. Round
29287 __x86_64_data_cache_size_half, __x86_64_data_cache_size
29288 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
29289 to multiple of 256 bytes.
29290
0e516e0e
MS
292912010-11-03 Ulrich Drepper <drepper@gmail.com>
29292
29293 [BZ #12167]
29294 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
29295 of inacessible symlinks. Verify result of symlink before returning it.
29296 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
29297 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
29298
0e012e87
ER
292992010-10-28 Erich Ritz <erichritz@gmail.com>
29300
29301 * math/math.h (isinf): Fix typo in comment.
29302
de0ff7bc
UD
293032010-11-01 Ulrich Drepper <drepper@gmail.com>
29304
29305 * po/da.po: Update from translation team.
29306
fa41c84d
UD
293072010-10-26 Ulrich Drepper <drepper@gmail.com>
29308
29309 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
29310 is added to the list.
29311
f0967738
AK
293122010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29313 Ulrich Drepper <drepper@gmail.com>
29314
29315 * elf/dl-object.c (_dl_new_object): Don't append the new object to
29316 the global list here. Move code to...
29317 (_dl_add_to_namespace_list): ...here. New function.
29318 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
29319 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
29320 * elf/dl-load.c (lose): Don't remove the element from the list.
29321 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
29322 (_dl_map_object): Likewise.
29323
293242010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
29325
29326 [BZ #12159]
29327 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
29328 into all bytes of SSE register.
29329 Patch by Richard Li <richardpku@gmail.com>.
29330
f0967738 293312010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
29332
29333 [BZ #12140]
29334 * malloc/malloc.c (_int_free): Fill correct number of bytes when
29335 perturbing.
29336
d0b9e94f
MB
293372010-10-20 Michael B. Brutman <brutman@us.ibm.com>
29338
29339 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
29340 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
29341 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
29342 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
29344 submachine.
29345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
29346
8e9f92e9
AS
293472010-10-22 Andreas Schwab <schwab@redhat.com>
29348
29349 * include/dlfcn.h (__RTLD_SECURE): Define.
29350 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
29351 mode & __RTLD_SECURE instead.
29352 (open_path): Rename preloaded parameter to secure.
29353 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
29354 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
29355 * elf/dl-deps.c (openaux): Likewise.
29356 * elf/rtld.c (struct map_args): Remove is_preloaded.
29357 (map_doit): Don't use it.
29358 (dl_main): Likewise.
29359 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
29360 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
29361
bc96fbda
AS
293622010-09-09 Andreas Schwab <schwab@redhat.com>
29363
29364 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
29365 (sysd-rules-targets): Remove duplicates.
29366 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
29367 rtld-%.$o dependency.
29368
22cd1c9b
AS
293692010-10-18 Andreas Schwab <schwab@redhat.com>
29370
29371 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
29372 _dl_map_object do it.
29373
18edac48
UD
293742010-10-19 Ulrich Drepper <drepper@gmail.com>
29375
29376 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
29377 fast fma builtins, define the macros in the C99 standard.
29378 (FP_FAST_FMAF): Likewise.
29379 (FP_FAST_FMAL): Likewise.
29380 * sysdeps/x86_64/bits/mathdef.h: Likewise.
29381
29382 * bits/mathdef.h: Update copyright year.
29383 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29384
d2050124
MM
293852010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
29386
29387 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
29388 builtins, define the macros in the C99 standard.
29389 (FP_FAST_FMAF): Likewise.
29390 (FP_FAST_FMAL): Likewise.
29391 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
29392 multiply/add.
29393 (FP_FAST_FMAF): Likewise.
29394
475facd1
JJ
293952010-10-15 Jakub Jelinek <jakub@redhat.com>
29396
29397 [BZ #3268]
29398 * math/libm-test.inc (fma_test): Some new testcases.
29399 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
29400 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
29401 y and infinite z. Do multiplication by C already in long double.
29402 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
29403 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
29404 y and infinite z. Do bitwise or of inexact bit into u.d.
29405 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
29406 * sysdeps/i386/fpu/s_fmaf.S: Removed.
29407 * sysdeps/i386/fpu/s_fma.S: Removed.
29408 * sysdeps/i386/fpu/s_fmal.S: Removed.
29409
7c08a05c
JJ
294102010-10-16 Jakub Jelinek <jakub@redhat.com>
29411
29412 [BZ #3268]
29413 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
29414 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
29415 computation is not scheduled after fetestexcept. Fix value
29416 of minimum denormal long double.
29417
f3f7372d
JJ
294182010-10-14 Jakub Jelinek <jakub@redhat.com>
29419
29420 [BZ #3268]
29421 * math/libm-test.inc (fma_test): Add some more tests.
29422 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
29423 correctly.
29424
14d43591
AS
294252010-10-15 Andreas Schwab <schwab@redhat.com>
29426
29427 * scripts/data/localplt-s390-linux-gnu.data: New file.
29428 * scripts/data/localplt-s390x-linux-gnu.data: New file.
29429
5e908464
JJ
294302010-10-13 Jakub Jelinek <jakub@redhat.com>
29431
29432 [BZ #3268]
29433 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
29434 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
29435 instead of dbl-64.
29436 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
29437 inlines.
29438 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
29439 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
29440 if one of x and y is very large and the other is subnormal.
29441 * sysdeps/s390/fpu/s_fmaf.c: New file.
29442 * sysdeps/s390/fpu/s_fma.c: New file.
29443 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
29444 * sysdeps/powerpc/fpu/s_fma.S: New file.
29445 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
29446 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
29447 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
29448
294492010-10-12 Jakub Jelinek <jakub@redhat.com>
29450
29451 [BZ #3268]
29452 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
29453 fma tests.
29454 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
29455 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
29456 * sysdeps/i386/i686/multiarch/s_fma.c: Include
29457 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
29458 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
29459 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
29460 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
29461
b833d51f
UD
294622010-10-12 Ulrich Drepper <drepper@redhat.com>
29463
29464 [BZ #12078]
29465 * posix/regcomp.c (parse_branch): One more memory leak plugged.
29466 * posix/bug-regex31.input: Add test case.
29467
1751705d
UD
294682010-10-11 Ulrich Drepper <drepper@gmail.com>
29469
e9b9cbf5
UD
29470 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
29471 * posix/bug-regex31.input: New file.
29472
29473 [BZ #12078]
29474 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
29475 (parse_sub_exp): Fix last change, use postorder.
29476
ef06edbe
UD
29477 * posix/bug-regex31.c: New file.
29478 * posix/Makefile: Add rules to build and run bug-regex31.
29479
a129c80d
UD
29480 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
29481
29482 [BZ #12078]
29483 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
29484
b76b818e
UD
29485 [BZ #12108]
29486 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
29487 to have entries in sys_siglist.
29488
1751705d
UD
29489 [BZ #12093]
29490 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
29491 be NULL.
29492
9ff8d36f
JJ
294932010-10-07 Jakub Jelinek <jakub@redhat.com>
29494
29495 [BZ #3268]
29496 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
29497 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
29498 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
29499 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
29500 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29501 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
29502 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
29503 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
29504 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
29505 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
29506 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
29507 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
29508 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29509 * math/ftestexcept.c (fetestexcept): Likewise.
29510 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
29511 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
29512 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
29513 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
29514 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
29515 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
29516 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29517
af325969
UD
295182010-10-11 Ulrich Drepper <drepper@gmail.com>
29519
c579b202 29520 [BZ #12107]
af325969
UD
29521 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
29522 newline.
29523
67a67b95
UD
295242010-10-06 Ulrich Drepper <drepper@gmail.com>
29525
29526 * string/bug-strstr1.c: New file.
29527 * string/Makefile: Add rules to build and run bug-strstr1.
29528
5fb308bc
EB
295292010-10-05 Eric Blake <eblake@redhat.com>
29530
29531 [BZ #12092]
29532 * string/str-two-way.h (two_way_long_needle): Always clear memory
29533 when skipping input due to the shift table.
29534
45db99c7
UD
295352010-10-03 Ulrich Drepper <drepper@gmail.com>
29536
3b111893
UD
29537 [BZ #12005]
29538 * malloc/mcheck.c: Handle large requests.
29539
45db99c7
UD
29540 [BZ #12077]
29541 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
29542 for strncmp and strncasecmp.
29543 * string/stratcliff.c: Add tests for strcmp and strncmp.
29544 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
29545
cf7a1eb8
NI
295462010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29547
29548 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
29549 __set_fpscr.
29550
6484ba5e
AJ
295512010-09-30 Andreas Jaeger <aj@suse.de>
29552
29553 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
29554 (CGROUP_SUPER_MAGIC): Define.
29555 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29556 Handle btrfs and cgroup file systems.
29557 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29558 Likewise.
29559
91c42559
LM
295602010-09-27 Luis Machado <luisgpm@br.ibm.com>
29561
29562 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
29563 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
29564
87a97932
AK
295652010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29566
29567 [BZ #12067]
29568 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
29569 trying to locate the ELF header.
29570
c21cc9bc
AS
295712010-09-27 Andreas Schwab <schwab@redhat.com>
29572
29573 [BZ #11611]
29574 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
29575 Mask out sign-bit copies when constructing f_fsid.
29576
315970f6
PB
295772010-09-24 Petr Baudis <pasky@suse.cz>
29578
29579 * debug/stack_chk_fail_local.c: Add missing licence exception.
29580 * debug/warning-nop.c: Likewise.
29581
1ac7a2c7
JM
295822010-09-15 Joseph Myers <joseph@codesourcery.com>
29583
29584 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
29585 implementing getdents64 using getdents syscall, set d_type if
29586 __ASSUME_GETDENTS32_D_TYPE.
29587
56801c50
AS
295882010-09-16 Andreas Schwab <schwab@redhat.com>
29589
29590 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
29591 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
29592
dda51327
UD
295932010-09-21 Ulrich Drepper <drepper@redhat.com>
29594
29595 [BZ #12037]
29596 * posix/unistd.h: Undo change of feature selection for ftruncate from
29597 2010-01-11.
29598
8ffcee4a
UD
295992010-09-20 Ulrich Drepper <drepper@redhat.com>
29600
a545ecd9 29601 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
29602 detection.
29603
e24f0a8b
AS
296042010-09-20 Andreas Schwab <schwab@redhat.com>
29605
29606 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
29607 fanotify_mark.
29608 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
29609
7291c56f
AS
296102010-09-14 Andreas Schwab <schwab@redhat.com>
29611
29612 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
29613 variables after CHECK_SP call.
29614 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
29615
bc5fb037
AS
296162010-09-13 Andreas Schwab <schwab@redhat.com>
29617 Ulrich Drepper <drepper@redhat.com>
29618
29619 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
29620 re-relocationg ld.so.
29621 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
29622 _dl_init_paths call.
29623 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
29624 here anymore.
29625
e66e7419
UD
296262010-09-14 Ulrich Drepper <drepper@redhat.com>
29627
29628 * resolv/res_init.c (__res_vinit): Count the default server we added.
29629
c044aa75
CLT
296302010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
29631 Ulrich Drepper <drepper@redhat.com>
29632
29633 [BZ #11968]
29634 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29635 (____longjmp_chk): Use %ebx for saving value across system call.
29636 Add unwind info.
29637
32cf4069
AS
296382010-09-06 Andreas Schwab <schwab@redhat.com>
29639
29640 * manual/Makefile: Don't mix pattern rules with normal rules.
29641
817328ee
AS
296422010-09-05 Andreas Schwab <schwab@linux-m68k.org>
29643
29644 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
29645 operation.
29646 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
29647 * libio/iofopncook.c (_IO_cookie_init): Likewise.
29648 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
29649 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
29650 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29651 Likewise.
29652
29fddf61
UD
296532010-09-04 Ulrich Drepper <drepper@redhat.com>
29654
29655 [BZ #11979]
29656 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
29657 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
29658
0959ffc9
UD
296592010-09-02 Ulrich Drepper <drepper@redhat.com>
29660
29661 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
29662 * sysdeps/x86_64/addmul_1.S: Likewise.
29663 * sysdeps/x86_64/lshift.S: Likewise.
29664 * sysdeps/x86_64/mul_1.S: Likewise.
29665 * sysdeps/x86_64/rshift.S: Likewise.
29666 * sysdeps/x86_64/sub_n.S: Likewise.
29667 * sysdeps/x86_64/submul_1.S: Likewise.
29668
ece29840
ST
296692010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
29670
0959ffc9
UD
29671 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
29672 Define __sched_param instead of SCHED_* and sched_param when
ece29840 29673 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 29674 * bits/sched.h [__need_schedparam]
ece29840 29675 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
29676 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
29677 (__defined_schedparam): Define to 1.
ece29840
ST
29678 (__sched_param): New structure, identical to sched_param.
29679 (__need_schedparam): Undefine.
29680
e53a31fe
MF
296812010-08-31 Mike Frysinger <vapier@gentoo.org>
29682
fdc0c10d
MF
29683 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
29684 (epoll_create1): Declare.
29685
e53a31fe
MF
29686 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
29687
a726d796
AS
296882010-08-31 Andreas Schwab <schwab@redhat.com>
29689
29690 [BZ #7066]
29691 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
29692 shifting retval into place.
29693
2f3e3dc7
UD
296942010-09-01 Ulrich Drepper <drepper@redhat.com>
29695
f2933da9
UD
29696 * nis/rpcsvc/nis.h: Update copyright notice.
29697 * nis/rpcsvc/nis.x: Likewise.
29698 * nis/rpcsvc/nis_callback.h: Likewise.
29699 * nis/rpcsvc/nis_callback.x: Likewise.
29700 * nis/rpcsvc/nis_object.x: Likewise.
29701 * nis/rpcsvc/nis_tags.h: Likewise.
29702 * nis/rpcsvc/yp.h: Likewise.
29703 * nis/rpcsvc/yp.x: Likewise.
29704 * nis/rpcsvc/ypupd.h: Likewise.
29705 * nis/yp_xdr.c: Likewise.
29706 * nis/ypupdate_xdr.c: Likewise.
29707
2f3e3dc7
UD
29708 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
29709 mainly the body of pmap_getport. Add parameters to specify timeouts.
29710 (pmap_getport): Use __libc_rpc_getport.
29711 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
29712 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
29713 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
29714
f3dcc2f9
AS
297152010-08-31 Andreas Schwab <schwab@linux-m68k.org>
29716
29717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
29718 fanotify_mark.
29719
6d34eb5b
RM
297202010-08-27 Roland McGrath <roland@redhat.com>
29721
29722 * sysdeps/i386/i686/multiarch/Makefile
29723 (CFLAGS-varshift.c): New variable.
29724
9ea3de11
UD
297252010-08-27 Ulrich Drepper <drepper@redhat.com>
29726
c96d23fc
UD
29727 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
29728 * sysdeps/i386/i686/multiarch/varshift.c: New file.
29729
9ea3de11
UD
29730 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
29731
29732 * sysdeps/x86_64/strlen.S: Minimal code improvement.
29733
623aac7f
L
297342010-08-26 H.J. Lu <hongjiu.lu@intel.com>
29735
29736 * sysdeps/x86_64/strlen.S: Unroll the loop.
29737 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29738 strlen-sse2 strlen-sse2-bsf.
29739 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
29740 __strlen_no_bsf if bit_Slow_BSF is set.
29741 (__strlen_sse42): Removed.
29742 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
29743 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
29744
8b2b7715
RM
297452010-08-25 Roland McGrath <roland@redhat.com>
29746
29747 * sysdeps/x86_64/multiarch/varshift.S: File removed.
29748 * sysdeps/x86_64/multiarch/varshift.c: New file.
29749 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
29750 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
29751 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
29752 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29753
e73015f2
L
297542010-08-25 H.J. Lu <hongjiu.lu@intel.com>
29755
29756 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29757 strlen-sse2 strlen-sse2-bsf.
29758 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
29759 __strlen_sse2_bsf if bit_Slow_BSF is unset.
29760 (__strlen_sse2): Removed.
29761 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
29762 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
29763 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29764 bit_Slow_BSF for Atom.
29765 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
29766 (index_Slow_BSF): Define.
29767 (HAS_SLOW_BSF): Define.
29768
df24a73e
UD
297692010-08-25 Ulrich Drepper <drepper@redhat.com>
29770
29771 [BZ #10851]
29772 * resolv/res_init.c (__res_vinit): When no server address at all
29773 is given default to loopback.
29774
f2ac4868
RM
297752010-08-24 Roland McGrath <roland@redhat.com>
29776
09055553
RM
29777 * configure.in: Remove config-name.h generation.
29778 * configure: Regenerated.
29779 * config-name.in: File removed.
29780 * scripts/config-uname.sh: New file.
29781 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
29782 ($(objdir)config-name.h): New target.
29783
f2ac4868
RM
29784 * sunrpc/rpc_parse.h: Avoid nested comment.
29785
73f27d5e
RH
297862010-08-24 Richard Henderson <rth@redhat.com>
29787 Ulrich Drepper <drepper@redhat.com>
29788 H.J. Lu <hongjiu.lu@intel.com>
29789
29790 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
29791 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
29792 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
29793 Replace _mm_srli_si128 with __m128i_shift_right. Replace
29794 _mm_alignr_epi8 with _mm_loadu_si128.
29795 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
29796 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
29797 (__m128i_shift_right): Removed.
29798 * sysdeps/i386/i686/multiarch/varshift.h: New file.
29799 * sysdeps/i386/i686/multiarch/varshift.S: New file.
29800 * sysdeps/x86_64/multiarch/varshift.h: New file.
29801 * sysdeps/x86_64/multiarch/varshift.S: New file.
29802
84b9230c
MF
298032010-08-21 Mike Frysinger <vapier@gentoo.org>
29804
29805 * configure.in: Move assembler checks to before sysdep dir checking.
29806
9bbd0ddc
PB
298072010-08-20 Petr Baudis <pasky@suse.cz>
29808
29809 * LICENSES: Sync the sunrpc license.
29810
9da4bb31
UD
298112010-08-19 Ulrich Drepper <drepper@redhat.com>
29812
a7ab6ec8
UD
29813 * sunrpc/auth_des.c: Update copyright notice once again.
29814 * sunrpc/auth_none.c: Likewise.
29815 * sunrpc/auth_unix.c: Likewise.
29816 * sunrpc/authdes_prot.c: Likewise.
29817 * sunrpc/authuxprot.c: Likewise.
29818 * sunrpc/bindrsvprt.c: Likewise.
29819 * sunrpc/clnt_gen.c: Likewise.
29820 * sunrpc/clnt_perr.c: Likewise.
29821 * sunrpc/clnt_raw.c: Likewise.
29822 * sunrpc/clnt_simp.c: Likewise.
29823 * sunrpc/clnt_tcp.c: Likewise.
29824 * sunrpc/clnt_udp.c: Likewise.
29825 * sunrpc/clnt_unix.c: Likewise.
29826 * sunrpc/des_crypt.c: Likewise.
29827 * sunrpc/des_soft.c: Likewise.
29828 * sunrpc/get_myaddr.c: Likewise.
29829 * sunrpc/getrpcport.c: Likewise.
29830 * sunrpc/key_call.c: Likewise.
29831 * sunrpc/key_prot.c: Likewise.
29832 * sunrpc/openchild.c: Likewise.
29833 * sunrpc/pm_getmaps.c: Likewise.
29834 * sunrpc/pm_getport.c: Likewise.
29835 * sunrpc/pmap_clnt.c: Likewise.
29836 * sunrpc/pmap_prot.c: Likewise.
29837 * sunrpc/pmap_prot2.c: Likewise.
29838 * sunrpc/pmap_rmt.c: Likewise.
29839 * sunrpc/rpc/auth.h: Likewise.
29840 * sunrpc/rpc/auth_unix.h: Likewise.
29841 * sunrpc/rpc/clnt.h: Likewise.
29842 * sunrpc/rpc/des_crypt.h: Likewise.
29843 * sunrpc/rpc/key_prot.h: Likewise.
29844 * sunrpc/rpc/netdb.h: Likewise.
29845 * sunrpc/rpc/pmap_clnt.h: Likewise.
29846 * sunrpc/rpc/pmap_prot.h: Likewise.
29847 * sunrpc/rpc/pmap_rmt.h: Likewise.
29848 * sunrpc/rpc/rpc.h: Likewise.
29849 * sunrpc/rpc/rpc_des.h: Likewise.
29850 * sunrpc/rpc/rpc_msg.h: Likewise.
29851 * sunrpc/rpc/svc.h: Likewise.
29852 * sunrpc/rpc/svc_auth.h: Likewise.
29853 * sunrpc/rpc/types.h: Likewise.
29854 * sunrpc/rpc/xdr.h: Likewise.
29855 * sunrpc/rpc_clntout.c: Likewise.
29856 * sunrpc/rpc_cmsg.c: Likewise.
29857 * sunrpc/rpc_common.c: Likewise.
29858 * sunrpc/rpc_cout.c: Likewise.
29859 * sunrpc/rpc_dtable.c: Likewise.
29860 * sunrpc/rpc_hout.c: Likewise.
29861 * sunrpc/rpc_main.c: Likewise.
29862 * sunrpc/rpc_parse.c: Likewise.
29863 * sunrpc/rpc_parse.h: Likewise.
29864 * sunrpc/rpc_prot.c: Likewise.
29865 * sunrpc/rpc_sample.c: Likewise.
29866 * sunrpc/rpc_scan.c: Likewise.
29867 * sunrpc/rpc_scan.h: Likewise.
29868 * sunrpc/rpc_svcout.c: Likewise.
29869 * sunrpc/rpc_tblout.c: Likewise.
29870 * sunrpc/rpc_util.c: Likewise.
29871 * sunrpc/rpc_util.h: Likewise.
29872 * sunrpc/rpcinfo.c: Likewise.
29873 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
29874 * sunrpc/rpcsvc/key_prot.x: Likewise.
29875 * sunrpc/rpcsvc/klm_prot.x: Likewise.
29876 * sunrpc/rpcsvc/mount.x: Likewise.
29877 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
29878 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
29879 * sunrpc/rpcsvc/rex.x: Likewise.
29880 * sunrpc/rpcsvc/rstat.x: Likewise.
29881 * sunrpc/rpcsvc/rusers.x: Likewise.
29882 * sunrpc/rpcsvc/sm_inter.x: Likewise.
29883 * sunrpc/rpcsvc/spray.x: Likewise.
29884 * sunrpc/rpcsvc/yppasswd.x: Likewise.
29885 * sunrpc/rtime.c: Likewise.
29886 * sunrpc/svc.c: Likewise.
29887 * sunrpc/svc_auth.c: Likewise.
29888 * sunrpc/svc_authux.c: Likewise.
29889 * sunrpc/svc_raw.c: Likewise.
29890 * sunrpc/svc_run.c: Likewise.
29891 * sunrpc/svc_simple.c: Likewise.
29892 * sunrpc/svc_tcp.c: Likewise.
29893 * sunrpc/svc_udp.c: Likewise.
29894 * sunrpc/svc_unix.c: Likewise.
29895 * sunrpc/svcauth_des.c: Likewise.
29896 * sunrpc/xcrypt.c: Likewise.
29897 * sunrpc/xdr.c: Likewise.
29898 * sunrpc/xdr_array.c: Likewise.
29899 * sunrpc/xdr_float.c: Likewise.
29900 * sunrpc/xdr_mem.c: Likewise.
29901 * sunrpc/xdr_rec.c: Likewise.
29902 * sunrpc/xdr_ref.c: Likewise.
29903 * sunrpc/xdr_sizeof.c: Likewise.
29904 * sunrpc/xdr_stdio.c: Likewise.
29905
9da4bb31
UD
29906 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
29907 handling.
29908
bdaa77bc
AS
299092010-08-19 Andreas Schwab <schwab@redhat.com>
29910
29911 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
29912
fe2f79db
LM
299132010-08-19 Luis Machado <luisgpm@br.ibm.com>
29914
29915 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
29916 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
29917 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
29918 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
29919 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
29920 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
29921 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
29922 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
29923 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
29924 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
29925 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
29926 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
29927 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
29928 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
29929
b9b42ee0
AB
299302010-07-26 Anton Blanchard <anton@samba.org>
29931
29932 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
29933 * malloc/arena.c (heap_trim): Likewise.
29934
1c06ba31
UD
299352010-08-16 Ulrich Drepper <drepper@redhat.com>
29936
29937 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
29938 here. Not...
29939 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
29940 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
29941
f8392f40
L
299422010-08-12 H.J. Lu <hongjiu.lu@intel.com>
29943
29944 * sysdeps/i386/elf/Makefile: New file.
29945
3162f12e
AS
299462010-08-14 Andreas Schwab <schwab@linux-m68k.org>
29947
29948 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
29949 from fanotify_init.
29950 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
29951 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
29952
28c90b2c
UD
299532010-08-15 Ulrich Drepper <drepper@redhat.com>
29954
29955 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
29956 of strncasecmp_l.
1feccb6c 29957 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 29958
ca6bb004
UD
299592010-08-14 Ulrich Drepper <drepper@redhat.com>
29960
e9f82e0d
UD
29961 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
29962 strncase_l-nonascii.
29963 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
29964 Add strncase_l-ssse3.
29965 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
29966 * sysdeps/x86_64/strcmp.S: Likewise.
29967 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
29968 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
29969 * sysdeps/x86_64/strncase.S: New file.
29970 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
29971 * sysdeps/x86_64/strncase_l.S: New file.
29972 * string/Makefile (strop-tests): Add strncasecmp.
29973 * string/test-strncasecmp.c: New file.
29974
29975 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
29976 warning.
29977
ca6bb004
UD
29978 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
29979 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
29980
052fa7b3
AS
299812010-08-14 Andreas Schwab <schwab@linux-m68k.org>
29982
29983 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
29984
962dba78
UD
299852010-08-12 Ulrich Drepper <drepper@redhat.com>
29986
29987 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
29988 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
29989 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
29990
bebff237
AM
299912010-05-01 Alan Modra <amodra@gmail.com>
29992
29993 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
29994 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
29995 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
29996 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
29997 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
29998 tidying. Don't tail-call __sigjmp_save for static lib.
29999 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
30000 save location.
30001 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
30002 (CALL_MCOUNT): Add eh info, and nop after bl.
30003 (TAIL_CALL_SYSCALL_ERROR): New macro.
30004 (PSEUDO_RET): Use it.
30005 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30006 Correct save location of integer regs and cr.
30007 (_dl_profile_resolve): Correct cr save location. Delete nops
30008 after bl when SHARED. Reduce cfi size a little by better
30009 placement of cfi directives.
30010 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
30011 make a stack frame. Instead use parm save area as a temp.
30012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
30013 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
30014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30015 Don't make a stack frame for parent, use parm save area.
30016 Increase child stack frame to 112 bytes. Don't save unused reg,
30017 and adjust reg usage. Set up cfi on error recovery and
30018 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
30019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30020 (__makecontext): Add dummy nop after jump to exit.
30021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
30022 Use correct parm save area and cr save, reduce stack frame.
30023 Correct cfi for possible PSEUDO_RET frame setup.
30024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
30025 Branch to local label emitted by PSEUDO_RET rather than
30026 __syscall_error.
30027
02637374
AS
300282010-08-12 Andreas Schwab <schwab@redhat.com>
30029
30030 [BZ #11904]
30031 * locale/programs/locale.c (print_assignment): New function.
30032 (show_locale_vars): Use it.
30033
c3e2f19b
UD
300342010-08-11 Ulrich Drepper <drepper@redhat.com>
30035
3cdaa6ad
UD
30036 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
30037 field.
30038 (struct statfs64): Likewise.
30039 (_STATFS_F_FLAGS): Define.
30040 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
30041 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30042 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
30043 (ST_VALID): Define locally.
30044 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
30045 __statvfs_getflags, use the provided value.
30046 * sysdeps/unix/sysv/linux/kernel-features.h: Define
30047 __ASSUME_STATFS_F_FLAGS.
30048
754f7da3
UD
30049 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
30050
10b3bedc
UD
30051 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
30052 Add sys/fanotify.h.
30053 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
30054 fanotify_mask for GLIBC_2.13.
30055 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
30056 fanotify_init and fanotify_mark.
30057 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30058 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
30059
c08fb0d7
UD
30060 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
30061 Add prlimit.
30062 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
30063 prlimit64 for GLIBC_2.13.
30064 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
30065 prlimit64.
30066 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
30067 syscall.
30068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
30069 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30070 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
30071 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
30072 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
30073 add prlimit alias.
30074 * sysdeps/unix/sysv/linux/prlimit.c: New file.
30075
15bac72b
UD
30076 [BZ #11903]
30077 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
30078 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
30079
c3e2f19b
UD
30080 * nss/Makefile: Add rules to build and run tst-nss-test1.
30081 * shlib-versions: Add entry for libnss_test1.
30082 * nss/nss_test1.c: New file.
30083 * nss/tst-nss-test1.c: New file.
30084
30085 * nss/nsswitch.c (__nss_database_custom): Define new variable.
30086 (__nss_configure_lookup): Set appropriate entry in
30087 __nss_configure_lookup to true.
30088 * nss/nsswitch.h: Define enum with indeces of databases in
30089 databases and __nss_database_custom arrays. Declare
30090 __nss_database_custom.
30091 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
30092 to avoid using nscd when custom rules are installed.
30093 * nss/getXXbyYY_r.c: Likewise.
30094 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30095
30096 * nss/nss_files/files-parse.c: Whitespace fixes.
30097
f15ce4d8
UD
300982010-08-09 Ulrich Drepper <drepper@redhat.com>
30099
30100 [BZ #11883]
30101 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
30102 * posix/fnmatch_loop.c: Likewise.
30103
d22e4cc9
AK
301042010-07-17 Andi Kleen <ak@linux.intel.com>
30105
30106 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
30107 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
30108 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
30109 * Versions.def [GLIBC_2.13]: Add.
30110
805bc17d
UD
301112010-08-06 Ulrich Drepper <drepper@redhat.com>
30112
30113 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30114 Also fail if tpwd after pwuid call is NULL.
30115
5a42321d
ST
301162010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
30117
30118 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
30119 when converting to ms.
30120
fd3ebeda
ST
301212010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30122
30123 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
30124 EOPNOTSUPP errors with ENOTTY.
30125 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
30126 EOPNOTSUPP errors with ENOTTY.
30127
73507d3a
UD
301282010-07-31 Ulrich Drepper <drepper@redhat.com>
30129
30130 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30131 Add strcasecmp_l-ssse3.
30132 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
30133 strcasecmp.
30134 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
30135 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
30136 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
30137
fe36dd02
UD
301382010-07-30 Ulrich Drepper <drepper@redhat.com>
30139
66f6765a
UD
30140 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
30141
42e08a54
UD
30142 * string/Makefile (strop-tests): Add strcasecmp.
30143 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30144 strcasecmp_l-nonascii.
30145 (gen-as-const-headers): Add locale-defines.sym.
30146 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
30147 * sysdeps/x86_64/strcasecmp.S: New file.
30148 * sysdeps/x86_64/strcasecmp_l.S: New file.
30149 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
30150 * sysdeps/x86_64/locale-defines.sym: New file.
30151 * string/test-strcasecmp.c: New file.
30152
fe36dd02
UD
30153 * string/test-strcasestr.c: Test both ends of the range of characters.
30154 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
30155
48cbc0d6
RM
301562010-07-29 Roland McGrath <roland@redhat.com>
30157
76e6d6bc 30158 [BZ #11856]
48cbc0d6
RM
30159 * manual/locale.texi (Yes-or-No Questions): Fix example code.
30160
880113d9
UD
301612010-07-27 Ulrich Drepper <drepper@redhat.com>
30162
30163 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
30164 for ld.so.
30165
deb9cabb
AS
301662010-07-27 Andreas Schwab <schwab@redhat.com>
30167
30168 * manual/memory.texi (Malloc Tunable Parameters): Document
30169 M_PERTURB.
30170
1c7570ff
RM
301712010-07-26 Roland McGrath <roland@redhat.com>
30172
30173 [BZ #11840]
30174 * configure.in (-fgnu89-inline check): Set and substitute
30175 gnu89_inline, not libc_cv_gnu89_inline.
30176 * configure: Regenerated.
30177 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
30178
24fb0f88
UD
301792010-07-26 Ulrich Drepper <drepper@redhat.com>
30180
30181 * string/test-strnlen.c: New file.
30182 * string/Makefile (strop-tests): Add strnlen.
30183 * string/tester.c (test_strnlen): Add a few more test cases.
30184 * string/tst-strlen.c: Better error reporting.
30185
30186 * sysdeps/x86_64/strnlen.S: New file.
30187
8e96b93a
UD
301882010-07-24 Ulrich Drepper <drepper@redhat.com>
30189
30190 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
30191 lower-latency instructions.
30192
dbc676d4
UD
301932010-07-23 Ulrich Drepper <drepper@redhat.com>
30194
30195 * string/test-strcasestr.c: New file.
30196 * string/test-strstr.c: New file.
30197 * string/Makefile (strop-tests): Add strstr and strcasestr.
30198 * string/str-two-way.h: Don't undefine MAX.
30199 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
30200
f6a31e0e
AS
302012010-07-21 Andreas Schwab <schwab@redhat.com>
30202
30203 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30204 strcasestr-nonascii.
30205 (CFLAGS-strcasestr-nonascii.c): Define.
30206 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
30207 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
30208 Remove unused attribute.
30209
5dbc3b6c
RM
302102010-07-20 Roland McGrath <roland@redhat.com>
30211
30212 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
30213 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
30214 ld.so.cache was broken. With it, there is no way to disable dsocaps
30215 like LD_HWCAP_MASK can disable hwcaps.
30216
23d101d8
EPM
302172010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30218
30219 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
30220
cc9f2e47
UD
302212010-07-16 Ulrich Drepper <drepper@redhat.com>
30222
30223 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
30224 call in strcasestr.
30225 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
30226 __strcasestr_sse42_nonascii.
30227 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
30228 strcasestr-nonascii.c.
30229 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
30230
77c1b069
LM
302312010-06-15 Luis Machado <luisgpm@br.ibm.com>
30232
30233 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
30234 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
30235 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
30236 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
30237
440566c3
UD
302382010-07-09 Ulrich Drepper <drepper@redhat.com>
30239
30240 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
30241 fcntl.
30242
5be9d05d
AS
302432010-07-06 Andreas Schwab <schwab@redhat.com>
30244
c30b7ee2 30245 [BZ #11577]
5be9d05d
AS
30246 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
30247 dl_signal_cerror.
30248
8a492a67
UD
302492010-07-06 Ulrich Drepper <drepper@redhat.com>
30250
30251 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
30252 _PC_PIPE_BUF using F_GETPIPE_SZ.
30253
713df3d5
RM
302542010-07-05 Roland McGrath <roland@redhat.com>
30255
30256 * manual/arith.texi (Rounding Functions): Fix rint description
30257 implicit in round description.
30258
702e8f14
UD
302592010-07-02 Ulrich Drepper <drepper@redhat.com>
30260
30261 * elf/Makefile: Fix linking for a few tests to make recent linker
30262 happy.
30263
52ed8be9
AS
302642010-06-30 Andreas Schwab <schwab@redhat.com>
30265
30266 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30267 $(common-objpfx)libc_nonshared.a.
30268
f47c9a11
LM
302692010-06-21 Luis Machado <luisgpm@br.ibm.com>
30270
30271 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
30272 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
30273 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30274 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30275 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
30276 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
30277 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30278 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
30280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
30281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
30282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
30284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
30286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
30287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
30288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
30289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
30291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
30293 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
30294 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
30295 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
30296 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
30297 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
30298 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
30299 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
30300 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
30301 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
30302 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
30303 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
30304 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
30305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
30306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
30307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
30308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
30309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
30310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
30311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
30312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
30313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
30314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
30315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
30316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
30317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
30318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
30319
6fb8cbcb
L
303202010-06-25 H.J. Lu <hongjiu.lu@intel.com>
30321
30322 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
30323 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
30324 * string/memmove.c (memmove): Renamed to ...
30325 (MEMMOVE): ...this. Default to memmove.
30326 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
30327 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
30328 (END_CHK): Define.
30329 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30330 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
30331 mempcpy-ssse3-back memmove-ssse3-back.
30332 * sysdeps/x86_64/multiarch/bcopy.S: New file .
30333 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
30334 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
30335 * sysdeps/x86_64/multiarch/memcpy.S: New file.
30336 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
30337 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
30338 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
30339 * sysdeps/x86_64/multiarch/memmove.c: New file.
30340 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
30341 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
30342 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
30343 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
30344 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
30345 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
30346 Define.
30347 (index_Fast_Copy_Backward): Define.
30348 (HAS_ARCH_FEATURE): Define.
30349 (HAS_FAST_REP_STRING): Define.
30350 (HAS_FAST_COPY_BACKWARD): Define.
30351
4e733bac 303522010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
30353
30354 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30355 Restore proper fallback handling.
30356
63c4ed22
UD
303572010-06-19 Ulrich Drepper <drepper@redhat.com>
30358
ac2b484c
UD
30359 [BZ #11701]
30360 * posix/group_member.c (__group_member): Correct checking loop.
30361
63c4ed22
UD
30362 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
30363 OOM in getpwuid_r correctly. Return error number when the caller
30364 should return, otherwise -1.
30365 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
30366 call returning > 0 value.
30367 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
30368
765ade4b
AS
303692010-06-07 Andreas Schwab <schwab@redhat.com>
30370
30371 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
30372 libc_nonshared.a from targets in modules-names.
30373
80da2e09
KS
303742010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
30375
30376 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
30377 requires it.
30378
158db122
LM
303792010-06-10 Luis Machado <luisgpm@br.ibm.com>
30380
30381 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
30382 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
30383 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
30384 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
30385
caa78cf8
AS
303862010-06-02 Andreas Schwab <schwab@redhat.com>
30387
30388 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
30389
b2ef2c01
UD
303902010-06-14 Ulrich Drepper <drepper@redhat.com>
30391
30392 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
30393 and F_GETPIPE_SZ.
30394 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30395 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30396 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30397 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30398 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30399 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
30400
fbd643b6
RM
304012010-06-14 Roland McGrath <roland@redhat.com>
30402
30403 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
30404
f32f2869
JJ
304052010-06-07 Jakub Jelinek <jakub@redhat.com>
30406
30407 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
30408 __REDIRECT followed by __THROW.
30409 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
30410 * posix/getopt.h (getopt): Likewise.
30411
2a50c078
EPM
304122010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30413
30414 * hurd/lookup-at.c (__file_name_lookup_at): Accept
30415 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
30416 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
30417 in AT_FLAGS.
30418 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
30419 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
30420
eb5ad2eb
LM
304212010-05-28 Luis Machado <luisgpm@br.ibm.com>
30422
30423 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
30424
3c88fe1e
L
304252010-05-26 H.J. Lu <hongjiu.lu@intel.com>
30426
30427 [BZ #11640]
30428 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30429 Properly check family and model.
30430
d2f73151
TY
304312010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
30432
30433 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
30434
ebd2e13d
LM
304352010-05-24 Luis Machado <luisgpm@br.ibm.com>
30436
30437 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
30438
b32b8b45
UD
304392010-05-21 Ulrich Drepper <drepper@redhat.com>
30440
30441 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
30442 symbol reference.
30443
9acbe24d
AS
304442010-05-19 Andreas Schwab <schwab@redhat.com>
30445
30446 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
30447 symbol reference.
30448
f0ccf6ea
AS
304492010-05-21 Andreas Schwab <schwab@redhat.com>
30450
3d04ff3a
AS
30451 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
30452 and internal_recvmmsg.
30453 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
30454 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
30455 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
30456 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
30457
f0ccf6ea
AS
30458 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
30459 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30460 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30461
5b08ac57
AS
304622010-05-20 Andreas Schwab <schwab@redhat.com>
30463
30464 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
30465
4828935d
LM
304662010-05-17 Luis Machado <luisgpm@br.ibm.com>
30467
30468 POWER7 optimizations.
30469 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
30470 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
30471
373d545e
UD
304722010-05-19 Ulrich Drepper <drepper@redhat.com>
30473
30474 * version.h: Update for 2.13 development version.
30475
21a2b1ae
AS
304762010-05-12 Andrew Stubbs <ams@codesourcery.com>
30477
30478 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
30479 exceptions. Return 0.
30480
3f7dcb2b
RM
304812010-05-07 Roland McGrath <roland@redhat.com>
30482
30483 * elf/ldconfig.c (main): Add a const.
30484
5f24d53a 304852010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 30486
a160f8d8
UD
30487 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
30488 (args_options): Add no-idn option.
30489 (ahosts_keys_int): Add idn_flags to ai_flags.
30490 (parse_option): Handle 'i' option to clear idn_flags.
30491
5f24d53a
UD
30492 * malloc/malloc.c (_int_free): Possible race in the most recently
30493 added check. Only act on the data if no current modification
30494 happened.
265bb1ce
UD
30495
30496See ChangeLog.17 for earlier changes.