]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
_dl_non_dynamic_init declaration cleanup.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
2b66ef5d
TS
12013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2
ec9dd97c
TS
3 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4 Don't declare.
5
2b66ef5d
TS
6 * manual/platform.texi: Add missing @end deftypefun.
7
4f8dfe27
JM
82013-05-24 Joseph Myers <joseph@codesourcery.com>
9
0323d086
JM
10 [BZ #15529]
11 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12 bit of mantissa of 2^16382.
13 * math/libm-test.inc (hypot_test_data): Add more tests.
14
dd4259b9
JM
15 * math/libm-test.inc: Add drem and pow10 to list of tested
16 functions.
17 (pow10_test): New function.
18 (drem_test): Likewise.
19 (drem_test_tonearest): Likewise.
20 (drem_test_towardzero): Likewise.
21 (drem_test_downward): Likewise.
22 (drem_test_upward): Likewise.
23 (main): Call the new functions.
24
4f8dfe27
JM
25 * math/libm-test.inc (finite_test_data): Remove.
26 (finite_test): Run tests from isfinite_test_data.
27 (gamma_test_data): Remove.
28 (gamma_test): Run tests from lgamma_test_data.
29 * sysdeps/i386/fpu/libm-test-ulps: Update.
30 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31
d116b7c4
AZ
322013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33
34 * manual/platform.texi: Add PowerPC PPR function set documentation.
35 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
36 implementation.
37
e96e3767
CD
382013-05-24 Carlos O'Donell <carlos@redhat.com>
39
40 * math/libm-test.inc (MAX_EXP): Define.
41 (ULPDIFF): Define.
42 (ulp): New function.
43 (check_float_internal): Use ULPDIFF.
44 (cpow_test): Disable failing test.
45 (check_ulp): Test ulp() implemetnation.
46 (main): Call check_ulp before starting tests.
47
b679a606
JM
482013-05-24 Joseph Myers <joseph@codesourcery.com>
49
e8bdba36
JM
50 * math/gen-libm-test.pl (generate_testfile): Do not handle
51 START_DATA and END_DATA.
52 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
53 END_DATA.
54 (acos_tonearest_test_data): Likewise.
55 (acos_towardzero_test_data): Likewise.
56 (acos_downward_test_data): Likewise.
57 (acos_upward_test_data): Likewise.
58 (acosh_test_data): Likewise.
59 (asin_test_data): Likewise.
60 (asin_tonearest_test_data): Likewise.
61 (asin_towardzero_test_data): Likewise.
62 (asin_downward_test_data): Likewise.
63 (asin_upward_test_data): Likewise.
64 (asinh_test_data): Likewise.
65 (atan_test_data): Likewise.
66 (atanh_test_data): Likewise.
67 (atan2_test_data): Likewise.
68 (cabs_test_data): Likewise.
69 (cacos_test_data): Likewise.
70 (cacosh_test_data): Likewise.
71 (carg_test_data): Likewise.
72 (casin_test_data): Likewise.
73 (casinh_test_data): Likewise.
74 (catan_test_data): Likewise.
75 (catanh_test_data): Likewise.
76 (cbrt_test_data): Likewise.
77 (ccos_test_data): Likewise.
78 (ccosh_test_data): Likewise.
79 (ceil_test_data): Likewise.
80 (cexp_test_data): Likewise.
81 (cimag_test_data): Likewise.
82 (clog_test_data): Likewise.
83 (clog10_test_data): Likewise.
84 (conj_test_data): Likewise.
85 (copysign_test_data): Likewise.
86 (cos_test_data): Likewise.
87 (cos_tonearest_test_data): Likewise.
88 (cos_towardzero_test_data): Likewise.
89 (cos_downward_test_data): Likewise.
90 (cos_upward_test_data): Likewise.
91 (cosh_test_data): Likewise.
92 (cosh_tonearest_test_data): Likewise.
93 (cosh_towardzero_test_data): Likewise.
94 (cosh_downward_test_data): Likewise.
95 (cosh_upward_test_data): Likewise.
96 (cpow_test_data): Likewise.
97 (cproj_test_data): Likewise.
98 (creal_test_data): Likewise.
99 (csin_test_data): Likewise.
100 (csinh_test_data): Likewise.
101 (csqrt_test_data): Likewise.
102 (ctan_test_data): Likewise.
103 (ctan_tonearest_test_data): Likewise.
104 (ctan_towardzero_test_data): Likewise.
105 (ctan_downward_test_data): Likewise.
106 (ctan_upward_test_data): Likewise.
107 (ctanh_test_data): Likewise.
108 (ctanh_tonearest_test_data): Likewise.
109 (ctanh_towardzero_test_data): Likewise.
110 (ctanh_downward_test_data): Likewise.
111 (ctanh_upward_test_data): Likewise.
112 (erf_test_data): Likewise.
113 (erfc_test_data): Likewise.
114 (exp_test_data): Likewise.
115 (exp_tonearest_test_data): Likewise.
116 (exp_towardzero_test_data): Likewise.
117 (exp_downward_test_data): Likewise.
118 (exp_upward_test_data): Likewise.
119 (exp10_test_data): Likewise.
120 (exp2_test_data): Likewise.
121 (expm1_test_data): Likewise.
122 (fabs_test_data): Likewise.
123 (fdim_test_data): Likewise.
124 (finite_test_data): Likewise.
125 (floor_test_data): Likewise.
126 (fma_test_data): Likewise.
127 (fma_towardzero_test_data): Likewise.
128 (fma_downward_test_data): Likewise.
129 (fma_upward_test_data): Likewise.
130 (fmax_test_data): Likewise.
131 (fmin_test_data): Likewise.
132 (fmod_test_data): Likewise.
133 (fpclassify_test_data): Likewise.
134 (frexp_test_data): Likewise.
135 (gamma_test_data): Likewise.
136 (hypot_test_data): Likewise.
137 (ilogb_test_data): Likewise.
138 (isfinite_test_data): Likewise.
139 (isgreater_test_data): Likewise.
140 (isgreaterequal_test_data): Likewise.
141 (isinf_test_data): Likewise.
142 (isless_test_data): Likewise.
143 (islessequal_test_data): Likewise.
144 (islessgreater_test_data): Likewise.
145 (isnan_test_data): Likewise.
146 (isnormal_test_data): Likewise.
147 (issignaling_test_data): Likewise.
148 (isunordered_test_data): Likewise.
149 (j0_test_data): Likewise.
150 (j1_test_data): Likewise.
151 (jn_test_data): Likewise.
152 (ldexp_test_data): Likewise.
153 (lgamma_test_data): Likewise.
154 (lrint_test_data): Likewise.
155 (lrint_tonearest_test_data): Likewise.
156 (lrint_towardzero_test_data): Likewise.
157 (lrint_downward_test_data): Likewise.
158 (lrint_upward_test_data): Likewise.
159 (llrint_test_data): Likewise.
160 (llrint_tonearest_test_data): Likewise.
161 (llrint_towardzero_test_data): Likewise.
162 (llrint_downward_test_data): Likewise.
163 (llrint_upward_test_data): Likewise.
164 (log_test_data): Likewise.
165 (log10_test_data): Likewise.
166 (log1p_test_data): Likewise.
167 (log2_test_data): Likewise.
168 (logb_test_data): Likewise.
169 (logb_downward_test_data): Likewise.
170 (lround_test_data): Likewise.
171 (llround_test_data): Likewise.
172 (modf_test_data): Likewise.
173 (nearbyint_test_data): Likewise.
174 (nextafter_test_data): Likewise.
175 (nexttoward_test_data): Likewise.
176 (pow_test_data): Likewise.
177 (pow_tonearest_test_data): Likewise.
178 (pow_towardzero_test_data): Likewise.
179 (pow_downward_test_data): Likewise.
180 (pow_upward_test_data): Likewise.
181 (remainder_test_data): Likewise.
182 (remainder_tonearest_test_data): Likewise.
183 (remainder_towardzero_test_data): Likewise.
184 (remainder_downward_test_data): Likewise.
185 (remainder_upward_test_data): Likewise.
186 (remquo_test_data): Likewise.
187 (rint_test_data): Likewise.
188 (rint_tonearest_test_data): Likewise.
189 (rint_towardzero_test_data): Likewise.
190 (rint_downward_test_data): Likewise.
191 (rint_upward_test_data): Likewise.
192 (round_test_data): Likewise.
193 (scalb_test_data): Likewise.
194 (scalbn_test_data): Likewise.
195 (scalbln_test_data): Likewise.
196 (signbit_test_data): Likewise.
197 (sin_test_data): Likewise.
198 (sin_tonearest_test_data): Likewise.
199 (sin_towardzero_test_data): Likewise.
200 (sin_downward_test_data): Likewise.
201 (sin_upward_test_data): Likewise.
202 (sincos_test_data): Likewise.
203 (sinh_test_data): Likewise.
204 (sinh_tonearest_test_data): Likewise.
205 (sinh_towardzero_test_data): Likewise.
206 (sinh_downward_test_data): Likewise.
207 (sinh_upward_test_data): Likewise.
208 (sqrt_test_data): Likewise.
209 (tan_test_data): Likewise.
210 (tan_tonearest_test_data): Likewise.
211 (tan_towardzero_test_data): Likewise.
212 (tan_downward_test_data): Likewise.
213 (tan_upward_test_data): Likewise.
214 (tanh_test_data): Likewise.
215 (tgamma_test_data): Likewise.
216 (trunc_test_data): Likewise.
217 (y0_test_data): Likewise.
218 (y1_test_data): Likewise.
219 (yn_test_data): Likewise.
220 (significand_test_data): Likewise.
221
b679a606
JM
222 * math/gen-libm-test.pl (@functions): Remove variable.
223 (generate_testfile): Don't handle START and END lines.
224 * math/libm-test.inc (START): New macro.
225 (END): Likewise.
226 (END_COMPLEX): Likewise.
227 (acos_test): Use END macro without arguments.
228 (acos_test_tonearest): Likewise.
229 (acos_test_towardzero): Likewise.
230 (acos_test_downward): Likewise.
231 (acos_test_upward): Likewise.
232 (acosh_test): Likewise.
233 (asin_test): Likewise.
234 (asin_test_tonearest): Likewise.
235 (asin_test_towardzero): Likewise.
236 (asin_test_downward): Likewise.
237 (asin_test_upward): Likewise.
238 (asinh_test): Likewise.
239 (atan_test): Likewise.
240 (atanh_test): Likewise.
241 (atan2_test): Likewise.
242 (cabs_test): Likewise.
243 (cacos_test): Use END_COMPLEX macro without arguments.
244 (cacosh_test): Likewise.
245 (carg_test): Use END macro without arguments.
246 (casin_test): Use END_COMPLEX macro without arguments.
247 (casinh_test): Likewise.
248 (catan_test): Likewise.
249 (catanh_test): Likewise.
250 (cbrt_test): Use END macro without arguments.
251 (ccos_test): Use END_COMPLEX macro without arguments.
252 (ccosh_test): Likewise.
253 (ceil_test): Use END macro without arguments.
254 (cexp_test): Use END_COMPLEX macro without arguments.
255 (cimag_test): Use END macro without arguments.
256 (clog_test): Use END_COMPLEX macro without arguments.
257 (clog10_test): Likewise.
258 (conj_test): Likewise.
259 (copysign_test): Use END macro without arguments.
260 (cos_test): Likewise.
261 (cos_test_tonearest): Likewise.
262 (cos_test_towardzero): Likewise.
263 (cos_test_downward): Likewise.
264 (cos_test_upward): Likewise.
265 (cosh_test): Likewise.
266 (cosh_test_tonearest): Likewise.
267 (cosh_test_towardzero): Likewise.
268 (cosh_test_downward): Likewise.
269 (cosh_test_upward): Likewise.
270 (cpow_test): Use END_COMPLEX macro without arguments.
271 (cproj_test): Likewise.
272 (creal_test): Use END macro without arguments.
273 (csin_test): Use END_COMPLEX macro without arguments.
274 (csinh_test): Likewise.
275 (csqrt_test): Likewise.
276 (ctan_test): Likewise.
277 (ctan_test_tonearest): Likewise.
278 (ctan_test_towardzero): Likewise.
279 (ctan_test_downward): Likewise.
280 (ctan_test_upward): Likewise.
281 (ctanh_test): Likewise.
282 (ctanh_test_tonearest): Likewise.
283 (ctanh_test_towardzero): Likewise.
284 (ctanh_test_downward): Likewise.
285 (ctanh_test_upward): Likewise.
286 (erf_test): Use END macro without arguments.
287 (erfc_test): Likewise.
288 (exp_test): Likewise.
289 (exp_test_tonearest): Likewise.
290 (exp_test_towardzero): Likewise.
291 (exp_test_downward): Likewise.
292 (exp_test_upward): Likewise.
293 (exp10_test): Likewise.
294 (exp2_test): Likewise.
295 (expm1_test): Likewise.
296 (fabs_test): Likewise.
297 (fdim_test): Likewise.
298 (finite_test): Likewise.
299 (floor_test): Likewise.
300 (fma_test): Likewise.
301 (fma_test_towardzero): Likewise.
302 (fma_test_downward): Likewise.
303 (fma_test_upward): Likewise.
304 (fmax_test): Likewise.
305 (fmin_test): Likewise.
306 (fmod_test): Likewise.
307 (fpclassify_test): Likewise.
308 (frexp_test): Likewise.
309 (gamma_test): Likewise.
310 (hypot_test): Likewise.
311 (ilogb_test): Likewise.
312 (isfinite_test): Likewise.
313 (isgreater_test): Likewise.
314 (isgreaterequal_test): Likewise.
315 (isinf_test): Likewise.
316 (isless_test): Likewise.
317 (islessequal_test): Likewise.
318 (islessgreater_test): Likewise.
319 (isnan_test): Likewise.
320 (isnormal_test): Likewise.
321 (issignaling_test): Likewise.
322 (isunordered_test): Likewise.
323 (j0_test): Likewise.
324 (j1_test): Likewise.
325 (jn_test): Likewise.
326 (ldexp_test): Likewise.
327 (lgamma_test): Likewise.
328 (lrint_test): Likewise.
329 (lrint_test_tonearest): Likewise.
330 (lrint_test_towardzero): Likewise.
331 (lrint_test_downward): Likewise.
332 (lrint_test_upward): Likewise.
333 (llrint_test): Likewise.
334 (llrint_test_tonearest): Likewise.
335 (llrint_test_towardzero): Likewise.
336 (llrint_test_downward): Likewise.
337 (llrint_test_upward): Likewise.
338 (log_test): Likewise.
339 (log10_test): Likewise.
340 (log1p_test): Likewise.
341 (log2_test): Likewise.
342 (logb_test): Likewise.
343 (logb_test_downward): Likewise.
344 (lround_test): Likewise.
345 (llround_test): Likewise.
346 (modf_test): Likewise.
347 (nearbyint_test): Likewise.
348 (nextafter_test): Likewise.
349 (nexttoward_test): Likewise.
350 (pow_test): Likewise.
351 (pow_test_tonearest): Likewise.
352 (pow_test_towardzero): Likewise.
353 (pow_test_downward): Likewise.
354 (pow_test_upward): Likewise.
355 (remainder_test): Likewise.
356 (remainder_test_tonearest): Likewise.
357 (remainder_test_towardzero): Likewise.
358 (remainder_test_downward): Likewise.
359 (remainder_test_upward): Likewise.
360 (remquo_test): Likewise.
361 (rint_test): Likewise.
362 (rint_test_tonearest): Likewise.
363 (rint_test_towardzero): Likewise.
364 (rint_test_downward): Likewise.
365 (rint_test_upward): Likewise.
366 (round_test): Likewise.
367 (scalb_test): Likewise.
368 (scalbn_test): Likewise.
369 (scalbln_test): Likewise.
370 (signbit_test): Likewise.
371 (sin_test): Likewise.
372 (sin_test_tonearest): Likewise.
373 (sin_test_towardzero): Likewise.
374 (sin_test_downward): Likewise.
375 (sin_test_upward): Likewise.
376 (sincos_test): Likewise.
377 (sinh_test): Likewise.
378 (sinh_test_tonearest): Likewise.
379 (sinh_test_towardzero): Likewise.
380 (sinh_test_downward): Likewise.
381 (sinh_test_upward): Likewise.
382 (sqrt_test): Likewise.
383 (tan_test): Likewise.
384 (tan_test_tonearest): Likewise.
385 (tan_test_towardzero): Likewise.
386 (tan_test_downward): Likewise.
387 (tan_test_upward): Likewise.
388 (tanh_test): Likewise.
389 (tgamma_test): Likewise.
390 (trunc_test): Likewise.
391 (y0_test): Likewise.
392 (y1_test): Likewise.
393 (yn_test): Likewise.
394 (significand_test): Likewise.
395
bae143d2
OB
3962013-05-24 Ondřej Bílka <neleai@seznam.cz>
397
398 [BZ #15381]
399 * libio/genops.c (_IO_no_init): Initialize wide struct info.
400
9323d39b
EM
4012013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
402
d4ea44a0 403 [BZ #14894]
9323d39b
EM
404 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
405 __ppc_mdoio and __ppc_mdoom.
406 * manual/platform.texi: Document new functions __ppc_yield,
407 __ppc_mdoio and __ppc_mdoom.
408
13e23af7
CD
4092013-05-22 Carlos O'Donell <carlos@redhat.com>
410
411 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
412 (main): Mention "tls" pseudo-hwcap is legacy.
413 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
414
351fe550
JM
4152013-05-22 Joseph Myers <joseph@codesourcery.com>
416
417 * math/gen-libm-test.pl (parse_args): Output only string of
418 arguments as text for test name, not full call or descriptions of
419 tests for extra outputs.
420 (generate_testfile): Do not pass function name to parse_args.
421 Generate this_func variable from START.
422 * math/libm-test.inc (struct test_f_f_data): Rename test_name
423 field to arg_str.
424 (struct test_ff_f_data): Likewise.
425 (test_ff_f_data_nexttoward): Likewise.
426 (struct test_fi_f_data): Likewise.
427 (struct test_fl_f_data): Likewise.
428 (struct test_if_f_data): Likewise.
429 (struct test_fff_f_data): Likewise.
430 (struct test_c_f_data): Likewise.
431 (struct test_f_f1_data): Likewise. Remove field extra_name.
432 (struct test_fF_f1_data): Likewise.
433 (struct test_ffI_f1_data): Likewise.
434 (struct test_c_c_data): Rename test_name field to arg_str.
435 (struct test_cc_c_data): Likewise.
436 (struct test_f_i_data): Likewise.
437 (struct test_ff_i_data): Likewise.
438 (struct test_f_l_data): Likewise.
439 (struct test_f_L_data): Likewise.
440 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
441 and extra2_name.
442 (COMMON_TEST_SETUP): New macro.
443 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
444 (COMMON_TEST_CLEANUP): Likewise.
445 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
446 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
447 macros.
448 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
449 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
450 macros.
451 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
452 (RUN_TEST_fff_f): Take argument string. Call new setup and
453 cleanup macros.
454 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
455 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
456 macros.
457 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
458 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
459 macros.
460 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
461 (RUN_TEST_fF_f1): Take argument string. Call new setup and
462 cleanup macros.
463 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
464 (RUN_TEST_fI_f1): Take argument string. Call new setup and
465 cleanup macros.
466 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
467 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
468 cleanup macros.
469 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
470 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
471 macros.
472 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
473 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
474 macros.
475 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
476 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
477 macros.
478 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
479 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
480 cleanup macros.
481 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
482 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
483 cleanup macros.
484 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
485 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
486 macros.
487 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
488 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
489 cleanup macros.
490 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
491 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
492 macros.
493 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
494 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
495 macros.
496 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
497 (RUN_TEST_fFF_11): Take argument string. Call new setup and
498 cleanup macros.
499 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
500
85118d4d
EBM
5012013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
502
503 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
504 to _sifields.sigfault.
505 (si_addr_lsb): Define new macro.
506 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
507 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
508 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
509
7a44c18f
CD
5102013-05-03 Carlos O'Donell <carlos at redhat.com>
511
512 [BZ #15441]
513 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
514 returns -1.
515 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
516 null return -1.
517 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
518 loading the domain.
519
b50a7181
JM
5202013-05-22 Joseph Myers <joseph@codesourcery.com>
521
522 * math/gen-libm-test.pl (parse_args): Do not include expected
523 result in test name.
524 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
525 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
526 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
527 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
528 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
530
051063c8
SP
5312013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
532
3ce9e010
SP
533 * benchtests/Makefile: Sort function entries.
534
051063c8
SP
535 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
536 tanh, asinh, acosh, atanh.
537 * benchtests/acos-inputs: New file.
538 * benchtests/acosh-inputs: New file.
539 * benchtests/asin-inputs: New file.
540 * benchtests/asinh-inputs: New file.
541 * benchtests/atanh-inputs: New file.
542 * benchtests/cosh-inputs: New file.
543 * benchtests/log-inputs: New file.
544 * benchtests/sinh-inputs: New file.
545 * benchtests/tanh-inputs: New file.
546
47c22455
DL
5472013-05-21 Dmitry V. Levin <ldv@altlinux.org>
548
549 [BZ #15339]
550 * posix/tst-getaddrinfo4.c: New test.
551 * posix/Makefile (tests): Add it.
552
3d04f5db
SP
5532013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
554
555 [BZ #15339]
556 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
557 when no services were used.
558 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
559 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
560
d5dd6189
AS
5612013-05-21 Andreas Schwab <schwab@suse.de>
562
563 [BZ #15014]
564 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
565 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
566 successful.
567 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
568 redundant variable declarations and reallocation of buffer when
569 parsing as IPv6 address. Always set NSS status when called from
570 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
571 buffer too small. Correct computation of needed size.
572 * nss/Makefile (tests): Add test-digits-dots.
573 * nss/test-digits-dots.c: New test.
574
fef94eab
SP
5752013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
576
577 * benchtests/Makefile: Remove instructions for adding
578 benchmark tests.
579 * benchtests/README: New file to explain how to execute and
580 enhance the benchmark tests.
581
e39adf43
AS
5822013-05-21 Andreas Schwab <schwab@suse.de>
583
584 [BZ #15493]
585 * setjmp/Makefile (tests): Add tst-sigsetjmp.
586 * setjmp/tst-sigsetjmp.c: New test.
587
b2b671b6
OB
5882013-05-20 Ondřej Bílka <neleai@seznam.cz>
589
590 * sysdeps/x86_64/memset.S (memset): New implementation.
591 (__bzero): Likewise.
592 (__memset_tail): New function.
593
2d48b41c
OB
5942013-05-20 Ondřej Bílka <neleai@seznam.cz>
595
596 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
597 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
598 __memcpy_sse2_unaligned ifunc selection.
599 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
600 Add memcpy-sse2-unaligned.S.
601 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
602 Add: __memcpy_sse2_unaligned.
603
f16cc3eb
JM
6042013-05-19 Joseph Myers <joseph@codesourcery.com>
605
3e694268
JM
606 [BZ #15490]
607 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
608 math_force_eval before restoring floating-point envrionment.
609 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
610 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
611 Likewise.
612 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
613 <math_private.h>.
614 (__nearbyintl): Use math_force_eval before restoring
615 floating-point environment.
616 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
617
db62a907
JM
618 * math/gen-libm-test.pl (special_functions): Remove.
619 (parse_args): Don't handle TEST_extra. Handle functions with no
620 return value.
621 * math/libm-test.inc (struct test_sincos_data): Replace with
622 struct test_fFF_11_data.
623 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
624 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
625 (sincos_test_data): Change element type to struct
626 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
627 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
628 RUN_TEST_LOOP_sincos.
629 * math/README.libm-test: Don't mention special handling of
630 individual functions.
631 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
632 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
633 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
634 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
635 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
637
f16cc3eb
JM
638 * math/gen-libm-test.pl (get_variable): Remove function.
639 (parse_args): Don't show pointer parameters to call in test
640 names. Use "extra output N" in test names for extra outputs
641 rather than naming variables.
642
3779b5b6
JM
6432013-05-18 Joseph Myers <joseph@codesourcery.com>
644
2ee094ff
JM
645 [BZ #15488]
646 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
647 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
648 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
649 double tests.
650 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
651 disable.
652 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
653 check_long_double.
654
3779b5b6
JM
655 * math/gen-libm-test.pl (@tests): Remove variable.
656 ($count): Likewise.
657 (new_test): Remove function.
658 (show_exceptions): New function.
659 (special_functions): Use show_exceptions instead of new_test.
660 (parse_args): Likewise.
661 (generate_testfile): Pass only function name in generated call to
662 print_max_error or print_complex_max_error.
663 (get_ulps): Do not handle complex tests specially.
664 (output_test): Rename to ...
665 (get_all_ulps_for_test): ... this. Return a string rather than
666 printing to a file. Require ulps to be present.
667 (output_ulps): Generate arrays rather than #defines.
668 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
669 (struct ulp_data): New type.
670 (BUILD_COMPLEX_ULP): Remove macro.
671 (compare_ulp_data): New function.
672 (find_ulps): Likewise.
673 (find_test_ulps): Likewise.
674 (find_function_ulps): Likewise.
675 (find_complex_function_ulps): Likewise.
676 (print_max_error): Determine allowed ulps using
677 find_function_ulps.
678 (print_complex_max_error): Determine allowed ulps using
679 find_complex_function_ulps.
680 (check_float_internal): Determine max ulps using find_test_ulps.
681 (check_float): Do not take max_ulp parameter. Update call to
682 check_float_internal.
683 (check_complex): Likewise.
684 (check_int): Do not take max_ulp parameter.
685 (check_long): Likewise.
686 (check_bool): Likewise.
687 (check_longlong): Likewise.
688 (struct test_f_f_data): Remove max_ulp field.
689 (struct test_ff_f_data): Likewise.
690 (struct test_ff_f_data_nexttoward): Likewise.
691 (struct test_fi_f_data): Likewise.
692 (struct test_fl_f_data): Likewise.
693 (struct test_if_f_data): Likewise.
694 (struct test_fff_f_data): Likewise.
695 (struct test_c_f_data): Likewise.
696 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
697 (struct test_fF_f1_data): Likewise.
698 (struct test_ffI_f1_data): Likewise.
699 (struct test_c_c_data): Remove max_ulp field.
700 (struct test_cc_c_data): Likewise.
701 (struct test_f_i_data): Likewise.
702 (struct test_ff_i_data): Likewise.
703 (struct test_f_l_data): Likewise.
704 (struct test_f_L_data): Likewise.
705 (struct test_sincos_data): Likewise.
706 (RUN_TEST_f_f): Do not handle ulps.
707 (RUN_TEST_LOOP_f_f): Likewise.
708 (RUN_TEST_2_f): Likewise.
709 (RUN_TEST_LOOP_2_f): Likewise.
710 (RUN_TEST_fff_f): Likewise.
711 (RUN_TEST_LOOP_fff_f): Likewise.
712 (RUN_TEST_c_f): Likewise.
713 (RUN_TEST_LOOP_c_f): Likewise.
714 (RUN_TEST_f_f1): Likewise.
715 (RUN_TEST_LOOP_f_f1): Likewise.
716 (RUN_TEST_fF_f1): Likewise.
717 (RUN_TEST_LOOP_fF_f1): Likewise.
718 (RUN_TEST_fI_f1): Likewise.
719 (RUN_TEST_LOOP_fI_f1): Likewise.
720 (RUN_TEST_ffI_f1): Likewise.
721 (RUN_TEST_LOOP_ffI_f1): Likewise.
722 (RUN_TEST_c_c): Likewise.
723 (RUN_TEST_LOOP_c_c): Likewise.
724 (RUN_TEST_cc_c): Likewise.
725 (RUN_TEST_LOOP_cc_c): Likewise.
726 (RUN_TEST_f_i): Likewise.
727 (RUN_TEST_LOOP_f_i): Likewise.
728 (RUN_TEST_f_i_tg): Likewise.
729 (RUN_TEST_LOOP_f_i_tg): Likewise.
730 (RUN_TEST_ff_i_tg): Likewise.
731 (RUN_TEST_LOOP_ff_i_tg): Likewise.
732 (RUN_TEST_f_b): Likewise.
733 (RUN_TEST_LOOP_f_b): Likewise.
734 (RUN_TEST_f_b_tg): Likewise.
735 (RUN_TEST_LOOP_f_b_tg): Likewise.
736 (RUN_TEST_f_l): Likewise.
737 (RUN_TEST_LOOP_f_l): Likewise.
738 (RUN_TEST_f_L): Likewise.
739 (RUN_TEST_LOOP_f_L): Likewise.
740 (RUN_TEST_sincos): Likewise.
741 (RUN_TEST_LOOP_sincos): Likewise.
742
8269107f
JM
7432013-05-17 Joseph Myers <joseph@codesourcery.com>
744
bb38759d
JM
745 [BZ #15480]
746 [BZ #15485]
747 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
748 main case of finite arguments, set rounding mode to FE_TONEAREST
749 and discard exceptions.
750 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
751 exceptions.
752 (remainder_tonearest_test_data): New variable.
753 (remainder_test_tonearest): New function.
754 (remainder_towardzero_test_data): New variable.
755 (remainder_test_towardzero): New function.
756 (remainder_downward_test_data): New variable.
757 (remainder_test_downward): New function.
758 (remainder_upward_test_data): New variable.
759 (remainder_test_upward): New function.
760 (main): Call the new test functions.
761
a00bdcf0
JM
762 * math/libm-test.inc (struct test_f_f1_data): Remove field
763 extra_init.
764 (struct test_fF_f1_data): Likewise.
765 (struct test_ffI_f1_data): Likewise.
766 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
767 based on value of EXTRA_EXPECTED.
768 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
769 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
770 EXTRA_VAR based on value of EXTRA_EXPECTED.
771 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
772 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
773 EXTRA_VAR based on value of EXTRA_EXPECTED.
774 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
775 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
776 EXTRA_VAR based on value of EXTRA_EXPECTED.
777 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
778 * math/gen-libm-test.pl (parse_args): Don't output initializers
779 for extra output values.
780
de407f79
JM
781 * math/libm-test.inc (check_int): Expect result to be exactly
782 equal to expected value and do not handle ulps.
783 (check_long): Likewise.
784 (check_longlong): Likewise.
785
8269107f
JM
786 * math/libm-test.inc (ceil_test_data): Test for "inexact"
787 exceptions.
788 (cimag_test_data): Likewise.
789 (conj_test_data): Likewise.
790 (copysign_test_data): Likewise.
791 (cproj_test_data): Likewise.
792 (creal_test_data): Likewise.
793 (fabs_test_data): Likewise.
794 (fdim_test_data): Likewise.
795 (finite_test_data): Likewise.
796 (floor_test_data): Likewise.
797 (fmax_test_data): Likewise.
798 (fmin_test_data): Likewise.
799 (fmod_test_data): Likewise.
800 (fpclassify_test_data): Likewise.
801 (frexp_test_data): Likewise.
802 (ilogb_test_data): Likewise.
803 (isfinite_test_data): Likewise.
804 (isgreater_test_data): Likewise.
805 (isgreaterequal_test_data): Likewise.
806 (isinf_test_data): Likewise.
807 (isless_test_data): Likewise.
808 (islessequal_test_data): Likewise.
809 (islessgreater_test_data): Likewise.
810 (isnan_test_data): Likewise.
811 (isnormal_test_data): Likewise.
812 (issignaling_test_data): Likewise.
813 (isunordered_test_data): Likewise.
814 (ldexp_test_data): Likewise.
815 (lrint_test_data): Likewise.
816 (lrint_test_data) [TEST_FLOAT]: Disable one test.
817 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
818 (lrint_tonearest_test_data): Test for "inexact" exceptions.
819 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
820 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
821 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
822 test input.
823 (lrint_towardzero_test_data): Test for "inexact" exceptions.
824 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
825 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
826 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
827 that test input.
828 (lrint_downward_test_data): Test for "inexact" exceptions.
829 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
830 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
831 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
832 test input.
833 (lrint_upward_test_data): Test for "inexact" exceptions.
834 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
835 test input.
836 (llrint_test_data): Test for "inexact" exceptions.
837 (llrint_test_data) [TEST_FLOAT]: Disable one test.
838 (llrint_tonearest_test_data): Test for "inexact" exceptions.
839 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
840 (llrint_towardzero_test_data): Test for "inexact" exceptions.
841 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
842 (llrint_downward_test_data): Test for "inexact" exceptions.
843 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
844 (llrint_upward_test_data): Test for "inexact" exceptions.
845 (logb_test_data): Likewise.
846 (logb_downward_test_data): Likewise.
847 (nextafter_test_data): Likewise.
848 (nexttoward_test_data): Likewise.
849 (remainder_test_data): Likewise.
850 (remquo_test_data): Likewise.
851 (scalbn_test_data): Likewise.
852 (scalbln_test_data): Likewise.
853 (signbit_test_data): Likewise.
854 (sqrt_test_data): Likewise.
855 (significand_test_data): Likewise.
856
48a18de1
SP
8572013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
858
859 [BZ #15424]
860 * benchtests/bench-modf.c (struct args): Mark arg0 as
861 volatile.
862 * scripts/bench.pl: Mark members of struct args as volatile.
863
13d3b41a
AZ
8642013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
865
68191c1d 866 [BZ # 15497]
13d3b41a
AZ
867 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
868 negative infinity on POWER6 or lower.
869 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
870
2848b105
MR
8712013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
872
873 [BZ #15442]
874 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
875 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
876 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
877 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
878 (_FP_SETQNAN): New macro.
879 (_FP_SETQNAN_SEMIRAW): Likewise.
880 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
881 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
882 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
883 (FP_EXTEND): Use _FP_FRAC_SNANP.
884 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
885 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
886 into account.
887 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
888 New macro.
889 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
890 Likewise.
891
323e5cb7
JM
8922013-05-16 Joseph Myers <joseph@codesourcery.com>
893
c58b274f
JM
894 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
895 with DIVIDE_BY_ZERO_EXCEPTION.
896 (gamma_test_data): Likewise.
897 (lgamma_test_data): Likewise.
898 (log_test_data): Likewise.
899 (log10_test_data): Likewise.
900 (log2_test_data): Likewise.
901 (tgamma_test_data): Likewise.
902
0ab34904
JM
903 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
904 (acos_test_tonearest): Likewise.
905 (acos_test_towardzero): Likewise.
906 (acos_test_downward): Likewise.
907 (acos_test_upward): Likewise.
908 (acosh_test): Likewise.
909 (asin_test): Likewise.
910 (asin_test_tonearest): Likewise.
911 (asin_test_towardzero): Likewise.
912 (asin_test_downward): Likewise.
913 (asin_test_upward): Likewise.
914 (asinh_test): Likewise.
915 (atan_test): Likewise.
916 (atanh_test): Likewise.
917 (atan2_test): Likewise.
918 (cabs_test): Likewise.
919 (cacos_test): Likewise.
920 (cacosh_test): Likewise.
921 (casin_test): Likewise.
922 (casinh_test): Likewise.
923 (catan_test): Likewise.
924 (catanh_test): Likewise.
925 (cbrt_test): Likewise.
926 (ccos_test): Likewise.
927 (ccosh_test): Likewise.
928 (cexp_test): Likewise.
929 (clog_test): Likewise.
930 (clog10_test): Likewise.
931 (cos_test): Likewise.
932 (cos_test_tonearest): Likewise.
933 (cos_test_towardzero): Likewise.
934 (cos_test_downward): Likewise.
935 (cos_test_upward): Likewise.
936 (cosh_test): Likewise.
937 (cosh_test_tonearest): Likewise.
938 (cosh_test_towardzero): Likewise.
939 (cosh_test_downward): Likewise.
940 (cosh_test_upward): Likewise.
941 (cpow_test): Likewise.
942 (csin_test): Likewise.
943 (csinh_test): Likewise.
944 (csqrt_test): Likewise.
945 (ctan_test): Likewise.
946 (ctan_test_tonearest): Likewise.
947 (ctan_test_towardzero): Likewise.
948 (ctan_test_downward): Likewise.
949 (ctan_test_upward): Likewise.
950 (ctanh_test): Likewise.
951 (ctanh_test_tonearest): Likewise.
952 (ctanh_test_towardzero): Likewise.
953 (ctanh_test_downward): Likewise.
954 (ctanh_test_upward): Likewise.
955 (erf_test): Likewise.
956 (erfc_test): Likewise.
957 (exp_test): Likewise.
958 (exp_test_tonearest): Likewise.
959 (exp_test_towardzero): Likewise.
960 (exp_test_downward): Likewise.
961 (exp_test_upward): Likewise.
962 (exp10_test): Likewise.
963 (exp2_test): Likewise.
964 (expm1_test): Likewise.
965 (fmod_test): Likewise.
966 (gamma_test): Likewise.
967 (hypot_test): Likewise.
968 (j0_test): Likewise.
969 (j1_test): Likewise.
970 (jn_test): Likewise.
971 (lgamma_test): Likewise.
972 (log_test): Likewise.
973 (log10_test): Likewise.
974 (log1p_test): Likewise.
975 (log2_test): Likewise.
976 (logb_test_downward): Likewise.
977 (pow_test): Likewise.
978 (pow_test_tonearest): Likewise.
979 (pow_test_towardzero): Likewise.
980 (pow_test_downward): Likewise.
981 (pow_test_upward): Likewise.
982 (remainder_test): Likewise.
983 (remquo_test): Likewise.
984 (sin_test): Likewise.
985 (sin_test_tonearest): Likewise.
986 (sin_test_towardzero): Likewise.
987 (sin_test_downward): Likewise.
988 (sin_test_upward): Likewise.
989 (sincos_test): Likewise.
990 (sinh_test): Likewise.
991 (sinh_test_tonearest): Likewise.
992 (sinh_test_towardzero): Likewise.
993 (sinh_test_downward): Likewise.
994 (sinh_test_upward): Likewise.
995 (sqrt_test): Likewise.
996 (tan_test): Likewise.
997 (tan_test_tonearest): Likewise.
998 (tan_test_towardzero): Likewise.
999 (tan_test_downward): Likewise.
1000 (tan_test_upward): Likewise.
1001 (tanh_test): Likewise.
1002 (tgamma_test): Likewise.
1003 (y0_test): Likewise.
1004 (y1_test): Likewise.
1005 (yn_test): Likewise.
1006
323e5cb7
JM
1007 * math/gen-libm-test.pl (adjust_arg): Remove function.
1008 (special_function): Remove argument $in_func. Only handle
1009 generating output for tables of tests, not inside functions.
1010 (parse_args): Likewise.
1011 (generate_testfile): Remove variable $in_func. Update call to
1012 parse_args.
1013 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
1014 (MINUS_ZERO_INIT): Rename macro to minus_zero.
1015 (PLUS_INFTY_INIT): Rename macro to plus_infty.
1016 (MINUS_INFTY_INIT): Rename macro to minus_infty.
1017 (QNAN_VALUE_INIT): Rename macro to qnan_value.
1018 (MAX_VALUE_INIT): Rename macro to max_value.
1019 (MIN_VALUE_INIT): Rename macro to min_value.
1020 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
1021 (plus_zero): Remove variable.
1022 (minus_zero): Likewise.
1023 (plus_infty): Likewise.
1024 (minus_infty): Likewise.
1025 (qnan_value): Likewise.
1026 (max_value): Likewise.
1027 (min_value): Likewise.
1028 (min_subnorm_value): Likewise.
1029
e054f494
RA
10302013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1031
1032 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
1033 uint64_t or uint32_t usage.
1034 * crypt/sha256-block.c: Likewise.
1035 * crypt/sha256-crypt.c: Likewise.
1036 * crypt/sha256.c: Likewise.
1037 * crypt/sha512-block.c: Likewise.
1038 * crypt/sha512-crypt.c: Likewise.
1039 * crypt/sha512.c: Likewise.
1040 * debug/backtrace-tst.c: Likewise.
1041 * debug/pcprofiledump.c: Likewise.
1042 * elf/cache.c: Likewise.
1043 * elf/dl-cache.c: Likewise.
1044 * elf/dl-misc.c: Likewise.
1045 * elf/dl-profile.c: Likewise.
1046 * elf/dl-support.c: Likewise.
1047 * elf/ldconfig.c: Likewise.
1048 * elf/sprof.c: Likewise.
1049 * iconv/dummy-repertoire.c: Likewise.
1050 * iconv/iconv_charmap.c: Likewise.
1051 * iconv/skeleton.c: Likewise.
1052 * iconvdata/8bit-generic.c: Likewise.
1053 * iconvdata/cp737.h: Likewise.
1054 * iconvdata/cp775.h: Likewise.
1055 * iconvdata/ibm1008.h: Likewise.
1056 * iconvdata/ibm1025.h: Likewise.
1057 * iconvdata/ibm1046.h: Likewise.
1058 * iconvdata/ibm1097.h: Likewise.
1059 * iconvdata/ibm1112.h: Likewise.
1060 * iconvdata/ibm1122.h: Likewise.
1061 * iconvdata/ibm1123.h: Likewise.
1062 * iconvdata/ibm1124.h: Likewise.
1063 * iconvdata/ibm1129.h: Likewise.
1064 * iconvdata/ibm1130.h: Likewise.
1065 * iconvdata/ibm1132.h: Likewise.
1066 * iconvdata/ibm1133.h: Likewise.
1067 * iconvdata/ibm1137.h: Likewise.
1068 * iconvdata/ibm1140.h: Likewise.
1069 * iconvdata/ibm1141.h: Likewise.
1070 * iconvdata/ibm1142.h: Likewise.
1071 * iconvdata/ibm1143.h: Likewise.
1072 * iconvdata/ibm1144.h: Likewise.
1073 * iconvdata/ibm1145.h: Likewise.
1074 * iconvdata/ibm1146.h: Likewise.
1075 * iconvdata/ibm1147.h: Likewise.
1076 * iconvdata/ibm1148.h: Likewise.
1077 * iconvdata/ibm1149.h: Likewise.
1078 * iconvdata/ibm1153.h: Likewise.
1079 * iconvdata/ibm1154.h: Likewise.
1080 * iconvdata/ibm1155.h: Likewise.
1081 * iconvdata/ibm1156.h: Likewise.
1082 * iconvdata/ibm1157.h: Likewise.
1083 * iconvdata/ibm1158.h: Likewise.
1084 * iconvdata/ibm1160.h: Likewise.
1085 * iconvdata/ibm1161.h: Likewise.
1086 * iconvdata/ibm1162.h: Likewise.
1087 * iconvdata/ibm1163.h: Likewise.
1088 * iconvdata/ibm1164.h: Likewise.
1089 * iconvdata/ibm1166.h: Likewise.
1090 * iconvdata/ibm1167.h: Likewise.
1091 * iconvdata/ibm12712.h: Likewise.
1092 * iconvdata/ibm1390.h: Likewise.
1093 * iconvdata/ibm1399.h: Likewise.
1094 * iconvdata/ibm16804.h: Likewise.
1095 * iconvdata/ibm4517.h: Likewise.
1096 * iconvdata/ibm4899.h: Likewise.
1097 * iconvdata/ibm4909.h: Likewise.
1098 * iconvdata/ibm4971.h: Likewise.
1099 * iconvdata/ibm5347.h: Likewise.
1100 * iconvdata/ibm803.h: Likewise.
1101 * iconvdata/ibm856.h: Likewise.
1102 * iconvdata/ibm901.h: Likewise.
1103 * iconvdata/ibm902.h: Likewise.
1104 * iconvdata/ibm9030.h: Likewise.
1105 * iconvdata/ibm9066.h: Likewise.
1106 * iconvdata/ibm921.h: Likewise.
1107 * iconvdata/ibm922.h: Likewise.
1108 * iconvdata/ibm9448.h: Likewise.
1109 * iconvdata/isiri-3342.h: Likewise.
1110 * iconvdata/jis0201.h: Likewise.
1111 * include/link.h: Likewise.
1112 * include/netdb.h: Likewise.
1113 * inet/check_native.c: Likewise.
1114 * inet/check_pf.c: Likewise.
1115 * inet/getipv4sourcefilter.c: Likewise.
1116 * inet/getnameinfo.c: Likewise.
1117 * inet/getsourcefilter.c: Likewise.
1118 * inet/htonl.c: Likewise.
1119 * inet/setipv4sourcefilter.c: Likewise.
1120 * inet/setsourcefilter.c: Likewise.
1121 * inet/test-inet6_opt.c: Likewise.
1122 * inet/tst-network.c: Likewise.
1123 * locale/C-collate.c: Likewise.
1124 * locale/C-ctype.c: Likewise.
1125 * locale/C-time.c: Likewise.
1126 * locale/C-translit.h: Likewise.
1127 * locale/loadarchive.c: Likewise.
1128 * locale/programs/3level.h: Likewise.
1129 * locale/programs/charmap.c: Likewise.
1130 * locale/programs/charmap.h: Likewise.
1131 * locale/programs/ld-address.c: Likewise.
1132 * locale/programs/ld-collate.c: Likewise.
1133 * locale/programs/ld-ctype.c: Likewise.
1134 * locale/programs/ld-identification.c: Likewise.
1135 * locale/programs/ld-measurement.c: Likewise.
1136 * locale/programs/ld-messages.c: Likewise.
1137 * locale/programs/ld-monetary.c: Likewise.
1138 * locale/programs/ld-name.c: Likewise.
1139 * locale/programs/ld-numeric.c: Likewise.
1140 * locale/programs/ld-paper.c: Likewise.
1141 * locale/programs/ld-telephone.c: Likewise.
1142 * locale/programs/ld-time.c: Likewise.
1143 * locale/programs/linereader.c: Likewise.
1144 * locale/programs/locale.c: Likewise.
1145 * locale/programs/locarchive.c: Likewise.
1146 * locale/programs/locfile.h: Likewise.
1147 * locale/programs/repertoire.c: Likewise.
1148 * locale/programs/simple-hash.c: Likewise.
1149 * locale/programs/simple-hash.h: Likewise.
1150 * malloc/memusage.c: Likewise.
1151 * malloc/memusagestat.c: Likewise.
1152 * nis/nis_defaults.c: Likewise.
1153 * nis/nis_hash.c: Likewise.
1154 * nis/nis_print.c: Likewise.
1155 * nis/nis_xdr.c: Likewise.
1156 * nscd/connections.c: Likewise.
1157 * nscd/hstcache.c: Likewise.
1158 * nscd/nscd_gethst_r.c: Likewise.
1159 * nscd/nscd_getserv_r.c: Likewise.
1160 * nscd/nscd_helper.c: Likewise.
1161 * nscd/servicescache.c: Likewise.
1162 * nss/makedb.c: Likewise.
1163 * nss/nss_db/db-XXX.c: Likewise.
1164 * nss/nss_db/db-initgroups.c: Likewise.
1165 * nss/nss_db/db-netgrp.c: Likewise.
1166 * nss/nss_files/files-network.c: Likewise.
1167 * nss/nss_files/files-parse.c: Likewise.
1168 * posix/bug-regex5.c: Likewise.
1169 * posix/fnmatch_loop.c: Likewise.
1170 * posix/regcomp.c: Likewise.
1171 * posix/regexec.c: Likewise.
1172 * posix/tst-rfc3484-2.c: Likewise.
1173 * posix/tst-rfc3484-3.c: Likewise.
1174 * posix/tst-rfc3484.c: Likewise.
1175 * resolv/nss_dns/dns-canon.c: Likewise.
1176 * resolv/nss_dns/dns-network.c: Likewise.
1177 * resolv/res_init.c: Likewise.
1178 * resolv/res_mkquery.c: Likewise.
1179 * resolv/tst-aton.c: Likewise.
1180 * stdlib/cxa_atexit.c: Likewise.
1181 * stdlib/cxa_finalize.c: Likewise.
1182 * stdlib/gen-fpioconst.c: Likewise.
1183 * stdlib/strtol_l.c: Likewise.
1184 * string/tst-endian.c: Likewise.
1185 * sunrpc/auth_des.c: Likewise.
1186 * sunrpc/clnt_udp.c: Likewise.
1187 * sunrpc/rtime.c: Likewise.
1188 * sunrpc/svcauth_des.c: Likewise.
1189 * sunrpc/xdr.c: Likewise.
1190 * sunrpc/xdr_intXX_t.c: Likewise.
1191 * sunrpc/xdr_rec.c: Likewise.
1192 * sysdeps/generic/ldconfig.h: Likewise.
1193 * sysdeps/generic/ldsodefs.h: Likewise.
1194 * sysdeps/generic/memusage.h: Likewise.
1195 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1196 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
1197 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
1198 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1199 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1200 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1201 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1202 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1203 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1204 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1205 * sysdeps/posix/getaddrinfo.c: Likewise.
1206 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1207 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1208 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
1209 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1210 * sysdeps/powerpc/test-gettimebase.c: Likewise.
1211 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1212 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
1213 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
1214 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1215 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
1216 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1217 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1218 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
1219 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
1220 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
1221 * sysdeps/x86_64/dl-tls.h: Likewise.
1222 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
1223 * time/alt_digit.c: Likewise.
1224 * time/era.c: Likewise.
1225 * wcsmbs/tst-c16c32-1.c: Likewise.
1226
8c75f674
JM
12272013-05-16 Joseph Myers <joseph@codesourcery.com>
1228
1229 * math/libm-test.inc (struct test_sincos_data): New type.
1230 (RUN_TEST_LOOP_sincos): New macro.
1231 (sincos_test_data): New variable.
1232 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
1233
e6e49e59
RH
12342013-05-16 Richard Henderson <rth@redhat.com>
1235
1236 * math/atest-exp2.c (LIMB64): New macro.
1237 (CONSTSZ): New macro.
1238 (mp_exp1, mp_exp_m1, mp_log2): New variables.
1239 (hexdig): Move ...
1240 (print_mpn_fp): ... to function scope.
1241 (read_mpn_hex): Remove.
1242 (get_log2): Remove.
1243 (exp2_mpn): Use mp_log2.
1244 (main): Use mp_exp1.
1245
15c7c18d
JM
12462013-05-16 Joseph Myers <joseph@codesourcery.com>
1247
105a07df
JM
1248 * math/libm-test.inc: Remove comment about not testing "inexact"
1249 exceptions.
1250 (INEXACT_EXCEPTION): New macro.
1251 (NO_INEXACT_EXCEPTION): Likewise.
1252 (INVALID_EXCEPTION_OK): Update value.
1253 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1254 (OVERFLOW_EXCEPTION_OK): Likewise.
1255 (UNDERFLOW_EXCEPTION_OK): Likewise.
1256 (IGNORE_ZERO_INF_SIGN): Likewise.
1257 (ERRNO_UNCHANGED): Likewise.
1258 (ERRNO_EDOM): Likewise.
1259 (ERRNO_ERANGE): Likewise.
1260 (test_exceptions): Handle testing "inexact" exceptions.
1261 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
1262 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
1263 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
1264 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
1265 INEXACT_EXCEPTION.
1266 (rint_towardzero_test_data): Likewise.
1267 (rint_downward_test_data): Likewise.
1268 (rint_upward_test_data): Likewise.
1269
e9eee333
JM
1270 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
1271 with OVERFLOW_EXCEPTION.
1272 (exp10_test_data): Likewise.
1273 (exp2_test_data): Likewise.
1274 (expm1_test_data): Likewise.
1275 (lgamma_test_data): Likewise.
1276 (pow_test_data): Likewise.
1277 (tgamma_test_data): Likewise.
1278 (yn_test_data): Remove duplicate test of overflow.
1279
1c38ff73
JM
1280 * math/libm-test.inc (struct test_cc_c_data): New type.
1281 (RUN_TEST_LOOP_cc_c): New macro.
1282 (cpow_test_data): New variable.
1283 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
1284
15c7c18d
JM
1285 * math/libm-test.inc (struct test_f_L_data): New type.
1286 (RUN_TEST_LOOP_f_L): New macro.
1287 (llrint_test_data): New variable.
1288 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
1289 (llrint_tonearest_test_data): New variable.
1290 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
1291 (llrint_towardzero_test_data): New variable.
1292 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
1293 (llrint_downward_test_data): New variable.
1294 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
1295 (llrint_upward_test_data): New variable.
1296 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
1297 (llround_test_data): New variable.
1298 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
1299
f137ff13
PC
13002013-05-13 Peter Collingbourne <pcc@google.com>
1301
1302 * math/atest-exp2.c (get_log2): Remove const attribute.
1303
3608cb24
JM
13042013-05-15 Joseph Myers <joseph@codesourcery.com>
1305
1306 * math/libm-test.inc (struct test_f_l_data): New type.
1307 (RUN_TEST_LOOP_f_l): New macro.
1308 (lrint_test_data): New variable.
1309 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
1310 (lrint_tonearest_test_data): New variable.
1311 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
1312 (lrint_towardzero_test_data): New variable.
1313 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
1314 (lrint_downward_test_data): New variable.
1315 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
1316 (lrint_upward_test_data): New variable.
1317 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
1318 (lround_test_data): New variable.
1319 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
1320
39b1f617
PC
13212013-05-15 Peter Collingbourne <pcc@google.com>
1322
1deff3dc
PC
1323 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
1324 (EXTRACT_WORDS64) Use where appropriate.
1325 (INSERT_WORDS64) Likewise.
1326
791f3ba0
PC
1327 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
1328 constraints with x constraints.
1329 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
1330
39b1f617
PC
1331 * malloc/obstack.c (_obstack_compat): Add initializer.
1332
12fba011
EM
13332013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
1334
1335 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
1336 si_trapno and add si_addr_lsb to _sifields.sigfault.
1337 (si_trapno): Remove macro.
1338 (si_addr_lsb): Define new macro.
1339 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1340
d369f531
JM
13412013-05-15 Joseph Myers <joseph@codesourcery.com>
1342
b861c6c4
JM
1343 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
1344 instead of TEST_f_l.
1345 (llrint_test_tonearest): Likewise.
1346 (llrint_test_towardzero): Likewise.
1347 (llrint_test_downward): Likewise.
1348 (llrint_test_upward): Likewise.
1349 (llround_test): Likewise.
1350
7abeee12
JM
1351 * math/libm-test.inc (struct test_f_i_data): Add comment.
1352 (RUN_TEST_LOOP_f_b): New macro.
1353 (RUN_TEST_LOOP_f_b_tg): Likewise.
1354 (finite_test_data): New variable.
1355 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
1356 (isfinite_test_data): New variable.
1357 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1358 (isinf_test_data): New variable.
1359 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1360 (isnan_test_data): New variable.
1361 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1362 (isnormal_test_data): New variable.
1363 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1364 (issignaling_test_data): New variable.
1365 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1366 (signbit_test_data): New variable.
1367 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1368
cbe8c4d3
JM
1369 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
1370 with INVALID_EXCEPTION.
1371 (acosh_test_data): Likewise.
1372 (asin_test_data): Likewise.
1373 (atanh_test_data): Likewise.
1374 (fmod_test_data): Likewise.
1375 (log_test_data): Likewise.
1376 (log10_test_data): Likewise.
1377 (log2_test_data): Likewise.
1378 (pow_test_data): Likewise.
1379 (sqrt_test_data): Likewise.
1380 (y0_test_data): Likewise.
1381 (y1_test_data): Likewise.
1382 (yn_test_data): Likewise.
1383
5575c0e5
JM
1384 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
1385 function contents.
1386
d369f531
JM
1387 * math/libm-test.inc (struct test_ff_i_data): New type.
1388 (RUN_TEST_LOOP_ff_i_tg): New macro.
1389 (isgreater_test_data): New variable.
1390 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1391 (isgreaterequal_test_data): New variable.
1392 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1393 (isless_test_data): New variable.
1394 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1395 (islessequal_test_data): New variable.
1396 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1397 (islessgreater_test_data): New variable.
1398 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1399 (isunordered_test_data): New variable.
1400 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1401
781fd748
DM
14022013-05-14 David S. Miller <davem@davemloft.net>
1403
1404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1405
87aa21df
JM
14062013-05-14 Joseph Myers <joseph@codesourcery.com>
1407
5e908270
JM
1408 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
1409
f71172e5
JM
1410 * math/libm-test.inc (struct test_fF_f1_data): Change type of
1411 extra_test to int.
1412 (struct test_f_i_data): Change type of max_ulp to int.
1413
8cfa635a
JM
1414 * math/libm-test.inc (test_ffI_f1_data): New type.
1415 (RUN_TEST_LOOP_ffI_f1): New macro.
1416 (remquo_test_data): New variable.
1417 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
1418
2bcb36b2
JM
1419 * setjmp/tst-setjmp-fp.c: New file.
1420 * setjmp/Makefile (tests): Add tst-setjmp-fp.
1421 (link-libm): New variable.
1422 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
1423
acbd839a
JM
1424 * math/libm-test.inc (struct test_f_i_data): New type.
1425 (RUN_TEST_LOOP_f_i): New macro.
1426 (RUN_TEST_LOOP_f_i_tg): Likewise.
1427 (fpclassify_test_data): New variable.
1428 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
1429 (ilogb_test_data): New variable.
1430 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
1431
e414d745
JM
1432 * math/libm-test.inc (scalbln_test): Correct function name in END
1433 call.
1434
d9c2a0fd
JM
1435 * math/libm-test.inc (struct test_f_f1_data): Add comment.
1436 (RUN_TEST_LOOP_fI_f1): New macro.
1437 (frexp_test_data): New variable.
1438 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
1439
9dc9095d
JM
1440 * math/libm-test.inc (struct test_fF_f1_data): New type.
1441 (RUN_TEST_LOOP_fF_f1): New macro.
1442 (modf_test_data): New variable.
1443 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
1444
87aa21df
JM
1445 * math/libm-test.inc (struct test_f_f1_data): New type.
1446 (RUN_TEST_LOOP_f_f1): New macro.
1447 (gamma_test_data): New variable.
1448 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
1449 (lgamma_test_data): New variable.
1450 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
1451
141af660
CD
14522013-05-13 Carlos O'Donell <carlos@redhat.com>
1453
1454 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
1455 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
1456 (main): Comment "tls" pseudo-hwcap.
1457
6d33265c
JM
14582013-05-13 Joseph Myers <joseph@codesourcery.com>
1459
68fc074c
JM
1460 * math/libm-test.inc (struct test_fl_f_data): New type.
1461 (RUN_TEST_LOOP_fl_f): New variable.
1462 (scalbln_test_data): New variable.
1463 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
1464
243216e1
JM
1465 * math/libm-test.inc (struct test_fi_f_data): New type.
1466 (RUN_TEST_LOOP_fi_f): New macro.
1467 (ldexp_test_data): New variable.
1468 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
1469 (scalbn_test_data): New variable.
1470 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
1471
6a1992e2
JM
1472 * math/libm-test.inc (struct test_c_f_data): New type.
1473 (RUN_TEST_LOOP_c_f): New macro.
1474 (cabs_test_data): New variable.
1475 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
1476 (carg_test_data): New variable.
1477 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
1478 (cimag_test_data): New variable.
1479 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
1480 (creal_test_data): New variable.
1481 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
1482
0e400df5
JM
1483 * math/libm-test.inc (struct test_if_f_data): New type.
1484 (RUN_TEST_LOOP_if_f): New macro.
1485 (jn_test_data): New variable.
1486 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
1487 (yn_test_data): New variable.
1488 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
1489
6d33265c
JM
1490 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
1491
f98ece5f
AZ
14922013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1493
1494 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
1495 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
1496
0f7d347b
SP
14972013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1498
43fe811b
SP
1499 * benchtests/Makefile (CPPFLAGS-nonlib): Add
1500 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
1501 (bench-deps): Add bench-timing.h.
1502 * benchtests-bench-skeleton.c: Include bench-timing.h.
1503 (main): Use TIMING_* macros instead of clock_gettime.
1504 * benchtests/bench-timing.h: New file.
1505
0f7d347b
SP
1506 [BZ #14582]
1507 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
1508 Renamed from _LIB_VERSION.
1509 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
1510
601a3a5f
JM
15112013-05-12 Joseph Myers <joseph@codesourcery.com>
1512
4f184d30
JM
1513 * math/libm-test.inc (struct test_fff_f_data): New type.
1514 (RUN_TEST_LOOP_fff_f): New macro.
1515 (fma_test_data): New variable.
1516 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
1517 (fma_towardzero_test_data): New variable.
1518 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
1519 (fma_downward_test_data): New variable.
1520 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
1521 (fma_upward_test_data): New variable.
1522 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
1523
08198877
JM
1524 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
1525 (struct test_c_c_data): New type.
1526 (RUN_TEST_LOOP_c_c): New macro.
1527 (cacos_test_data): New variable.
1528 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
1529 (cacosh_test_data): New variable.
1530 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
1531 (casin_test_data): New variable.
1532 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
1533 (casinh_test_data): New variable.
1534 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
1535 (catan_test_data): New variable.
1536 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
1537 (catanh_test_data): New variable.
1538 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
1539 (ccos_test_data): New variable.
1540 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
1541 (ccosh_test_data): New variable.
1542 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
1543 (cexp_test_data): New variable.
1544 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
1545 (clog_test_data): New variable.
1546 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
1547 (clog10_test_data): New variable.
1548 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
1549 (conj_test_data): New variable.
1550 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
1551 (cproj_test_data): New variable.
1552 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
1553 (csin_test_data): New variable.
1554 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
1555 (csinh_test_data): New variable.
1556 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
1557 (csqrt_test_data): New variable.
1558 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
1559 (ctan_test_data): New variable.
1560 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
1561 (ctan_tonearest_test_data): New variable.
1562 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1563 (ctan_towardzero_test_data): New variable.
1564 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1565 (ctan_downward_test_data): New variable.
1566 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1567 (ctan_upward_test_data): New variable.
1568 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1569 (ctanh_test_data): New variable.
1570 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
1571 (ctanh_tonearest_test_data): New variable.
1572 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1573 (ctanh_towardzero_test_data): New variable.
1574 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1575 (ctanh_downward_test_data): New variable.
1576 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1577 (ctanh_upward_test_data): New variable.
1578 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1579 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
1580 of BUILD_COMPLEX.
1581
601a3a5f
JM
1582 * math/libm-test.inc (struct test_ff_f_data): New type.
1583 (struct test_ff_f_data_nexttoward): Likewise.
1584 (RUN_TEST_LOOP_2_f): New macro.
1585 (RUN_TEST_LOOP_ff_f): Likewise.
1586 (atan2_test_data): New variable.
1587 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
1588 (copysign_test_data): New variable.
1589 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
1590 (fdim_test_data): New variable.
1591 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
1592 (fmax_test_data): New variable.
1593 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
1594 (fmin_test_data): New variable.
1595 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
1596 (fmod_test_data): New variable.
1597 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
1598 (hypot_test_data): New variable.
1599 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
1600 (nextafter_test_data): New variable.
1601 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
1602 (nexttoward_test_data): New variable.
1603 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
1604 (pow_test_data): New variable.
1605 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
1606 (pow_tonearest_test_data): New variable.
1607 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
1608 (pow_towardzero_test_data): New variable.
1609 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
1610 (pow_downward_test_data): New variable.
1611 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
1612 (pow_upward_test_data): New variable.
1613 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
1614 (remainder_test_data): New variable.
1615 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
1616 (scalb_test_data): New variable.
1617 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
1618 * sysdeps/i386/fpu/libm-test-ulps: Update.
1619
74c57478
JM
16202013-05-11 Joseph Myers <joseph@codesourcery.com>
1621
8329e4da
JM
1622 * math/libm-test.inc (fma_test): Use max_value instead of local
1623 variable fltmax.
1624 (nextafter_test): Likewise.
1625
74c57478
JM
1626 * math/libm-test.inc (acos_towardzero_test_data): New variable.
1627 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1628 (acos_downward_test_data): New variable.
1629 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1630 (acos_upward_test_data): New variable.
1631 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1632 (acosh_test_data): New variable.
1633 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
1634 (asin_test_data): New variable.
1635 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
1636 (asin_tonearest_test_data): New variable.
1637 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1638 (asin_towardzero_test_data): New variable.
1639 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1640 (asin_downward_test_data): New variable.
1641 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1642 (asin_upward_test_data): New variable.
1643 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1644 (asinh_test_data): New variable.
1645 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
1646 (atan_test_data): New variable.
1647 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
1648 (atanh_test_data): New variable.
1649 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
1650 (cbrt_test_data): New variable.
1651 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
1652 (ceil_test_data): New variable.
1653 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
1654 (cos_test_data): New variable.
1655 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
1656 (cos_tonearest_test_data): New variable.
1657 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1658 (cos_towardzero_test_data): New variable.
1659 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1660 (cos_downward_test_data): New variable.
1661 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1662 (cos_upward_test_data): New variable.
1663 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1664 (cosh_test_data): New variable.
1665 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
1666 (cosh_tonearest_test_data): New variable.
1667 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1668 (cosh_towardzero_test_data): New variable.
1669 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1670 (cosh_downward_test_data): New variable.
1671 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1672 (cosh_upward_test_data): New variable.
1673 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1674 (erf_test_data): New variable.
1675 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
1676 (erfc_test_data): New variable.
1677 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
1678 (exp_test_data): New variable.
1679 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
1680 (exp_tonearest_test_data): New variable.
1681 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1682 (exp_towardzero_test_data): New variable.
1683 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1684 (exp_downward_test_data): New variable.
1685 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1686 (exp_upward_test_data): New variable.
1687 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1688 (exp10_test_data): New variable.
1689 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
1690 (exp2_test_data): New variable.
1691 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
1692 (expm1_test_data): New variable.
1693 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
1694 (fabs_test_data): New variable.
1695 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
1696 (floor_test_data): New variable.
1697 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
1698 (j0_test_data): New variable.
1699 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
1700 (j1_test_data): New variable.
1701 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
1702 (log_test_data): New variable.
1703 (log_test): Run tests with RUN_TEST_LOOP_f_f.
1704 (log10_test_data): New variable.
1705 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
1706 (log1p_test_data): New variable.
1707 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
1708 (log2_test_data): New variable.
1709 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
1710 (logb_test_data): New variable.
1711 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
1712 (logb_downward_test_data): New variable.
1713 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1714 (nearbyint_test_data): New variable.
1715 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
1716 (rint_test_data): New variable.
1717 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
1718 (rint_tonearest_test_data): New variable.
1719 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1720 (rint_towardzero_test_data): New variable.
1721 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1722 (rint_downward_test_data): New variable.
1723 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1724 (rint_upward_test_data): New variable.
1725 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1726 (round_test_data): New variable.
1727 (round_test): Run tests with RUN_TEST_LOOP_f_f.
1728 (sin_test_data): New variable.
1729 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
1730 (sin_tonearest_test_data): New variable.
1731 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1732 (sin_towardzero_test_data): New variable.
1733 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1734 (sin_downward_test_data): New variable.
1735 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1736 (sin_upward_test_data): New variable.
1737 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1738 (sinh_test_data): New variable.
1739 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
1740 (sinh_tonearest_test_data): New variable.
1741 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1742 (sinh_towardzero_test_data): New variable.
1743 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1744 (sinh_downward_test_data): New variable.
1745 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1746 (sinh_upward_test_data): New variable.
1747 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1748 (sqrt_test_data): New variable.
1749 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
1750 (tan_test_data): New variable.
1751 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
1752 (tan_tonearest_test_data): New variable.
1753 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1754 (tan_towardzero_test_data): New variable.
1755 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1756 (tan_downward_test_data): New variable.
1757 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1758 (tan_upward_test_data): New variable.
1759 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1760 (tanh_test_data): New variable.
1761 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
1762 (tgamma_test_data): New variable.
1763 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
1764 (trunc_test_data): New variable.
1765 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
1766 (y0_test_data): New variable.
1767 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
1768 (y1_test_data): New variable.
1769 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
1770 (significand_test_data): New variable.
1771 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
1772
7187d844
CG
17732013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
1774
1775 [BZ #12387]
1776 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
1777
f63fae73
PT
17782013-05-10 Pino Toscano <toscano.pino@tiscali.it>
1779
1780 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
1781
8a67a4b3
AJ
17822013-05-10 Andreas Jaeger <aj@suse.de>
1783
1784 [BZ #15448]
1785 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
1786 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
1787
51df539d
JM
17882013-05-10 Joseph Myers <joseph@codesourcery.com>
1789
1790 * math/gen-libm-test.pl (adjust_arg): New function.
1791 (special_functions): Handle generating output in both functions
1792 and arrays.
1793 (parse_args): Likewise.
1794 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
1795 $in_func argument to parse_args.
1796 * math/libm-test.inc (struct test_f_f_data): New type.
1797 (IF_ROUND_INIT_): New macro.
1798 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
1799 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1800 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1801 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1802 (ROUND_RESTORE_): Likewise.
1803 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
1804 (ROUND_RESTORE_FE_TONEAREST): Likewise.
1805 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
1806 (ROUND_RESTORE_FE_UPWARD): Likewise.
1807 (RUN_TEST_LOOP_f_f): New macro.
1808 (acos_test_data): New variable.
1809 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
1810 (acos_tonearest_test_data): New variable.
1811 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1812
5c637fe5
SP
18132013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1814
1815 * benchtests/bench-skeleton.c (startup): Fix coding style.
1816
ab2b9461
JM
18172013-05-10 Joseph Myers <joseph@codesourcery.com>
1818
1819 [BZ #6809]
1820 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
1821 negative infinity argument.
1822 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
1823 negative infinity argument.
1824 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
1825 negative infinity argument.
1826 * math/libm-test.inc (tgamma_test): Expect errno to be set for
1827 domain errors.
1828
4c0fe6fe
FW
18292013-05-10 Florian Weimer <fweimer@redhat.com>
1830
1831 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
1832 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
1833 * iconv/iconv_prog.c (main): Likewise.
1834 * locale/programs/charmap-dir.c (charmap_readdir)
1835 (fopen_uncompressed): Likewise.
1836 * locale/programs/locfile.c (siblings_uncached)
1837 (write_locale_data): Use lstat64 instead of lstat.
1838 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
1839 stat.
1840
a3375d29
AJ
18412013-05-10 Andreas Jaeger <aj@suse.de>
1842
1843 [BZ #15395]
1844 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
1845 localization.
1846 Include <locale.h>.
1847
36129722
CD
18482013-05-09 Carlos O'Donell <carlos@redhat.com>
1849
1850 * elf/dl-close.c (_dl_close_worker): Add comments.
1851
faa7f811
JM
18522013-05-09 Joseph Myers <joseph@codesourcery.com>
1853
ed41ffef
JM
1854 [BZ #15359]
1855 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
1856 high part of pi/2.
1857 (__ieee754_rem_pio2l): Update comments.
1858
d0213cd0
JM
1859 [BZ #15429]
1860 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
1861 high part of pi/2.
1862 (__ieee754_rem_pio2l): Update comments.
1863
0d3e777a
JM
1864 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
1865 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
1866
24f56066
JM
1867 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
1868 M_PI_4l.
1869
faa7f811
JM
1870 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
1871 (M_PI_34_LOG10El): Likewise.
1872 (M_PI2_LOG10El): Likewise.
1873 (M_PI4_LOG10El): Likewise.
1874 (M_PI_LOG10El): Likewise.
1875
e9a5e0fd
AZ
18762013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1877
1878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1879
d8cd06db
JM
18802013-05-08 Joseph Myers <joseph@codesourcery.com>
1881
a0d9f9d7
JM
1882 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
1883 (MINUS_ZERO_INIT): Likewise.
1884 (PLUS_INFTY_INIT): Likewise.
1885 (MINUS_INFTY_INIT): Likewise.
1886 (QNAN_VALUE_INIT): Likewise.
1887 (MAX_VALUE_INIT): Likewise.
1888 (MIN_VALUE_INIT): Likewise.
1889 (MIN_SUBNORM_VALUE_INIT): Likewise.
1890 (plus_zero): Initialize with PLUS_ZERO_INIT.
1891 (minus_zero): Initialize with MINUS_ZERO_INIT.
1892 (plus_infty): Initialize with PLUS_INFTY_INIT.
1893 (minus_infty): Initialize with MINUS_INFTY_INIT.
1894 (qnan_value): Initialize with QNAN_VALUE_INIT.
1895 (max_value): Initialize with MAX_VALUE_INIT.
1896 (min_value): Initialize with MIN_VALUE_INIT.
1897 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
1898
ae08db3b
JM
1899 * math/libm-test.inc (RUN_TEST_if_f): New macro.
1900 (jn_test): Use TEST_if_f instead of TEST_ff_f.
1901 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
1902 (yn_test): Use TEST_if_f instead of TEST_ff_f.
1903
f44bf14a
JM
1904 * math/libm-test.inc (RUN_TEST_f_f): New macro.
1905 (RUN_TEST_2_f): Likewise.
1906 (RUN_TEST_ff_f): Likewise.
1907 (RUN_TEST_fi_f): Likewise.
1908 (RUN_TEST_fl_f): Likewise.
1909 (RUN_TEST_fff_f): Likewise.
1910 (RUN_TEST_c_f): Likewise.
1911 (RUN_TEST_f_f1): Likewise.
1912 (RUN_TEST_fF_f1): Likewise.
1913 (RUN_TEST_fI_f1): Likewise.
1914 (RUN_TEST_ffI_f1): Likewise.
1915 (RUN_TEST_c_c): Likewise.
1916 (RUN_TEST_cc_c): Likewise.
1917 (RUN_TEST_f_i): Likewise.
1918 (RUN_TEST_f_i_tg): Likewise.
1919 (RUN_TEST_ff_i_tg): Likewise.
1920 (RUN_TEST_f_b): Likewise.
1921 (RUN_TEST_f_b_tg): Likewise.
1922 (RUN_TEST_f_l): Likewise.
1923 (RUN_TEST_f_L): Likewise.
1924 (RUN_TEST_sincos): Likewise.
1925 * math/gen-libm-test.pl (new_test): Take new argument to indicate
1926 whether to show exceptions. Do not include ");\n" in return
1927 value.
1928 (special_functions): Output call to RUN_TEST_sincos instead of
1929 check_float calls. Update calls to new_test.
1930 (parse_args): Output call to single RUN_TEST_* macro instead of
1931 check_* calls and other assignments. Update calls to new_test.
1932
d8cd06db
JM
1933 [BZ #2546]
1934 [BZ #2560]
1935 [BZ #5159]
1936 [BZ #15426]
1937 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
1938 input to result for tgamma overflow.
1939 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
1940 (gamma_coeff): New variable.
1941 (NCOEFF): New macro.
1942 (gamma_positive): New function.
1943 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
1944 underflow here. Use gamma_positive instead of exp (lgamma) for
1945 other arguments.
1946 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
1947 (gamma_coeff): New variable.
1948 (NCOEFF): New macro.
1949 (gammaf_positive): New function.
1950 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
1951 underflow here. Use gamma_positive instead of exp (lgamma) for
1952 other arguments.
1953 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
1954 (gamma_coeff): New variable.
1955 (NCOEFF): New macro.
1956 (gammal_positive): New function.
1957 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
1958 underflow here. Use gamma_positive instead of exp (lgamma) for
1959 other arguments.
1960 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
1961 (gamma_coeff): New variable.
1962 (NCOEFF): New macro.
1963 (gammal_positive): New function.
1964 (__ieee754_gammal_r): Handle positive infinity, overflow and
1965 underflow here. Handle NaN the same as positive infinity. Remove
1966 check x < 0xffffffff for negative integers. Use gamma_positive
1967 instead of exp (lgamma) for other arguments.
1968 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
1969 (gamma_coeff): New variable.
1970 (NCOEFF): New macro.
1971 (gammal_positive): New function.
1972 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
1973 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
1974 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1975 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
1976 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1977 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
1978 * sysdeps/generic/math_private.h (__gamma_productf): New
1979 prototype.
1980 (__gamma_product): Likewise.
1981 (__gamma_productl): Likewise.
1982 * math/Makefile (libm-calls): Add gamma_product.
1983 * math/libm-test.inc (tgamma_test): Add more tests.
1984 * sysdeps/i386/fpu/libm-test-ulps: Update.
1985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1986
bb7cf681
OB
19872013-05-08 Ondřej Bílka <neleai@seznam.cz>
1988
1989 * benchtests/bench-skeleton.c (main): Preheat CPU.
1990
ba853947
AJ
19912013-05-07 Aurelien Jarno <aurelien@aurel32.net>
1992
1993 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
1994
8347c74c
RM
19952013-05-07 Roland McGrath <roland@hack.frob.com>
1996
1997 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
1998 and _dl_skip_args_internal.
1999
e8dd4791
CD
20002013-05-07 Carlos O'Donell <carlos@redhat.com>
2001
2002 * manual/message.texi (Message Translation): Talk about users.
2003 Message to key mapping impacts design.
2004
c7405830
RM
20052013-05-06 Roland McGrath <roland@hack.frob.com>
2006
a9173057
RM
2007 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
2008
976e2f03
RM
2009 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
2010
9723ffc5
RM
2011 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
2012 * sysdeps/wordsize-64/glob64.c: ... here.
2013
962e6658
RM
2014 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
2015 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
2016 New macros.
2017
ee586a6d
RM
2018 * debug/getlogin_r_chk.c: Moved to ...
2019 * login/getlogin_r_chk.c: ... here.
2020 * debug/Makefile (routines): Move getlogin_r_chk to ...
2021 * login/Makefile (routines): ... here.
2022 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
2023 * login/Versions (libc: GLIBC_2.4): ... here.
2024
355f9165
RM
2025 * io/poll.c (__poll): Renamed from poll.
2026 Add libc_hidden_def.
2027 (poll): Define as weak alias.
2028
bd9ffde6
RM
2029 * debug/ptsname_r_chk.c: Moved to ...
2030 * login/ptsname_r_chk.c: ... here.
2031 * debug/Makefile (routines): Move ptsname_r_chk to ...
2032 * login/Makefile (routines): ... here.
2033 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
2034 * login/Versions (libc: GLIBC_2.4): ... here.
2035
8fb16a04
RM
2036 * posix/getlogin.c: Moved to ...
2037 * login/getlogin.c: ... here.
2038 * posix/getlogin_r.c: Moved to ...
2039 * login/getlogin_r.c: ... here.
2040 * posix/getlogin_r.c: Moved to ...
2041 * login/getlogin_r.c: ... here.
2042 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
2043 * login/Makefile (routines): ... here.
2044 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
2045 * login/Versions (libc: GLIBC_2.0): ... here.
2046
b99b892f
RM
2047 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
2048 (setrlimit): Define as weak alias.
2049
c7405830
RM
2050 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
2051 Call __ names for open, ftruncate, and close.
2052 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
2053 (truncate): Define as weak alias.
2054
5bf96de5
JM
20552013-05-06 Joseph Myers <joseph@codesourcery.com>
2056
9ea3513c
JM
2057 * math/gen-libm-test.pl (parse_args): Initialize x before each
2058 test of frexp, modf and remquo.
2059
5bf96de5
JM
2060 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
2061 test signgam value.
2062
16e616a7
AZ
20632013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2064
2065 [BZ #15418]
2066 [BZ #15419]
2067 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
2068 internal tests.
2069 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2070
d5e82754
RM
20712013-05-06 Roland McGrath <roland@hack.frob.com>
2072
2073 * elf/dl-writev.h: New file.
2074 * elf/dl-misc.c: Include it.
2075 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
2076 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
2077
a7548d41
JM
20782013-05-04 Joseph Myers <joseph@codesourcery.com>
2079
b7dab1e4
JM
2080 * math/libm-test.inc (noXFails): Remove variable.
2081 (noXPasses): Likewise.
2082 (BUILD_COMPLEX_INT): Remove macro.
2083 (print_screen): Remove xfail argument.
2084 (print_screen_max_error): Likewise.
2085 (update_stats): Likewise.
2086 (print_max_error): Likewise. Update calls to other affected
2087 functions.
2088 (print_complex_max_error): Likewise.
2089 (test_single_exception): Update calls to print_screen.
2090 (test_single_errno): Likewise.
2091 (check_float_internal): Remove xfail argument. Update calls to
2092 other affected functions.
2093 (check_float): Likewise.
2094 (check_complex): Likewise.
2095 (check_int): Likewise.
2096 (check_long): Likewise.
2097 (check_bool): Likewise.
2098 (check_longlong): Likewise.
2099 (main): Don't print noXFails and noXPasses.
2100 * math/gen-libm-test.pl (top level): Don't mention expected
2101 failure handling in comment.
2102 (new_test): Don't handle expected failures.
2103 (parse_args): Don't mention expected failure handling in comment.
2104 (generate_testfile): Don't handle expected failures.
2105 (parse_ulps): Likewise.
2106 (print_ulps_file): Likewise.
2107 (get_failure): Remove function.
2108 (output_test): Don't handle expected failures.
2109 * make/README.libm-test: Don't mention expected failure handling.
2110
a7548d41
JM
2111 * math/libm-test.inc (plus_zero): Make const. Add initializer.
2112 (minus_zero): Likewise.
2113 (plus_infty): Likewise.
2114 (minus_infty): Likewise.
2115 (qnan_value): Likewise.
2116 (max_value): Likewise.
2117 (min_value): Likewise.
2118 (min_subnorm_value): Likewise.
2119 (initialize): Do not initialize those variables dynamically.
2120
60bfd54c
RM
21212013-05-03 Roland McGrath <roland@hack.frob.com>
2122
cc0e6ed8
RM
2123 * io/open.c (__open_2): Moved to ...
2124 * io/open_2.c: ... this new file.
2125 * io/open64.c (__open64_2): Moved to ...
2126 * io/open64_2.c: ... this new file.
2127 * io/openat.c (__openat_2): Moved to ...
2128 * io/openat_2.c: ... this new file.
2129 * io/openat64.c (__openat64_2): Moved to ...
2130 * io/openat64_2.c: ... this new file.
2131 * io/Makefile (routines): Add them.
2132 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
2133 * sysdeps/unix/sysv/linux/open_2.c: File removed.
2134 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
2135 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
2136 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
2137 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
2138 (__openat64): Add hidden_ver.
2139 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
2140 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
2141
60bfd54c
RM
2142 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
2143 Separately conditionalize setting of GLRO(dl_sysinfo) so
2144 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
2145 as well, but the actual setting is only under [NEED_DL_SYSINFO].
2146
83e7640f
AZ
21472013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2148
2149 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
2150 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
2151 definition.
2152 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
2153 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2154 (_libc_vdso_platform_setup): Add __vdso_time initialization.
2155 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
2156 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
2157
d5dc2af3
JM
21582013-05-03 Joseph Myers <joseph@codesourcery.com>
2159
c31a5b1e
JM
2160 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
2161 test signgam value.
2162
d5dc2af3
JM
2163 * math/libm-test.inc (hypot_test): Do not use
2164 IGNORE_ZERO_INF_SIGN.
2165
164fd39d
AJ
21662013-05-03 Andreas Jaeger <aj@suse.de>
2167
2168 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
2169 Linux 3.9.
2170 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
2171 (PF_MAX): Adjust for VSOCK change.
2172
8237f48c
AZ
21732013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2174
2175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2176
9df02941
CD
21772013-05-02 Carlos O'Donell <carlos@redhat.com>
2178
2179 [BZ #15264]
2180 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
2181 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
2182 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
2183
d422395e
DM
21842013-05-02 David S. Miller <davem@davemloft.net>
2185
2186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2187
a07c5731
OB
21882013-05-01 Ondřej Bílka <neleai@seznam.cz>
2189
2190 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
2191
1324e37f
RM
21922013-05-01 Roland McGrath <roland@hack.frob.com>
2193
2194 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
2195
0695940b
RS
21962013-05-01 Richard Smith <richard@metafoo.co.uk>
2197
bb5f27ad 2198 [BZ #14952]
0695940b
RS
2199 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
2200 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2201 Use __attribute__ ((__gnu_inline__)).
2202 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2203 Don't use __attribute__ ((__gnu_inline__)).
2204
10de07f5
JM
22052013-05-01 Joseph Myers <joseph@codesourcery.com>
2206
2207 [BZ #15423]
2208 * math/s_catan.c (__catan): Handle small real or imaginary part of
2209 input specially to avoid spurious underflow.
2210 * math/s_catanf.c (__catanf): Likewise.
2211 * math/s_catanh.c (__catanh): Likewise.
2212 * math/s_catanhf.c (__catanhf): Likewise.
2213 * math/s_catanhl.c (__catanhl): Likewise.
2214 * math/s_catanl.c (__catanl): Likewise.
2215 * math/libm-test.inc (catan_test): Add more tests.
2216 (catanh_test): Likewise.
2217 * sysdeps/i386/fpu/libm-test-ulps: Update.
2218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2219
cb4d5414
AZ
22202013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2221
2222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2223
caf84319
JM
22242013-04-30 Joseph Myers <joseph@codesourcery.com>
2225
2226 [BZ #15416]
2227 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
2228 accurately for denominator in atan2.
2229 * math/s_catanf.c (__catanf): Likewise.
2230 * math/s_catanh.c (__catanh): Likewise.
2231 * math/s_catanhf.c (__catanhf): Likewise.
2232 * math/s_catanhl.c (__catanhl): Likewise.
2233 * math/s_catanl.c (__catanl): Likewise.
2234 * math/libm-test.inc (catan_test): Add more tests.
2235 (catanh_test): Likewise.
2236 * sysdeps/i386/fpu/libm-test-ulps: Update.
2237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2238
d569c6ee
SP
22392013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2240
6dbe713d
SP
2241 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
2242
f0ee064b
SP
2243 * benchtests/Makefile (bench): Remove slow benchmarks.
2244 * benchtests/atan-inputs: Add slow benchmark inputs.
2245 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
2246 (BENCH_FUNC): Accept variant offset.
2247 (VARIANT): Define.
2248 * benchtests/bench-skeleton.c (main): Run benchmark for each
2249 variant.
2250 * benchtests/cos-inputs: Add slow benchmark inputs.
2251 * benchtests/exp-inputs: Likewise.
2252 * benchtests/pow-inputs: Likewise.
2253 * benchtests/sin-inputs: Likewise.
2254 * benchtests/slowatan-inputs: Remove.
2255 * benchtests/slowatan.c: Remove.
2256 * benchtests/slowcos-inputs: Remove.
2257 * benchtests/slowcos.c: Remove.
2258 * benchtests/slowexp-inputs: Remove.
2259 * benchtests/slowexp.c: Remove.
2260 * benchtests/slowpow-inputs: Remove.
2261 * benchtests/slowpow.c: Remove.
2262 * benchtests/slowsin-inputs: Remove.
2263 * benchtests/slowsin.c: Remove.
2264 * benchtests/slowtan-inputs: Remove.
2265 * benchtests/slowtan.c: Remove.
2266 * benchtests/tan-inputs: Add slow benchmark inputs.
2267 * scripts/bench.pl: Parse comments and directives.
2268
d569c6ee
SP
2269 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
2270 in CPPFLAGS.
2271 ($(objpfx)bench-%.c): Remove *-ITER.
2272 * benchtests/bench-modf.c: Remove definition of ITER.
2273 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
2274 (main): Loop for DURATION seconds instead of fixed number of
2275 iterations.
2276 * scripts/bench.pl: Don't expect iterations in parameters.
2277
a6a242fe
RM
22782013-04-29 Roland McGrath <roland@hack.frob.com>
2279
2280 * io/fchdir.c (__fchdir): Renamed from fchdir.
2281 (fchdir): Define as weak alias.
2282
f2da7793
JM
22832013-04-29 Joseph Myers <joseph@codesourcery.com>
2284
2285 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
2286 (ERRNO_EDOM): Likewise.
2287 (ERRNO_ERANGE): Likewise.
2288 (noErrnoTests): New variable.
2289 (init_max_error): Set errno to 0.
2290 (test_single_errno): New function.
2291 (test_errno): Likewise.
2292 (check_float_internal): Call test_errno. Set errno to 0.
2293 (check_complex): Refer to errno tests in comment.
2294 (check_int): Call test_errno. Set errno to 0.
2295 (check_long): Likewise.
2296 (check_bool): Likewise.
2297 (check_longlong): Likewise.
2298 (cos_test): Use ERRNO_* flags for errno tests instead of
2299 check_int.
2300 (expm1_test): Likewise.
2301 (fmod_test): Likewise.
2302 (ilogb_test): Likewise.
2303 (lgamma_test): Likewise.
2304 (pow_test): Likewise.
2305 (remainder_test): Likewise.
2306 (sin_test): Likewise.
2307 (tan_test): Likewise.
2308 (yn_test): Likewise.
2309 (initialize): Set errno to 0.
2310 (main): Print number of errno tests.
2311 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
2312
b1a36ceb
AJ
23132013-04-29 Andreas Jaeger <aj@suse.de>
2314
c3ed8088
AJ
2315 [BZ #15084]
2316 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
2317 and RES_USEVC.
2318
f1a24198
AJ
2319 [BZ #15085]
2320 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
2321 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
2322 unimplemented.
2323
9ce3b2cb
AJ
2324 [BZ #15380]
2325 * stdlib/random.c (__initstate): Return NULL if
2326 __initstate fails.
2327
f1a24198 2328 [BZ #15086]
b1a36ceb
AJ
2329 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
2330 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
2331 RES_SNGLKUPREOP.
2332
7e7b6f36
AZ
23332013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2334
2335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2336
4d14f449
JM
23372013-04-29 Joseph Myers <joseph@codesourcery.com>
2338
2339 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
2340 of individual tests.
2341 (casin_test): Likewise.
2342 (casinh_test): Likewise.
2343
5b4217d7
JM
23442013-04-27 Joseph Myers <joseph@codesourcery.com>
2345
2346 [BZ #15409]
2347 * math/s_catan.c (__catan): Handle arguments with large real or
2348 imaginary part separately without squaring.
2349 * math/s_catanf.c (__catanf): Likewise.
2350 * math/s_catanh.c (__catanh): Likewise.
2351 * math/s_catanhf.c (__catanhf): Likewise.
2352 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2353 and redefine.
2354 (__catanhl): Handle arguments with large real or imaginary part
2355 separately without squaring.
2356 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2357 and redefine.
2358 (__catanl): Handle arguments with large real or imaginary part
2359 separately without squaring.
2360 * math/libm-test.inc (catan_test): Add more tests.
2361 (catanh_test): Likewise.
2362 * sysdeps/i386/fpu/libm-test-ulps: Update.
2363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2364
4220c3ef
AJ
23652013-04-27 Andreas Jaeger <aj@suse.de>
2366
2367 [BZ #15007]
2368 * stdlib/stdlib.h: Update guards for qecvt.
2369 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
2370 <stdlib.h>.
2371
4721b2d1
AM
23722013-04-27 Allan McRae <allan@archlinux.org>
2373
2374 * sysdeps/i386/fpu/libm-test-ulps: Update.
2375
f0302940
JM
23762013-04-26 Joseph Myers <joseph@codesourcery.com>
2377
9457fd95
JM
2378 [BZ #15406]
2379 * math/s_catan.c: Include <float.h>.
2380 (__catan): Ensure underflow exception occurs for underflowed
2381 result.
2382 * math/s_catanf.c: Include <float.h>.
2383 (__catanf): Ensure underflow exception occurs for underflowed
2384 result.
2385 * math/s_catanh.c: Include <float.h>.
2386 (__catanh): Ensure underflow exception occurs for underflowed
2387 result.
2388 * math/s_catanhf.c: Include <float.h>.
2389 (__catanhf): Ensure underflow exception occurs for underflowed
2390 result.
2391 * math/s_catanhl.c: Include <float.h>.
2392 (__catanhl): Ensure underflow exception occurs for underflowed
2393 result.
2394 * math/s_catanl.c: Include <float.h>.
2395 (__catanl): Ensure underflow exception occurs for underflowed
2396 result.
2397 * math/libm-test.inc (catan_test): Add more tests.
2398 (catanh_test): Likewise.
2399
f0302940
JM
2400 [BZ #15405]
2401 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
2402 underflowed result.
2403 * math/s_ccoshf.c (__ccoshf): Likewise.
2404 * math/s_ccoshl.c (__ccoshl): Likewise.
2405 * math/s_csin.c (__csin): Likewise.
2406 * math/s_csinf.c (__csinf): Likewise.
2407 * math/s_csinh.c (__csinh): Likewise.
2408 * math/s_csinhf.c (__csinhf): Likewise.
2409 * math/s_csinhl.c (__csinhl): Likewise.
2410 * math/s_csinl.c (__csinl): Likewise.
2411 * math/libm-test.inc (ccos_test): Add more tests.
2412 (ccosh_test): Likewise.
2413 (csin_test): Likewise.
2414 (csinh_test): Likewise.
2415
aa630f59
AZ
24162013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2417
2418 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
2419 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
2420 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
2421 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
2422 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
2423 powerpc/power5+/fpu folders.
2424 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
2425
2426
1b835983
MT
24272013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2428
2429 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2430
73709b26
JM
24312013-04-25 Joseph Myers <joseph@codesourcery.com>
2432
2433 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
2434 additions to variable.
2435 [$(config-machine) = x86_64] (modules-names): Likewise.
2436 ($(objpfx)tst-audit3): Remove dependency.
2437 ($(objpfx)tst-audit3.out): Likewise.
2438 ($(objpfx)tst-audit4): Likewise.
2439 ($(objpfx)tst-audit4.out): Likewise.
2440 ($(objpfx)tst-audit5): Likewise.
2441 ($(objpfx)tst-audit5.out): Likewise.
2442 ($(objpfx)tst-audit6): Likewise.
2443 ($(objpfx)tst-audit6.out): Likewise.
2444 ($(objpfx)tst-audit7): Likewise.
2445 ($(objpfx)tst-audit7.out): Likewise.
2446 (tst-audit3-ENV): Remove variable.
2447 (tst-audit4-ENV): Likewise.
2448 (tst-audit5-ENV): Likewise.
2449 (tst-audit6-ENV): Likewise.
2450 (tst-audit7-ENV): Likewise.
2451 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
2452 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
2453 addition to variable.
2454 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
2455 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
2456 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
2457 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
2458 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
2459 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
2460 tst-audit3, tst-audit4 and tst-audit5.
2461 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
2462 tst-audit6 and tst-audit7.
2463 [$(subdir) = elf] (modules-names): Add audit modules for those
2464 tests.
2465 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
2466 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
2467 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
2468 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
2469 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
2470 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
2471 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
2472 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
2473 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
2474 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
2475 [$(subdir) = elf] (tst-audit3-ENV): New variable.
2476 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
2477 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
2478 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
2479 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
2480 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
2481 Likewise.
2482 [$(subdir) = elf && $(config-cflags-avx) = yes]
2483 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
2484 [$(subdir) = elf && $(config-cflags-avx) = yes]
2485 (CFLAGS-tst-auditmod4a.c): Likewise.
2486 [$(subdir) = elf && $(config-cflags-avx) = yes]
2487 (CFLAGS-tst-auditmod4b.c): Likewise.
2488 [$(subdir) = elf && $(config-cflags-avx) = yes]
2489 (CFLAGS-tst-auditmod6b.c): Likewise.
2490 [$(subdir) = elf && $(config-cflags-avx) = yes]
2491 (CFLAGS-tst-auditmod6c.c): Likewise.
2492 [$(subdir) = elf && $(config-cflags-avx) = yes]
2493 (CFLAGS-tst-auditmod7b.c): Likewise.
2494 * elf/tst-audit3.c: Move to ...
2495 * sysdeps/x86_64/tst-audit3.c: ... here.
2496 * elf/tst-audit4.c: Move to ...
2497 * sysdeps/x86_64/tst-audit4.c: ... here.
2498 * elf/tst-audit5.c: Move to ...
2499 * sysdeps/x86_64/tst-audit5.c: ... here.
2500 * elf/tst-audit6.c: Move to ...
2501 * sysdeps/x86_64/tst-audit6.c: ... here.
2502 * elf/tst-audit7.c: Move to ...
2503 * sysdeps/x86_64/tst-audit7.c: ... here.
2504 * elf/tst-auditmod3a.c: Move to ...
2505 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
2506 * elf/tst-auditmod3b.c: Move to ...
2507 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
2508 * elf/tst-auditmod4a.c: Move to ...
2509 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
2510 * elf/tst-auditmod4b.c: Move to ...
2511 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
2512 * elf/tst-auditmod5a.c: Move to ...
2513 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
2514 * elf/tst-auditmod5b.c: Move to ...
2515 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
2516 * elf/tst-auditmod6a.c: Move to ...
2517 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
2518 * elf/tst-auditmod6b.c: Move to ...
2519 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
2520 * elf/tst-auditmod6c.c: Move to ...
2521 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
2522 * elf/tst-auditmod7a.c: Move to ...
2523 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
2524 * elf/tst-auditmod7b.c: Move to ...
2525 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
2526
1ef74943
PP
25272013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
2528
2529 [BZ #15366]
2530 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
2531 define unconditionally.
2532 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
2533 define unconditionally.
2534 (INT8_C, INT16_C, etc.): Likewise.
2535
93fd48c5
MR
25362013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
2537
ae9552cf
MR
2538 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
2539 __ehdr_start with hidden visibility.
2540
93fd48c5
MR
2541 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
2542
418601aa
CD
25432013-04-24 Carlos O'Donell <carlos@redhat.com>
2544
2545 * math/libm-test.inc (cos_test): Use accurate hex constants.
2546 (sincost_test): Likewise.
2547
2f38fbfe
JM
25482013-04-24 Joseph Myers <joseph@codesourcery.com>
2549
5e221800
JM
2550 * math/libm-test.inc (catan_test): Add more tests.
2551 (catanh_test): Likewise.
2552
77f143fd
JM
2553 * math/s_catanf.c (__catanf): Use suffixed floating-point
2554 constants.
2555 * math/s_catanhf.c (__catanhf): Likewise.
2556 * math/s_catanhl.c (__catanhl): Likewise.
2557 * math/s_catanl.c (__catanl): Likewise.
2558
2f38fbfe
JM
2559 [BZ #15394]
2560 * math/s_catan.c (__catan): Calculate imaginary part of result
2561 with log1p not log unless computing log of number close to 0.
2562 * math/s_catanf.c (__catanf): Likewise.
2563 * math/s_catanl.c (__catanl): Likewise.
2564 * math/s_catanh.c (__catanh): Calculate real part of result with
2565 log1p not log unless computing log of number close to 0.
2566 * math/s_catanhf.c (__catanhf): Likewise.
2567 * math/s_catanhl.c (__catanhl): Likewise.
2568 * math/libm-test.inc (catan_test): Add more tests.
2569 (catanh_test): Likewise.
2570 * sysdeps/i386/fpu/libm-test-ulps: Update.
2571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2572
45d69176
SP
25732013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2574
2575 * benchtests/Makefile: Mention files in which fast and slow
2576 paths of math functions are implemented.
2577
87f51853
RM
25782013-04-23 Roland McGrath <roland@hack.frob.com>
2579
2580 * sysdeps/posix/timespec_get.c: New file.
2581
3c026539
AZ
25822013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2583
2584 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
2585 POWER.
2586 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
2587 for POWER.
2588 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
2589 powerpc/power5/fpu folders.
2590 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
2591 * benchtests/Makefile: Add modf testcase.
2592 * benchtests/bench-modf.c: New file: Benchmark test for mo
2593
ff491d14
SP
25942013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2595
2596 [BZ #14888]
2597 * time/Makefile (tests): Add tst-strptime-whitespace.
2598 * time/strptime_l.c (get_number): Use ISSPACE.
2599 (__strptime_internal): Likewise.
2600 * time/tst-strptime-whitespace.c: New test case.
2601
7ed3f4e8
AS
26022013-04-23 Andreas Schwab <schwab@linux-m68k.org>
2603
2604 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
2605 member.
2606 (_nss_files_init): Set it here.
2607
5c95f7b6
HC
26082013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
2609
2610 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
2611 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
2612 unsigned.
2613
d34c9158
JBG
26142013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
2615
2616 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
2617
2169712d
SP
26182013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2619
2620 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
2621 size just once.
2622
29c5de99
DM
26232013-04-21 David S. Miller <davem@davemloft.net>
2624
2625 * po/ru.po: Update Russion translation from translation project.
2626
ccdad15d
AC
26272013-04-17 Adam Conrad <adconrad@0c3.net>
2628
2629 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
2630 and setfsgid.
2631
0f122b8d
CD
26322013-04-17 Carlos O'Donell <carlos@redhat.com>
2633
5c5b07da 2634 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 2635 * configure: Regenerate.
5c5b07da 2636 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
2637 Add example to error message.
2638 * sysdeps/i386/configure: Regenerate.
2639
037714dd
SP
26402013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2641
2642 * benchtests/Makefile (bench): Add cos, tan, slowcos and
2643 slowtan.
2644 * benchtests/cos-inputs: New file.
2645 * benchtests/slowcos-inputs: New file.
2646 * benchtests/slowcos.c: New file.
2647 * benchtests/slowtan-inputs: New file.
2648 * benchtests/slowtan.c: New file.
2649 * benchtests/tan-inputs: New file.
2650
e913141d
RM
26512013-04-16 Roland McGrath <roland@hack.frob.com>
2652
2653 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
2654 considered kosher.
2655
a2964074
SP
26562013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2657
4856bcd2
SP
2658 * benchtests/Makefile: Include cppflags-iterator.mk to add
2659 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
2660
a2964074
SP
2661 * Makefile.in (bench-clean): New target.
2662 * benchtests/Makefile (bench-clean): Likewise.
2663
9fbf9aca
DH
26642013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
2665
2666 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
2667
207d1e2a
TS
26682013-04-15 Thomas Schwinge <thomas@codesourcery.com>
2669
2670 * stdio-common/tstdiomisc.c: Fix coding-style violation.
2671
306dfba9
AS
26722013-04-15 Andreas Schwab <schwab@suse.de>
2673
2674 * nscd/grpcache.c (cache_addgr): Properly check for short write.
2675 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2676 * nscd/pwdcache.c (cache_addpw): Likewise.
2677 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
2678 more than recsize.
2679
206a6699
SP
26802013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2681
2682 * benchtests/Makefile (bench): Write all output to
2683 bench-out.tmp together.
2684
0582f6b3
AS
26852013-04-15 Andreas Schwab <schwab@suse.de>
2686
2687 * nscd/nscd.c (main): Don't fork again after closing files.
2688
acb4325f
SP
26892013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2690
5cb26d0a
SP
2691 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
2692
acb4325f
SP
2693 * benchtests/Rules (bench-deps): Collect dependencies into a
2694 single variable. Add Makefile to dependencies.
2695 ($(objpfx)bench-%.c): Depend on bench-deps.
2696
47792506
RM
26972013-04-12 Roland McGrath <roland@hack.frob.com>
2698 Xavier Roche <roche+kml2@exalead.com>
2699
2700 [BZ #15361]
2701 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
2702 just that it's a file descriptor.
2703 * manual/llio.texi (Synchronizing AIO Operations): Update description
2704 for EBADF error from aio_fsync.
2705
8fc1bee5
SP
27062013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2707
2708 * Rules (bench): Move target definition...
2709 * benchtests/Makefile: ... here.
2710
aba5e333
CD
27112013-04-11 Carlos O'Donell <carlos@redhat.com>
2712
2713 * math/libm-test.inc (cos_test): Fix PI/2 test.
2714 (sincos_test): Likewise.
2715 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2716 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2717
273cdee8
AS
27182013-04-11 Andreas Schwab <schwab@suse.de>
2719
6ecec3b6
AS
2720 [BZ #13988]
2721 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
2722 accept exponent character only when digits were seen.
2723 * stdio-common/Makefile (tests): Add bug26.
2724 * stdio-common/bug26.c: New file.
2725
273cdee8
AS
2726 [BZ #14293]
2727 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
2728 non-freeable.
2729
8da491f5
SP
27302013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2731
01dc6df9
SP
2732 * Makeconfig (rtld-prefix): Define built linker prefix.
2733 * Rules (run-bench): Use it.
2734 * math/Makefile (run-regen-ulps): Likewise.
2735
8da491f5
SP
2736 * Rules (bench): Remove eval.
2737
abe7f530
SP
27382013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2739 Roland McGrath <roland@hack.frob.com>
2740 Ondrej Bilka <neleai@seznam.cz>
2741
2742 [BZ #15346]
2743 * time/getdate.c: Include ctype.h and alloca.h.
2744 (__getdate_r): Trim leading and trailing spaces of input.
2745 * time/tst-getdate.c (tests): Add tests with leading and
2746 trailing spaces.
2747
61c23e62
RM
27482013-04-08 Roland McGrath <roland@hack.frob.com>
2749
2750 [BZ #14280]
2751 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
2752 when computing value.
2753
7208a313
CD
27542013-04-06 Carlos O'Donell <carlos@redhat.com>
2755
085b2d41
CD
2756 * math/README.libm-test (How can I generate "libm-test-ulps"?):
2757 Use testrun.sh to run libm tests.
2758
7208a313
CD
2759 [BZ #15309]
2760 * elf/dl-open.c (dl_open_worker): memset all of seen array.
2761
872c0acd
MM
27622013-04-06 Marko Myllynen <myllynen@redhat.com>
2763
2764 [BZ #15264]
2765 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
2766
26510bdd
CD
27672013-04-06 Carlos O'Donell <carlos@redhat.com>
2768
2769 * Makefile.in (regen-ulps): New target.
2770 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
2771 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
2772 [ifneq (no,$(PERL)] (regen-ulps): New target.
2773 [ifeq (no,$(PERL)] (regen-ulps): New target.
2774 * math/libm-test.inc (ulps_file_name): Define.
2775 (output_dir): New variable.
2776 (options): Add "output-dir" option.
2777 (parse_opt): Handle 'o' case.
2778 (main): If output_dir is non-NULL use it as a prefix
2779 otherwise use "".
2780 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
2781
a01f19c8
CD
27822013-04-06 Carlos O'Donell <carlos@redhat.com>
2783
2784 [BZ #10060, #10062]
2785 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
2786 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
2787 fail configure if __sync_val_compare_and_swap is not inlined.
2788 * sysdeps/i386/configure: Regenerate.
2789 * configure.in: Build for i686 when configured for i386.
2790 * configure: Regenerate.
2791 * README: Remove i386 reference.
2792
b7a329a5
CD
27932013-04-06 Carlos O'Donell <carlos@redhat.com>
2794
2795 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
2796 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2797
bf0f50df
TS
27982013-04-05 Thomas Schwinge <thomas@codesourcery.com>
2799
ee091edf
TS
2800 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
2801 (lmsnanval): New variables.
2802 (F): Add conversion tests.
2803 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
2804 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
2805
a8b792d6
TS
2806 * stdio-common/tstdiomisc.c (F): Properly collect individual
2807 tests' results.
2808
a1cbf437
TS
2809 [BZ #14686, #15336]
2810 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
2811 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2812 Instead, use input NaN values or generate a qNaN by arithmetic
2813 operation. Also fix bugs to comply with the standard.
2814 * math/libm-test.inc (remainder_test): Add more tests.
2815
8b43a0c9
TS
2816 [BZ #15335, #15342]
2817 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
2818 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
2819 input NaN values or generate a qNaN by arithmetic operation.
2820
d91da4ce
TS
2821 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
2822 unreachable code.
2823
bf0f50df
TS
2824 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
2825 definitions.
2826
05e166c8
JM
28272013-04-03 Joseph Myers <joseph@codesourcery.com>
2828
2829 [BZ #14478]
2830 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
2831 underflowed result.
2832 * math/s_cexpf.c (__cexpf): Likewise.
2833 * math/s_cexpl.c (__cexpl): Likewise.
2834 * math/libm-test.inc (cexp_test): Add more tests.
2835
1cef1b19
AS
28362013-04-03 Andreas Schwab <schwab@suse.de>
2837
2838 [BZ #15330]
2839 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
2840 order arrays from heap if bigger than alloca cutoff.
2841
74d87055
TS
28422013-04-03 Thomas Schwinge <thomas@codesourcery.com>
2843
2844 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
2845 (SNAN_TESTS_double): Refer to GCC PR56831.
2846 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
2847 GCC PR56828.
2848
d755bba4
SP
28492013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2850
90d5d5bb
SP
2851 * Rules (bench): Move bench.out after the run is complete.
2852
73e0cd5d
SP
2853 * Rules (bench): Echo currently running benchmark.
2854
64aabd4b
SP
2855 * benchtests/Makefile (bench): Add atan and slowatan.
2856 * benchtests/atan-inputs: New file.
2857 * benchtests/slowatan-inputs: New file.
2858 * benchtests/slowatan.c: New file.
2859
c871eccd
SP
2860 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
2861 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
2862 its value.
2863
d755bba4
SP
2864 [BZ #15305]
2865 * sysdeps/unix/sysv/linux/kernel-features.h
2866 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
2867 __ASSUME_XFS_RESTRICTED_CHOWN.
2868 * sysdeps/unix/sysv/linux/pathconf.c
2869 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2870 Save and restore errno.
2871
52ce4860
JM
28722013-04-02 Joseph Myers <joseph@codesourcery.com>
2873
2874 [BZ #15327]
2875 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
2876 arguments using __kernel_casinh.
2877 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
2878 arguments using __kernel_casinhf.
2879 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
2880 arguments using __kernel_casinhl.
2881 * math/libm-test.inc (cacosh_test): Add more tests.
2882 * sysdeps/i386/fpu/libm-test-ulps: Update.
2883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2884
81f311c2
SP
28852013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2886
e7906a47
SP
2887 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
2888 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
2889
92e3664b
SP
2890 * bench/Makefile (bench): Add sin and slowsin.
2891 * benchtests/sin-inputs: New file.
2892 * benchtests/slowsin-inputs: New file.
2893 * benchtests/slowsin.c: New file.
2894
81f311c2
SP
2895 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
2896 (bench): Add slowexp and slowpow.
2897 (exp-ITER): Increase iterations.
2898 (pow-ITER): Likewise.
2899 * benchtests/exp-inputs: Change input.
2900 * benchtests/pow-inputs: Likewise.
2901 * benchtests/slowexp-inputs: New file.
2902 * benchtests/slowexp.c: New file.
2903 * benchtests/slowpow-inputs: New file.
2904 * benchtests/slowpow.c: New file.
2905
ab0f1aa9
AZ
29062013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2907
2908 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
2909 instructions.
2910 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2911 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2912 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2913 * benchtests/Makefile: Add rint benchtest.
2914 * benchtests/rint-inputs: Input for rint benchtest.
2915
57267616
TS
29162013-04-02 Thomas Schwinge <thomas@codesourcery.com>
2917
2918 * Versions.def (libm): Add GLIBC_2.18.
2919 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
2920 hidden libm prototypes.
2921 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
2922 * math/Makefile (libm-calls): Add s_issignaling.
2923 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
2924 __issignalingf, __issignalingl. Adjust all libm.abilist files.
2925 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
2926 declaration.
2927 * math/math.h [__USE_GNU] (issignaling): New macro.
2928 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
2929 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
2930 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
2931 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
2932 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2933 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
2934 * manual/arith.texi (issignaling): New section.
2935 * manual/libm-err-tab.pl (@all_functions): Update comment.
2936 * math/gen-libm-test.pl (parse_args): Apply special handling for
2937 issignaling.
2938 * math/libm-test.inc (print_float, issignaling_test): New
2939 functions.
2940 (check_float_internal): Add issignaling checks.
2941 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
2942 default definition.
2943 * sysdeps/powerpc/math-tests.h: New file.
2944 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
2945 tests.
2946 * math/test-snan.c (TEST_FUNC): Likewise.
2947
6142896d
DM
29482013-03-30 David S. Miller <davem@davemloft.net>
2949
2950 * po/de.po: Update from translation team.
2951
ccc8cadf
JM
29522013-03-30 Joseph Myers <joseph@codesourcery.com>
2953
2954 [BZ #10357]
2955 * math/k_casinh.c (__kernel_casinh): Handle arguments with
2956 imaginary part less than 1.0 and real part less than 0.5
2957 specially.
2958 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2959 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2960 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
2961 (cacos_test): Add more tests.
2962 (casin_test): Likewise.
2963 (casinh_test): Likewise.
2964 * sysdeps/i386/fpu/libm-test-ulps: Update.
2965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2966
0f6a8d4b
SP
29672013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2968
0d1029de
SP
2969 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
2970 ONE with its value.
2971
c2d94018
SP
2972 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
2973 (__pow_mp): Replace ONE and MONE with their values.
2974 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2975 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
2976 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2977 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
2978 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2979 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2980
27ec37f1
SP
2981 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
2982
a64d7e0e
SP
2983 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
2984 (__pow_mp): Replace ZERO and MZERO with their values.
2985 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
2986 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2987 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2988 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2989 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2990 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
2991 (__sqr): Likewise.
2992
d26dd3eb
SP
2993 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
2994
0f6a8d4b
SP
2995 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
2996
e57b0c61
RM
29972013-03-28 Roland McGrath <roland@hack.frob.com>
2998
2999 * include/stdlib.h [!SHARED] (__call_tls_dtors):
3000 Declare with __attribute__ ((weak)).
3001 * stdlib/exit.c (__libc_atexit) [!SHARED]:
3002 Call __call_tls_dtors only if it's not NULL.
3003
356b3480
RM
30042013-03-28 Roland McGrath <roland@hack.frob.com>
3005
288f7d79
RM
3006 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
3007 didn't do it already, then set _dl_phdr and _dl_phnum based on the
3008 magic __ehdr_start linker symbol if it's defined.
3009 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
3010 them up here if it was already done.
3011
dc0a0263
RM
3012 * elf/dl-support.c (_dl_phdr): Make pointer to const.
3013 (_dl_aux_init): Use const in cast when setting it.
3014 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
3015 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
3016 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
3017
3d3436ae
RM
3018 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
3019 Declare them here.
3020 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
3021 * csu/libc-tls.c: Nor here.
3022 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
3023
356b3480
RM
3024 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
3025 (__libc_message): Never call vsyslog.
3026
b0f1246a
AM
30272013-03-28 Alan Modra <amodra@gmail.com>
3028
3029 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
3030 Define as empty.
3031 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
3032 Likewise.
3033
fbbe2b9a
AZ
30342013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3035
3036 [BZ #15214]
3037 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
3038 underflow.
3039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3040
1728ab37
SP
30412013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3042
7a86be6e
SP
3043 [BZ #15304]
3044 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3045 Don't add gid passed as argument.
3046
1728ab37
SP
3047 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
3048
3a7182a1
JM
30492013-03-27 Joseph Myers <joseph@codesourcery.com>
3050
3051 [BZ #15307]
3052 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3053 imaginary part between 1.0 and 1.5 and real part less than 0.5
3054 specially.
3055 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3056 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3057 * math/libm-test.inc (cacos_test): Add more tests.
3058 (casin_test): Likewise.
3059 (casinh_test): Likewise.
3060 * sysdeps/i386/fpu/libm-test-ulps: Update.
3061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3062
6f2e90e7
SP
30632013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3064
5739f705
SP
3065 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
3066 constants.
3067 (norm): Likewise.
3068 (denorm): Likewise.
3069 (__dbl_mp): Likewise.
3070 (add_magnitudes): Likewise.
3071 (sub_magnitudes): Likewise.
3072 (__add): Likewise.
3073 (__sub): Likewise.
3074 (__mul): Likewise.
3075 (__sqr): Likewise.
3076 (__inv): Likewise.
3077 (__dvd): Likewise.
3078
e375e83d
SP
3079 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
3080 commented code.
3081 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
3082 (__dubcos): Likewise.
3083 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
3084 (__ieee754_acos): Likewise.
3085 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3086 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
3087 (__exp1): Likewise.
3088 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3089 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3090 (log1): Likewise.
3091 (my_log2): Likewise.
3092 (checkint): Likewise.
3093 * sysdeps/ieee754/dbl-64/e_remainder.c
3094 (__ieee754_remainder): Likewise.
3095 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3096 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3097 (bsloww): Likewise.
3098 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3099
6f2e90e7
SP
3100 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3101 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
3102 MANTISSA_STORE_T to store computations on mantissa. Use
3103 macros for rounding and division.
3104 (denorm): Likewise.
3105 (__dbl_mp): Likewise.
3106 (add_magnitudes): Likewise.
3107 (sub_magnitudes): Likewise.
3108 (__mul): Likewise.
3109 (__sqr): Likewise.
3110 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3111 powers of two in terms of TWOPOW macro.
3112 (mp_no): Make type of mantissa as MANTISSA_T.
3113 [!RADIXI]: Define RADIXI.
3114 [!TWO52]: Define TWO52.
3115 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3116
fce14d4e
AZ
31172013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3118
3119 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
3120 llroundl symbol when building for PPC32.
3121
9ad027fb
MW
31222013-03-24 Mark H Weaver <mhw@netris.org>
3123
3124 * manual/arith.texi (Normalization Functions): Fix prototypes for
3125 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
3126
e42a38dd
AZ
31272013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3128
3129 [BZ #13889]
3130 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
3131 high value to check if expl overflow.
3132 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
3133 to check for underflow and overflow.
3134 * math/libm-test.inc: Add exp test.
3135
2e0fb521
DL
31362013-03-21 Dmitry V. Levin <ldv@altlinux.org>
3137
3138 [BZ #11120]
3139 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
3140 with NOT_IN_libc.
3141
b5784d95
AZ
31422013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3143
3144 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
3145 symbol.
3146
5aa4a1a1
TS
31472013-03-21 Thomas Schwinge <thomas@codesourcery.com>
3148
bdef0be7
TS
3149 * math/gen-libm-test.pl (parse_args, special_functions): Properly
3150 wrap blocks consisting of several statements.
3151
5aa4a1a1
TS
3152 * sysdeps/generic/math-tests.h: New file.
3153 * sysdeps/i386/fpu/math-tests.h: Likewise.
3154 * math/test-snan.c: Include it.
3155 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
3156
98c48fe5
JM
31572013-03-21 Joseph Myers <joseph@codesourcery.com>
3158
3159 [BZ #15285]
3160 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
3161 (__ieee754_j0l): Do not improve calculations using cos of twice
3162 input for inputs above LDBL_MAX / 2.0L.
3163 (__ieee754_y0l): Likewise.
3164 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
3165 (__ieee754_j1l): Do not improve calculations using cos of twice
3166 input for inputs above LDBL_MAX / 2.0L.
3167 (__ieee754_y1l): Likewise.
3168 * math/libm-test.inc (j0_test): Add another test.
3169 (j1_test): Likewise.
3170 (y0_test): Likewise.
3171 (y1_test): Likewise.
3172 * sysdeps/i386/fpu/libm-test-ulps: Update.
3173
3775a8bc
SP
31742013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3175
3176 * Rules ($(objpfx)bench-%.c): Include code from a C source
3177 file.
3178
0a1b2ae6
JM
31792013-03-21 Joseph Myers <joseph@codesourcery.com>
3180
3181 [BZ #15287]
3182 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3183 imaginary part 1.0 and real part less than 0.5 specially.
3184 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3185 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3186 * math/libm-test.inc (cacos_test): Add more tests.
3187 (casin_test): Likewise.
3188 (casinh_test): Likewise.
3189 * sysdeps/i386/fpu/libm-test-ulps: Update.
3190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3191
b33d4ce4
SP
31922013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3193
3194 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
3195 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
3196
bef0b507
JM
31972013-03-20 Joseph Myers <joseph@codesourcery.com>
3198
3199 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
3200 * config.make.in (config-cflags-sse4): Remove variable.
3201 (config-cflags-avx): Likewise.
3202 (config-cflags-sse2avx): Likewise.
3203 (config-cflags-novzeroupper): Likewise.
3204 (config-asflags-i686): Likewise.
3205 (have-mfma4): Likewise.
3206 (have-as-vis3): Likewise.
3207 (MIG): Likewise.
3208 * configure.in (MIG): Do not AC_SUBST.
3209 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
3210 (libc_cv_cc_sse4): Do not AC_SUBST.
3211 (libc_cv_cc_avx): Likewise.
3212 (libc_cv_cc_sse2avx): Likewise.
3213 (libc_cv_cc_novzeroupper): Likewise.
3214 (libc_cv_cc_fma4): Likewise.
3215 (libc_cv_as_i686): Likewise.
3216 (libc_cv_sparc_as_vis3): Likewise.
3217 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
3218 LIBC_CONFIG_VAR.
3219 (config-asflags-i686): Likewise.
3220 (config-cflags-avx): Likewise.
3221 (config-cflags-sse2avx): Likewise.
3222 (have-mfma4): Likewise.
3223 (config-cflags-novzeroupper): Likewise.
3224 * sysdeps/mach/configure.in (MIG): Likewise.
3225 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
3226 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
3227 LIBC_CONFIG_VAR.
3228 (config-cflags-avx): Likewise.
3229 (config-cflags-sse2avx): Likewise.
3230 (have-mfma4): Likewise.
3231 (config-cflags-novzeroupper): Likewise.
3232 * configure: Regenerated.
3233 * sysdeps/i386/configure: Likewise.
3234 * sysdeps/mach/configure: Likewise.
3235 * sysdeps/sparc/configure: Likewise.
3236 * sysdeps/x86_64/configure: Likewise.
3237
912cc4b3
RM
32382013-03-20 Roland McGrath <roland@hack.frob.com>
3239
3240 [BZ #14812]
3241 * locale/programs/localedef.c (options): Put N_ translation marker
3242 on argument names, not just descriptions.
3243
04eed2b0
MS
32442013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3245
3246 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
3247
a065ceff
OB
32482013-03-20 Ondřej Bílka <neleai@seznam.cz>
3249
9bb2a810 3250 [BZ #14176]
a065ceff
OB
3251 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
3252
a600e5ce
RM
32532013-03-19 Roland McGrath <roland@hack.frob.com>
3254
3255 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
3256 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
3257 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
3258 [!BEFORE_ABORT] (before_abort): New function.
3259 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
3260 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
3261 (writev_for_fatal): New function.
3262 (WRITEV_FOR_FATAL): New macro; call that.
3263 (backtrace_and_maps): New function.
3264 (BEFORE_ABORT): New macro; call that.
3265 (struct str_list): Type removed.
3266 (__libc_message, __libc_fatal): Functions removed.
3267 Include <sysdeps/posix/libc_fatal.c> instead.
3268
6b18bea6
JM
32692013-03-19 Joseph Myers <joseph@codesourcery.com>
3270
3271 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
3272 constants.
3273 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
3274 double constants.
3275
aaa8cb4b
AS
32762013-03-19 Andreas Schwab <schwab@suse.de>
3277
44673770
AS
3278 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
3279 * sysdeps/gnu/configure: Regenerate.
3280
aaa8cb4b
AS
3281 * configure.in: Substitute libc_cv_rtlddir.
3282 * configure: Regenerate.
3283 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
3284 * Makeconfig (rtlddir, inst_rtlddir): New variables.
3285 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
3286 * elf/Makefile (install-others, CFLAGS-interp.c)
3287 (ldso_install, common-ldd-rewrite): Likewise.
3288 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
3289 $(inst_slibdir)/$(rtld-installed-name).
3290 * scripts/rellns-sh: Add -p option.
3291 * Makerules (make-shlib-link): Use rellns-sh to get relative name
3292 for source.
3293
d3cfc668
SP
32942013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3295
3296 * manual/nptl.texi: Renamed to ...
3297 * manual/threads.texi: ... this.
3298 * manual/Makefile (chapters): Update.
3299
0e2b9cdd
RM
33002013-03-18 Roland McGrath <roland@hack.frob.com>
3301
3302 [BZ #14812]
3303 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
3304 on argument names, not just descriptions.
0e2b9cdd
RM
3305 * malloc/memusagestat.c (options): Likewise.
3306 * nss/getent.c (options): Likewise.
63270c24
RM
3307
33082013-03-18 Benno Schulenberg <bensberg@justemail.net>
3309
3310 [BZ #14812]
3311 * iconv/iconv_prog.c (options): Put N_ translation marker
3312 on argument names, not just descriptions.
3313 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 3314
b2e1393c
OB
33152013-03-18 Ondrej Bilka <neleai@seznam.cz>
3316
3317 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
3318 implementation which is faster on all x86_64 architectures.
3319 Tested on AMD, Intel Nehalem, SNB, IVB.
3320 * sysdeps/x86_64/strnlen.S: Likewise.
3321
3322 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3323 Remove all multiarch strlen and strnlen versions.
3324 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
3325 Remove strlen and strnlen related parts.
3326
3327 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
3328 Inline strlen part.
3329 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3330
3331 * sysdeps/x86_64/multiarch/strlen.S: Remove.
3332 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
3333 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
3334 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
3335 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3336 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
3337
ec4ff04d
CD
33382013-03-17 Carlos O'Donell <carlos@redhat.com>
3339
3340 * manual/memory.texi (Malloc Tunable Parameters):
3341 Sort parameters alphabetically. Add comments for missing entries.
3342
cd18e90a
DM
33432013-03-17 David S. Miller <davem@davemloft.net>
3344
3345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3346
2a185d32
JM
33472013-03-16 Joseph Myers <joseph@codesourcery.com>
3348
d2f9799e
JM
3349 [BZ #15283]
3350 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
3351 for arguments at most half maximum finite value.
3352 * math/libm-test.inc (j0_test): Add more tests.
3353 (j1_test): Likewise.
3354 (y0_test): Likewise.
3355 (y1_test): Likewise.
3356 * sysdeps/i386/fpu/libm-test-ulps: Update.
3357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3358
2a185d32
JM
3359 [BZ #14155]
3360 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
3361 1 / x and functions P and Q for arguments above 0x1p256L.
3362 (__ieee754_y0l): Likewise.
3363 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
3364 (__ieee754_y1l): Likewise.
3365 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
3366 (j1_test): Likewise.
3367 (y0_test): Likewise.
3368 (y1_test): Likewise.
3369
6cbec759
TS
33702013-03-16 Thomas Schwinge <thomas@codesourcery.com>
3371
3372 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
3373 variable.
3374
bc16e260
RM
33752013-03-15 Roland McGrath <roland@hack.frob.com>
3376
aefc9b8c
RM
3377 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
3378 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
3379 zero since it's initialized to EXEC_PAGESIZE.
3380
bc16e260
RM
3381 * sysdeps/unix/sysv/linux/ldsodefs.h
3382 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
3383 * sysdeps/generic/ldsodefs.h: ... here.
3384
a57da955
TS
33852013-03-15 Thomas Schwinge <thomas@codesourcery.com>
3386
af00a34d
TS
3387 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
3388
495ded2c
TS
3389 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
3390 math/test-snan.c.
3391 * math/test-snan.c: Renamed from
3392 sysdeps/powerpc/fpu/test-powerpc-snan.c.
3393 * math/Makefile (tests): Add test-snan.
3394 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
3395 test-powerpc-snan.
3396
777b0332
TS
3397 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
3398 SUFFIX. Initialize qNaN_var with __builtin_nan family of
3399 functions.
3400 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
3401 __builtin_nan family of functions.
3402 * math/libm-test.inc (initialize): Initialize qnan_value with
3403 __builtin_nan family of functions.
3404 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
3405 Remove variables.
3406 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
3407 Remove functions.
3408 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
3409 storage class. Initialize qNaN_var and sNaN_var with
3410 __builtin_nan and __builtin_nans families of functions,
3411 respectively.
3412
64d063b8
TS
3413 * math/libm-test.inc (acosh_test): Also test with qNaN input.
3414 (sqrt_test): Remove duplicate test with qNaN input.
3415 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
3416 (round_test, signbit_test, significand_test): Note missing +/-Inf
3417 as well as qNaN tests.
3418
67e971f1
TS
3419 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
3420 qNaN_var. Fix a few strings, too.
3421 * math/libm-test.inc (nan_value): Rename to qnan_value.
3422 * math/gen-libm-test.pl (%beautify): Adjust to that.
3423 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
3424 * math/test-misc.c (main): Likewise.
3425 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
3426 to __qnan_bytes, and __qnan_union, respectively.
3427 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
3428 Likewise.
3429 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
3430 and lqnanval, respectively.
3431 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
3432 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
3433 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
3434 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
3435
64487e12
TS
3436 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
3437 * math/test-misc.c (main) [__x86_64__]: Enable test for long
3438 doubles.
3439
e015e27b
TS
3440 * math/test-misc.c (main): Fix copy'n'pastos.
3441 * misc/tst-efgcvt.c (special): Likewise.
3442
a57da955
TS
3443 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
3444 Remove declarations.
3445
1e380345
SP
34462013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3447
3448 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
3449 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
3450 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
3451 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
3452
ef26eece
AZ
34532013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3454
3455 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
3456 macro to return vdso values correctly in IFUNC implementations.
3457 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3458 Optimization by using IFUNC.
3459
8cfdb7e0
SP
34602013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3461 Richard Henderson <rth@redhat.com>
3462 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3463
3464 * Makefile.in (bench): New target.
3465 * NEWS: Mention the benchmark framework.
3466 * Rules (bench): Likewise.
3467 (binaries-bench): Generate binaries for functions to
3468 benchmark.
3469 * benchtests/Makefile: New makefile for benchmark tests.
3470 * benchtests/bench-skeleton.c: New skeleton file for benchmark
3471 programs.
3472 * benchtests/exp-inputs: New input file for EXP function.
3473 * benchtests/pow-inputs: New input file for POW function.
3474 * scripts/bench.pl: New script to generate source files for
3475 benchmark programs.
3476
bcda9880
SP
34772013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3478
d22ca8cd
SP
3479 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3480 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
3481 computations on mantissa. Use macros for rounding and
3482 division.
3483 (denorm): Likewise.
3484 (__dbl_mp): Likewise.
3485 (add_magnitudes): Likewise.
3486 (sub_magnitudes): Likewise.
3487 (__mul): Likewise.
3488 (__sqr): Likewise.
3489 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3490 powers of two in terms of TWOPOW macro.
3491 (mp_no): Make type of mantissa as MANTISSA_T.
3492 [!RADIXI]: Define RADIXI.
3493 [!TWO52]: Define TWO52.
3494 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3495
bcda9880
SP
3496 * manual/nptl.texi (cindex): Modify threads to pthreads.
3497
06d5adfb
JM
34982013-03-15 Joseph Myers <joseph@codesourcery.com>
3499
3500 * sysdeps/x86_64/preconfigure: Regenerated.
3501
41c7328e
JM
35022013-03-14 Joseph Myers <joseph@codesourcery.com>
3503
3504 [BZ #14155]
3505 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
3506 0x1p28 and above.
3507 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
3508 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
3509 0x1p28 and above.
3510 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
3511 * math/libm-test.inc (j0_test): Do not allow one spurious
3512 underflow exception.
3513 (y1_test): Likewise.
3514
e25cfa60
SP
35152013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3516
0409959c
SP
3517 * manual/Makefile (chapters): Add nptl.
3518 * manual/debug.texi (Debugging Support): Add link to Threads
3519 chapter.
3520 * manual/nptl.texi: New file.
3521
e25cfa60
SP
3522 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
3523
58a1335e
PB
35242013-03-14 Petr Baudis <pasky@ucw.cz>
3525
3526 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
3527 for non-NULL pointer before the memory validity test. Pointed
3528 out by Holger Brunck <holger.brunck@keymile.com>.
3529
9dc7c64f
AS
35302013-03-13 Andreas Schwab <schwab@suse.de>
3531
3532 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
3533 instead of .os.
3534
54206aa6
JM
35352013-03-13 Joseph Myers <joseph@codesourcery.com>
3536
3537 * timezone/zic.c: Update from tzcode 2013b.
3538
e98cdb38
CD
35392013-03-12 Carlos O'Donell <carlos@redhat.com>
3540
3541 * manual/install.texi (Configuring and compiling):
3542 Mention i686 and i586.
3543 * INSTALL: Regenerate.
3544
9967e003
RM
35452013-03-12 Roland McGrath <roland@hack.frob.com>
3546
3547 * sysdeps/init_array/elf-init.c: New file.
3548 * csu/elf-init.c
3549 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
3550 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
3551
3552 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
3553 __gmon_start__ as global, but as static with a .preinit_array pointer.
3554 * sysdeps/init_array/gmon-start.c: New file. Use that.
3555 * sysdeps/init_array/crti.S: New file, empty except for comments.
3556 * sysdeps/init_array/crtn.S: Likewise.
3557
e6b5a293 35582013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
3559
3560 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
3561 definining bcopy.
80f844c9
OB
3562 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3563 Remove Prefer_SSE_for_memop.
3564 * sysdeps/x86_64/multiarch/init-arch.h: Remove
3565 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
3566 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
3567 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3568 memset-x86-64.
80f844c9 3569 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 3570 Remove bzero, memset ifunc support.
80f844c9
OB
3571 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
3572 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
3573 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3574 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3575
fb6b0fcb
AS
35762013-03-11 Andreas Schwab <schwab@suse.de>
3577
3578 [BZ #15234]
3579 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
3580 by SHLIB_COMPAT.
3581 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
3582 (GLIBC_2.16): Remove pthread_atfork.
3583
3e6bd4b1
PP
35842013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3585
3586 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
3587 (ptestcases.h): Likewise.
3588
222d7f00
RM
35892013-03-08 Roland McGrath <roland@hack.frob.com>
3590
3591 * Makeconfig ($(common-objpfx)config.status): Depend on
3592 sysdeps/*/preconfigure{,.in} too.
3593
1ba4f030
JM
35942013-03-08 Joseph Myers <joseph@codesourcery.com>
3595
a222d91a
JM
3596 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
3597 (__free_hook): Use void * instead of __malloc_ptr_t.
3598 (__malloc_hook): Likewise.
3599 (__realloc_hook): Likewise.
3600 (__memalign_hook): Likewise.
3601 (__after_morecore_hook): Likewise.
3602 * malloc/arena.c (save_malloc_hook): Likewise.
3603 (save_free_hook): Likewise.
3604 * malloc/hooks.c (malloc_hook_ini): Likewise.
3605 (realloc_hook_ini): Likewise.
3606 (memalign_hook_ini): Likewise.
3607 * malloc/malloc.c (malloc_hook_ini): Likewise.
3608 (realloc_hook_ini): Likewise.
3609 (memalign_hook_ini): Likewise.
3610 (__free_hook): Likewise.
3611 (__malloc_hook): Likewise.
3612 (__realloc_hook): Likewise.
3613 (__memalign_hook): Likewise.
3614 (__libc_malloc): Likewise.
3615 (__libc_free): Likewise.
3616 (__libc_realloc): Likewise.
3617 (__libc_memalign): Likewise.
3618 (__libc_valloc): Likewise.
3619 (__libc_pvalloc): Likewise.
3620 (__libc_calloc): Likewise.
3621 (__posix_memalign): Likewise.
3622 * malloc/morecore.c (__sbrk): Likewise.
3623 (__default_morecore): Likewise.
3624
5cc45e10
JM
3625 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
3626
dd54b864
JM
3627 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
3628 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
3629 __malloc_ptrdiff_t.
3630
1ba4f030
JM
3631 * malloc/malloc.h (__malloc_size_t): Remove macro.
3632 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
3633 __malloc_size_t.
3634 (old_memalign_hook): Likewise.
3635 (old_realloc_hook): Likewise.
3636 (struct hdr): Likewise.
3637 (flood): Likewise.
3638 (mallochook): Likewise.
3639 (memalignhook): Likewise.
3640 (reallochook): Likewise.
3641 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
3642 (tr_old_realloc_hook): Likewise.
3643 (tr_old_memalign_hook): Likewise.
3644 (tr_mallochook): Likewise.
3645 (tr_reallochook): Likewise.
3646 (tr_memalignhook): Likewise.
3647
edf66e57
AZ
36482013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3649
3650 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
3651 default_ldbl_pack and using as default implementation.
3652 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
3653 implementation.
3654 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
3655 redundant definition.
3656 (ldbl_insert_mantissa): Likewise.
3657 (ldbl_canonicalize): Likewise.
3658 (ldbl_nearbyint): Likewise.
3659 (ldbl_pack): Rename to ldbl_pack_ppc.
3660 (ldbl_unpack): Rename to ldbl_unpack_ppc.
3661 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
3662 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
3663
6d9145d8
SP
36642013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3665
3666 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
3667 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
3668 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
3669 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
3670 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
3671 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
3672 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
3673 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
3674
4dd4e157
AJ
36752013-03-07 Andreas Jaeger <aj@suse.de>
3676
3677 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3678 bits/mman-linux.h.
3679
adbb8027
SP
36802013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3681
ce544b5b
SP
3682 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
3683 Include mpa.h and declare __MPEXP.
3684 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
3685 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3686 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3687 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
3688 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3689 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3690 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
3691
4cc149fd
SP
3692 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
3693 (__slowpow): Use long double EXPL and LOGL functions to
3694 compute POW.
3695 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3696 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3697 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
3698 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3699 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3700 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
3701
e6ebd4a7
SP
3702 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
3703 intermediate variable to calculate exponent.
3704 (__sqr): Likewise.
3705 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3706 Likewise.
3707 (__sqr): Likewise.
3708
82a9811d
SP
3709 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
3710 [!NO__SQR]: Define __sqr.
3711 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
3712 and NO__SQR. Remove all code except __mul and __sqr. Include
3713 sysdeps/ieee754/dbl-64/mpa.c.
3714 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3715
adbb8027
SP
3716 [BZ #12723]
3717 * posix/Makefile (tests): Add tst-pathconf.
3718 * posix/tst-pathconf.c: New test case.
3719 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
3720 _PC_PIPE_BUF.
3721 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
3722
39120df9
PF
37232013-03-06 Patsy Franklin <pfrankli@redhat.com>
3724
3725 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
3726
67525cb8
AJ
37272013-03-06 Andreas Jaeger <aj@suse.de>
3728
664a9ce4
AJ
3729 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
3730 definition via __MAP_ANONYMOUS.
3731
8e39047d
AJ
3732 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
3733 it's not part of Linux headers.
3734
67525cb8
AJ
3735 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
3736 (MAP_HUGE_MASK): Define.
3737
3738 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3739 Define.
3740 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3741 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3742 Define.
3743 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3744 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3745 Define.
3746 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3747 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
3748 Define.
3749 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3750
3751 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
3752 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
3753 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
3754 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
3755 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
3756 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
3757
3758 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
3759 Handle f2fs.
3760
3761 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3762 Handle f2fs and efivarfs.
3763
3764 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
3765 f2fs.
3766
3767 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
3768 (EFIVARFS_MAGIC): Add.
3769 (F2FS_LINK_MAX): Add.
3770
e1b42695
PP
37712013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3772
3773 * stdio-common/vfprintf.c: Replace __builtin_expect with
3774 __glibc_unlikely.
3775
2d67d91a
JM
37762013-03-06 Joseph Myers <joseph@codesourcery.com>
3777
3778 [BZ #13550]
3779 * sysdeps/generic/bp-sym.h: Remove file.
3780 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
3781 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
3782 <bp-sym.h> and <bp-asm.h>.
3783 (__longjmp): Don't use BP_SYM.
3784 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
3785 and <bp-asm.h>.
3786 (memcpy): Don't use BP_SYM.
3787 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
3788 <bp-sym.h> and <bp-asm.h>.
3789 (memcpy): Don't use BP_SYM.
3790 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
3791 <bp-asm.h>.
3792 (memcpy): Don't use BP_SYM.
3793 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
3794 <bp-asm.h>.
3795 (memset): Don't use BP_SYM.
3796 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3797 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3798 (__bzero): Don't use BP_SYM.
3799 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3800 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3801 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
3802 <bp-sym.h> and <bp-asm.h>.
3803 (memcmp): Don't use BP_SYM. Remove comment about bounded
3804 pointers.
3805 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
3806 <bp-sym.h> and <bp-asm.h>.
3807 (memcpy): Don't use BP_SYM.
3808 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
3809 <bp-sym.h> and <bp-asm.h>.
3810 (memset): Don't use BP_SYM.
3811 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3812 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3813 (__bzero): Don't use BP_SYM.
3814 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3815 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3816 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
3817 <bp-sym.h> and <bp-asm.h>.
3818 (strncmp): Don't use BP_SYM. Remove comment about bounded
3819 pointers.
3820 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
3821 <bp-sym.h> and <bp-asm.h>.
3822 (memcpy): Don't use BP_SYM.
3823 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
3824 <bp-sym.h> and <bp-asm.h>.
3825 (memset): Don't use BP_SYM.
3826 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3827 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3828 (__bzero): Don't use BP_SYM.
3829 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3830 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3831 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
3832 <bp-sym.h> and <bp-asm.h>.
3833 (__memchr): Don't use BP_SYM.
3834 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
3835 <bp-sym.h> and <bp-asm.h>.
3836 (memcmp): Don't use BP_SYM. Remove comment about bounded
3837 pointers.
3838 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
3839 <bp-sym.h> and <bp-asm.h>.
3840 (memcpy): Don't use BP_SYM.
3841 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
3842 <bp-sym.h> and <bp-asm.h>.
3843 (__mempcpy): Don't use BP_SYM.
3844 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
3845 <bp-sym.h> and <bp-asm.h>.
3846 (__memrchr): Don't use BP_SYM.
3847 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
3848 <bp-sym.h> and <bp-asm.h>.
3849 (memset): Don't use BP_SYM.
3850 (__bzero): Likewise.
3851 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
3852 <bp-sym.h> and <bp-asm.h>.
3853 (__rawmemchr): Don't use BP_SYM.
3854 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
3855 <bp-sym.h> and <bp-asm.h>.
3856 (__STRCMP): Don't use BP_SYM.
3857 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
3858 <bp-sym.h> and <bp-asm.h>.
3859 (strchr): Don't use BP_SYM.
3860 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
3861 <bp-sym.h> and <bp-asm.h>.
3862 (__strchrnul): Don't use BP_SYM.
3863 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
3864 <bp-sym.h> and <bp-asm.h>.
3865 (strlen): Don't use BP_SYM.
3866 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
3867 <bp-sym.h> and <bp-asm.h>.
3868 (strncmp): Don't use BP_SYM. Remove comment about bounded
3869 pointers.
3870 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
3871 <bp-sym.h> and <bp-asm.h>.
3872 (__strnlen): Don't use BP_SYM.
3873 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
3874 <bp-sym.h> and <bp-asm.h>.
3875 (__GI__setjmp): Don't use BP_SYM.
3876 (_setjmp): Likewise.
3877 (__sigsetjmp): Likewise.
3878 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
3879 (L(start_addresses)): Don't use BP_SYM.
3880 (_start): Likewise.
3881 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
3882 <bp-asm.h>.
3883 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
3884 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
3885 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3886 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3887 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
3888 <bp-asm.h>.
3889 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
3890 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
3891 about bounded pointers.
3892 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3893 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3894 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
3895 <bp-asm.h>.
3896 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3897 about bounded pointers. Remove GKM FIXME comments.
3898 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3899 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
3900 <bp-asm.h>.
3901 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
3902 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
3903 Remove GKM FIXME comments.
3904 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3905 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3906 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
3907 <bp-asm.h>.
3908 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3909 about bounded pointers. Remove GKM FIXME comment.
3910 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
3911 and <bp-asm.h>.
3912 (strncmp): Don't use BP_SYM. Remove comment about bounded
3913 pointers.
3914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
3915 <bp-sym.h> and <bp-asm.h>.
3916 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
3917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
3918 <bp-sym.h> and <bp-asm.h>.
3919 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
3920 comment.
3921
cdcf361f
PP
39222013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3923
3924 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
3925 call free(NULL).
3926
3c4a2b15
DM
39272013-03-05 David S. Miller <davem@davemloft.net>
3928
3929 * po/es.po: Update from translation team.
3930
cdcf361f 39312013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
3932
3933 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
3934 <bits/mman-linux.h>.
3935 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3936 is fine.
3937 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
3938 <bits/mman-linux.h> to end of file.
3939 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3940 is fine.
3941 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
3942 <bits/mman-linux.h> to end of file.
3943 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3944 is fine.
3945 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
3946 <bits/mman-linux.h> to end of file.
3947
3948 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
3949 (MCL_CURRENT, MCL_FUTURE): Define here.
3950
5f67c04f
AK
39512013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3952
8a4473cc 3953 [BZ #15232]
5f67c04f
AK
3954 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
3955 attribute_hidden.
3956 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3957
c3e94a95
AK
39582013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3959
3960 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
3961 fourth parameter needed for rt_sigprocmask syscall.
3962 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3963 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3964 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3965 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3966 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3967 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
3968
cfb6382a
JM
39692013-03-04 Joseph Myers <joseph@codesourcery.com>
3970
3971 [BZ #13550]
3972 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
3973 comment about bounded pointers.
3974 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
3975 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
3976
539d8e01
AJ
39772013-03-04 Andreas Jaeger <aj@suse.de>
3978
3979 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
3980 common definitions.
3981
3982 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
3983 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
3984 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
3985 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3986 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
3987 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3988
2e167a70 39892013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
3990
3991 [BZ #15055]
3992 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3993 __ieee754_sqrl instead of __sqrl.
3994
68508633
JM
39952013-03-01 Joseph Myers <joseph@codesourcery.com>
3996
3997 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
3998 * sysdeps/powerpc/fpu_control.h: ... here.
3999 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
4000 * sysdeps/powerpc/bits/fenvinline.h: ... here.
4001 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
4002 * sysdeps/powerpc/bits/mathinline.h: ... here.
4003
7775448e
RM
40042013-03-01 Roland McGrath <roland@hack.frob.com>
4005
4006 * elf/dl-hwcaps.c (_dl_important_hwcaps):
4007 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
4008 to just [NEED_DL_SYSINFO_DSO].
4009 * elf/dl-support.c: Likewise.
4010 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4011 * elf/rtld.c (dl_main): Likewise.
4012 * elf/setup-vdso.h (setup_vdso): Likewise.
4013 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
4014 * sysdeps/unix/sysv/linux/dl-sysdep.c
4015 (_dl_discover_osversion): Likewise.
4016
4e9b5995
CD
40172013-03-01 Carlos O'Donell <carlos@redhat.com>
4018
4019 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
4020 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4021
e23872c8
SP
40222013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4023
e5c74c63
SP
4024 * NEWS: Mention libm performance improvements and non-x86 PI
4025 futex support.
4026
e23872c8
SP
4027 * csu/libc-start.c (__pthread_initialize_minimal): Change
4028 function arguments.
4029 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4030
b5510883
JM
40312013-02-28 Joseph Myers <joseph@codesourcery.com>
4032
4033 [BZ #13550]
4034 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
4035 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
4036 <bp-sym.h> and <bp-asm.h>.
4037 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4038 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
4039 and <bp-asm.h>.
4040 (memcpy): Don't use BP_SYM.
4041 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
4042 <bp-asm.h>.
4043 (__mpn_add_n): Don't use BP_SYM.
4044 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
4045 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
4046 and <bp-asm.h>.
4047 (__mpn_addmul_1): Don't use BP_SYM.
4048 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4049 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
4050 <bp-sym.h>.
4051 (_setjmp): Don't use BP_SYM.
4052 (__novmx_setjmp): Likewise.
4053 (__GI__setjmp): Likewise.
4054 (__vmx_setjmp): Likewise.
4055 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
4056 <bp-sym.h>.
4057 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
4058 (__bzero): Don't use BP_SYM.
4059 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4060 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4061 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
4062 <bp-sym.h> and <bp-asm.h>.
4063 (memcpy): Don't use BP_SYM.
4064 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
4065 <bp-sym.h> and <bp-asm.h>.
4066 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4067 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
4068 <bp-sym.h> and <bp-asm.h>.
4069 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4070 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
4071 <bp-asm.h>.
4072 (__mpn_lshift): Don't use BP_SYM.
4073 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4074 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
4075 <bp-asm.h>.
4076 (memset): Don't use BP_SYM.
4077 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4078 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4079 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
4080 <bp-asm.h>.
4081 (__mpn_mul_1): Don't use BP_SYM.
4082 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4083 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
4084 <bp-sym.h> and <bp-asm.h>.
4085 (memcmp): Don't use BP_SYM.
4086 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
4087 <bp-sym.h> and <bp-asm.h>.
4088 (memcpy): Don't use BP_SYM.
4089 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
4090 <bp-sym.h> and <bp-asm.h>.
4091 (memset): Don't use BP_SYM.
4092 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
4093 <bp-sym.h> and <bp-asm.h>.
4094 (strncmp): Don't use BP_SYM.
4095 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
4096 <bp-sym.h> and <bp-asm.h>.
4097 (memcpy): Don't use BP_SYM.
4098 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
4099 <bp-sym.h> and <bp-asm.h>.
4100 (memset): Don't use BP_SYM.
4101 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
4102 <bp-sym.h> and <bp-asm.h>.
4103 (__memchr): Don't use BP_SYM.
4104 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
4105 <bp-sym.h> and <bp-asm.h>.
4106 (memcmp): Don't use BP_SYM.
4107 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
4108 <bp-sym.h> and <bp-asm.h>.
4109 (memcpy): Don't use BP_SYM.
4110 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
4111 <bp-sym.h> and <bp-asm.h>.
4112 (__mempcpy): Don't use BP_SYM.
4113 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
4114 <bp-sym.h> and <bp-asm.h>.
4115 (__memrchr): Don't use BP_SYM.
4116 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
4117 <bp-sym.h> and <bp-asm.h>.
4118 (memset): Don't use BP_SYM.
4119 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
4120 <bp-sym.h> and <bp-asm.h>.
4121 (__rawmemchr): Don't use BP_SYM.
4122 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
4123 <bp-sym.h> and <bp-asm.h>.
4124 (__STRCMP): Don't use BP_SYM.
4125 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
4126 <bp-sym.h> and <bp-asm.h>.
4127 (strchr): Don't use BP_SYM.
4128 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
4129 <bp-sym.h> and <bp-asm.h>.
4130 (__strchrnul): Don't use BP_SYM.
4131 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
4132 <bp-sym.h> and <bp-asm.h>.
4133 (strlen): Don't use BP_SYM.
4134 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
4135 <bp-sym.h> and <bp-asm.h>.
4136 (strncmp): Don't use BP_SYM.
4137 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
4138 <bp-sym.h> and <bp-asm.h>.
4139 (__strnlen): Don't use BP_SYM.
4140 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
4141 <bp-asm.h>.
4142 (__mpn_rshift): Don't use BP_SYM.
4143 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4144 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
4145 <bp-sym.h> and <bp-asm.h>.
4146 (__sigsetjmp): Don't use BP_SYM.
4147 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
4148 (L(start_addresses)): Don't use BP_SYM.
4149 (_start): Likewise.
4150 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
4151 <bp-asm.h>.
4152 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
4153 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4154 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4155 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
4156 <bp-asm.h>.
4157 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
4158 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4159 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4160 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
4161 <bp-asm.h>.
4162 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4163 comments.
4164 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4165 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
4166 <bp-asm.h>.
4167 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
4168 FIXME comments.
4169 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4170 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4171 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
4172 <bp-asm.h>.
4173 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4174 comment.
4175 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
4176 and <bp-asm.h>.
4177 (strncmp): Don't use BP_SYM,
4178 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
4179 <bp-asm.h>.
4180 (__mpn_sub_n): Don't use BP_SYM.
4181 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4182 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
4183 and <bp-asm.h>.
4184 (__mpn_submul_1): Don't use BP_SYM.
4185 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
4187 <bp-sym.h> and <bp-asm.h>.
4188 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
4190 <bp-sym.h> and <bp-asm.h>.
4191 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4192 comment.
4193
8d19fe64
SP
41942013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4195
4196 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
4197 Use ZK to minimize writes to Z.
4198 (sub_magnitudes): Simplify code a bit.
4199 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
4200 Use ZK to minimize writes to Z.
4201 (sub_magnitudes): Simplify code a bit.
4202
85bd816a
RM
42032013-02-27 Roland McGrath <roland@hack.frob.com>
4204
4205 * csu/gmon-start.c: Add special exception to license text.
4206
b5977bf2
RH
42072013-02-27 Richard Henderson <rth@redhat.com>
4208
4209 * scripts/config.guess: Update from config.git.
4210 * scripts/config.sub: Likewise.
4211
11d6e2f2
SP
42122013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4213
09c14ed2
SP
4214 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
4215
a688864e
SP
4216 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
4217
6295157a
SP
4218 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
4219
b8de2202
SP
4220 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
4221
11d6e2f2
SP
4222 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
4223
7e80ddb8
RM
42242013-02-26 Roland McGrath <roland@hack.frob.com>
4225
4226 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
4227 [$(build-shared = yes].
7e80ddb8 4228
7da6d9ed
SP
42292013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4230
45f05884
SP
4231 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
4232 (__mul): Reduce iterations for calculating mantissa.
4233
2236d359
SP
4234 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
4235 MPTWO.
4236 (__mpranred): Likewise.
4237
7da6d9ed
SP
4238 [BZ #15160]
4239 * malloc/memusagestat.c (main): Draw graphs for heap and stack
4240 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
4241
b7688c42
PE
42422013-02-26 Paul Eggert <eggert@cs.ucla.edu>
4243
4244 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
4245 Define __attribute__.
4246
53a5c423
SP
42472013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4248
4249 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
4250 unused.
4251 * posix/regex_internal.h (__attribute): Remove.
4252 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
4253 (re_string_context_at): Likewise.
4254 (bitset_not): Use __attribute__ and mark function as possibly
4255 unused.
4256 (bitset_merge): Likewise.
4257 (bitset_mask): Likewise.
4258 (re_string_char_size_at): Likewise.
4259 (re_string_wchar_at): Likewise.
4260 (re_string_elem_size_at): Likewise.
4261
60f5a8b5
SP
42622013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4263
2a983a2e
SP
4264 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
4265 code.
4266 (cc32): Likewise.
4267
e69804d1
SP
4268 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
4269 (__acr): Likewise.
4270 (__cpy): Likewise.
4271 (norm): Likewise.
4272 (denorm): Likewise.
4273 (__dbl_mp): Likewise.
4274 (add_magnitudes): Likewise.
4275 (sub_magnitudes): Likewise.
4276 (__mul): Likewise.
4277 (__inv): Likewise.
4278
2f22a1e8
SP
4279 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
4280 style.
4281
8930ddc7
SP
4282 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
4283 style.
4284
dc60cb11
SP
4285 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
4286 code.
4287
60f5a8b5
SP
4288 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
4289 up changes with default code.
4290 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
4291 Likewise.
4292
b4d1fd33
AM
42932013-02-24 Allan McRae <allan@archlinux.org>
4294
faf6f8bc
AM
4295 * manual/socket.texi (The Internet Namespace): Order menu items
4296 to match that in the file.
4297
b4d1fd33
AM
4298 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
4299 node listing of the info page menu.
4300
2366713d
JM
43012013-02-21 Joseph Myers <joseph@codesourcery.com>
4302
4303 [BZ #13550]
4304 * sysdeps/i386/bp-asm.h: Remove file.
4305 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4306 (PARMS): Do not use macros from bp-asm.h.
4307 (S1): Likewise.
4308 (S2): Likewise.
4309 (SIZE): Likewise.
4310 (__mpn_add_n): Do not use BP_SYM
4311 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
4312 "bp-asm.h".
4313 (PARMS): Do not use macros from bp-asm.h.
4314 (S1): Likewise.
4315 (SIZE): Likewise.
4316 (__mpn_addmul_1): Do not use BP_SYM
4317 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
4318 "bp-asm.h".
4319 (PARMS): Do not use macros from bp-asm.h.
4320 (SIGMSK): Likewise.
4321 (_setjmp): Likewise. Do not use BP_SYM.
4322 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
4323 "bp-asm.h".
4324 (PARMS): Do not use macros from bp-asm.h.
4325 (SIGMSK): Likewise.
4326 (setjmp): Likewise. Do not use BP_SYM.
4327 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
4328 "bp-asm.h".
4329 (PARMS): Do not use macros from bp-asm.h.
4330 (__frexp): Do not use BP_SYM.
4331 (frexp): Likewise.
4332 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
4333 "bp-asm.h".
4334 (PARMS): Do not use macros from bp-asm.h.
4335 (__frexpf): Do not use BP_SYM.
4336 (frexpf): Likewise.
4337 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
4338 "bp-asm.h".
4339 (PARMS): Do not use macros from bp-asm.h.
4340 (__frexpl): Do not use BP_SYM.
4341 (frexpl): Likewise.
4342 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
4343 "bp-asm.h".
4344 (PARMS): Do not use macros from bp-asm.h.
4345 (__remquo): Do not use BP_SYM.
4346 (remquo): Likewise.
4347 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
4348 "bp-asm.h".
4349 (PARMS): Do not use macros from bp-asm.h.
4350 (__remquof): Do not use BP_SYM.
4351 (remquof): Likewise.
4352 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
4353 "bp-asm.h".
4354 (PARMS): Do not use macros from bp-asm.h.
4355 (__remquol): Do not use BP_SYM.
4356 (remquol): Likewise.
4357 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
4358 "bp-asm.h".
4359 (PARMS): Do not use macros from bp-asm.h.
4360 (DEST): Likewise.
4361 (SRC): Likewise.
4362 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
4363 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
4364 "bp-asm.h".
4365 (PARMS): Do not use macros from bp-asm.h.
4366 (strlen): Do not use BP_SYM.
4367 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
4368 "bp-asm.h".
4369 (PARMS): Do not use macros from bp-asm.h.
4370 (S1): Likewise.
4371 (S2): Likewise.
4372 (SIZE): Likewise.
4373 (__mpn_add_n): Do not use BP_SYM.
4374 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
4375 "bp-asm.h".
4376 (PARMS): Do not use macros from bp-asm.h.
4377 (S1): Likewise.
4378 (SIZE): Likewise.
4379 (__mpn_addmul_1): Do not use BP_SYM.
4380 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
4381 weak_alias.
4382 (bzero): Likewise.
4383 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
4384 "bp-asm.h".
4385 (PARMS): Do not use macros from bp-asm.h.
4386 (S): Likewise.
4387 (SIZE): Likewise.
4388 (__mpn_lshift): Do not use BP_SYM.
4389 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
4390 "bp-asm.h".
4391 (PARMS): Do not use macros from bp-asm.h.
4392 (DEST): Likewise.
4393 (SRC): Likewise.
4394 (LEN): Likewise.
4395 (memcpy): Likewise. Do not use BP_SYM.
4396 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
4397 libc_hidden_def and weak_alias.
4398 (mempcpy): Do not use BP_SYM in weak_alias.
4399 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
4400 "bp-asm.h".
4401 (PARMS): Do not use macros from bp-asm.h.
4402 (DEST): Likewise.
4403 (LEN): Likewise.
4404 [!BZERO_P] (CHR): Likewise.
4405 (memset): Likewise. Do not use BP_SYM.
4406 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
4407 "bp-asm.h".
4408 (PARMS): Do not use macros from bp-asm.h.
4409 (S1): Likewise.
4410 (SIZE): Likewise.
4411 (__mpn_mul_1): Do not use BP_SYM.
4412 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
4413 "bp-asm.h".
4414 (PARMS): Do not use macros from bp-asm.h.
4415 (S): Likewise.
4416 (SIZE): Likewise.
4417 (__mpn_rshift): Do not use BP_SYM.
4418 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
4419 "bp-asm.h".
4420 (PARMS): Do not use macros from bp-asm.h.
4421 (STR): Likewise.
4422 (CHR): Likewise.
4423 (strchr): Likewise. Do not use BP_SYM.
4424 (index): Do not use BP_SYM in weak_alias.
4425 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
4426 "bp-asm.h".
4427 (PARMS): Do not use macros from bp-asm.h.
4428 (DEST): Likewise.
4429 (SRC): Likewise.
4430 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
4431 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
4432 "bp-asm.h".
4433 (PARMS): Do not use macros from bp-asm.h.
4434 (strlen): Do not use BP_SYM.
4435 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
4436 "bp-asm.h".
4437 (PARMS): Do not use macros from bp-asm.h.
4438 (S1): Likewise.
4439 (S2): Likewise.
4440 (SIZE): Likewise.
4441 (__mpn_sub_n): Do not use BP_SYM.
4442 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
4443 "bp-asm.h".
4444 (PARMS): Do not use macros from bp-asm.h.
4445 (S1): Likewise.
4446 (SIZE): Likewise.
4447 (__mpn_submul_1): Do not use BP_SYM.
4448 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
4449 "bp-asm.h".
4450 (PARMS): Do not use macros from bp-asm.h.
4451 (S1): Likewise.
4452 (S2): Likewise.
4453 (SIZE): Likewise.
4454 (__mpn_add_n): Do not use BP_SYM.
4455 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
4456 weak_alias.
4457 (bzero): Likewise.
4458 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
4459 "bp-asm.h".
4460 (PARMS): Do not use macros from bp-asm.h.
4461 (BLK2): Likewise.
4462 (LEN): Likewise.
4463 (memcmp): Do not use BP_SYM.
4464 (bcmp): Do not use BP_SYM in weak_alias.
4465 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
4466 "bp-asm.h".
4467 (PARMS): Do not use macros from bp-asm.h.
4468 (DEST): Likewise.
4469 (SRC): Likewise.
4470 (LEN): Likewise.
4471 (memcpy): Likewise. Do not use BP_SYM.
4472 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
4473 "bp-asm.h".
4474 (PARMS): Do not use macros from bp-asm.h.
4475 (DEST): Likewise.
4476 (SRC): Likewise.
4477 (LEN): Likewise.
4478 (memmove): Likewise. Do not use BP_SYM.
4479 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
4480 "bp-asm.h".
4481 (PARMS): Do not use macros from bp-asm.h.
4482 (DEST): Likewise.
4483 (SRC): Likewise.
4484 (LEN): Likewise.
4485 (__mempcpy): Likewise. Do not use BP_SYM.
4486 (mempcpy): Do not use BP_SYM in weak_alias.
4487 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
4488 "bp-asm.h".
4489 (PARMS): Do not use macros from bp-asm.h.
4490 (DEST): Likewise.
4491 (LEN): Likewise.
4492 [!BZERO_P] (CHR): Likewise.
4493 (memset): Likewise. Do not use BP_SYM.
4494 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
4495 "bp-asm.h".
4496 (PARMS): Do not use macros from bp-asm.h.
4497 (STR2): Likewise.
4498 (strcmp): Do not use BP_SYM.
4499 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
4500 "bp-asm.h".
4501 (PARMS): Do not use macros from bp-asm.h.
4502 (STR): Likewise.
4503 (DELIM): Likewise.
4504 [USE_AS_STRTOK_R] (SAVE): Likewise.
4505 (FUNCTION): Likewise. Do not use BP_SYM.
4506 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
4507 aliases.
4508 (strtok_r): Likewise.
4509 (__GI___strtok_r): Likewise.
4510 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4511 (PARMS): Do not use macros from bp-asm.h.
4512 (S): Likewise.
4513 (SIZE): Likewise.
4514 (__mpn_lshift): Do not use BP_SYM.
4515 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4516 (PARMS): Do not use macros from bp-asm.h.
4517 (STR): Likewise.
4518 (CHR): Likewise.
4519 (__memchr): Do not use BP_SYM.
4520 (memchr): Do not use BP_SYM in weak_alias.
4521 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4522 (PARMS): Do not use macros from bp-asm.h.
4523 (BLK2): Likewise.
4524 (LEN): Likewise.
4525 (memcmp): Do not use BP_SYM.
4526 (bcmp): Do not use BP_SYM in weak_alias.
4527 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
4528 (PARMS): Do not use macros from bp-asm.h.
4529 (S1): Likewise.
4530 (SIZE): Likewise.
4531 (__mpn_mul_1): Do not use BP_SYM.
4532 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
4533 "bp-asm.h".
4534 (PARMS): Do not use macros from bp-asm.h.
4535 (STR): Likewise.
4536 (CHR): Likewise.
4537 (__rawmemchr): Do not use BP_SYM.
4538 (rawmemchr): Do not use BP_SYM in weak_alias.
4539 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4540 (PARMS): Do not use macros from bp-asm.h.
4541 (S): Likewise.
4542 (SIZE): Likewise.
4543 (__mpn_rshift): Do not use BP_SYM.
4544 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4545 (PARMS): Do not use macros from bp-asm.h.
4546 (SIGMSK): Likewise.
4547 (__sigsetjmp): Likewise. Do not use BP_SYM.
4548 * sysdeps/i386/start.S: Do not include "bp-sym.h".
4549 (_start): Do not use BP_SYM.
4550 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
4551 (PARMS): Do not use macros from bp-asm.h.
4552 (DEST): Likewise.
4553 (SRC): Likewise.
4554 (__stpcpy): Likewise. Do not use BP_SYM.
4555 (stpcpy): Do not use BP_SYM in weak_alias.
4556 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
4557 "bp-asm.h".
4558 (PARMS): Do not use macros from bp-asm.h.
4559 (DEST): Likewise.
4560 (SRC): Likewise.
4561 (LEN): Likewise.
4562 (__stpncpy): Likewise. Do not use BP_SYM.
4563 (stpncpy): Do not use BP_SYM in weak_alias.
4564 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4565 (PARMS): Do not use macros from bp-asm.h.
4566 (STR): Likewise.
4567 (CHR): Likewise.
4568 (strchr): Likewise. Do not use BP_SYM.
4569 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
4570 "bp-asm.h".
4571 (PARMS): Do not use macros from bp-asm.h.
4572 (STR): Likewise.
4573 (CHR): Likewise.
4574 (__strchrnul): Likewise. Do not use BP_SYM.
4575 (strchrnul): Do not use BP_SYM in weak_alias.
4576 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
4577 "bp-asm.h".
4578 (PARMS): Do not use macros from bp-asm.h.
4579 (STOP): Likewise.
4580 (strcspn): Do not use BP_SYM.
4581 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
4582 "bp-asm.h".
4583 (PARMS): Do not use macros from bp-asm.h.
4584 (STR): Likewise.
4585 (STOP): Likewise.
4586 (strpbrk): Likewise. Do not use BP_SYM.
4587 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
4588 "bp-asm.h".
4589 (PARMS): Do not use macros from bp-asm.h.
4590 (STR): Likewise.
4591 (CHR): Likewise.
4592 (strrchr): Likewise. Do not use BP_SYM.
4593 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
4594 (PARMS): Do not use macros from bp-asm.h.
4595 (SKIP): Likewise.
4596 (strspn): Do not use BP_SYM.
4597 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
4598 (PARMS): Do not use macros from bp-asm.h.
4599 (STR): Likewise.
4600 (DELIM): Likewise.
4601 (SAVE): Likewise.
4602 (FUNCTION): Likewise. Do not use BP_SYM.
4603 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
4604 aliases.
4605 (strtok_r): Likewise.
4606 (__GI___strtok_r): Likewise.
4607 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4608 (PARMS): Do not use macros from bp-asm.h.
4609 (S1): Likewise.
4610 (S2): Likewise.
4611 (SIZE): Likewise.
4612 (__mpn_sub_n): Do not use BP_SYM.
4613 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
4614 "bp-asm.h".
4615 (PARMS): Do not use macros from bp-asm.h.
4616 (S1): Likewise.
4617 (SIZE): Likewise.
4618 (__mpn_submul_1): Do not use BP_SYM.
4619 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
4620 <bp-sym.h>.
4621 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
4622 and <bp-asm.h>.
4623 (PARMS): Do not use macros from bp-asm.h.
4624 (FLAGS): Likewise.
4625 (PTID): Likewise.
4626 (TLS): Likewise.
4627 (CTID): Likewise.
4628 (__clone): Do not use BP_SYM.
4629 (clone): Do not use BP_SYM in weak_alias.
4630 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
4631 and <bp-asm.h>.
4632 (PARMS): Do not use macros from bp-asm.h.
4633 (LEN): Likewise.
4634 (__mmap64): Do not use BP_SYM.
4635 (mmap64): Do not use BP_SYM in weak_alias.
4636 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4637 <bp-sym.h> and <bp-asm.h>.
4638 (PARMS): Do not use macros from bp-asm.h.
4639 (__posix_fadvise64_l64): Do not use BP_SYM.
4640 * sysdeps/unix/sysv/linux/i386/semtimedop.S
4641 (PARMS): Do not use macros from bp-asm.h.
4642 (NSOPS): Likewise.
4643 (semtimedop): Do not use BP_SYM.
4644 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
4645 and <bp-asm.h>.
4646
582a3cff
AM
46472013-02-21 Allan McRae <allan@archlinux.org>
4648
4649 * manual/message.texi (Charset conversion in gettext):
4650 Move @end statement to beginning of line.
4651
bab8a695
SP
46522013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4653
80945231
SP
4654 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
4655 static.
4656 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4657 Likewise.
4658
bab8a695
SP
4659 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
4660 (denorm): Likewise.
4661 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
4662 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
4663
e21d7aa7
AK
46642013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4665
4666 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
4667 tail-call to the resolved function if pltexit isn't needed.
4668
4c7a4263
SP
46692013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4670
4671 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
4672 or Y being zero as being unlikely.
4673 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4674 Likewise.
4675
41f49342
CD
46762013-02-20 Carlos O'Donell <carlos@redhat.com>
4677
4678 * manual/nss.texi (System Databases and Name Service Switch):
4679 Remove frobnicate @pxref.
4680
50022a93
TS
46812013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4682
4683 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4684 __attribute__ ((unused)) to __attribute__ ((__unused__)).
4685
08cbd996
PM
46862013-02-20 Petr Machata <pmachata@redhat.com>
4687
4688 * elf/elf.h (R_ARM_TARGET1): New macro.
4689 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
4690 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
4691 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
4692 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
4693 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
4694 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
4695 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
4696 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
4697 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
4698 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
4699 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
4700 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
4701 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
4702 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
4703 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
4704 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
4705 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
4706 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
4707 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
4708 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
4709 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
4710 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
4711 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
4712 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
4713 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
4714 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
4715 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
4716 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
4717 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
4718 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
4719 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
4720 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
4721 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
4722 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
4723 (R_ARM_THM_GOT_BREL12): Likewise.
4724 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
4725 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
4726 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
4727 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
4728 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
4729 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
4730 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
4731 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
4732 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
4733
c7b275d6
TS
47342013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4735
4736 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4737 __attribute_used__ to __attribute__ ((unused)).
4738
20cd7fb3
SP
47392013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4740
4741 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
4742 powerpc mpa.c.
4743 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
4744 comment formatting.
4745 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
4746
92945b52
JM
47472013-02-19 Joseph Myers <joseph@codesourcery.com>
4748
4749 [BZ #13550]
4750 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
4751 Remove macro.
4752 (ENTER): Remove both macro definitions.
4753 (LEAVE): Likewise.
4754 (CHECK_BOUNDS_LOW): Likewise.
4755 (CHECK_BOUNDS_HIGH): Likewise.
4756 (CHECK_BOUNDS_BOTH): Likewise.
4757 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
4758 (RETURN_BOUNDED_POINTER): Likewise.
4759 (RETURN_NULL_BOUNDED_POINTER): Likewise.
4760 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
4761 (POP_ERRNO_LOCATION_RETURN): Likewise.
4762 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
4763 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4764 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
4765 macros.
4766 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4767 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
4768 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
4769 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
4770 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
4771 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
4772 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
4773 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
4774 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
4775 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
4776 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
4777 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
4778 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4779 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
4780 removed macros.
4781 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4782 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
4783 macros.
4784 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4785 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
4786 * sysdeps/i386/i586/memset.S (memset): Likewise.
4787 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
4788 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4789 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
4790 macros.
4791 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4792 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
4793 Change uses of L(2) to L(out).
4794 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
4795 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
4796 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
4797 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4798 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
4799 removed macros.
4800 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4801 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
4802 macros.
4803 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4804 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
4805 (RETURN): Do not use macro LEAVE.
4806 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
4807 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
4808 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
4809 * sysdeps/i386/i686/memset.S (memset): Likewise.
4810 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
4811 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
4812 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4813 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
4814 Likewise.
4815 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4816 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
4817 L(1_2) and L(1_3) into L(1).
4818 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4819 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
4820 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4821 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
4822 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4823 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
4824 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
4825 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4826 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
4827 macros.
4828 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
4829 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4830 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
4831 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
4832 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
4833 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4834 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
4835 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
4836 * sysdeps/i386/strcspn.S (strcspn): Likewise.
4837 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
4838 * sysdeps/i386/strrchr.S (strrchr): Likewise.
4839 * sysdeps/i386/strspn.S (strspn): Likewise.
4840 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
4841 conditional code.
4842 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4843 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
4844 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4845 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
4846 L(1_3) into L(1_1).
4847 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
4848 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4849 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
4850 macros.
4851 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4852
2389741a
JJ
48532013-02-19 Jakub Jelinek <jakub@redhat.com>
4854
4855 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
4856 macro.
4857
2016b3cd
SP
48582013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4859
e4f22324
SP
4860 * math/atest-exp.c (exp_mpn): Remove ROUND.
4861 * math/atest-exp2.c (exp_mpn): Likewise.
4862 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
4863
2016b3cd
SP
4864 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
4865 * stdlib/tst-tls-atexit-lib.c: Likewise.
4866 * stdlib/tst-tls-atexit.c: Likewise.
4867
4be9b544
MF
48682013-02-18 Mike Frysinger <vapier@gentoo.org>
4869
4870 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
4871 and __attribute_alloc_size__.
4872
2f62b9ee
MF
48732013-02-18 Mike Frysinger <vapier@gentoo.org>
4874
4875 * include/programs/xmalloc.h: Change __attribute_alloc_size to
4876 __attribute_alloc_size__.
4877 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
4878 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
4879
6ff444c4
MF
48802013-02-18 Mike Frysinger <vapier@gentoo.org>
4881
4882 * include/programs/xmalloc.h: New file.
4883 * catgets/gencat.c: Include it.
4884 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
4885 * elf/pldd.c: Likewise.
4886 * iconv/iconv_charmap.c: Likewise.
4887 * iconv/iconvconfig.c: Likewise.
4888 * iconv/strtab.c: Likewise.
4889 * locale/programs/locale.c: Likewise.
4890 * locale/programs/localedef.h: Likewise.
4891 * locale/programs/simple-hash.c: Likewise.
4892 * nscd/nscd.h: Likewise.
4893 * nss/makedb.c: Likewise.
4894 * sysdeps/generic/ldconfig.h: Likewise.
4895
be179c8a
SP
48962013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4897
ba384f6e
SP
4898 * Versions.def: Add GLIBC_2.18.
4899 * include/link.h (struct link_map): New member l_tls_dtor_count.
4900 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
4901 (__call_tls_dtors): Likewise.
4902 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
4903 __cxa_thread_atexit_impl.
4904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4905 Likewise.
4906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4907 Likewise.
4908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4909 Likewise.
4910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4911 Likewise.
4912 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
4914 Likewise.
4915 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
4916 Likewise.
4917 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4919 Likewise.
4920 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
4921 (tests): Add test case tst-tls-atexit.
4922 (modules-names): Add shared library for tst-tls-atexit.
4923 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
4924 (GLIBC_PRIVATE): Add __call_tls_dtors.
4925 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
4926 for libstdc++.
4927 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
4928 * stdlib/tst-tls-atexit.c: New test case.
4929 * stdlib/tst-tls-atexit-lib.c: New test case.
4930
ffaa74cf 4931 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 4932
be179c8a
SP
4933 * elf/Versions (ld): Add _dl_find_dso_for_object.
4934 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
4935 * elf/dl-open.c (_dl_find_dso_for_object): New function.
4936 (dl_open_worker): Use _dl_find_dso_for_object.
4937 * elf/dl-sym.c (do_sym): Likewise.
4938 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
4939
f78b5caa
AK
49402013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4941
4942 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
4943 Syntactic changes only.
4944 (_dl_runtime_profile): Do a tail-call to the resolved function.
4945
29691210
JM
49462013-02-17 Joseph Myers <joseph@codesourcery.com>
4947
4948 [BZ #13550]
4949 * sysdeps/x86_64/bp-asm.h: Remove file.
4950 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
4951 <bp-sym.h> and <bp-asm.h>.
4952 (__clone): Do not use BP_SYM.
4953 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
4954 <bp-sym.h> and <bp-asm.h>.
4955 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4956 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
4957 "bp-asm.h".
4958 (_setjmp): Do not use BP_SYM.
4959 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
4960 "bp-asm.h".
4961 (setjmp): Do not use BP_SYM.
4962 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
4963 libc_hidden_def.
4964 (mempcpy): Do not use BP_SYM in weak_alias.
4965 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
4966 "bp-asm.h".
4967 (strchr): Do not use BP_SYM.
4968 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
4969 "bp-asm.h".
4970 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
4971 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
4972 (_start): Do not use BP_SYM.
4973 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
4974 "bp-asm.h".
4975 (strcat): Do not use BP_SYM.
4976 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
4977 "bp-asm.h".
4978 (STRCMP): Do not use BP_SYM.
4979 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
4980 "bp-asm.h".
4981 (STRCPY): Do not use BP_SYM.
4982 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
4983 "bp-asm.h".
4984 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
4985 "bp-asm.h".
4986 (FUNCTION): Do not use BP_SYM.
4987 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
4988 weak_alias.
4989 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
4990
f238fd19
AJ
49912013-02-17 Andreas Jaeger <aj@suse.de>
4992
4993 * time/Versions: Sort entries.
4994 * string/Versions: Likewise.
4995 * resolv/Versions: Likewise.
4996 * posix/Versions: Likewise.
4997 * iconv/Versions: Likewise.
4998 * elf/Versions: Likewise.
4999 * wcsmbs/Versions: Likewise.
5000
bd07f23c 50012013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 5002
22af19f9
SP
5003 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
5004 loop termination condition.
5005
4709fe76
SP
5006 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
5007 variable to calculate EZ.
5008 (__sqr): Likewise.
2d0e0f29
SP
5009
5010 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
5011 the lower precision input.
5012
daaa7713
JM
50132013-02-15 Joseph Myers <joseph@codesourcery.com>
5014
5015 [BZ #13550]
5016 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
5017 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
5018 (run-via-rtld-prefix): Do not handle %-bp tests.
5019 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
5020 (all-object-suffixes): Remove .ob.
5021 (bppfx): Remove variable.
5022 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
5023 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
5024 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
5025 [$(build-bounded) = yes] (libtype.ob): Likewise.
5026 * Makerules (elide-routines.ob): Remove variable.
5027 (do-tests-clean): Do not handle *-bp.out.
5028 (common-mostlyclean): Do not handle *-bp and *-bp.out.
5029 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
5030 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
5031 (tests): Do not include $(tests-bp.out).
5032 (xtests): Do not include $(xtests-bp.out).
5033 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
5034 [$(build-bounded) = yes] ($(addprefix
5035 $(objpfx),$(binaries-bounded))): Remove rule.
5036 ($(objpfx)%-bp.out): Remove rule.
5037 * config.make.in (build-bounded): Remove variable.
5038 * crypt/Makefile [$(build-bounded) = yes]
5039 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
5040 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
5041 append to variable.
5042 [$(build-bounded) = yes] (install-lib): Likewise.
5043 [$(build-bounded) = yes] (generated): Likewise.
5044 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
5045 Remove rule.
5046 * intl/Makefile [$(build-bounded) = yes]
5047 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
5048 * math/Makefile [$(build-bounded) = yes]
5049 ($(tests:%=$(objpfx)%-bp): Likewise.
5050 * misc/Makefile [$(build-bounded) = yes]
5051 ($(objpfx)tst-tsearch-bp): Likewise.
5052 * nptl/Makeconfig (bounded-thread-library): Remove variable.
5053 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
5054 Remove dependency.
5055 * string/Makefile (o-objects.ob): Remove variable.
5056 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
5057 (CFLAGS-.ob): Remove variable.
5058 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
5059 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
5060 both definitions of variable.
5061 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
5062 (ASFLAGS-.ob): Remove variable.
5063
e97ed6dd
JM
50642013-02-14 Joseph Myers <joseph@codesourcery.com>
5065
2bdd4ca6
JM
5066 [BZ #13550]
5067 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
5068 Remove __BOUNDED_POINTERS__ from condition.
5069 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
5070 * string/bits/string2.h [!__NO_STRING_INLINES &&
5071 !__BOUNDED_POINTERS__]: Likewise.
5072 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
5073 Likewise.
5074 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
5075 Remove conditional code.
5076 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
5077 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
5078 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
5079 condition.
5080
e97ed6dd
JM
5081 [BZ #13550]
5082 * csu/libc-start.c: Do not include <bp-sym.h>.
5083 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
5084 * elf/dl-open.c: Do not include <bp-sym.h>.
5085 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
5086 * math/fegetenv.c: Do not include <bp-sym.h>.
5087 (fegetenv): Do not use BP_SYM in versioned symbols.
5088 * nptl/sysdeps/pthread/bits/libc-lockP.h
5089 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
5090 <bp-sym.h>.
5091 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5092 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
5093 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5094 (__pthread_mutex_destroy): Likewise.
5095 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5096 (__pthread_mutex_lock): Likewise.
5097 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5098 (__pthread_mutex_trylock): Likewise.
5099 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5100 (__pthread_mutex_unlock): Likewise.
5101 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5102 (__pthread_mutexattr_init): Likewise.
5103 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5104 (__pthread_mutexattr_destroy): Likewise.
5105 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5106 (__pthread_mutexattr_settype): Likewise.
5107 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5108 (__pthread_rwlock_init): Likewise.
5109 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5110 (__pthread_rwlock_destroy): Likewise.
5111 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5112 (__pthread_rwlock_rdlock): Likewise.
5113 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5114 (__pthread_rwlock_tryrdlock): Likewise.
5115 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5116 (__pthread_rwlock_wrlock): Likewise.
5117 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5118 (__pthread_rwlock_trywrlock): Likewise.
5119 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5120 (__pthread_rwlock_unlock): Likewise.
5121 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5122 (__pthread_key_create): Likewise.
5123 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5124 (__pthread_setspecific): Likewise.
5125 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5126 (__pthread_getspecific): Likewise.
5127 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
5128 Likewise.
5129 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5130 (_pthread_cleanup_push_defer): Likewise.
5131 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5132 (_pthread_cleanup_pop_restore): Likewise.
5133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5134 (pthread_setcancelstate): Likewise.
5135 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
5136 <bp-sym.h>.
5137 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
5138 (memchr): Do not use BP_SYM in weak_alias.
5139 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
5140 (fegetenv): Do not use BP_SYM in versioned symbols.
5141 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
5142 (fesetenv): Do not use BP_SYM in versioned symbols.
5143 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5144 (feupdateenv): Do not use BP_SYM in versioned symbols.
5145 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5146 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5147 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
5148 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
5149 (open64): Do not use BP_SYM in weak_alias.
5150 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
5151 (fegetenv): Do not use BP_SYM in versioned symbols.
5152 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
5153 (fesetenv): Do not use BP_SYM in versioned symbols.
5154 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5155 (feupdateenv): Do not use BP_SYM in versioned symbols.
5156 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
5157 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
5158 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
5159 (feraiseexcept): Do not use BP_SYM in versioned symbols.
5160 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5161 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5162 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
5163 <bp-sym.h>.
5164 (__libc_start_main): Do not use BP_SYM.
5165
d6752ccd
SP
51662013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5167
cb57ce60
SP
5168 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
5169 redundant return line.
5170 (norm): Likewise.
5171 (denorm): Likewise.
5172 (dbl_mp): Likewise.
5173 (sub_magnitudes): Likewise.
5174 (__add): Likewise.
5175 (__sub): Likewise.
5176 (__mul): Likewise.
5177 (__inv): Likewise.
5178 (__dvd): Likewise.
5179 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
5180 (norm): Likewise.
5181 (denorm): Likewise.
5182 (dbl_mp): Likewise.
5183 (sub_magnitudes): Likewise.
5184 (__add): Likewise.
5185 (__sub): Likewise.
5186 (__mul): Likewise.
5187 (__inv): Likewise.
5188 (__dvd): Likewise.
5189
f414520d
SP
5190 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
5191 instead of __mul.
5192 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5193 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
5194 (cc32): Likewise.
5195
d6752ccd
SP
5196 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
5197 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
5198 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
5199 of __mul for squares.
5200 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
5201 function
5202 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
5203 Likewise.
5204 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
5205 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5206
70d9946a
JM
52072013-02-13 Joseph Myers <joseph@codesourcery.com>
5208
5209 [BZ #13550]
5210 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
5211 code.
5212 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
5213 prototype or function definition. Rename ubp_* variables and
5214 parameters. Remove argv definitions conditional on
5215 [__BOUNDED_POINTERS__].
5216 * debug/backtrace.c (__backtrace): Do not use __unbounded.
5217 * elf/dl-runtime.c (_dl_fixup): Likewise.
5218 * include/set-hooks.h (RUN_HOOK): Likewise.
5219 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
5220 definition.
5221 * string/strcpy.c (strcpy): Do not use __unbounded.
5222 * sysdeps/generic/frame.h (struct layout): Likewise.
5223 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
5224 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
5225 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
5226 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
5227 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
5228 (__backtrace): Likewise.
5229 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
5230 use __ptrvalue.
5231 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5232 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5233 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5234 Likewise.
5235 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
5236 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
5237 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5238 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5239 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
5240 Do not use __unbounded.
5241 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
5242 Rename __unboundedrlimits parameter to rlimits in prototype.
5243 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
5244 Do not use __unbounded.
5245 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
5246 not use __ptrvalue.
5247 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5248 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
5249 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5250 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
5251 __ptrvalue or __unbounded.
5252 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
5253 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
5254 use __unbounded.
5255 (__new_msgctl): Do not use __ptrvalue.
5256 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
5257 __unbounded.
5258 (__libc_msgrcv): Do not use __ptrvalue.
5259 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
5260 startup_info): Do not use __unbounded.
5261 (__libc_start_main): Likewise. Rename ubp_* variables and
5262 parameters. Remove argv definitions conditional on
5263 [__BOUNDED_POINTERS__].
5264 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
5265 __ptrvalue.
5266 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
5267 use __unbounded.
5268 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
5269 or __ptrvalue.
5270 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
5271 use __unbounded.
5272 (__new_shmctl): Do not use __ptrvalue.
5273 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5274 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5275 Likewise.
5276 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5277 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
5278 (__libc_sigaction): Likewise.
5279 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
5280 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
5281 Likewise.
5282 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5283
cc7834d6
OB
52842013-02-13 Ondřej Bílka <neleai@seznam.cz>
5285
ffb1ec7b 5286 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
5287
5288 * string/mempcpy.c: Implement by calling memcpy.
5289
bdf02814
SP
52902013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5291
c2af38aa
SP
5292 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
5293
4e92d59e
SP
5294 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
5295 evaluation.
5296
909279a5
SP
5297 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
5298 values in the mantissa.
5299
bdf02814
SP
5300 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
5301 minimize writes to Z.
5302 (sub_magnitudes): Simplify code a bit.
5303
cd525923
RM
53042013-02-12 Roland McGrath <roland@hack.frob.com>
5305
5306 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
5307 from the message. The linker prefixes all warnings with that already.
5308
7e2f0d2d
AS
53092013-02-12 Andreas Schwab <schwab@suse.de>
5310
a445af0b
AS
5311 [BZ #15078]
5312 * posix/regexec.c (extend_buffers): Add parameter min_len.
5313 (check_matching): Pass minimum needed length.
5314 (clean_state_log_if_needed): Likewise.
5315 (get_subexp): Likewise.
5316 * posix/Makefile (tests): Add bug-regex34.
5317 (bug-regex34-ENV): Define.
5318 * posix/bug-regex34.c: New file.
5319
7e2f0d2d
AS
5320 [BZ #11561]
5321 * posix/regcomp.c (parse_bracket_exp): When looking up collating
5322 elements compare against the byte sequence of it, not its name.
5323 * posix/Makefile (tests): Add bug-regex35.
5324 (bug-regex35-ENV): Define.
5325 * posix/bug-regex35.c: New file.
5326
a175b684
TV
53272013-02-11 Tom de Vries <tom@codesourcery.com>
5328
5329 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
5330 comment.
5331 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
5332 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
5333 (CHECK_EOL): Add undef.
5334
310998fe 53352013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
5336
5337 * bits/stdlib-bsearch.h: New file.
5338 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 5339 * stdlib/stdlib.h: Likewise.
41eda41d 5340
8ded91fb
RM
53412013-02-11 Roland McGrath <roland@hack.frob.com>
5342
5343 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
5344 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
5345 declaration.
5346 * manual/search.texi (Array Search Function): Add missing const in
5347 lfind prototype.
5348 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
5349 declaration to use rlim_t.
5350 (Basic Scheduling Functions): Remove erroneous const from
5351 sched_getparam prototype. Remove erroneous * from
5352 sched_get_priority_max and sched_get_priority_min prototypes.
5353 (Resource Usage): Fix summary @comment on vtimes to refer to
5354 sys/vtimes.h rather than vtimes.h.
5355 Add missing *s in vtimes prototype.
5356 (Limits on Resources): Fix ulimit prototype to return long int.
5357 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
5358 prototypes to use long int rather than double.
5359 (BSD Random): Fix initstate and setstate to use char *, not void *.
5360 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
5361 prototype to make second argument 'struct aiocb64 *const[]'.
5362 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
5363 (Status of AIO Operations): Remove erroneous const in aio_return and
5364 aio_return64 prototypes.
5365 (Synchronizing I/O): Fix sync prototype to return void.
5366 * manual/startup.texi (Suboptions): Remove an erroneous const in
5367 getsubopt prototype.
5368 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
5369 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
5370 use size_t rather than int.
5371 (Scanning All Users): Likewise for getpwent_r.
5372 (Setting Groups): Add missing const to setgroups prototype.
5373 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
5374 * manual/socket.texi (Host Names): Fix gethostbyaddr and
5375 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
5376 'const void *' rather than 'const char *'.
5377 (Host Address Functions): Likewise for inet_ntop.
5378 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
5379 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
5380 ssize_t for return value.
5381 (Sending Data): Likewise for send, sendto, sendmsg.
5382 (Socket Option Functions): Add a missing const in setsockopt prototype.
5383 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
5384 use wchar_t for the argument.
5385 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
5386 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
5387 take no arguments.
5388 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
5389 double/float/long double for second argument.
5390 Fix return types of significand, significandf, significandl.
5391 * manual/filesys.texi (Setting Permissions): Use mode_t for second
5392 argument in fchmod prototype.
5393 (File Owner): Use uid_t and gid_t in fchown prototype.
5394 (File Times): Add const to utimes, futimes, and lutimes prototypes.
5395 (Making Special Files): Use mode_t and dev_t in mknod prototype.
5396 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
5397 use 'const struct dirent **' as argument types to CMP function pointer
5398 argument.
5399 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
5400 (File Times): Fix summary magic @comment for struct utimbuf and utime
5401 to refer to utime.h, not time.h.
5402 * manual/string.texi (Argz Functions): Add missing const in
5403 argz_extract and argz_next prototypes.
5404 (Finding Tokens in a String): Likewise for basename.
5405 (String/Array Comparison): Fix typo in wcscasecmp prototype.
5406 (Copying and Concatenation): Fix typo in wmemmove prototype.
5407 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
5408 (Signal Stack): Remove erroneous const in sigstack prototype.
5409 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
5410 prototype.
5411 (Simple Calendar Time): Likewise for stime.
5412 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
5413 prototype.
5414 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
5415 say sys/sysctl.h instead.
5416 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
5417 and vsyslog prototypes.
5418
fe77fe6d
TV
54192013-02-11 Tom de Vries <tom@codesourcery.com>
5420
5421 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
5422 Remove.
5423
3a09b620
RM
54242013-02-11 Roland McGrath <roland@hack.frob.com>
5425
5426 * misc/sys/mman.h: Fix typo in mremap comment.
5427
550a0b89
RM
54282013-02-08 Roland McGrath <roland@hack.frob.com>
5429
5430 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
5431 the '\0' terminator.
5432
a2da1673
JM
54332013-02-08 Joseph Myers <joseph@codesourcery.com>
5434
5435 [BZ #13550]
5436 * debug/segfault.c: Don't include <bp-checks.h>.
5437 * sysdeps/generic/bp-checks.h: Remove file.
5438 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
5439 (__GETDENTS): Don't use CHECK_N.
5440 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
5441 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5442 (__getgroups): Don't use CHECK_N.
5443 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5444 (setgroups): Don't use CHECK_N.
5445 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
5446 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
5447 (__libc_msgrcv): Don't use CHECK_N.
5448 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
5449 (__libc_msgsnd): Don't use CHECK_N.
5450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
5451 <bp-checks.h>.
5452 (__libc_pread): Don't use CHECK_N.
5453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
5454 include <bp-checks.h>.
5455 (__libc_pread64): Don't use CHECK_N.
5456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
5457 include <bp-checks.h>.
5458 (__libc_pwrite): Don't use CHECK_N.
5459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
5460 include <bp-checks.h>.
5461 (__libc_pwrite64): Don't use CHECK_N.
5462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
5463 <bp-checks.h>.
5464 (__libc_pread): Don't use CHECK_N.
5465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
5466 include <bp-checks.h>.
5467 (__libc_pread64): Don't use CHECK_N.
5468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
5469 include <bp-checks.h>.
5470 (__libc_pwrite): Don't use CHECK_N.
5471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
5472 include <bp-checks.h>.
5473 (__libc_pwrite64): Don't use CHECK_N.
5474 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
5475 (do_pread): Don't use CHECK_N.
5476 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
5477 (do_pread64): Don't use CHECK_N.
5478 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
5479 (do_pwrite): Don't use CHECK_N.
5480 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
5481 (do_pwrite64): Don't use CHECK_N.
5482 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
5483 (__libc_readv): Don't use CHECK_N.
5484 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
5485 (semop): Don't use CHECK_N.
5486 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
5487 <bp-checks.h>.
5488 (semtimedop): Don't use CHECK_N.
5489 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
5490 (__libc_pread): Don't use CHECK_N.
5491 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
5492 <bp-checks.h>.
5493 (__libc_pread64): Don't use CHECK_N.
5494 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
5495 <bp-checks.h>.
5496 (__libc_pwrite): Don't use CHECK_N.
5497 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
5498 <bp-checks.h>.
5499 (__libc_pwrite64): Don't use CHECK_N.
5500 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
5501 <bp-checks.h>.
5502 (__libc_msgrcv): Don't use CHECK_N.
5503 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
5504 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
5505 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
5506 (__libc_writev): Don't use CHECK_N.
5507
b84660a8
RM
55082013-02-08 Roland McGrath <roland@hack.frob.com>
5509
7f3e75f8
RM
5510 * string/strcpy.c: Removed unused variable.
5511
b84660a8
RM
5512 * Makeconfig (+sysdep-includes): Define with := rather than =.
5513 Use an existing include/ subdir of each sysdeps dir before it.
5514
471514d3
CD
55152013-02-08 Carlos O'Donell <carlos@redhat.com>
5516
5517 * nscd/connection.c (register_traced_file): Comment function.
5518 [HAVE_INOTIFY] (union __inev): Define.
5519 [HAVE_INOTIFY] (inotify_check_files): New function.
5520 [HAVE_INOTIFY] (clear_db_cache): Likewise.
5521 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
5522 clear_db_cache.
5523 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
5524
b2d3c3be
CD
55252013-02-08 Carlos O'Donell <carlos@redhat.com>
5526
5527 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
5528 loaded if not already and that a failure is permanent.
5529
b39949d2
CD
55302013-02-08 Carlos O'Donell <carlos@redhat.com>
5531
ddacd1db 5532 [BZ #15006]
b39949d2
CD
5533 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
5534 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
5535
b2c9eff4
JM
55362013-02-08 Joseph Myers <joseph@codesourcery.com>
5537
f3aae3f3
JM
5538 [BZ #13550]
5539 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
5540 (CHECK_1_NULL_OK): Likewise.
5541 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
5542 (__fxstat): Do not use CHECK_1.
5543 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5544 <bp-checks.h>.
5545 (___fxstat64): Do not use CHECK_1.
5546 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5547 <bp-checks.h>.
5548 (__fxstatat): Do not use CHECK_1.
5549 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5550 <bp-checks.h>.
5551 (__fxstatat64): Do not use CHECK_1.
5552 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
5553 <bp-checks.h>.
5554 (__fxstat): Do not use CHECK_1.
5555 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5556 <bp-checks.h>.
5557 (__fxstatat): Do not use CHECK_1.
5558 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5559 <bp-checks.h>.
5560 (__getresgid): Do not use CHECK_1.
5561 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5562 <bp-checks.h>.
5563 (__getresuid): Do not use CHECK_1.
5564 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
5565 <bp-checks.h>.
5566 (__lxstat): Do not use CHECK_1.
5567 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5568 <bp-checks.h>.
5569 (__old_msgctl): Do not use CHECK_1.
5570 (__new_msgctl): Likewise.
5571 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
5572 <bp-checks.h>.
5573 (__new_setrlimit): Do not use CHECK_1.
5574 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5575 <bp-checks.h>.
5576 (__old_shmctl): Do not use CHECK_1.
5577 (__new_shmctl): Likewise.
5578 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
5579 <bp-checks.h>.
5580 (__xstat): Do not use CHECK_1.
5581 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
5582 (__lxstat): Do not use CHECK_1.
5583 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5584 <bp-checks.h>.
5585 (___lxstat64): Do not use CHECK_1.
5586 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
5587 (__old_msgctl): Do not use CHECK_1.
5588 (__new_msgctl): Likewise.
5589 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
5590 <bp-checks.h>.
5591 (__gettimeofday): Do not use CHECK_1.
5592 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
5593 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
5594 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
5595 <bp-checks.h>.
5596 (__gettimeofday): Do not use CHECK_1.
5597 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
5598 (__old_shmctl): Do not use CHECK_1_NULL_OK.
5599 (__new_shmctl): Do not use CHECK_1.
5600 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
5601 <bp-checks.h>.
5602 (do_sigtimedwait): Do not use CHECK_1.
5603 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
5604 <bp-checks.h>.
5605 (do_sigwaitinfo): Do not use CHECK_1.
5606 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
5607 <bp-checks.h>.
5608 (msgctl): Do not use CHECK_1.
5609 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
5610 <bp-checks.h>.
5611 (shmctl): Do not use CHECK_1.
5612 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
5613 (ustat): Do not use CHECK_1.
5614 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
5615 <bp-checks.h>.
5616 (__fxstat): Do not use CHECK_1.
5617 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5618 <bp-checks.h>.
5619 (__fxstatat): Do not use CHECK_1.
5620 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
5621 <bp-checks.h>.
5622 (__lxstat): Do not use CHECK_1.
5623 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
5624 <bp-checks.h>.
5625 (__xstat): Do not use CHECK_1.
5626 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
5627 (__xstat): Do not use CHECK_1.
5628 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
5629 (___xstat64): Do not use CHECK_1.
5630
b2c9eff4
JM
5631 [BZ #13550]
5632 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
5633 definitions.
5634 (CHECK_BOUNDS_HIGH): Likewise.
5635 * string/strcpy.c: Do not include <bp-checks.h>.
5636 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
5637
f1d70dad
RM
56382013-02-07 Roland McGrath <roland@hack.frob.com>
5639
5640 * nscd/nscd-client.h (__nscd_drop_map_ref):
5641 Add __attribute__ ((unused)).
5642 * nis/nss-nisplus.h (niserr2nss): Likewise.
5643
5644 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
5645 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
5646
5647 * csu/libc-tls.c (init_static_tls, init_slotinfo):
5648 Remove inline keyword.
5649 * include/rounding-mode.h (round_away): Likewise.
5650 * libio/wfileops.c (adjust_wide_data): Likewise.
5651 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
5652 (__m128i_strloadu_tolower): Likewise.
5653 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
5654 (__m128i_strloadu_tolower): Likewise.
5655 * time/mktime.c (ydhms_diff): Likewise.
5656 * locale/elem-hash.h (elem_hash): Likewise.
5657 * locale/setlocale.c (setdata): Likewise.
5658 * posix/regex_internal.h (re_string_char_size_at): Likewise.
5659 (re_string_wchar_at): Likewise.
5660 (bitset_not, bitset_merge, bitset_mask): Likewise.
5661 [!(__GNUC__ > 3)] (inline): Remove macro.
5662 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
5663 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
5664 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5665 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
5666 * string/memcmp.c (memcmp_bytes): Likewise.
5667 * locale/programs/locarchive.c (compute_hashval): Likewise.
5668 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
5669 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
5670 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
5671 * nss/getent.c (print_rpc, print_protocols): Likewise.
5672 (print_passwd, print_group, print_aliases): Likewise.
5673 * nis/nss-nisplus.h (niserr2nss): Likewise.
5674 * nscd/connections.c (restart_p): Likewise.
5675 Change return type to bool.
5676
eab55bfb
RM
56772013-02-05 Roland McGrath <roland@hack.frob.com>
5678
7bd642f5
RM
5679 * Makeconfig (all-Depend-files): Add existing
5680 $(sorted-subdirs:=/Depend) files.
5681 (all-subdirs): Remove nss.
5682 * sysdeps/unix/inet/Subdirs: Add it here instead.
5683 * hesiod/Depend: New file.
5684
573c29b2
RM
5685 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
5686 instead of calling alloca.
5687
b2e25af0
RM
5688 * io/lseek.c (__lseek): Rename to __libc_lseek.
5689 Define __lseek as an alias.
5690
eab55bfb
RM
5691 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
5692
9a0d1941
CD
56932013-02-04 Carlos O'Donell <carlos@redhat.com>
5694
5695 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
5696 else clause and remove check for non-standard endianness.
5697
b83bbec4
DM
56982013-02-04 David S. Miller <davem@davemloft.net>
5699
5700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5701
6277fdab
JM
57022013-02-04 Joseph Myers <joseph@codesourcery.com>
5703
5704 [BZ #13550]
5705 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
5706 (__ubp_memchr): Remove prototype.
5707 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
5708 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5709 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
5710 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5711 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
5712 Remove alias.
5713 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
5714 (__ubp_memchr): Likewise.
5715 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
5716 (__ubp_memchr): Likewise.
5717 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
5718 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
5719 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
5720 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
5721 CHECK_STRING.
5722 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5723 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
5724 (__getcwd): Do not use CHECK_STRING.
5725 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5726 <bp-checks.h>.
5727 (__real_chown): Do not use CHECK_STRING.
5728 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
5729 <bp-checks.h>.
5730 (fchownat): Do not use CHECK_STRING.
5731 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
5732 CHECK_STRING.
5733 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5734 <bp-checks.h>.
5735 (__lchown): Do not use CHECK_STRING.
5736 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5737 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5738 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5739 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5741 include <bp-checks.h>.
5742 (truncate64): Do not use CHECK_STRING.
5743 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5744 <bp-checks.h>.
5745 (__real_chown): Do not use CHECK_STRING.
5746 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5747 <bp-checks.h>.
5748 (__lchown): Do not use CHECK_STRING.
5749 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5750 <bp-checks.h>.
5751 (__chown): Do not use CHECK_STRING.
5752 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
5753 <bp-checks.h>.
5754 (truncate64): Do not use CHECK_STRING.
5755 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
5756 Likewise.
5757 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
5758 (__xmknod): Do not use CHECK_STRING.
5759 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5760 <bp-checks.h>.
5761 (__xmknodat): Do not use CHECK_STRING.
5762 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5763 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5764
903ae060
AS
57652013-02-04 Andreas Schwab <schwab@suse.de>
5766
5767 [BZ #14142]
5768 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
5769 * include/netdb.h: Likewise for h_errno.
5770 * elf/tst-stackguard1.c: Include <tls.h>.
5771
542f9466
JK
57722013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5773
5774 * elf/link.h (struct link_map): Extend the l_addr comment.
5775 * include/link.h (struct link_map): Likewise.
5776
e782a927
JM
57772013-02-01 Joseph Myers <joseph@codesourcery.com>
5778
5779 [BZ #13550]
5780 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
5781 (BOUNDED_1): Remove macro.
5782 * debug/backtrace.c: Don't include <bp-checks.h>.
5783 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
5784 (__backtrace): Likewise.
5785 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
5786 <bp-checks.h>.
5787 (__backtrace): Don't use BOUNDED_1.
5788 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
5789 <bp-checks.h>.
5790 (__backtrace): Don't use BOUNDED_1.
5791 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
5792 (__backtrace): Don't use BOUNDED_1.
5793 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
5794 (shmat): Don't use BOUNDED_N.
5795
8cf28c5e
JM
57962013-01-31 Joseph Myers <joseph@codesourcery.com>
5797
3a7ac8a0
JM
5798 [BZ #13550]
5799 * sysdeps/generic/bp-start.h: Remove file.
5800 * csu/libc-start.c: Don't include <bp-start.h>.
5801 (LIBC_START_MAIN): Set up __environ directly instead of using
5802 INIT_ARGV_and_ENVIRON.
5803 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
5804 <bp-start.h>.
5805
f3499f95
JM
5806 [BZ #13550]
5807 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
5808 definitions.
5809 (CHECK_FCNTL): Likewise.
5810 (CHECK_N_PAGES): Likewise.
5811
32a45bea
JM
5812 [BZ #13550]
5813 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
5814 definitions.
5815 (CHECK_SIGSET_NULL_OK): Likewise.
5816 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
5817 <bp-checks.h>.
5818 (sigpending): Don't use CHECK_SIGSET.
5819 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
5820 <bp-checks.h>.
5821 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5822 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
5823 <bp-checks.h>.
5824 (do_sigsuspend): Don't use CHECK_SIGSET.
5825 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
5826 use CHECK_SIGSET.
5827 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
5828 (do_sigwait): Don't use CHECK_SIGSET.
5829 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
5830 use CHECK_SIGSET.
5831 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
5832 include <bp-checks.h>.
5833 (sigpending): Don't use CHECK_SIGSET.
5834 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
5835 include <bp-checks.h>.
5836 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5837 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
5838 <bp-checks.h>.
5839 (sigpending): Don't use CHECK_SIGSET.
5840 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
5841 <bp-checks.h>.
5842 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5843
2e8a5c8c
JM
5844 [BZ #13550]
5845 * sysdeps/generic/bp-semctl.h: Remove file.
5846 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
5847 <bp-checks.h> and <bp-semctl.h>.
5848 (__old_semctl): Don't use CHECK_SEMCTL.
5849 (__new_semctl): Likewise.
5850 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
5851 and <bp-semctl.h>.
5852 (__old_semctl): Don't use CHECK_SEMCTL.
5853 (__new_semctl): Likewise.
5854 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
5855 <bp-checks.h> and <bp-semctl.h>.
5856 (__old_semctl): Don't use CHECK_SEMCTL.
5857 (__new_semctl): Likewise.
5858 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
5859 <bp-checks.h> and <bp-semctl.h>.
5860 (semctl): Don't use CHECK_SEMCTL.
5861
c2d54929
JM
5862 [BZ #13550]
5863 * Makerules (elide-bp-thunks): Remove variable.
5864 (elide-routines.oS): Don't use $(elide-bp-thunks).
5865 (elide-routines.os): Likewise.
5866 (elide-routines.o): Likewise.
5867 (elide-routines.op): Likewise.
5868 (elide-routines.og): Likewise.
5869 (objects): Don't use $(bp-thunks).
5870 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
5871 include.
5872 (common-generated): Do not add s-proto-bp.d.
5873 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
5874 (int): Likewise.
5875 (typ): Likewise.
5876 Do not generate makefile rules for bounded-pointer thunks.
5877 * sysdeps/generic/bp-thunks.h: Remove file.
5878 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
5879 * sysdeps/unix/s-proto-bp.S: Likewise.
5880
8cf28c5e
JM
5881 [BZ #15062]
5882 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
5883 parts of result separately when argument is not close to line from
5884 -i to i and one part of argument is small.
5885 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5886 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5887 * math/libm-test.inc (cacos_test): Add more tests.
5888 (casin_test): Likewise.
5889 (casinh_test): Likewise.
5890 * sysdeps/i386/fpu/libm-test-ulps: Update.
5891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5892
c4e33b8d
DM
58932013-01-31 David S. Miller <davem@davemloft.net>
5894
5895 * po/de.po: Update from translation team.
5896
3b60b421
MK
58972013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
5898
5899 * time/tzfile.c: Include stdint.h for SIZE_MAX.
5900
bb931195
TS
59012013-01-25 Thomas Schwinge <thomas@codesourcery.com>
5902
b5a5da23
TS
5903 * configure.in (_AC_PROG_CC_C89): New definition.
5904 * configure: Regenerate.
5905
bb931195
TS
5906 * configure.in (AC_PROG_CPP): New definition.
5907 * configure: Regenerate.
5908
8c53a12c
JM
59092013-01-23 Joseph Myers <joseph@codesourcery.com>
5910
5911 * debug/tst-backtrace.h: New file.
5912 * debug/tst-backtrace2.c: Include tst-backtrace.h.
5913 (ret): Remove variable.
5914 (x): Likewise.
5915 (FAIL): Remove macro.
5916 (NO_INLINE): Likewise.
5917 (fn1): Use match function instead of strstr.
5918 * debug/tst-backtrace3.c: Include tst-backtrace.h.
5919 (ret): Remove variable.
5920 (x): Likewise.
5921 (FAIL): Remove macro.
5922 (NO_INLINE): Likewise.
5923 (fn): Use match function instead of strstr.
5924 * debug/tst-backtrace4.c: Include tst-backtrace.h.
5925 (ret): Remove variable.
5926 (x): Likewise.
5927 (FAIL): Remove macro.
5928 (NO_INLINE): Likewise.
5929 (handle_signal): Use match function instead of strstr.
5930 * debug/tst-backtrace5.c: Include tst-backtrace.h.
5931 (ret): Remove variable.
5932 (x): Likewise.
5933 (FAIL): Remove macro.
5934 (NO_INLINE): Likewise.
5935 (handle_signal): Use match function instead of strstr.
5936
4858fa2a
RM
59372013-01-23 Roland McGrath <roland@hack.frob.com>
5938
5939 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
5940
bae8e7f5
DM
59412013-01-23 David S. Miller <davem@davemloft.net>
5942
5943 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
5944 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
5945 argument of CAS if possible.
5946 * sysdeps/sparc/sparc64/bits/atomic.h
5947 (__arch_compare_and_exchange_val_32_acq): Likewise.
5948 (__arch_compare_and_exchange_val_64_acq): Likewise.
5949
9cbbc4ae
PT
59502013-01-23 Pino Toscano <toscano.pino@tiscali.it>
5951
5952 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
5953 * sysdeps/posix/ulimit.c: ... this.
92a601b8 5954 Include <limits.h>.
67b3f58c 5955 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 5956
5655a0b5
AC
59572013-01-23 Adam Conrad <adconrad@0c3.net>
5958
5959 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
5960 (LDFLAGS-tst-array5): Likewise.
5961
052aff95
JM
59622013-01-23 Joseph Myers <joseph@codesourcery.com>
5963
5964 [BZ #15036]
5965 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
5966 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
5967 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
5968 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
5969
7c1e01aa
DM
59702013-01-21 David S. Miller <davem@davemloft.net>
5971
5972 * sysdeps/sparc/backtrace.c: New file.
5973 * sysdeps/sparc/sparc32/backtrace.h: New file.
5974 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
5975 * sysdeps/sparc/sparc64/backtrace.h: New file.
5976 * sysdeps/sparc/sparc64/backtrace.c: Delete.
5977 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
5978 -funwind-tables.
5979
ab087e0a
AS
59802013-01-21 Andreas Schwab <schwab@suse.de>
5981
5982 [BZ #15020]
5983 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
5984 closed its stdout.
5985
ed689c2f
AS
59862013-01-20 Andreas Schwab <schwab@linux-m68k.org>
5987
5988 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
5989 "mpa2.h".
5990 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5991
31d470ac
JM
59922013-01-18 Joseph Myers <joseph@codesourcery.com>
5993 Mark Mitchell <mark@codesourcery.com>
5994 Tom de Vries <tom@codesourcery.com>
5995 Paul Pluzhnikov <ppluzhnikov@google.com>
5996
5997 * debug/tst-backtrace2.c: New file.
5998 * debug/tst-backtrace3.c: Likewise.
5999 * debug/tst-backtrace4.c: Likewise.
6000 * debug/tst-backtrace5.c: Likewise.
6001 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
6002 (CFLAGS-tst-backtrace3.c): Likewise.
6003 (CFLAGS-tst-backtrace4.c): Likewise.
6004 (CFLAGS-tst-backtrace5.c): Likewise.
6005 (LDFLAGS-tst-backtrace2): Likewise.
6006 (LDFLAGS-tst-backtrace3): Likewise.
6007 (LDFLAGS-tst-backtrace4): Likewise.
6008 (LDFLAGS-tst-backtrace5): Likewise.
6009 (tests): Add new tests tst-backtrace2, tst-backtrace3,
6010 tst-backtrace4 and tst-backtrace5.
6011
90567f30 60122013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
6013 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6014
6015 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
6016 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
6017 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
6018 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
6019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6020 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
6021 "+r" and remove output regs list as redundant. Add explicit inline
6022 asm to specify register of return val to work around compiler codegen
6023 bug. Remove (int) cast on return value. Add return type parameter to
6024 use in macro so that this macro does not truncate return value for
6025 64-bit values.
6026 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
6027 pass to INTERNAL_VSYSCALL_NCS.
6028 (INLINE_VSYSCALL): Add 'long int' as return type to
6029 INTERNAL_VSYSCALL_NCS macro invocation.
6030 (INTERNAL_VSYSCALL): Add 'long int' as return type to
6031 INTERNAL_VSYSCALL_NCS macro invocation.
6032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6033
d3b9ea61
SP
60342013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6035
0b57daeb
SP
6036 [BZ #14496]
6037 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
6038 Fix application of SIMD FP exception mask.
6039
caa99d06
SP
6040 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
6041 mp_no from a power of two.
6042 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
6043 __mpexp_twomm1. Use __pow_mp.
6044
d3b9ea61
SP
6045 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
6046 multiplication.
6047
1dbaee3c
DM
60482013-01-17 David S. Miller <davem@davemloft.net>
6049
6050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6051
728d7b43
JM
60522013-01-17 Joseph Myers <joseph@codesourcery.com>
6053
6054 [BZ #15023]
6055 * include/complex.h: Condition contents on [!_COMPLEX_H].
6056 (__kernel_casinhf): New prototype.
6057 (__kernel_casinh): Likewise.
6058 (__kernel_casinhl): Likewise.
6059 * math/Makefile (libm_calls): Add k_casinh.
6060 * math/k_casinh.c: New file.
6061 * math/k_casinhf.c: Likewise.
6062 * math/k_casinhl.c: Likewise.
6063 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
6064 finite nonzero arguments.
6065 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
6066 finite nonzero arguments.
6067 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
6068 finite nonzero arguments.
6069 * math/s_casinh.c: Do not include <float.h>.
6070 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
6071 * math/s_casinhf.c: Do not include <float.h>.
6072 (__casinhf): Move code for finite nonzero arguments to
6073 k_casinhf.c.
6074 * math/s_casinhl.c: Do not include <float.h>.
6075 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
6076 redefine.
6077 (__casinhl): Move code for finite nonzero arguments to
6078 k_casinhl.c.
6079 * math/libm-test.inc (cacos_test): Add more tests.
6080 * sysdeps/i386/fpu/libm-test-ulps: Update.
6081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6082
2a26ef3a
PT
60832013-01-17 Pino Toscano <toscano.pino@tiscali.it>
6084
6085 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
6086 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
6087 [!HAVE_MREMAP]: Remove [defined linux] case.
6088 * malloc/arena.c: Do not include <malloc-sysdep.h>.
6089
a897655d
SP
60902013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6091
6092 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
6093
881ebe89 60942013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
6095
6096 * elf/elf.h (R_386_SIZE32): New relocation.
6097 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
6098 R_386_SIZE32.
6099 (elf_machine_rela): Likewise.
6100 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6101 R_X86_64_SIZE64 and R_X86_64_SIZE32.
6102
59981e9b
JM
61032013-01-17 Joseph Myers <joseph@codesourcery.com>
6104
6105 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
6106 (FP_FAST_FMA): Do not define.
6107 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
6108 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
6109 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
6110 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
6111 !_SOFT_FLOAT]: Likewise.
6112 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
6113 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
6114 value.
6115 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
6116 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
6117 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
6118 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
6119 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
6120 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
6121 file.
6122
cfa8054f
AS
61232013-01-16 Andreas Schwab <schwab@suse.de>
6124
6125 [BZ #14327]
6126 * include/stdlib.h (__mktemp): Add declaration.
6127 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
6128 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
6129
dd930cc5
SP
61302013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6131
881ebe89
SP
6132 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
6133 definitions.
6134 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6135 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
6136 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
6137 definitions here.
6138 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
6139 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
6140 definitions.
6141 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
6142 and ONE.
6143 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
6144 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
6145 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
6146 definitions.
6147 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
6148 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
6149 definitions.
6150 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 6151
dd930cc5
SP
6152 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
6153
c19a9f89
DM
61542013-01-15 David S. Miller <davem@davemloft.net>
6155
1aa61767
DM
6156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6157 trunc{,f} to libm-sysdep_routes.
6158 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
6160 file.
6161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
6162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
6163 file.
6164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
6165 file.
6166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
6167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
6168 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
6169 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
6170 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
6171 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
6172 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
6173 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
6174
c42d5e98
DM
6175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6176 nearbyint{,f} to libm-sysdep_routes.
6177 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
6179 New file.
6180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
6181 file.
6182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
6183 New file.
6184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
6185 file.
6186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
6187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
6188 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
6189 file.
6190 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
6191 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
6192 file.
6193 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
6194 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
6195 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
6196
c19a9f89
DM
6197 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6198 libc_feholdexcept and libc_fesetenv.
6199
357679d2
MF
62002013-01-15 Mike Frysinger <vapier@gentoo.org>
6201
6202 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
6203
65a82e3d
DM
62042013-01-14 David S. Miller <davem@davemloft.net>
6205
8b954ab9
DM
6206 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
6207 (SPARC_ASM_VIS2_IFUNC): Likewise.
6208 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
6209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
6210 use of 'siam' instruction.
6211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
6212 Likewise.
6213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
6214 Likewise.
6215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
6216 Likewise.
6217 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
6218 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6219 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
6220 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
6221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
6222 file.
6223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
6224 file.
6225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
6226 file.
6227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
6228 file.
6229 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
6230 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
6231 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
6232 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
6233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
6234 new VIS2 routines.
6235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6238 Likewise.
6239 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6240 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6241 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6242 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
6244 routines to libm-sysdep_routines.
6245 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6246
65a82e3d
DM
6247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6248 fdim/fdimf to libm-sysdep_routines.
6249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
6250 file.
6251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
6252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
6253 file.
6254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
6255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
6256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
6257 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
6258 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
6259 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
6260 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
6261
e34ab705
SP
62622013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6263
2a91b573
SP
6264 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
6265 to optimize copies.
6266
1066a534
SP
6267 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
6268 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6269 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6270
e34ab705
SP
6271 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
6272 local variable MPTWO.
6273 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6274 Likewise.
6275
aba5e596
MF
62762013-01-13 Mike Frysinger <vapier@gentoo.org>
6277
6278 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
6279 GLOB_NOESCAPE.
6280
e557e9e5
MF
62812013-01-13 Mike Frysinger <vapier@gentoo.org>
6282
6283 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
6284
0428cec9
MF
62852013-01-13 Mike Frysinger <vapier@gentoo.org>
6286
6287 * manual/pattern.texi (glob_t): Document gl_flags.
6288 (glob64_t): Likewise.
6289
8794a964
DM
62902013-01-11 David S. Miller <davem@davemloft.net>
6291
66438c3f
RM
6292 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
6293 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
6294 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
6295 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
6296 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
6297 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
6298 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
6299 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
6300 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
6301 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
6302 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
6303 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
6304 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
6305
4ae4244d
DM
6306 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6307 sparc V9 rather than using V8 code.
6308 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6309 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6310
8794a964
DM
6311 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6312 Move to...
6313 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
6314 Here.
6315
6270516e
RM
63162013-01-11 Roland McGrath <roland@hack.frob.com>
6317
6318 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
6319 not in the main loop.
6320 * configure: Regenerated.
6321
6a57d931
JM
63222013-01-11 Joseph Myers <joseph@codesourcery.com>
6323
6324 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
6325 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
6326 to just #else.
6327 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
6328 [!__GLIBC_HAVE_LONG_LONG] case.
6329 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
6330 condition to just #else.
6331 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
6332 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
6333 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
6334 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
6335 unconditional.
6336 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
6337 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6338 #elif condition to just #else.
6339 * sysdeps/unix/sysv/linux/sys/sysmacros.h
6340 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
6341 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6342 #elif condition to just #else.
6343
0e8529e9
SE
63442013-01-11 Steve Ellcey <sellcey@mips.com>
6345
6346 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
6347 (EF_MIPS_ARCH_64): Fix value.
6348 (EF_MIPS_ARCH_32R2): New.
6349 (EF_MIPS_ARCH_64R2): New.
6350
740b3dbe
L
63512013-01-11 H.J. Lu <hongjiu.lu@intel.com>
6352
6353 * Makeconfig (+link-pie-before-libc): New.
6354 (+link-pie-after-libc): Likewise.
6355 (+link-pie-tests): Likewise.
6356 (+link-pie): Rewritten.
6357 (link-before-libc): Remove $(config-LDFLAGS).
6358 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
6359 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
6360 (config-LDFLAGS): Renamed to ...
6361 (rtld-LDFLAGS): This.
6362 (rtld-tests-LDFLAGS): New macro.
6363 (link-libc-rpath-link): Likewise.
6364 (link-libc-tests-rpath-link): Likewise.
6365 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
6366 (link-libc): Prepand $(link-libc-rpath-link).
6367 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
6368 (test-program-prefix): New macro.
6369 (test-via-rtld-prefix): Likewise.
6370 (test-program-cmd): Likewise.
6371 (host-test-program-cmd): Likewise.
6372 * Makefile ($(common-objpfx)testrun.sh): Replace
6373 $(run-program-prefix) with $(test-program-prefix).
6374 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
6375 $(rtld-LDFLAGS).
6376 ($(common-objpfx)shlib.lds): Likewise.
6377 (build-module-helper): Likewise.
6378 ($(common-objpfx)format.lds): Likewise.
6379 * Rules (binaries-pie-tests): New.
6380 (binaries-pie-notests): Likewise.
6381 (binaries-pie): Rewritten.
6382 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
6383 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
6384 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
6385 (make-test-out): Replace $(host-built-program-cmd) with
6386 $(host-test-program-cmd).
6387 * config.make.in (build-hardcoded-path-in-tests): New variable.
6388 * configure.in (--enable-hardcoded-path-in-tests): New configure
6389 option.
6390 (hardcoded_path_in_tests): New AC_SUBST.
6391 * configure: Regenerated.
6392 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
6393 $(built-program-cmd) with $(test-program-cmd).
6394 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
6395 (test_program_cmd): This.
6396 * elf/Makefile ($(objpfx)order.out): Run test with
6397 $(test-program-prefix).
6398 ($(objpfx)order2.out): Likewise.
6399 ($(objpfx)tst-initorder.out): Likewise.
6400 ($(objpfx)tst-initorder2.out): Likewise.
6401 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
6402 $(test-program-cmd).
6403 ($(objpfx)tst-array1-static.out): Likewise.
6404 ($(objpfx)tst-array2.out): Likewise.
6405 ($(objpfx)tst-array3.out): Likewise.
6406 ($(objpfx)tst-array4.out): Likewise.
6407 ($(objpfx)tst-array5.out): Likewise.
6408 ($(objpfx)tst-array5-static.out): Likewise.
6409 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
6410 $(test-program-cmd).
6411 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
6412 $(run-program-prefix) with $(test-program-prefix).
6413 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
6414 (test_program_prefix): This.
6415 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
6416 $(run-program-prefix) with $(test-program-prefix).
6417 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
6418 (test_program_prefix): This.
6419 * iconvdata/tst-tables.sh: Likewise.
6420 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
6421 $(run-program-prefix) with $(test-program-prefix).
6422 ($(objpfx)tst-translit.out): Likewise.
6423 ($(objpfx)tst-gettext2.out): Likewise.
6424 ($(objpfx)tst-gettext4.out): Likewise.
6425 ($(objpfx)tst-gettext6.out): Likewise.
6426 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
6427 (test_program_prefix): This.
6428 * intl/tst-gettext2.sh: Likewise.
6429 * intl/tst-gettext4.sh Likewise.
6430 * intl/tst-gettext6.sh: Likewise.
6431 * intl/tst-translit.sh: Likewise.
6432 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
6433 with $(test-program-cmd).
6434 * libio/Makefile ($(objpfx)test-freopen.out): Replace
6435 $(run-program-prefix) with $(test-program-prefix).
6436 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
6437 (test_program_prefix): This.
6438 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
6439 $(run-program-prefix) with $(test-program-prefix).
6440 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
6441 (test_program_prefix): This.
6442 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
6443 * posix/Makefile ($(objpfx)globtest.out): Replace
6444 $(run-via-rtld-prefix) and $(test-wrapper) with
6445 $(test-program-prefix) and $(test-via-rtld-prefix).
6446 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
6447 $(test-program-prefix).
6448 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
6449 $(host-test-program-cmd).
6450 (tst-spawn-ARGS): Likewise.
6451 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
6452 $(test-program-prefix).
6453 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
6454 (test_via_rtld_prefix): This.
6455 (test_wrapper): Renamed to ...
6456 (test_program_prefix): This.
6457 (run_program_prefix): Replaced by test_program_prefix.
6458 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
6459 (test_program_prefix): This.
6460 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
6461 with $(host-test-program-cmd).
6462 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
6463 $(run-program-prefix) with $(test-program-prefix).
6464 ($(objpfx)tst-printf.out): Likewise.
6465 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
6466 $(test-program-cmd).
6467 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
6468 (test_program_prefix): This.
6469 * stdio-common/tst-unbputc.sh: Likewise.
6470 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
6471 $(run-program-prefix) with $(test-program-prefix).
6472 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
6473 (test_program_prefix): This.
6474 * string/Makefile ($(objpfx)tst-svc.out): Replace
6475 $(built-program-cmd) with $(test-program-cmd).
6476
c6fe55cf
AJ
64772013-01-11 Andreas Jaeger <aj@suse.de>
6478
6479 [BZ #15003]
6480 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
6481 value. Sync with Linux 3.7.
6482
9e6919c8
DM
64832013-01-10 David S. Miller <davem@davemloft.net>
6484
6485 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
6486 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6487 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6488
1c9f1a02
RM
64892013-01-10 Roland McGrath <roland@hack.frob.com>
6490
6491 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
6492 never set.
6493 * configure: Regenerated.
6494
b9de2dde
DM
64952013-01-10 David S. Miller <davem@davemloft.net>
6496
6497 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6498 sparc V9 rather than using V8 code.
6499 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6500 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6501
e7f68ef4
RM
65022013-01-10 Roland McGrath <roland@hack.frob.com>
6503
6504 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
6505 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
6506 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
6507 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
6508 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
6509 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
6510 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
6511 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
6512 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
6513 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
6514 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
6515 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
6516 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
6517 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
6518 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
6519 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
6520 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
6521 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
6522 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
6523 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
6524 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
6525 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
6526 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
6527 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
6528 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
6529 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
6530 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
6531
5a47cc9c
DM
65322013-01-10 David S. Miller <davem@davemloft.net>
6533
6534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6535
4cf8f209
L
65362013-01-10 H.J. Lu <hongjiu.lu@intel.com>
6537
6538 * posix/Makefile (tests-static): New variable.
6539 (tests): Add $(tests-static).
6540 (tst-exec-static-ARGS): New variable.
6541 (tst-spawn-static-ARGS): Likewise.
6542 * posix/tst-exec-static.c: New file.
6543 * posix/tst-spawn-static.c: Likewise.
6544 * posix/tst-exec.c: Support run directly.
6545 * posix/tst-spawn.c: Likewise.
6546
fed0faa1
JM
65472013-01-10 Joseph Myers <joseph@codesourcery.com>
6548
828beb13
JM
6549 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
6550 long.
6551 * math/bits/mathcalls.h (llrint): Likewise.
6552 (llround): Likewise.
6553 * stdlib/stdlib.h (struct drand48_data): Likewise.
6554 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
6555 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
6556 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
6557 Likewise.
6558 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
6559 Likewise.
6560 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
6561 (elf_greg_t): Likewise.
6562 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
6563 (__jmp_buf): Likewise.
6564 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
6565 definitions.
6566 (llrint): Likewise, for all definitions.
6567 (llrintl): Likewise.
6568
fed0faa1
JM
6569 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
6570 Remove [__GNUC__] condition.
6571 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
6572 condition to just [__USE_ISOC99].
6573 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
6574
1a20cb20
L
65752013-01-10 H.J. Lu <hongjiu.lu@intel.com>
6576
6577 [BZ #14200]
6578 * sysdeps/unix/sysv/linux/x86/bits/environments.h
6579 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
6580 defined.
6581 (_POSIX_V6_ILP32_OFF32): Likewise.
6582 (_XBS5_ILP32_OFF32): Likewise.
6583 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
6584 (__ILP32_OFFBIG_LDFLAGS): Likewise.
6585
751b85f7
SP
65862013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6587
7490eb81
SP
6588 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
6589
751b85f7
SP
6590 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
6591 doubles __mpexp_twomm1. Adjust usage.
6592 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
6593 Remove.
6594
988197f0
AS
65952013-01-10 Andreas Schwab <schwab@suse.de>
6596
6597 [BZ #14964]
6598 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
6599 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
6600
e83d7298
DM
66012013-01-09 David S. Miller <davem@davemloft.net>
6602
034ed64b 6603 [BZ #15003]
e83d7298
DM
6604 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
6605 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
6606 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
6607 TCP_FASTOPEN): Define.
6608 (tcp_repair_opt): New structure.
6609 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
6610 enum values.
6611 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
6612 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
6613 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
6614 (tcp_cookie_transactions): New structure.
6615
d5e0b9bd
AB
66162013-01-09 Anton Blanchard <anton@samba.org>
6617
6618 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
6619 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
6620 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
6621 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6622
0c07e3ea
JM
66232013-01-09 Joseph Myers <joseph@codesourcery.com>
6624
6625 * include/features.h (__USE_ANSI): Remove.
6626
232f7002
RM
66272013-01-09 Roland McGrath <roland@hack.frob.com>
6628
ad98e30c
RM
6629 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
6630
232f7002
RM
6631 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
6632
950c99ca
SP
66332013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6634
b5792741
SP
6635 * sysdeps/s390/fpu/libm-test-ulps: Update.
6636
47cf2278
SP
6637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6638
950c99ca
SP
6639 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
6640 (__acr): Likewise.
6641 (__cpy): Likewise.
6642 (norm): Likewise.
6643 (denorm): Likewise.
6644 (__mp_dbl): Likewise.
6645 (__dbl_mp): Likewise.
6646 (add_magnitudes): Likewise.
6647 (sub_magnitudes): Likewise.
6648 (__add): Likewise.
6649 (__sub): Likewise.
6650 (__mul): Likewise.
6651 (__inv): Likewise.
6652 (__dvd): Likewise.
6653 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
6654 (__acr): Likewise.
6655 (__cpy): Likewise.
6656 (norm): Likewise.
6657 (denorm): Likewise.
6658 (__mp_dbl): Likewise.
6659 (__dbl_mp): Likewise.
6660 (add_magnitudes): Likewise.
6661 (sub_magnitudes): Likewise.
6662 (__add): Likewise.
6663 (__sub): Likewise.
6664 (__mul): Likewise.
6665 (__inv): Likewise.
6666 (__dvd): Likewise.
6667 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
6668 (__acr): Likewise.
6669 (__cpy): Likewise.
6670 (norm): Likewise.
6671 (denorm): Likewise.
6672 (__mp_dbl): Likewise.
6673 (__dbl_mp): Likewise.
6674 (add_magnitudes): Likewise.
6675 (sub_magnitudes): Likewise.
6676 (__add): Likewise.
6677 (__sub): Likewise.
6678 (__mul): Likewise.
6679 (__inv): Likewise.
6680 (__dvd): Likewise.
6681
eede9df9
JM
66822013-01-08 Joseph Myers <joseph@codesourcery.com>
6683
6684 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
6685 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
6686 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
6687 2 && __USE_EXTERN_INLINES]: Likewise.
6688
c40ea3d9
AJ
66892013-01-08 Andreas Jaeger <aj@suse.de>
6690
6691 [BZ# 14985]
6692 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
6693 Remove.
6694 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6695 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6696
2ccdea26
AB
66972013-01-07 Anton Blanchard <anton@samba.org>
6698
6699 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
6700 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6701 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
6702 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6703 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6704 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6705 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
6706 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
6707 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6708 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6709 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6710 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6711 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6712 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6713 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6714 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6715 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6716 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6717 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6718 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6719 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6720 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
6721 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6722 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6723 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
6724 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6725 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6726 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6727 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
6728 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6729 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6730 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6731 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6732 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6733 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6734 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6735 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6736 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6737 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6738 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6739 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
6740 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6741 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6742
a9708fed
JM
67432013-01-07 Joseph Myers <joseph@codesourcery.com>
6744
375607b9
JM
6745 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
6746 (__MALLOC_PMT): Likewise.
6747 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
6748 [__GNUC__], only on [_LIBC].
6749 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6750 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
6751 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6752 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
6753 forward declaration.
6754 (realloc_hook_ini): Likewise.
6755 (memalign_hook_ini): Likewise.
6756 (__libc_memalign): Do not use __MALLOC_PMT in variable
6757 declaration.
6758 (__libc_valloc): Likewise.
6759 (__libc_pvalloc): Likewise.
6760 (__libc_calloc): Likewise.
6761 (__posix_memalign): Likewise.
6762
a9708fed
JM
6763 [BZ #14996]
6764 * math/s_casinh.c: Include <float.h>.
6765 (__casinh): Do not do computation with squaring and square root
6766 for large arguments.
6767 * math/s_casinhf.c: Include <float.h>.
6768 (__casinhf): Do not do computation with squaring and square root
6769 for large arguments.
6770 * math/s_casinhl.c: Include <float.h>.
6771 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
6772 (__casinhl): Do not do computation with squaring and square root
6773 for large arguments.
6774 * math/libm-test.inc (casin_test): Add more tests.
6775 (casinh_test): Likewise.
6776 * sysdeps/i386/fpu/libm-test-ulps: Update.
6777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6778
afec409a
L
67792013-01-04 H.J. Lu <hongjiu.lu@intel.com>
6780
6781 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
6782 (__x86_64_raw_data_cache_size): Likewise.
6783 (__x86_64_data_cache_size_half): Likewise.
6784 (__x86_64_raw_data_cache_size_half): Likewise.
6785 (__x86_64_shared_cache_size): Likewise.
6786 (__x86_64_raw_shared_cache_size): Likewise.
6787 (__x86_64_shared_cache_size_half): Likewise.
6788 (__x86_64_raw_shared_cache_size_half): Likewise.
6789 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
6790 to ...
6791 (__x86_data_cache_size): This.
6792 (__x86_64_raw_data_cache_size): Renamed to ...
6793 (__x86_raw_data_cache_size): This.
6794 (__x86_64_data_cache_size_half): Renamed to ...
6795 (__x86_data_cache_size_half): This.
6796 (__x86_64_raw_data_cache_size_half): Renamed to ...
6797 (__x86_raw_data_cache_size_half): This.
6798 (__x86_64_shared_cache_size): Renamed to ...
6799 (__x86_shared_cache_size): This.
6800 (__x86_64_raw_shared_cache_size): Renamed to ...
6801 (__x86_raw_shared_cache_size): This.
6802 (__x86_64_shared_cache_size_half): Renamed to ...
6803 (__x86_shared_cache_size_half): This.
6804 (__x86_64_raw_shared_cache_size_half): Renamed to ...
6805 (__x86_raw_shared_cache_size_half): This.
6806 * sysdeps/x86_64/memcpy.S: Updated.
6807 * sysdeps/x86_64/memset.S: Likewise.
6808 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6809 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6810 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6811
0b3986d0
DM
68122013-01-04 David S. Miller <davem@davemloft.net>
6813
6814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6815
e47686e9
AS
68162013-01-04 Andreas Schwab <schwab@linux-m68k.org>
6817
d643bac1
AS
6818 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
6819 1 to avoid redefinition warning.
6820 (__USE_GNU): Don't define.
6821 (init_signaling_nan): Protoize.
6822
e47686e9
AS
6823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6824
b18decba
SP
68252013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6826
fffb407f
SP
6827 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
6828 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
6829 (__cpymn): Likewise.
6830 (norm): Remove commented code.
6831 (denorm): Likewise.
6832 (__mp_dbl): Likewise.
6833 (__inv): Likewise.
6834 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
6835 (__cpymn): Likewise.
6836 (norm): Remove commented code.
6837 (denorm): Likewise.
6838 (__mp_dbl): Likewise.
6839 (__inv): Likewise.
6840
b18decba
SP
6841 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
6842 mp_no value for 1.0 and 2.0.
6843 (norm): Use RADIXI instead of radixi.d.
6844 (denorm): Likewise.
6845 (__mul): Use 0.0 instead of zero.d.
6846 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
6847 mp_no value for 1.0 and 2.0.
6848 (norm): Use RADIXI instead of radixi.d.
6849 (denorm): Likewise.
6850 (__mul): Use 0.0 instead of zero.d.
6851
cdc1c96f
JM
68522013-01-04 Joseph Myers <joseph@codesourcery.com>
6853
6854 [BZ #14994]
6855 * math/s_casinh.c (__casinh): Reduce finite argument to first
6856 quadrant then set signs of results at the end.
6857 * math/s_casinhf.c (__casinhf): Likewise.
6858 * math/s_casinhl.c (__casinhl): Likewise.
6859 * math/libm-test.inc (casin_test): Add more tests.
6860 (casinh_test): Likewise.
6861 * sysdeps/i386/fpu/libm-test-ulps: Update.
6862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6863
302913e1
SP
68642013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6865
6420d207
SP
6866 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
6867
a9e48ab4
SP
6868 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
6869
b7837264
SP
6870 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
6871 declarations.
6872 (denorm): Likewise.
6873 (__mp_dbl): Likewise.
6874 (__inv): Likewise.
6875
f8af25d2
SP
6876 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
6877 and adjust the header comment.
6878
302913e1
SP
6879 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
6880 variable name from declaration.
6881
5d7dd1ca
L
68822013-01-03 H.J. Lu <hongjiu.lu@intel.com>
6883
6884 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6885 Initialize COMMON_CPUID_INDEX_7 element.
6886 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
6887 (CPUID_RTM): Likewise.
6888 (HAS_RTM): Likewise.
6889 (COMMON_CPUID_INDEX_7): New enum.
6890
2f5f40f4
AS
68912013-01-03 Andreas Schwab <schwab@linux-m68k.org>
6892
6893 [BZ #14981]
6894 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
6895 size is zero, record memory as freed.
6896
4056f4a0
AJ
68972013-01-03 Andreas Jaeger <aj@suse.de>
6898
6899 * po/ia.po: Add new Interlingua translation.
6900
ab15736f 69012012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
6902
6903 * locale/programs/localedef.c: Fix description of '--posix' flag.
6904
568035b7
JM
69052013-01-02 Joseph Myers <joseph@codesourcery.com>
6906
e6898b8d
JM
6907 * NEWS: Update dates in second copyright notice.
6908 * README: Update copyright dates in example.
6909 * manual/libc.texinfo: Update copyright dates.
6910 * scripts/test-installation.pl: Update copyright date in --version
6911 output.
6912
0e2f9562
JM
6913 * hurd/ctty-input.c: Fix copyright notice formatting.
6914 * hurd/ctty-output.c: Likewise.
6915 * hurd/dtable.c: Likewise.
6916 * hurd/hurd-raise.c: Likewise.
6917 * hurd/hurdprio.c: Likewise.
6918 * hurd/msgportdemux.c: Likewise.
6919 * misc/sys/file.h: Likewise.
6920 * misc/sys/ioctl.h: Likewise.
6921 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6922 * sysdeps/mach/hurd/chdir.c: Likewise.
6923 * sysdeps/mach/hurd/fchdir.c: Likewise.
6924 * sysdeps/mach/hurd/rename.c: Likewise.
6925 * sysdeps/mach/hurd/rmdir.c: Likewise.
6926 * sysdeps/mach/hurd/seekdir.c: Likewise.
6927 * sysdeps/mach/hurd/setsid.c: Likewise.
6928 * sysdeps/posix/wait3.c: Likewise.
6929
568035b7
JM
6930 * All files with FSF copyright notices: Update copyright dates
6931 using scripts/update-copyrights.
6932 * intl/plural.c: Regenerated.
6933 * locale/programs/charmap-kw.h: Likewise.
6934 * locale/programs/locfile-kw.h: Likewise.
6935
da08f647
SP
69362013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6937
0f5477af
SP
6938 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
6939 four values.
6940
44e0d4c2
SP
6941 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
6942 calculation loop and add branch prediction.
6943
4d55b4e5
SP
6944 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
6945 check access beyond bounds of m1np.
6946
da08f647
SP
6947 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
6948 MPTWO.
6949 (__inv): Remove local variable MPTWO to use the global
6950 constant.
6951 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
6952 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
6953 variable MPTWO.
6954 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
6955 MP3HALFS static const.
6956
8e051029
DM
69572013-01-01 David S. Miller <davem@davemloft.net>
6958
6959 * po/ca.po: Update from translation team.
6960
f4cf5f2d
JM
69612013-01-01 Joseph Myers <joseph@codesourcery.com>
6962
6963 * scripts/update-copyrights: New file.
6964 * Makeconfig: Reformat copyright notice.
6965 * ctype/ctype.h: Likewise.
6966 * debug/swprintf_chk.c: Likewise.
6967 * elf/dl-cache.c: Likewise.
6968 * elf/dl-debug.c: Likewise.
6969 * elf/dl-object.c: Likewise.
6970 * grp/initgroups.c: Likewise.
6971 * hurd/Makefile: Likewise.
6972 * hurd/hurd/signal.h: Likewise.
6973 * hurd/hurdfault.c: Likewise.
6974 * hurd/hurdioctl.c: Likewise.
6975 * hurd/hurdlookup.c: Likewise.
6976 * hurd/intr-msg.c: Likewise.
6977 * iconv/gconv_open.c: Likewise.
6978 * libio/swprintf.c: Likewise.
6979 * locale/lc-ctype.c: Likewise.
6980 * locale/nl_langinfo.c: Likewise.
6981 * mach/Machrules: Likewise.
6982 * mach/Makefile: Likewise.
6983 * malloc/obstack.h: Likewise.
6984 * manual/Makefile: Likewise.
6985 * manual/tsort.awk: Likewise.
6986 * misc/bits/stab.def: Likewise.
6987 * nis/nis_print_group_entry.c: Likewise.
6988 * nis/nis_table.c: Likewise.
6989 * nis/nss_compat/compat-pwd.c: Likewise.
6990 * nis/nss_compat/compat-spwd.c: Likewise.
6991 * po/Makefile: Likewise.
6992 * posix/fnmatch.c: Likewise.
6993 * posix/regex.h: Likewise.
6994 * resolv/Makefile: Likewise.
6995 * resolv/nss_dns/dns-network.c: Likewise.
6996 * resolv/res_hconf.c: Likewise.
6997 * scripts/gen-sorted.awk: Likewise.
6998 * soft-fp/soft-fp.h: Likewise.
6999 * stdio-common/printf.h: Likewise.
7000 * stdlib/monetary.h: Likewise.
7001 * stdlib/random.c: Likewise.
7002 * stdlib/random_r.c: Likewise.
7003 * sysdeps/generic/Makefile: Likewise.
7004 * sysdeps/gnu/Makefile: Likewise.
7005 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7006 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7007 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7008 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7009 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7010 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7011 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7012 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7013 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7014 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7015 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7016 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7017 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7018 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7019 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
7020 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7021 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7022 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7023 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7024 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7025 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7026 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7027 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7028 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7029 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
7030 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7031 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7032 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
7033 * sysdeps/mach/hurd/errnos.awk: Likewise.
7034 * sysdeps/mach/hurd/fork.c: Likewise.
7035 * sysdeps/mach/hurd/getcwd.c: Likewise.
7036 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
7037 * sysdeps/mach/hurd/mmap.c: Likewise.
7038 * sysdeps/mach/hurd/utimes.c: Likewise.
7039 * sysdeps/mach/hurd/xmknod.c: Likewise.
7040 * sysdeps/posix/profil.c: Likewise.
7041 * sysdeps/posix/readdir_r.c: Likewise.
7042 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7043 * sysdeps/powerpc/bits/setjmp.h: Likewise.
7044 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
7045 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7046 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7047 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7048 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7049 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7050 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7051 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7052 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7053 * sysdeps/pthread/lio_listio.c: Likewise.
7054 * sysdeps/sparc/dl-procinfo.h: Likewise.
7055 * sysdeps/unix/i386/sysdep.S: Likewise.
7056 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
7057 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
7058 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7059 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
7060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7061 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7062 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7063 * sysdeps/unix/sysv/linux/speed.c: Likewise.
7064 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7065 * sysdeps/wordsize-32/divdi3.c: Likewise.
7066 * time/sys/time.h: Likewise.
7067 * wcsmbs/Makefile: Likewise.
7068
0549fbba
DM
70692013-01-01 David S. Miller <davem@davemloft.net>
7070
a141f1a7
DM
7071 * po/fr.po: Update from translation team.
7072
0549fbba
DM
7073 * catgets/gencat.c: Update copyright year.
7074 * csu/version.c: Likewise.
7075 * debug/catchsegv.sh: Likewise.
7076 * debug/pcprofiledump.c: Likewise.
7077 * debug/xtrace.sh: Likewise.
7078 * elf/ldconfig.c: Likewise.
7079 * elf/ldd.bash.in: Likewise.
7080 * elf/pldd.c: Likewise.
7081 * elf/sotruss.ksh: Likewise.
7082 * elf/sprof.c: Likewise.
7083 * iconv/iconv_prog.c: Likewise.
7084 * iconv/iconvconfig.c: Likewise.
7085 * locale/programs/locale.c: Likewise.
7086 * locale/programs/localedef.c: Likewise.
7087 * login/programs/pt_chown.c: Likewise.
7088 * malloc/memusage.sh: Likewise.
7089 * malloc/memusagestat.c: Likewise.
7090 * malloc/mtrace.pl: Likewise.
7091 * nscd/nscd.c: Likewise.
7092 * nss/getent.c: Likewise.
7093 * nss/makedb.c: Likewise.
7094 * posix/getconf.c: Likewise.
7095
18ea052c
SP
70962012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7097
7098 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
7099 numbers.
7100
9c89fca6
MF
71012012-12-30 Mike Frysinger <vapier@gentoo.org>
7102
7103 * math/bits/mathcalls.h (modf): Use __nonnull.
7104
085ec079
SP
71052012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7106
7107 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
7108 (split): Use macro CN instead of the bare value.
7109 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
7110 could be used.
7111 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
7112 instead of the bare value.
7113 (power1): Likewise.
7114
6d9f97e1
SP
71152012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7116
d63f73be
SP
7117 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
7118 __ATAN_TWOM.
7119 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7120
6d9f97e1
SP
7121 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
7122 their values.
7123 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7124 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7125 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
7126 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7127
4c4febf5
AJ
71282012-12-28 Andreas Jaeger <aj@suse.de>
7129
af5843ef
AJ
7130 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
7131 values are from Linux 3.7.
7132
4c4febf5
AJ
7133 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
7134 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
7135
99136f82
SP
71362012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7137
2f216c3c 7138 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
7139 TRUE case.
7140
99136f82
SP
7141 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
7142 (norm): Likewise.
7143 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
7144 variables with preprocessor constants.
7145 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7146 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7147 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7148
7fffbdff
BH
71492012-12-27 Bruno Haible <bruno@clisp.org>
7150
7151 [BZ #14317]
7152 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
7153 only if needed.
7154
b76eb5f0
SP
71552012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7156
31a7fe5c
SP
7157 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
7158 and use variable directly.
7159 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
7160
b76eb5f0
SP
7161 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7162 MPONE.
7163 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
7164 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7165 variable MPONE.
7166 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7167 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7168 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
7169 include directive. Remove local variable MPONE.
7170 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
7171 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
7172 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7173
2c8bfe7d
DM
71742012-12-25 David S. Miller <davem@davemloft.net>
7175
7176 * version.h (RELEASE): Set to "development".
7177 (VERSION): Set to "2.17.90".
7178 * NEWS: Add 2.18 section.
7179
147d03b0
DM
71802012-12-21 David S. Miller <davem@davemloft.net>
7181
7182 * po/hr.po: Update from translation team.
7183
a8ebb2b9
AK
71842012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7185
7186 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
7187
95b4f1b6
SE
71882012-12-19 Steve Ellcey <sellcey@mips.com>
7189
b2d94007 7190 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 7191
cedb2a90
MS
71922012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7193
7194 * manual/contrib.texi (Contributors): Spelling correction.
7195
bbf527d6
DM
71962012-12-15 David S. Miller <davem@davemloft.net>
7197
7198 * po/ru.po: Update from translation team.
7199
bc38c906
DM
72002012-12-13 David S. Miller <davem@davemloft.net>
7201
85429b1a
DM
7202 * NEWS: Mention IFUNC testsuite enhancements.
7203
d283e353
DM
7204 * po/pl.po: Update from translation team.
7205 * po/bg.po: Likewise.
7206
bc38c906
DM
7207 * manual/contrib.texi (Contributors): Update entries for Hongjiu
7208 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
7209
a181b0d7
DM
72102012-12-11 David S. Miller <davem@davemloft.net>
7211
4641d57e
DM
7212 * po/sv.po: Update from translation team.
7213
f7bc6495
DM
7214 * po/vi.po: Update from translation team.
7215
6fc9048f
DM
7216 * po/cs.po: Update from translation team.
7217
a181b0d7
DM
7218 * po/de.po: Update from translation team.
7219 * po/eo.po: Likewise.
7220 * po/nl.po: Likewise.
7221
f70bfe80
SP
72222012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7223
3c8b4190
SP
7224 [BZ #14246]
7225 * manual/argp.texi (Argp Helper Functions): Move node to follow
7226 Argp Parsing State.
7227
f70bfe80
SP
7228 [BZ #14872]
7229 * manual/conf.texi (Limits on File System Capacity): Mention if
7230 terminating null is included in the max size.
7231
188f0adf
AJ
72322012-12-10 Andreas Jaeger <aj@suse.de>
7233
7234 * po/cs.po: Update from translation team.
7235
56e7d3ad
SP
72362012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7237
7238 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
7239 void pointer and cast to uintptr_t.
7240 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
7241 path.
7242 * sysdeps/s390/s390-64/memcpy.S: Likewise.
7243 * sysdeps/s390/s390-64/memset.S: Likewise.
7244
76f2d2ea 72452012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
7246
7247 [BZ #14833]
7248 * menual/message.texi (Message Translation): Fix typos.
7249 (Helper programs for gettext): Likewise.
7250
67cbf9a2
AS
72512012-12-07 Andreas Schwab <schwab@linux-m68k.org>
7252
7253 [BZ #14898]
7254 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
7255 Change to -1.
7256
682d0e9a
DM
72572012-12-07 David S. Miller <davem@davemloft.net>
7258
7259 * po/libc.pot: Update.
7260
573cd484
RH
72612012-12-07 Richard Henderson <rth@redhat.com>
7262
7e9da188 7263 [BZ #10114]
573cd484
RH
7264 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
7265 normal/normal case to before the switch.
7266 (_FP_DIV): Likewise.
7267
e933a943
MF
72682012-12-06 Carlos O'Donell <carlos@systemhalted.org>
7269 Mike Frysinger <vapier@gentoo.org>
7270
7271 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
7272 check for __NR_fadvise64_64.
7273
82123268
CM
72742012-12-06 Chris Metcalf <cmetcalf@tilera.com>
7275
7276 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
7277 0, not just to plain "0" as a statement.
7278 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
7279 with cw.
7280
d9814526
JM
72812012-12-06 Joseph Myers <joseph@codesourcery.com>
7282
7283 * NEWS: Use sourceware.org in Bugzilla URL.
7284
7728c574
SP
72852012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7286
f16946dd
SP
7287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7288 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7289
5704bbcb
SP
7290 * stdio-common/tst-put-error.c (do_test): Add newline to the
7291 padded test to ensure flush.
7292
17aa0516
JL
72932012-12-05 Jeff Law <law@redhat.com>
7294
7295 * sunrpc/etc.rpc (fedfs_admin): Add entry.
7296
363313b5
JM
72972012-12-05 Joseph Myers <joseph@codesourcery.com>
7298
effbd42a
JM
7299 * README: Don't refer to ports add-on as distributed separately.
7300 Mention AArch64 in list of systems supported in the ports add-on.
7301
87600365
JM
7302 * LICENSES: Add more non-FSF copyright and license notices.
7303
a0d7066a
JM
7304 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
7305 ((unused)).
7306
66ca5a5b
JM
7307 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
7308
363313b5
JM
7309 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
7310 10000 as width of padded output.
7311
b37984ad
JM
73122012-12-04 Joseph Myers <joseph@codesourcery.com>
7313
9003570a
JM
7314 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
7315
b37984ad
JM
7316 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
7317 variable LX with __attribute__ ((unused)).
7318 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7319 Likewise.
7320 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
7321 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7322 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
7323 with __attribute__ ((unused)).
7324
c8df52ec
DM
73252012-12-04 David S. Miller <davem@abraco.davemloft.net>
7326
7327 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
7328
b3b099af
JM
73292012-12-04 Joseph Myers <joseph@codesourcery.com>
7330
c33aa6e3
JM
7331 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
7332 (CFLAGS-nldbl-acos.c): New variable.
7333 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
7334 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
7335 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
7336 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
7337 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
7338 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
7339 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
7340 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
7341 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
7342 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
7343 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
7344 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
7345 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
7346 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
7347 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
7348 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
7349 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
7350 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
7351 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
7352 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
7353 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
7354 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
7355 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
7356 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
7357 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
7358 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
7359 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
7360 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
7361 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
7362 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
7363 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
7364 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
7365 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
7366 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
7367 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
7368 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
7369 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
7370 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
7371 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
7372 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
7373 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
7374 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
7375 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
7376 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
7377 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
7378 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
7379 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
7380 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
7381 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
7382 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
7383 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
7384 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
7385 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
7386 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
7387 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
7388 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
7389 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
7390 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
7391 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
7392 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
7393 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
7394 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
7395 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
7396 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
7397 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
7398 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
7399 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
7400 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
7401 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
7402 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
7403 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
7404 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
7405 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
7406 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
7407 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
7408 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
7409 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
7410 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
7411 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
7412 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
7413 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
7414 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
7415 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
7416 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
7417 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
7418 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
7419 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
7420 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
7421 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
7422 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
7423 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
7424 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
7425 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
7426 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
7427 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
7428 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
7429 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
7430
20f0018d
JM
7431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7432 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7433
b3b099af
JM
7434 [BZ #14914]
7435 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
7436 whole low double instead of just low 47 bits when splitting values
7437 into two parts.
7438
029264d1
AM
74392012-12-03 Allan McRae <allan@archlinux.org>
7440
7441 * manual/stdio.texi (Predefined Printf Handlers): Remove
7442 @hsep and @vsep usage.
7443
c9d6789e
MF
74442012-12-03 Mike Frysinger <vapier@gentoo.org>
7445
7446 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
7447 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
7448
4b7634a5
JL
74492012-12-03 Jeff Law <law@redhat.com>
7450
7451 * time/sys/time.h (settimeofday): Do not mark TV argument
7452 as __nonnull.
7453
eb6cbd24
MF
74542012-12-01 Mike Frysinger <vapier@gentoo.org>
7455
7456 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
7457 when currently writing and seek to current position when not.
7458 * libio/Makefile (tests): Remove bug-fclose1.
7459 * libio/bug-fclose1.c: Delete.
7460
f638872a
JM
74612012-12-01 Joseph Myers <joseph@codesourcery.com>
7462
7463 * manual/arith.texi (feenableexcept): Fix typo.
7464 (fedisableexcept): Likewise.
7465
48085d14
RM
74662012-11-30 Roland McGrath <roland@hack.frob.com>
7467
7468 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
7469 second, differently-typed declaration, rather than a cast.
7470
1a538b9f
SP
74712012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7472
7473 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
7474 * include/rpc/svc.h: ... here.
7475
d07f2ff1 74762012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
7477
7478 [BZ #13013]
7479 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
7480 depending n and resplen2 to catch cases where answer
7481 equals answerp2.
7482
c93ec1f0
CD
74832012-11-29 Carlos O'Donell <carlos@systemhalted.org>
7484
7485 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
7486 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
7487
37db69de
MF
74882012-11-29 Mike Frysinger <vapier@gentoo.org>
7489
7490 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
7491
e10c4e4f
RM
74922012-11-29 Roland McGrath <roland@hack.frob.com>
7493
7494 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
7495
2af1b328
JL
74962012-11-28 Jeff Law <law@redhat.com>
7497
7498 [BZ #13761]
7499 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
7500 dataset_temporary. Track alloca usage into alloca_used.
7501 If dataset is large allocate and release it via malloc/free.
7502
111db5b1
FW
75032012-06-04 Florian Weimer <fweimer@redhat.com>
7504
f06cc227 7505 [BZ #14197]
111db5b1
FW
7506 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
7507
dd694abd
DM
75082012-11-28 David S. Miller <davem@davemloft.net>
7509
7510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7511
9984dd01
JM
75122012-11-28 Joseph Myers <joseph@codesourcery.com>
7513
7514 [BZ #14803]
7515 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
7516 of pi/2 rounded to nearest to 64 bits.
7517 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
7518 nearest to 64 bits.
7519 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
7520 bits.
7521
14bc93a9
JL
75222012-11-28 Jeff Law <law@redhat.com>
7523 Martin Osvald <mosvald@redhat.com>
7524
7525 [BZ #14889]
7526 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
7527 * sunrpc/svc.c: Include time.h.
7528 (__svc_accept_failed): New function.
7529 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
7530 any reason other than EINTR, call __svc_accept_failed.
7531 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
7532 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
7533
e3c6aa3a
AS
75342012-11-28 Andreas Schwab <schwab@suse.de>
7535
7536 * scripts/abilist.awk: Also handle indirect functions in .opd
7537 section.
7538
1bead169
JM
75392012-11-28 Joseph Myers <joseph@codesourcery.com>
7540
7541 [BZ #13881]
7542 * sysdeps/x86/fpu/powl_helper.c: New file.
7543 * sysdeps/x86/fpu/Makefile: Likewise.
7544 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
7545 (p3): New object.
7546 (__ieee754_powl): Use __powl_helper for finite arguments except
7547 integer exponents below 8.
7548 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
7549 (p3): New object.
7550 (__ieee754_powl): Use __powl_helper for finite arguments except
7551 integer exponents below 8.
7552 * math/libm-test.inc (pow_test): Add more tests and enable some
7553 previously disabled tests.
7554 * sysdeps/i386/fpu/libm-test-ulps: Update.
7555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7556
0817d63d
SP
75572012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7558 Carlos O'Donell <carlos_odonell@mentor.com>
7559
7560 * nss/makedb.c (is_prime): Assert that input is odd and greater
7561 than 4. Note that fact in a comment too.
7562 (next_prime): Add 4 to input.
7563
de2fd463
SP
75642012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7565
7566 [BZ #11741]
7567 * libio/Makefile (tests): Add test case tst-fwrite-error.
7568 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
7569 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
7570 * libio/tst-fwrite-error.c: New test case.
7571
c515fb51
L
75722012-11-26 H.J. Lu <hongjiu.lu@intel.com>
7573
7574 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
7575 before casting to void *.
7576 * include/libc-internal.h (__pointer_type): New macro.
7577 (__integer_if_pointer_type_sub): Likewise.
7578 (__integer_if_pointer_type): Likewise.
7579 (cast_to_integer): Likewise.
7580 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
7581 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
7582 before casting to atomic64_t.
7583 (atomic_exchange_acq): Likewise.
7584 (__arch_exchange_and_add_body): Likewise.
7585 (__arch_add_body): Likewise.
7586 (atomic_add_negative): Likewise.
7587 (atomic_add_zero): Likewise.
7588
4cf77aa9
JM
75892012-11-26 Joseph Myers <joseph@codesourcery.com>
7590
7591 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
7592 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
7593 (add_fdes): Likewise.
7594 (linear_search_fdes): Likewise.
7595 (binary_search_unencoded_fdes): Likewise.
7596
d260b3b4
AS
75972012-11-26 Andreas Schwab <schwab@linux-m68k.org>
7598
7599 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
7600
67060746
AC
76012012-11-24 Adam Conrad <adconrad@0c3.net>
7602
7603 * configure.in: Autodetect C++ header directories.
7604 * configure: Regenerated.
7605
800938a1
MF
76062012-11-23 Mike Frysinger <vapier@gentoo.org>
7607
7608 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
7609
4e6e34e6
AS
76102012-11-23 Andreas Schwab <schwab@linux-m68k.org>
7611
7612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7613
7c7feb47
JM
76142012-11-22 Joseph Myers <joseph@codesourcery.com>
7615
7184dcdf
JM
7616 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
7617 LDBL_MANT_DIG == 106]: Disable some tests.
7618 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7619 Likewise.
7620 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7621 Likewise.
7622
0a42601f
JM
7623 [BZ #14871]
7624 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
7625 input for small inputs. Return +/- pi/2 for large inputs.
7626 * math/libm-test.inc (atan_test): Add more tests.
7627
79c9b9fe
JM
7628 * sysdeps/generic/unwind-dw2-fde-glibc.c
7629 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
7630 __attribute__ ((unused)).
7631
c60d3bf2
JM
7632 [BZ #14645]
7633 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
7634 x * y if x and y are nonzero and z is zero.
7635
ef1e0867
JM
7636 [BZ #14811]
7637 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
7638 nonzero exponents with absolute value below 0x1p-117 to +/-
7639 0x1p-117.
7640
1468ded3
JM
7641 [BZ #14869]
7642 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
7643 up arguments below 2**-450, not just those below 2**-500.
7644 * math/libm-test.inc (hypot_test): Add another test.
7645
8e27e3cc
JM
7646 [BZ #14868]
7647 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7648 Return a+b for ratio over 2**120, not 2**60.
7649 * math/libm-test.inc (hypot_test): Add another test.
7650
c9c0279b
JM
7651 * math/libm-test.inc (clog_test): Use
7652 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
7653 (clog10_test): Likewise.
7654
7c7feb47
JM
7655 [BZ #6778]
7656 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
7657
fff1530e
AS
76582012-11-22 Andreas Schwab <schwab@suse.de>
7659
7660 * sysdeps/i386/fpu/libm-test-ulps: Update.
7661
94558d30
PT
76622012-11-22 Pino Toscano <toscano.pino@tiscali.it>
7663
7664 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
7665 printf output with newline.
7666
7e1be741
L
76672012-11-21 H.J. Lu <hongjiu.lu@intel.com>
7668
6bfea974
L
7669 [BZ #14865]
7670 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
7671 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
7672 -z nodlopen, -z initfirst and -z execstack support.
7673 * configure: Regenerated.
7674
7e1be741
L
7675 * elf/elf.h (DF_1_NODIRECT): New macro.
7676 (DF_1_IGNMULDEF): Likewise.
7677 (DF_1_NOKSYMS): Likewise.
7678 (DF_1_NOHDR): Likewise.
7679 (DF_1_EDITED): Likewise.
7680 (DF_1_NORELOC): Likewise.
7681 (DF_1_SYMINTPOSE): Likewise.
7682 (DF_1_GLOBAUDIT): Likewise.
7683 (DF_1_SINGLETON): Likewise.
7684 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
7685 DT_1_SUPPORTED_MASK bits.
7686 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
7687
105ce2ce
CD
76882012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
7689
7690 * sysdeps/unix/make-syscalls.sh: Document prefixes.
7691
123be9de
TS
76922012-11-20 Thomas Schwinge <thomas@codesourcery.com>
7693
d072f3f7
TS
7694 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
7695 macro.
7696
123be9de
TS
7697 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
7698 (sendmmsg): Move declarations...
7699 * socket/sys/socket.h: ... here.
7700 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
7701 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
7702 include it from...
7703 * socket/recvmmsg.c: ... this new file.
7704 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
7705 (sendmmsg): Rename to __sendmmsg, create weak alias and make
7706 definition of __sendmmsg hidden.
7707 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
7708 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
7709 Move ENOSYS stub into and include it from...
7710 * socket/sendmmsg.c: ... this new file.
7711 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
7712 (sysdep_routines): Move recvmmsg and sendmmsg...
7713 * socket/Makefile (routines): ... here.
7714 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
7715 (GLIBC_PRIVATE): Add __sendmmsg.
7716 * include/sys/socket.h (__sendmmsg): Add declarations.
7717 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
7718 sendmmsg.
7719
cf9a5d18
JM
77202012-11-20 Joseph Myers <joseph@codesourcery.com>
7721
7722 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
7723 variable I1 with __attribute__ ((unused)).
7724 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7725
ecd4caf9
JM
77262012-11-19 Joseph Myers <joseph@codesourcery.com>
7727
be14d48f
JM
7728 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
7729 DUMMY variables with __attribute__ ((unused)).
7730
ecd4caf9
JM
7731 * bits/byteswap.h: Include <bits/types.h>.
7732 (__bswap_64): Use __uint64_t instead of unsigned long long int.
7733
986cab95
PT
77342012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7735
7736 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
7737 string_t. Do not manually set errno.
7738 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
7739 length with __strnlen. Make sure to both set errno and return it on
7740 failure.
7741
6d33cc9d
DM
77422012-11-19 David S. Miller <davem@davemloft.net>
7743
7744 With help from Joseph Myers.
7745 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
7746 very large arguments properly.
7747 * math/libm-test.inc (atan_test): New tests.
7748 (atan2_test): New tests.
7749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7750 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7751
ee663277
JM
77522012-11-19 Joseph Myers <joseph@codesourcery.com>
7753
877f2d8e
JM
7754 [BZ #14856]
7755 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
7756 Define to 3.
7757
116fc08a
JM
7758 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
7759 [POSIX] (EADDRNOTAVAIL): Likewise.
7760 [POSIX] (EAFNOSUPPORT): Likewise.
7761 [POSIX] (EALREADY): Likewise.
7762 [POSIX] (ECONNABORTED): Likewise.
7763 [POSIX] (ECONNREFUSED): Likewise.
7764 [POSIX] (ECONNRESET): Likewise.
7765 [POSIX] (EDESTADDRREQ): Likewise.
7766 [POSIX] (EDQUOT): Likewise.
7767 [POSIX] (EHOSTUNREACH): Likewise.
7768 [POSIX] (EIDRM): Likewise.
7769 [POSIX] (EISCONN): Likewise.
7770 [POSIX] (ELOOP): Likewise.
7771 [POSIX] (EMULTIHOP): Likewise.
7772 [POSIX] (ENETDOWN): Likewise.
7773 [POSIX] (ENETUNREACH): Likewise.
7774 [POSIX] (ENOBUFS): Likewise.
7775 [POSIX] (ENODATA): Likewise.
7776 [POSIX] (ENOLINK): Likewise.
7777 [POSIX] (ENOMSG): Likewise.
7778 [POSIX] (ENOPROTOOPT): Likewise.
7779 [POSIX] (ENOSR): Likewise.
7780 [POSIX] (ENOSTR): Likewise.
7781 [POSIX] (ENOTCONN): Likewise.
7782 [POSIX] (ENOTSOCK): Likewise.
7783 [POSIX] (EOPNOTSUPP): Likewise.
7784 [POSIX] (EOVERFLOW): Likewise.
7785 [POSIX] (EPROTO): Likewise.
7786 [POSIX] (EPROTONOSUPPORT): Likewise.
7787 [POSIX] (EPROTOTYPE): Likewise.
7788 [POSIX] (ESTALE): Likewise.
7789 [POSIX] (ETIME): Likewise.
7790 [POSIX] (ETXTBSY): Likewise.
7791 [POSIX] (EWOULDBLOCK): Likewise.
7792 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
7793 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
7794 [POSIX] (SEEK_CUR): Likewise.
7795 [POSIX] (SEEK_END): Likewise.
7796 [POSIX || UNIX98] (mode_t): Do not require.
7797 [POSIX] (off_t): Likewise.
7798 [POSIX] (pid_t): Likewise.
7799 [POSIX] (sys/stat.h): Do not allow header.
7800 [POSIX] (unistd.h): Likewise.
7801 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
7802 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
7803 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
7804 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
7805 require.
7806 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
7807 sigevent): Specify elements.
7808 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
7809 entry.
7810 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
7811 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
7812
a483863f
JM
7813 * conform/data/cpio.h-data [POSIX]: Disable whole file.
7814 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
7815 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
7816 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
7817 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
7818 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
7819 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
7820 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
7821 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
7822 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
7823 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
7824 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
7825 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
7826 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
7827 Likewise.
7828 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
7829 Likewise.
7830 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
7831 Likewise.
7832 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
7833 Likewise.
7834 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
7835 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
7836 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
7837 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
7838 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
7839 Specify lower bound on value.
7840 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
7841 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
7842 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
7843 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
7844 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
7845 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
7846 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
7847 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
7848 value.
7849 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
7850 as optional.
7851 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
7852 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
7853 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
7854 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
7855 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
7856 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
7857 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
7858 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
7859 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
7860 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
7861 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
7862 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
7863 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
7864 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
7865 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
7866 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
7867 entry.
7868 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
7869 optional.
7870 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
7871 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
7872 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
7873 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
7874 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
7875 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
7876 Likewise.
7877 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
7878 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
7879 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
7880 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
7881 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
7882 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
7883 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
7884 as optional.
7885 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
7886 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
7887 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
7888 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
7889 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
7890 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
7891 specify as optional.
7892 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
7893 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
7894 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
7895 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
7896 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
7897 [XPG3] (NL_LANGMAX): Likewise.
7898 [POSIX || XPG3] (NL_MSGMAX): Likewise.
7899 [POSIX || XPG3] (NL_NMAX): Likewise.
7900 [POSIX || XPG3] (NL_SETMAX): Likewise.
7901 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
7902 [XPG3] (NZERO): Likewise.
7903 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
7904 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
7905 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
7906 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
7907 (REG_ERANGE): Expect.
7908 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
7909 optional-constant.
7910 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
7911 Use (void) in prototype.
7912 [POSIX] (*_t): Allow.
7913 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
7914 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
7915 (WRDE_BADVAL): Expect.
7916
5ba924e3
JM
7917 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
7918 expect.
7919 [XPG3 || XPG4] (O_RSYNC): Likewise.
7920 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
7921 Likewise.
7922 [XPG3 || XPG4] (pthread_sigmask): Likewise.
7923 [XPG3 || XPG4] (sigqueue): Likewise.
7924 [XPG3 || XPG4] (sigtimedwait): Likewise.
7925 [XPG3 || XPG4] (sigwaitinfo): Likewise.
7926 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
7927 [XPG3 || XPG4] (vsnprintf): Likewise.
7928 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
7929 Likewise.
7930 [XPG3 || XPG4] (blksize_t): Likewise.
7931 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
7932 Likewise.
7933 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
7934 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7935 [XPG3 || XPG4] (struct itimerspec): Likewise.
7936 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
7937 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
7938 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
7939 [XPG3 || XPG4] (clockid_t): Likewise.
7940 [XPG3 || XPG4] (timer_t): Likewise.
7941 [XPG3 || XPG4] (clock_getres): Likewise.
7942 [XPG3 || XPG4] (clock_gettime): Likewise.
7943 [XPG3 || XPG4] (clock_settime): Likewise.
7944 [XPG3 || XPG4] (nanosleep): Likewise.
7945 [XPG3 || XPG4] (timer_create): Likewise.
7946 [XPG3 || XPG4] (timer_delete): Likewise.
7947 [XPG3 || XPG4] (timer_gettime): Likewise.
7948 [XPG3 || XPG4] (timer_getoverrun): Likewise.
7949 [XPG3 || XPG4] (timer_settime): Likewise.
7950 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
7951 [XPG3 || XPG4] (getlogin_r): Likewise.
7952 [XPG3 || XPG4] (pread): Likewise.
7953 [XPG3 || XPG4] (pthread_atfork): Likewise.
7954 [XPG3 || XPG4] (pwrite): Likewise.
7955
ee663277
JM
7956 [BZ #14835]
7957 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
7958 <bits/siginfo.h>.
7959
942caa16
PT
79602012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7961
e19af380
PT
7962 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
7963 finalizing MALLSTREAM.
7964
942caa16
PT
7965 * sysdeps/mach/hurd/syncfs.c: New file.
7966
cfde9b46
SP
79672012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7968
7969 [BZ #14719]
7970 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
7971 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
7972 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
7973 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
7974 (_nss_dns_gethostbyname4_r): Likewise.
7975 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
7976 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
7977
f6da27e5
PH
79782012-11-19 Peng Haitao <penght@cn.fujitsu.com>
7979
7980 [BZ #13763]
7981 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
7982
6665d4a2
SM
79832012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
7984
1f51ee92
SM
7985 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
7986 * elf/cache.c (print_entry): Print ",AArch64" for
7987 FLAG_AARCH64_LIB64
7988
6665d4a2
SM
7989 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
7990 * elf/cache.c (print_entry): Print ",hard-float" for
7991 FLAG_ARM_LIBHF.
7992
05b227bd
DM
79932012-11-18 David S. Miller <davem@davemloft.net>
7994
7995 With help from Joseph Myers.
7996 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
7997 cutoff to 2**-13.
7998 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
7999 cutoff to 2**-25.
8000 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
8001 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
8002 small.
8003 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8004 * math/libm-test.inc (y0_test): New tests.
8005 (y1_test): New tests.
8006 * sysdeps/i386/fpu/libm-test-ulps: Update.
8007 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8009
786b0b67
AS
80102012-11-18 Andreas Schwab <schwab@linux-m68k.org>
8011
8012 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
8013 64-bit targets.
8014 * configure: Regenerated.
8015
8e18b86d
DM
80162012-11-17 David S. Miller <davem@davemloft.net>
8017
8018 [BZ #14811]
8019 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
8020 nonzero exponents with absolute value below 0x1p-128 to +/-
8021 0x1p-128.
8022
531f1ae0
JM
80232012-11-17 Joseph Myers <joseph@codesourcery.com>
8024
12df29e2
JM
8025 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
8026
150dc1a0
JM
8027 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
8028
531f1ae0
JM
8029 * posix/getconf-speclist.c: New file.
8030 * posix/posix-envs.def: Likewise.
8031 * posix/confstr.c (START_ENV_GROUP): New macro.
8032 (END_ENV_GROUP): Likewise.
8033 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8034 (KNOWN_PRESENT_ENV_STRING): Likewise.
8035 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8036 (UNKNOWN_ENVIRONMENT): Likewise.
8037 (confstr): Include posix-envs.def instead of handling
8038 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
8039 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
8040 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
8041 (END_ENV_GROUP): Likewise.
8042 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8043 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8044 (UNKNOWN_ENVIRONMENT): Likewise.
8045 (__sysconf): Include posix-envs.def instead of handling associated
8046 cases directly here.
8047 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
8048 preprocessing getconf-speclist.c rather than running getconf or
8049 generating empty file.
8050
a93f9cbc
PT
80512012-11-16 Pino Toscano <toscano.pino@tiscali.it>
8052
8053 * scripts/check-local-headers.sh: Ignore 'mach' headers.
8054
d64d9f87
AL
80552012-11-16 Andrej Lajovic <natrij@gmail.com>
8056
8057 [BZ #14672]
8058 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
8059
447885eb
DM
80602012-11-16 David S. Miller <davem@davemloft.net>
8061
8062 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
8063 smaller than LDBL_EPSILON/2.0L, just return xm1.
8064
bcbf9830
L
80652012-11-16 H.J. Lu <hongjiu.lu@intel.com>
8066
8067 * elf/tst-array1.c (init): Set constructor priority to 1000.
8068 (fini): Set destructor priority to 1000.
8069 * elf/tst-array2dep.c: Likewise.
8070
2b766585
SP
80712012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8072
8073 [BZ #11741]
8074 * libio/fileops.c (_IO_new_file_write): Correctly return error.
8075 (_IO_new_file_xsputn): Also return EOF if none of the input
8076 data was written when overflow failed.
8077 * libio/iopadn.c (_IO_padn): Likewise.
8078 * libio/iowpadn.c (_IO_wpadn): Likewise.
8079 * stdio-common/tst-put-error.c: Add copyright notice.
8080 (do_test): Add case for printing padded string.
8081 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
8082 _IO_padn returned error.
8083 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
8084 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
8085 return EOF.
8086
b1848fde
SP
80872012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8088
8089 * libio/libioP.h: Add comment note that the references to C++
8090 bits are now obsolete.
8091
2fd89785
MS
80922012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8093
8094 * math/libm-test.inc (check_complex): Use asprintf.
8095
e3ea5409
JM
80962012-11-14 Joseph Myers <joseph@codesourcery.com>
8097
8098 * debug/pcprofiledump.c (print_version): Update copyright year.
8099 * malloc/memusagestat.c (print_version): Likewise.
8100
2e64d265
L
81012012-11-14 H.J. Lu <hongjiu.lu@intel.com>
8102
8103 [BZ #14831]
8104 * elf/Makefile (tests): Add tst-audit8.
8105 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
8106 ($(objpfx)tst-audit8.out): New target.
8107 (tst-audit8-ENV): New variable.
8108 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
8109 audit if l_reloc_result is NULL.
8110 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
8111 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
8112 * elf/tst-audit8.c: New file.
8113
c485e4d2
MS
81142012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8115
8116 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
8117 * misc/Makefile (CFLAGS-select.c): Define.
8118 * posix/Makefile (CFLAGS-pause.c): Define.
8119
3a0d900a
DM
81202012-11-13 David S. Miller <davem@davemloft.net>
8121
8122 * crypt/Makefile: Move test targets after toplevel Rules
8123 inclusion. Grab any necessary sysdep routines when linking.
8124 * crypt/md5.c (md5_process_block): Remove define, we will always
8125 name it __md5_process_block.
8126 (md5_finish_ctx): Update md5_process_block call.
8127 (md5_stream): Likewise.
8128 (md5_process_bytes): Likewise.
8129 (md5_process_block): Rename to __md5_process_block and move to ...
8130 * crypt/md5-block.c: ... here.
8131 * crypt/sha256.c (sha256_process_block): Move to ...
8132 * crypt/sha256-block.c: ... here.
8133 * crypt/sha512.c (sha512_process_block): Move to ...
8134 * crypt/sha512-block.c: ... here.
8135 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
8136 path.
8137 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
8138 * sysdeps/sparc/sparc64/multiarch/Makefile
8139 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
8140 crypt subdir.
8141 (localedef-aux): Add md5 crypto assembler when in locale subdir.
8142 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
8143 multiarch changes.
8144 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
8145 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
8146 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
8147 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
8148 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
8149 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
8150 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
8151 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
8152 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
8153 file.
8154 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
8155 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
8156 file.
8157 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
8158
8ca89318
JM
81592012-11-13 Joseph Myers <joseph@codesourcery.com>
8160
e27d476a
JM
8161 * timezone/tzselect.ksh: Update from tzcode git revision
8162 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
8163 * timezone/zdump.c: Likewise.
8164 * timezone/zic.c: Likewise.
8165 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
8166 in TZVERSION setting, not $(PKGVERSION).
8167 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
8168 REPORT_BUGS_TO settings.
8169
8ca89318
JM
8170 [BZ #14838]
8171 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
8172 macro.
8173
47594329
MS
81742012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8175
8176 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
8177 detection to immediately after _FP_ROUND().
8178 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
8179 bits are 0.
8180
640ac3f1
DM
81812012-11-11 David S. Miller <davem@davemloft.net>
8182
8183 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
8184 inttypes.h
8185 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
8186 __close rather than their public counterparts.
8187
3d2577bb
JM
81882012-11-10 Joseph Myers <joseph@codesourcery.com>
8189
8190 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
8191 file.
8192 [UNIX98] (sem_timedwait): Do not expect.
8193 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
8194 [XPG4 || UNIX98] (sockatmark): Do not expect.
8195 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
8196 (clock_getcpuclockid): Do not expect.
8197 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
8198 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
8199 Do not expect.
8200 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
8201 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
8202 [UNIX98] (vwscanf): Likewise.
8203 [UNIX98] (vswscanf): Likewise.
8204
fb1ae1ee
JM
82052012-11-09 Joseph Myers <joseph@codesourcery.com>
8206
9ec6f8bd
JM
8207 * timezone/version.h: Remove file.
8208 * timezone/README: Do not refer to version.h.
8209 * timezone/Makefile ($(objpfx)zic.o): New dependency on
8210 $(objpfx)version.h.
8211 ($(objpfx)zdump.o): Likewise.
c3f81911 8212 ($(objpfx)version.h): New target.
9ec6f8bd 8213
0aa8f8a1
JM
8214 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
8215 2012i.
8216 * timezone/README: Don't mention modification to tzselect.ksh.
8217 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
8218 work on unmodified tzselect.ksh. Substitute version numbers in
8219 tzselect.ksh.
8220
4e87147f
JM
8221 * Makefile (format-me): Remove.
8222 (INSTALL): Adjust indentation. Use commands directly instead of
8223 using $(format-me).
8224
8b748aed
JM
8225 * aclocal.m4 (ACX_PKGVERSION): New macro.
8226 (ACX_BUGURL): Likewise.
8227 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
8228 (PKGVERSION): New AC_DEFINE_UNQUOTED.
8229 (REPORT_BUGS_TO): Likewise.
8230 * configure: Regenerated.
8231 * config.h.in (PKGVERSION): New macro.
8232 (REPORT_BUGS_TO): Likewise.
8233 * config.make.in (PKGVERSION): New variable.
8234 (PKGVERSION_TEXI): Likewise.
8235 (REPORT_BUGS_TO): Likewise.
8236 (REPORT_BUGS_TEXI): Likewise.
8237 * Makefile (format-me): Use -I$(common-objpfx)manual.
8238 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
8239 ($(common-objpfx)manual/%): New target.
8240 (manual/%): Remove target.
8241 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
8242 (print_version): Use PKGVERSION.
8243 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
8244 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
8245 and REPORT_BUGS_TO.
8246 ($(objpfx)xtrace): Likewise.
8247 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
8248 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
8249 (print_version): Use PKGVERSION.
8250 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
8251 (do_version): Use PKGVERSION.
8252 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
8253 REPORT_BUGS_TO.
8254 (common-ldd-rewrite): Likewise.
8255 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
8256 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
8257 (print_version): Use PKGVERSION.
8258 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
8259 * elf/pldd.c (argp_program_bug_address): Remove variable.
8260 (more_help): New function.
8261 (argp): Use more_help.
8262 (print_version): Use PKGVERSION.
8263 * elf/sln.c (main): Use PKGVERSION.
8264 (usage): Use REPORT_BUGS_TO.
8265 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
8266 (top level): Use PKGVERSION.
8267 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
8268 (print_version): Use PKGVERSION.
8269 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
8270 (print_version): Use PKGVERSION.
8271 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
8272 (print_version): Use PKGVERSION.
8273 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
8274 (print_version): Use PKGVERSION.
8275 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
8276 (print_version): Use PKGVERSION.
8277 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
8278 (print_version): Use PKGVERSION.
8279 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
8280 and BUGURL.
8281 ($(objpfx)memusage): Likewise.
8282 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
8283 (do_version): Use PKGVERSION.
8284 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
8285 (print_version): Use PKGVERSION.
8286 * malloc/mtrace.pl ($PACKAGE): Remove variable.
8287 ($PKGVERSION): New variable.
8288 ($REPORT_BUGS_TO): Likewise.
8289 (usage): Use $REPORT_BUGS_TO.
8290 (top level): Use $PKGVERSION.
8291 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
8292 ($(objpfx)pkgvers.texi): New rule.
8293 ($(objpfx)stamp-pkgvers): Likewise.
8294 * manual/install.texi: Include pkgvers.texi.
8295 (--with-pkgversion): Document new configure option.
8296 (--with-bugurl): Likewise.
8297 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
8298 than necessarily for this particular distribution. Use
8299 REPORT_BUGS_TO for where to report bugs.
8300 * INSTALL: Regenerated.
8301 * manual/libc.texinfo: Include pkgvers.texi.
8302 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
8303 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
8304 (print_version): Use PKGVERSION.
8305 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
8306 (print_version): Use PKGVERSION.
8307 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
8308 (print_version): Use PKGVERSION.
8309 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
8310 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
8311 macro.
8312 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
8313 (print_version): Use PKGVERSION.
8314 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
8315 (print_version): Use PKGVERSION.
8316 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
8317 and PKGVERSION.
8318
92e4b6a9
JM
8319 * timezone/checktab.awk: Update from tzcode 2012i.
8320 * timezone/ialloc.c: Likewise.
8321 * timezone/private.h: Likewise.
8322 * timezone/scheck.c: Likewise.
8323 * timezone/tzfile.h: Likewise.
8324 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
8325 (TZVERSION): Hardcode tzcode version number.
8326 * timezone/zdump.c: Update from tzcode 2012i.
8327 * timezone/zic.c: Likewise.
8328 * timezone/version.h: New file.
8329 * timezone/README: Describe version.h. Update upstream location.
8330
9bde902c
JM
8331 [BZ #14824]
8332 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
8333 (mktemp): Enable declaration.
8334 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
8335 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
8336 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
8337 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
8338 Likewise.
8339 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
8340 Likewise.
8341 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
8342 Likewise.
8343 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
8344 Likewise.
8345 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
8346 Likewise.
8347 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
8348 Likewise.
8349
fb1ae1ee
JM
8350 [BZ #14821]
8351 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
8352 offset in buffer as u_int32_t not u_long. Consistently use memcpy
8353 for copies of such integer values.
8354 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
8355 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
8356
2c1adbcb
AJ
83572012-11-09 Andreas Jaeger <aj@suse.de>
8358
8359 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
8360 definitions and declarations that are provided by
8361 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8362
d0f8457e
AK
83632012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8364
3a235abb 8365 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
8366 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
8367 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
8368 definition.
8369
57241e26
MS
83702012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8371
8372 * elf/elf.h: Update comment before AArch64 relocations.
8373
60e8270d
DM
83742012-11-07 David S. Miller <davem@davemloft.net>
8375
8376 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
8377 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8378 (__start_context): Declare.
8379 (__makecontext_ret): Delete.
8380 (__makecontext): Hook up __start_context instead of
8381 __makecontext_ret.
8382 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8383 (sysdep_routines): Add __start_context when in stdlib.
8384
0fbb0fbc
JM
83852012-11-07 Joseph Myers <joseph@codesourcery.com>
8386
8387 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
8388 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
8389 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
8390 hardcoded "nm".
8391 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
8392 (READELF): New variable. Use it instead of hardcoded "readelf".
8393
eb48db7e
L
83942012-11-07 H.J. Lu <hongjiu.lu@intel.com>
8395
8396 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
8397 * sysdeps/x86/Makefile: Here.
8398 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
8399 * sysdeps/x86/tst-xmmymm.sh: This.
8400
05bcf62a
JM
84012012-11-07 Joseph Myers <joseph@codesourcery.com>
8402
c4b6cf53
JM
8403 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
8404 expectations.
8405 [UNIX98] (pthread_barrier_t): Do not expect.
8406 [UNIX98] (pthread_barrierattr_t): Likewise.
8407 [UNIX98] (pthread_spinlock_t): Likewise.
8408 [UNIX98] (pthread_barrier_destroy): Likewise.
8409 [UNIX98] (pthread_barrier_init): Likewise.
8410 [UNIX98] (pthread_barrier_wait): Likewise.
8411 [UNIX98] (pthread_barrierattr_destroy): Likewise.
8412 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
8413 [UNIX98] (pthread_barrierattr_init): Likewise.
8414 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
8415 [UNIX98] (pthread_getcpuclockid): Likewise.
8416 [UNIX98] (pthread_mutex_timedlock): Likewise.
8417 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
8418 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
8419 [UNIX98] (pthread_sigmask): Likewise.
8420 [UNIX98] (pthread_spin_destroy): Likewise.
8421 [UNIX98] (pthread_spin_init): Likewise.
8422 [UNIX98] (pthread_spin_lock): Likewise.
8423 [UNIX98] (pthread_spin_trylock): Likewise.
8424 [UNIX98] (pthread_spin_unlock): Likewise.
8425 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
8426 Do not expect.
8427 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
8428 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
8429 [XPG3 || XPG4] (pthread_cond_t): Likewise.
8430 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
8431 [XPG3 || XPG4] (pthread_key_t): Likewise.
8432 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
8433 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
8434 [XPG3 || XPG4] (pthread_once_t): Likewise.
8435 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
8436 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
8437 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
8438 [XPG3 || XPG4] (pthread_t): Likewise.
8439
cbe6e120
JM
8440 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
8441 not expect.
8442 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
8443
1b126443
JM
8444 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
8445 Change function return type to int.
8446
b961a573
JM
8447 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
8448 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
8449 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
8450 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
8451 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
8452 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
8453 [!POSIX] (posix_madvise): Likewise.
8454 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
8455 && !UNIX98].
8456 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
8457 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
8458 (mode_t): Likewise.
8459 (posix_mem_offset): Likewise.
8460 (posix_typed_mem_get_info): Likewise.
8461 (posix_typed_mem_open): Likewise.
8462
9e188909
JM
8463 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
8464 Change condition to [XOPEN2K8].
8465
05bcf62a
JM
8466 * conform/conformtest.pl: Preprocess allow-header data with -x c
8467 instead of from stdin.
8468 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
8469 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
8470 [C99-based standards] (cerfc): Likewise.
8471 [C99-based standards] (cexp2): Likewise.
8472 [C99-based standards] (cexpm1): Likewise.
8473 [C99-based standards] (clog10): Likewise.
8474 [C99-based standards] (clog1p): Likewise.
8475 [C99-based standards] (clog2): Likewise.
8476 [C99-based standards] (clgamma): Likewise.
8477 [C99-based standards] (ctgamma): Likewise.
8478 [C99-based standards] (cerff): Likewise.
8479 [C99-based standards] (cerfcf): Likewise.
8480 [C99-based standards] (cexp2f): Likewise.
8481 [C99-based standards] (cexpm1f): Likewise.
8482 [C99-based standards] (clog10f): Likewise.
8483 [C99-based standards] (clog1pf): Likewise.
8484 [C99-based standards] (clog2f): Likewise.
8485 [C99-based standards] (clgammaf): Likewise.
8486 [C99-based standards] (ctgammaf): Likewise.
8487 [C99-based standards] (cerfl): Likewise.
8488 [C99-based standards] (cerfcl): Likewise.
8489 [C99-based standards] (cexp2l): Likewise.
8490 [C99-based standards] (cexpm1l): Likewise.
8491 [C99-based standards] (clog10l): Likewise.
8492 [C99-based standards] (clog1pl): Likewise.
8493 [C99-based standards] (clog2l): Likewise.
8494 [C99-based standards] (clgammal): Likewise.
8495 [C99-based standards] (ctgammal): Likewise.
8496 * conform/data/inttypes.h-data [C99-based standards]: Include
8497 stdint.h-data. Remove all expectations for stdint.h contents.
8498 [C99-based standards] (PRI*): Do not allow.
8499 [C99-based standards] (SCN*): Likewise.
8500 [C99-based standards] (*_t): Likewise.
8501 [C99-based-standards] (PRId8): Expect macro.
8502 [C99-based-standards] (PRIi8): Likewise.
8503 [C99-based-standards] (PRIo8): Likewise.
8504 [C99-based-standards] (PRIu8): Likewise.
8505 [C99-based-standards] (PRIx8): Likewise.
8506 [C99-based-standards] (PRIX8): Likewise.
8507 [C99-based-standards] (SCNd8): Likewise.
8508 [C99-based-standards] (SCNi8): Likewise.
8509 [C99-based-standards] (SCNo8): Likewise.
8510 [C99-based-standards] (SCNu8): Likewise.
8511 [C99-based-standards] (SCNx8): Likewise.
8512 [C99-based-standards] (PRIdLEAST8): Likewise.
8513 [C99-based-standards] (PRIiLEAST8): Likewise.
8514 [C99-based-standards] (PRIoLEAST8): Likewise.
8515 [C99-based-standards] (PRIuLEAST8): Likewise.
8516 [C99-based-standards] (PRIxLEAST8): Likewise.
8517 [C99-based-standards] (PRIXLEAST8): Likewise.
8518 [C99-based-standards] (SCNdLEAST8): Likewise.
8519 [C99-based-standards] (SCNiLEAST8): Likewise.
8520 [C99-based-standards] (SCNoLEAST8): Likewise.
8521 [C99-based-standards] (SCNuLEAST8): Likewise.
8522 [C99-based-standards] (SCNxLEAST8): Likewise.
8523 [C99-based-standards] (PRIdFAST8): Likewise.
8524 [C99-based-standards] (PRIiFAST8): Likewise.
8525 [C99-based-standards] (PRIoFAST8): Likewise.
8526 [C99-based-standards] (PRIuFAST8): Likewise.
8527 [C99-based-standards] (PRIxFAST8): Likewise.
8528 [C99-based-standards] (PRIXFAST8): Likewise.
8529 [C99-based-standards] (SCNdFAST8): Likewise.
8530 [C99-based-standards] (SCNiFAST8): Likewise.
8531 [C99-based-standards] (SCNoFAST8): Likewise.
8532 [C99-based-standards] (SCNuFAST8): Likewise.
8533 [C99-based-standards] (SCNxFAST8): Likewise.
8534 [C99-based-standards] (PRId16): Likewise.
8535 [C99-based-standards] (PRIi16): Likewise.
8536 [C99-based-standards] (PRIo16): Likewise.
8537 [C99-based-standards] (PRIu16): Likewise.
8538 [C99-based-standards] (PRIx16): Likewise.
8539 [C99-based-standards] (PRIX16): Likewise.
8540 [C99-based-standards] (SCNd16): Likewise.
8541 [C99-based-standards] (SCNi16): Likewise.
8542 [C99-based-standards] (SCNo16): Likewise.
8543 [C99-based-standards] (SCNu16): Likewise.
8544 [C99-based-standards] (SCNx16): Likewise.
8545 [C99-based-standards] (PRIdLEAST16): Likewise.
8546 [C99-based-standards] (PRIiLEAST16): Likewise.
8547 [C99-based-standards] (PRIoLEAST16): Likewise.
8548 [C99-based-standards] (PRIuLEAST16): Likewise.
8549 [C99-based-standards] (PRIxLEAST16): Likewise.
8550 [C99-based-standards] (PRIXLEAST16): Likewise.
8551 [C99-based-standards] (SCNdLEAST16): Likewise.
8552 [C99-based-standards] (SCNiLEAST16): Likewise.
8553 [C99-based-standards] (SCNoLEAST16): Likewise.
8554 [C99-based-standards] (SCNuLEAST16): Likewise.
8555 [C99-based-standards] (SCNxLEAST16): Likewise.
8556 [C99-based-standards] (PRIdFAST16): Likewise.
8557 [C99-based-standards] (PRIiFAST16): Likewise.
8558 [C99-based-standards] (PRIoFAST16): Likewise.
8559 [C99-based-standards] (PRIuFAST16): Likewise.
8560 [C99-based-standards] (PRIxFAST16): Likewise.
8561 [C99-based-standards] (PRIXFAST16): Likewise.
8562 [C99-based-standards] (SCNdFAST16): Likewise.
8563 [C99-based-standards] (SCNiFAST16): Likewise.
8564 [C99-based-standards] (SCNoFAST16): Likewise.
8565 [C99-based-standards] (SCNuFAST16): Likewise.
8566 [C99-based-standards] (SCNxFAST16): Likewise.
8567 [C99-based-standards] (PRId32): Likewise.
8568 [C99-based-standards] (PRIi32): Likewise.
8569 [C99-based-standards] (PRIo32): Likewise.
8570 [C99-based-standards] (PRIu32): Likewise.
8571 [C99-based-standards] (PRIx32): Likewise.
8572 [C99-based-standards] (PRIX32): Likewise.
8573 [C99-based-standards] (SCNd32): Likewise.
8574 [C99-based-standards] (SCNi32): Likewise.
8575 [C99-based-standards] (SCNo32): Likewise.
8576 [C99-based-standards] (SCNu32): Likewise.
8577 [C99-based-standards] (SCNx32): Likewise.
8578 [C99-based-standards] (PRIdLEAST32): Likewise.
8579 [C99-based-standards] (PRIiLEAST32): Likewise.
8580 [C99-based-standards] (PRIoLEAST32): Likewise.
8581 [C99-based-standards] (PRIuLEAST32): Likewise.
8582 [C99-based-standards] (PRIxLEAST32): Likewise.
8583 [C99-based-standards] (PRIXLEAST32): Likewise.
8584 [C99-based-standards] (SCNdLEAST32): Likewise.
8585 [C99-based-standards] (SCNiLEAST32): Likewise.
8586 [C99-based-standards] (SCNoLEAST32): Likewise.
8587 [C99-based-standards] (SCNuLEAST32): Likewise.
8588 [C99-based-standards] (SCNxLEAST32): Likewise.
8589 [C99-based-standards] (PRIdFAST32): Likewise.
8590 [C99-based-standards] (PRIiFAST32): Likewise.
8591 [C99-based-standards] (PRIoFAST32): Likewise.
8592 [C99-based-standards] (PRIuFAST32): Likewise.
8593 [C99-based-standards] (PRIxFAST32): Likewise.
8594 [C99-based-standards] (PRIXFAST32): Likewise.
8595 [C99-based-standards] (SCNdFAST32): Likewise.
8596 [C99-based-standards] (SCNiFAST32): Likewise.
8597 [C99-based-standards] (SCNoFAST32): Likewise.
8598 [C99-based-standards] (SCNuFAST32): Likewise.
8599 [C99-based-standards] (SCNxFAST32): Likewise.
8600 [C99-based-standards] (PRId64): Likewise.
8601 [C99-based-standards] (PRIi64): Likewise.
8602 [C99-based-standards] (PRIo64): Likewise.
8603 [C99-based-standards] (PRIu64): Likewise.
8604 [C99-based-standards] (PRIx64): Likewise.
8605 [C99-based-standards] (PRIX64): Likewise.
8606 [C99-based-standards] (SCNd64): Likewise.
8607 [C99-based-standards] (SCNi64): Likewise.
8608 [C99-based-standards] (SCNo64): Likewise.
8609 [C99-based-standards] (SCNu64): Likewise.
8610 [C99-based-standards] (SCNx64): Likewise.
8611 [C99-based-standards] (PRIdLEAST64): Likewise.
8612 [C99-based-standards] (PRIiLEAST64): Likewise.
8613 [C99-based-standards] (PRIoLEAST64): Likewise.
8614 [C99-based-standards] (PRIuLEAST64): Likewise.
8615 [C99-based-standards] (PRIxLEAST64): Likewise.
8616 [C99-based-standards] (PRIXLEAST64): Likewise.
8617 [C99-based-standards] (SCNdLEAST64): Likewise.
8618 [C99-based-standards] (SCNiLEAST64): Likewise.
8619 [C99-based-standards] (SCNoLEAST64): Likewise.
8620 [C99-based-standards] (SCNuLEAST64): Likewise.
8621 [C99-based-standards] (SCNxLEAST64): Likewise.
8622 [C99-based-standards] (PRIdFAST64): Likewise.
8623 [C99-based-standards] (PRIiFAST64): Likewise.
8624 [C99-based-standards] (PRIoFAST64): Likewise.
8625 [C99-based-standards] (PRIuFAST64): Likewise.
8626 [C99-based-standards] (PRIxFAST64): Likewise.
8627 [C99-based-standards] (PRIXFAST64): Likewise.
8628 [C99-based-standards] (SCNdFAST64): Likewise.
8629 [C99-based-standards] (SCNiFAST64): Likewise.
8630 [C99-based-standards] (SCNoFAST64): Likewise.
8631 [C99-based-standards] (SCNuFAST64): Likewise.
8632 [C99-based-standards] (SCNxFAST64): Likewise.
8633 [C99-based-standards] (PRIdMAX): Likewise.
8634 [C99-based-standards] (PRIiMAX): Likewise.
8635 [C99-based-standards] (PRIoMAX): Likewise.
8636 [C99-based-standards] (PRIuMAX): Likewise.
8637 [C99-based-standards] (PRIxMAX): Likewise.
8638 [C99-based-standards] (PRIXMAX): Likewise.
8639 [C99-based-standards] (SCNdMAX): Likewise.
8640 [C99-based-standards] (SCNiMAX): Likewise.
8641 [C99-based-standards] (SCNoMAX): Likewise.
8642 [C99-based-standards] (SCNuMAX): Likewise.
8643 [C99-based-standards] (SCNxMAX): Likewise.
8644 [C99-based-standards] (PRIdPTR): Likewise.
8645 [C99-based-standards] (PRIiPTR): Likewise.
8646 [C99-based-standards] (PRIoPTR): Likewise.
8647 [C99-based-standards] (PRIuPTR): Likewise.
8648 [C99-based-standards] (PRIxPTR): Likewise.
8649 [C99-based-standards] (PRIXPTR): Likewise.
8650 [C99-based-standards] (SCNdPTR): Likewise.
8651 [C99-based-standards] (SCNiPTR): Likewise.
8652 [C99-based-standards] (SCNoPTR): Likewise.
8653 [C99-based-standards] (SCNuPTR): Likewise.
8654 [C99-based-standards] (SCNxPTR): Likewise.
8655 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
8656 allow.
8657 * conform/data/stdint.h-data: Update comments to clarify
8658 requirements.
8659 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
8660 type.
8661 [C99-based standards] (INT8_MAX): Likewise.
8662 [C99-based standards] (INT16_MIN): Likewise.
8663 [C99-based standards] (INT16_MAX): Likewise.
8664 [C99-based standards] (INT32_MIN): Likewise.
8665 [C99-based standards] (INT32_MAX): Likewise.
8666 [C99-based standards] (INT64_MIN): Likewise.
8667 [C99-based standards] (INT64_MAX): Likewise.
8668 [C99-based standards] (UINT8_MAX): Likewise.
8669 [C99-based standards] (UINT16_MAX): Likewise.
8670 [C99-based standards] (UINT32_MAX): Likewise.
8671 [C99-based standards] (UINT64_MAX): Likewise.
8672 [C99-based standards] (INT_LEAST8_MIN): Likewise.
8673 [C99-based standards] (INT_LEAST8_MAX): Likewise.
8674 [C99-based standards] (INT_LEAST16_MIN): Likewise.
8675 [C99-based standards] (INT_LEAST16_MAX): Likewise.
8676 [C99-based standards] (INT_LEAST32_MIN): Likewise.
8677 [C99-based standards] (INT_LEAST32_MAX): Likewise.
8678 [C99-based standards] (INT_LEAST64_MIN): Likewise.
8679 [C99-based standards] (INT_LEAST64_MAX): Likewise.
8680 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
8681 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
8682 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
8683 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
8684 [C99-based standards] (INT_FAST8_MIN): Likewise.
8685 [C99-based standards] (INT_FAST8_MAX): Likewise.
8686 [C99-based standards] (INT_FAST16_MIN): Likewise.
8687 [C99-based standards] (INT_FAST16_MAX): Likewise.
8688 [C99-based standards] (INT_FAST32_MIN): Likewise.
8689 [C99-based standards] (INT_FAST32_MAX): Likewise.
8690 [C99-based standards] (INT_FAST64_MIN): Likewise.
8691 [C99-based standards] (INT_FAST64_MAX): Likewise.
8692 [C99-based standards] (UINT_FAST8_MAX): Likewise.
8693 [C99-based standards] (UINT_FAST16_MAX): Likewise.
8694 [C99-based standards] (UINT_FAST32_MAX): Likewise.
8695 [C99-based standards] (UINT_FAST64_MAX): Likewise.
8696 [C99-based standards] (INTPTR_MIN): Likewise.
8697 [C99-based standards] (INTPTR_MAX): Likewise.
8698 [C99-based standards] (UINTPTR_MAX): Likewise.
8699 [C99-based standards] (INTMAX_MIN): Likewise.
8700 [C99-based standards] (INTMAX_MAX): Likewise.
8701 [C99-based standards] (UINTMAX_MAX): Likewise.
8702 [C99-based standards] (PTRDIFF_MIN): Likewise.
8703 [C99-based standards] (PTRDIFF_MAX): Likewise.
8704 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
8705 [C99-based standards] (SIZE_MAX): Likewise.
8706 [C99-based standards] (WCHAR_MAX): Likewise.
8707 [C99-based standards] (WINT_MAX): Likewise.
8708 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
8709 constraint on value.
8710 [C99-based standards] (WCHAR_MIN): Likewise.
8711 [C99-based standards] (WINT_MIN): Likewise.
8712 [C99-based standards] (*_t): Allow.
8713 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
8714 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
8715 Include math.h-data and complex.h-data. Remove all expectations
8716 of math.h and complex.h contents.
8717 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
8718 at end of line.
8719 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
8720 (struct tm): Expect tag.
8721 [C99-based-standards] (wcstof): Expect function.
8722 [C99-based-standards] (wcstold): Likewise.
8723 [C99-based-standards] (wcstoll): Likewise.
8724 [C99-based-standards] (wcstoull): Likewise.
8725 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
8726 macro-int-constant. Specify type.
8727 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
8728 constraint on value.
8729 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8730 Specify type.
8731 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
8732 Specify value.
8733 [ISO C standards]: Do not allow headers.
8734 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
8735 wcs[abcdefghijklmnopqrstuvwxyz]*.
8736 [ISO C standards] (*_t): Do not allow.
8737 * conform/data/wctype.h-data [C99-based standards] (iswblank):
8738 Expect function.
8739 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
8740 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8741 Specify type.
8742 [ISO C standards]: Do not allow headers.
8743 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
8744 is[abcdefghijklmnopqrstuvwxyz]*.
8745 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
8746 to[abcdefghijklmnopqrstuvwxyz]*.
8747 [ISO C standards] (*_t): Do not allow.
8748 * conform/data/stdalign.h-data: New file.
8749 * conform/data/stdbool.h-data: Likewise.
8750 * conform/data/stdnoreturn.h-data: Likewise.
8751
7514feb8
RM
87522012-11-07 Roland McGrath <roland@hack.frob.com>
8753
8754 [BZ #14815]
8755 * manual/filesys.texi (Directory Entries): Typo fix.
8756 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
8757
19b2ecfc
MS
87582012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8759
8760 * elf/elf.h (EM_AARCH64): New macro.
8761 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
8762 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
8763 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
8764 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
8765 (R_AARCH64_TLSDESC): Likewise.
8766 (NT_ARM_TLS): Likewise.
8767 (NT_ARM_HW_BREAK): Likewise.
8768 (NT_ARM_HW_WATCH): Likewise.
8769
60e235ee
JM
87702012-11-07 Joseph Myers <joseph@codesourcery.com>
8771
8772 [BZ #14811]
8773 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
8774 (__ieee754_powl): Saturate nonzero exponents with absolute value
8775 below 0x1p-79 to +/- 0x1p-79.
8776 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
8777 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
8778 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
8779 nonzero exponents with absolute value below 0x1p-32 to +/-
8780 0x1p-32.
8781 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
8782 (__ieee754_powl): Saturate nonzero exponents with absolute value
8783 below 0x1p-79 to +/- 0x1p-79.
8784 * math/libm-test.inc (pow_test): Add more tests.
8785
0ab234b7
AK
87862012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8787
8788 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
8789 _dl_s390_cap_flags with kernel. Increase string length.
8790 (_dl_s390_platforms): Add z196 and zEC12.
8791
45832f74
JM
87922012-11-07 Joseph Myers <joseph@codesourcery.com>
8793
8794 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
8795 Change XOPEN21K to XOPEN2K.
8796
19218757
MK
87972012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
8798
8799 * string/memmove.c: Use memcpy when possible.
8800
c5f45721
AJ
88012012-11-06 Andreas Jaeger <aj@suse.de>
8802
8803 * po/eo.po: Update from translation team.
8804
82477c28
JM
88052012-11-06 Joseph Myers <joseph@codesourcery.com>
8806
8807 [BZ #14793]
8808 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
8809 exponent and small x and y exponents, scale x or y up. Increase
8810 by 2 the exponent used in scaling up.
8811 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8812 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8813 * math/libm-test.inc (fma_test): Add more tests.
8814 (fma_test_towardzero): Likewise.
8815 (fma_test_downward): Likewise.
8816 (fma_test_upward): Likewise.
8817
99252c8c
JM
88182012-11-05 Joseph Myers <joseph@codesourcery.com>
8819
acfa885f
JM
8820 [BZ #14805]
8821 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
8822 fenv_t *.
8823
99252c8c
JM
8824 [BZ #14801]
8825 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
8826 namespace for names of struct fields.
8827 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
8828 fenv_t fields.
8829 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8830 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
8831
d6d98dea
ST
88322012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8833
8834 [BZ #3665]
8835 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
8836
e10bb107
TS
88372012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8838
8839 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
8840 PTR_DEMANGLE.
8841
8842 [BZ #5246]
8843 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
8844 PTR_DEMANGLE.
8845
a0c2940d
JM
88462012-11-04 Joseph Myers <joseph@codesourcery.com>
8847
8848 [BZ #14797]
8849 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
8850 definitely overflow as x * y not x * y + z.
8851 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8852 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8853 * math/libm-test.inc (fma_test): Add more tests.
8854 (fma_test_towardzero): Likewise.
8855 (fma_test_downward): Likewise.
8856 (fma_test_upward): Likewise.
8857
b830319d
TS
88582012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8859
8860 [BZ #157]
8861
8862 * include/stub-tag.h: Remove file.
8863 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
8864 '#include' of it.
8865 * manual/maint.texi (Porting): Don't reference it.
8866 * Makerules ($(objpfx)stubs): Likewise.
8867 * dirent/closedir.c: Don't include <stub-tag.h>.
8868 * dirent/dirfd.c: Likewise.
8869 * dirent/fdopendir.c: Likewise.
8870 * dirent/getdents.c: Likewise.
8871 * dirent/getdents64.c: Likewise.
8872 * dirent/opendir.c: Likewise.
8873 * dirent/readdir.c: Likewise.
8874 * dirent/readdir64.c: Likewise.
8875 * dirent/readdir64_r.c: Likewise.
8876 * dirent/readdir_r.c: Likewise.
8877 * dirent/rewinddir.c: Likewise.
8878 * dirent/seekdir.c: Likewise.
8879 * dirent/telldir.c: Likewise.
8880 * gmon/profil.c: Likewise.
8881 * grp/setgroups.c: Likewise.
8882 * inet/if_index.c: Likewise.
8883 * io/access.c: Likewise.
8884 * io/chdir.c: Likewise.
8885 * io/chmod.c: Likewise.
8886 * io/chown.c: Likewise.
8887 * io/close.c: Likewise.
8888 * io/dup.c: Likewise.
8889 * io/dup2.c: Likewise.
8890 * io/dup3.c: Likewise.
8891 * io/euidaccess.c: Likewise.
8892 * io/faccessat.c: Likewise.
8893 * io/fchdir.c: Likewise.
8894 * io/fchmod.c: Likewise.
8895 * io/fchmodat.c: Likewise.
8896 * io/fchown.c: Likewise.
8897 * io/fchownat.c: Likewise.
8898 * io/fcntl.c: Likewise.
8899 * io/flock.c: Likewise.
8900 * io/fstatfs.c: Likewise.
8901 * io/fstatfs64.c: Likewise.
8902 * io/fstatvfs.c: Likewise.
8903 * io/fstatvfs64.c: Likewise.
8904 * io/futimens.c: Likewise.
8905 * io/fxstat.c: Likewise.
8906 * io/fxstat64.c: Likewise.
8907 * io/fxstatat.c: Likewise.
8908 * io/fxstatat64.c: Likewise.
8909 * io/getcwd.c: Likewise.
8910 * io/isatty.c: Likewise.
8911 * io/lchmod.c: Likewise.
8912 * io/lchown.c: Likewise.
8913 * io/link.c: Likewise.
8914 * io/linkat.c: Likewise.
8915 * io/lseek.c: Likewise.
8916 * io/lseek64.c: Likewise.
8917 * io/lxstat64.c: Likewise.
8918 * io/mkdir.c: Likewise.
8919 * io/mkdirat.c: Likewise.
8920 * io/mkfifo.c: Likewise.
8921 * io/mkfifoat.c: Likewise.
8922 * io/open.c: Likewise.
8923 * io/open64.c: Likewise.
8924 * io/openat.c: Likewise.
8925 * io/openat64.c: Likewise.
8926 * io/pipe.c: Likewise.
8927 * io/pipe2.c: Likewise.
8928 * io/poll.c: Likewise.
8929 * io/posix_fadvise.c: Likewise.
8930 * io/posix_fadvise64.c: Likewise.
8931 * io/posix_fallocate.c: Likewise.
8932 * io/posix_fallocate64.c: Likewise.
8933 * io/read.c: Likewise.
8934 * io/readlink.c: Likewise.
8935 * io/readlinkat.c: Likewise.
8936 * io/rmdir.c: Likewise.
8937 * io/sendfile.c: Likewise.
8938 * io/sendfile64.c: Likewise.
8939 * io/statfs.c: Likewise.
8940 * io/statfs64.c: Likewise.
8941 * io/statvfs.c: Likewise.
8942 * io/statvfs64.c: Likewise.
8943 * io/symlink.c: Likewise.
8944 * io/symlinkat.c: Likewise.
8945 * io/ttyname.c: Likewise.
8946 * io/ttyname_r.c: Likewise.
8947 * io/umask.c: Likewise.
8948 * io/unlink.c: Likewise.
8949 * io/unlinkat.c: Likewise.
8950 * io/utime.c: Likewise.
8951 * io/utimensat.c: Likewise.
8952 * io/write.c: Likewise.
8953 * io/xmknod.c: Likewise.
8954 * io/xmknodat.c: Likewise.
8955 * io/xstat.c: Likewise.
8956 * io/xstat64.c: Likewise.
8957 * login/getpt.c: Likewise.
8958 * login/grantpt.c: Likewise.
8959 * login/unlockpt.c: Likewise.
8960 * math/e_acoshl.c: Likewise.
8961 * math/e_acosl.c: Likewise.
8962 * math/e_asinl.c: Likewise.
8963 * math/e_atan2l.c: Likewise.
8964 * math/e_atanhl.c: Likewise.
8965 * math/e_coshl.c: Likewise.
8966 * math/e_expl.c: Likewise.
8967 * math/e_fmodl.c: Likewise.
8968 * math/e_gammal_r.c: Likewise.
8969 * math/e_hypotl.c: Likewise.
8970 * math/e_j0l.c: Likewise.
8971 * math/e_j1l.c: Likewise.
8972 * math/e_jnl.c: Likewise.
8973 * math/e_lgammal_r.c: Likewise.
8974 * math/e_log10l.c: Likewise.
8975 * math/e_log2l.c: Likewise.
8976 * math/e_logl.c: Likewise.
8977 * math/e_powl.c: Likewise.
8978 * math/e_rem_pio2l.c: Likewise.
8979 * math/e_sinhl.c: Likewise.
8980 * math/e_sqrtl.c: Likewise.
8981 * math/fclrexcpt.c: Likewise.
8982 * math/fedisblxcpt.c: Likewise.
8983 * math/feenablxcpt.c: Likewise.
8984 * math/fegetenv.c: Likewise.
8985 * math/fegetexcept.c: Likewise.
8986 * math/fegetround.c: Likewise.
8987 * math/feholdexcpt.c: Likewise.
8988 * math/fesetenv.c: Likewise.
8989 * math/fesetround.c: Likewise.
8990 * math/feupdateenv.c: Likewise.
8991 * math/fgetexcptflg.c: Likewise.
8992 * math/fraiseexcpt.c: Likewise.
8993 * math/fsetexcptflg.c: Likewise.
8994 * math/ftestexcept.c: Likewise.
8995 * math/k_cosl.c: Likewise.
8996 * math/k_rem_pio2l.c: Likewise.
8997 * math/k_sinl.c: Likewise.
8998 * math/k_tanl.c: Likewise.
8999 * math/s_asinhl.c: Likewise.
9000 * math/s_atanl.c: Likewise.
9001 * math/s_cbrtl.c: Likewise.
9002 * math/s_erfl.c: Likewise.
9003 * math/s_expm1l.c: Likewise.
9004 * math/s_log1pl.c: Likewise.
9005 * math/s_tanhl.c: Likewise.
9006 * misc/acct.c: Likewise.
9007 * misc/brk.c: Likewise.
9008 * misc/chflags.c: Likewise.
9009 * misc/chroot.c: Likewise.
9010 * misc/fchflags.c: Likewise.
9011 * misc/fgetxattr.c: Likewise.
9012 * misc/flistxattr.c: Likewise.
9013 * misc/fremovexattr.c: Likewise.
9014 * misc/fsetxattr.c: Likewise.
9015 * misc/fsync.c: Likewise.
9016 * misc/ftruncate.c: Likewise.
9017 * misc/futimes.c: Likewise.
9018 * misc/futimesat.c: Likewise.
9019 * misc/getdomain.c: Likewise.
9020 * misc/getdtsz.c: Likewise.
9021 * misc/gethostid.c: Likewise.
9022 * misc/gethostname.c: Likewise.
9023 * misc/getloadavg.c: Likewise.
9024 * misc/getpagesize.c: Likewise.
9025 * misc/getsysstats.c: Likewise.
9026 * misc/getxattr.c: Likewise.
9027 * misc/gtty.c: Likewise.
9028 * misc/ioctl.c: Likewise.
9029 * misc/lgetxattr.c: Likewise.
9030 * misc/listxattr.c: Likewise.
9031 * misc/llistxattr.c: Likewise.
9032 * misc/lremovexattr.c: Likewise.
9033 * misc/lsetxattr.c: Likewise.
9034 * misc/lutimes.c: Likewise.
9035 * misc/madvise.c: Likewise.
9036 * misc/mincore.c: Likewise.
9037 * misc/mlock.c: Likewise.
9038 * misc/mlockall.c: Likewise.
9039 * misc/mmap.c: Likewise.
9040 * misc/mprotect.c: Likewise.
9041 * misc/msync.c: Likewise.
9042 * misc/munlock.c: Likewise.
9043 * misc/munlockall.c: Likewise.
9044 * misc/munmap.c: Likewise.
9045 * misc/preadv.c: Likewise.
9046 * misc/preadv64.c: Likewise.
9047 * misc/ptrace.c: Likewise.
9048 * misc/pwritev.c: Likewise.
9049 * misc/pwritev64.c: Likewise.
9050 * misc/readv.c: Likewise.
9051 * misc/reboot.c: Likewise.
9052 * misc/remap_file_pages.c: Likewise.
9053 * misc/removexattr.c: Likewise.
9054 * misc/revoke.c: Likewise.
9055 * misc/select.c: Likewise.
9056 * misc/setdomain.c: Likewise.
9057 * misc/setegid.c: Likewise.
9058 * misc/seteuid.c: Likewise.
9059 * misc/sethostid.c: Likewise.
9060 * misc/sethostname.c: Likewise.
9061 * misc/setregid.c: Likewise.
9062 * misc/setreuid.c: Likewise.
9063 * misc/setxattr.c: Likewise.
9064 * misc/sstk.c: Likewise.
9065 * misc/stty.c: Likewise.
9066 * misc/swapoff.c: Likewise.
9067 * misc/swapon.c: Likewise.
9068 * misc/sync.c: Likewise.
9069 * misc/syncfs.c: Likewise.
9070 * misc/syscall.c: Likewise.
9071 * misc/truncate.c: Likewise.
9072 * misc/ualarm.c: Likewise.
9073 * misc/usleep.c: Likewise.
9074 * misc/ustat.c: Likewise.
9075 * misc/utimes.c: Likewise.
9076 * misc/vhangup.c: Likewise.
9077 * misc/writev.c: Likewise.
9078 * posix/_exit.c: Likewise.
9079 * posix/alarm.c: Likewise.
9080 * posix/execve.c: Likewise.
9081 * posix/fexecve.c: Likewise.
9082 * posix/fork.c: Likewise.
9083 * posix/fpathconf.c: Likewise.
9084 * posix/getaddrinfo.c: Likewise.
9085 * posix/getegid.c: Likewise.
9086 * posix/geteuid.c: Likewise.
9087 * posix/getgid.c: Likewise.
9088 * posix/getgroups.c: Likewise.
9089 * posix/getlogin.c: Likewise.
9090 * posix/getlogin_r.c: Likewise.
9091 * posix/getpgid.c: Likewise.
9092 * posix/getpid.c: Likewise.
9093 * posix/getppid.c: Likewise.
9094 * posix/getresgid.c: Likewise.
9095 * posix/getresuid.c: Likewise.
9096 * posix/getsid.c: Likewise.
9097 * posix/getuid.c: Likewise.
9098 * posix/glob64.c: Likewise.
9099 * posix/nanosleep.c: Likewise.
9100 * posix/pathconf.c: Likewise.
9101 * posix/pause.c: Likewise.
9102 * posix/posix_madvise.c: Likewise.
9103 * posix/pread.c: Likewise.
9104 * posix/pread64.c: Likewise.
9105 * posix/pwrite.c: Likewise.
9106 * posix/pwrite64.c: Likewise.
9107 * posix/sched_getaffinity.c: Likewise.
9108 * posix/sched_getp.c: Likewise.
9109 * posix/sched_gets.c: Likewise.
9110 * posix/sched_primax.c: Likewise.
9111 * posix/sched_primin.c: Likewise.
9112 * posix/sched_rr_gi.c: Likewise.
9113 * posix/sched_setaffinity.c: Likewise.
9114 * posix/sched_setp.c: Likewise.
9115 * posix/sched_sets.c: Likewise.
9116 * posix/sched_yield.c: Likewise.
9117 * posix/setgid.c: Likewise.
9118 * posix/setlogin.c: Likewise.
9119 * posix/setpgid.c: Likewise.
9120 * posix/setresgid.c: Likewise.
9121 * posix/setresuid.c: Likewise.
9122 * posix/setsid.c: Likewise.
9123 * posix/setuid.c: Likewise.
9124 * posix/sleep.c: Likewise.
9125 * posix/spawni.c: Likewise.
9126 * posix/sysconf.c: Likewise.
9127 * posix/times.c: Likewise.
9128 * posix/wait.c: Likewise.
9129 * posix/wait3.c: Likewise.
9130 * posix/wait4.c: Likewise.
9131 * posix/waitpid.c: Likewise.
9132 * resolv/gai_sigqueue.c: Likewise.
9133 * resource/getpriority.c: Likewise.
9134 * resource/getrlimit.c: Likewise.
9135 * resource/getrusage.c: Likewise.
9136 * resource/nice.c: Likewise.
9137 * resource/setpriority.c: Likewise.
9138 * resource/setrlimit.c: Likewise.
9139 * resource/ulimit.c: Likewise.
9140 * rt/aio_cancel.c: Likewise.
9141 * rt/aio_fsync.c: Likewise.
9142 * rt/aio_read.c: Likewise.
9143 * rt/aio_sigqueue.c: Likewise.
9144 * rt/aio_suspend.c: Likewise.
9145 * rt/aio_write.c: Likewise.
9146 * rt/clock_getres.c: Likewise.
9147 * rt/clock_gettime.c: Likewise.
9148 * rt/clock_nanosleep.c: Likewise.
9149 * rt/clock_settime.c: Likewise.
9150 * rt/lio_listio.c: Likewise.
9151 * rt/mq_close.c: Likewise.
9152 * rt/mq_getattr.c: Likewise.
9153 * rt/mq_notify.c: Likewise.
9154 * rt/mq_open.c: Likewise.
9155 * rt/mq_receive.c: Likewise.
9156 * rt/mq_send.c: Likewise.
9157 * rt/mq_setattr.c: Likewise.
9158 * rt/mq_timedreceive.c: Likewise.
9159 * rt/mq_timedsend.c: Likewise.
9160 * rt/mq_unlink.c: Likewise.
9161 * rt/shm_open.c: Likewise.
9162 * rt/shm_unlink.c: Likewise.
9163 * rt/timer_create.c: Likewise.
9164 * rt/timer_delete.c: Likewise.
9165 * rt/timer_getoverr.c: Likewise.
9166 * rt/timer_gettime.c: Likewise.
9167 * rt/timer_settime.c: Likewise.
9168 * setjmp/__longjmp.c: Likewise.
9169 * setjmp/setjmp.c: Likewise.
9170 * signal/kill.c: Likewise.
9171 * signal/killpg.c: Likewise.
9172 * signal/raise.c: Likewise.
9173 * signal/sigaction.c: Likewise.
9174 * signal/sigaltstack.c: Likewise.
9175 * signal/sigblock.c: Likewise.
9176 * signal/sigignore.c: Likewise.
9177 * signal/sigintr.c: Likewise.
9178 * signal/signal.c: Likewise.
9179 * signal/sigpause.c: Likewise.
9180 * signal/sigpending.c: Likewise.
9181 * signal/sigqueue.c: Likewise.
9182 * signal/sigreturn.c: Likewise.
9183 * signal/sigset.c: Likewise.
9184 * signal/sigsetmask.c: Likewise.
9185 * signal/sigstack.c: Likewise.
9186 * signal/sigsuspend.c: Likewise.
9187 * signal/sigtimedwait.c: Likewise.
9188 * signal/sigvec.c: Likewise.
9189 * signal/sigwait.c: Likewise.
9190 * signal/sigwaitinfo.c: Likewise.
9191 * signal/sysv_signal.c: Likewise.
9192 * socket/accept.c: Likewise.
9193 * socket/accept4.c: Likewise.
9194 * socket/bind.c: Likewise.
9195 * socket/connect.c: Likewise.
9196 * socket/getpeername.c: Likewise.
9197 * socket/getsockname.c: Likewise.
9198 * socket/getsockopt.c: Likewise.
9199 * socket/isfdtype.c: Likewise.
9200 * socket/listen.c: Likewise.
9201 * socket/recv.c: Likewise.
9202 * socket/recvfrom.c: Likewise.
9203 * socket/recvmsg.c: Likewise.
9204 * socket/send.c: Likewise.
9205 * socket/sendmsg.c: Likewise.
9206 * socket/sendto.c: Likewise.
9207 * socket/setsockopt.c: Likewise.
9208 * socket/shutdown.c: Likewise.
9209 * socket/sockatmark.c: Likewise.
9210 * socket/socket.c: Likewise.
9211 * socket/socketpair.c: Likewise.
9212 * stdio-common/ctermid.c: Likewise.
9213 * stdio-common/cuserid.c: Likewise.
9214 * stdio-common/remove.c: Likewise.
9215 * stdio-common/rename.c: Likewise.
9216 * stdio-common/renameat.c: Likewise.
9217 * stdio-common/tempname.c: Likewise.
9218 * stdlib/getcontext.c: Likewise.
9219 * stdlib/makecontext.c: Likewise.
9220 * stdlib/setcontext.c: Likewise.
9221 * stdlib/swapcontext.c: Likewise.
9222 * stdlib/system.c: Likewise.
9223 * streams/fattach.c: Likewise.
9224 * streams/fdetach.c: Likewise.
9225 * streams/getmsg.c: Likewise.
9226 * streams/getpmsg.c: Likewise.
9227 * streams/putmsg.c: Likewise.
9228 * streams/putpmsg.c: Likewise.
9229 * sysdeps/unix/bsd/getpt.c: Likewise.
9230 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
9231 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
9232 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9234 Likewise.
9235 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
9236 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9237 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9238 * sysvipc/msgctl.c: Likewise.
9239 * sysvipc/msgget.c: Likewise.
9240 * sysvipc/msgrcv.c: Likewise.
9241 * sysvipc/msgsnd.c: Likewise.
9242 * sysvipc/semctl.c: Likewise.
9243 * sysvipc/semget.c: Likewise.
9244 * sysvipc/semop.c: Likewise.
9245 * sysvipc/semtimedop.c: Likewise.
9246 * sysvipc/shmat.c: Likewise.
9247 * sysvipc/shmctl.c: Likewise.
9248 * sysvipc/shmdt.c: Likewise.
9249 * sysvipc/shmget.c: Likewise.
9250 * termios/tcdrain.c: Likewise.
9251 * termios/tcflow.c: Likewise.
9252 * termios/tcflush.c: Likewise.
9253 * termios/tcgetattr.c: Likewise.
9254 * termios/tcgetpgrp.c: Likewise.
9255 * termios/tcsendbrk.c: Likewise.
9256 * termios/tcsetattr.c: Likewise.
9257 * termios/tcsetpgrp.c: Likewise.
9258 * time/adjtime.c: Likewise.
9259 * time/clock.c: Likewise.
9260 * time/getitimer.c: Likewise.
9261 * time/gettimeofday.c: Likewise.
9262 * time/setitimer.c: Likewise.
9263 * time/settimeofday.c: Likewise.
9264 * time/stime.c: Likewise.
9265 * time/time.c: Likewise.
9266
92672012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 9268
a20492cf
PT
9269 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
9270 /usr/old/bin.
9271
72e182e3
PT
9272 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
9273 instead of spaces.
9274 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
9275
fbeafede
JM
92762012-11-03 Joseph Myers <joseph@codesourcery.com>
9277
5b5b04d6
JM
9278 [BZ #14796]
9279 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
9280 FE_TONEAREST before applying Dekker multiplication and Knuth
9281 addition. Clear inexact exceptions and check for exact zero
9282 results afterwards.
9283 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9284 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9285 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9286 * math/libm-test.inc (fma_test): Add more tests.
9287 (fma_test_towardzero): Likewise.
9288 (fma_test_downward): Likewise.
9289 (fma_test_upward): Likewise.
9290 * sysdeps/generic/math_private.h (default_libc_fesetround): New
9291 function.
9292 (libc_fesetround): New macro.
9293 (libc_fesetroundf): Likewise.
9294 (libc_fesetroundl): Likewise.
9295 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
9296 function.
9297 (libc_fesetround_387): Likewise.
9298 (libc_fesetroundf): New macro.
9299 (libc_fesetround): Likewise.
9300 (libc_fesetroundl): Likewise.
9301 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
9302 function.
9303 (libc_fesetroundf): New macro.
9304 (libc_fesetround): Likewise.
9305 (libc_fesetroundl): Likewise.
9306 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
9307 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
9308 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
9309 libm_hidden_ver.
9310 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
9311 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
9312 libm_hidden_def.
9313 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
9314 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
9315 libm_hidden_ver.
9316 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
9317 libm_hidden_def.
9318
fbeafede
JM
9319 [BZ #3439]
9320 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
9321 integer constant usable in #if and use that to give value to enum
9322 constant.
9323 (FE_DIVBYZERO): Likewise.
9324 (FE_UNDERFLOW): Likewise.
9325 (FE_OVERFLOW): Likewise.
9326 (FE_INVALID): Likewise.
9327 (FE_INVALID_SNAN): Likewise.
9328 (FE_INVALID_ISI): Likewise.
9329 (FE_INVALID_IDI): Likewise.
9330 (FE_INVALID_ZDZ): Likewise.
9331 (FE_INVALID_IMZ): Likewise.
9332 (FE_INVALID_COMPARE): Likewise.
9333 (FE_INVALID_SOFTWARE): Likewise.
9334 (FE_INVALID_SQRT): Likewise.
9335 (FE_INVALID_INTEGER_CONVERSION): Likewise.
9336 (FE_TONEAREST): Likewise.
9337 (FE_TOWARDZERO): Likewise.
9338 (FE_UPWARD): Likewise.
9339 (FE_DOWNWARD): Likewise.
9340 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
9341 (FE_DIVBYZERO): Likewise.
9342 (FE_OVERFLOW): Likewise.
9343 (FE_UNDERFLOW): Likewise.
9344 (FE_INEXACT): Likewise.
9345 (FE_TONEAREST): Likewise.
9346 (FE_DOWNWARD): Likewise.
9347 (FE_UPWARD): Likewise.
9348 (FE_TOWARDZERO): Likewise.
9349 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
9350 (FE_UNDERFLOW): Likewise.
9351 (FE_OVERFLOW): Likewise.
9352 (FE_DIVBYZERO): Likewise.
9353 (FE_INVALID): Likewise.
9354 (FE_TONEAREST): Likewise.
9355 (FE_TOWARDZERO): Likewise.
9356 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
9357 (FE_OVERFLOW): Likewise.
9358 (FE_UNDERFLOW): Likewise.
9359 (FE_DIVBYZERO): Likewise.
9360 (FE_INEXACT): Likewise.
9361 (FE_TONEAREST): Likewise.
9362 (FE_TOWARDZERO): Likewise.
9363 (FE_UPWARD): Likewise.
9364 (FE_DOWNWARD): Likewise.
9365 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
9366 (FE_DIVBYZERO): Likewise.
9367 (FE_OVERFLOW): Likewise.
9368 (FE_UNDERFLOW): Likewise.
9369 (FE_INEXACT): Likewise.
9370 (FE_TONEAREST): Likewise.
9371 (FE_DOWNWARD): Likewise.
9372 (FE_UPWARD): Likewise.
9373 (FE_TOWARDZERO): Likewise.
9374
105ca950
CM
93752012-11-02 Chris Metcalf <cmetcalf@tilera.com>
9376
9377 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
9378
a542b389
AS
93792012-11-03 Andreas Schwab <schwab@linux-m68k.org>
9380
9381 * scripts/cross-test-ssh.sh (command): Use newlines to separate
9382 commands. Quote $PWD.
9383 (blacklist_exports): Don't use remove_newlines. Replace "declare
9384 -x" by "export".
9385 (remove_newlines): Remove.
9386
f62c8abc
L
93872012-11-02 H.J. Lu <hongjiu.lu@intel.com>
9388
9389 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
9390 * stdlib/stdlib.h (atof): Moved to ...
9391 * include/bits/stdlib-float.h: Here. New file.
9392 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
9393 * stdlib/bits/stdlib-float.h: New file.
9394 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
9395 -mno-sse -mno-mmx.
9396 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
9397 <xmmintrin.h>.
9398
0155d5b2
JM
93992012-11-02 Joseph Myers <joseph@codesourcery.com>
9400
a68d0680
JM
9401 * conform/conformtest.pl (@headers): Add fenv.h.
9402 * conform/data/fenv.h-data: New file.
9403 * include/fenv.h [_ISOMAC]: Disable all contents of file except
9404 include of <math/fenv.h>.
9405
caf7f573
JM
9406 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
9407 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
9408 && !UNIX98]. Enables tests for XOPEN2K8.
9409 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
9410 POSIX2008]: Likewise.
9411
6c073ad6
JM
9412 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
9413 (struct rusage): Do not expect type or its members.
9414
0155d5b2
JM
9415 [BZ #3439]
9416 * math/math.h (FP_NAN): Define macro to integer constant usable in
9417 #if and use that to give value to enum constant.
9418 (FP_INFINITE): Likewise.
9419 (FP_ZERO): Likewise.
9420 (FP_SUBNORMAL): Likewise.
9421 (FP_NORMAL): Likewise.
9422
b5dcacb4
AS
94232012-11-02 Andreas Schwab <schwab@linux-m68k.org>
9424
9425 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
9426 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
9427 arguments.
9428
f7934be8
RM
94292012-11-02 Roland McGrath <roland@hack.frob.com>
9430
9431 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
9432 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
9433 autoconf-time if not.
9434 * configure.in: Remove AC_PREREQ.
9435
d7d08bde
TMQMF
94362012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9437
9438 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
9439 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
9440 of the internal implementation.
9441
dcdae19a
JM
94422012-11-02 Joseph Myers <joseph@codesourcery.com>
9443
9444 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
9445 except include of <misc/sys/syslog.h>.
9446
d6cffd3e
AS
94472012-11-01 Andreas Schwab <schwab@linux-m68k.org>
9448
9449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
9450 function returns with a NULL context exit with zero.
9451
b3563932
TMQMF
94522012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9453
9454 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
9455
b288a93d
L
94562012-11-01 H.J. Lu <hongjiu.lu@intel.com>
9457
9458 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
9459 (run_program_cmd): This.
9460 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
9461 (tst_langinfo): New variable. Use it.
9462
a2421a68
SAS
94632012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
9464
9465 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
9466 floating point opcodes.
9467
6f796e1b
TS
94682012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9469
7402596b
TS
9470 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
9471 variable.
9472
d0d4f868
TS
9473 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
9474
6f796e1b
TS
9475 * sysdeps/mach/hurd/powerpc: Remove directory.
9476 * sysdeps/mach/powerpc: Likewise.
9477
4da224a2
AS
94782012-11-01 Andreas Schwab <schwab@linux-m68k.org>
9479
9480 * scripts/check-local-headers.sh: Ignore c++ headers.
9481
341dd673
TS
94822012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9483
9484 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
9485 __libc_cleanup_region_start argument.
9486
473611b2
JM
94872012-11-01 Joseph Myers <joseph@codesourcery.com>
9488
9489 [BZ #14784]
9490 [BZ #14785]
9491 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
9492 x * y using scaling, not as x * y + z.
9493 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9494 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9495 * math/libm-test.inc (fma_test): Add more tests.
9496 (fma_test_towardzero): Likewise.
9497 (fma_test_downward): Likewise.
9498 (fma_test_upward): Likewise.
9499
4078da3d
TS
95002012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9501
9502 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
9503
903252aa
JM
95042012-10-31 Joseph Myers <joseph@codesourcery.com>
9505
9506 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
9507 New variable.
9508
cbc818d0
TS
95092012-10-31 Thomas Schwinge <thomas@codesourcery.com>
9510
9511 * rt/tst-shm.c (worker): Correct checking for mmap failure.
9512
5a03cb1e
AS
95132012-10-31 Andreas Schwab <schwab@linux-m68k.org>
9514
9515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9516 Fix sort order.
9517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9518 Likewise.
9519
90aff2ff
TMQMF
95202012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9521
9522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9523 Fix the order of the list for glibc 2.17.
9524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9525 Likewise.
9526
1818fcb7
AS
95272012-10-31 Andreas Schwab <schwab@linux-m68k.org>
9528
9529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9530
ef82f4da
JM
95312012-10-31 Joseph Myers <joseph@codesourcery.com>
9532
16a0e2ec
JM
9533 [BZ #14610]
9534 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
9535 for low part of x being zero before using __atanl (y).
9536 * math/libm-test.inc (atan2_test): Add another test.
9537
0eb69512
JM
9538 * manual/install.texi (Configuring and compiling): Document
9539 general use of test-wrapper and test-wrapper-env.
9540 * INSTALL: Regenerated.
9541
ef82f4da
JM
9542 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
9543 (__fma): Do not extract and scale down low bits on after-rounding
9544 systems when result rounded to normal precision would have normal
9545 exponent.
9546 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
9547 (__fmal): Do not extract and scale down low bits on after-rounding
9548 systems when result rounded to normal precision would have normal
9549 exponent.
9550 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
9551 (__fmal): Do not extract and scale down low bits on after-rounding
9552 systems when result rounded to normal precision would have normal
9553 exponent.
9554 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
9555 macro.
9556 (fma_test): Add more tests.
9557 (fma_test_towardzero): Likewise.
9558 (fma_test_downward): Likewise.
9559 (fma_test_upward): Likewise.
9560
954ef0d9
L
95612012-10-30 H.J. Lu <hongjiu.lu@intel.com>
9562
9563 * sysdeps/i386/tininess.h: Renamed to ...
9564 * sysdeps/x86/tininess.h: This.
9565 * sysdeps/x86_64/tininess.h: Removed.
9566
df61ffb2
JM
95672012-10-30 Joseph Myers <joseph@codesourcery.com>
9568
9569 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
9570 input. Use $(build-program-cmd).
9571 ($(objpfx)tst-array1-static.out): Likewise.
9572 ($(objpfx)tst-array2.out): Likewise.
9573 ($(objpfx)tst-array3.out): Likewise.
9574 ($(objpfx)tst-array4.out): Likewise.
9575 ($(objpfx)tst-array5.out): Likewise.
9576 ($(objpfx)tst-array5-static.out): Likewise.
9577
01767843
CM
95782012-10-30 Chris Metcalf <cmetcalf@tilera.com>
9579
47cc1490
CM
9580 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
9581 if defined.
9582
01767843
CM
9583 * nss/nsswitch.h (nss_interface_function): Provide new
9584 macro for use with NSS functions.
9585 * grp/initgroups.c: Use new macro.
9586 * nss/getXXbyYY.c: Likewise.
9587 * nss/getXXbyYY_r.c: Likewise.
9588 * nss/getXXent.c: Likewise.
9589 * nss/getXXent_r.c: Likewise.
9590 * sysdeps/posix/getaddrinfo.c: Likewise.
9591
8321aa97
AJ
95922012-10-30 Andreas Jaeger <aj@suse.de>
9593
9594 * po/ru.po: Update Russion translation from translation project.
9595
2a27fd6d
JM
95962012-10-30 Joseph Myers <joseph@codesourcery.com>
9597
8627a232
JM
9598 [BZ #14152]
9599 [BZ #14783]
9600 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
9601 result and shift together with sticky bit instead of replicating
9602 round-to-nearest rounding.
9603 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9604 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9605 * math/libm-test.inc (fma_test): Add more tests. Do not permit
9606 missing underflow exceptions.
9607 (fma_test_towardzero): Add more tests.
9608 (fma_test_downward): Likewise.
9609 (fma_test_upward): Likewise.
9610
2a27fd6d
JM
9611 [BZ #14047]
9612 * sysdeps/generic/tininess.h: New file.
9613 * sysdeps/i386/tininess.h: Likewise.
9614 * sysdeps/sh/tininess.h: Likewise.
9615 * sysdeps/x86_64/tininess.h: Likewise.
9616 * stdlib/tst-strtod-underflow.c: Likewise.
9617 * stdlib/tst-tininess.c: Likewise.
9618 * stdlib/strtod_l.c: Include <tininess.h>.
9619 (round_and_return): Do not set errno for exact underflow cases.
9620 Force an underflow exception when setting errno for underflow.
9621 Determine underflow based on rounding to normal precision if
9622 TININESS_AFTER_ROUNDING.
9623 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
9624 ERANGE for exact underflow cases.
9625 * stdlib/Makefile (tests): Add tst-tininess and
9626 tst-strtod-underflow.
9627 ($(objpfx)tst-tininess): Use $(link-libm).
9628 ($(objpfx)tst-strtod-underflow): Likewise.
9629
e7170363
AJ
96302012-10-30 Andreas Jaeger <aj@suse.de>
9631
e5088dc6
AJ
9632 [BZ#14767]
9633 * elf/Makefile (tests): Remove conditional for have-initfini-array
9634 since this is now always required and the variable does not exist
9635 anymore.
9636 (tests-static): Likewise.
9637 (modules-names): Likewise.
9638
e7170363 9639 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
9640
9641 * elf/tst-array1.c (fini_array): Make writeable so that it can be
9642 merged with constructor/destructor.
9643 (init_array): Likewise.
9644 * elf/tst-array2dep.c (fini_array): Likewise.
9645 (init_array): Likewise.
9646
60457d8a
MF
96472012-10-29 Mike Frysinger <vapier@gentoo.org>
9648
9649 * manual/message.texi: Delete @cartouche tags.
9650
8bece752
PT
96512012-10-29 Pino Toscano <toscano.pino@tiscali.it>
9652
94ce799f
PT
9653 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
9654 EOPNOTSUPP.
9655 * sysdeps/mach/hurd/fsync.c: Likewise.
9656
8bece752
PT
9657 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
9658 [_POSIX_REALTIME_SIGNALS]: Change condition to
9659 [_POSIX_REALTIME_SIGNALS > 0].
9660
86ebe6b1
AJ
96612012-10-27 Andreas Jaeger <aj@suse.de>
9662
9663 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
9664 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
9665 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
9666 [__WORDSIZE != 64]: Likewise.
9667
54399c08
L
96682012-10-26 H.J. Lu <hongjiu.lu@intel.com>
9669
9670 * iconvdata/tst-table.sh: Remove ${SHELL}.
9671 * iconvdata/tst-tables.sh: Likewise.
9672
e2211bed
DM
96732012-10-25 David S. Miller <davem@davemloft.net>
9674
9675 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9676 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
9677 of strtoull.
9678
f303f97c
DM
9679 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
9680 ifunc-impl-list.c
9681 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9682 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
9683 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
9684 file.
9685
1e9d84cd
RM
96862012-10-25 Roland McGrath <roland@hack.frob.com>
9687
9688 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9689 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
9690 __getdirentries.
9691
df381762
JM
96922012-10-25 Joseph Myers <joseph@codesourcery.com>
9693 Jim Blandy <jimb@codesourcery.com>
9694
9695 * scripts/cross-test-ssh.sh: New file.
9696 * manual/install.texi (Configuring and compiling): Document use of
9697 cross-test-ssh.sh.
9698 * INSTALL: Regenerated.
9699
bff64913
PT
97002012-10-25 Pino Toscano <toscano.pino@tiscali.it>
9701
9702 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
9703 EOPNOTSUPP.
9704
25fe8932
JM
97052012-10-25 Joseph Myers <joseph@codesourcery.com>
9706
9707 * Makeconfig (run-program-prefix): Fix comment.
9708
cc1290d0
JM
97092012-10-24 Joseph Myers <joseph@codesourcery.com>
9710 Jim Blandy <jimb@codesourcery.com>
9711
9712 * Makeconfig (test-wrapper): New variable,
9713 (test-wrapper-env): Likewise.
9714 [$(cross-compiling) = yes && $(test-wrapper) != ""]
9715 (run-built-tests): Define to yes.
9716 (run-program-prefix): Use $(test-wrapper).
9717 (built-program-cmd): Likewise.
9718 * Rules (make-test-out): Use $(test-wrapper-env) and
9719 $(host-built-program-cmd).
9720 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
9721 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
9722 tst-pathopt.sh.
9723 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
9724 $(test-wrapper-env) to tst-rtld-load-self.sh.
9725 ($(objpfx)order2.out): Use $(test-wrapper).
9726 ($(objpfx)tst-initorder.out): Likewise.
9727 ($(objpfx)tst-initorder2.out): Likewise.
9728 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
9729 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
9730 (test_wrapper_env): New variable. Use it to run ld.so.
9731 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
9732 Use it to run ld.so.
9733 (test_wrapper_env): Likewise.
9734 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
9735 $(test-wrapper) to run-iconv-test.sh.
9736 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
9737 (ICONV): Use $test_wrapper.
9738 * posix/Makefile ($(objpfx)globtest.out): Pass
9739 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
9740 globtest.sh, not $(run-program-prefix).
9741 * posix/globtest.sh (run_via_rtld_prefix): New variable.
9742 (test_wrapper): Likewise.
9743 (test_wrapper_env): Likewise. Use it to run globtest with HOME
9744 set together with run_via_rtld_prefix.
9745 (run_program_prefix): Define in terms of test_wrapper and
9746 run_via_rtld_prefix.
9747
6e6249d0
RM
97482012-10-24 Roland McGrath <roland@hack.frob.com>
9749
9750 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
9751 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
9752 Targets removed.
9753
9754 [BZ #14743]
9755 * include/time.h: Remove librt_hidden_proto (clock_gettime).
9756 Declare __clock_getres, __clock_gettime, __clock_settime,
9757 __clock_nanosleep, and __clock_getcpuclockid.
9758 * rt/clock_gettime.c: Define __clock_gettime as an alias.
9759 Remove librt_hidden_def (clock_gettime).
9760 * sysdeps/unix/clock_gettime.c: Likewise.
9761 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
9762 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9763 * rt/clock_getres.c: Define __clock_getres as an alias.
9764 * sysdeps/posix/clock_getres.c: Likewise.
9765 * rt/clock_settime.c: Define __clock_settime as an alias.
9766 * sysdeps/unix/clock_settime.c: Likewise.
9767 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
9768 * sysdeps/unix/clock_nanosleep.c: Likewise.
9769 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9770 * rt/clock-compat.c: New file.
9771 * rt/Makefile (librt-routines): Add clock-compat and move
9772 $(clock-routines) to ...
9773 (routines): ... here, new variable.
9774 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
9775 Don't add get_clockfreq here.
9776 * rt/Versions (libc: GLIBC_2.17): New version set.
9777 Add clock_* symbols here.
9778 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
9779 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
9780 (GLIBC_2.17): Add clock_* symbols.
9781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9782 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9783 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9785 Likewise.
9786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9787 Likewise.
9788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9789 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9792 * NEWS: Mention the move.
9793
9794 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9795 Use __open, __read, __close rather than their public counterparts.
9796 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9797 (__get_clockfreq_via_cpuinfo): Likewise.
9798 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
9799 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
9800
9801 * config.h.in (HAVE_IFUNC): New #undef.
9802 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
9803 was successful.
9804 * configure: Regenerated.
9805
0cae3f4b
MF
98062012-10-24 Mike Frysinger <vapier@gentoo.org>
9807
9808 * configure.in: Move READELF check to start of file.
9809 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
9810 libc_cv_asm_gnu_indirect_function in the process.
9811 * configure: Regenerated.
9812
8175a253
MF
98132012-10-24 Mike Frysinger <vapier@gentoo.org>
9814
9815 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
9816 send the output to /dev/null.
9817 (libc_cv_cc_with_libunwind): Likewise.
9818 (libc_cv_as_noexecstack): Likewise.
9819 * configure: Regenerate.
9820
0708a7d1
JM
98212012-10-24 Joseph Myers <joseph@codesourcery.com>
9822
10b40d85
JM
9823 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
9824
0708a7d1
JM
9825 * posix/globtest.sh (TMPDIR): Do not set.
9826 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
9827 (testout): Likewise.
9828
9fddec1a
AJ
98292012-10-24 Andreas Jaeger <aj@suse.de>
9830
3a8db22f
AJ
9831 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
9832 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
9833 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
9834 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
9835 posix_fadvise64, posix_fallocate64.
9836
9fddec1a
AJ
9837 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
9838 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
9839 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
9840 Likewise.
9841 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
9842 Likewise.
9843 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
9844
9845 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
9846 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
9847 <bits/fcntl-linux.h>.
9848 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
9849
9850 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
9851 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
9852 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
9853 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
9854 [__WORDSIZE != 64]: Likewise.
9855
ebfd1bbd
JM
98562012-10-23 Joseph Myers <joseph@codesourcery.com>
9857
03ac099f
JM
9858 * Makeconfig (run-built-tests): New variable.
9859 * Rules [$(cross-compiling) = yes]: Change condition to
9860 [$(run-built-tests) = no].
9861 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
9862 to [$(run-built-tests) = yes].
9863 * elf/Makefile [$(cross-compiling) = no]: Likewise
9864 * grp/Makefile [$(cross-compiling) = no]: Likewise.
9865 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
9866 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
9867 * intl/Makefile [$(cross-compiling) = no]: Likewise.
9868 * io/Makefile [$(cross-compiling) = no]: Likewise.
9869 * libio/Makefile [$(cross-compiling) = no]: Likewise.
9870 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
9871 * misc/Makefile [$(cross-compiling) = no]: Likewise.
9872 * posix/Makefile [$(cross-compiling) = no]: Likewise.
9873 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
9874 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
9875 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
9876 * string/Makefile [$(cross-compiling) = no]: Likewise.
9877
ebfd1bbd
JM
9878 * posix/Makefile ($(objpfx)globtest.out): Pass
9879 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
9880 $(rtld-installed-name).
9881 * posix/globtest.sh (elf_objpfx): Remove variable.
9882 (rtld_installed_name): Likewise.
9883 (library_path): Likewise.
9884 (run_program_prefix): New variable. Use for running globtest
9885 binary.
9886
166bca24
JB
98872012-10-23 Jim Blandy <jimb@codesourcery.com>
9888 Joseph Myers <joseph@codesourcery.com>
9889
9890 * Makeconfig (host-built-program-cmd): New variable.
9891 * elf/Makefile (tst-stackguard1-ARGS): Use
9892 $(host-built-program-cmd).
9893 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
9894 (tst-spawn-ARGS): Likewise.
9895 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
9896
88866099
JM
98972012-10-23 Joseph Myers <joseph@codesourcery.com>
9898 Jim Blandy <jimb@codesourcery.com>
9899
9900 * Makeconfig (run-via-rtld-prefix): New variable.
9901 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
9902 (built-program-cmd): Likewise.
9903
b4b4c296
AJ
99042012-10-22 Andreas Jaeger <aj@suse.de>
9905
9906 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
9907 __O_RSYNC if it exists, otherwise to O_SYNC.
9908
6fb54a22
JB
99092012-10-22 Jim Blandy <jimb@codesourcery.com>
9910 Joseph Myers <joseph@codesourcery.com>
9911
9912 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
9913 /dev/null.
9914 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
9915 from /dev/null
9916 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
9917 /dev/null.
9918
481b90b9
AJ
99192012-10-22 Andreas Jaeger <aj@suse.de>
9920
2a0e2669
AJ
9921 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
9922 Define always.
9923 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
9924
76e38f9a
AJ
9925 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9926 bits/fcntl-linux.h.
9927
7cd37b43
AJ
9928 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
9929 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
9930
481b90b9
AJ
9931 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
9932 to __O_LARGEFILE.
9933 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
9934 to __O_LARGEFILE.
9935
aba75984
JB
99362012-10-21 Jim Blandy <jimb@codesourcery.com>
9937 Joseph Myers <joseph@codesourcery.com>
9938
9939 * config.make.in (NM): New variable.
9940
88d4247f
AJ
99412012-10-21 Andreas Jaeger <aj@suse.de>
9942
9943 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
9944 definitions and declarations that are provided by
9945 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9946
f2eed205
L
99472012-10-20 H.J. Lu <hongjiu.lu@intel.com>
9948
9949 [BZ #14683]
9950 * elf/Makefile (tests-static): Add tst-leaks1-static.
9951 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
9952 ($(objpfx)tst-leaks1-static): New rule.
9953 ($(objpfx)tst-leaks1-static-mem): Likewise.
9954 (tst-leaks1-static-ENV): New macro.
9955 * elf/dl-open.c (dl_open_worker): Check the main application
9956 only if SHARED is defined.
9957 * elf/tst-leaks1-static.c: New file.
9958
335e6931
AJ
99592012-10-20 Andreas Jaeger <aj@suse.de>
9960
9961 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
9962 generic values for Linux.
9963 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
9964 and declarations that are provided by <bits/fcntl-linux.h> and
9965 include <bits/fcntl-linux.h>.
9966 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9967 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9968
ac5c94d3
RM
99692012-10-20 Roland McGrath <roland@hack.frob.com>
9970
9971 * io/fcntl.h: Move include of <bits/types.h> to the top and
9972 include it unconditionally.
9973
de54b33a
L
99742012-10-20 H.J. Lu <hongjiu.lu@intel.com>
9975
228cfb01
L
9976 * wcsmbs/Makefile (tests-ifunc): New variable.
9977 (tests): Add $(tests-ifunc).
9978 * wcsmbs/test-wcschr-ifunc.c: New file.
9979 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9980 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9981 * wcsmbs/test-wcslen-ifunc.c: Likewise.
9982 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9983 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9984
69f07e5f
L
9985 * string/Makefile (tests-ifunc): New variable.
9986 (tests): Add $(tests-ifunc).
9987 * string/test-memccpy.c (TEST_NAME): New macro.
9988 * string/test-memchr.c (TEST_NAME): Likewise.
9989 * string/test-memcmp.c (TEST_NAME): Likewise.
9990 * string/test-memcpy.c (TEST_NAME): Likewise.
9991 * string/test-memmem.c (TEST_NAME): Likewise.
9992 * string/test-memmove.c (TEST_NAME): Likewise.
9993 * string/test-memset.c (TEST_NAME): Likewise.
9994 * string/test-rawmemchr.c (TEST_NAME): Likewise.
9995 * string/test-stpcpy.c (TEST_NAME): Likewise.
9996 * string/test-stpncpy.c (TEST_NAME): Likewise.
9997 * string/test-strcasecmp.c (TEST_NAME): Likewise.
9998 * string/test-strcasestr.c (TEST_NAME): Likewise.
9999 * string/test-strcat.c (TEST_NAME): Likewise.
10000 * string/test-strchr.c (TEST_NAME): Likewise.
10001 * string/test-strcmp.c(TEST_NAME): Likewise.
10002 * string/test-strcpy.c (TEST_NAME): Likewise.
10003 * string/test-strcspn.c (TEST_NAME): Likewise.
10004 * string/test-strlen.c (TEST_NAME): Likewise.
10005 * string/test-strncasecmp.c (TEST_NAME): Likewise.
10006 * string/test-strncmp.c (TEST_NAME): Likewise.
10007 * string/test-strncpy.c (TEST_NAME): Likewise.
10008 * string/test-strnlen.c (TEST_NAME): Likewise.
10009 * string/test-strpbrk.c (TEST_NAME): Likewise.
10010 * string/test-strrchr.c (TEST_NAME): Likewise.
10011 * string/test-strspn.c (TEST_NAME): Likewise.
10012 * string/test-strstr.c (TEST_NAME): Likewise.
10013 * string/test-bcopy-ifunc.c: New file.
10014 * string/test-bzero-ifunc.c: Likewise.
10015 * string/test-memccpy-ifunc.c: Likewise.
10016 * string/test-memchr-ifunc.c: Likewise.
10017 * string/test-memcmp-ifunc.c: Likewise.
10018 * string/test-memcpy-ifunc.c: Likewise.
10019 * string/test-memmem-ifunc.c: Likewise.
10020 * string/test-memmove-ifunc.c: Likewise.
10021 * string/test-mempcpy-ifunc.c: Likewise.
10022 * string/test-memset-ifunc.c: Likewise.
10023 * string/test-rawmemchr-ifunc.c: Likewise.
10024 * string/test-stpcpy-ifunc.c: Likewise.
10025 * string/test-stpncpy-ifunc.c: Likewise.
10026 * string/test-strcasecmp-ifunc.c: Likewise.
10027 * string/test-strcasestr-ifunc.c: Likewise.
10028 * string/test-strcat-ifunc.c: Likewise.
10029 * string/test-strchr-ifunc.c: Likewise.
10030 * string/test-strchrnul-ifunc.c: Likewise.
10031 * string/test-strcmp-ifunc.c: Likewise.
10032 * string/test-strcpy-ifunc.c: Likewise.
10033 * string/test-strcspn-ifunc.c: Likewise.
10034 * string/test-strlen-ifunc.c: Likewise.
10035 * string/test-strncasecmp-ifunc.c: Likewise.
10036 * string/test-strncat-ifunc.c: Likewise.
10037 * string/test-strncmp-ifunc.c: Likewise.
10038 * string/test-strncpy-ifunc.c: Likewise.
10039 * string/test-strnlen-ifunc.c: Likewise.
10040 * string/test-strpbrk-ifunc.c: Likewise.
10041 * string/test-strrchr-ifunc.c: Likewise.
10042 * string/test-strspn-ifunc.c: Likewise.
10043 * string/test-strstr-ifunc.c: Likewise.
10044
de54b33a
L
10045 * debug/Makefile (tests-ifunc): New variable.
10046 (tests): Add $(tests-ifunc).
10047 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
10048 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
10049 * debug/test-stpcpy_chk-ifunc.c: New file.
10050 * debug/test-strcpy_chk-ifunc.c: Likewise.
10051
88481c16
SP
100522012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10053
10054 [BZ #13601]
10055 * elf/dl-load.c (open_verify): Retry read if the entire ELF
10056 header is not read in.
10057
135948bd
JM
100582012-10-19 Joseph Myers <joseph@codesourcery.com>
10059
89f1c388
JM
10060 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
10061 script to $(SHELL) as $<. Pass $(common-objpfx) to script
10062 directly. Pass built executable to script as
10063 $(built-program-cmd).
10064 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
10065 $testprogram without using LD_LIBRARY_PATH and $ldso.
10066
e40a0d21
JM
10067 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
10068 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
10069 $(rtld-installed-name).
10070 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
10071 (rtld_installed_name): Likewise.
10072 (library_path): Likewise.
10073 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
10074 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
10075 $(run-program-prefix) to tst-tables.sh.
10076 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
10077 it to run tst-table-from and tst-table-to.
10078 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
10079 Pass it to tst-table.sh.
10080 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
10081 $(run-program-prefix) to tst-gettext.sh.
10082 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
10083 tst-translit.sh.
10084 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
10085 tst-gettext2.sh.
10086 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
10087 to run tst-gettext.
10088 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
10089 to run tst-gettext2.
10090 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
10091 to run tst-translit.
10092 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
10093 $(run-program-prefix) to tst-mtrace.sh.
10094 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
10095 to run tst-mtrace.
10096 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
10097 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
10098 $(rtld-installed-name).
10099 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
10100 (rtld_installed_name): Likewise.
10101 (run_program_prefix): New variable. Use it to run wordexp-test.
10102
728e272a
JM
10103 * Makeconfig (ARCH): Remove all definitions.
10104 (machine): Likewise.
10105 [ARCH]: Remove conditional code.
10106 [!objdir]: Give error.
10107 [!objdir] (objpfx): Remove.
10108 [!objdir] (common-objpfx): Likewise.
10109 [!objdir] (common-objdir): Likewise.
10110 * configure.in (config_makefile): Remove. Hardcode Makefile in
10111 AC_CONFIG_FILES call.
10112 * configure: Regenerated.
10113
d528cdcf
JM
10114 [BZ #13888]
10115 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
10116 or TMPDIR.
10117 (testout): Likewise.
10118
135948bd
JM
10119 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
10120 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
10121 $(rtld-installed-name).
10122 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
10123 (rtld_installed_name): Likwise.
10124 (runit): Remove function.
10125 (run_getconf): New variable, Use it for running getconf binary.
10126
38c78296
L
101272012-10-18 H.J. Lu <hongjiu.lu@intel.com>
10128
10129 [BZ #14716]
10130 * string/test-memmem.c (check_result): New function.
10131 (do_one_test): Use it.
10132 (check1): New function.
10133 (test_main): Use it.
10134
d077f65f
MT
101352012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
10136
10137 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
10138
ced52c71
JM
101392012-10-18 Joseph Myers <joseph@codesourcery.com>
10140
10141 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
10142 (_G_LSEEK64): Likewise.
10143 (_G_MMAP64): Likewise.
10144 (_G_FSTAT64): Likewise.
10145 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
10146 (_G_LSEEK64): Likewise.
10147 (_G_MMAP64): Likewise.
10148 (_G_FSTAT64): Likewise.
10149 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
10150 unconditional. Call __mmap64 directly.
10151 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
10152 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
10153 __lseek64 directly.
10154 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
10155 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
10156 __mmap64 directly.
10157 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
10158 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
10159 __lseek64 directly.
10160 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
10161 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
10162 __lseek64 directly.
10163 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
10164 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
10165 __lseek64 directly.
10166 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
10167 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
10168 __fxstat64 directly.
10169 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
10170 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
10171 unconditional.
10172 (freopen64) [!_G_OPEN64]: Remove conditional code.
10173 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
10174 unconditional.
10175 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
10176 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
10177 unconditional.
10178 (ftello64) [!_G_LSEEK64]: Remove conditional code.
10179 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
10180 unconditional.
10181 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10182 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
10183 unconditional.
10184 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
10185 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
10186 unconditional.
10187 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10188 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
10189 unconditional.
10190 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10191 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
10192 unconditional.
10193 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10194
b741de23
SP
101952012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10196
10197 [BZ #12140]
10198 * manual/memory.texi (Malloc Tunable Parameters): Add note
10199 about free list pointers overwriting some perturb bytes.
10200 Wording suggested by Roland McGrath.
10201
f9b9d9c9
JM
102022012-10-17 Joseph Myers <joseph@codesourcery.com>
10203
10204 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
10205 (lgamma_test): Likewise.
10206 (tgamma_test): Likewise.
10207
172a631a
FW
102082012-10-16 Florian Weimer <fweimer@redhat.com>
10209
10210 [BZ #14700]
10211 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
10212 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
10213
e9f37252
MK
102142012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
10215
10216 * NEWS: Mention BZ #14716.
10217 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
10218 when removing AVAILABLE1_USES_J macro.
10219
d394eb74
L
102202012-10-12 H.J. Lu <hongjiu.lu@intel.com>
10221
10222 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
10223 (__bswap_64): __uint64_t for unsigned 64-bit int.
10224
ca38dc17
AS
102252012-10-12 Andreas Schwab <schwab@linux-m68k.org>
10226
10227 * include/string.h (memmem): Declare libc hidden alias.
10228 * string/memmem.c (memmem): Define libc hidden alias.
10229 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
10230 __read, __close instead of open, read, close.
10231
9a387d1f
L
102322012-10-11 H.J. Lu <hongjiu.lu@intel.com>
10233
ac49ecaf
L
10234 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
10235 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
10236 global and hidden.
10237 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
10238 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
10239 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
10240 Likewise.
10241 (__rawmemchr_sse2): Likewise.
10242 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
10243 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
10244 (__strchr_sse2): Likewise.
10245 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
10246 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
10247 (__strcasecmp_sse2): Likewise.
10248 (__strncasecmp_sse2): Likewise.
10249 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
10250 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
10251 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
10252 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
10253 (__strrchr_sse2): Likewise.
10254 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
10255 ifunc-impl-list.c.
10256 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10257 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10258 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10259 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10260 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10261 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10262 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10263 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10264 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
10265 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
10266 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
10267 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
10268 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
10269 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10270 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10271 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10272 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10273 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10274 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
10275 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
10276 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
10277 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
10278 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
10279 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10280 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
10281 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10282 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10283 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10284 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10285 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10286
b090e8ea
L
10287 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
10288 global and hidden.
10289 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
10290 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
10291 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
10292 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
10293 Likewise.
10294 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
10295 Likewise.
10296 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
10297 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
10298 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
10299 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
10300 ifunc-impl-list.c.
10301 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10302 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10303 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10304 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10305 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10306 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10307 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10308 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10309 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10310 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10311 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10312 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10313 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10314 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
10315 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
10316 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10317 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
10318 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
10319 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10320 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10321 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10322 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10323 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10324 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10325 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10326 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
10327 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
10328 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
10329 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
10330 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10331 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
10332 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10333 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10334 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
10335 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10336 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10337 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10338 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10339 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10340 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10341 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
10342
11dd4af6
L
10343 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
10344 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
10345 * include/ifunc-impl-list.h: New file.
10346 * misc/ifunc-impl-list.c: Likewise.
10347 * misc/Makefile (routines): Add ifunc-impl-list.
10348 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
10349 * string/test-string.h: Include <ifunc-impl-list.h>.
10350 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
10351 impl_array): New variables.
10352 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
10353 are defined.
10354 (test_init): Call __libc_ifunc_impl_list to initialize
10355 func_list if TEST_IFUNC and TEST_NAME are defined.
10356
9a387d1f
L
10357 * string/Makefile (strop-tests): Add bcopy and bzero.
10358 * string/test-bcopy.c: New file.
10359 * string/test-bzero.c: Likewise.
10360 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
10361 defined.
10362 * string/test-memset.c: Support bzero test if TEST_BZERO is
10363 defined.
10364 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
10365 __libc_memmove.
10366 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
10367 __libc_memset.
10368 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
10369 of memset.
10370
472371b9
JM
103712012-10-10 Joseph Myers <joseph@codesourcery.com>
10372
1e4a9536
JM
10373 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
10374 * configure: Regenerated.
10375
d173d12e
JM
10376 * Makeconfig (+link-static-before-libc): Don't include
10377 $(link-static-libc).
10378
472371b9
JM
10379 * libio/libio.h (_IO_pos_t): Remove.
10380
89a3ad0b
AO
103812012-10-10 Alexandre Oliva <aoliva@redhat.com>
10382
10383 * NEWS: Add note about FIPS mode. Wording suggested by Roland
10384 McGrath.
10385
e7451425
AO
103862012-10-10 Alexandre Oliva <aoliva@redhat.com>
10387
10388 * crypt/crypt-entry.c: Include fips-private.h.
10389 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
10390 * crypt/md5c-test.c (main): Tolerate disabled MD5.
10391 * sysdeps/unix/sysv/linux/fips-private.h: New file.
10392 * sysdeps/generic/fips-private.h: New file, dummy fallback.
10393
4ba74a35
AO
103942012-10-10 Alexandre Oliva <aoliva@redhat.com>
10395
10396 * crypt/crypt-private.h: Include stdbool.h.
10397 (_ufc_setup_salt_r): Return bool.
10398 * crypt/crypt-entry.c: Include errno.h.
10399 (__crypt_r): Return NULL with EINVAL for bad salt.
10400 * crypt/crypt_util.c (bad_for_salt): New.
10401 (_ufc_setup_salt_r): Check that salt is long enough and within
10402 the specified alphabet.
10403 * crypt/badsalttest.c: New file.
10404 * crypt/Makefile (tests): Add it.
10405 ($(objpfx)badsalttest): New.
10406
f96f1242
MK
104072012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
10408
10409 * NEWS: Add entry for BZ #14602.
10410
0e8e0c1c
JM
104112012-10-09 Joseph Myers <joseph@codesourcery.com>
10412
10413 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
10414 type-generic.
10415 * math/libm-test.inc: Update comment listing what functions and
10416 macros are tested.
10417 (isgreater_test): New function.
10418 (isgreaterequal_test): Likewise.
10419 (isless_test): Likewise.
10420 (islessequal_test): Likewise.
10421 (islessgreater_test): Likewise.
10422 (isunordered_test): Likewise.
10423 (main): Call the new functions.
10424
273edc5e
RM
104252012-10-09 Roland McGrath <roland@hack.frob.com>
10426
b8493de0
RM
10427 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
10428 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
10429 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
10430 * sysdeps/i386/configure: Regenerated.
10431 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
10432 * sysdeps/mach/configure: Regenerated.
10433 * sysdeps/mach/hurd/configure: Regenerated.
10434 * sysdeps/powerpc/configure: Regenerated.
10435 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10436 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10437 * sysdeps/s390/s390-32/configure: Regenerated.
10438 * sysdeps/s390/s390-64/configure: Regenerated.
10439 * sysdeps/sh/configure: Regenerated.
10440 * sysdeps/sparc/configure: Regenerated.
10441 * sysdeps/unix/sysv/linux/configure: Regenerated.
10442 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10443 * sysdeps/x86_64/configure: Regenerated.
10444
273edc5e
RM
10445 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
10446 defined. Don't check if MAP is NULL.
10447
c8450f70
JM
104482012-10-09 Joseph Myers <joseph@codesourcery.com>
10449
10450 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
10451 (_G_stat64): Likewise.
10452 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
10453 (_G_stat64): Likewise.
10454 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
10455 instead of struct _G_stat64.
10456 * libio/fileops.c (mmap_remap_check): Likewise.
10457 (decide_maybe_mmap): Likewise.
10458 (_IO_new_file_seekoff): Likewise.
10459 (_IO_file_stat): Likewise.
10460 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
10461 _G_off64_t.
10462 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
10463 instead of struct _G_stat64.
10464 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10465
57e605ba
MK
104662012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
10467
10468 [BZ #14602]
10469 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10470 Replace with ...
10471 (CHECK_EOL): New macro.
10472 (two_way_short_needle): Check beginning of haystack for EOL. Use
10473 CHECK_EOL.
10474 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10475 Replace with CHECK_EOL.
10476 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10477 Replace with CHECK_EOL.
10478
ef1bb361
JM
104792012-10-08 Joseph Myers <joseph@codesourcery.com>
10480
10481 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
10482 type-generic.
10483 * math/libm-test.inc: Update comment listing what functions and
10484 macros are tested.
10485 (finite_test): New function.
10486 (isinf_test): Likewise.
10487 (isnan_test): Likewise.
10488 (fpclassify_test): Test subnormal input.
10489 (isfinite_test): Likewise.
10490 (isnormal_test): Likewise.
10491 (main): Call the new functions.
10492
55f11534
JN
104932012-10-08 Jonathan Nieder <jrnieder@gmail.com>
10494
10495 [BZ #14660]
10496 * Makerules (%.dynsym): Force C locale when running
10497 $(OBJDUMP) --dynamic-syms.
10498
1ab29350
AS
104992012-10-08 Andreas Schwab <schwab@linux-m68k.org>
10500
10501 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
10502 <stdint.h>.
10503
f1ecb7ef
DM
105042012-10-06 David S. Miller <davem@davemloft.net>
10505
10506 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
10507 upper 32-bits of the length value in %o2 since we use branch-on-register
10508 tests which consider the entire 64-bit register.
10509
5d41d91a
L
105102012-10-06 H.J. Lu <hongjiu.lu@intel.com>
10511
10512 * string/test-strstr.c (check2): Add a test for page boundary.
10513
3baddb72
DM
105142012-10-05 David S. Miller <davem@davemloft.net>
10515
10516 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
10517 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
10518 file.
10519 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10520 sysdep_routines.
10521 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10522 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
10523 and bzero when HWCAP_SPARC_CRYPTO is present.
10524
9cee5585
L
105252012-10-05 H.J. Lu <hongjiu.lu@intel.com>
10526
d7e0dab9
L
10527 [BZ #14602]
10528 * string/test-strstr.c (check2): New function.
10529 (test_main): Call check2.
10530
03759f47
L
10531 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
10532 and bug-strchr1.
10533 * string/bug-strcasestr1.c (do_test): Moved to ...
10534 * string/test-strcasestr.c (check1): Here. New function.
10535 (do_one_test): Break out result checking code into ...
10536 (check_result): This. New function.
10537 (do_one_test): Call check_result.
10538 (test_main): Call check1.
10539 * string/bug-strchr1.c (do_test): Moved to ...
10540 * string/test-strchr.c (check1): Here. New function.
10541 (do_one_test): Break out result checking code into ...
10542 (check_result): This. New function.
10543 (do_one_test): Call check_result.
10544 (test_main): Call check1.
10545 * string/bug-strstr1.c (main): Moved to ...
046f153e 10546 * string/test-strstr.c (check1): Here. New function.
03759f47
L
10547 (do_one_test): Break out result checking code into ...
10548 (check_result): This. New function.
10549 (do_one_test): Call check_result.
10550 (test_main): Call check1.
10551 * string/bug-strcasestr1.c: Removed.
10552 * string/bug-strchr1.c: Likewise.
10553 * string/bug-strstr1.c: Likewise.
10554
53cea63e
L
10555 * elf/Makefile (dl-routines): Add hwcaps.
10556 * elf/dl-support.c (_dl_important_hwcaps): Removed.
10557 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
10558 (_dl_important_hwcaps): Moved to ...
10559 * elf/dl-hwcaps.c: Here. New file.
10560 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
10561
9cee5585 10562 [BZ #14557]
bb859b06
L
10563 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
10564 if IS_IN_rtld isn't defined.
10565
9cee5585
L
10566 * elf/dl-support.c (_dl_sysinfo_map): New.
10567 Include "get-dynamic-info.h" and "setup-vdso.h".
10568 (_dl_non_dynamic_init): Call setup_vdso.
10569 * elf/dynamic-link.h: Don't include <assert.h>.
10570 (elf_get_dynamic_info): Moved to ...
10571 * elf/get-dynamic-info.h: Here. New file.
10572 * elf/dynamic-link.h: Include "get-dynamic-info.h".
10573 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
10574 * elf/setup-vdso.h: Here. New file.
10575 * elf/rtld.c: Include "setup-vdso.h".
10576 (dl_main): Call setup_vdso.
10577
23c31b76
JM
105782012-10-05 Joseph Myers <joseph@codesourcery.com>
10579
28234b07
JM
10580 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
10581 creal in comment listing functions tested. List finite, isinf,
10582 isnan, isless, islessequal, isgreater, isgreaterequal,
10583 islessgreater, isunordered, lgamma_r and pow10 as functions and
10584 macros not tested. Mention which functions not tested are aliases
10585 for other functions. Fix typo. Note that signs of NaNs are not
10586 tested.
10587
23c31b76
JM
10588 * scripts/config.guess: Update from config.git.
10589 * scripts/config.sub: Likewise.
10590
9043e228
RM
105912012-10-04 Roland McGrath <roland@hack.frob.com>
10592
10593 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
10594 * misc/madvise.c (madvise): Renamed to __madvise.
10595 Make madvise a weak alias.
10596 * include/sys/mman.h: Declare __madvise.
10597 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
10598 * sysdeps/unix/syscalls.list
10599 (madvise): Make __madvise the strong name, and madvise a weak alias.
10600 * sysdeps/unix/sysv/linux/syscalls.list
10601 (madvise, mmap): Remove redundant entries.
10602 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
10603 * malloc/malloc.c (mtrim): Likewise.
10604 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
10605
f57f8055
RM
106062012-10-03 Roland McGrath <roland@hack.frob.com>
10607
10608 * sysdeps/mach/hurd/dl-cache.c: File removed.
10609 * config.h.in (USE_LDCONFIG): New #undef.
10610 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
10611 * configure: Regenerated.
10612 * elf/Makefile (dl-routines): Add dl-cache only under
10613 [$(use-ldconfig) = yes].
10614 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
10615 cache on [USE_LDCONFIG].
10616 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
10617 [USE_LDCONFIG].
10618 * elf/rtld.c (dl_main): Likewise.
10619
5bb0c10a
PT
106202012-10-03 Pino Toscano <toscano.pino@tiscali.it>
10621
10622 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
10623 _SC_LEVEL4_CACHE_LINESIZE.
10624
010188c6
RM
106252012-10-03 Roland McGrath <roland@hack.frob.com>
10626
10627 * sysdeps/unix/bsd/confstr.h: File removed.
10628
b6c5ec07
AO
106292012-10-02 Alexandre Oliva <aoliva@redhat.com>
10630
10631 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
10632 sys/sdt-config.h.
10633
408223d4
RM
106342012-10-02 Roland McGrath <roland@hack.frob.com>
10635
10636 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
10637 Make 'mapoff' field ElfW(Off) rather than off_t.
10638
bb9510dc
DL
106392012-10-02 Dmitry V. Levin <ldv@altlinux.org>
10640
fc997c6e
DL
10641 * nscd/Makefile: Remove nscd-cflags and all its users.
10642 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
10643 (CFLAGS-nonlib): Add compiler flags for nscd modules.
10644
bb9510dc
DL
10645 [BZ #10631]
10646 * malloc.c (malloc_printerr): Clarify error message.
10647
05699367
L
106482012-10-02 H.J. Lu <hongjiu.lu@intel.com>
10649
10650 [BZ #14648]
10651 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10652 Set bit_FMA_Usable if FMA is supported.
10653 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
10654 macro.
10655 (bit_FMA4_Usable): Updated.
10656 (index_FMA_Usable): New macro.
10657 (CPUID_FMA): Likewise
10658 (HAS_FMA): Defined with bit_FMA_Usable.
10659
51367701
RM
106602012-10-01 Roland McGrath <roland@hack.frob.com>
10661
10662 * bits/types.h (__swblk_t): Type removed.
10663 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
10664 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
10665 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10666 (__SWBLK_T_TYPE): Likewise.
10667 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10668 (__SWBLK_T_TYPE): Likewise.
10669 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10670 (__SWBLK_T_TYPE): Likewise.
10671 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10672 (__SWBLK_T_TYPE): Likewise.
10673
4d57bf63 106742012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 10675 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
10676
10677 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
10678 (xdr_mapname): Use YPMAXMAP as maxsize.
10679 (xdr_peername): Use YPMAXPEER as maxsize.
10680 (xdr_keydat): Use YPAXRECORD as maxsize.
10681 (xdr_valdat): Use YPMAXRECORD as maxsize.
10682
93c65d43
RM
106832012-10-01 Roland McGrath <roland@hack.frob.com>
10684
497a03d6
RM
10685 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
10686
93c65d43
RM
10687 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
10688 * csu/init-first.c: ... here.
10689 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
10690 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
10691 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10692 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10693 * sysdeps/i386/init-first.c: File removed.
10694 * sysdeps/sh/init-first.c: File removed.
10695
bec749fd
JM
106962012-10-01 Joseph Myers <joseph@codesourcery.com>
10697
10698 [BZ #14645]
10699 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
10700 if x * y might underflow to zero and z is zero.
10701 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10702 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10703 * math/libm-test.inc (min_subnorm_value): New variable.
10704 (fma_test): Add more tests.
10705 (fma_test_towardzero): Likewise.
10706 (fma_test_downward): Likewise
10707 (fma_test_upward): Likewise.
10708 (initialize): Set min_subnorm_value.
10709
8ec5b013
JM
107102012-09-29 Joseph Myers <joseph@codesourcery.com>
10711
10712 [BZ #14638]
10713 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
10714 0 + 0.
10715 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
10716 mode for addition resulting in exact zero.
10717 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
10718 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
10719 exact 0 + 0.
10720 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10721 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10722 * math/libm-test.inc (fma_test): Add more tests.
10723 (fma_test_towardzero): New function.
10724 (fma_test_downward): Likewise.
10725 (fma_test_upward): Likewise.
10726 (main): Call the new functions.
10727
b1fa802e
DM
107282012-09-28 David S. Miller <davem@davemloft.net>
10729
10730 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
10731
d3b9fd9e
RM
107322012-09-28 Roland McGrath <roland@hack.frob.com>
10733
ea4d37b3
RM
10734 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
10735 instead of SIGALRM.
10736
ac51c949
RM
10737 * sysdeps/gnu/_G_config.h: Moved to ...
10738 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
10739 * sysdeps/mach/hurd/_G_config.h: Moved to ...
10740 * sysdeps/generic/_G_config.h: ... here.
10741
28c195f7
RM
10742 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
10743
848917f9
RM
10744 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
10745
6bacf05b
RM
10746 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
10747 Conditionalize target on [libnss_test1.so-version].
10748
91363dbb
RM
10749 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
10750
cc87f7d8
RM
10751 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
10752 (elfobjdir): Move out of conditionals.
10753
b1c608fe
RM
10754 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
10755 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
10756 (__nss_lookup_function): Conditionalize label remove_from_tree on
10757 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 10758
1d9a6d96
DM
107592012-09-28 David S. Miller <davem@davemloft.net>
10760
10761 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
10762 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
10763 file.
10764 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10765 sysdep_routines.
10766 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10767 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
10768 when HWCAP_SPARC_CRYPTO is present.
10769
72581615
PT
107702012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10771
10772 * io/tst-mknodat.c: Create a FIFO instead of a socket.
10773
715a900c
JL
107742012-09-28 Andreas Schwab <schwab@linux-m68k.org>
10775
10776 [BZ #6530]
10777 * stdio-common/vfprintf.c (process_string_arg): Revert
10778 2000-07-22 change.
10779
107802011-09-28 Jonathan Nieder <jrnieder@gmail.com>
10781
10782 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
10783 for testcase.
10784 * stdio-common/tst-sprintf.c: Include <locale.h>
10785 (main): Test sprintf's handling of incomplete multibyte
10786 characters.
10787
9bac1d86
L
107882012-09-28 H.J. Lu <hongjiu.lu@intel.com>
10789
10790 * elf/dl-runtime.c (VERSYMIDX): Removed.
10791 * elf/dl-version.c (VERSYMIDX): Likewise.
10792 * elf/do-rel.h (VERSYMIDX): Likewise.
10793 (VALIDX): Likewise.
10794 * elf/dynamic-link.h (VERSYMIDX): Likewise.
10795 * elf/rtld.c (VALIDX): Likewise.
10796 (ADDRIDX): Likewise.
9bac1d86
L
10797 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
10798 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
10799 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
10800 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
10801 (VALIDX): Likewise.
10802 (ADDRIDX): Likewise.
9bac1d86 10803
b31606c0
PT
108042012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10805
10806 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
10807
11541177
JL
108082012-09-28 Dmitry V. Levin <ldv@altlinux.org>
10809
10810 [BZ #11438]
10811 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
10812 to global scope.
10813 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
10814 addresses are in the same scope as 192.0.2/24.
10815 * posix/gai.conf: Document new scope table defaults.
10816
adb26fae
SP
108172012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10818
10819 [BZ #5298]
10820 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
10821 for ftell. Compute offsets from write pointers instead.
10822 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10823
4573c6b0
SP
108242012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10825
10826 [BZ #14543]
10827 * libio/Makefile (tests): New test case tst-fseek.
10828 * libio/tst-fseek.c: New test case to verify that fseek/ftell
10829 combination works in wide mode.
10830 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
10831 state when the external buffer state changes.
10832
aa9bbfe6
DM
108332012-09-27 David S. Miller <davem@davemloft.net>
10834
10835 [BZ #14376]
10836 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
10837 pass reloc->r_addend in as the 'high' argument to
10838 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
10839
784421e7
DM
10840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10841
c39bc8b8
PT
108422012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10843
10844 * rt/tst-aio2.c: Include <pthread.h>.
10845 * rt/tst-aio3.c: Likewise.
10846
1ccc2399
SE
108472012-09-27 Steve Ellcey <sellcey@mips.com>
10848
10849 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
10850
31ed4153
L
108512012-09-27 H.J. Lu <hongjiu.lu@intel.com>
10852
25f5f885
L
10853 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
10854 contents on [SHARED].
31ed4153 10855
b7bfe116
MP
108562012-09-26 Marek Polacek <polacek@redhat.com>
10857
10858 [BZ #14530]
10859 [BZ #13741]
10860 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
10861 for C++ and GCC <4.3 as well as for non GCC compilers.
10862
43c4edba
MT
108632012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10864
10865 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10866
6a1bf82f
RM
108672012-09-25 Roland McGrath <roland@hack.frob.com>
10868
10869 * Makefile.in (all, install): Declare with .PHONY.
10870 Reported by Michael Hope <michael.hope@linaro.org>.
10871
8ad11b9a
TMQMF
108722012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10873
10874 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
10875 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
10876 system header.
10877 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
10878 Likewise.
10879 (sydep_routines): Add the new and the internal functions.
10880 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
10881 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
10882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
10883 (GLIBC_2.17): Add the new function.
10884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10885 (GLIBC_2.17): Likewise.
10886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
10887 (GLIBC_2.17): Likewise.
10888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
10889 (GLIBC_2.17): Likewise.
10890 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
10891
7e2fca8d
AM
108922012-09-25 Alan Modra <amodra@gmail.com>
10893
10894 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
10895 Add release barrier before setting once_control to say
10896 initialisation is done. Add hints on lwarx. Use macro in
10897 place of isync.
10898 (clear_once_control): Add release barrier.
10899
b87c4b24
JM
109002012-09-25 Joseph Myers <joseph@codesourcery.com>
10901
d032e0d2
JM
10902 [BZ #13629]
10903 * math/s_clog.c (__clog): Handle more values close to |z| = 1
10904 specially.
10905 * math/s_clog10.c (__clog10): Likewise.
10906 * math/s_clog10f.c (__clog10f): Likewise.
10907 * math/s_clog10l.c (__clog10l): Likewise.
10908 * math/s_clogf.c (__clogf): Likewise.
10909 * math/s_clogl.c (__clogl): Likewise.
10910 * math/Makefile (libm-calls): Add x2y2m1.
10911 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
10912 (__x2y2m1): Likewise.
10913 (__x2y2m1l): Likewise.
10914 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
10915 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
10916 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10917 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10918 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
10919 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10920 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
10921 * sysdeps/i386/fpu/libm-test-ulps: Update.
10922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10923
b87c4b24
JM
10924 [BZ #14621]
10925 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
10926 int as type of variable DEPTH.
10927 (glob): Use size_t instead of int as type of variables NEWCOUNT
10928 and OLD_PATHC.
10929
6d3bf199
LD
109302012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10931
22bf5c17
LD
10932 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10933 Add s_sincosf-sse2.
10934 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
10935 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
10936 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
10937 macros for using routine as __sincosf_ia32.
10938 Use macro for function declaration and weak_alias.
10939 * sysdeps/i386/fpu/libm-test-ulps: Update.
10940
10941 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
10942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10943
10944 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
10945 subnormal argument.
10946 * math/s_cexpf.c (__cexpf): Likewise.
10947 * math/s_csinf.c (__csinf): Likewise.
10948 * math/s_csinhf.c (__csinhf): Likewise.
10949 * math/s_ctanf.c (__ctanf): Likewise.
10950 * math/s_ctanhf.c (__ctanhf): Likewise.
10951 * math/s_ccosh.c (__ccoshf): Likewise.
10952 * math/s_cexp.c (__cexpl): Likewise.
10953 * math/s_csin.c (__csin): Likewise.
10954 * math/s_csinh.c (__csinh): Likewise.
10955 * math/s_ctan.c (__ctan): Likewise.
10956 * math/s_ctanh.c (ctanh): Likewise.
10957 * math/s_ccoshl.c (__ccoshl): Likewise.
10958 * math/s_cexpl.c (__cexpl): Likewise.
10959 * math/s_csinl.c (__csinl): Likewise.
10960 * math/s_csinhl.c (__csinhl): Likewise.
10961 * math/s_ctanl.c (__ctanl): Likewise.
10962 * math/s_ctanhl.c (__ctanhl): Likewise.
10963
203e5603
JM
109642012-09-25 Joseph Myers <joseph@codesourcery.com>
10965
10966 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
10967 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
10968 (_IO_off_t): Define to __off_t, not _G_off_t.
10969 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
10970 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
10971 (_IO_wint_t): Define to wint_t, not _G_wint_t.
10972 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
10973 type of __dummy and __dummy2 fields.
10974 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
10975 (_G_ssize_t): Likewise.
10976 (_G_off_t): Likewise.
10977 (_G_pid_t): Likewise.
10978 (_G_uid_t): Likewise.
10979 (_G_wchar_t): Likewise.
10980 (_G_wint_t): Likewise.
10981 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
10982 (_G_ssize_t): Likewise.
10983 (_G_off_t): Likewise.
10984 (_G_pid_t): Likewise.
10985 (_G_uid_t): Likewise.
10986 (_G_wchar_t): Likewise.
10987 (_G_wint_t): Likewise.
10988 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
10989 (_G_ssize_t): Likewise.
10990 (_G_off_t): Likewise.
10991 (_G_pid_t): Likewise.
10992 (_G_uid_t): Likewise.
10993 (_G_wchar_t): Likewise.
10994 (_G_wint_t): Likewise.
10995
9fab36eb
SP
109962012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10997
10998 * malloc/arena.c: Include malloc-sysdep.h.
10999 (shrink_heap): Use check_may_shrink_heap to decide if madvise
11000 is sufficient to shrink the heap or an unmap is needed.
11001 * sysdeps/generic/malloc-sysdep.h: New file. Define
11002 new function check_may_shrink_heap.
11003 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
11004 new function check_may_shrink_heap.
11005
2b4f00d1
SP
110062012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11007
11008 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
11009 comments.
11010
9a9028b1
DL
110112012-09-24 Dmitry V. Levin <ldv@altlinux.org>
11012
57c69bef
DL
11013 * catgets/test-gencat.sh: Add "set -e".
11014 * elf/tst-pathopt.sh: Likewise.
11015 * grp/tst_fgetgrent.sh: Likewise.
11016 * iconvdata/run-iconv-test.sh: Likewise.
11017 * intl/tst-gettext.sh: Likewise.
11018 * intl/tst-gettext2.sh: Likewise.
11019 * intl/tst-gettext4.sh: Likewise.
11020 * intl/tst-gettext6.sh: Likewise.
11021 * intl/tst-translit.sh: Likewise.
11022 * io/ftwtest-sh: Likewise.
11023 * libio/test-freopen.sh: Likewise.
11024 * malloc/tst-mtrace.sh: Likewise.
11025 * posix/globtest.sh: Likewise.
11026 * posix/tst-getconf.sh: Likewise.
11027 * posix/wordexp-tst.sh: Likewise.
11028 * stdio-common/tst-printf.sh: Likewise.
11029 * stdio-common/tst-unbputc.sh: Likewise.
11030 * stdlib/tst-fmtmsg.sh: Likewise.
11031 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11032 * catgets/Makefile: Do not specify -e option when running
11033 testsuite shell scripts.
11034 * elf/Makefile: Likewise.
11035 * grp/Makefile: Likewise.
11036 * iconvdata/Makefile: Likewise.
11037 * intl/Makefile: Likewise.
11038 * io/Makefile: Likewise.
11039 * libio/Makefile: Likewise.
11040 * malloc/Makefile: Likewise.
11041 * posix/Makefile: Likewise.
11042 * stdio-common/Makefile: Likewise.
11043 * stdlib/Makefile: Likewise.
11044 * sysdeps/x86_64/Makefile: Likewise.
11045
9a9028b1
DL
11046 * io/ftwtest-sh: Add copyright header.
11047 * posix/globtest.sh: Likewise.
11048 * posix/tst-getconf.sh: Likewise.
11049 * posix/wordexp-tst.sh: Likewise.
11050 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11051
ced6f16e
L
110522012-09-24 H.J. Lu <hongjiu.lu@intel.com>
11053
94b32c39
L
11054 [BZ #13679]
11055 * Makeconfig (+link): Defined as $(+link-static) if
11056 $(build-shared) isn't yes.
11057 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
11058 isn't yes.
11059 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
11060
189e935b
L
11061 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
11062
ced6f16e
L
11063 [BZ #14562]
11064 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
11065 new chunk size with MALLOC_ALIGN_MASK.
11066
a9f8e53a
JM
110672012-09-24 Joseph Myers <joseph@codesourcery.com>
11068
11069 [BZ #5044]
11070 * stdio-common/printf_fphex.c: Include <stdbool.h> and
11071 <rounding-mode.h>.
11072 (__printf_fphex): Determine rounding using get_rounding_mode and
11073 round_away.
11074 * stdio-common/tst-printf-round.c (struct hex_test): New
11075 structure.
11076 (hex_tests): New variable.
11077 (test_hex_in_one_mode): New function.
11078 (do_test): Also run tests for hex float output.
11079
43153109
JM
110802012-09-21 Joseph Myers <joseph@codesourcery.com>
11081
11082 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11083 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11084 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
11085 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11086 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11087 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
11088 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11089 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11090
8a26625d
JM
110912012-09-20 Joseph Myers <joseph@codesourcery.com>
11092
11093 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
11094 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
11095 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
11096 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
11097
f3fd569c
DL
110982012-09-19 Dmitry V. Levin <ldv@altlinux.org>
11099
11100 [BZ #14579]
11101 * elf/rtld.c (dl_main): Limit the check for self loading to normal
11102 mode only.
11103 * elf/tst-rtld-load-self.sh: New test.
11104 * elf/Makefile: Run it.
11105
63bbedd4
JM
111062012-09-18 Joseph Myers <joseph@codesourcery.com>
11107
11108 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
11109 (tst-writev-ENV): Remove.
11110 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
11111
626f8b6a
CM
111122012-09-17 Chris Metcalf <cmetcalf@tilera.com>
11113
11114 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
11115
b7aaa4d6
JM
111162012-09-17 Joseph Myers <joseph@codesourcery.com>
11117
11118 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
11119 unconditional.
11120 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
11121 Likewise.
11122 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
11123 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
11124 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
11125 Likewise.
11126
65513990
L
111272012-09-14 H.J. Lu <hongjiu.lu@intel.com>
11128
11129 [BZ #14587]
11130 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
11131 * config.make.in (have-cpp-asm-debuginfo): Removed.
11132 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
11133 * configure: Regenerated.
11134
784761be
JM
111352012-09-14 Joseph Myers <joseph@codesourcery.com>
11136
11137 [BZ #5044]
11138 * stdio-common/printf_fp.c: Include <stdbool.h> and
11139 <rounding-mode.h>.
11140 (___printf_fp): Determine rounding using get_rounding_mode and
11141 round_away.
11142 * stdio-common/tst-printf-round.c: New file.
11143 * stdio-common/Makefile (tests): Add tst-printf-round.
11144 (link-libm): New variable.
11145 ($(objpfx)tst-printf-round): Depend in $(link-libm).
11146
9503345f
L
111472012-09-13 H.J. Lu <hongjiu.lu@intel.com>
11148
11149 [BZ #14576]
11150 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
11151 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
11152 Likewise.
11153 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
11154 Likewise.
11155
ad35fc00
JM
111562012-09-13 Joseph Myers <joseph@codesourcery.com>
11157
11158 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
11159 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11160 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11161 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11162
6c9b0f68
JM
111632012-09-12 Joseph Myers <joseph@codesourcery.com>
11164
11165 [BZ #14518]
11166 * include/rounding-mode.h: New file.
11167 * sysdeps/generic/get-rounding-mode.h: Likewise.
11168 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
11169 * stdlib/strtod_l.c: Include <rounding-mode.h>.
11170 (MAX_VALUE): New macro.
11171 (MIN_VALUE): Likewise.
11172 (overflow_value): New function.
11173 (underflow_value): Likewise.
11174 (round_and_return): Use overflow_value and underflow_value to
11175 determine return values in overflow and underflow cases. Use
11176 round_away to determine rounding depending on rounding mode.
11177 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
11178 determine return values in overflow and underflow cases.
11179 * stdlib/tst-strtod-round.c: Include <fenv.h>.
11180 (struct test_results): New structure.
11181 (struct test): Use struct test_results to store expected results
11182 for all rounding modes.
11183 (TEST): Include expected results for all rounding modes.
11184 (test_in_one_mode): New function.
11185 (do_test): Use test_in_one_mode to compute and check results.
11186 Check results for all rounding modes.
11187 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
11188 $(link-libm).
11189
19fcedd5
AM
111902012-12-09 Allan McRae <allan@archlinux.org>
11191
1e9d84cd 11192 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 11193
8bbfd2f1
JM
111942012-09-11 Joseph Myers <joseph@codesourcery.com>
11195
11196 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
11197 (_G_int32_t): Likewise.
11198 (_G_uint16_t): Likewise.
11199 (_G_uint32_t): Likewise.
11200 (_G_HAVE_BOOL): Likewise.
11201 (_G_HAVE_ATEXIT): Likewise.
11202 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11203 (_G_HAVE_IO_FILE_OPEN): Likewise.
11204 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
11205 (_G_int32_t): Likewise.
11206 (_G_uint16_t): Likewise.
11207 (_G_uint32_t): Likewise.
11208 (_G_HAVE_BOOL): Likewise.
11209 (_G_HAVE_ATEXIT): Likewise.
11210 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11211 (_G_HAVE_IO_FILE_OPEN): Likewise.
11212 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
11213 (_G_int32_t): Likewise.
11214 (_G_uint16_t): Likewise.
11215 (_G_uint32_t): Likewise.
11216 (_G_HAVE_BOOL): Likewise.
11217 (_G_HAVE_ATEXIT): Likewise.
11218 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11219 (_G_HAVE_IO_FILE_OPEN): Likewise.
11220
b1dc5912
L
112212012-09-11 H.J. Lu <hongjiu.lu@intel.com>
11222
11223 * csu/libc-tls.c: Update copyright years.
11224
0e886ef9
JM
112252012-09-10 Joseph Myers <joseph@codesourcery.com>
11226
28361c5e
JM
11227 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
11228 [!_G_USING_THUNKS]: Remove conditional code.
11229 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
11230 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
11231
0e886ef9
JM
11232 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
11233 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
11234 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11235 (_G_VTABLE_LABEL_PREFIX): Likewise.
11236 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11237 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11238 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11239 (_G_VTABLE_LABEL_PREFIX): Likewise.
11240 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11241 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11242 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11243 (_G_VTABLE_LABEL_PREFIX): Likewise.
11244 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11245
bcba7aa2
L
112462012-09-10 H.J. Lu <hongjiu.lu@intel.com>
11247
11248 * libio/Makefile: Include ../Makeconfig before tests.
11249 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
11250 only if $(build-shared) is yes.
11251
06585ee8
L
11252 * iconv/gconv_db.c: Update copyright years.
11253
80ccd52c
LD
112542012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11255
11256 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
11257 unwind info if defined PIC. Fix special cases description.
11258 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
11259
11260 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
11261 DP_HI_MASK entry.
11262 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
11263
691bc9c1
L
112642012-09-07 H.J. Lu <hongjiu.lu@intel.com>
11265
3d9b46b3
L
11266 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
11267
de2139a9
L
11268 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
11269 is NULL.
11270
5ca78dd0
L
11271 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
11272 (LDLIBS-tst-chk4): This.
11273 (LDFLAGS-tst-chk5): Renamed to ...
11274 (LDLIBS-tst-chk5): This.
11275 (LDFLAGS-tst-chk6): Renamed to ...
11276 (LDLIBS-tst-chk6): This.
11277 (LDFLAGS-tst-lfschk4): Renamed to ...
11278 (LDLIBS-tst-lfschk4): This.
11279 (LDFLAGS-tst-lfschk5): Renamed to ...
11280 (LDLIBS-tst-lfschk5): This.
11281 (LDFLAGS-tst-lfschk6): Renamed to ...
11282 (LDLIBS-tst-lfschk6): This.
11283
691bc9c1
L
11284 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
11285 on $(common-objpfx)soversions.mk.
11286
65cafb1c
JM
112872012-09-07 Joseph Myers <joseph@codesourcery.com>
11288
11289 [BZ #10014]
11290 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
11291 example host name.
11292
c78ab094
SP
112932012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11294
11295 * malloc/arena.c (arena_get_retry): New function that gets
11296 another arena for the caller to try its request on.
11297 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
11298 current arena cannot fulfill the request.
11299 (__libc_memalign): Likewise.
11300 (__libc_memalign): Likewise.
11301 (__libc_pvalloc): Likewise.
11302 (__libc_calloc): Likewise.
11303
01f49f59
JT
113042012-09-05 John Tobey <john.tobey@gmail.com>
11305
11306 [BZ #13542]
11307 * manual/arith.texi (Operations on Complex): Fix description
11308 of carg branch cut.
11309
4c23fed5
JM
113102012-09-06 Joseph Myers <joseph@codesourcery.com>
11311
1d3c8572
JM
11312 [BZ #10014]
11313 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
11314 host name.
11315
4c23fed5
JM
11316 [BZ #10038]
11317 * manual/memory.texi (Memory): Make order of menu items match
11318 order of sections.
11319
04570aaa
L
113202012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11321
11322 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
11323 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
11324 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
11325
b80af2f4
L
113262012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11327
11328 * csu/libc-tls.c (static_dtv): Renamed to ...
11329 (_dl_static_dtv): This. Make it global.
11330 (_dl_initial_dtv): Removed.
11331 (__libc_setup_tls): Updated.
11332 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
11333 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
11334 DL_INITIAL_DTV.
11335
2abe9f15
PM
113362012-09-06 Petr Machata <pmachata@redhat.com>
11337
11338 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
11339 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
11340 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
11341 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
11342
0948c3af
L
113432012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11344
11345 [BZ #14545]
11346 * csu/libc-tls.c (_dl_initial_dtv): New variable.
11347 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
11348 freeing dtv[-1].
11349
a5055ad1
L
113502012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11351
11352 [BZ #14544]
11353 * Makeconfig (link-static-before-libc): Replace $(+prector)
11354 with $(+prectorT).
11355 (link-static-after-libc): Replace $(+postctor) with
11356 $(+postctorT).
11357 (link-bounded): Replace $(+prector)/$(+postctor) with
11358 $(+prectorT)/$(+postctorT).
11359 (+prectorT): New macro.
11360 (+postctorT): Likewise.
11361
ed8c2ecd
JM
113622012-09-06 Joseph Myers <joseph@codesourcery.com>
11363
11364 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
11365 (round_str): Handle values above the maximum for IBM long double
11366 as inexact.
11367 * stdlib/tst-strtod-round.c (tests): Regenerated.
11368
14c996c8
AK
113692012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11370
11371 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
11372 assembler flag.
11373 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
11374 zarch_nohighgprs around the zarch optimized routines.
11375 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11376 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11377 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
11378 for zarch.
11379
430d6ce6
DM
113802012-09-05 David S. Miller <davem@davemloft.net>
11381
11382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11383
ff04dda4
DM
11384 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
11385 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
11386 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
11387 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11388 entries.
11389
24d4e01b
AO
113902012-09-05 Alexandre Oliva <aoliva@redhat.com>
11391
11392 * malloc/arena.c: Fold copyright years.
11393 * malloc/mcheck.c, malloc/memusage.c: Likewise.
11394
61d58174
AO
113952012-09-05 Alexandre Oliva <aoliva@redhat.com>
11396
11397 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
11398
20196a5e
AO
113992012-09-05 Alexandre Oliva <aoliva@redhat.com>
11400
11401 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
11402
5c447383
AO
114032012-09-05 Alexandre Oliva <aoliva@redhat.com>
11404
11405 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
11406 change internal state upon failure.
11407
fad64255
AO
114082012-09-05 Alexandre Oliva <aoliva@redhat.com>
11409
11410 * malloc/mcheck.c (mcheck_check_all): Fix typo.
11411 * malloc/memusage.c (mmap): Likewise.
11412 (mmap64, mremap): Likewise. Adjust name in comment.
11413
1ffb8c90
SP
114142012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11415
11416 * libio/fileops.c: Fix typos in comments.
11417 * libio/oldfileops.c: Likewise.
11418 * libio/wfileops.c: Likewise.
11419
6ef9cc37
SP
114202012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11421
11422 [BZ #1349]
11423 * malloc/Makefile (tests): Add tst-malloc-usable test case.
11424 (tst-malloc-usable-ENV): Set environment for test case.
11425 * malloc/hooks.c (malloc_check_get_size): New function to get
11426 requested size.
11427 * malloc/malloc.c (musable): Use malloc_check_get_size.
11428 * malloc/tst-malloc-usable.c: New test case.
11429
4d038ae3
AS
114302012-09-05 Andreas Schwab <schwab@linux-m68k.org>
11431
11432 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
11433
c4e85184
AM
114342012-09-05 Allan McRae <allan@archlinux.org>
11435
b9dafc56 11436 [BZ #13966]
c4e85184
AM
11437 * configure.in (CXX_SYSINCLUDES): Use compiler output to
11438 determine header location.
11439 * configure: Regenerated.
11440
e1343020
AS
114412012-09-05 Andreas Schwab <schwab@linux-m68k.org>
11442
11443 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
11444 float format.
11445 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
11446 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
11447 format.
e1343020
AS
11448 (test): Regenerate.
11449
0a9f1987
DM
114502012-09-04 David S. Miller <davem@davemloft.net>
11451
11452 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
11453 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
11454 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
11455
29237804
FW
114562012-09-04 Florian Weimer <fweimer@redhat.com>
11457
11458 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
11459 failures.
11460
edb3cb88
FW
11461 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
11462
60160d83
JM
114632012-09-04 Joseph Myers <joseph@codesourcery.com>
11464
11465 [BZ #9914]
11466 * libio/iogetdelim.c: Include <limits.h>.
11467 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
11468 + len + 1 would overflow.
11469
bcd6c8dc
AJ
114702012-09-03 Andreas Jaeger <aj@suse.de>
11471
11472 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11473 * sysdeps/i386/fpu/libm-test-ulps: Update.
11474
4ffffbd2
LD
114752012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11476
11477 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11478 Add s_sinf-sse2, s_conf-sse2.
11479
11480 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
11481 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
11482 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
11483 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
11484
11485 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
11486 for using routine as __sinf_ia32.
11487 Use macro for function declaration and weak_alias.
11488 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
11489 for using routine as __cosf_ia32.
11490 Use macro for function declaration and weak_alias.
11491
11492 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
11493 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
11494
11495 * sysdeps/x86_64/fpu/s_sinf.S: New file.
11496 * sysdeps/x86_64/fpu/s_cosf.S: New file.
11497 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11498
11499 * math/libm-test.inc (cos_test): Add more test cases.
11500 (sin_test): Likewise.
11501 (sincos_test): Likewise.
11502
511fa286
AK
115032012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11504
11505 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
11506 (IFUNC_RESOLVE): Make pointers to the specialized implementations
11507 hidden.
11508 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11509
5f30cfec
L
115102012-09-02 H.J. Lu <hongjiu.lu@intel.com>
11511
11512 [BZ #14538]
11513 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
11514 first element of the GOT.
11515 (elf_machine_load_address): Return the difference between
11516 the runtime address of _DYNAMIC and elf_machine_dynamic ().
11517
0786794f
AM
115182012-09-01 Allan McRae <allan@archlinux.org>
11519
5f30cfec
L
11520 [BZ #13412]
11521 * configure.in (AWK): Require gawk version 3.0 or later.
11522 * configure: Regenerated.
0786794f 11523
26889eac
JM
115242012-09-01 Joseph Myers <joseph@codesourcery.com>
11525
11526 * sysdeps/unix/sysv/linux/kernel-features.h
11527 (__ASSUME_POSIX_CPU_TIMERS): Remove.
11528 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11529 [__NR_clock_getres]: Make code unconditional.
11530 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
11531 (clock_getcpuclockid): Remove code left unreachable by removal of
11532 conditionals.
11533 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
11534 code unconditional.
11535 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11536 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11537 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
11538 Make code unconditional.
11539 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11540 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11541 * sysdeps/unix/sysv/linux/clock_settime.c
11542 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
11543 conditional code.
11544 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
11545 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11546
d22e28b0
L
115472012-08-29 H.J. Lu <hongjiu.lu@intel.com>
11548
11549 [BZ #14476]
11550 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
11551 scripts/test-installation.pl.
11552
11553 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
11554 and $ld_so_version if it is set.
11555
050af9c4
SP
115562012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11557
11558 [BZ #14516]
11559 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
11560 failure if reading from procfs failed.
11561 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
11562
ad845c0b
JM
115632012-08-27 Joseph Myers <joseph@codesourcery.com>
11564
11565 * sysdeps/unix/sysv/linux/kernel-features.h
11566 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
11567 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11568 Remove conditional code.
11569 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11570 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
11571 Remove conditional code.
11572 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11573 * sysdeps/unix/sysv/linux/i386/fxstat.c
11574 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11575 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11576 * sysdeps/unix/sysv/linux/i386/fxstatat.c
11577 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11578 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11579 * sysdeps/unix/sysv/linux/i386/lxstat.c
11580 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11581 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11582 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
11583 Remove conditional code.
11584 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11585 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11586 Remove conditional code.
11587 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11588 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
11589 <kernel-features.h>.
11590 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
11591 Remove.
11592 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
11593 Remove conditional code.
11594 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11595 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
11596 Remove conditional.
11597
5dbf56af
MF
115982012-08-27 Mike Frysinger <vapier@gentoo.org>
11599
11600 [BZ #5400]
11601 * NEWS: Add fixed bug number.
11602
d6e70f43
JM
116032012-08-27 Joseph Myers <joseph@codesourcery.com>
11604
7efb4737
JM
11605 [BZ #14519]
11606 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
11607 underflowing exponent in case of negative sign.
11608 * stdlib/tst-strtod-round-data: Add more tests.
11609 * stdlib/tst-strtod-round.c (tests): Regenerated.
11610
af92131a
JM
11611 [BZ #3479]
11612 * stdlib/strtod_l.c (NDIG): Remove.
11613 (HEXNDIG): Likewise.
11614 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
11615 smallest representable value.
11616 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
11617 lie within an exact representation of 1/2 ulp of the result.
11618 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
11619 unconditionally.
11620 (TENS_P9_IDX): Define unconditionally.
11621 (TENS_P9_SIZE): Likewise.
11622 (TENS_P10_IDX): Likewise.
11623 (TENS_P10_SIZE): Likewise.
11624 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
11625 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
11626 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
11627 entries for 10^2^13 and 10^2^14.
11628 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
11629 (TENS_P13_IDX): Define.
11630 (TENS_P13_SIZE): Likewise.
11631 (TENS_P14_IDX): Likewise.
11632 (TENS_P14_SIZE): Likewise.
11633 (_fpioconst_pow10): Change array size to
11634 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
11635 unconditional.
11636 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
11637 1024]: Add entries for 10^2^13 and 10^2^14.
11638 [LAST_POW10 > _LAST_POW10]: Remove #error.
11639 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
11640 (_fpioconst_pow10): Change array size to
11641 FPIOCONST_POW10_ARRAY_SIZE.
11642 * stdlib/gen-fpioconst.c: New file.
11643 * stdlib/gen-tst-strtod-round.c: Likewise.
11644 * stdlib/tst-strtod-round-data: Likewise.
11645 * stdlib/tst-strtod-round.c: Likewise.
11646 * stdlib/Makefile (tests): Add tst-strtod-round.
11647
d6e70f43
JM
11648 [BZ #14459]
11649 * stdlib/strtod_l.c: Include <stdint.h>.
11650 (NDEBUG): Do not define.
11651 (round_and_return): Change EXPONENT parameter to type intmax_t.
11652 Rearrange calculations to avoid internal overflow possibilities.
11653 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
11654 Rearrange calculations to avoid internal overflow possibilities.
11655 Assert that number fits inside MPNSIZE limbs.
11656 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
11657 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
11658 calculations and add assertions to avoid internal overflow
11659 possibilities. Add casts to avoid signed/unsigned operations.
11660 * stdlib/tst-strtod-overflow.c: New file.
11661 * stdlib/Makefile (tests): Add tst-strtod-overflow.
11662
1f529f7d
MP
116632012-08-25 Marek Polacek <polacek@redhat.com>
11664
11665 * time/time.h: Fix some typos in comments.
11666
59a629f1
RM
116672012-08-23 Roland McGrath <roland@hack.frob.com>
11668
11669 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
11670 * posix/tst-rfc3484-2.c: Likewise.
11671 * posix/tst-rfc3484-3.c: Likewise.
11672
d3bafbc9
SM
116732012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
11674
11675 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
11676 (EF_ARM_ABI_FLOAT_HARD): Likewise.
11677
4efcc022
JM
116782012-08-23 Joseph Myers <joseph@codesourcery.com>
11679
11680 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
11681 #include of fxstatat64.c.
11682
3cc3ef96
RM
116832012-08-22 Roland McGrath <roland@hack.frob.com>
11684
f04e2132
RM
11685 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
11686 * shadow/getspent_r.c: Likewise.
11687 * shadow/getspnam.c: Likewise.
11688 * shadow/getspnam_r.c: Likewise.
11689 * gshadow/getsgent.c: Likewise.
11690 * gshadow/getsgent_r.c: Likewise.
11691 * gshadow/getsgnam.c: Likewise.
11692 * gshadow/getsgnam_r.c: Likewise.
11693 * inet/getnetbyad.c: Likewise.
11694 * inet/getnetbyad_r.c: Likewise.
11695 * inet/getnetbynm.c: Likewise.
11696 * inet/getnetbynm_r.c: Likewise.
11697 * inet/getnetent.c: Likewise.
11698 * inet/getnetent_r.c: Likewise.
11699 * inet/getproto.c: Likewise.
11700 * inet/getproto_r.c: Likewise.
11701 * inet/getprtent.c: Likewise.
11702 * inet/getprtent_r.c: Likewise.
11703 * inet/getprtname.c: Likewise.
11704 * inet/getprtname_r.c: Likewise.
11705 * inet/getrpcbyname.c: Likewise.
11706 * inet/getrpcbyname_r.c: Likewise.
11707 * inet/getrpcbynumber.c: Likewise.
11708 * inet/getrpcbynumber_r.c: Likewise.
11709 * inet/getrpcent.c: Likewise.
11710 * inet/getrpcent_r.c: Likewise.
11711 * inet/getaliasent.c: Likewise.
11712 * inet/getaliasent_r.c: Likewise.
11713 * inet/getaliasname.c: Likewise.
11714 * inet/getaliasname_r.c: Likewise.
11715 * nscd/getgrgid_r.c: Likewise.
11716 * nscd/getgrnam_r.c: Likewise.
11717 * nscd/gethstbyad_r.c: Likewise.
11718 * nscd/gethstbynm3_r.c: Likewise.
11719 * nscd/getpwnam_r.c: Likewise.
11720 * nscd/getpwuid_r.c: Likewise.
11721 * nscd/getsrvbynm_r.c: Likewise.
11722 * nscd/getsrvbypt_r.c: Likewise.
11723 * nscd/gai.c: Likewise.
11724
c53d909c
RM
11725 * configure.in (build_nscd): New substituted variable, set
11726 by --disable-build-nscd and defaults to $use_nscd.
11727 * configure: Regenerated.
11728 * config.make.in (build-nscd): New substituted variable.
11729 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
11730 Change conditional to require [$(build-nscd) = yes] as well.
11731 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
11732
3cc3ef96
RM
11733 [BZ# 13696]
11734 * configure.in (use_nscd): New substituted variable, set by
11735 --disable-nscd. If enabled, define USE_NSCD.
11736 * configure: Regenerated.
11737 * config.h.in: Add USE_NSCD.
11738 * config.make.in (use-nscd): New substituted variable.
11739 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
11740 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
11741 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
11742 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
11743 (CFLAGS-getgrnam_r.c): Likewise.
11744 (CFLAGS-initgroups.c): Likewise.
11745 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
11746 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
11747 Variables removed.
11748 * inet/getnetgrent_r.c
11749 (nscd_setnetgrent): New function, broken out of ...
11750 (setnetgrent): ... here. Call it.
11751 (innetgr): Conditionalize nscd bits on [USE_NSCD].
11752 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
11753 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
11754 * nscd/Makefile (routines, aux): Move definitions after include of
11755 Makeconfig. Conditionalize on [$(use-nscd) != no].
11756 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
11757 Conditionalize on [USE_NSCD].
11758 (is_nscd, nscd_init_cb): Likewise.
11759 (nss_load_library): Conditionalize init callback on [USE_NSCD].
11760 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
11761 * nss/nss_db/db-init.c: Likewise.
11762 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
11763 [USE_NSCD].
11764 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
11765 (make_request): Use it.
11766 (cache_valid_p): New function.
11767 (__check_pf): Use it.
11768 * NEWS: Add item for --disable-nscd.
11769
07e51550
DL
117702012-08-22 Dmitry V. Levin <ldv@altlinux.org>
11771
11772 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
11773 to support sed >= 4.2.1-20-ga9bf076.
11774 * configure: Regenerated.
11775
35a5b08b
RM
117762012-08-22 Roland McGrath <roland@hack.frob.com>
11777
11778 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
11779 Conditionalize whole body on [IREL].
11780
8479f23a
JL
117812012-08-22 Jeff Law <law@redhat.com>
11782
11783 [BZ #14505]
11784 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
11785 if the family is PF_UNSPEC.
11786
48da0b21
MF
117872012-08-22 Mike Frysinger <vapier@gentoo.org>
11788
11789 * Makerules (lib-version): Rename from V.
11790 (install-lib-nosubdir): Change V to lib-version.
11791
15d0da8c
WS
117922012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
11793
11794 [BZ #14252]
11795 * powerpc32/power6/wcschr.c: New file.
11796 * powerpc32/power6/wcscpy.c: New file.
11797 * powerpc32/power6/wcsrchr.c: New file.
11798 * powerpc64/power6/wcschr.c: New file.
11799 * powerpc64/power6/wcscpy.c: New file.
11800 * powerpc64/power6/wcsrchr.c: New file.
11801
bcca0895
MK
118022012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11803
11804 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
11805 (two_way_short_needle): Use it.
5a4aaa33
RM
11806 * string/strstr.c (AVAILABLE1_USES_J): Define.
11807 * string/strcasestr.c: Likewise.
99677e57
MK
11808
11809 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
11810 array references.
11811 * string/strcasestr.c (TOLOWER): Make side-effect safe.
11812
400726de
MK
11813 [BZ #11607]
11814 * NEWS: Add an entry.
11815 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
11816 define their defaults.
11817 (two_way_short_needle): Detect end-of-string on-the-fly.
11818 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
11819 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
11820 * string/bug-strcasestr1.c: New test.
11821 * string/Makefile: Run it.
11822
20a71f2c
MK
118232012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11824
11825 [BZ #11607]
11826 * string/str-two-way.h (two_way_short_needle): Optimize matching of
11827 the first character.
11828
21ad0558
RM
118292012-08-21 Roland McGrath <roland@hack.frob.com>
11830
11831 * csu/elf-init.c (__libc_csu_irel): Function removed.
11832 * csu/libc-start.c (apply_irel): New function.
11833 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
11834
0e1d9911
JM
118352012-08-21 Joseph Myers <joseph@codesourcery.com>
11836
11837 * sysdeps/unix/sysv/linux/kernel-features.h
11838 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
11839 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11840 <kernel-features.h>.
11841 [__NR_fadvise64_64]: Make code unconditional.
11842 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
11843 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11844 !__NR_fadvise64_64)]: Likewise.
11845 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11846 !__NR_fadvise64_64))]: Likewise.
11847 [__NR_fadvise64]: Make code unconditional.
11848 [!__NR_fadvise64]: Remove conditional code.
11849 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
11850 <kernel-features.h>.
11851 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11852 unconditional.
11853 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11854 conditional code.
11855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
11856 not include <kernel-features.h>.
11857 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11858 unconditional.
11859 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11860 conditional code.
11861 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
11862 include <kernel-features.h>.
11863 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11864 unconditional.
11865 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11866 conditional code.
11867
14a50c9d
WS
118682012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11869
11870 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
11871 slight instruction rearrangements per scrollpipe analysis.
11872 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11873
c0f4faf0
RM
118742012-08-20 Roland McGrath <roland@hack.frob.com>
11875
696da859
RM
11876 * manual/syslog.texi (syslog; vsyslog, closelog):
11877 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
11878 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
11879
c0f4faf0
RM
11880 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
11881 DSOCAPS to match condition on defining it.
11882
348363b2
JM
118832012-08-20 Joseph Myers <joseph@codesourcery.com>
11884
a35cbf28
JM
11885 * sysdeps/unix/sysv/linux/kernel-features.h
11886 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
11887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
11888 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11889 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
11891 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11892 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
11894 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11895 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11896
445f7ecd
JM
11897 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
11898 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
11899
348363b2
JM
11900 * sysdeps/unix/sysv/linux/kernel-features.h
11901 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
11902 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
11903 unconditional.
11904 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11905 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
11906 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11907 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11908 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
11909 Make code unconditional.
11910 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11911 (__mmap64) [!__NR_mmap2]: Likewise.
11912 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
11913 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11914 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11915 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
11916 [__NR_mmap2]: Make code unconditional.
11917 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11918 (__mmap64) [!__NR_mmap2]: Likewise.
11919
bc5bc0e5
AK
119202012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11921
11922 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
11923
88d506de
AJ
119242012-08-18 Andreas Jaeger <aj@suse.de>
11925
11926 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
11927
493387d2
MF
119282012-08-18 Mike Frysinger <vapier@gentoo.org>
11929
11930 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
11931 * include/unistd.h (__have_sock_cloexec): Likewise.
11932 (__have_pipe2): Likewise.
11933 (__have_dup3): Likewise.
11934
a277af22
MF
119352012-08-18 Mike Frysinger <vapier@gentoo.org>
11936
11937 [BZ #9685]
11938 * include/unistd.h (__have_pipe2): Change define into an extern int.
11939 (__have_dup3): Likewise.
11940 * socket/have_sock_cloexec.c: Include fcntl.h.
11941 (__have_pipe2): New variable.
11942 (__have_dup3): Likewise.
11943
fdab8fd3
MF
119442012-08-17 Mike Frysinger <vapier@gentoo.org>
11945
11946 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
11947
31035e80
MP
119482012-08-17 Marek Polacek <polacek@redhat.com>
11949
11950 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
11951 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
11952
3bd9e993
RM
119532012-08-17 Roland McGrath <roland@hack.frob.com>
11954
c91c505f
RM
11955 * configure.in: Add AC_SUBST for sysheaders.
11956 * configure: Regenerated.
11957 * config.make.in (sysheaders): New substituted variable.
11958
7c6f9d53
RM
11959 * sysdeps/unix/mkfifo.c: Moved ...
11960 * sysdeps/posix/mkfifo.c: ... here.
11961 * sysdeps/unix/mkfifoat.c: Moved ...
11962 * sysdeps/posix/mkfifoat.c: ... here.
11963
11964 * sysdeps/unix/utime.c: Moved ...
11965 * sysdeps/posix/utime.c: ... here.
11966
11967 * sysdeps/unix/time.c: Moved ...
11968 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
11969 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
11970 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
11971
11972 * sysdeps/unix/nice.c: Moved ...
11973 * sysdeps/posix/nice.c: ... here.
11974
11975 * sysdeps/unix/alarm.c: Moved ...
11976 * sysdeps/posix/alarm.c: ... here.
11977
3bd9e993
RM
11978 * intl/Makefile ($(codeset_mo)): Depend on the input file.
11979
d1f09384
JL
119802012-08-17 Jeff Law <law@redhat.com>
11981
11982 * intl/Makefile (codeset_mo): New variable.
11983 ($(codeset_mo)): New target.
11984 (tst-codeset.out): Depend on that. Remove explicit rule.
11985 (tst-gettext3.out, tst-gettext5.out): Likewise.
11986 (LOCPATH-ENV, tst-codeset-ENV): New variables.
11987 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
11988 * intl/tst-codeset.sh: Remove.
11989 * intl/tst-gettext3.sh: Likewise.
11990 * intl/tst-gettext5.sh: Likewise.
11991
2ae1ae5c
RM
119922012-08-17 Roland McGrath <roland@hack.frob.com>
11993
c31fdb83
RM
11994 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
11995 * sysdeps/unix/syscalls.list: ... here.
11996
a0844057
RM
11997 * sysdeps/posix/getaddrinfo.c
11998 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
11999 (gaiconf_init, gaiconf_reload): Use them.
12000 [!_STATBUF_ST_NSEC]
12001 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
12002 Define using time_t rather than struct timespec.
12003
750c1f2a
RM
12004 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
12005 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
12006 Macros removed.
12007 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
12008 [!NO_THREADS].
12009 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
12010 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
12011 Likewise.
12012
2ae1ae5c
RM
12013 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
12014 __libc_cleanup_push argument.
12015
e66a42f5
RM
12016 * bits/param.h: New file.
12017 * misc/sys/param.h: New file.
12018 * include/sys/param.h: New file.
12019 * misc/Makefile (headers): Add bits/param.h.
12020 * sysdeps/generic/sys/param.h: File removed.
12021 * sysdeps/unix/sysv/linux/bits/param.h: New file.
12022 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
12023 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 12024 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 12025
b7c08a66
RM
12026 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
12027 last change.
12028
b2e1c562
RM
12029 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
12030 [_IO_MTSAFE_IO].
12031 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
12032 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
12033 New macros.
12034
c75ccd4c
RM
12035 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
12036 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
12037 rather than -D_IO_MTSAFE_IO conditionally.
12038 * stdio-common/Makefile (CPPFLAGS): Likewise.
12039 * wcsmbs/Makefile (CPPFLAGS): Likewise.
12040 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
12041 Use $(libio-mtsafe).
12042 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
12043 of -D_IO_MTSAFE_IO.
12044 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
12045 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
12046 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
12047 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
12048 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
12049 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
12050 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
12051 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
12052 (CFLAGS-fread_u_chk.c): Likewise.
12053 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
12054 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
12055 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
12056 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
12057 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
12058 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
12059 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
12060 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
12061 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
12062
12063 * libio/Makefile: Test [$(libc-reentrant) = yes]
12064 instead of [$(filter %REENTRANT, $(defines)) nonempty].
12065
12066 * Makeconfig
12067 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
12068 * sysdeps/pthread/configure: File removed.
12069 * sysdeps/pthread/Makeconfig: New file.
12070 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
12071 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
12072
d9195db8
GB
120732012-08-16 Gary Benson <gbenson@redhat.com>
12074
12075 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
12076 unmapping the first object in a namespace.
12077
86466cd9
RM
120782012-08-16 Roland McGrath <roland@hack.frob.com>
12079
12080 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
12081 (__internal_setnetgrent): ... this. Add internal_function to
12082 definition. Add libc_hidden_def.
12083 (setnetgrent): Update caller.
12084 (internal_endnetgrent): Renamed to ...
12085 (__internal_endnetgrent): ... this. Add internal_function to
12086 definition. Add libc_hidden_def.
12087 (endnetgrent): Update caller.
12088 (internal_getnetgrent_r): Renamed to ...
12089 (__internal_getnetgrent_r): ... this. Add internal_function to
12090 definition. Add libc_hidden_def.
12091 (__getnetgrent_r): Update caller.
12092 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
12093
c3c8283c
JM
120942012-08-16 Joseph Myers <joseph@codesourcery.com>
12095
12096 * stdlib/longlong.h: Update from GCC.
12097
db1ee0a8
RM
120982012-08-16 Roland McGrath <roland@hack.frob.com>
12099
12100 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
12101 on _QL, which is set by umul_ppmm but never used.
12102 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
12103 variables, which are set by GMP macros but never used.
12104 * stdio-common/_itowa.c (_itowa): Likewise.
12105 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
12106 * stdlib/mod_1.c (mpn_mod_1): Likewise.
12107
30f69637
CD
121082012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
12109
12110 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
12111 struct La_sh_regs is not constant.
12112 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
12113 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
12114 and struct La_sparc64_regs are not constant.
12115
93a78ac4
JM
121162012-08-16 Joseph Myers <joseph@codesourcery.com>
12117
12118 * sysdeps/unix/sysv/linux/kernel-features.h
12119 (__ASSUME_POSIX_TIMERS): Remove.
12120 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12121 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12122 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
12123 Make code unconditional.
12124 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12125 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
12126 Make code unconditional.
12127 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12128 * sysdeps/unix/sysv/linux/clock_nanosleep.c
12129 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
12130 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12131 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
12132 Make code unconditional.
12133 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12134 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
12135 (__libc_missing_posix_timers): Remove.
12136
dd924cd7
RM
121372012-08-15 Roland McGrath <roland@hack.frob.com>
12138
4b4f2771
RM
12139 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
12140 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
12141
601c888b
RM
12142 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
12143
176790a7
RM
12144 * elf/dl-sym.c: Include <stdlib.h>.
12145
329bc018
RM
12146 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
12147 constants, which avoids warnings in 32-bit builds.
12148
e04e272d
RM
12149 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
12150 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
12151
952bf94a
RM
12152 * misc/lseek.c: File moved to ...
12153 * io/lseek.c: ... here.
12154
7c99b50a
RM
12155 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
12156
dd924cd7
RM
12157 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
12158 shifting LEN more than 31 bits at once.
12159
b3f479a8
LD
121602012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12161
12162 [BZ #14195]
8c4ae0d4
RM
12163 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
12164 segmentation fault for a case of two empty input strings.
b3f479a8
LD
12165 * string/test-strncasecmp.c (check1): Renamed to...
12166 (bz12205): ...this.
12167 (bz14195): Add new testcase for two empty input strings and N > 0.
12168 (test_main): Call new testcase, adapt for renamed function.
12169
9c55864e
AJ
121702012-08-15 Andreas Jaeger <aj@suse.de>
12171
12172 [BZ #14090]
12173 * crypt/md5test2.c: New test, based on test supplied by Serge
12174 Belyshev <belyshev@depni.sinp.msu.ru>.
12175 * crypt/Makefile (xtests): Add md5test-giant..
12176 * crypt/Makefile ($(objpfx)md5test-giant): Add.
12177
02dcb6c5
PE
121782012-08-15 Paul Eggert <eggert@cs.ucla.edu>
12179
12180 [BZ #14090]
12181 * crypt/md5.c (md5_process_block): Don't assume the buffer
12182 length is less than 2**32.
12183 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
12184 length is less than 2**64.
12185
a3f95dcc
RM
121862012-08-15 Roland McGrath <roland@hack.frob.com>
12187
be75d758
RM
12188 * string/str-two-way.h: Include <sys/param.h>.
12189 (MAX): Macro removed.
12190
7312ca90
RM
12191 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
12192 Move #define and #undef of memmove to just before and after
12193 including <string.h>.
12194
9a0a5486
RM
12195 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
12196 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
12197 and after including <string.h>. Move declarations of
12198 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
12199 to before #include "string/memmove.c".
12200
67cc348d
RM
12201 * include/dirent.h: Declare __getdirentries.
12202
a3f95dcc
RM
12203 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
12204 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
12205
ca98e171
MF
122062012-08-14 Mike Frysinger <vapier@gentoo.org>
12207
12208 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
12209 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
12210 * sysdeps/i386/configure: Regenerated.
12211 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
12212 STABS_CURRENT_FILE, and STABS_FUN.
12213 (END): Remove call to STABS_FUN_END.
12214 (STABS_CURRENT_FILE1): Delete.
12215 (STABS_CURRENT_FILE): Likewise.
12216 (STABS_FUN): Likewise.
12217 (STABS_FUN_END): Likewise.
12218 (STABS_FUN2): Likewise.
12219 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
12220 * sysdeps/x86_64/configure: Regenerated.
12221
5908bf46
RM
122222012-08-14 Roland McGrath <roland@hack.frob.com>
12223
12224 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 12225 * elf/dl-lookup.c: Likewise.
5908bf46 12226
f2c05b9e
JM
122272012-08-14 Joseph Myers <joseph@codesourcery.com>
12228
12229 * sysdeps/unix/sysv/linux/kernel-features.h
12230 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
12231 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
12232 unconditionally.
12233 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
12234 unconditionally.
12235 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
12236 condition on __ASSUME_CLONE_THREAD_FLAGS.
12237
e11f5155
AJ
122382012-08-14 Andreas Jaeger <aj@suse.de>
12239
12240 * sysdeps/i386/fpu/libm-test-ulps: Update.
12241
51a9ba86
MK
122422012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
12243
2fdd4f78
AJ
12244 * include/atomic.h (atomic_exchange_and_add): Split into ...
12245 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
12246 New atomic macros.
51a9ba86 12247
ba6cba9e
MT
122482012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
12249
12250 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12251
42443a47
JL
122522012-08-13 Jeff Law <law@redhat.com>
12253
12254 * manual/stdio.texi (snprintf): Clarify handling of the trailing
12255 null byte in the output string.
12256
121dce05
JM
122572012-08-10 Joseph Myers <joseph@codesourcery.com>
12258
12259 * sysdeps/unix/sysv/linux/kernel-features.h
12260 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
12261 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
12262 (__ASSUME_ARG_MAX_STACK_BASED): Define.
12263 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12264 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
12265 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
12266 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
12267
bf51f568
JL
122682012-08-09 Jeff Law <law@redhat.com>
12269
12270 [BZ #13939]
12271 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
12272 When avoid_arena is set, don't retry in the that arena. Pick the
12273 next one, whatever it might be.
12274 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
12275 (arena_lock): Pass in new parameter to arena_get2.
12276 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
12277 arena_get2.
12278 (__libc_malloc): Unify retrying after main arena failure with
12279 __libc_memalign version.
12280 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
12281
f85fa270
L
122822012-08-09 H.J. Lu <hongjiu.lu@intel.com>
12283
12284 [BZ #14166]
12285 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
12286 to __redirect_strstr.
12287 (__strstr_sse42): Use typeof __redirect_strstr.
12288 (__strstr_ia32): Likewise.
12289 (__libc_strstr): New prototype.
12290 (strstr): Renamed to ...
12291 (__libc_strstr): This.
12292 (strstr): New strong alias of __libc_strstr.
12293 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12294 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
12295 __redirect_time.
12296 Include <time.h>.
12297 (__libc_time): New prototype.
12298 (time_ifunc): Replace time with __libc_time.
12299 (time): New strong alias and hidden definition of __libc_time.
12300 (__GI_time): Remove strong alias.
12301 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
12302 Include <stddef.h>.
12303 (memmove): Redefined to __redirect_memmove.
12304 (__memmove_sse2): Use typeof __redirect_memmove.
12305 (__memmove_ssse3): Likewise.
12306 (__memmove_ssse3_back): Likewise.
12307 (__libc_memmove): New prototype.
12308 (memmove): Renamed to ...
12309 (__libc_memmove): This.
12310 (memmove): New strong alias of __libc_memmove.
12311
33b4a91e
MS
123122012-08-08 Mark Salter <msalter@redhat.com>
12313
12314 * elf/elf.h
12315 (R_MN10300_TLS_GD): Define.
12316 (R_MN10300_TLS_LD): Likewise.
12317 (R_MN10300_TLS_LDO): Likewise.
12318 (R_MN10300_TLS_GOTIE): Likewise.
12319 (R_MN10300_TLS_IE): Likewise.
12320 (R_MN10300_TLS_LE): Likewise.
12321 (R_MN10300_TLS_DTPMOD): Likewise.
12322 (R_MN10300_TLS_DTPOFF): Likewise.
12323 (R_MN10300_TLS_TPOFF): Likewise.
12324 (R_MN10300_SYM_DIFF): Likewise.
12325 (R_MN10300_ALIGN): Likewise.
12326 (R_MN10300_NUM): Update.
12327
b36137f1
JM
123282012-08-08 Joseph Myers <joseph@codesourcery.com>
12329
12330 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
12331 Remove.
12332
cdd915fd
RM
123332012-08-08 Roland McGrath <roland@hack.frob.com>
12334
a2433aac
RM
12335 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
12336
cdd915fd
RM
12337 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
12338 sysdeps/unix -> sysdeps/posix move.
12339 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12340
bf9b740a
AM
123412012-08-07 Allan McRae <allan@archlinux.org>
12342
12343 [BZ #14303]
12344 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
12345 (SUNOS_CPP): Likewise.
12346 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
12347 not found.
12348 (open_input): Call CPP using execvp.
12349
93df14ee
JM
123502012-08-07 Joseph Myers <joseph@codesourcery.com>
12351
12352 * sysdeps/unix/sysv/linux/kernel-features.h
12353 (__ASSUME_PROT_GROWSUPDOWN): Remove.
12354 (__ASSUME_NO_CLONE_DETACHED): Likewise.
12355 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12356 (__ASSUME_WAITID_SYSCALL): Likewise.
12357 * sysdeps/unix/sysv/linux/dl-execstack.c
12358 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
12359 code unconditional.
12360 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
12361 conditional code.
12362 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
12363 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
12364 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
12365 code.
12366 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
12367 unconditional.
12368 [__ASSUME_WAITID_SYSCALL]: Likewise.
12369 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
12370
d34689de
RM
123712012-08-07 Roland McGrath <roland@hack.frob.com>
12372
a281decc
RM
12373 * sysdeps/unix/closedir.c: Renamed to ...
12374 * sysdeps/posix/closedir.c: ... here.
12375 * sysdeps/unix/dirfd.c: Renamed to ...
12376 * sysdeps/posix/dirfd.c: ... here.
12377 * sysdeps/unix/dirstream.h: Renamed to ...
12378 * sysdeps/posix/dirstream.h: ... here.
12379 * sysdeps/unix/fdopendir.c: Renamed to ...
12380 * sysdeps/posix/fdopendir.c: ... here.
12381 * sysdeps/unix/opendir.c: Renamed to ...
12382 * sysdeps/posix/opendir.c: ... here.
12383 * sysdeps/unix/readdir.c: Renamed to ...
12384 * sysdeps/posix/readdir.c: ... here.
12385 * sysdeps/unix/readdir_r.c: Renamed to ...
12386 * sysdeps/posix/readdir_r.c: ... here.
12387 * sysdeps/unix/rewinddir.c: Renamed to ...
12388 * sysdeps/posix/rewinddir.c: ... here.
12389 * sysdeps/unix/seekdir.c: Renamed to ...
12390 * sysdeps/posix/seekdir.c: ... here.
12391 * sysdeps/unix/telldir.c: Renamed to ...
12392 * sysdeps/posix/telldir.c: ... here.
12393 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
12394 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
12395 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12396 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12397
22895b47
RM
12398 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
12399 * bits/fcntl.h: ... here.
12400
707a53b6
RM
12401 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
12402 not 0.
12403 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
12404 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
12405 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
12406 (struct flock): Move l_start, l_len to the beginning.
12407 Use __pid_t for l_pid.
12408 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
12409 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
12410 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
12411 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
12412 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
12413 [__USE_LARGEFILE64] (struct flock64): New type.
12414 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
12415
f0bd3e25
RM
12416 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
12417 * bits/dirent.h: ... here.
12418
d34689de
RM
12419 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
12420 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
12421
6dad2c06
JM
124222012-08-07 Joseph Myers <joseph@codesourcery.com>
12423
12424 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12425 Change from 2.6.0 to 2.6.16.
12426 * sysdeps/unix/sysv/linux/configure: Regenerated.
12427 * sysdeps/unix/sysv/linux/kernel-features.h
12428 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
12429 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
12430 version.
12431 (__ASSUME_UTIMES): Likewise.
12432 (__ASSUME_CLONE_STOPPED): Remove.
12433 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
12434 architectures, not kernel version.
12435 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
12436 (__ASSUME_NO_CLONE_DETACHED): Likewise.
12437 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12438 (__ASSUME_WAITID_SYSCALL): Likewise.
12439 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
12440 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
12441 * README: State 2.6.16 as minimum Linux kernel version. Do not
12442 refer to older versions.
12443
03af9520
RM
124442012-08-06 Roland McGrath <roland@hack.frob.com>
12445
8e49df1d
RM
12446 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
12447 Define alphasort64 as an alias.
12448 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
12449 Define versionsort64 as an alias.
12450 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
12451 Define scandir64 as an alias.
12452 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
12453 Define scandirat64 as an alias.
12454 * dirent/alphasort64.c (alphasort64):
12455 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
12456 * dirent/versionsort64.c: Likewise.
12457 * dirent/scandir64.c: Likewise.
12458 * dirent/scandirat64.c: Likewise.
12459 * sysdeps/wordsize-64/alphasort.c: File removed.
12460 * sysdeps/wordsize-64/alphasort64.c: File removed.
12461 * sysdeps/wordsize-64/scandir.c: File removed.
12462 * sysdeps/wordsize-64/scandir64.c: File removed.
12463 * sysdeps/wordsize-64/scandirat.c: File removed.
12464 * sysdeps/wordsize-64/scandirat64.c: File removed.
12465 * sysdeps/wordsize-64/versionsort.c: File removed.
12466 * sysdeps/wordsize-64/versionsort64.c: File removed.
12467 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
12468 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
12469 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
12470 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
12471 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
12472 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
12473 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
12474 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
12475
12476 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
12477 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
12478 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
12479 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12480 [defined __arch64__ || defined __sparcv9]
12481 (__INO_T_MATCHES_INO64_T): New macro.
12482 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12483 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
12484 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
12485 * sysdeps/unix/sysv/linux/bits/dirent.h
12486 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
12487 (_DIRENT_MATCHES_DIRENT64): New macro.
12488
03af9520
RM
12489 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
12490 Define lockf64 as an alias.
12491 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
12492 Define fseeko64 as an alias.
12493 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
12494 Define ftello64 as an alias.
12495 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
12496 Define _IO_fgetpos64 and fgetpos64 as aliases.
12497 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
12498 Define _IO_fsetpos64 and fsetpos64 as aliases.
12499 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
12500 Conditionalize body on this.
12501 * libio/fseeko64.c: Likewise.
12502 * libio/ftello64.c: Likewise.
12503 * libio/iofgetpos64.c: Likewise.
12504 * libio/iofsetpos64.c: Likewise.
12505 * sysdeps/wordsize-64/lockf.c: File removed.
12506 * sysdeps/wordsize-64/lockf64.c: File removed.
12507 * sysdeps/wordsize-64/fseeko.c: File removed.
12508 * sysdeps/wordsize-64/fseeko64.c: File removed.
12509 * sysdeps/wordsize-64/ftello.c: File removed.
12510 * sysdeps/wordsize-64/ftello64.c: File removed.
12511 * sysdeps/wordsize-64/iofgetpos.c: File removed.
12512 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
12513 * sysdeps/wordsize-64/iofsetpos.c: File removed.
12514 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
12515 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
12516 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
12517 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
12518 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
12519 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
12520 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
12521 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
12522 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
12523 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
12524 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
12525
12526 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12527 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
12528 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
12529 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12530 [defined __arch64__ || defined __sparcv9]
12531 (__OFF_T_MATCHES_OFF64_T): New macro.
12532 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12533 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12534 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12535 (__OFF_T_MATCHES_OFF64_T): New macro.
12536
c5757acd
L
125372012-08-06 H.J. Lu <hongjiu.lu@intel.com>
12538
12539 * stdlib/secure-getenv.c (__secure_getenv): Replace
12540 GLIBC_2_16 with GLIBC_2_17.
12541
3a31811e
L
125422012-08-06 H.J. Lu <hongjiu.lu@intel.com>
12543
12544 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
12545 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12546
faa2bccb
DM
125472012-08-03 David S. Miller <davem@davemloft.net>
12548
12549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12550
85fe1997
JM
125512012-08-03 Joseph Myers <joseph@codesourcery.com>
12552
12553 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
12554 Remove.
12555 (__ASSUME_CORRECT_SI_PID): Likewise.
12556 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
12557 (__ASSUME_TMPFS_NAME): Likewise.
12558 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
12559 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
12560 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
12561 (HAVE_AUX_SECURE): Make definition unconditional.
12562 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
12563 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
12564
4f75b7a0
RM
125652012-08-03 Roland McGrath <roland@hack.frob.com>
12566
12567 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
12568 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
12569 * sysdeps/mach/hurd/eloop-threshold.h: New file.
12570 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12571 __eloop_threshold instead of SYMLOOP_MAX.
12572
12573 * sysdeps/generic/eloop-threshold.h: New file.
12574 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
12575 of MAXSYMLINKS.
12576 * elf/chroot_canon.c (chroot_canon): Likewise.
12577
7aab07e4
JM
125782012-08-03 Joseph Myers <joseph@codesourcery.com>
12579
12580 [BZ #13717]
12581 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12582 Change to 2.6.0 everywhere.
12583 * sysdeps/unix/sysv/linux/configure: Regenerated.
12584 * sysdeps/unix/sysv/linux/kernel-features.h
12585 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
12586 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
12587 kernel versions.
12588 (__ASSUME_POSIX_TIMERS): Define unconditionally.
12589 (__ASSUME_FUTEX_REQUEUE): Remove.
12590 (__ASSUME_STATFS64): Define unconditionally.
12591 (__ASSUME_AT_SECURE): Likewise.
12592 (__ASSUME_CORRECT_SI_PID): Likewise.
12593 (__ASSUME_TGKILL): Define without depending on kernel version for
12594 i386.
12595 (__ASSUME_UTIMES): Likewise.
12596 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
12597 kernel version.
12598 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
12599 (__ASSUME_TMPFS_NAME): Likewise.
12600 * README: Update reference to Linux kernel versions.
12601
b67e9372
MP
126022012-08-02 Marek Polacek <polacek@redhat.com>
12603
1f529f7d 12604 [BZ# 14150]
b67e9372
MP
12605 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
12606 libc_cv_asm_type_prefix with %.
12607 * configure: Regenerated.
d2441631
RM
12608 * include/libc-symbols.h: Remove comment about
12609 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
12610 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
12611 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
12612 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
12613 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
12614 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12615 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
12616 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
12617 * elf/tst-unique2mod1.c: Likewise.
12618 * elf/tst-unique1mod2.c: Likewise.
12619 * elf/tst-unique1mod1.c: Likewise.
12620 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
12621 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
12622 Replace ASM_TYPE_DIRECTIVE with .type.
12623 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12624 * sysdeps/i386/sysdep.h: Likewise.
12625 * sysdeps/x86_64/sysdep.h: Likewise.
12626 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
12627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12628 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 12629 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
12630 * sysdeps/powerpc/powerpc32/sysdep.h:
12631 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
12632 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12633 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12634 * sysdeps/i386/fpu/e_powf.S: Likewise.
12635 * sysdeps/i386/fpu/e_expl.S: Likewise.
12636 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12637 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12638 * sysdeps/i386/fpu/e_pow.S: Likewise.
12639 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12640 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12641 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12642 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12643 * sysdeps/i386/fpu/e_log2.S: Likewise.
12644 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12645 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12646 * sysdeps/i386/fpu/e_powl.S: Likewise.
12647 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12648 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12649 * sysdeps/i386/fpu/e_logl.S: Likewise.
12650 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12651 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12652 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12653 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12654 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12655 * sysdeps/i386/fpu/e_log.S: Likewise.
12656 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12657 * sysdeps/i386/fpu/e_logf.S: Likewise.
12658 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12659 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12660 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12661 * sysdeps/i386/fpu/e_log10.S: Likewise.
12662 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12663 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12664 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12665 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12666 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12667 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
12668 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12669 * sysdeps/i386/i686/strtok.S: Likewise.
12670 * sysdeps/i386/i386-mcount.S: Likewise.
12671 * sysdeps/i386/strtok.S: Likewise.
12672 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
12673 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12674 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12675 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12676 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12677 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12678 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12679 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12680 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12681 * sysdeps/x86_64/_mcount.S: Likewise.
12682 * sysdeps/x86_64/strtok.S: Likewise.
12683 * sysdeps/sh/_mcount.S: Likewise.
12684
2747bf9a
RM
126852012-08-01 Roland McGrath <roland@hack.frob.com>
12686
12687 * libio/iofopen.c: Include <fcntl.h>.
12688 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
12689 (_IO_fopen64, fopen64): Define as aliases.
12690 * libio/iofopen64.c: Include <fcntl.h>.
12691 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
12692 Conditionalize body on this.
12693 * sysdeps/wordsize-64/iofopen.c: File removed.
12694 * sysdeps/wordsize-64/iofopen64.c: File removed.
12695
3fb791b8
MP
126962012-08-01 Marek Polacek <polacek@redhat.com>
12697
12698 * libc/Makeconfig: Use elf in place of binfmt-subdir.
12699 Use dlfcn directly instead of a variable.
12700 (binfmt-subdir): Do not define.
12701 (dlfcn): Likewise.
12702
a9f1039f
JM
127032012-08-01 Joseph Myers <joseph@codesourcery.com>
12704
23bddc06
JM
12705 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
12706 Remove all definitions.
12707 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
12708 <kernel-features.h>.
12709 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12710 (miss_F_GETOWN_EX): Remove all definitions.
12711 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
12712 macro definition.
12713 [!__ASSUME_FCNTL64]: Remove conditional code.
12714 [__ASSUME_FCNTL64]: Make code unconditional.
12715 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
12716 <kernel-features.h>.
12717 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12718 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
12719 (lockf64) [__NR_fcntl64]: Make code unconditional.
12720 (lockf64) [__ASSUME_FCNTL64]: Likewise.
12721
a9f1039f
JM
12722 * sysdeps/unix/sysv/linux/kernel-features.h
12723 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
12724 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
12725 Make code unconditional.
12726 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12727 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
12729 [__NR_vfork]: Make code unconditional.
12730 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12731 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
12733 [__NR_vfork]: Make code unconditional.
12734 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12735 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12736
09c0ee5f
RM
127372012-08-01 Roland McGrath <roland@hack.frob.com>
12738
48aec5b9
RM
12739 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
12740 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
12741
cd97c966
RM
12742 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12743 Define mkstemp64 as an alias.
3f55550c
RM
12744 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12745 Define mkstemps64 as an alias.
cd97c966
RM
12746 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12747 Define mkostemp64 as an alias.
b8625cfc
RM
12748 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12749 Define mkostemps64 as an alias.
cd97c966
RM
12750 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
12751 Conditionalize body on this.
12752 * misc/mkostemp64.c: Likewise.
b8625cfc 12753 * misc/mkostemps64.c: Likewise.
3f55550c 12754 * misc/mkstemps64.c: Likewise.
cd97c966
RM
12755 * sysdeps/wordsize-64/mkstemp64.c: File removed.
12756 * sysdeps/wordsize-64/mkostemp64.c: File removed.
12757 * sysdeps/wordsize-64/mkostemp.c: File removed.
12758 * sysdeps/wordsize-64/mkstemp.c: File removed.
12759 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
12760 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
12761 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
12762 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
12763
09c0ee5f
RM
12764 [BZ #14138]
12765 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
12766 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
12767 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
12768 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
12769
12770 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
12771 compat_symbol macros from <shlib-compat.h> rather than the underlying
12772 default_symbol_version and symbol_version macros, so that DEFAULT
12773 lines in shlib-versions are respected.
12774 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
12775
7e66ee51
FW
127762012-08-01 Florian Weimer <fweimer@redhat.com>
12777
12778 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
12779 Declare with warn_unused_result.
12780 (setgid, setregid, setegid, setresgid): Likewise.
12781 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
12782 Likewise.
12783 * WUR-REPORT: Remove set*id functions.
12784
d2a54255
PT
127852012-07-31 Pino Toscano <toscano.pino@tiscali.it>
12786
12787 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
12788
7ecdb005
RM
127892012-07-31 Roland McGrath <roland@hack.frob.com>
12790
b4180a5e 12791 [BZ #10191]
789bd351
RM
12792 * include/sys/socket.h (__libc_accept, __libc_accept4):
12793 Add attribute_hidden.
12794 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
12795
40ce302d
RM
12796 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
12797 use of PTR_MANGLE.
12798 * inet/getnetgrent_r.c (setup): Likewise.
12799
7ecdb005
RM
12800 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
12801
e2eabb2c
DM
128022012-07-31 David S. Miller <davem@davemloft.net>
12803
12804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12805
d0419dbf
JM
128062012-07-31 Joseph Myers <joseph@codesourcery.com>
12807
12808 [BZ #13629]
12809 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
12810 value between 1.0 and 2.0 and smaller part has absolute value less
12811 than 1.0.
12812 * math/s_clog10.c (__clog10): Likewise.
12813 * math/s_clog10f.c (__clog10f): Likewise.
12814 * math/s_clog10l.c (__clog10l): Likewise.
12815 * math/s_clogf.c (__clogf): Likewise.
12816 * math/s_clogl.c (__clogl): Likewise.
12817 * math/libm-test.inc (clog_test): Add more tests.
12818 (clog10_test): Likewise.
12819 * sysdeps/i386/fpu/libm-test-ulps: Update.
12820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12821
2bc13872
FW
128222012-07-31 Florian Weimer <fweimer@redhat.com>
12823
12824 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
12825 Exit with zero in case no suitable GID is found, and write a
12826 message to standard error.
12827
bea9b193
RM
128282012-07-30 Roland McGrath <roland@hack.frob.com>
12829
12830 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
12831 rather than to 1.
12832 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
12833 (MAXPATHLEN): Removed.
12834 (NOGROUP, NODEV): New macros.
12835 (setbit, clrbit, isset, isclr): New macros.
12836 (howmany, roundup, powerof2): New macros.
12837 (DEV_BSIZE): New macro.
12838
12839 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
12840 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
12841
12842 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
12843 definition on [!__NO_LONG_DOUBLE_MATH].
12844
12845 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
12846 PTR_MANGLE and PTR_DEMANGLE.
12847
12848 * socket/accept4.c (accept4): Rename to __libc_accept4.
12849 Define accept4 as a weak alias.
12850
12851 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
12852 on [_DIRENT_HAVE_D_TYPE].
12853 * io/ftw.c (ftw_dir): Likewise.
12854
12855 * io/xmknod.c (__xmknod): Don't check PATH for being null.
12856
12857 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
12858
12859 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
12860 Use the BSD numbers rather than the arbitrary ones we had.
12861 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
12862 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
12863 (SIGXCPU, SIGXFSZ): New macros.
12864 (_NSIG): Now 32.
12865
12866 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
12867 initializer on [_LIBC_REENTRANT].
12868
12869 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
12870 definitions inside [_POSIX_MAPPED_FILES].
12871
12872 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
12873
12874 * dirent/opendir.c: Include <fcntl.h>.
12875
12876 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
12877 (__libc_getspecific): Likewise.
12878 (__libc_key_create): Likewise.
12879
12880 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
12881 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
12882 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
12883 (tmpfile64): Define as alias.
12884 * sysdeps/wordsize-64/tmpfile.c: File removed.
12885 * sysdeps/wordsize-64/tmpfile64.c: File removed.
12886 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
12887 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
12888
12889 * stdio-common/vfscanf.c: Include <stdbool.h>.
12890 * nss/makedb.c: Likewise.
12891 * stdio-common/_i18n_number.h: Likewise.
12892 * argp/argp-help.c: Likewise.
12893 * posix/wordexp.c: Likewise.
12894 * sysdeps/posix/spawni.c: Likewise.
12895 * nss/nss_files/files-initgroups.c: Likewise.
12896 * stdio-common/reg-modifier.c: Include <stdlib.h>.
12897 * nss/nss_files/files-initgroups.c: Likewise.
12898 * nss/nss_db/db-netgrp.c: Likewise.
12899 * nss/nss_db/db-initgroups.c: Likewise.
12900 * io/fchmodat.c: Include <sys/stat.h>.
12901
12902 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
12903 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
12904
12905 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
12906 [HAVE_MMAP].
12907
12908 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
12909 Add multiple inclusion protection.
12910
e5abc686
DM
129112012-07-27 David S. Miller <davem@davemloft.net>
12912
12913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12914
815e6fa3
GB
129152012-07-27 Gary Benson <gbenson@redhat.com>
12916
12917 [BZ #14298]
12918 * elf/rtld.c: Include <stap-probe.h>.
12919 (dl_main): Added static probes "init_start" and "init_complete".
12920 * elf/dl-load.c: Include <stap-probe.h>.
12921 (lose): Take new parameter "nsid".
12922 Added static probe "map_failed".
12923 (_dl_map_object_from_fd): Pass namespace id to lose.
12924 Added static probe "map_start".
12925 (open_verify): Pass namespace id to lose.
12926 * elf/dl-open.c: Include <stap-probe.h>.
12927 (dl_open_worker) Added static probes "map_complete", "reloc_start"
12928 and "reloc_complete".
12929 * elf/dl-close.c: Include <stap-probe.h>.
12930 (_dl_close_worker): Added static probes "unmap_start" and
12931 "unmap_complete".
12932 * elf/rtld-debugger-interface.txt: New file documenting the above.
12933
9f98c16c
RM
129342012-07-26 Roland McGrath <roland@hack.frob.com>
12935
12936 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
12937 rather than a string variable.
12938 * sunrpc/rpc_main.c (h_output): Likewise.
12939 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
12940
f3c22df3
PT
129412012-07-26 Pino Toscano <toscano.pino@tiscali.it>
12942
12943 * inet/check_native.c: New file.
12944
3129cfc6
JM
129452012-07-26 Joseph Myers <joseph@codesourcery.com>
12946
da865e95
JM
12947 [BZ #13629]
12948 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
12949 if larger part has absolute value 1.0.
12950 * math/s_clog10.c (__clog10): Likewise.
12951 * math/s_clog10f.c (__clog10f): Likewise.
12952 * math/s_clog10l.c (__clog10l): Likewise.
12953 * math/s_clogf.c (__clogf): Likewise.
12954 * math/s_clogl.c (__clogl): Likewise.
12955 * math/libm-test.inc (clog_test): Add more tests.
12956 (clog10_test): Likewise.
12957 * sysdeps/i386/fpu/libm-test-ulps: Update.
12958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12959
3129cfc6
JM
12960 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
12961 (pltexit): Likewise.
12962 (La_regs): Likewise.
12963 (La_retval): Likewise.
12964 (int_retval): Likewise.
12965 Update #error for removed macros to refer only to definitions in
12966 tst-audit.h.
12967 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
12968 macro.
12969 (pltexit): Likewise.
12970 (La_regs): Likewise.
12971 (La_retval): Likewise.
12972 (int_retval): Likewise.
12973 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
12974 macro.
12975 (pltexit): Likewise.
12976 (La_regs): Likewise.
12977 (La_retval): Likewise.
12978 (int_retval): Likewise.
12979 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
12980 macro.
12981 (pltexit): Likewise.
12982 (La_regs): Likewise.
12983 (La_retval): Likewise.
12984 (int_retval): Likewise.
12985 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
12986 macro.
12987 (pltexit): Likewise.
12988 (La_regs): Likewise.
12989 (La_retval): Likewise.
12990 (int_retval): Likewise.
12991 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
12992 macro.
12993 (pltexit): Likewise.
12994 (La_regs): Likewise.
12995 (La_retval): Likewise.
12996 (int_retval): Likewise.
12997 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
12998 macro.
12999 (pltexit): Likewise.
13000 (La_regs): Likewise.
13001 (La_retval): Likewise.
13002 (int_retval): Likewise.
13003 * sysdeps/generic/tst-audit.h: Update comment to refer only to
13004 macro definitions in tst-audit.h.
13005 * sysdeps/i386/tst-audit.h: New file.
13006 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
13007 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
13008 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
13009 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
13010 * sysdeps/sh/tst-audit.h: Likewise.
13011 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
13012 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
13013 * sysdeps/x86_64/tst-audit.h: Likewise.
13014
bfc07087
AJ
130152012-07-26 Andreas Jaeger <aj@suse.de>
13016
b1b2aaf8
AJ
13017 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
13018 ptrace.
13019
13020 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
13021 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
13022 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
13023 PTRACE_O_MASK.
13024 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
13025 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
13026 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
13027
bfc07087
AJ
13028 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
13029 value.
13030
13031 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
13032 _sigsys.
13033 (si_call_addr, si_syscall, si_arch): Define new macro.
13034 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
13035 _sigsys.
13036 (si_call_addr, si_syscall, si_arch): Define new marcro.
13037 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
13038 _sigsys.
13039 (si_call_addr, si_syscall, si_arch): Define new macro.
13040 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
13041 _sigsys.
13042 (si_call_addr, si_syscall, si_arch): Define new macro.
13043
89b4b02f
JM
130442012-07-25 Joseph Myers <joseph@codesourcery.com>
13045
13046 [BZ #13717]
13047 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13048 Change to 2.4.21 where previously 2.4.1.
13049 * sysdeps/unix/sysv/linux/configure: Regenerated.
13050 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
13051 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
13052 Linux kernel version.
13053 (__ASSUME_STD_AUXV): Remove.
13054 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
13055 kernel version.
13056 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
13057 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
13058 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
13059 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
13060 (__ASSUME_NETLINK_SUPPORT): Likewise.
13061 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
13062 (__no_netlink_support): Remove conditional definition.
13063 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
13064 Remove.
13065 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13066 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
13067 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
13068 (if_nameindex_ioctl): Remove.
13069 (if_nameindex_netlink): Do not handle __no_netlink_support.
13070 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13071 code.
13072 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
13073 Remove conditional code.
13074 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13075 code.
13076 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
13077 unconditional.
13078 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13079 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
13080 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
13081 Remove.
13082 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
13083 [!__ASSUME_STD_AUXV]: Remove conditional code.
13084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
13085 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
13086 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
13087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
13088 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
13089 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13090 code.
13091 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13093 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
13094 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13095 conditional code.
13096 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13098 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13099 code.
13100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13101 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13102 conditional code.
13103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
13104 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13105 code unconditional.
13106 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13107 conditional code.
13108 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13109 unconditional.
13110 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13111 conditional code.
13112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13113 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13114 unconditional.
13115 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13116 conditional code.
13117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13118 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13119 code unconditional.
13120 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13121 conditional code.
13122 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13123 unconditional.
13124 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13125 conditional code.
13126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13127 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13128 code unconditional.
13129 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13130 conditional code.
13131 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13132 unconditional.
13133 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13134 conditional code.
13135
842a39cd
AS
131362012-07-25 Andreas Schwab <schwab@linux-m68k.org>
13137
13138 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
13139 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
13140 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13141 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
13142 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
13143 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13144 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13145 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13146 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
13147 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13148 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
13149 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
13150 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
13151 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13152 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13153 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
13154 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
13155 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
13156 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
13157 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
13158 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
13159 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13160 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13161
84b3fd84
FW
131622012-07-25 Florian Weimer <fweimer@redhat.com>
13163
13164 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
13165 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
13166 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
13167 Introduce __libc_secure_getenv.
0c7936d5
FW
13168 * stdlib/Versions (2.17): Add secure_getenv
13169 (GLIBC_PRIVATE): Add __libc_secure_getenv.
13170 * stdlib/secure-getenv.c: Rename __secure_getenv to
13171 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
13172 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
13173 * stdlib/tst-secure-getenv.c: New.
13174 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
13175 * manual/startup.texi (Environment Access): Document
13176 secure_getenv.
84b3fd84
FW
13177 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
13178 __libc_secure_getenv.
13179 * inet/ruserpass.c (ruserpass): Likewise.
13180 * malloc/mtrace.c (mtrace): Likewise.
13181 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 13182 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
13183 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
13184 * sysdeps/posix/tempname.c: Likewise. Evaluate
13185 HAVE_SECURE_GETENV.
13186 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 13187 __secure_getenv to __libc_secure_getenv.
84b3fd84 13188 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
13189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13190 Likewise.
13191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13192 Likewise.
13193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13195 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 13200
56e49b71
JM
132012012-07-25 Joseph Myers <joseph@codesourcery.com>
13202
13203 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
13204 (struct La_i86_retval): Likewise.
13205 (struct La_x86_64_regs): Likewise.
13206 (struct La_x86_64_retval): Likewise.
13207 (struct La_x32_regs): Likewise.
13208 (struct La_x32_retval): Likewise.
13209 (struct La_ppc32_regs): Likewise.
13210 (struct La_ppc32_retval): Likewise.
13211 (struct La_ppc64_regs): Likewise.
13212 (struct La_ppc64_retval): Likewise.
13213 (struct La_sh_regs): Likewise.
13214 (struct La_sh_retval): Likewise.
13215 (struct La_s390_32_regs): Likewise.
13216 (struct La_s390_32_retval): Likewise.
13217 (struct La_s390_64_regs): Likewise.
13218 (struct La_s390_64_retval): Likewise.
13219 (struct La_sparc32_regs): Likewise.
13220 (struct La_sparc32_retval): Likewise.
13221 (struct La_sparc64_regs): Likewise.
13222 (struct La_sparc64_retval): Likewise.
13223 (struct audit_ifaces): Remove architecture-specific pltenter and
13224 pltexit members.
13225 * sysdeps/i386/ldsodefs.h: New file.
13226 * sysdeps/powerpc/ldsodefs.h: Likewise.
13227 * sysdeps/s390/ldsodefs.h: Likewise.
13228 * sysdeps/sh/ldsodefs.h: Likewise.
13229 * sysdeps/sparc/ldsodefs.h: Likewise.
13230 * sysdeps/x86_64/ldsodefs.h: Likewise.
13231
354691b7
MP
132322012-07-25 Marek Polacek <polacek@redhat.com>
13233
13234 [BZ #6808]
13235 * math/libm-test.inc (yn_test): Add another test.
13236 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
13237 to ERANGE when the result is +-Inf.
13238 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13239 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
13240 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
13241 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
13242
bf9e2071
JM
132432012-07-24 Joseph Myers <joseph@codesourcery.com>
13244
13245 * conform/data/time.h-data (NULL): Use macro-constant. Require
13246 equal to 0.
13247 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
13248 clock_t.
13249 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
13250
57633811
TS
132512012-07-23 Thomas Schwinge <thomas@codesourcery.com>
13252
13253 * configure.in <sysdeps resolving>: Correct printing
13254 Implies_before.
13255 * configure: Regenerate.
13256
c23c33b0
TS
132572012-07-22 Thomas Schwinge <thomas@codesourcery.com>
13258
13259 * math/w_ilogb.c: Include <limits.h>.
13260 * math/w_ilogbl.c: Likewise.
13261
b5982523
JM
132622012-07-20 Joseph Myers <joseph@codesourcery.com>
13263
13264 * manual/lang.texi (__va_copy): Document primarily as ISO C99
13265 va_copy. Document allowing for unavailable va_copy only as
13266 pre-C99 compatibility.
13267 * manual/string.texi (Copying and Concatenation): Use va_copy
13268 instead of __va_copy in concat example.
13269
ac4ea442
PT
132702012-07-20 Pino Toscano <toscano.pino@tiscali.it>
13271
13272 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
13273 (__sendto): Use create_address_port. Initialize APORT and deallocate
13274 it if not null.
13275
f98eafbd
PT
13276 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
13277 with O_NOLINK passed to __file_name_lookup.
13278
898c7aab
PT
13279 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
13280 with O_NOLINK passed to __file_name_lookup.
13281
0ced335a
PT
13282 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
13283 negative N or less than NGIDS.
13284
b3404dbd
PT
13285 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
13286 type to string_t. Set ERANGE as errno and return it if NAME is not big
13287 enough. Use memcpy instead of strncpy.
13288
0f48659e
JM
132892012-07-20 Joseph Myers <joseph@codesourcery.com>
13290
13291 * elf/Makefile (check-data): Remove.
13292 (localplt.data): New vpath directive.
13293 ($(objpfx)check-localplt.out): Use localplt.data from vpath
13294 instead of $(check-data).
13295 * scripts/data/localplt-generic.data: Move to ...
13296 * sysdeps/generic/localplt.data: ... here.
13297 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
13298 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
13299 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
13300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13301 ... here.
13302 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
13303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13304 ... here.
13305 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
13306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
13307 ... here.
13308 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
13309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13310 ... here.
13311 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
13312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
13313 ... here.
13314 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
13315 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
13316 ... here.
13317
d37cbdaa
AZ
133182012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13319
13320 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
13321 PPC32 and PPC64 files.
13322 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
13323 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
13324
46f85fc2
AK
133252012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13326
13327 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
13328 __makecontext_ret to ...
13329 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
13330 ... here and call exit if uc_link is NULL. New file.
13331 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
13332 __makecontext_ret.S.
13333 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
13334 __makecontext_ret to ...
13335 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
13336 ... here and call exit if uc_link is NULL. New file.
13337 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
13338 __makecontext_ret.S.
13339
08f43f9b
AK
133402012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13341
13342 * elf/elf.h (R_390_IRELATIVE): New definition.
13343 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
13344 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
13345 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
13346 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13347 (elf_machine_lazy_rel): Likewise.
13348 * sysdeps/s390/dl-irel.h: New file.
13349 * sysdeps/s390/s390-64/memcpy.S: New asm code.
13350 * sysdeps/s390/s390-64/memset.S: New asm code.
13351 * sysdeps/s390/s390-64/memcmp.S: New asm code.
13352 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
13353 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
13354 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
13355 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
13356 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
13357 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
13358 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
13359 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
13360 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
13361 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
13362 * sysdeps/s390/s390-32/memcpy.S: New asm code.
13363 * sysdeps/s390/s390-32/memset.S: New asm code.
13364 * sysdeps/s390/s390-32/memcmp.S: New asm code.
13365
3b05db33
MP
133662012-07-17 Marek Polacek <polacek@redhat.com>
13367
13368 [BZ #14349]
13369 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
13370 * sysdeps/s390/s390-64/configure.in: Likewise.
13371 * sysdeps/sparc/configure.in: Likewise.
13372 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
13373 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
13374 * sysdeps/i386/configure.in: Likewise.
13375 * sysdeps/x86_64/configure.in: Likewise.
13376 * sysdeps/sh/configure.in: Likewise.
13377 * sysdeps/s390/s390-32/configure: Regenerated.
13378 * sysdeps/s390/s390-64/configure: Likewise.
13379 * sysdeps/x86_64/configure: Likewise.
13380 * sysdeps/sh/configure: Likewise.
13381 * sysdeps/powerpc/powerpc64/configure: Likewise.
13382 * sysdeps/powerpc/powerpc32/configure: Likewise.
13383 * sysdeps/sparc/configure: Likwise.
13384 * sysdeps/i386/configure: Likewise.
13385
a66877c6
MP
13386 * elf/dl-open.c: Comment fixes.
13387
cfc82fd8
JM
133882012-07-17 Joseph Myers <joseph@codesourcery.com>
13389
bd29910a
JM
13390 * Makefile [CXX] (check-data): Remove.
13391 [CXX] (c++-types.data): New vpath directive.
13392 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
13393 vpath. Do not allow for C++ type data being missing.
13394 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
13395 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
13396 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
13397 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
13398 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
13399 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
13400 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
13401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13402 ... here.
13403 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
13404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13405 ... here.
13406 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
13407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
13408 ... here.
13409 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
13410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
13411 ... here.
13412 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
13413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
13414 ... here.
13415 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
13416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
13417 ... here.
13418 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
13419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
13420 ... here.
13421 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
13422 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
13423
cfc82fd8
JM
13424 * elf/tls-macros.h (TLS_LE): Move architecture-specific
13425 definitions to architecture-specific files.
13426 (TLS_IE): Likewise.
13427 (TLS_LD): Likewise.
13428 (TLS_GD): Likewise.
13429 * sysdeps/i386/tls-macros.h: New file.
13430 * sysdeps/powerpc/tls-macros.h: Likewise.
13431 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
13432 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
13433 * sysdeps/sh/tls-macros.h: Likewise.
13434 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
13435 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
13436 * sysdeps/x86_64/tls-macros.h: Likewise.
13437
f7db3170
TS
134382012-07-17 Thomas Schwinge <thomas@codesourcery.com>
13439
07cbfc23
TS
13440 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
13441 zero value for regular exit case.
13442
f7db3170
TS
13443 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13444 (__start_context): Preserve zero value for regular exit case.
13445
dc97c227
TS
134462012-07-17 Thomas Schwinge <thomas@codesourcery.com>
13447 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13448
13449 * manual/setjmp.texi (setcontext): Clarify normal process
13450 termination when uc_link is the null pointer.
13451 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
13452 exit call.
13453
d0cd7d02
AS
134542012-07-16 Andreas Schwab <schwab@linux-m68k.org>
13455
13456 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
13457 preprocessor. Test for each exception mask separately.
13458
dd318934
AJ
134592012-07-16 Andreas Jaeger <aj@suse.de>
13460
13461 * po/ru.po: Update from translation team.
13462
8048311a
JM
134632012-07-15 Joseph Myers <joseph@codesourcery.com>
13464
13465 * conform/data/string.h-data (NULL): Use macro-constant. Require
13466 equal to 0.
13467 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13468 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13469 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
13470 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
13471 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13472
b637d46e
AJ
134732012-07-13 Andreas Jaeger <aj@suse.de>
13474
13475 * po/fr.po: Update from translation team.
13476
541428fe
MP
134772012-07-12 Marek Polacek <polacek@redhat.com>
13478
13479 [BZ #14173]
13480 * math/libm-test.inc (yn_test): Add test for BZ #14173.
13481 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
13482 loop condition.
13483
ec332e94
JM
134842012-07-12 Joseph Myers <joseph@codesourcery.com>
13485
13486 [BZ #13717]
13487 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13488 Change to 2.4.1 where previously 2.4.0.
13489 * sysdeps/unix/sysv/linux/configure: Regenerated.
13490 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
13491 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
13492 version.
13493 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
13494 (__ASSUME_AT_CLKTCK): Remove.
13495 (__ASSUME_AT_PAGESIZE): Likewise.
13496 (__ASSUME_AT_XID): Likewise.
13497 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
13498 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
13499 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
13500 unconditionally.
13501 (HAVE_AUX_PAGESIZE): Likewise.
13502 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
13503 [__ASSUME_AT_CLKTCK]: Make code unconditional.
13504 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
13505
7b6e99be
JB
135062012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
13507
13508 [BZ #14307]
13509 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
13510 the temporary buffer used to invoke __gethostbyname2_r,
13511 __gethostbyaddr_r and gethostbyname4_r to make room for struct
13512 host_data / struct gaih_addrtuple.
13513 * resolv/nss_dns/dns-host.c (global scope): Move definition of
13514 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
13515 header file nss/nsswitch.h.
13516 * nss/nsswitch.h (global scope): Add definition of implementation
13517 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
13518 resolv/nss_dns/dns-host.c).
13519
608404eb
AJ
135202012-07-11 Andreas Jaeger <aj@suse.de>
13521
13522 * po/fr.po: Update from translation team.
13523
71220aca
AJ
13524 * po/sv.po: Update from translation team
13525 * po/fr.po: Another update from translation team.
13526
28cfe843
AZ
135272012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13528
13529 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
13530 for subnormals or multiply small sinh result by itself.
13531 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13533
6b90f981
DM
135342012-07-11 David S. Miller <davem@davemloft.net>
13535
13536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13537
c6825772
AS
135382012-07-10 Andreas Schwab <schwab@linux-m68k.org>
13539
13540 [BZ #14347]
13541 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
13542 (INTERNAL_MARK): Shift it here.
13543
7b8e0d49
MP
135442012-07-10 Marek Polacek <polacek@redhat.com>
13545
13546 [BZ #14151]
13547 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
13548 libc_cv_asm_global_directive with .globl.
13549 * configure: Regenerated.
13550 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
13551 with .globl.
13552 * sysdeps/i386/configure: Regenerated.
13553 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
13554 with .globl.
13555 * sysdeps/x86_64/configure: Regenerated.
13556 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
13557 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
13558 * elf/tst-unique2mod2.c: Likewise.
13559 * elf/tst-unique2mod1.c: Likewise.
13560 * elf/tst-unique1mod2.c: Likewise.
13561 * elf/tst-unique1mod1.c: Likewise.
13562 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13563 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13564 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13565 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13566 * sysdeps/mach/sysdep.h: Likewise.
13567 * sysdeps/i386/sysdep.h: Likewise.
13568 * sysdeps/i386/i386-mcount.S: Likewise.
13569 * sysdeps/x86_64/_mcount.S: Likewise.
13570 * sysdeps/x86_64/sysdep.h: Likewise.
13571 * sysdeps/sh/_mcount.S: Likewise.
13572 * sysdeps/sh/sysdep.h: Likewise.
13573 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
13574 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
13575 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
13576 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13577 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
13578 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
13579 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
13580 * locale/localeinfo.h: Likewise.
13581 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
13582 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
13583
6c55cda3
RM
135842012-07-09 Roland McGrath <roland@hack.frob.com>
13585
13586 [BZ #14336]
13587 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
13588 system".
13589 * manual/message.texi (The Uniforum approach): Likewise.
13590 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
13591 (glibc iconv Implementation): Likewise.
13592
638a572e
JM
135932012-07-09 Joseph Myers <joseph@codesourcery.com>
13594
13595 [BZ #14337]
13596 * math/s_clog.c (__clog): Avoid scaling a value down where that
13597 could result in underflow.
13598 * math/s_clog10.c (__clog10): Likewise.
13599 * math/s_clog10f.c (__clog10f): Likewise.
13600 * math/s_clog10l.c (__clog10l): Likewise.
13601 * math/s_clogf.c (__clogf): Likewise.
13602 * math/s_clogl.c (__clogl): Likewise.
13603 * math/libm-test.inc (clog_test): Add more tests.
13604 (clog10_test): Likewise.
13605 * sysdeps/i386/fpu/libm-test-ulps: Update.
13606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13607
261f4859
AS
136082012-07-06 Andreas Schwab <schwab@linux-m68k.org>
13609
0abaf3e4
AS
13610 [BZ #14283]
13611 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
13612 by 7 not 8 to examine high bit of fractional part.
13613
261f4859
AS
13614 [BZ #14042]
13615 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
13616 for call to __mcount_internal.
13617 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
13618 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
13619 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
13620
f17ac40d
JM
136212012-07-06 Joseph Myers <joseph@codesourcery.com>
13622
9ad63c23
JM
13623 [BZ #14154]
13624 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
13625 approximation for values within 0x1p-13f of an odd multiple of
13626 pi/4.
13627 * math/libm-test.inc (tan_test): Do not allow spurious underflow
13628 exception. Add more tests.
13629 * sysdeps/i386/fpu/libm-test-ulps: Update.
13630
f17ac40d
JM
13631 [BZ #6778]
13632 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
13633 inputs and return -1 for them. Do not check for +Inf in case not
13634 reachable for +Inf.
13635 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13636 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
13637 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13638 and return -1 for them. Do not check for +Inf in case not
13639 reachable for +Inf.
13640 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
13641 define.
13642 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13643 and return -1 for them. Do not check for +Inf in case not
13644 reachable for +Inf.
13645 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
13646 spurious underflow.
13647 * sysdeps/i386/fpu/libm-test-ulps: Update.
13648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13649
fb21f89b
MF
136502012-07-06 Mike Frysinger <vapier@gentoo.org>
13651
13652 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
13653
cdfe2c5e
JM
136542012-07-05 Joseph Myers <joseph@codesourcery.com>
13655
13656 [BZ #14157]
13657 [BZ #14331]
13658 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
13659 could result in spurious underflow. Scale down values above
13660 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
13661 * math/s_csqrtf.c (__csqrtf): Likewise.
13662 * math/s_csqrtl.c (__csqrtl): Likewise.
13663 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
13664 spurious underflow.
13665 * sysdeps/i386/fpu/libm-test-ulps: Update.
13666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13667
70d35b67
AS
136682012-07-04 Andreas Schwab <schwab@linux-m68k.org>
13669
704bc459
AS
13670 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
13671 xopen-msg.sed.
13672 * catgets/xopen-msg.awk: New file.
13673 * catgets/xopen-msg.sed: Removed.
13674
70d35b67
AS
13675 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
13676 po2text.sed.
13677 * intl/po2test.awk: New file.
13678 * intl/po2test.sed: Removed.
13679
ca61cf32
JM
136802012-07-04 Joseph Myers <joseph@codesourcery.com>
13681
13682 [BZ #14328]
13683 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
13684 or multiply small sinh result by itself.
13685 * math/s_ctanf.c (__ctanf): Likewise.
13686 * math/s_ctanh.c (__ctanh): Likewise.
13687 * math/s_ctanhf.c (__ctanhf): Likewise.
13688 * math/s_ctanhl.c (__ctanhl): Likewise.
13689 * math/s_ctanl.c (__ctanl): Likewise.
13690 * math/libm-test.inc (ctan_test_tonearest): New function.
13691 (ctan_test_towardzero): Likewise.
13692 (ctan_test_downward): Likewise.
13693 (ctan_test_upward): Likewise.
13694 (ctanh_test_tonearest): Likewise.
13695 (ctanh_test_towardzero): Likewise.
13696 (ctanh_test_downward): Likewise.
13697 (ctanh_test_upward): Likewise.
13698 (main): Call these new functions.
13699 * sysdeps/i386/fpu/libm-test-ulps: Update.
13700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13701
ca48a46a
MF
137022012-07-03 Mike Frysinger <vapier@gentoo.org>
13703
13704 * .gitignore: Delete /ports entry.
13705
9d63d37d
AJ
137062012-07-03 Andreas Jaeger <aj@suse.de>
13707
13708 * po/bg.po: Update from translation team.
13709 * po/cs.po: Likewise.
13710 * po/de.po: Likewise.
13711 * po/hr.po: Likewise.
13712 * po/nl.pl: Likewise.
13713 * po/pl.po: Likewise.
13714 * po/vi.po: Likewise.
13715
370ca3d2
JM
137162012-07-03 Joseph Myers <joseph@codesourcery.com>
13717
95f5a9a8
JM
13718 * Makeconfig [!+link] (+link-before-libc): New variable.
13719 [!+link] (+link-after-libc): Likewise.
13720 [!+link] (+link-tests): Likewise.
13721 [!+link] (+link): Define in terms of $(+link-before-libc) and
13722 $(+link-after-libc).
13723 [!+link-static] (+link-static-before-libc): New variable.
13724 [!+link-static] (+link-static-after-libc): Likewise.
13725 [!+link-static] (+link-static-tests): Likewise.
13726 [!+link-static] (+link-static): Define in terms of
13727 $(+link-static-before-libc) and $(+link-static-after-libc).
13728 [build-shared] (link-libc-before-gnulib): New variable.
13729 [build-shared] (link-libc-tests): Likewise.
13730 [build-shared] (link-libc): Define in terms of
13731 $(link-libc-before-gnulib).
13732 [!build-shared] (link-libc-tests): New variable.
13733 (link-libc-static-tests): New variable.
13734 [!gnulib] (gnulib-arch): New variable.
13735 [!gnulib] (gnulib-tests): Likewise.
13736 [!gnulib] (static-gnulib-arch): Likewise.
13737 [!gnulib] (static-gnulib-tests): Likewise.
13738 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
13739 Define with "=" instead of ":=".
13740 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
13741 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
13742 * Rules (binaries-all-notests): New variable.
13743 (binaries-all-tests): Likewise.
13744 (binaries-static-notests): Likewise.
13745 (binaries-static-tests): Likewise.
13746 (binaries-all): Define using $(binaries-all-notests) and
13747 $(binaries-all-tests).
13748 (binaries-static): Define using $(binaries-static-notests) and
13749 $(binaries-static-tests).
13750 (binaries-shared-tests): New variable.
13751 (binaries-shared-notests): Likewise.
13752 (binaries-shared): Remove variable.
13753 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
13754 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
13755 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
13756 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
13757 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
13758 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
13759 * elf/Makefile (sln-modules): New variable.
13760 (extra-objs): Add $(sln-modules:=.o).
13761 (ldconfig-modules): Add static-stubs.
13762 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
13763 * elf/static-stubs.c: New file.
13764
7a845b2c
JM
13765 [BZ #14283]
13766 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
13767 by 7 not 8 to examine high bit of fractional part. Use volatile
13768 variables when splitting into final array of floats if
13769 __FLT_EVAL_METHOD__ != 0.
13770 * math/libm-test.inc (cos_test): Add another test.
13771 (sin_test): Likewise.
13772 * sysdeps/i386/fpu/libm-test-ulps: Update.
13773
e2283f38
JM
13774 [BZ #14273]
13775 * math/libm-test.inc (cosh_test): Add more tests.
13776
370ca3d2
JM
13777 * version.h (RELEASE): Set to "development".
13778 (VERSION): Set to "2.16.90".
13779
ee9247c3
CD
137802012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
13781
13782 * NEWS: Update copyright. Remove last-updated date.
13783 Mention math library bug fixes and timezone data changes.
13784 * README: Mention GNU/Hurd, x32, and HPPA support status.
13785
4648c381
TS
137862012-06-28 Thomas Schwinge <thomas@codesourcery.com>
13787
13788 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
13789
aac78a43
AJ
137902012-06-27 Andreas Jaeger <aj@suse.de>
13791
13792 * manual/contrib.texi (Contributors): Add Samuel Thibault.
13793
ed3dbfad
AJ
137942012-06-25 Andreas Jaeger <aj@suse.de>
13795
13796 * sysdeps/s390/fpu/libm-test-ulps: Update.
13797
4d0ee855
AS
137982012-06-23 Andreas Schwab <schwab@linux-m68k.org>
13799 Thomas Schwinge <thomas@codesourcery.com>
13800
13801 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
13802 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
13803 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
13804 fanotify_mark.
13805
af1bce34
TS
138062012-06-23 Thomas Schwinge <thomas@codesourcery.com>
13807
a9fa33ba
TS
13808 * sysdeps/mach/start.c: Remove file.
13809 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
13810 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
13811 * sysdeps/sh/init-first.c: Likewise.
13812
58f902b8
TS
13813 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
13814 registers for frame unwinding purposes, add CFI directives.
13815 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13816 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
13817 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
13818 Likewise.
13819
1518f58b
TS
13820 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
13821 __fortify_fail returning.
13822 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13823
db9b5059
TS
13824 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
13825 sysdeps/sh/____longjmp_chk.S.
13826 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
13827 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
13828 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
13829 (gen-as-const-headers): Append sigaltstack-offsets.sym.
13830
967705fe
TS
13831 * sysdeps/sh/abort-instr.h: New file.
13832 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
13833 process in case exit returns.
13834
a9def8c4
TS
13835 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
13836 initialize the GOT register before use.
13837
2a649725
TS
13838 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
13839 calculation of ARGC > 4.
13840
af1bce34
TS
13841 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
13842 meaningful names to some local labels.
13843
d230f50a
KK
138442012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13845 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13846
13847 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
13848 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
13849 (__arch_compare_and_exchange_val_16_acq): Likewise.
13850 (__arch_compare_and_exchange_val_32_acq): Likewise.
13851 (atomic_exchange_and_add): Fix gUSA sequence.
13852 (atomic_add): Likewise.
13853 (atomic_add_negative): Likewise.
13854 (atomic_add_zero): Likewise.
13855 (atomic_bit_test_set): Likewise.
13856
0479b305
AS
138572012-06-22 Andreas Schwab <schwab@redhat.com>
13858
13859 [BZ #13579]
13860 * include/link.h (struct link_map): Add l_free_initfini.
13861 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
13862 l_initfini.
13863 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
13864 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
13865 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
13866 set.
13867
0e3933b9
CD
138682012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
13869
13870 * configure.in: Use AC_LANG_SOURCE.
13871 * configure: Regenerate.
13872
4248b1b1
RM
138732012-06-22 Roland McGrath <roland@hack.frob.com>
13874
13875 * configure.in (libc_cv_localstatedir): New substituted variable.
13876 * configure: Regenerated.
13877 * config.make.in (localstatedir): New variable, substituted from
13878 libc_cv_localstatedir.
13879 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
13880 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
13881 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
13882 * sysdeps/gnu/configure: Regenerated.
13883
006dd861
JL
138842012-06-21 Jeff Law <law@redhat.com>
13885
13886 [BZ #14277]
13887 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
13888 free. Simplify list management for _LIBC case.
13889
79662d42
JM
138902012-06-21 Joseph Myers <joseph@codesourcery.com>
13891
b7abb4bf
JM
13892 [BZ #14273]
13893 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
13894 Clear sign bit of 64-bit integer value before comparing against
13895 overflow value.
13896
79662d42
JM
13897 * sysdeps/mach/configure: Regenerated.
13898
1f150908
L
138992012-06-21 H.J. Lu <hongjiu.lu@intel.com>
13900
13901 [BZ #14278]
13902 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
13903
28363bbf
JL
139042012-06-21 Jeff Law <law@redhat.com>
13905
13906 [BZ #13882]
13907 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
13908 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 13909 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
13910 * elf/dl-open.c (dl_open_worker): Likewise.
13911
09615db4
CD
139122012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
13913
13914 * scripts/list-sources.sh: Scan PORTS for translations.
13915 * po/libc.pot: Regenerated.
13916
2174c6dd
AJ
139172012-06-21 Andreas Jaeger <aj@suse.de>
13918
13919 [BZ #12194]
13920 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
13921 warning.
13922 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
13923 * bits/byteswap-16.h (__bswap_16): Likewise.
13924 * bits/byteswap.h (__bswap_constant_16): Likewise.
13925
3ee947b1
L
139262012-06-18 H.J. Lu <hongjiu.lu@intel.com>
13927
13928 [BZ #14117]
a2f34833
L
13929 * sysdeps/i386/fpu_control.h: Removed.
13930 * sysdeps/x86_64/fpu_control.h: Moved to ...
13931 * sysdeps/x86/fpu_control.h: Here.
13932
3ee947b1
L
13933 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
13934 (_FPU_SETCW): Likewise.
13935
ed1825f8
L
139362012-06-15 H.J. Lu <hongjiu.lu@intel.com>
13937
25f1282a
L
13938 [BZ #14117]
13939 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
13940 * sysdeps/x86/fpu/bits/mathinline.h: This.
13941 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
13942
ed1825f8
L
13943 [BZ #14050]
13944 [BZ #14117]
13945 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
13946 functions if __x86_64__ is defined.
13947
36d54b74
CLT
139482012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
13949
13950 * string/endian.h: Add !__ASSEMBLER__ condition for including
13951 conversion interfaces.
13952
10285c21
JM
139532012-06-15 Joseph Myers <joseph@codesourcery.com>
13954
13955 [BZ #14241]
13956 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
13957 of ABS(x) in calculating zero to negative powers other than odd
13958 integers.
13959 * math/libm-test.inc (pow_test): Add more tests.
13960
06c5abbd
AJ
139612012-06-15 Andreas Jaeger <aj@suse.de>
13962
13963 * manual/contrib.texi (Contributors): Update entry of Liubov
13964 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
13965 Machado Filho.
13966
a3aeac40
CH
139672012-06-15 Cyril Hrubis <metan@ucw.cz>
13968
13969 * string/string.h: Add __wur to GNU version of strerror_r.
13970
49bdf4c1
L
139712012-06-14 H.J. Lu <hongjiu.lu@intel.com>
13972
13973 [BZ #14229]
13974 * string/Makefile (tests): Add tst-strtok_r.
13975 * string/tst-strtok_r.c: New file.
13976 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
13977 RAX_LP/RDX_LP on SAVE_PTR.
13978
834f9b8d
RM
139792012-06-14 Roland McGrath <roland@hack.frob.com>
13980
13981 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
13982
75fa1921
JM
139832012-06-14 Joseph Myers <joseph@codesourcery.com>
13984
13985 * libm_test.inc (csqrt_test): Allow more spurious underflow
13986 exceptions.
13987 (j0_test): Likewise.
13988 (j1_test): Likewise.
13989 (y0_test): Likewise.
13990 (y1_test): Likewise.
13991
771766df
CD
139922012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
13993
13994 * po/Makefile (libc.pot): Use UTF-8 charset.
13995
ceb9e56b
PP
139962012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
13997
13998 [BZ #14210]
13999 Suppress sign-conversion warning from FD_SET.
14000 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
14001 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
14002 not unsigned long int.
14003 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
14004
ddb28975
L
140052012-06-12 H.J. Lu <hongjiu.lu@intel.com>
14006
14007 [BZ #14050]
14008 [BZ #14117]
14009 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
14010 __extern_always_inline instead of __extern_inline.
14011 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
14012 (__signbit): Likewise.
14013 (__signbitl): Support C++ namespace.
14014 (lrintf): New inline function.
14015 (lrint): Likewise.
14016 (llrintf): Likewise.
14017 (llrint): Likewise.
14018 (fmaxf): Likewise.
14019 (fmax): Likewise.
14020 (fminf): Likewise.
14021 (fmin): Likewise.
14022 (rint): Likewise.
14023 (rintf): Likewise.
14024 (ceil): Likewise.
14025 (ceilf): Likewise.
14026 (floor): Likewise.
14027 (floorf): Likewise.
14028 (nearbyint): Likewise.
14029 (nearbyintf): Likewise.
14030
d7b4fb26
TS
140312012-06-12 Thomas Schwinge <thomas@codesourcery.com>
14032
14033 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
14034 non-default versions.
14035
eb55f5c2
RM
140362012-06-11 Roland McGrath <roland@hack.frob.com>
14037
14038 [BZ #14218]
14039 * manual/argp.texi (Argp): Reword argp_parse description slightly.
14040
366af02c
TS
140412012-06-09 Thomas Schwinge <thomas@codesourcery.com>
14042
99ff6e5c
TS
14043 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
14044 (FE_UPWARD, FE_DOWNWARD): Don't define.
14045 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
14046 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14047
366af02c
TS
14048 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
14049 reading it.
14050 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14051 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14052
793ea851
KK
140532012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14054
14055 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14056 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
14057 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
14058 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
14059
a728a38f
L
140602012-06-06 H.J. Lu <hongjiu.lu@intel.com>
14061
14062 [BZ #14117]
c08010c7
L
14063 * sysdeps/i386/fpu/bits/fenv.h: Removed.
14064 * sysdeps/i386/fpu/Implies: New file.
14065 * sysdeps/x86_64/fpu/Implies: Likewise.
14066 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
14067 * sysdeps/x86/fpu/bits/fenv.h: This.
14068
a728a38f
L
14069 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
14070 __SSE_MATH__.
14071
6e230d11
SP
140722012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14073
14074 [BZ #14134]
14075 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
14076 character 0xffff that matches the last element of the
14077 conversion table.
14078
1b671feb
AZ
140792012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14080
14081 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
14082 fmodl commit.
14083
6043738b
AZ
140842012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14085
14086 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
14087 values higher than 25.6283.
14088
34ae0b32
AZ
140892012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14090
14091 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
14092 subnormal exponent extraction and add some __builtin_expect.
14093 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
14094 Fix for subnormal mantissa calculation.
14095
1214ec8f
MF
140962012-06-04 Mike Frysinger <vapier@gentoo.org>
14097
14098 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
14099 cpu2 is -1 and errno is not ENOSYS.
14100
f3d1f93c
L
141012012-06-04 H.J. Lu <hongjiu.lu@intel.com>
14102
14103 [BZ #14117]
0e4a3cd7
L
14104 * sysdeps/i386/i486/bits/string.h: Renamed to ...
14105 * sysdeps/x86/bits/string.h: This.
14106 * sysdeps/x86_64/bits/string.h: Removed.
14107
6704c645
L
14108 * sysdeps/i386/i486/bits/string.h: Define inline functions only
14109 if not compiling for x86-64, but compiling for >= i486.
14110
48495318
L
14111 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
14112 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
14113
14adcbfc
L
14114 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
14115 New macro from Linux kernel 3.4.0.
14116 (FP_XSTATE_MAGIC2): Likewise.
14117 (FP_XSTATE_MAGIC2_SIZE): Likewise.
14118 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
14119 (struct _fpx_sw_bytes): New struct.
14120 (struct _xsave_hdr): Likewise.
14121 (struct _ymmh_state): Likewise.
14122 (struct _xstate): Likewise.
14123
68e408ab
L
14124 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
14125 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
14126 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
14127 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
14128 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
14129 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
14130
f3d1f93c
L
14131 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
14132 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
14133 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
14134 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
14135 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
14136 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
14137
d9dc34cd
TMQMF
141382012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14139
14140 [BZ #13743]
14141 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
14142 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
14143 (sysdep_headers): Include sys/platform/ppc.h.
14144 * sysdeps/powerpc/test-gettimebase.c: Test for
14145 __ppc_get_timebase() to catch future ISA opcode/insn changes.
14146 * manual/Makefile (appendices): Include platform.texi.
14147 * manual/contrib.texi (Contributors): Update @node pointers.
14148 * manual/maint.texi (Maintenance): Likewise.
14149 (Platform): New node.
14150 * manual/platform.texi: New file. Document the new features.
14151
4af3879c
SP
141522012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14153 Jakub Jelinek <jakub@redhat.com>
14154
14155 [BZ #14188]
14156 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
14157 where __builtin_expect is unavailable.
14158
2fd6ff13
DM
141592012-06-03 David S. Miller <davem@davemloft.net>
14160
14161 * stdlib/longlong.h: Updated from GCC.
14162
173f7220
AS
141632012-06-02 Andreas Schwab <schwab@linux-m68k.org>
14164
14165 [BZ #14042]
14166 * sysdeps/powerpc/powerpc32/mcount.c: New file.
14167 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
14168 __mcount_internal.
14169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14170 (GLIBC_2.16): Likewise.
14171
f34a1c6f
L
141722012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14173
14174 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
14175
88a4576f
JM
141762012-06-01 Joseph Myers <joseph@codesourcery.com>
14177
ea32bcdd
JM
14178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14179 (default-abi): New variable.
14180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
14181 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
14182 variable.
14183 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
14184 Likewise.
14185 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
14186 Likewise.
14187 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
14188 Likewise.
14189
88a4576f
JM
14190 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
14191 definition. Document in comment.
14192
402fe938
DM
141932012-06-01 David S. Miller <davem@davemloft.net>
14194
14195 * stdlib/longlong.h: Updated from GCC.
14196
3553723f
L
141972012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14198
14199 [BZ #14117]
3bd872c4
L
14200 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
14201 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
14202 sys/debugreg.h sys/io.h here.
14203 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
14204 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
14205 sys/io.h.
14206 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
14207 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
14208 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
14209 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
14210 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
14211 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
14212
3553723f
L
14213 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
14214 Define only if __x86_64__ is defined.
14215
4842e4fe
JM
142162012-06-01 Joseph Myers <joseph@codesourcery.com>
14217
c5bfe3d5
JM
14218 [BZ #14048]
14219 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
14220 Use int64_t for variable i.
14221 * math/libm-test.inc (fmod_test): Add more tests.
14222
4842e4fe
JM
14223 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
14224 z computation is not scheduled after fetestexcept.
14225 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
14226 Use math_force_eval instead of asm to ensure calculation scheduled
14227 before exception test.
14228 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
14229 Ensure a1 + u.d computation is not scheduled after fetestexcept.
14230
efb73488
AJ
142312012-06-01 Aurelien Jarno <aurelien@aurel32.net>
14232
14233 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
14234 computation is not scheduled after fetestexcept.
14235
29bcce7c
L
142362012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14237
14238 [BZ #14117]
14239 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
14240 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
14241
73a68f94
AZ
142422012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14243
14244 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
14245 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14246
67b6df78
L
142472012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14248
edf2933a 14249 [BZ #14117]
ebc64a18
L
14250 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
14251 <bits/wordsize.h>.
14252 (__WCHAR_MIN): Support __WORDSIZE == 64.
14253 (__WCHAR_MAX): Likewise.
14254
edf2933a
L
14255 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
14256 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
14257
57c6cf40
L
14258 [BZ #14183]
14259 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
14260 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
14261
67b6df78 14262 [BZ #14117]
8eb6281e
L
14263 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
14264 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
14265
aac639f4
L
14266 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
14267 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
14268
67b6df78
L
14269 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
14270 Defined to 1 if __x86_64__ isn't defined.
14271 (_STAT_VER_LINUX_OLD): New.
14272 (st_atime): Remove duplicate.
14273 (st_mtime): Likewise.
14274 (st_ctime): Likewise.
14275
1c2cfe81
DM
142762012-05-31 David S. Miller <davem@davemloft.net>
14277
14278 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
14279 entries.
14280
5be8418c
AS
142812012-06-01 Andreas Schwab <schwab@linux-m68k.org>
14282
e7725326
AS
14283 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
14284 gen-libm-test.pl.
14285
5be8418c
AS
14286 [BZ #14132]
14287 * elf/dl-reloc.c: Include <_itoa.h>.
14288 (_dl_reloc_bad_type): Remove use of INTUSE.
14289 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
14290 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
14291 * stdio-common/psiginfo.c (psiginfo): Likewise.
14292 * stdio-common/psignal.c (psignal): Likewise.
14293 * string/strsignal.c (strsignal): Likewise.
14294 * include/signal.h (_sys_siglist): Declare hidden proto.
14295 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
14296 INTVARDEF with libc_hidden_data_def.
14297 * stdio-common/itoa-udigits.c: Likewise.
14298 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
14299 (_itoa_lower_digits_internal): Remove declaration.
14300 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
14301 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
14302 (_sys_sigabbrev_internal): Remove aliases.
14303 (_sys_siglist): Define hidden alias.
14304
507352f1
MT
143052012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
14306
14307 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14308 bits/sysctl.h.
14309
42bbb1c3
L
143102012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14311
14312 [BZ #14117]
6bd784b6
L
14313 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
14314 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
14315
8bca20f0
L
14316 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
14317 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
14318 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
14319 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
14320 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
14321 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
14322
f9e890a9
L
14323 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
14324 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
14325 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
14326
471101a1
L
14327 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
14328 with __addr.
14329 (insw): Likewise.
14330 (insl): Likewise.
14331 (outsb): Likewise.
14332 (outsw): Likewise.
14333 (outsl): Likewise.
14334
6451c862
L
14335 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
14336 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
14337 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
14338
a254b8c9
L
14339 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
14340 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
14341 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
14342 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
14343 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
14344 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
14345
b8dfdd92
L
14346 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
14347 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
14348
578cd270
L
14349 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
14350 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
14351
de662f5f
L
14352 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
14353 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
14354 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
14355
25653439
L
14356 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
14357 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
14358 to ...
14359 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
14360
6bad24a0
L
14361 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
14362 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
14363 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
14364
42bbb1c3
L
14365 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
14366 for x86-64.
14367 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
14368
2d10d547
JM
143692012-05-31 Joseph Myers <joseph@codesourcery.com>
14370
14371 * math/math.h (M_El): Use two more decimal places.
14372 (M_LOG2El): Likewise.
14373 (M_LOG10El): Likewise.
14374 (M_LN2l): Likewise.
14375 (M_LN10l): Likewise.
14376 (M_PIl): Likewise.
14377 (M_PI_2l): Likewise.
14378 (M_PI_4l): Likewise.
14379 (M_1_PIl): Likewise.
14380 (M_2_PIl): Likewise.
14381 (M_2_SQRTPIl): Likewise.
14382 (M_SQRT2l): Likewise.
14383 (M_SQRT1_2l): Likewise.
14384
f230c29b
DM
143852012-05-31 David S. Miller <davem@davemloft.net>
14386
14387 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
14388 values between float registers.
14389 * sysdeps/sparc/sparc64/memset.S: Likewise.
14390 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14391
fed806c3
MF
143922012-05-31 Mike Frysinger <vapier@gentoo.org>
14393
14394 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
14395 -D_FORTIFY_SOURCE=1.
14396 (CPPFLAGS-tst-longjmp_chk.c): Define.
14397 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
14398 (CPPFLAGS-tst-longjmp_chk2.c): Define.
14399 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
14400 CFLAGS-tst-wchar-h.c.
14401
30917259
MP
144022012-05-31 Marek Polacek <polacek@redhat.com>
14403
14404 [BZ #14132]
14405 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
14406 __endmntent_internal): Remove declaration.
14407 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
14408 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
14409 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
14410
1c58d5dc
DM
144112012-05-30 David S. Miller <davem@davemloft.net>
14412
14413 * sysdeps/sparc/sparc32/soft-fp/q_util.c
14414 (___Q_simulate_exceptions): Use real FP ops rather than writing
14415 into the %fsr.
14416 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
14417 Likewise.
14418
7dc00e0d
L
144192012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14420
14421 [BZ #14117]
0bd53985
L
14422 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
14423 * sysdeps/x86/bits/xtitypes.h: This.
14424
3a257e66
L
14425 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
14426 * sysdeps/x86/bits/wordsize.h: This.
14427
62f62904
L
14428 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
14429 * sysdeps/x86/bits/huge_vall.h: This.
14430
404fe9d9
L
14431 * sysdeps/i386/bits/select.h: Removed.
14432 * sysdeps/x86_64/bits/select.h: Renamed to ...
14433 * sysdeps/x86/bits/select.h: This.
14434
d48d0446
L
14435 * sysdeps/i386/bits/setjmp.h: Removed.
14436 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
14437 * sysdeps/x86/bits/setjmp.h: This.
14438
7dc00e0d
L
14439 * sysdeps/i386/bits/mathdef.h: Removed.
14440 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
14441 * sysdeps/x86/bits/mathdef.h: This.
14442
03277f8f
AS
144432012-05-30 Andreas Schwab <schwab@linux-m68k.org>
14444
14445 [BZ #14132]
14446 * include/sys/socket.h (__connect_internal)
14447 (__libc_sa_len_internal): Remove declaration.
14448 (__connect, __libc_sa_len): Declare hidden_proto.
14449 (SA_LEN): Remove use of INTUSE.
14450 * socket/connect.c: Add libc_hidden_def.
14451 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
14452 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
14453 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
14454 alias.
14455 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14456 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
14457 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
14458 of adding _internal alias.
14459
13764867
L
144602012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14461
14462 [BZ #14117]
6bd97696
L
14463 * sysdeps/i386/bits/link.h: Removed.
14464 * sysdeps/i386/bits/linkmap.h: Likewise.
14465 * sysdeps/x86_64/bits/link.h: Renamed to ...
14466 * sysdeps/x86/bits/link.h: This.
14467 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
14468 * sysdeps/x86/bits/linkmap.h: This.
14469
f726f0bb
L
14470 * sysdeps/i386/bits/endian.h: Removed.
14471 * sysdeps/x86_64/bits/endian.h: Renamed to ...
14472 * sysdeps/x86/bits/endian.h: This.
14473
13764867
L
14474 * sysdeps/i386/bits/byteswap.h: Removed.
14475 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14476 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
14477 * sysdeps/x86/bits/byteswap.h: This.
14478 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
14479 * sysdeps/x86/bits/byteswap-16.h: This.
14480 * sysdeps/i386/Implies: Add x86.
14481 * sysdeps/x86_64/Implies: Likewise.
14482
ae251b0b
DM
144832012-05-30 David S. Miller <davem@davemloft.net>
14484
14485 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
14486 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
14487 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14488 (FP_TRAPPING_EXCEPTIONS): Define.
14489 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14490 (FP_TRAPPING_EXCEPTIONS): Define.
14491 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
14492 subnormals only when inexact has been signalled or underflow
14493 exceptions are enabled.
14494 (_FP_PACK_CANONICAL): Likewise.
14495
d5c90867
L
144962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14497
14498 [BZ #14183]
14499 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
14500 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
14501
63f1549e
RH
145022012-05-30 Richard Henderson <rth@twiddle.net>
14503
8d8f2279
RH
14504 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
14505 with #ifndef NOT_IN_libc.
14506
63f1549e
RH
14507 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
14508 marked to avoid plt entry.
14509
0ab0291b
L
145102012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14511
14512 [BZ #14112]
14513 * Makeconfig (default-abi): New macro.
14514 (abi-includes): Likewise.
14515 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
14516 $(abi-$(default-abi)-lib-soname) for soname if defined.
14517 ($(common-objpfx)gnu/lib-names.stmp): Generate from
14518 abi-variants.
14519 * Makefile (installed-stubs): Likewise.
14520 * include/stubs-biarch.h: Removed.
14521 * scripts/lib-names.awk: Only handle one library at a time.
14522 * scripts/soversions.awk: Remove WORDSIZE support.
14523 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
14524 entries.
14525 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
14526 Removed.
14527 (syscall-list-default-condition): Likewise.
14528 (syscall-list-default-condition): Likewise.
14529 (syscall-list-includes): Likewise.
14530 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
14531 syscall-list-* with abi-*. Handle undefined abi-variants.
14532 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
14533 * sysdeps/unix/sysv/linux/i386/Implies: New file.
14534 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
14535 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
14536 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
14537 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
14538 Removed.
14539 (syscall-list-32-options): Likewise.
14540 (syscall-list-32-condition): Likewise.
14541 (syscall-list-64-options): Likewise.
14542 (syscall-list-64-condition): Likewise.
14543 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
14544 macro.
14545 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
14546 Renamed to ...
14547 (abi-*): This.
14548 (abi-64-ld-soname): New macro.
14549 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
14550 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
14551 Renamed to ...
14552 (abi-*): This.
14553 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
14554 * sysdeps/x86_64/x32/shlib-versions: Likewise.
14555
4da0431d
JM
145562012-05-30 Joseph Myers <joseph@codesourcery.com>
14557
3a85279c
JM
14558 * sysdeps/unix/sysv/linux/kernel-features.h
14559 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
14560 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
14561 include <kernel-features.h>.
14562 [!__NR_ftruncate64]: Remove conditional code.
14563 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14564 [__NR_ftruncate64]: Make code unconditional.
14565 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14566 * sysdeps/unix/sysv/linux/truncate64.c: Do not
14567 include <kernel-features.h>.
14568 [!__NR_ftruncate64]: Remove conditional code.
14569 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14570 [__NR_ftruncate64]: Make code unconditional.
14571 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
14573 include <kernel-features.h>.
14574 [!__NR_ftruncate64]: Remove conditional code.
14575 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14576 [__NR_ftruncate64]: Make code unconditional.
14577 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14579 include <kernel-features.h>.
14580 [!__NR_ftruncate64]: Remove conditional code.
14581 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14582 [__NR_ftruncate64]: Make code unconditional.
14583 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14584
4da0431d
JM
14585 * configure.in (libc_cv_fpie): Weaken to a compile test using
14586 LIBC_TRY_CC_OPTION.
14587 * configure: Regenerated.
14588
11ef492c
AK
145892012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14590
14591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
14592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
14593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
14594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14595 Refreshed.
14596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
14597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
14598 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
14599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
14600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
14601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14602 Refreshed.
14603
d66ef399
DM
146042012-05-27 David S. Miller <davem@davemloft.net>
14605
14606 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
14607 (___Q_zero): New.
14608 (__Q_simulate_exceptions): Return void. Change to simulate
14609 exceptions by writing into the %fsr.
14610 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
14611 (__Qp_handle_exceptions): Likewise.
14612 (numbers): Delete.
14613 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
14614 __Qp_handle_exceptions.
14615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
14616 __Qp_handle_exceptions.
14617 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14618 as unused and give dummy FP_RND_NEAREST initializer.
14619 (FP_INHIBIT_RESULTS): Define.
14620 (___Q_simulate_exceptions): Update declaration.
14621 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
14622 formatting.
14623 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14624 as unused and give dummy FP_RND_NEAREST initializer.
14625 (__Qp_handle_exceptions): Update declaration.
14626 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
14627 formatting.
14628
04fb54b5
TS
146292012-05-27 Thomas Schwinge <thomas@codesourcery.com>
14630
14631 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
14632 the temporary FPU control word.
14633 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14634 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
14635 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
14636 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14637 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14638 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
14639 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
14640 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14641 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14642 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14643 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14644
3f99608f
KK
146452012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14646
14647 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
14648 fields.
14649
65a4de4e
CLT
146502012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
14651
14652 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
14653 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
14654 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
14655 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
14656 Likewise.
14657 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
14658 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
14659 Likewise.
14660
15749d40
UD
146612012-05-27 Ulrich Drepper <drepper@gmail.com>
14662
14663 * po/h.po: Update from translation team.
14664
25dbcb27
AS
146652012-05-26 Andreas Schwab <schwab@linux-m68k.org>
14666
3d3f8e55
AS
14667 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
14668
25dbcb27
AS
14669 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
14670 handling of denormals.
14671 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14672 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14673 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14674 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14675 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14676 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
14677 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
14678 Likewise.
14679
7ad47a80 146802012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
14681
14682 [BZ #14152]
14683 * math/libm-test.inc (fma_test): Don't always expect underflow
14684 exception.
14685
9c6ea9fa
SP
146862012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14687
14688 [BZ #12416]
14689 * elf/tst-execstack.c: Include stackinfo.h.
14690 (do_test): Adjust test case to ensure that pthread_getattr_np
14691 behaviour remains the same after marking stack executable.
14692
a8239222
JM
146932012-05-25 Joseph Myers <joseph@codesourcery.com>
14694
14695 * sysdeps/unix/sysv/linux/kernel-features.h
14696 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
14697 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
14698 kernel-features.h.
14699 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14700 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14701 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
14702 kernel-features.h.
14703 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14704 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14705
918b5606
L
147062012-05-25 H.J. Lu <hongjiu.lu@intel.com>
14707
14708 * configure.in: Define the default includes to being none.
14709 * configure: Regenerated.
14710
3a097cc7
RM
147112012-05-25 Roland McGrath <roland@hack.frob.com>
14712
8422c9a5
RM
14713 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
14714 * sysdeps/x86_64/setjmp.S: Likewise.
14715 * sysdeps/i386/bsd-setjmp.S: Likewise.
14716 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14717 * sysdeps/i386/setjmp.S: Likewise.
14718 * sysdeps/i386/__longjmp.S: Likewise.
14719 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14720 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
14721
3a097cc7
RM
14722 * include/stap-probe.h: New file.
14723 * configure.in: Handle --enable-systemtap.
14724 * configure: Regenerated.
14725 * config.h.in (USE_STAP_PROBE): New #undef.
14726 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
14727 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
14728 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
14729
21708942
JM
147302012-05-25 Joseph Myers <joseph@codesourcery.com>
14731
14732 [BZ #13717]
14733 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14734 to 2.4.0 where earlier.
14735 * sysdeps/unix/sysv/linux/configure: Regenerated.
14736 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14737 <kernel-features.h>.
14738 [__ASSUME_32BITUIDS]: Make code unconditional.
14739 [!__ASSUME_32BITUIDS]: Remove conditional code.
14740 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
14741 <kernel-features.h>.
14742 [__ASSUME_32BITUIDS]: Make code unconditional.
14743 [!__ASSUME_32BITUIDS]: Remove conditional code.
14744 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
14745 [__ASSUME_32BITUIDS]: Make code unconditional.
14746 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
14747 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
14748 <kernel-features.h>.
14749 [__ASSUME_32BITUIDS]: Make code unconditional.
14750 [!__ASSUME_32BITUIDS]: Remove conditional code.
14751 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
14752 <kernel-features.h>.
14753 [__ASSUME_32BITUIDS]: Make code unconditional.
14754 [!__ASSUME_32BITUIDS]: Remove conditional code.
14755 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
14756 <kernel-features.h>.
14757 [__ASSUME_32BITUIDS]: Make code unconditional.
14758 [!__ASSUME_32BITUIDS]: Remove conditional code.
14759 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
14760 <kernel-features.h>.
14761 [__ASSUME_32BITUIDS]: Make code unconditional.
14762 [!__ASSUME_32BITUIDS]: Remove conditional code.
14763 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14764 <kernel-features.h>.
14765 [__ASSUME_32BITUIDS]: Make code unconditional.
14766 [!__ASSUME_32BITUIDS]: Remove conditional code.
14767 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14768 <kernel-features.h>.
14769 [__ASSUME_32BITUIDS]: Make code unconditional.
14770 [!__ASSUME_32BITUIDS]: Remove conditional code.
14771 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
14772 <kernel-features.h>.
14773 [__ASSUME_32BITUIDS]: Make code unconditional.
14774 [!__ASSUME_32BITUIDS]: Remove conditional code.
14775 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14776 <kernel-features.h>.
14777 [__ASSUME_32BITUIDS]: Make code unconditional.
14778 [!__ASSUME_32BITUIDS]: Remove conditional code.
14779 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14780 <kernel-features.h>.
14781 [__ASSUME_32BITUIDS]: Make code unconditional.
14782 [!__ASSUME_32BITUIDS]: Remove conditional code.
14783 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
14784 <kernel-features.h>.
14785 [__ASSUME_32BITUIDS]: Make code unconditional.
14786 [!__ASSUME_32BITUIDS]: Remove conditional code.
14787 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
14788 <kernel-features.h>.
14789 [__NR_setresgid] (__setresgid): Do not declare.
14790 [__ASSUME_32BITUIDS]: Make code unconditional.
14791 [!__ASSUME_32BITUIDS]: Remove conditional code.
14792 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
14793 <kernel-features.h>.
14794 [__NR_setresuid] (__setresuid): Do not declare.
14795 [__ASSUME_32BITUIDS]: Make code unconditional.
14796 [!__ASSUME_32BITUIDS]: Remove conditional code.
14797 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
14798 <kernel-features.h>.
14799 [__ASSUME_32BITUIDS]: Make code unconditional.
14800 [!__ASSUME_32BITUIDS]: Remove conditional code.
14801 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
14802 <kernel-features.h>.
14803 [__ASSUME_32BITUIDS]: Make code unconditional.
14804 [!__ASSUME_32BITUIDS]: Remove conditional code.
14805 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
14806 <kernel-features.h>.
14807 [__ASSUME_32BITUIDS]: Make code unconditional.
14808 [!__ASSUME_32BITUIDS]: Remove conditional code.
14809 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
14810 <kernel-features.h>.
14811 [__ASSUME_32BITUIDS]: Make code unconditional.
14812 [!__ASSUME_32BITUIDS]: Remove conditional code.
14813 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
14814 <kernel-features.h>.
14815 [__ASSUME_32BITUIDS]: Make code unconditional.
14816 [!__ASSUME_32BITUIDS]: Remove conditional code.
14817 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
14818 <kernel-features.h>.
14819 [__ASSUME_32BITUIDS]: Make code unconditional.
14820 [!__ASSUME_32BITUIDS]: Remove conditional code.
14821 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
14822 <kernel-features.h>.
14823 [__ASSUME_32BITUIDS]: Make code unconditional.
14824 [!__ASSUME_32BITUIDS]: Remove conditional code.
14825 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
14826 <kernel-features.h>.
14827 [__ASSUME_32BITUIDS]: Make code unconditional.
14828 [!__ASSUME_32BITUIDS]: Remove conditional code.
14829 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
14830 <kernel-features.h>.
14831 [__ASSUME_32BITUIDS]: Make code unconditional.
14832 [!__ASSUME_32BITUIDS]: Remove conditional code.
14833 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14834 <kernel-features.h>.
14835 [__ASSUME_32BITUIDS]: Make code unconditional.
14836 [!__ASSUME_32BITUIDS]: Remove conditional code.
14837 * sysdeps/unix/sysv/linux/kernel-features.h
14838 (__ASSUME_SETRESUID_SYSCALL): Remove.
14839 (__ASSUME_SETRESGID_SYSCALL): Likewise.
14840 (__ASSUME_32BITUIDS): Likewise.
14841 (__ASSUME_LDT_WORKS): Likewise.
14842 (__ASSUME_O_DIRECTORY): Likewise.
14843 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
14844 architecture but not kernel version.
14845 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14846 (__ASSUME_MMAP2_SYSCALL): Likewise.
14847 (__ASSUME_STAT64_SYSCALL): Likewise.
14848 (__ASSUME_IPC64): Likewise.
14849 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
14850 <kernel-features.h>.
14851 [__ASSUME_32BITUIDS]: Make code unconditional.
14852 [!__ASSUME_32BITUIDS]: Remove conditional code.
14853 * sysdeps/unix/sysv/linux/opendir.c: Do not include
14854 <kernel-features.h>.
14855 [__ASSUME_O_DIRECTORY]: Make code unconditional.
14856 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
14857 132096]: Remove conditional code.
14858 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
14859 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14860 <kernel-features.h>.
14861 [__ASSUME_32BITUIDS]: Make code unconditional.
14862 [!__ASSUME_32BITUIDS]: Remove conditional code.
14863 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14864 <kernel-features.h>.
14865 [__ASSUME_32BITUIDS]: Make code unconditional.
14866 [!__ASSUME_32BITUIDS]: Remove conditional code.
14867 * sysdeps/unix/sysv/linux/setegid.c: Do not include
14868 <kernel-features.h>.
14869 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
14870 unconditional.
14871 (__setresgid): Do not declare.
14872 [__ASSUME_32BITUIDS]: Make code unconditional.
14873 [!__ASSUME_32BITUIDS]: Remove conditional code.
14874 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
14875 <kernel-features.h>.
14876 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
14877 unconditional.
14878 (__setresuid): Do not declare.
14879 [__ASSUME_32BITUIDS]: Make code unconditional.
14880 [!__ASSUME_32BITUIDS]: Remove conditional code.
14881 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14882 <kernel-features.h>.
14883 [__ASSUME_32BITUIDS]: Make code unconditional.
14884 [!__ASSUME_32BITUIDS]: Remove conditional code.
14885 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
14886 <kernel-features.h>.
14887 [__ASSUME_32BITUIDS]: Make code unconditional.
14888 [!__ASSUME_32BITUIDS]: Remove conditional code.
14889
a386f1cc
RH
148902012-05-25 Richard Henderson <rth@twiddle.net>
14891
14892 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
14893 dl_hwcap to ifunc resolver.
14894 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
14895 elf_ifunc_invoke.
14896 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
14897 dl_hwcap to ifunc resolver.
14898 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
14899
b6550497
JM
149002012-05-24 Joseph Myers <joseph@codesourcery.com>
14901
14902 [BZ #14153]
14903 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
14904 for |x| <= 2**-26, not 2**-57.
14905 * math/libm-test.inc (acos_test): Do not allow spurious underflow
14906 exception.
14907
b0bc23a1
JL
149082012-05-24 Jeff Law <law@redhat.com>
14909
14910 * stdio-common/Makefile (tests): Add bug25.
14911 * stdio-common/bug25.c: New test.
14912
347c92e9
L
149132012-05-24 H.J. Lu <hongjiu.lu@intel.com>
14914
14915 [BZ #13576]
14916 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
14917 multiple of MALLOC_ALIGNMENT in size.
14918 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
14919
6bcc8b3f
JM
149202012-05-24 Joseph Myers <joseph@codesourcery.com>
14921
14922 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
14923 Require >= 256.
14924 (FILENAME_MAX): Use macro-int-constant.
14925 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
14926 (_IOFBF): Use macro-int-constant.
14927 (_IOLBF): Likewise.
14928 (_IONBF): Likewise.
14929 (SEEK_CUR): Likewise.
14930 (SEEK_END): Likewise.
14931 (SEEK_SET): Likewise.
14932 (TMP_MAX): Likewise.
14933 (EOF): Use macro-int-constant. Require < 0.
14934 (NULL): Use macro-constant. Require == 0.
14935 (stdin): Require type to be FILE *.
14936 (stdout): Likewise.
14937 (stderr): Likewise.
14938 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
14939 macro-int-constant.
14940 (EXIT_SUCCESS): Likewise.
14941 (NULL): Use macro-constant. Require == 0.
14942 (RAND_MAX): Use macro-int-constant.
14943 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
14944 [C99-based standards] (strtof): Require function.
14945 [C99-based standards] (strtold): Likewise.
14946 [C99-based standards] (strtoll): Likewise.
14947 [C99-based standards] (strtoull): Likewise.
14948 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14949 [ISO || ISO99 || ISO11] (limits.h): Likewise.
14950 [ISO || ISO99 || ISO11] (math.h): Likewise.
14951 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
14952 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14953 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14954
d18ea0c5
AS
149552012-05-24 Andreas Schwab <schwab@linux-m68k.org>
14956
14957 [BZ #14132]
56d25bb8
AS
14958 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
14959 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
14960 * intl/dgettext.c (DCGETTEXT): Likewise.
14961 * intl/gettext.c (DCGETTEXT): Likewise.
14962 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
14963 * posix/regex_internal.h (gettext): Likewise.
14964 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
14965 Remove declaration.
14966 * include/argz.h (__argz_count_internal)
14967 (__argz_stringify_internal): Remove declaration.
14968 (__argz_count, __argz_stringify): Declare hidden proto.
14969 * intl/dcgettext.c: Remove use of INTDEF.
14970 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
14971 * string/argz-stringify.c: Likewise.
14972 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14973 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14974 Declare hidden proto.
d18ea0c5
AS
14975 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14976 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14977 Declare hidden proto.
14978 * include/stdio.h (__asprintf_internal): Don't declare.
14979 (__asprintf): Don't define as macro. Declare hidden proto.
14980 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
14981 (__fsetlocking): Declare hidden proto.
14982 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
14983 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
14984 hidden proto.
14985 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
14986 (_IO_setlinebuf): Remove use of INTUSE.
14987 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
14988 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
14989 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
14990 Remove declaration.
14991 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
14992 (_IO_do_flush): Remove use of INTUSE.
14993 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
14994 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
14995 (_IO_adjust_column, _IO_least_wmarker)
14996 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
14997 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
14998 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
14999 (_IO_default_doallocate, _IO_wdefault_doallocate)
15000 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
15001 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
15002 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
15003 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
15004 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
15005 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
15006 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
15007 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
15008 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
15009 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
15010 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
15011 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
15012 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
15013 proto.
15014 (_IO_flush_all_internal, _IO_adjust_column_internal)
15015 (_IO_default_uflow_internal, _IO_default_finish_internal)
15016 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
15017 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
15018 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
15019 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
15020 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
15021 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
15022 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
15023 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
15024 (_IO_file_close_internal, _IO_file_close_it_internal)
15025 (_IO_file_underflow_internal, _IO_file_overflow_internal)
15026 (_IO_file_init_internal, _IO_file_attach_internal)
15027 (_IO_file_fopen_internal, _IO_file_read_internal)
15028 (_IO_file_sync_internal, _IO_file_seek_internal)
15029 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
15030 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
15031 (_IO_str_underflow_internal, _IO_str_overflow_internal)
15032 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
15033 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
15034 (_IO_list_all_internal, _IO_link_in_internal)
15035 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
15036 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
15037 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
15038 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
15039 (_IO_do_write_internal, _IO_padn_internal)
15040 (_IO_getline_info_internal, _IO_getline_internal)
15041 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
15042 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
15043 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
15044 (_IO_vfscanf_internal, _IO_vfprintf_internal)
15045 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
15046 (_IO_init_internal, _IO_un_link_internal): Don't declare.
15047 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
15048 with libc_hidden_ver, remove use of INTUSE.
15049 * libio/genops.c: Likewise.
15050 * libio/freopen.c: Likewise.
15051 * libio/freopen64.c: Likewise.
15052 * libio/iofclose.c: Likewise.
15053 * libio/iofdopen.c: Likewise.
15054 * libio/iofflush.c: Likewise.
15055 * libio/iofflush_u.c: Likewise.
15056 * libio/iofgets.c: Likewise.
15057 * libio/iofgets_u.c: Likewise.
15058 * libio/iofopen.c: Likewise.
15059 * libio/iofopncook.c: Likewise.
15060 * libio/iofread.c: Likewise.
15061 * libio/iofread_u.c: Likewise.
15062 * libio/ioftell.c: Likewise.
15063 * libio/iofwrite.c: Likewise.
15064 * libio/iogetline.c: Likewise.
15065 * libio/iogets.c: Likewise.
15066 * libio/iogetwline.c: Likewise.
15067 * libio/iopadn.c: Likewise.
15068 * libio/iopopen.c: Likewise.
15069 * libio/ioseekoff.c: Likewise.
15070 * libio/ioseekpos.c: Likewise.
15071 * libio/iosetbuffer.c: Likewise.
15072 * libio/iosetvbuf.c: Likewise.
15073 * libio/ioungetc.c: Likewise.
15074 * libio/ioungetwc.c: Likewise.
15075 * libio/iovdprintf.c: Likewise.
15076 * libio/iovsprintf.c: Likewise.
15077 * libio/iovsscanf.c: Likewise.
15078 * libio/memstream.c: Likewise.
15079 * libio/obprintf.c: Likewise.
15080 * libio/oldfileops.c: Likewise.
15081 * libio/oldiofclose.c: Likewise.
15082 * libio/oldiofdopen.c: Likewise.
15083 * libio/oldiofopen.c: Likewise.
15084 * libio/oldiopopen.c: Likewise.
15085 * libio/oldstdfiles.c: Likewise.
15086 * libio/putc.c: Likewise.
15087 * libio/setbuf.c: Likewise.
15088 * libio/setlinebuf.c: Likewise.
15089 * libio/stdfiles.c: Likewise.
15090 * libio/strops.c: Likewise.
15091 * libio/vasprintf.c: Likewise.
15092 * libio/vscanf.c: Likewise.
15093 * libio/vsnprintf.c: Likewise.
15094 * libio/vswprintf.c: Likewise.
15095 * libio/wfiledoalloc.c: Likewise.
15096 * libio/wfileops.c: Likewise.
15097 * libio/wgenops.c: Likewise.
15098 * libio/wmemstream.c: Likewise.
15099 * libio/wstrops.c: Likewise.
15100 * libio/__fpurge.c: Likewise.
15101 * libio/__fsetlocking.c: Likewise.
15102 * assert/assert.c: Likewise.
15103 * debug/fgets_chk.c: Likewise.
15104 * debug/fgets_u_chk.c: Likewise.
15105 * debug/fread_chk.c: Likewise.
15106 * debug/fread_u_chk.c: Likewise.
15107 * debug/gets_chk.c: Likewise.
15108 * debug/obprintf_chk.c: Likewise.
15109 * debug/vasprintf_chk.c: Likewise.
15110 * debug/vdprintf_chk.c: Likewise.
15111 * debug/vsnprintf_chk.c: Likewise.
15112 * debug/vsprintf_chk.c: Likewise.
15113 * malloc/mtrace.c: Likewise.
15114 * misc/error.c: Likewise.
15115 * misc/syslog.c: Likewise.
15116 * stdio-common/asprintf.c: Likewise.
15117 * stdio-common/fxprintf.c: Likewise.
15118 * stdio-common/getw.c: Likewise.
15119 * stdio-common/isoc99_fscanf.c: Likewise.
15120 * stdio-common/isoc99_scanf.c: Likewise.
15121 * stdio-common/isoc99_vfscanf.c: Likewise.
15122 * stdio-common/isoc99_vscanf.c: Likewise.
15123 * stdio-common/isoc99_vsscanf.c: Likewise.
15124 * stdio-common/printf-prs.c: Likewise.
15125 * stdio-common/printf_fp.c: Likewise.
15126 * stdio-common/printf_fphex.c: Likewise.
15127 * stdio-common/printf_size.c: Likewise.
15128 * stdio-common/putw.c: Likewise.
15129 * stdio-common/scanf.c: Likewise.
15130 * stdio-common/sprintf.c: Likewise.
15131 * stdio-common/tmpfile.c: Likewise.
15132 * stdio-common/vfprintf.c: Likewise.
15133 * stdio-common/vfscanf.c: Likewise.
15134 * stdlib/strfmon_l.c: Likewise.
15135 * sunrpc/openchild.c: Likewise.
15136 * sunrpc/xdr_stdio.c: Likewise.
15137 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15138 * sysdeps/mach/hurd/tmpfile.c: Likewise.
15139
d6c33fda
RM
151402012-05-24 Roland McGrath <roland@hack.frob.com>
15141
c1487492
RM
15142 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15143
15144 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
15145 in the third column, to generate for the shared library an IFUNC
15146 that uses _dl_vdso_vsym.
15147 * Makerules (COMPILE.c, compile-stdin.c): New variables.
15148 * Makeconfig (object-suffixes-noshared): New variable.
15149
15150 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
15151 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
15152 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
15153 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
15154
d6c33fda
RM
15155 [BZ #14132]
15156 * include/sys/time.h (__gettimeofday): Remove macro.
15157 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
15158 * time/gettimeofday.c (__gettimeofday): Remove #undef.
15159 Remove INTDEF.
15160 (__gettimeofday): Add libc_hidden_def.
15161 (gettimeofday): Add libc_hidden_weak.
15162 * sysdeps/mach/gettimeofday.c: Likewise.
15163 * sysdeps/posix/gettimeofday.c: Likewise.
15164 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15165 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15166 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
15167 (__gettimeofday_internal): Remove strong_alias.
15168 (__gettimeofday): Add libc_hidden_def.
15169 (gettimeofday): Add libc_hidden_weak.
15170 * sysdeps/unix/syscalls.list (gettimeofday):
15171 Remove __gettimeofday_internal alias.
15172
b5a2bbe6
L
151732012-05-24 Daniel Jacobowitz <drow@false.org>
15174 H.J. Lu <hongjiu.lu@intel.com>
15175
15176 [BZ #12495]
15177 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
15178 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
15179 (largebin_index_32_big): New.
15180 (largebin_index): Use it for 16-byte alignment.
15181 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
15182 correction with front_misalign.
15183
cfba4fda
L
151842012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15185
7f907421
L
15186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
15187 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15188 Likewise.
15189 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
15190 Likewise.
15191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15192 Likewise.
15193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
15194 Likewise.
15195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
15196 Likewise.
15197 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
15198 Likewise.
15199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
15200 Likewise.
15201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15202 Likewise.
15203 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
15204 Likewise.
15205 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
15206 Likewise.
15207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15208 Likewise.
15209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
15210 Likewise.
15211
cfba4fda
L
15212 * scripts/data/c++-types-x32-linux-gnu.data: New file.
15213 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
15214
80bad0cc
JM
152152012-05-24 Joseph Myers <joseph@codesourcery.com>
15216
7a25eb06
JM
15217 [BZ #10846]
15218 [BZ #14036]
15219 * math/libm-test.inc (exp_test): Add test from bug 14036.
15220 (pow_test): Add test from bug 10846.
15221
795405f9
JM
15222 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
15223 and other flags.
15224 (special_function): Do not include flags in test name.
15225 (parse_args): Likewise.
15226 * sysdeps/i386/fpu/libm-test-ulps: Update.
15227 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15228 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15229 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15231
80bad0cc
JM
15232 * math/gen-libm-test.pl (%beautify): Add entries for underflow
15233 exceptions.
15234 * math/libm-test.inc ("Philosophy"): Update comment about
15235 exception testing.
15236 (UNDERFLOW_EXCEPTION): New macro.
15237 (UNDERFLOW_EXCEPTION_OK): Likewise.
15238 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
15239 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
15240 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
15241 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
15242 (INVALID_EXCEPTION_OK): Update value.
15243 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15244 (OVERFLOW_EXCEPTION_OK): Likewise.
15245 (IGNORE_ZERO_INF_SIGN): Likewise.
15246 (test_exceptions): Handle underflow exceptions.
15247 (acos_test): Update for underflow exception expectations.
15248 (cexp_test): Likewise.
15249 (clog_test): Likewise.
15250 (clog10_test): Likewise.
15251 (csqrt_test): Likewise.
15252 (ctan_test): Likewise.
15253 (ctanh_test): Likewise.
15254 (exp_test): Likewise.
15255 (exp10_test): Likewise.
15256 (exp2_test): Likewise.
15257 (expm1_test): Likewise.
15258 (fma_test): Likewise.
15259 (j0_test): Likewise.
15260 (jn_test): Likewise.
15261 (nexttoward_test): Likewise.
15262 (pow_test): Likewise.
15263 (scalbn_test): Likewise.
15264 (scalbln_test): Likewise.
15265 (tan_test): Likewise.
15266 (y1_test): Likewise.
15267 * sysdeps/i386/fpu/libm-test-ulps: Update.
15268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15269
9e0e3d0b
DM
152702012-05-23 David S. Miller <davem@davemloft.net>
15271
15272 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15273 (__libc_sigaction): Remove unused local variables.
15274
ccd0a08f
L
152752012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15276
15277 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
15278
62bdf9a6
PE
152792012-05-23 Paul Eggert <eggert@cs.ucla.edu>
15280
f8591f80
PE
15281 mktime: avoid signed integer overflow
15282 * time/mktime.c (__mktime_internal): Do not mishandle the case
15283 where diff == INT_MIN.
15284
94c7d826
PE
15285 mktime: simplify computation of average
15286 * time/mktime.c (ranged_convert): Use new time_t_avg function
15287 instead of rolling our own (probably-slower) code.
15288
ce73d683
PE
15289 mktime: do not assume signed right shift propagates sign bit
15290 * time/mktime.c (isdst_differ): New static function.
15291 (__mktime_internal): No need to normalize tm_isdst now.
15292 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
15293 tm_isdst values.
15294
72a22e59
PE
15295 mktime: merge another wrapv change from gnulib
15296 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
15297 from some compilers.
15298
68605433
PE
15299 mktime: remove incorrect attempt at unusual arithmetics
15300 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
15301 The code didn't really work on such machines anyway.
15302 (TYPE_MINIMUM): Assume two's complement.
15303 (twos_complement_arithmetic): Verify that long_int and time_t
15304 are two's complement (or unsigned, in the latter case).
15305
03cf7fe3
PE
15306 mktime: check signed shifts on long_int and time_t, too
15307 * time/mktime.c (SHR): Check that shifts work as desired
15308 on the types long_int and time_t too, as SHR is used on
15309 such types.
15310
f04dfbc2
PE
15311 mktime: do not assume 'long' is wide enough
15312 * time/mktime.c (verify): Move decl up.
15313 (long_int): New type.
15314 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
15315 to remove assumption in the code that 'long' is wide enough to
15316 store year values. This assumption is not true on x32 and on
15317 some non-glibc platforms.
15318
62bdf9a6
PE
15319 mktime: merge wrapv change from gnulib
15320 * time/mktime.c (WRAPV): New macro.
15321 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
15322 (guess_time_tm, __mktime_internal): Do not assume that signed
15323 integer overflow wraps around; modern compilers generate code
15324 where this assumption is no longer valid.
15325
5e292e4f
L
153262012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15327
15328 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15329 Replace "jmp L(pseudo_end)" with "ret".
15330 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
15331 Likewise.
15332
8caf8c87
AJ
153332012-05-23 Andreas Jaeger <aj@suse.de>
15334
15335 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
15336 * sysdeps/unix/sysv/linux/poll.c: Remove file.
15337
1a09dc56
AJ
153382012-05-23 Andreas Jaeger <aj@suse.de>
15339 Maximilian Attems <max@stro.at>
15340
15341 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
15342 New macros.
15343
1c87aba0
L
153442012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15345
15346 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
15347 code so that pseudo_end is just ret and the stack pointer is
15348 correct also for static library in error case.
15349
40e45bd5
JM
153502012-05-23 Joseph Myers <joseph@codesourcery.com>
15351
c2670533
JM
15352 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
15353 move to syscalls.list.
15354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15358
40e45bd5
JM
15359 * manual/install.texi (Running make install): Do not mention Linux
15360 kernel version for which pt_chown is not needed.
15361 (Linux): Do not mention problems with nscd with 2.0 kernels.
15362 * INSTALL: Regenerated.
15363
be08eda5
AJ
153642012-05-23 Andreas Jaeger <aj@suse.de>
15365
15366 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
15367 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
15368 macro.
15369 * sysdeps/unix/sysv/linux/s390/bits/mman.h
15370 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15371 * sysdeps/unix/sysv/linux/sh/bits/mman.h
15372 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15373 * sysdeps/unix/sysv/linux/i386/bits/mman.h
15374 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15375 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
15376 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15377 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
15378 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15379 * sysdeps/unix/sysv/linux/bits/in.h
15380 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
15381
a6a056bb
RM
153822012-05-22 Roland McGrath <roland@hack.frob.com>
15383
15384 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
15385 (PREPARE_VERSION): Just use assert instead, it will be elided
15386 under [NDEBUG] anyway.
15387
c9009328
L
153882012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15389
15390 * sysdeps/unix/sysv/linux/Makefile: Include
15391 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 15392 (sysdep_routines): Remove sysctl.
c9009328
L
15393 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
15394 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
15395 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
15396 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
15397 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
15398
73338355
AJ
153992012-05-22 Andreas Jaeger <aj@suse.de>
15400
15401 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
15402 that pseudo_end is just ret and the stack pointer is correct also
15403 for static library in error case.
15404
d44638b0
PP
154052012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
15406
15407 [BZ #14122]
15408 * nss/nsswitch.c (defconfig_entries): New variable.
15409 (__nss_database_lookup): Don't leak defconfig entries.
15410 (nss_parse_service_list): Don't leak on error paths.
15411 (free_database_entries): New function.
15412 (free_defconfig): New function.
15413 (free_mem): Move common code to free_database_entries.
15414
31a39bd8
L
154152012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15416
da0331a8
L
15417 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
15418 Add arch_prctl.
15419 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
15420
31a39bd8
L
15421 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15422 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
15423 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
15424 New macro.
15425 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
15426 (INTERNAL_SYSCALL_TYPES): Likewise.
15427 (LOAD_ARGS_TYPES_[1-6]): Likewise.
15428 (LOAD_REGS_TYPES_[1-6]): Likewise.
15429 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
15430 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
15431
45470df3
AZ
154322012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15433
15434 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
15435 copysignl for GLIBC_2_0.
15436 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
15437 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
15438 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
15439 logbl for GLIBC_2_0.
15440 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
15441 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
15442
98a61bcb
L
154432012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15444
a4f6e481
L
15445 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
15446 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
15447
f63d5db6
L
15448 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15449 Use "neg %eax".
15450
98a61bcb
L
15451 * time/mktime.c: Update copyright years.
15452
95770f14
PE
154532012-05-22 Paul Eggert <eggert@cs.ucla.edu>
15454
6226efbd
PE
15455 mktime: merge comment-quoting-style change from gnulib
15456 * time/mktime.c: Quote 'like this' in comments.
15457 The GNU coding standards suggest that we no longer quote `like this',
15458 as "`" and "'" are typically rendered asymmetrically nowadays.
15459 The typical gnulib style is to quote 'like this' when quoting
15460 code, and "like this" when quoting English.
15461
b99e4f78
PE
15462 * time/mktime.c (compile-command): Add "-I.".
15463
643e01e6
PE
15464 mktime: merge mktime-internal.h change from gnulib
15465 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
15466
2554247d
PE
15467 mktime: merge time_r change from gnulib
15468 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
15469
826dd0ab
PE
15470 mktime: merge DEBUG change from gnulib
15471 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
15472 case system <time.h> has a #define.
15473
bd83aabe
PE
15474 mktime: merge <sys/types.h> change from gnulib
15475 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
15476 since <time.t> is now guaranteed to define time_t.
15477
95770f14
PE
15478 mktime: merge HAVE_CONFIG_H change from gnulib
15479 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
15480
5e1a27a9
L
154812012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15482
0e44a77e
L
15483 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15484 Use "neg %eax".
15485
5e1a27a9
L
15486 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
15487 __rlim_t cast.
15488 (struct rusage): Use anonymous union to pad each field to
15489 __syscall_slong_t.
15490
46259bec
DM
154912012-05-21 David S. Miller <davem@davemloft.net>
15492
15493 * Makefules (o-iterator): Remove .s cases.
15494 (compile-command.s): Delete.
15495 (COMPILE.s): Delete.
15496 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
15497
59f0c22e
JM
154982012-05-21 Joseph Myers <joseph@codesourcery.com>
15499
15500 * configure.in (libc_cv_predef_stack_protector): Only consider
15501 "foobar" and "__stack_chk_fail" lines in libc_undefs.
15502 * configure: Regenerated.
15503
20c07380
L
155042012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15505
bbb3154b
L
15506 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15507 New macro. Use R*LP on int and pointer.
15508 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
15509 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
15510 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
15511 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
15512
20c07380
L
15513 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
15514 [__WORDSIZE_TIME64_COMPAT32] instead of
15515 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
15516 (struct utmp): Likewise.
15517 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
15518 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
15519 Renamed to ...
15520 (__WORDSIZE_TIME64_COMPAT32): This.
15521 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
15522 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
15523 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
15524 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
15525 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
15526 (__WORDSIZE_TIME64_COMPAT32): New macro.
15527
d8d1017e
AJ
155282012-05-21 Andreas Jaeger <aj@suse.de>
15529
15530 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
15531 only if [SHARED]. Add prototype for __wcschr_ia32.
15532
6c7fb145
RM
155332012-05-21 Roland McGrath <roland@hack.frob.com>
15534
15535 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
15536 of %rbp unmolested in the jmp_buf while mangling the low bits.
15537 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
15538 unmolested high bits of %rbp while demangling the low bits.
15539 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15540
66274218
AJ
155412012-05-21 Andreas Jaeger <aj@suse.de>
15542
07c58f8f
AJ
15543 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
15544 * sunrpc/svc_simple.c: Use it for registerrpc.
15545 * sunrpc/xcrypt.c: Use it for passwd2des.
15546
66274218
AJ
15547 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
15548
61f65140
L
155492012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15550
15551 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
15552 Don't define if [__SYSCALL_WORDSIZE != 32].
15553 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
15554 New macro.
15555
5fefb436
AJ
155562012-05-21 Bruno Haible <bruno@clisp.org>
15557 Andreas Jaeger <aj@suse.de>
15558
15559 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
15560 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
15561 inptr and inend for must_buffer_ch.
15562 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
15563 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
15564 * stdio-common/Makefile (tests): Remove bug15.
15565 (bug15-ENV): Remove macro.
15566 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
15567 anymore.
15568
d8e272ab
AJ
155692012-05-19 Andreas Jaeger <aj@suse.de>
15570 Roland McGrath <roland@hack.frob.com>
15571
15572 * manual/contrib.texi: Completely rewritten. It contains now an
15573 alphabetical list of contributors and their contributions.
15574
4a56a162
RH
155752012-05-21 Richard Henderson <rth@twiddle.net>
15576
15577 * misc/getauxval.c (__getauxval): Use unsigned long int.
15578 * misc/sys/auxv.h: Include <sys/cdefs.h>.
15579 (getauxval): Use unsigned long int.
15580
d024d23c
L
155812012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15582
15583 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15584
cbc00a03
RM
155852012-05-21 Roland McGrath <roland@hack.frob.com>
15586
15587 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
15588 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
15589 __alignof__ (long double).
15590
478143fa
AZ
155912012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15592
15593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15594
c7683a6d
RH
155952012-05-20 Richard Henderson <rth@twiddle.net>
15596
15597 * misc/getauxval.c: New file.
15598 * misc/sys/auxv.h: New file.
15599 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
15600 (routines): Add getauxval.
15601 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
15602 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
15603 * elf/dl-sysdep.c (_dl_auxv): Remove.
15604 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
15605 * elf/dl-support.c (_dl_auxv): New variable.
15606 (_dl_aux_init): Initialize it.
15607 * manual/startup.texi (Auxiliary Vector): New node.
15608 * sysdeps/generic/bits/hwcap.h: New file.
15609 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
15610 * sysdeps/powerpc/sysdep.h: ... here. Include it.
15611 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
15612 * sysdeps/sparc/sysdep.h: ... here. Include it.
15613 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
15614 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
15615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15616 Update.
c7683a6d
RH
15617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
15618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
15619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
15620 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
15621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
15624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
15625
a6f1845d
AZ
156262012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15627
15628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15629
cbcbe830
DM
156302012-05-19 David S. Miller <davem@davemloft.net>
15631
15632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15633
e0b16cc2
JM
156342012-05-19 Joseph Myers <joseph@codesourcery.com>
15635
15636 [BZ #14123]
15637 * math/s_ccosh.c: Include <float.h>
15638 (__ccosh): Avoid internal overflow calculating sinh and cosh
15639 values before multiplying by sin and cos values.
15640 * math/s_ccoshf.c: Likewise.
15641 * math/s_ccoshl.c: Likewise.
15642 * math/s_csin.c: Likewise.
15643 * math/s_csinf.c: Likewise.
15644 * math/s_csinl.c: Likewise.
15645 * math/s_csinh.c: Likewise.
15646 * math/s_csinhf.c: Likewise.
15647 * math/s_csinhl.c: Likewise.
15648 * math/libm-test.inc (ccos_test): Add more tests.
15649 (ccosh_test): Likewise.
15650 (csin_test): Likewise.
15651 (csinh_test): Likewise.
15652 * sysdeps/i386/fpu/libm-test-ulps: Update.
15653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15654
6ad13e08
L
156552012-05-19 H.J. Lu <hongjiu.lu@intel.com>
15656
f66f0ce8
L
15657 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
15658 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
15659
6ad13e08
L
15660 * sysdeps/x86_64/x32/_itoa.h: Add comment.
15661
b1d072a7
JM
156622012-05-19 Joseph Myers <joseph@codesourcery.com>
15663
15664 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
15665 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
15666 * sysdeps/powerpc/soft-fp/Versions: Likewise.
15667 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
15668 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
15669 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
15670 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
15671 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
15672 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
15673 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
15674 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
15675 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
15676 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
15677 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
15678 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
15679 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
15680 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
15681 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
15682 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
15683 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
15684 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
15685 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
15686 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
15687 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
15688 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
15689 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
15690 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
15691 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
15692 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
15693 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
15694 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
15695
9eae47cb
AJ
156962012-05-18 Andreas Jaeger <aj@suse.de>
15697
15698 * csu/.gitignore: Delete.
15699
bb07f69f
L
157002012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15701
15702 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
15703 (timex): Use __syscall_slong_t.
15704
e6bdb741
AJ
157052012-05-18 Andreas Jaeger <aj@suse.de>
15706 Carlos O'Donell <carlos_odonell@mentor.com>
15707
15708 * manual/install.texi (Configuring and compiling): Update
15709 description about files modified in the source directory.
d6c33fda 15710 * INSTALL: Regenerated.
e6bdb741 15711
1b74487e
L
157122012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15713
15714 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
15715 value. Use "or" to set return value to -1.
15716 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
15717 negate return value.
15718
a88b64b9
TMQMF
157192012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15720
15721 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
15722 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
15723 failure if the compiler has Graphite support disabled.
15724 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
15725 Likewise.
15726 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
15727 CFLAGS-memmove.c): Likewise.
15728 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
15729 Likewise.
15730
3707636e
L
157312012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15732
610b8622
L
15733 * sysdeps/x86_64/x32/_itoa.h: New file.
15734
7cd195df
L
15735 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
15736 getdents system call only if kernel and user dirents have the
15737 same d_ino and d_off.
15738
94b07d20
L
15739 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15740 LLONG_MAX != LONG_MAX.
15741 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15742 (_fitoa_word): Likewise.
15743
18298070
L
15744 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
15745 years.
15746 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
15747 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
15748 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
15749
553c7ea4
L
15750 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
15751 include <bits/wordsize.h>. Check __x86_64__ instead of
15752 __WORDSIZE.
15753 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
15754 if __x86_64__ is defined. Use anonymous union on fpstate.
15755
3707636e
L
15756 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
15757 anonymous union.
15758
b53ef01a
AS
157592012-05-18 Andreas Schwab <schwab@linux-m68k.org>
15760
37fb1dc0
AS
15761 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
15762 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
15763 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
15764 Refer to _rtld_local_ro instead of _rtld_global_ro.
15765 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
15766 Likewise.
15767 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
15768 Likewise.
15769 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
15770 Likewise.
15771 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
15772 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
15773 of _rtld_global, and rtld_progname instead of _dl_argv[0].
15774
b53ef01a
AS
15775 * sysdeps/powerpc/powerpc32/dl-machine.c
15776 (__elf_machine_runtime_setup) [PROF]: Don't reference
15777 _dl_prof_resolve.
15778
7a185db2
AJ
157792012-05-18 Andreas Jaeger <aj@suse.de>
15780
15781 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
15782 function only available for GCCs before 3.4 since GCC 3.4
15783 introduced a builtin.
15784 (lrint): Likewise.
15785 (llrintf): Likewise.
15786 (llrint): Likewise.
15787 (fmaxf): Likewise.
15788 (fmax): Likewise.
15789 (fminf): Likewise.
15790 (fmin): Likewise.
15791 (rint): Likewise.
15792 (rintf): Likewise.
15793 (nearbyint): Likewise.
15794 (nearbyintf): Likewise.
15795 (ceil): Likewise.
15796 (ceilf): Likewise.
15797 (floor): Likewise.
15798 (floorf): Likewise.
15799
3e5aef87
L
158002012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15801
428bd707
L
15802 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
15803 on both fields and cast pointer to __syscall_ulong_t.
15804
3e5aef87
L
15805 * bits/types.h (__fsword_t): New type.
15806 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
15807 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
15808 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15809 (__FSWORD_T_TYPE): Likewise.
15810 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15811 (__FSWORD_T_TYPE): Likewise.
15812 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15813 (__FSWORD_T_TYPE): Likewise.
15814 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
15815 (__FSWORD_T_TYPE): Likewise.
15816 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
15817 __SWORD_TYPE with __fsword_t.
15818 (statfs64): Likewise.
15819
1ba7c3dc
DM
158202012-05-17 David S. Miller <davem@davemloft.net>
15821
15822 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
15823
59910343
AJ
158242012-05-17 Andreas Jaeger <aj@suse.de>
15825
15826 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
15827 warning.
15828
2e4c1e9e
L
158292012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15830
15831 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
15832
de7f5ce7
AJ
158332012-05-17 Andreas Jaeger <aj@suse.de>
15834
15835 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
15836 when it is used.
15837
286abc3d
CM
158382012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15839
15840 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
15841
477cc68e
L
158422012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15843
15844 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
15845 * sysdeps/x86_64/tst-mallocalign1.c: New file.
15846
1a0994f5
CD
158472012-05-17 Andreas Jaeger <aj@suse.de>
15848 Carlos O'Donell <carlos_odonell@mentor.com>
15849
15850 [BZ #14059]
15851 * sysdeps/x86_64/multiarch/init-arch.h
15852 (bit_YMM_Usable): Rename to...
15853 (bit_AVX_Usable): ... this.
15854 (bit_FMA4_Usable): New macro.
15855 (bit_XMM_state): New macro.
15856 (bit_YMM_state): New macro.
15857 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
15858 [__ASSEMBLER__] (index_AVX_Usable): ... this.
15859 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
15860 (CPUID_OSXSAVE): New macro.
15861 (CPUID_AVX): New macro.
15862 (CPUID_FMA4): New macro.
15863 (index_YMM_Usable): Rename to...
15864 (index_AVX_Usable): ... this.
15865 (HAS_AVX): Use HAS_ARCH_FEATURE.
15866 (HAS_FMA4): Likewise.
15867 (HAS_YMM_USABLE): Remove.
15868 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15869 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
15870 are present.
15871 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
15872 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
15873 * sysdeps/x86_64/multiarch/Makefile: Likewise.
15874 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
15875 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
15876
0af797de
CM
158772012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15878
15879 * math/libm-test.c: Support platforms without multiple rounding modes.
15880 * math/bug-nextafter.c: Support platforms without FP exceptions.
15881 * math/bug-nexttoward.c: Likewise.
15882 * math/test-fenv.c: Likewise.
15883 * math/test-misc.c: Likewise.
15884 * stdlib/bug-getcontext.c: Likewise.
15885
e39745ff
AJ
158862012-05-17 Andreas Jaeger <aj@suse.de>
15887
15888 * manual/examples/search.c (critter_cmp): Change signature to
15889 avoid warnings.
15890 * manual/string.texi (Collation Functions): Likewise.
15891
48970aba
L
158922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15893
15894 * bits/types.h: Fold copyright years.
15895 * bits/typesizes.h: Likewise.
15896 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
15897 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15898 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
15899 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
15900 * time/time.h: Likewise.
15901
bedee953
PP
159022012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
15903
15904 [BZ #208]
15905 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
15906 in instead of returning them. Return void.
15907 (__libc_mallinfo): Accumulate over all arenas.
15908 (__malloc_stats): Adjust for change in int_mallinfo interface.
15909
61653dfb
RM
159102012-05-16 Roland McGrath <roland@hack.frob.com>
15911
30b99d79
RM
15912 [BZ #10375]
15913 * configure.in (NM): Add AC_CHECK_TOOL for it.
15914 (libc_extra_cflags): New substituted variable.
15915 Check for -fstack-protector being used implicitly.
15916 * configure: Regenerated.
15917 * config.make.in (config-extra-cflags): New variable,
15918 gets @libc_extra_cflags@.
15919 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
15920
61653dfb
RM
15921 [BZ #10375]
15922 * configure.in: Check for _FORTIFY_SOURCE being predefined.
15923 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
15924 * configure: Regenerated.
15925 * config.make.in (CPPUNDEFS): New substituted variable.
15926 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
15927 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
15928 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
15929
661768bb
L
159302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15931
15932 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
15933 (mq_attr): Use __syscall_slong_t.
15934
d4261567
L
159352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15936
15937 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
15938 Check __x86_64__ instead of __WORDSIZE.
15939 (_STAT_VER_LINUX): Likewise.
15940 (stat): Check __x86_64__ instead of __WORDSIZE. Use
15941 __syscall_ulong_t and __syscall_slong_t.
15942 (stat64): Likewise.
15943
cf3ff365
L
159442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15945
15946 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
15947
76cf3e4d
L
159482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15949
15950 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
15951
a637753a
L
159522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15953
15954 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
15955 __syscall_ulong_t.
15956
d5e05119
L
15957 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
15958 include <bits/wordsize.h>. Check __x86_64__ instead of
15959 __WORDSIZE.
15960 (greg_t): Use "__extension__ long long int" if __x86_64__ is
15961 defined.
15962 (mcontext_t): Replace "unsigned long" with "unsigned long long".
15963
f62ee380
L
15964 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
15965 include <bits/wordsize.h>. Check __x86_64__ instead of
15966 __WORDSIZE.
15967 (user_regs_struct): Use "__extension__ unsigned long long"
15968 instead of "unsigned long" if __x86_64__ is defined.
15969 (user): Likewise. Pad after pointer field if __ILP32__ is
15970 defined.
15971
4e124ced
JM
159722012-05-16 Joseph Myers <joseph@codesourcery.com>
15973
6a3951a0
JM
15974 * configure.in (makeinfo): Require version 4.5 or later. Allow
15975 versions 5 to 9.
15976 * configure: Regenerated.
15977 * manual/install.texi (texinfo): Increase version requirement to
15978 4.5 or later.
15979 * INSTALL: Regenerated.
15980
4e124ced
JM
15981 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
15982
953ca31a
L
159832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15984
15985 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
15986
617aca05
L
15987 * sysdeps/x86_64/x32/ffs.c: New file.
15988
5762f7ae
L
15989 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
15990 __syscall_ulong_t.
15991 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
15992 defined. Use __syscall_ulong_t.
15993 (shminfo): Use __syscall_ulong_t.
15994 (shm_info): Likewise.
15995
a26b6856
L
15996 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
15997 __syscall_ulong_t.
15998
cb2b9ef7
L
15999 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
16000 <bits/wordsize.h>.
16001 (msgqnum_t): Use __syscall_ulong_t.
16002 (msglen_t): Likewise.
16003 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
16004 __syscall_ulong_t.
16005
34683bb0
L
16006 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
16007 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16008
84a68786
L
16009 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
16010
48baa5f1
L
16011 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
16012 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
16013
180be88b
L
16014 * sysvipc/sys/msg.h (msgbuf): Replace long int with
16015 __syscall_slong_t.
16016
5e90c8ad
L
16017 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
16018 include <bits/wordsize.h>. Check __x86_64__ instead of
16019 __WORDSIZE.
16020
23dfb58b
L
16021 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
16022 "unsigned long long int" if __x86_64__ is defined.
16023 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
16024
ce5d54b0
L
16025 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
16026 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16027 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
16028
13dc9eac
L
16029 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
16030 <stdint.h>.
16031 (GET_PC): Cast to uintptr_t first.
16032 (GET_FRAME): Likewise.
16033 (GET_STACK): Likewise.
16034
a7895d15
L
16035 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
16036 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
16037 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
16038 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
16039 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
16040 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
16041 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
16042 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
16043 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
16044 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
16045 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
16046 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
16047 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16048 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
16049 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
16050 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
16051 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
16052 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
16053 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
16054 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
16055 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
16056 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
16057 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
16058 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
16059 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
16060 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
16061 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
16062 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
16063 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
16064
656416c9
AS
160652012-05-16 Andreas Schwab <schwab@linux-m68k.org>
16066
5bd66283
AS
16067 * Makerules (+depfiles): Also collect depfiles from .oS in
16068 $(extra-objs).
16069 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
16070 .oS, $(libnldbl-routines)).
16071
656416c9
AS
16072 * Makerules (native-compile-mkdep-flags): Define.
16073 * sunrpc/Makefile (extra-objs): Add $(addprefix
16074 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
16075 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
16076 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
16077 calling $(make-target-directory).
16078
a46f2169
L
160792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16080
16081 * bits/types.h (__snseconds_t): Removed.
16082 * time/time.h (struct timespec): Replace __snseconds_t with
16083 __syscall_slong_t.
16084 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
16085 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
16086 Likewise.
16087 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16088 (__SNSECONDS_T_TYPE): Likewise.
16089 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16090 (__SNSECONDS_T_TYPE): Likewise.
16091 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16092 (__SNSECONDS_T_TYPE): Likewise.
16093
6af6528b
L
160942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16095
16096 * sysdeps/mach/hurd/bits/typesizes.h
16097 (__SYSCALL_SLONG_TYPE): New macro.
16098 (__SYSCALL_ULONG_TYPE): Likewise.
16099
de986b56
L
161002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16101
16102 * bits/types.h (__syscall_slong_t): New type.
16103 (__syscall_ulong_t): Likewise.
16104
16105 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
16106 (__SYSCALL_ULONG_TYPE): Likewise.
16107 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16108 (__SYSCALL_SLONG_TYPE): Likewise.
16109 (__SYSCALL_ULONG_TYPE): Likewise.
16110 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16111 (__SYSCALL_SLONG_TYPE): Likewise.
16112 (__SYSCALL_ULONG_TYPE): Likewise.
16113 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16114 (__SYSCALL_SLONG_TYPE): Likewise.
16115 (__SYSCALL_ULONG_TYPE): Likewise.
16116
85736dc7
L
161172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16118
16119 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
16120 Add sigaltstack-offsets.sym.
16121 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
16122 <sigaltstack-offsets.h>.
16123 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
16124 longjmp_msg pointer.
16125 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
16126 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
16127 signal stack.
16128 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
16129
cc03b296
JM
161302012-05-15 Joseph Myers <joseph@codesourcery.com>
16131
a9538892
JM
16132 * elf/stackguard-macros.h: Remove file.
16133 * sysdeps/generic/stackguard-macros.h: New file.
16134 * sysdeps/i386/stackguard-macros.h: Likewise.
16135 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16136 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16137 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16138 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16139 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16140 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16141 * sysdeps/x86_64/stackguard-macros.h: Likewise.
16142 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
16143 <elf/stackguard-macros.h>.
16144
cc03b296
JM
16145 [BZ #14109]
16146 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
16147 __aligned__ in attribute.
16148 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
16149 (gregset_t): Likewise.
16150
93171016
L
161512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16152
16153 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
16154 * sysdeps/x86_64/64/Implies-after: Here. New file.
16155 * sysdeps/x86_64/x32/Implies-after: New file.
16156
d86813a0
L
161572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16158
16159 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
16160 and access return value for _dl_profile_fixup. Use R10_LP to
16161 load frame size.
16162
2953ec75
L
161632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16164
16165 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
16166
3b550e9e
L
161672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16168
16169 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
16170 * sysdeps/x86_64/x32/sysdep.h: New file.
16171
eda41706
L
161722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16173
16174 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
16175 * sysdeps/x86_64/setjmp.S: Likewise.
16176
9ea01d93
AZ
161772012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16178
16179 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
16180 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
16181 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
16182 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
16183 remove unused global constant.
16184
02a91938
CM
161852012-05-15 Chris Metcalf <cmetcalf@tilera.com>
16186
16187 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
16188 include of <not-cancel.h>.
16189
6540185f
RM
161902012-05-15 Roland McGrath <roland@hack.frob.com>
16191
16192 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
16193
509072a0
AJ
161942012-05-15 Jeff Law <law@redhat.com>
16195 Andreas Jaeger <aj@suse.de>
16196
16197 [BZ #13594]
16198 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
16199 out from...
16200 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
16201 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
16202 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
16203 code changing __hst_map_handle.map.
16204
ba75122d
RM
162052012-05-15 Roland McGrath <roland@hack.frob.com>
16206
16207 * configure.in (sysnames): Look for Implies-before and Implies-after
16208 files.
16209 * configure: Regenerated.
16210
890d8bd8
L
162112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16212
16213 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
16214 8-byte data alignment with LP_SIZE alignment.
16215
f6ee6623
L
162162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16217
16218 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
16219 into R10_LP.
16220
ea2626f6
L
162212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16222
16223 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
16224
085f715e
L
162252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16226
16227 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
16228 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
16229 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
16230 Likewise.
16231 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16232
be8498fc
L
162332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16234
16235 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
16236 (stackinfo_sub_sp): Likewise.
16237
70bc83b9
L
162382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16239
16240 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
16241 RAX_LP.
16242
9bc0b730
L
162432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16244
16245 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
16246 into R*_LP.
16247
6d2850e7
L
162482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16249
16250 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
16251 sizes into R*_LP.
16252
3cb84561
L
162532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16254
16255 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
16256
54e2ed81
L
162572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16258
16259 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
16260 into R11_LP and load __x86_64_shared_cache_size_half into
16261 R8_LP.
16262
8a17f349
L
162632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16264
16265 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
16266 R8_LP.
16267
777b1eea
AZ
162682012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16269
16270 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
16271 logb for POWER7.
16272 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
16273 logbf for POWER7.
16274 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
16275 logbl for POWER7.
16276 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
16277 powerpc32/power7/fpu/s_logb.c via #include.
16278 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
16279 powerpc32/power7/fpu/s_logbf.c via #include.
16280 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
16281 powerpc32/power7/fpu/s_logbl.c via #include.
16282
d20d4ac2
JM
162832012-05-15 Joseph Myers <joseph@codesourcery.com>
16284
16285 * README.libm: Remove file.
16286
6cdef1ab
L
162872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16288
16289 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
16290 count for x32. Use R*_LP and omit operand-size suffix.
16291
0b254d8f
L
162922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16293
16294 * shlib-versions: Move x86_64-.*-linux.* entries to ...
16295 * sysdeps/x86_64/64/shlib-versions: Here. New file.
16296 * sysdeps/x86_64/x32/shlib-versions: New file.
16297
ceb809dc
RM
162982012-05-14 Roland McGrath <roland@hack.frob.com>
16299
16300 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
16301 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
16302 Use _dl_fatal_printf instead.
16303
37f1abd4
JM
163042012-05-14 Joseph Myers <joseph@codesourcery.com>
16305
16306 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
16307 set if not set by the user. Do not allow for being unset.
16308 * sysdeps/unix/sysv/linux/configure: Regenerated.
16309
11de3a33
L
163102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16311
16312 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
16313 the `q' suffix from lea and replace .quad with ASM_ADDR.
16314
e02f153a
L
163152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16316
16317 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
16318 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
16319 instead of $17.
16320 (PTR_DEMANGLE): Likewise.
16321
520ae0fd
L
163222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16323
16324 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
16325 (LP_OP): Likewise.
16326 (ASM_ADDR): Likewise.
16327 (RAX_LP): Likewise.
16328 (RBP_LP): Likewise.
16329 (RBX_LP): Likewise.
16330 (RCX_LP): Likewise.
16331 (RDI_LP): Likewise.
16332 (RSI_LP): Likewise.
16333 (RSP_LP): Likewise.
16334 (R8_LP): Likewise.
16335 (R9_LP): Likewise.
16336 (R10_LP): Likewise.
16337 (R10_LP): Likewise.
16338 (R11_LP): Likewise.
16339 (R12_LP): Likewise.
16340 (R13_LP): Likewise.
16341 (R14_LP): Likewise.
16342 (R15_LP): Likewise.
16343
b985be81
L
163442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16345
16346 * sysdeps/x86_64/x32/dl-machine.h: New file.
16347
6a4888ff
AJ
163482012-05-14 Andreas Jaeger <aj@suse.de>
16349
16350 * manual/Makefile (subdir): Remove export of subdir.
16351 (all): Remove target.
16352 (.PHONY): Remove all from list.
16353 (mkinstalldirs): Remove.
16354 (.PHONY): Remove installdirs from list.
16355 ($(inst_infodir)/libc.info): Use make-target-directory.
16356 (installdirs): Remove.
16357 (subdir_%): Remove.
16358 (glibc-targets): Remove.
16359 (lib): Remove.
16360 (stubs): Remove.
16361 ($(objpfx)stubs ../po/manual.pot): Remove.
16362 ($(objpfx)stamp%): Remove.
16363 (make-target-directory): Remove.
16364 (subdir_install): Remove.
16365 (routines): Remove.
16366 (aux): Remove.
16367 (sources): Remove.
16368 (objects): Remove.
16369 (headers): Remove.
16370
16371 [BZ #13750]
16372 * manual/.gitignore: Remove, it's not needed anymore.
16373 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
16374 all files in it.
16375 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
16376 directory.
16377 (texis): Renamed to $(objpfx)texis.
16378 (texis-path): New, contains path to generated files.
16379 (chapters.%): Use texis-path for complete path, add extra argument
16380 libc-texinfo.sh.
16381 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
16382 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
16383 (summary,texi, stamp-summary): Use complete path of
16384 files. Generate files in build dir.
16385 (dir-add.texi): Build in build dir.
16386 (libm-err.texi,stamp-libm-err): Likewise.
16387 (version.texi, stamp-version): Likewise.
16388 (.%c.texi): Likewise.
16389 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
16390 (mostlyclean): Remove target.
16391 (realclean): Remove target.
16392 (generated): Add new variable with contents from mostlyclean and
16393 realclean, remove entries duplicated in common-mostlyclean, add
16394 stamp-libm-err and stamp-version.
16395 (generated-dirs): Add libc directory.
16396 ($(inst_infodir)/libc.info): Install files from build dir.
16397
16398 * manual/install.texi (Configuring and compiling): Adjust since
16399 the info files are not part of the tar ball anymore.
16400
7ac77294
AJ
164012012-05-14 Andreas Jaeger <aj@suse.de>
16402
16403 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
16404 variable.
16405
ffb7875d
JM
164062012-05-14 Joseph Myers <joseph@codesourcery.com>
16407
16408 [BZ #13717]
16409 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16410 to 2.2.0 where earlier.
16411 * sysdeps/unix/sysv/linux/configure: Regenerated.
16412 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
16413 Remove conditional code.
16414 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
16415 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
16416 Remove conditional code.
16417 [!__NR_lchown]: Likewise.
16418 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16419 [__NR_lchown]: Likewise.
16420 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
16421 comment referencing __ASSUME_LCHOWN_SYSCALL.
16422 * sysdeps/unix/sysv/linux/i386/sigaction.c
16423 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16424 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16425 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
16426 Remove conditional code.
16427 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
16428 (__protocol_available): Remove #if 0 code.
16429 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
16430 conditional code.
16431 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
16432 * sysdeps/unix/sysv/linux/kernel-features.h
16433 (__ASSUME_GETCWD_SYSCALL): Don't define.
16434 (__ASSUME_REALTIME_SIGNALS): Likewise.
16435 (__ASSUME_PREAD_SYSCALL): Likewise.
16436 (__ASSUME_PWRITE_SYSCALL): Likewise.
16437 (__ASSUME_POLL_SYSCALL): Likewise.
16438 (__ASSUME_LCHOWN_SYSCALL): Likewise.
16439 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
16440 non-SPARC.
16441 (__ASSUME_SIOCGIFNAME): Don't define.
16442 (__ASSUME_MSG_NOSIGNAL): Likewise.
16443 (__ASSUME_SENDFILE): Define unconditionally.
16444 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
16445 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
16446 conditional code.
16447 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
16448 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
16449 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
16450 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16451 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
16452 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
16453 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
16455 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16456 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16458 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16459 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
16461 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16462 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
16464 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16465 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
16467 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16468 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
16470 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16471 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
16473 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16474 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
16476 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16477 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16478 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
16479 Remove conditional code.
16480 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16481 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
16482 Remove conditional code.
16483 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16484 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
16485 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
16486 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
16487 Remove conditional code.
16488 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16489 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
16490 Remove conditional code.
16491 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16492 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
16493 Remove conditional code.
16494 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16495 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
16496 Remove conditional code.
16497 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16498 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
16499 Remove conditional code.
16500 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16501 * sysdeps/unix/sysv/linux/sh/pwrite64.c
16502 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16503 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16504 * sysdeps/unix/sysv/linux/sigaction.c
16505 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16506 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16507 * sysdeps/unix/sysv/linux/sigpending.c
16508 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16509 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16510 * sysdeps/unix/sysv/linux/sigprocmask.c
16511 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16512 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16513 * sysdeps/unix/sysv/linux/sigsuspend.c
16514 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16515 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16516 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16517 (__libc_missing_rt_sigs): Remove.
16518 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
16519 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
16520 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
16521 Remove conditional code.
16522 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
16523 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
16524 return 1.
16525 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
16526 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
16527 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
16528 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
16529
1bfb7291
AJ
165302012-05-14 Andreas Jaeger <aj@suse.de>
16531
caae5a81
AJ
16532 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
16533 it's not used in glibc.
16534 (__coshm1): Likewise.
16535 (__acosh1p): Likewise.
16536 (__sgn): Likewise.
16537
1bfb7291
AJ
16538 * manual/string.texi (Copying and Concatenation): Add missing
16539 variable in concat example.
16540 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
16541
c044d724
L
165422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16543
144c5467 16544 [BZ #14103]
c044d724
L
16545 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
16546 __builtin_clzl with __builtin_clzll.
16547
2523c62b
L
165482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16549
16550 [BZ #14104]
16551 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
16552 libc_freeres_ptr.
16553
d7bb4c42
LD
165542012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16555
16556 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
16557 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
16558 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
16559 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
16560
9dc4e1fb
MF
165612012-05-14 Mike Frysinger <vapier@gentoo.org>
16562
16563 * NEWS: Update ia64 info.
16564
c7df0112
AS
165652012-05-12 Andreas Schwab <schwab@linux-m68k.org>
16566
16567 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
16568 used as bcopy.
16569
dc70356c
TS
165702012-05-12 Thomas Schwinge <thomas@codesourcery.com>
16571
16572 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
16573 * sysdeps/unix/syscalls.list (dup3): Likewise.
16574 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
16575 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
16576
9fb1a21f
L
165772012-05-11 H.J. Lu <hongjiu.lu@intel.com>
16578
16579 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
16580 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
16581
4822a2a5
L
165822012-05-11 H.J. Lu <hongjiu.lu@intel.com>
16583
16584 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
16585 thread pointer.
16586 (TLS_IE): Use mov/add instead of movq/addq to load thread
16587 pointer.
16588 (TLS_GD_PREFIX): New.
16589 (TLS_GD): Use it.
16590
842b81d6
DM
165912012-05-11 David S. Miller <davem@davemloft.net>
16592
16593 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
16594 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
16595 (_FPU_SETCW): Likewise.
16596
1cf463cd
L
165972012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16598
16599 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
16600 is 32-byte aligned.
16601
60cc4a18
AS
166022012-05-11 Andreas Schwab <schwab@linux-m68k.org>
16603
16604 [BZ #11837]
16605 * iconvdata/gb18030.c: Update tables.
16606 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
16607 characters specially.
16608 (BODY for TO_LOOP): Add encoding of missing ranges.
16609
febb44a4
TS
166102012-05-11 Thomas Schwinge <thomas@codesourcery.com>
16611
16612 [BZ #13673]
16613 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
16614 * sysdeps/mach/hurd/dup3.c: Likewise.
16615 * sysdeps/mach/hurd/readlinkat.c: Likewise.
16616 * sysdeps/powerpc/memmove.c:: Likewise.
16617
0a10fb9e
L
166182012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16619
16620 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
16621 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
16622
df8a552f
L
166232012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16624
16625 * elf/elf.h (R_X86_64_RELATIVE64): New.
16626 (R_X86_64_NUM): Updated.
16627 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16628 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
16629 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
16630 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
16631 tst-quad1pie tst-quad2pie
16632 (modules-names): Add tst-quadmod1 tst-quadmod2.
16633 ($(objpfx)tst-quad1): New dependency.
16634 ($(objpfx)tst-quad2): Likewise.
16635 ($(objpfx)tst-quad1pie): Likewise.
16636 ($(objpfx)tst-quad2pie): Likewise.
16637 * sysdeps/x86_64/tst-quad1.c: New file.
16638 * sysdeps/x86_64/tst-quad1pie.c: New file.
16639 * sysdeps/x86_64/tst-quad2.c: Likewise.
16640 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
16641 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
16642 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
16643 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
16644 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
16645
f34d6f84
ST
166462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16647
f42d41d1
ST
16648 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
16649 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
16650 * streams/stropts.h (t_scalar_t): Define type.
16651
3c3571fc
ST
16652 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
16653 (_PATH_PRESERVE): Set to "/var/lib".
16654 (_PATH_RWHODIR): Set to "/var/spool/rwho".
16655
61f06bd3
ST
16656 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
16657 instead of int.
16658
918d4d71
ST
16659 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
16660 if __dir_mkfile succeeded.
16661
f34d6f84
ST
16662 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
16663 checking for _hurd_dtablesize. Unlock it right after having
16664 finished _hurd_dtable allocation.
16665
10589b4a
TS
166662012-05-10 Thomas Schwinge <thomas@schwinge.name>
16667
674cdbc7
TS
16668 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
16669 * sysdeps/mach/hurd/configure: Regenerated.
16670 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
16671 special-casing to...
16672 * sysdeps/gnu/configure.in: ... this new file.
16673 * sysdeps/unix/sysv/linux/configure: Regenerated.
16674 * sysdeps/gnu/configure: New generated file.
16675
8e41b99f
TS
16676 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
16677 for Linux: use nsec instead of usec, as well as:
16678 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
16679 members of type struct timespec.
16680 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
16681 New macros.
16682 (struct stat64): Likewise.
16683 (_STATBUF_ST_NSEC): New macro.
16684 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
16685
10589b4a
TS
16686 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16687 __strtoul_internal rather than strtoul.
16688
63643c85
PT
166892012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16690
16691 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
16692 and reject them.
16693
3faebe6a
ST
166942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16695
16696 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
16697 which preserves existing values.
16698 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
16699
c6474b07
PT
167002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16701
16702 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
16703 TIMEOUT values. Return EINVAL for NFDS values either negative or
16704 greater than FD_SETSIZE.
16705
1043890b
ST
167062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16707
16708 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
16709 allocated, call __vm_protect to finish enabling the existing space, and
16710 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
16711 allocate the remainder.
16712
37ed8b9b
PT
167132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16714
16715 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
16716 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
16717
db653660
ST
167182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16719
37ed8b9b
PT
16720 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
16721 sysdeps/mach/hurd/readlink.c.
b29d4053 16722
db653660
ST
16723 * posix/tst-sysconf.c (posix_options): Only use
16724 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
16725 _POSIX_SYNCHRONIZED_IO when they are defined
16726 * sysdeps/mach/hurd/bits/posix_opt.h:
16727 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
16728 (_XOPEN_REALTIME): Undefine macro.
16729 (_XOPEN_REALTIME_THREADS): Undefine macro.
16730 (_XOPEN_SHM): Undefine macro.
16731 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
16732 macro to -1.
16733 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
16734 macro to -1.
16735 (_POSIX_ASYNC_IO): Undefine macro.
16736 (_POSIX_PRIORITIZED_IO): Undefine macro.
16737 (_POSIX_SPIN_LOCKS): Define macro to -1.
16738
ee16e894
ST
16739 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
16740 SA_NODEFER, SA_RESETHAND.
16741 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
16742 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
16743 F_DUPFD_CLOEXEC.
16744
6103ae3b
TS
167452012-05-10 Thomas Schwinge <thomas@schwinge.name>
16746
16747 * elf/Makefile (pldd-modules): Define unconditionally.
16748
80b4e5f3
TS
167492012-05-10 Thomas Schwinge <thomas@schwinge.name>
16750
16751 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
16752
edadcbd6
ST
167532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16754
16755 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
16756 Return ENOENT when name is empty.
16757 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
16758
80694780
TS
167592012-05-10 Thomas Schwinge <thomas@schwinge.name>
16760
1792c087
TS
16761 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
16762
80694780
TS
16763 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
16764
6b645f0d
ST
167652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16766
80694780
TS
16767 Fix mlock in all cases except non-readable pages.
16768 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
16769 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 16770
6b645f0d
ST
16771 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
16772 (__mkdir): When path is `/', just fail with EEXIST.
16773 * sysdeps/mach/hurd/mkdirat.c: Likewise.
16774
e468f8a3
TS
167752012-05-10 Thomas Schwinge <thomas@schwinge.name>
16776
16777 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
16778 <sys/uio.h> (for writev).
16779 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
16780 and <sys/param.h> (for MIN).
16781
a4186cff
PT
167822012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16783
16784 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
16785 REQUESTED_TIME. Properly set the remaining time and return EINTR
16786 if interrupted.
16787
510bbf14
TS
167882012-05-10 Thomas Schwinge <thomas@schwinge.name>
16789
16790 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
16791 Depend on against $(link-rpcuserlibs).
16792
5d5722e8
ST
167932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16794
a4186cff
PT
16795 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
16796 (__libc_stack_end): Do not use attribute_relro.
16797 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
16798 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 16799 to libthread-provided value.
a4186cff
PT
16800 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
16801 attribute_relro.
5d5722e8 16802
37233df9
TS
168032012-05-10 Thomas Schwinge <thomas@schwinge.name>
16804
be971a2b
TS
16805 [BZ #3748]
16806 * bits/libc-lock.h (__libc_once_get): New macro.
16807 * sysdeps/mach/bits/libc-lock.h: Likewise.
16808 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
16809 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
16810 instead of using implementation details.
16811
37233df9
TS
16812 * libio/fileops.c: Unconditionally include <kernel-features.h>.
16813 * libio/freopen.c: Likewise.
16814 * libio/freopen64.c: Likewise.
16815 * misc/syslog.c: Likewise.
16816 * nscd/connections.c: Likewise.
16817 * nscd/netgroupcache.c: Likewise.
16818 * sysdeps/posix/getcwd.c: Likewise.
16819
38de94a5
RM
168202012-05-10 Roland McGrath <roland@hack.frob.com>
16821
16822 * math/w_ilogbf.c: Add #include <limits.h>.
16823
67530489
ST
168242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16825
a4186cff 16826 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
16827 path instead of returning without unlocking.
16828
67530489
ST
16829 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
16830 immediate-write ioctls.
16831 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
16832
5aa3a74a
TS
168332012-05-10 Thomas Schwinge <thomas@schwinge.name>
16834
18bad2ae
TS
16835 * sysdeps/mach/hurd/i386/init-first.c (init): Use
16836 __builtin_frame_address instead of making assumptions about the
16837 location of the return address relative to DATA. Force early load of
16838 the return address.
16839 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
16840 __builtin_frame_address.
16841
5aa3a74a
TS
16842 dup3 for GNU Hurd.
16843 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
16844 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
16845 implement dup3 and do some further code clean-ups.
16846 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
16847 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
16848
ecd0de9a
ST
168492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16850
cd9fa985
ST
16851 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
16852
a4186cff
PT
16853 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
16854 HURD_CRITICAL_END around holding _hurd_dtable_lock.
16855 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
16856 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
16857 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
16858 d->port.lock.
802ca5a5 16859
a4186cff
PT
16860 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
16861 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
16862 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 16863
bcf55240
TS
168642012-05-10 Thomas Schwinge <thomas@schwinge.name>
16865
6960eb42
TS
16866 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
16867 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
16868 definitions.
16869
eb43375f
TS
16870 accept4 for GNU Hurd.
16871 * include/sys/socket.h (__libc_accept4): New prototype.
16872 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
16873 to implement __libc_accept4.
16874 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
16875 __libc_accept4.
16876 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
16877
bcf55240
TS
16878 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
16879 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
16880 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
16881 signal-defines.sym.
16882
6178c55b
ST
168832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16884
a4186cff 16885 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 16886
6f080c2f
TS
168872012-05-10 Thomas Schwinge <thomas@schwinge.name>
16888
16889 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
16890 assertion on O_CLOEXEC flag.
16891 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
16892 * hurd/intern-fd.c: Likewise.
16893 * hurd/port2fd.c: Likewise.
16894
bcfe3a54
ST
168952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16896
16897 [BZ #3906]
16898 * bits/in.h (IPV6_PKTINFO): Define new macro.
16899 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
16900
89c9aa49
AZ
169012012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16902
16903 [BZ #13954]
16904 [BZ #13955]
16905 [BZ #13956]
16906 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
16907 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16908 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
16909 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16910 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16911 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16912 * math/libm-test.inc (logb_test) : Additional logb tests.
16913
021db4be
AJ
169142012-05-09 Andreas Schwab <schwab@linux-m68k.org>
16915 Andreas Jaeger <aj@suse.de>
16916
16917 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
16918 * configure: Regenerated.
16919 * config.h.in (LINK_OBSOLETE_RPC): New macro.
16920 * config.make.in (link-obsolete-rpc): New substituted variable.
16921 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
16922 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
16923 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16924 (shared-only-routines): Don't set it under [link-obsolete-rpc],
16925 so that libc.a contains the symbols.
16926 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16927 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
16928 * sunrpc/auth_none.c: Likewise.
16929 * sunrpc/auth_unix.c: Likewise.
16930 * sunrpc/authdes_prot.c: Likewise.
16931 * sunrpc/authuxprot.c: Likewise.
16932 * sunrpc/clnt_gen.c: Likewise.
16933 * sunrpc/clnt_perr.c: Likewise.
16934 * sunrpc/clnt_raw.c: Likewise.
16935 * sunrpc/clnt_simp.c: Likewise.
16936 * sunrpc/clnt_tcp.c: Likewise.
16937 * sunrpc/clnt_udp.c: Likewise.
16938 * sunrpc/clnt_unix.c: Likewise.
16939 * sunrpc/des_crypt.c: Likewise.
16940 * sunrpc/des_soft.c: Likewise.
16941 * sunrpc/get_myaddr.c: Likewise.
16942 * sunrpc/key_call.c: Likewise.
16943 * sunrpc/key_prot.c: Likewise.
16944 * sunrpc/netname.c: Likewise.
16945 * sunrpc/pm_getmaps.c: Likewise.
16946 * sunrpc/pm_getport.c: Likewise.
16947 * sunrpc/pmap_clnt.c: Likewise.
16948 * sunrpc/pmap_prot.c: Likewise.
16949 * sunrpc/pmap_prot2.c: Likewise.
16950 * sunrpc/pmap_rmt.c: Likewise.
16951 * sunrpc/publickey.c: Likewise.
16952 * sunrpc/rpc_cmsg.c: Likewise.
16953 * sunrpc/rpc_common.c: Likewise.
16954 * sunrpc/rpc_dtable.c: Likewise.
16955 * sunrpc/rpc_prot.c: Likewise.
16956 * sunrpc/rpc_thread.c: Likewise.
16957 * sunrpc/rtime.c: Likewise.
16958 * sunrpc/svc.c: Likewise.
16959 * sunrpc/svc_auth.c: Likewise.
16960 * sunrpc/svc_raw.c: Likewise.
16961 * sunrpc/svc_run.c: Likewise.
16962 * sunrpc/svc_tcp.c: Likewise.
16963 * sunrpc/svc_udp.c: Likewise.
16964 * sunrpc/svc_unix.c: Likewise.
16965 * sunrpc/svcauth_des.c: Likewise.
16966 * sunrpc/xcrypt.c: Likewise.
16967 * sunrpc/xdr.c: Likewise.
16968 * sunrpc/xdr_array.c: Likewise.
16969 * sunrpc/xdr_float.c: Likewise.
16970 * sunrpc/xdr_intXX_t.c: Likewise.
16971 * sunrpc/xdr_mem.c: Likewise.
16972 * sunrpc/xdr_rec.c: Likewise.
16973 * sunrpc/xdr_ref.c: Likewise.
16974 * sunrpc/xdr_sizeof.c: Likewise.
16975 * sunrpc/xdr_stdio.c: Likewise.
16976
b5c086a2
RM
169772012-05-10 Roland McGrath <roland@hack.frob.com>
16978
16979 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
16980 change. Update copyright years.
16981
6d74dd09
JM
169822012-05-10 Joseph Myers <joseph@codesourcery.com>
16983
16984 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
16985
28e72501
MK
169862012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
16987 Joseph Myers <joseph@codesourcery.com>
16988 Paul Pluzhnikov <ppluzhnikov@google.com>
16989
16990 [BZ #14012]
16991 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
16992 requiring rpcgen.
16993 [cross-compiling] (extra-libs): Likewise.
16994 [cross-compiling] (extra-libs-others): Likewise.
16995 [cross-compiling] (librpcsvc-routines): Likewise.
16996 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
16997 [cross-compiling] (omit-deps): Likewise.
16998 (sunrpc-CPPFLAGS): New variable.
16999 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
17000 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
17001 (cross-rpcgen-objs): New variable.
17002 (extra-objs): Append $(cross-rpcgen-objs).
17003 ($(cross-rpcgen-objs)): New rule.
17004 ($(objpfx)cross-rpcgen): Likewise.
17005 (rpcgen-cmd): Define to use $(built-program-file). Expand
17006 comment.
17007 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
17008 ($(objpfx)x%.stmp): Likewise.
17009 * sunrpc/proto.h [IS_IN_build] (_): Define.
17010 [IS_IN_build] (_libc_intl_domainname): Likewise.
17011
c8c59454
L
170122012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17013
17014 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
17015 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
17016 and R_X86_64_TPOFF64.
17017
6f27cd16
JM
170182012-05-10 Joseph Myers <joseph@codesourcery.com>
17019
17020 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
17021 sysdeps/unix/sysv/syscalls.list.
17022 (stime): Likewise.
17023 (utime): Likewise.
17024 * sysdeps/unix/sysv/syscalls.list: Remove file.
17025
02467e1c
PE
170262012-05-10 Paul Eggert <eggert@cs.ucla.edu>
17027
17028 [BZ #3440]
17029 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
17030 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
17031 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
17032 (__LC_IDENTIFICATION): Make these macros useful in #if
17033 expressions, as required by C99.
17034
da392631
AS
170352012-05-10 Andreas Schwab <schwab@linux-m68k.org>
17036
17037 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
17038 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
17039 after this.
17040
8115f29b
L
170412012-05-09 H.J. Lu <hongjiu.lu@intel.com>
17042
17043 * stdlib/longlong.h: Updated from GCC.
17044
bdd74070
AJ
170452012-05-09 Andreas Jaeger <aj@suse.de>
17046
edfe0dbe
AJ
17047 * nscd/nscd.c (run_modes): Make named enum, reorder so that
17048 default is first entry.
17049 (run_mode): Set type.
17050 (main): Remove informal message about syslog.
17051 (options): Fix typo.
17052
bcfe3a54
ST
17053 [BZ #14053]
17054 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 17055 to asm.
bcfe3a54
ST
17056 (lrint): Likewise.
17057 (llrintf): Likewise.
17058 (llrint): Likewise.
17059 (rint): Likewise.
17060 (rintf): Likewise.
17061 (nearbyint): Likewise.
17062 (nearbyintf): Likewise.
bdd74070 17063
91d8d69e
AJ
170642012-05-09 Andreas Jaeger <aj@suse.de>
17065 Pedro Alves <palves@redhat.com>
17066
17067 * nscd/nscd.c (run_mode): Use enum.
17068 (main): Cleanup coding style issue.
17069
bb90b80b
AJ
170702012-05-09 Alexandre Oliva <aoliva@redhat.com>
17071 Andreas Jaeger <aj@suse.de>
17072
bcfe3a54
ST
17073 * nscd/nscd.c (go_background): Replaced with...
17074 (run_mode): ... this.
bb90b80b 17075 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
17076 (options): Add -F --foreground.
17077 (main): Implement it.
17078 (parse_opt): Parse it.
bb90b80b 17079
1a4b75a1
AJ
170802012-05-09 Andreas Jaeger <aj@suse.de>
17081
17082 [BZ #14083]
17083 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
17084 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
17085 -Wconversion warning.
17086 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
17087 Likewise.
17088
b1cc2472
JM
170892012-05-09 Joseph Myers <joseph@codesourcery.com>
17090
17091 * conform/data/locale.h-data (NULL): Use macro-constant. Require
17092 == 0.
17093 (LC_ALL): Use macro-int-constant.
17094 (LC_COLLATE): Likewise.
17095 (LC_CTYPE): Likewise.
17096 (LC_MESSAGES): Likewise.
17097 (LC_MONETARY): Likewise.
17098 (LC_NUMERIC): Likewise.
17099 (LC_TIME): Likewise.
17100 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
17101 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17102 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17103 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
17104 Specify type.
17105 [C99-based standards] (float_t): Expect type.
17106 [C99-based standards] (double_t): Expect type.
17107 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
17108 type.
17109 [C99-based standards] (HUGE_VALL): Likewise.
17110 [C99-based standards] (INFINITY): Likewise.
17111 [C99-based standards] (NAN): Likewise.
17112 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
17113 [C99-based standards] (FP_NAN): Likewise.
17114 [C99-based standards] (FP_NORMAL): Likewise.
17115 [C99-based standards] (FP_SUBNORMAL): Likewise.
17116 [C99-based standards] (FP_ZERO): Likewise.
17117 [C99-based standards] (FP_FAST_FMA): Use
17118 optional-macro-int-constant. Specify type. Require == 1.
17119 [C99-based standards] (FP_FAST_FMAF): Likewise.
17120 [C99-based standards] (FP_FAST_FMAL): Likewise.
17121 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
17122 [C99-based standards] (FP_ILOGBNAN): Likewise.
17123 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
17124 Specify type.
17125 [C99-based standards] (MATH_ERREXCEPT): Likewise.
17126 [C99-based standards] (math_errhandling): Specify type.
17127 [ISO99 || ISO11] (signgam): Do not allow.
17128 [non-C99-based standards] (copysignf): Do not allow.
17129 [non-C99-based standards] (exp2f): Likewise.
17130 [non-C99-based standards] (log2f): Likewise.
17131 [non-C99-based standards] (modff): Allow.
17132 [non-C99-based standards] (erff): Do not allow.
17133 [non-C99-based standards] (erfcf): Likewise.
17134 [non-C99-based standards] (gammaf): Likewise.
17135 [non-C99-based standards] (hypotf): Likewise.
17136 [non-C99-based standards] (j0f): Likewise.
17137 [non-C99-based standards] (j1f): Likewise.
17138 [non-C99-based standards] (jnf): Likewise.
17139 [non-C99-based standards] (lgammaf): Likewise.
17140 [non-C99-based standards] (tgammaf): Likewise.
17141 [non-C99-based standards] (y0f): Likewise.
17142 [non-C99-based standards] (y1f): Likewise.
17143 [non-C99-based standards] (ynf): Likewise.
17144 [non-C99-based standards] (isnanf): Likewise.
17145 [non-C99-based standards] (acoshf): Likewise.
17146 [non-C99-based standards] (asinhf): Likewise.
17147 [non-C99-based standards] (atanhf): Likewise.
17148 [non-C99-based standards] (cbrtf): Likewise.
17149 [non-C99-based standards] (expm1f): Likewise.
17150 [non-C99-based standards] (ilogbf): Likewise.
17151 [non-C99-based standards] (log1pf): Likewise.
17152 [non-C99-based standards] (logbf): Likewise.
17153 [non-C99-based standards] (nextafterf): Likewise.
17154 [non-C99-based standards] (remainderf): Likewise.
17155 [non-C99-based standards] (rintf): Likewise.
17156 [non-C99-based standards] (scalbf): Likewise.
17157 [non-C99-based standards] (copysignl): Likewise.
17158 [non-C99-based standards] (exp2l): Likewise.
17159 [non-C99-based standards] (log2l): Likewise.
17160 [non-C99-based standards] (modfl): Allow.
17161 [non-C99-based standards] (erfl): Do not allow.
17162 [non-C99-based standards] (erfcl): Likewise.
17163 [non-C99-based standards] (gammal): Likewise.
17164 [non-C99-based standards] (hypotl): Likewise.
17165 [non-C99-based standards] (j0l): Likewise.
17166 [non-C99-based standards] (j1l): Likewise.
17167 [non-C99-based standards] (jnl): Likewise.
17168 [non-C99-based standards] (lgammal): Likewise.
17169 [non-C99-based standards] (tgammal): Likewise.
17170 [non-C99-based standards] (y0l): Likewise.
17171 [non-C99-based standards] (y1l): Likewise.
17172 [non-C99-based standards] (ynl): Likewise.
17173 [non-C99-based standards] (isnanl): Likewise.
17174 [non-C99-based standards] (acoshl): Likewise.
17175 [non-C99-based standards] (asinhl): Likewise.
17176 [non-C99-based standards] (atanhl): Likewise.
17177 [non-C99-based standards] (cbrtl): Likewise.
17178 [non-C99-based standards] (expm1l): Likewise.
17179 [non-C99-based standards] (ilogbl): Likewise.
17180 [non-C99-based standards] (log1pl): Likewise.
17181 [non-C99-based standards] (logbl): Likewise.
17182 [non-C99-based standards] (nextafterl): Likewise.
17183 [non-C99-based standards] (remainderl): Likewise.
17184 [non-C99-based standards] (rintl): Likewise.
17185 [non-C99-based standards] (scalbl): Likewise.
17186 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17187 [non-C99-based standards] (FP_*): Do not allow.
17188 [C99-based standards] (FP_*): Change to
17189 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17190 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17191 allow.
17192 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
17193 (SIG_ERR): Likewise.
17194 [X/Open-based standards] (SIG_HOLD): Likewise.
17195 (SIG_IGN): Likewise.
17196 (SIGABRT): Use macro-int-constant. Specify type. Require
17197 positive value.
17198 (SIGFPE): Likewise.
17199 (SIGILL): Likewise.
17200 (SIGINT): Likewise.
17201 (SIGSEGV): Likewise.
17202 (SIGTER): Likewise.
17203 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
17204 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
17205 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
17206 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
17207 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
17208 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
17209 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
17210 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
17211 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
17212 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
17213 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
17214 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
17215 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
17216 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
17217 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
17218 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
17219 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
17220 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
17221 [X/Open-based standards] (SIGTRAP): Likewise.
17222 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
17223 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
17224 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
17225 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
17226 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17227 allow.
17228
b9f1922d
IW
172292012-05-08 Ian Wienand <ianw@vmware.com>
17230
17231 [BZ #14080]
17232 * time/tzset.c (__tzset_parse_tz): Update default rules for
17233 daylight time changes in the Energy Policy Act of 2005.
17234
1db86e88
AJ
172352012-05-09 Andreas Jaeger <aj@suse.de>
17236
17237 [BZ #13983]
17238 * elf/ldconfig.c (parse_conf): Change string to make clear that
17239 ldconfig only issued a warning if ld.so.conf does not exist.
17240
dee4a4e3
DM
172412012-05-08 David S. Miller <davem@davemloft.net>
17242
ee0db190
DM
17243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
17244 movxtod instead of popping the value on the stack.
17245
dee4a4e3
DM
17246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17247
6a43ec98
CD
172482012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
17249
17250 * config.h.in: Add HAVE_ARM_PCS_VFP.
17251
05c2c961
RMG
172522012-05-08 Roland Mc Grath <roland@hack.frob.com>
17253
bcfe3a54
ST
17254 [BZ #13979]
17255 * include/features.h: Warn if user requests __FORTIFY_SOURCE
17256 checking but the checks are disabled for any reason.
05c2c961 17257
4b30f61a
L
172582012-05-08 H.J. Lu <hongjiu.lu@intel.com>
17259
17260 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
17261 and ELF64_R_TYPE with ELFW(R_TYPE).
17262
eee2bc67
JM
172632012-05-08 Joseph Myers <joseph@codesourcery.com>
17264
7ea5391a
JM
17265 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
17266 (ulimit): Likewise.
17267
eee2bc67
JM
17268 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
17269 (settimeofday): Likewise.
17270
abb66a67
MF
172712012-05-08 Mike Frysinger <vapier@gentoo.org>
17272
17273 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
17274 a struct th_u2 inside the union, and move tu_block/tu_code into
17275 a new th_u3 union of tu_block/tu_code inside of that. Move
17276 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
17277 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
17278 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
17279 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
17280 (th_stuff): Change to th_u1.tu_stuff.
17281 (th_data): Define.
17282 (th_msg): Change to th_u1.th_u2.tu_data.
17283
7f18b530
DM
172842012-05-07 David S. Miller <davem@davemloft.net>
17285
05760585
DM
17286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17287
7f18b530
DM
17288 [BZ #14074]
17289 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
17290 (SETUP_PIC_REG): Use it.
17291 (SETUP_PIC_REG_LEAF): Use it.
17292
495fd99f
JM
172932012-05-07 Joseph Myers <joseph@codesourcery.com>
17294
17295 [BZ #13885]
17296 [BZ #13923]
17297 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17298 USE_AS_EXPM1L.
17299 (EXPL_FINITE): Likewise.
17300 (FLDLOG): Likewise.
17301 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17302 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17303 e_expl.S.
17304 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17305 USE_AS_EXPM1L.
17306 (EXPL_FINITE): Likewise.
17307 (FLDLOG): Likewise.
17308 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17309 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17310 e_expl.S.
17311 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
17312 test of -max_value argument for long double.
17313 * sysdeps/i386/fpu/libm-test-ulps: Update.
17314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17315
6693d694
DM
173162012-05-06 David S. Miller <davem@davemloft.net>
17317
17318 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
17319 quad soft-float symbols whose references which are compiler
17320 generated.
17321 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17322
6c23e11c
JM
173232012-05-06 Joseph Myers <joseph@codesourcery.com>
17324
d8b82cad
JM
17325 [BZ #13884]
17326 [BZ #13914]
17327 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17328 USE_AS_EXP10L.
17329 (EXPL_FINITE): Likewise.
17330 (FLDLOG): Likewise.
17331 (c0): Likewise.
17332 (c1): Likewise.
17333 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
17334 Adjust comments for base varying.
17335 (__expl_finite): Change alias to EXPL_FINITE.
17336 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
17337 e_expl.S.
17338 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
17339 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17340 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17341 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
17342 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17343 USE_AS_EXP10L.
17344 (EXPL_FINITE): Likewise.
17345 (FLDLOG): Likewise.
17346 (c0): Likewise.
17347 (c1): Likewise.
17348 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
17349 Adjust comments for base varying.
17350 (__expl_finite): Change alias to EXPL_FINITE.
17351 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
17352 tests for bugs.
17353 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17354
6c23e11c
JM
17355 [BZ #14064]
17356 * math/libm-test.inc (check_float_internal): Correct ulp
17357 calculation for subnormal expected results.
17358
29ba805c
AJ
173592012-05-06 Andreas Jaeger <aj@suse.de>
17360
17361 * Makeconfig (+math-flags): New, set to -frounding-math.
17362 (+cflags): Add +math-flags so that all of glibc gets compiled with
17363 it.
17364
17365 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
17366
7b17aeda
JM
173672012-05-05 Joseph Myers <joseph@codesourcery.com>
17368
5779f134
JM
17369 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
17370 Disable one test.
17371
41498f4d
JM
17372 [BZ #13787]
17373 [BZ #13922]
17374 [BZ #14036]
17375 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
17376 (__ieee754_expl): Allow for and saturate large arguments.
17377 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
17378 (u_threshold): Likewise.
17379 (__exp): Call __ieee754_exp before checking for overflow and
17380 underflow.
17381 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
17382 (u_threshold): Likewise.
17383 (__expf): Call __ieee754_expf before checking for overflow and
17384 underflow.
17385 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
17386 (u_threshold): Likewise.
17387 (__expl): Call __ieee754_expl before checking for overflow and
17388 underflow.
17389 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
17390 (__ieee754_expl): Allow for and saturate large arguments.
17391 * math/libm-test.inc (exp_test): Add another test. Do not allow
17392 missing overflow exception on overflow.
17393 (expm1_test): Do not allow missing overflow exception on overflow.
17394
6698b8bf
JM
17395 * sysdeps/i386/fpu/e_expl.c: Move to ...
17396 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
17397 rather than using inline asm.
17398 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
17399 * sysdeps/x86_64/fpu/e_expl.S: Copy from
17400 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
17401
7b17aeda
JM
17402 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
17403 (nice): Likewise.
17404 (poll): Likewise.
17405 (signal): Likewise.
17406 (time): Likewise.
17407 (times): Likewise.
17408
f7c85819
JM
174092012-05-04 Joseph Myers <joseph@codesourcery.com>
17410
17411 * sysdeps/unix/syscalls.list (adjtime): Add entry from
17412 sysdeps/unix/common/syscalls.list.
17413 (fchmod): Likewise.
17414 (fchown): Likewise.
17415 (ftruncate): Likewise.
17416 (getrusage): Likewise.
17417 (gettimeofday): Likewise.
17418 (setpgid): Likewise.
17419 (setregid): Likewise.
17420 (setreuid): Likewise.
17421 (sigaction): Likewise.
17422 (truncate): Likewise.
17423 (vhangup): Likewise.
17424 * sysdeps/unix/common/syscalls.list: Remove file.
17425 * sysdeps/unix/bsd/Implies: Don't include unix/common.
17426 * sysdeps/unix/sysv/linux/Implies: Likewise.
17427
336270d0
L
174282012-05-04 H.J. Lu <hongjiu.lu@intel.com>
17429
17430 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
17431 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
17432 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
17433 Moved to ...
17434 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17435 Here.
17436 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
17437 to ...
17438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
17439 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
17440 to ...
17441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
17442 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
17443 to ...
17444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
17445 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
17446 to ...
17447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
17448 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
17449 to ...
17450 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
17451 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
17452 to ...
17453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
17454 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
17455 to ...
17456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17457 Here.
17458 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
17459 to ...
17460 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
17461 Here.
17462 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
17463 to ...
17464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
17465 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
17466 Moved to ...
17467 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
17468 Here.
17469 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
17470 to ...
17471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
17472
d128e450
JM
174732012-05-04 Joseph Myers <joseph@codesourcery.com>
17474
fa8ee516
JM
17475 * sysdeps/unix/common/bits/dirent.h: Remove file.
17476 * sysdeps/unix/common/bits/fcntl.h: Likewise.
17477
d128e450
JM
17478 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
17479 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
17480 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
17481 * sysdeps/unix/bsd/isatty.c: Likewise.
17482 * sysdeps/unix/bsd/tcdrain.c: Likewise.
17483 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
17484 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
17485
ff8faaf0 174862012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 17487
62881be4 17488 [BZ #13563]
31dc8730
AZ
17489 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
17490 long double comparison inaccuracies.
17491 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17493
6fef930c
AS
174942012-05-04 Andreas Schwab <schwab@linux-m68k.org>
17495
17496 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
17497 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
17498
8f203e6c
JM
174992012-05-04 Joseph Myers <joseph@codesourcery.com>
17500
17501 [BZ #14049]
17502 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
17503 nonzero digits before rounding a hex value.
17504 * stdlib/tst-strtod.c (tests): Add another test.
17505
5197d9c2
AK
175062012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17507
17508 * sysdeps/s390/fpu/libm-test-ulps: Update.
17509
f0c1dedf
AJ
175102012-05-03 Andreas Jaeger <aj@suse.de>
17511
17512 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
17513 does not get optimized out.
17514 (malloc_opt_barrier): New.
17515
a65ef2ae 175162012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 17517 Roland McGrath <roland@hack.frob.com>
a65ef2ae 17518
2b942cb7 17519 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 17520 intermediate file deletion.
2b942cb7 17521 (generated): Add .symlist files.
a65ef2ae 17522
54b71e02
JM
175232012-05-03 Joseph Myers <joseph@codesourcery.com>
17524
17525 [BZ #13775]
17526 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
17527 Redirect under this condition.
17528 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17529 [__USE_GNU] (__dprintf_chk): Not under this condition.
17530 [__USE_GNU] (__vdprintf_chk): Likewise.
17531 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
17532 under this condition.
17533 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17534 [__USE_XOPEN2K8] (dprintf): Define under this condition.
17535 [__USE_XOPEN2K8] (vdprintf): Likewise.
17536 [__USE_GNU] (__dprintf_chk): Not under this condition.
17537 [__USE_GNU] (__vdprintf_chk): Likewise.
17538 [__USE_GNU] (dprintf): Likewise.
17539 [__USE_GNU] (vdprintf): Likewise.
17540
d3dfcc41
RM
175412012-05-03 Roland McGrath <roland@hack.frob.com>
17542
17543 * elf/Makefile (common-generated): Set this instead of generated for
17544 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
17545 $(all-built-dso)-derived lists.
17546
7ac30cc5
AJ
175472012-05-03 Andreas Jaeger <aj@suse.de>
17548
0c51e550
AJ
17549 * sysdeps/i386/fpu/libm-test-ulps: Update.
17550
7ac30cc5
AJ
17551 * FAQ: Removed.
17552 * FAQ.in: Likewise.
17553 * scripts/gen-FAQ.pl: Likewise.
17554 * manual/install.texi (Installation): Point to online location of
17555 FAQ.
17556 * Makefile (files-for-dist): Remove FAQ.
17557 (FAQ): Remove.
17558
d4c2917f
AM
175592012-05-02 Allan McRae <allan@archlinux.org>
17560
17561 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
17562 (LDFLAGS-reldepmod5.so): Likewise.
17563 (LDFLAGS-reldep6mod1.so): Likewise.
17564 (LDFLAGS-reldep6mod4.so): Likewise.
17565 (LDFLAGS-reldep8mod3.so): Likewise.
17566 (LDFLAGS-unload4mod1.so): Likewise.
17567 (LDFLAGS-unload4mod2.so): Likewise.
17568 (LDFLAGS-tst-initorder): Likewise.
17569 (LDFLAGS-tst-initordera2.so): Likewise.
17570 (LDFLAGS-tst-initordera3.so): Likewise.
17571 (LDFLAGS-tst-initordera4.so): Likewise.
17572 (LDFLAGS-tst-initorderb2.so): Likewise.
17573 (LDFLAGS-noload): Likewise.
17574 (LDFLAGS-next): Likewise.
17575 (LDFLAGS-order2mod1.so): Likewise.
17576 (LDFLAGS-order2mod2.so): Likewise.
17577 (LDFLAGS-tst-initorder2): Likewise.
17578 (LDFLAGS-tst-initorder2a.so): Likewise.
17579 (LDFLAGS-tst-initorder2b.so): Likewise.
17580 (LDFLAGS-tst-initorder2c.so): Likewise.
17581 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
17582
d77f993f
DM
175832012-05-02 David S. Miller <davem@davemloft.net>
17584
17585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17586
171a70b4
PP
175872012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
17588
17589 [BZ #14055]
17590 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
17591
0be196ad
AJ
175922012-05-02 Andreas Jaeger <aj@suse.de>
17593
17594 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
17595 since we manipulate rounding mode.
17596 (CPPFLAGS-test-idouble.c): Likewise.
17597 (CPPFLAGS-test-ifloat.c): Likewise.
17598 (CFLAGS-test-ldouble.c): Likewise.
17599 (CFLAGS-test-double.c): Likewise.
17600 (CFLAGS-test-float.c): Likewise.
17601 (CFLAGS-test-misc.c): Likewise.
17602 (CFLAGS-test-test-fenv.c): Likewise.
17603
4f9d04aa
AZ
176042012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17605
2b942cb7
RM
17606 [BZ #2550]
17607 [BZ #2570]
17608 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
17609 comparisons to determine direction to adjust input.
4f9d04aa 17610
82a79e7d
RM
176112012-05-01 Roland McGrath <roland@hack.frob.com>
17612
f5a01ca9
RM
17613 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
17614 output to the target.
17615
90fe4186
RM
17616 * scripts/localplt.awk: New file.
17617 * elf/Makefile ($(objpfx)check-localplt): Target removed.
17618 (check-localplt-CFLAGS): Variable removed.
17619 ($(all-built-dso:=.jmprel)): New static pattern rule.
17620 (generated): Add those targets.
17621 (localplt-built-dso): New variable.
17622 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
17623
17624 * elf/check-localplt.c: File removed.
17625
82397ed6
RM
17626 * scripts/check-execstack.awk: New file.
17627 * elf/Makefile ($(objpfx)check-execstack): Target removed.
17628 (check-execstack-CFLAGS): Variable removed.
17629 ($(objpfx)check-execstack.h): Target removed.
17630 ($(objpfx)execstack-default): New target.
17631 (generated): Add that instead of check-execstack.h.
17632 ($(all-built-dso:=.phdr)): New static pattern rule.
17633 (generated): Add those targets.
17634 * elf/check-execstack.c: File removed.
17635
82a79e7d
RM
17636 * scripts/check-textrel.awk: New file.
17637 * elf/Makefile ($(objpfx)check-textrel): Target removed.
17638 (check-textrel-CFLAGS): Variable removed.
17639 (all-built-dso): Use := to define.o
17640 ($(all-built-dso:=.dyn)): New static pattern rule.
17641 (generated): Add those targets.
17642 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
17643 * config.make.in (READELF): New substituted variable.
17644 * elf/check-textrel.c: File removed.
17645
62fde54f 176462012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 17647
615605c9
JM
17648 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17649 allow.
17650 * conform/data/ctype.h-data [C99-based standards] (isblank):
17651 Expect function.
17652 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
17653 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
17654 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17655 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
17656 Specify type. Require positive value.
17657 (EILSEQ): Likewise.
17658 (ERANGE): Likewise.
17659 [ISO || POSIX] (EILSEQ): Do not expect.
17660 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
17661 Specify type. Require positive value.
17662 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
17663 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
17664 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
17665 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
17666 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
17667 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
17668 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
17669 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
17670 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
17671 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
17672 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
17673 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
17674 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
17675 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
17676 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
17677 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
17678 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
17679 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
17680 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
17681 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
17682 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
17683 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
17684 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
17685 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
17686 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
17687 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
17688 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
17689 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
17690 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
17691 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
17692 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
17693 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
17694 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
17695 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
17696 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
17697 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
17698 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
17699 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
17700 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
17701 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
17702 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
17703 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
17704 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
17705 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
17706 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
17707 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
17708 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
17709 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
17710 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
17711 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
17712 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
17713 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
17714 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
17715 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
17716 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
17717 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
17718 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
17719 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
17720 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
17721 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
17722 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
17723 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
17724 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
17725 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
17726 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
17727 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
17728 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
17729 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
17730 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
17731 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
17732 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
17733 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
17734 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
17735 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
17736 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
17737 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
17738 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
17739 Require >= 2.
17740 (FLT_ROUNDS): Expect as macro, not constant.
17741 (FLT_MANT_DIG): Use macro-int-constant.
17742 (DBL_MANT_DIG): Likewise.
17743 (LDBL_MANT_DIG): Likewise.
17744 (FLT_DIG): Likewise.
17745 (DBL_DIG): Likewise.
17746 (LDBL_DIG): Likewise.
17747 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
17748 (DBL_MIN_EXP): Likewise.
17749 (LDBL_MIN_EXP): Likewise.
17750 (FLT_MAX_EXP): Use macro-int-constant.
17751 (DBL_MAX_EXP): Likewise.
17752 (LDBL_MAX_EXP): Likewise.
17753 (FLT_MAX_10_EXP): Likewise.
17754 (DBL_MAX_10_EXP): Likewise.
17755 (LDBL_MAX_10_EXP): Likewise.
17756 (FLT_MAX): Use macro-constant.
17757 (DBL_MAX): Likewise.
17758 (LDBL_MAX): Likewise.
17759 (FLT_EPSILON): Use macro-constant. Give upper bound.
17760 (DBL_EPSILON): Likewise.
17761 (LDBL_EPSILON): Likewise.
17762 (FLT_MIN): Likewise.
17763 (DBL_MIN): Likewise.
17764 (LDBL_MIN): Likewise.
17765 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
17766 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
17767 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
17768 [ISO11] (FLT_HAS_SUBNORM): Likewise.
17769 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
17770 [ISO11] (DBL_DECIMAL_DIG): Likewise.
17771 [ISO11] (FLT_DECIMAL_DIG): Likewise.
17772 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
17773 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
17774 [ISO11] (FLT_TRUE_MIN): Likewise.
17775 [ISO11] (LDBL_TRUE_MIN): Likewise.
17776 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17777 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
17778 (SCHAR_MIN): Use macro-int-constant. Specify type.
17779 (SCHAR_MAX): Likewise.
17780 (UCHAR_MAX): Likewise.
17781 (CHAR_MIN): Likewise.
17782 (CHAR_MAX): Likewise.
17783 (MB_LEN_MAX): Use macro-int-constant.
17784 (SHRT_MIN): Use macro-int-constant. Specify type.
17785 (SHRT_MAX): Likewise.
17786 (USHRT_MAX): Likewise.
17787 (INT_MAX): Likewise.
17788 (INT_MIN): Use macro-int-constant. Specify type. Make upper
17789 bound negative.
17790 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
17791 bound with "U".
17792 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17793 bound with "L".
17794 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
17795 bound negative. Suffix upper bound with "L".
17796 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17797 bound with "UL".
17798 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
17799 Specify type.
17800 [C99-based standards] (LLONG_MAX): Likewise.
17801 [C99-based standards] (ULLONG_MAX): Likewise.
17802 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
17803 == 0.
17804 [ISO11] (max_align_t): Require type.
17805 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17806
c9140a62
JM
17807 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
17808 from $CFLAGS, without defining away __attribute__ calls.
17809 (checknamespace): Use $CFLAGS_namespace.
17810
9af0bf29
JM
17811 * conform/conformtest.pl (@keywords): Only include C99 keywords
17812 for standards based on C99 or C11.
17813
343222a2
JM
17814 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
17815 Disable tests.
17816 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
17817 UNIX98]: Likewise.
17818
661f8cf0
JM
17819 * conform/conformtest.pl: Handle "macro-int-constant" and test for
17820 usability of symbols in #if.
17821
ee74b9cb
JM
17822 * conform/conformtest.pl: If macro or constant types start
17823 "promoted:", expect the symbol to be of the following type
17824 promoted by the integer promotions.
62fde54f 17825
aafc49b3
JM
17826 * conform/conformtest.pl: Parse all "constant" and "macro" lines
17827 in one place. Also handle "macro-constant".
17828
fefdf574
JM
17829 * conform/conformtest.pl: Only accept expected macro values with
17830 "==". Parse all "macro" lines in one place.
17831 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
17832
f2d922fe
JM
17833 * conform/conformtest.pl: Handle braced types on "constant" lines
17834 instead of handling "typed-constant".
17835 * conform/data/signal.h-data: Use "constant" instead of
17836 "typed-constant".
17837
d22956c9
JM
17838 * conform/conformtest.pl: Handle "optional-" at start of lines in
17839 one place rather than duplicating several cases. Handle each
17840 format of "macro" line with initial "optional-".
17841
028e2e38
JM
17842 * conform/conformtest.pl: Only accept expected constant or
17843 optional-constant values with "==". Parse all "constant" lines in
17844 one place. Parse all "optional-constant" lines in one place.
17845 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
17846 * conform/data/fmtmsg.h-data: Likewise.
17847 * conform/data/netinet/in.h-data: Likewise.
17848 * conform/data/tar.h-data: Likewise.
17849 * conform/data/limits.h-data: Use "==" form on "constant" and
17850 "optional-constant" lines.
17851
1b8f2850
JM
17852 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
17853 Use -std=c99 for XOPEN2K.
17854 (@knownproblems): Remove.
17855 (newtoken): Don't check %isknown.
17856
a05a144b
JM
17857 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
17858 Do not expect macro.
17859 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
17860 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
17861 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
17862 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
17863 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
17864 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
17865 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
17866 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
17867 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
17868 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
17869 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
17870 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
17871 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
17872 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
17873 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
17874 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
17875 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
17876 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
17877 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
17878 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
17879 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
17880 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
17881 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
17882 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
17883 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
17884 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
17885 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
17886 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
17887 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
17888 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
17889 [XPG3] (acosh): Likewise.
17890 [XPG3] (asinh): Likewise.
17891 [XPG3] (atanh): Likewise.
17892 [XPG3] (cbrt): Likewise.
17893 [XPG3] (expm1): Likewise.
17894 [XPG3] (ilogb): Likewise.
17895 [XPG3] (log1p): Likewise.
17896 [XPG3] (logb): Likewise.
17897 [XPG3] (nextafter): Likewise.
17898 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
17899 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
17900 [XPG3] (remainder): Likewise.
17901 [XPG3] (rint): Likewise.
17902 [XPG3 || XPG4 || UNIX98] (round): Likewise.
17903 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
17904 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
17905 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
17906 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
17907 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
17908 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
17909 [UNIX98 || XOPEN2K] (scalb): Expect.
17910 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
17911 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
17912 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
17913 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
17914 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
17915 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
17916 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
17917 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
17918 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
17919 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
17920 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
17921 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
17922 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
17923 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
17924 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
17925 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
17926 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
17927 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
17928 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
17929 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
17930 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
17931 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
17932 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
17933 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
17934 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
17935 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
17936 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
17937 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
17938 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
17939 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
17940 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
17941 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
17942 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
17943 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
17944 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
17945 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
17946 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
17947 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
17948 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
17949 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
17950 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
17951 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
17952 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
17953 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
17954 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
17955 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
17956 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
17957 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
17958 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
17959 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
17960 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
17961 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
17962 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
17963 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
17964 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
17965 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
17966 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
17967 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
17968 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
17969 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
17970 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
17971 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
17972 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
17973 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
17974 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
17975 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
17976 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
17977 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
17978 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
17979 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
17980 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
17981 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
17982 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
17983 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
17984 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
17985 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
17986 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
17987 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
17988 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
17989 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
17990 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
17991 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
17992 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
17993 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
17994 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
17995 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
17996 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
17997 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
17998 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
17999 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
18000 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
18001 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
18002 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
18003 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
18004 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
18005 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
18006 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
18007 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
18008 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
18009 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
18010 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
18011 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
18012 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
18013 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
18014 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
18015 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
18016 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
18017 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
18018 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
18019 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
18020 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
18021 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
18022 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
18023 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
18024 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
18025 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
18026 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
18027 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
18028 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
18029 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
18030 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
18031 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
18032 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
18033 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
18034 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
18035 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
18036 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
18037 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
18038 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
18039 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
18040 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
18041 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
18042 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
18043 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
18044 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
18045 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
18046 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
18047
73c5ebe3
JM
18048 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
18049 _XOPEN_SOURCE_EXTENDED for XPG4.
18050
39c33b6c
JM
18051 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
18052
62fde54f
JM
18053 * Makeconfig (localtime): Remove variable.
18054 (inst_localtime-file): Likewise.
18055
0741d64c
AS
180562012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18057
18058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18059 Update.
18060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18061 Update.
18062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18063 Update.
18064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18065 Update.
18066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18067 Update.
18068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
18069 Update.
18070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18071 Update.
18072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
18073 Update.
18074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18075 Update.
18076
7cb029ee
JM
180772012-05-01 Joseph Myers <joseph@codesourcery.com>
18078
18079 [BZ #2550]
18080 [BZ #2570]
18081 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
18082 comparisons to determine direction to adjust input.
18083 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18084 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
18085 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18086 Likewise.
18087 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18088 Likewise.
18089 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18090 Likewise.
18091 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18092 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18093 Likewise.
18094 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18095 Likewise.
18096 * math/libm-test.inc (nexttoward_test): Add more tests.
18097
412bd966
AS
180982012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18099
18100 [BZ #14040]
18101 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
18102 in version GLIBC_2.1, not GLIBC_2.0.
18103 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
18104 Likewise.
18105
9568c0c2
JM
181062012-04-30 Joseph Myers <joseph@codesourcery.com>
18107
adfbc8ac
JM
18108 [BZ #13942]
18109 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
18110 (1 - x) * (1 + x).
18111 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18112 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
18113 * math/libm-test.inc (acos_test): Add more tests.
18114 (asin_test): Likewise.
18115 * sysdeps/i386/fpu/libm-test-ulps: Update.
18116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18117
5ba3cc69
JM
18118 [BZ #14034]
18119 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
18120 of square root.
18121 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
18122 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18123 * math/libm-test.inc (acos_test_tonearest): New function.
18124 (acos_test_towardzero): Likewise.
18125 (acos_test_downward): Likewise.
18126 (acos_test_upward): Likewise.
18127 (asin_test_tonearest): Likewise.
18128 (asin_test_towardzero): Likewise.
18129 (asin_test_downward): Likewise.
18130 (asin_test_upward): Likewise.
18131 (main): Call the new functions.
18132 * sysdeps/i386/fpu/libm-test-ulps: Update.
18133 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18134
9568c0c2
JM
18135 [BZ #13884]
18136 [BZ #13924]
18137 * math/e_exp10.c: Include <float.h>.
18138 (__ieee754_exp10): Handle underflow here rather than multiplying
18139 large negative argument by M_LN10.
18140 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
18141 of __ieee754_expf.
18142 * math/e_exp10l.c: Include <float.h>.
18143 (__ieee754_exp10l): Handle underflow here rather than multiplying
18144 large negative argument by M_LN10l.
18145 * math/libm-test.inc (exp10_test): Add another test. Do not allow
18146 spurious overflow exception on underflow.
18147
5ac3ea17
MP
181482012-04-29 Marek Polacek <polacek@redhat.com>
18149
18150 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
18151 (__fortify_function): New macro.
18152 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
18153 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
18154 __extern_always_inline.
18155 * libio/bits/stdio2.h: Likewise.
18156 * libio/bits/stdio.h: Likewise.
18157 * string/string.h: Likewise.
18158 * string/bits/string3.h: Likewise.
18159 * include/stdio.h: Likewise.
18160 * stdlib/bits/stdlib.h: Likewise.
18161 * stdlib/stdlib.h: Likewise.
18162 * rt/bits/mqueue2.h: Likewise.
18163 * rt/mqueue.h: Likewise.
18164 * posix/bits/unistd.h: Likewise.
18165 * posix/unistd.h: Likewise.
18166 * io/bits/poll2.h: Likewise.
18167 * io/bits/fcntl2.h: Likewise.
18168 * io/fcntl.h: Likewise.
18169 * io/sys/poll.h: Likewise.
18170 * misc/bits/syslog.h: Likewise.
18171 * misc/bits/syslog-ldbl.h: Likewise.
18172 * misc/sys/syslog.h: Likewise.
18173 * socket/bits/socket2.h: Likewise.
18174 * socket/sys/socket.h: Likewise.
18175 * debug/tst-chk1.c: Likewise.
18176 * wcsmbs/bits/wchar2.h: Likewise.
18177 * wcsmbs/bits/wchar-ldbl.h: Likewise.
18178 * wcsmbs/wchar.h: Likewise.
18179
ecf0ebfb
AJ
181802012-04-29 Andreas Jaeger <aj@suse.de>
18181
18182 * Makerules (tests): Remove enable-check-abi protection.
18183 (check-abi-warn): Remove.
18184 (check-abi-%): Remove check-abi-warn usage.
18185
18186 * configure.in: Remove check-abi configure option.
18187 * configure: Regenerated.
18188 * config.make.in (enable-check-abi): Remove.
18189
6d5c57fa
AS
181902012-04-28 Andreas Schwab <schwab@linux-m68k.org>
18191
24c5d07e 18192 [BZ #14033]
ded5180a
AS
18193 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
18194 double functions to double *_finite functions.
18195
7e0d315d
AS
18196 [BZ #13941]
18197 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
18198 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
18199 LDBL_MIN_EXP.
18200 * stdio-common/Makefile (tests): Add tst-sprintf3.
18201 * stdio-common/tst-sprintf3.c: New file.
18202
6d5c57fa
AS
18203 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
18204 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
18205
0749ff8b
JM
182062012-04-28 Joseph Myers <joseph@codesourcery.com>
18207
18208 * conform/conformtest.pl: Remove duplicate typed-constant
18209 handling.
18210
8dbd5d7b
DM
182112012-04-28 David S. Miller <davem@davemloft.net>
18212
18213 * Makerules (%.abilist): Add vpath on sysdep_dirs.
18214 (check-abi-%): Remove AWK script prerequisite and explicit
18215 abilist directory.
18216 (check-abi): Rewrite to just diff the symlist with the abilist.
18217 (config-tls, config-abi-config): Delete, no longer used.
18218 (update-abi-%): Remove AWK script and explicit abilist directory.
18219 (update-abi): Rewrite to simply compare and conditionally copy the
18220 symlist and the sysdep abilist file. Remove update-abi-config
18221 checks.
18222 * abilist/ld.abilist: Remove.
18223 * abilist/libBrokenLocale.abilist: Remove.
18224 * abilist/libanl.abilist: Remove.
18225 * abilist/libcrypt.abilist: Remove.
18226 * abilist/libdl.abilist: Remove.
18227 * abilist/librt.abilist: Remove.
18228 * abilist/libthread_db.abilist: Remove.
18229 * abilist/libutil.abilist: Remove.
18230 * scripts/extract-abilist.awk: Remove.
18231 * scripts/merge-abilist.awk: Remove.
18232 * sysdeps/generic/libcidn.abilist: New file.
18233 * sysdeps/generic/libnss_compat.abilist: New file.
18234 * sysdeps/generic/libnss_db.abilist: New file.
18235 * sysdeps/generic/libnss_dns.abilist: New file.
18236 * sysdeps/generic/libnss_files.abilist: New file.
18237 * sysdeps/generic/libnss_hesiod.abilist: New file.
18238 * sysdeps/generic/libnss_nis.abilist: New file.
18239 * sysdeps/generic/libnss_nisplus.abilist: New file.
18240 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
18241 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
18242 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
18243 file.
18244 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
18245 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
18246 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
18247 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
18248 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
18249 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
18250 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
18251 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
18252 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
18253 file.
18254 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
18255 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
18256 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
18257 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
18258 file.
18259 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
18260 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
18261 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
18262 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
18263 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
18264 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
18265 file.
18266 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
18267 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
18268 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
18269 file.
18270 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
18271 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
18272 New file.
18273 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
18274 New file.
18275 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
18276 New file.
18277 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
18278 New file.
18279 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
18280 New file.
18281 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
18282 New file.
18283 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
18284 New file.
18285 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
18286 New file.
18287 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
18288 New file.
18289 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
18290 New file.
18291 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
18292 New file.
18293 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
18294 New file.
18295 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
18296 New file.
18297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
18298 file.
18299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18300 New file.
18301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18302 New file.
18303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
18304 file.
18305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18306 New file.
18307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18308 New file.
18309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
18310 file.
18311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18312 New file.
18313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18314 New file.
18315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18316 New file.
18317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18318 New file.
18319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18320 New file.
18321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18322 New file.
18323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
18324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
18325 file.
18326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18327 New file.
18328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
18329 file.
18330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
18331 file.
18332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
18333 file.
18334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
18335 file.
18336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
18337 file.
18338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18339 New file.
18340 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
18341 file.
18342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
18343 file.
18344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18345 New file.
18346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
18347 file.
18348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
18349 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
18350 file.
18351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18352 New file.
18353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
18354 file.
18355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
18356 file.
18357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
18358 file.
18359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
18360 file.
18361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
18362 file.
18363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18364 New file.
18365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
18366 file.
18367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
18368 file.
18369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18370 New file.
18371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
18372 file.
18373 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18374 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
18375 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
18376 file.
18377 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
18378 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
18379 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
18380 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
18381 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
18382 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
18383 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
18384 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
18385 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
18386 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
18387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
18388 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
18389 file.
18390 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18391 New file.
18392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
18393 file.
18394 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
18395 file.
18396 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
18397 file.
18398 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
18399 file.
18400 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
18401 file.
18402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18403 New file.
18404 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
18405 New file.
18406 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
18407 file.
18408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
18409 New file.
18410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
18411 file.
18412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
18413 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
18414 file.
18415 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
18416 New file.
18417 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
18418 file.
18419 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
18420 file.
18421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
18422 file.
18423 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
18424 file.
18425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
18426 file.
18427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18428 New file.
18429 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
18430 New file.
18431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
18432 file.
18433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
18434 New file.
18435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
18436 file.
18437
41d73a1b
JM
184382012-04-28 Joseph Myers <joseph@codesourcery.com>
18439
18440 * conform/conformtest.pl: Fix typo in handling typed-constant from
18441 allow-header.
18442
28aeeda4
JM
184432012-04-27 Joseph Myers <joseph@codesourcery.com>
18444
adae8f5e
JM
18445 * README: Cut down references to pre-2.6 Linux kernels and
18446 Linuxthreads. Update lists of configurations in libc and ports
18447 and sort alphabetically. Say "or newer" with Linux kernel version
18448 requirements.
18449
28aeeda4
JM
18450 * config.h.in [IS_IN_build]: Allow compiling without optimization.
18451
a462cb63
RA
184522012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18453
18454 [BZ #887]
18455 * math/libm-test.inc (logb_test_downward): New test to expose
18456 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
18457 rounding mode.
18458
6ad3493e
JM
184592012-04-27 Joseph Myers <joseph@codesourcery.com>
18460
18461 [BZ #14027]
18462 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
18463 to be done.
18464 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
18465 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
18466
2ce4f015
JM
184672012-04-26 Joseph Myers <joseph@codesourcery.com>
18468
5aeb141a
JM
18469 * sysdeps/unix/i386/brk.S: Remove file.
18470 * sysdeps/unix/i386/dl-brk.S: Likewise.
18471 * sysdeps/unix/i386/pipe.S: Likewise.
18472 * sysdeps/unix/i386/sigreturn.S: Likewise.
18473 * sysdeps/unix/i386/syscall.S: Likewise.
18474 * sysdeps/unix/i386/vfork.S: Likewise.
18475 * sysdeps/unix/i386/wait.S: Likewise.
18476
7143acae
JM
18477 * sysdeps/unix/common/tcsendbrk.c: Move to ...
18478 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
18479
2ce4f015
JM
18480 * configure.in (arm*-none*): Do not allow without
18481 --enable-hacker-mode.
18482 (netbsd*): Remove case setting base_os.
18483 (386bsd*): Likewise.
18484 (freebsd*): Likewise.
18485 (bsdi*): Likewise.
18486 (osf*): Likewise.
18487 (sunos*): Likewise.
18488 (ultrix*): Likewise.
18489 (newsos*): Likewise.
18490 (dynix*): Likewise.
18491 (*bsd*): Likewise.
18492 (sysv*): Likewise.
18493 (isc*): Likewise.
18494 (esix*): Likewise.
18495 (sco*): Likewise.
18496 (minix*): Likewise.
18497 (irix4*): Likewise.
18498 (irix6*): Likewise.
18499 (solaris[2-9]*): Likewise.
18500 (none): Likewise.
18501 * configure: Regenerated.
18502
0ac229c8
AZ
185032012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18504
18505 [BZ #11521]
18506 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
18507 overflow or cancellation in calculating denominator.
18508 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
18509 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
18510 down expression to avoid unexpected rounding in newer GCCs.
18511 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
18512
33f244f4
DM
185132012-04-26 David S. Miller <davem@davemloft.net>
18514
18515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
18516 long-double compat symbols.
18517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
18521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
18525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
18526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
18527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
18528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
18529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18530
cfa1f3e8
DM
185312012-04-25 David S. Miller <davem@davemloft.net>
18532
18533 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
18534 HWCAP_* values only after the memory barriers have been defined.
18535 (atomic_full_barrier): Define.
18536 (atomic_read_barrier): Define.
18537 (atomic_write_barrier): Define.
18538
6e236b92
SP
185392012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18540
18541 * shlib-versions: Add libgcc_s version information.
18542 * sysdeps/generic/libgcc_s.h: Remove.
18543 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
18544 libgcc_s.h.
18545 * sysdeps/gnu/unwind-resume.c: Likewise.
18546 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
18547
aab39a09
DM
185482012-04-25 David S. Miller <davem@davemloft.net>
18549
18550 * sysdeps/unix/sparc/brk.S: Delete.
18551 * sysdeps/unix/sparc/dl-brk.S: Delete.
18552 * sysdeps/unix/sparc/pipe.S: Delete.
18553 * sysdeps/unix/sparc/sysdep.S: Delete.
18554 * sysdeps/unix/sparc/sysdep.h: Delete.
18555 * sysdeps/unix/sparc/vfork.S: Delete.
18556 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
18557 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
18558 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
18559 ret_ERRVAL, r0, r1, MOVE): Define.
18560 (JUMPTARGET): Remove.
18561 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
18562 sysdeps/unix/sparc/sysdep.h
18563 (ENTRY, END): Remove.
18564 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18565
a3cc4f48
JM
185662012-04-25 Joseph Myers <joseph@codesourcery.com>
18567
2ed8cda2
JM
18568 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
18569 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
18570 -DIS_IN_build.
18571
35d76d59
JM
18572 * timezone/README: Update upstream location and email address for
18573 tzcode and tzdata.
18574 * timezone/zdump.c: Update from tzcode 2012b.
18575 * timezone/zic.c: Likewise.
18576
a3cc4f48
JM
18577 * configure.in (libc_cv_as_needed): Remove test.
18578 * configure: Regenerated.
18579 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
18580 conditional definition.
18581 [$(have-as-needed) != yes] (no-as-needed): Likewise.
18582 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
18583 * config.make.in (have-as-needed): Remove variable.
18584
ceab42c3
SP
185852012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18586 Paul Pluzhnikov <ppluzhnikov@google.com>
18587
18588 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
18589 strings correctly.
18590
3ce2865f
CLT
185912012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
18592
18593 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
18594 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
18595 * sysdeps/sh/strlen.S: Likewise.
18596
f37e0d68
JM
185972012-04-24 Joseph Myers <joseph@codesourcery.com>
18598
ae186e9a
JM
18599 * sysdeps/unix/fork.S: Remove file.
18600 * sysdeps/unix/i386/fork.S: Likewise.
18601 * sysdeps/unix/sparc/fork.S: Likewise.
18602
b96914af
JM
18603 * sysdeps/unix/system.c: Remove file.
18604 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
18605
f37e0d68
JM
18606 * sysdeps/unix/getegid.S: Remove file.
18607 * sysdeps/unix/geteuid.S: Likewise.
18608
87ef29ca
RM
186092012-04-24 Roland McGrath <roland@hack.frob.com>
18610
83bcd236
RM
18611 * scripts/check-localplt.awk: New file.
18612 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
18613 of diff.
18614 * scripts/data/localplt-generic.data: Add a comment.
18615
87ef29ca
RM
18616 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
18617 NODE when __dir_mkfile failed.
18618 * sysdeps/mach/hurd/symlinkat.c: Likewise.
18619 Reported by Ludovic Courtès <ludo@gnu.org>.
18620
e5a6e567
AJ
186212012-04-24 Andreas Jaeger <aj@suse.de>
18622
18623 * Makerules (common-clean): Also remove gen-as-const-headers
18624 files.
18625
c1820385
JM
186262012-04-24 Joseph Myers <joseph@codesourcery.com>
18627
18628 * Makerules (native-compile): Do not change working directory for
18629 build. Use $(OUTPUT_OPTION) in command.
18630 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
18631
94e02fc4
AZ
186322012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18633
18634 [BZ #13886]
18635 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
18636 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
18637 * math/libm-test.inc (floor_test): Add more tests.
18638 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
18639
3a533ca3
JM
186402012-04-24 Joseph Myers <joseph@codesourcery.com>
18641
940ab4b3
JM
18642 * sysdeps/unix/getdents.c: Remove file.
18643 * sysdeps/unix/sysv/getdents.c: Likewise.
18644 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
18645
90e037bd
JM
18646 * sysdeps/unix/syscalls.list (madvise): Add syscall from
18647 sysdeps/unix/mman/syscalls.list.
18648 (mmap): Likewise.
18649 (mprotect): Likewise.
18650 (msync): Likewise.
18651 (munmap): Likewise.
18652 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
18653 * sysdeps/unix/mman/syscalls.list: Remove.
18654 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
18655
3a533ca3
JM
18656 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
18657 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
18658 * configure: Regenerated.
18659 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
18660 $(libgcc_s_suffix).
18661 * config.make.in (libgcc_s_suffix): Remove variable.
18662
1ad743de
JM
186632012-04-23 Joseph Myers <joseph@codesourcery.com>
18664
4ad451e2
JM
18665 * sysdeps/unix/sysv/gethostname.c: Move to ...
18666 * sysdeps/posix/gethostname.c: ... here.
18667
5e37ce39
JM
18668 * sysdeps/unix/execve.S: Remove file.
18669
1ad743de
JM
18670 * sysdeps/unix/_exit.S: Remove file.
18671
4e681b5b
AJ
186722012-04-23 Andreas Jaeger <aj@suse.de>
18673
18674 [BZ #13739]
18675 * manual/Makefile: Remove make dist support, there's no
18676 need for a stand-alone documentation tar ball.
18677 (TEXI2DVI): Define always, it's not in Makeconfig.
18678 (dist): Removed.
18679 (tar-it): Removed.
18680 (edition): Removed.
18681 (glibc-doc-$(edition).tar): Removed
18682 (%.Z): Removed.
18683 (%.gz): Removed.
18684 (%.uu): Removed.
18685 (ETAGS): Remove, it's in Makeconfig.
18686 (move-if-change): Remove, it's in Makeconfig.
18687
38686a03 186882012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
18689
18690 [BZ #13970]
18691 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
18692 (strtod, strtof, strtold, strtol, strtoul, strtoq)
18693 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
18694 (strtod_l, strtof_l, strtold_l): Remove __wur.
18695 It is not necessarily an error to ignore strtol's return value.
18696 One can reliably look at the stored endptr to decide whether
18697 the number had valid syntax.
18698
7c0616fa
AJ
186992012-04-21 Andreas Jaeger <aj@suse.de>
18700
803cb6b7 18701 [BZ #13739]
7c0616fa
AJ
18702 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
18703
b0fe253f
JM
187042012-04-21 Joseph Myers <joseph@codesourcery.com>
18705
18706 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
18707 * sysdeps/unix/sysv/Versions: Remove file.
18708
8280f22d
MT
187092012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
18710
18711 [BZ #13927]
18712 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18713
75ce411f 187142012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
18715
18716 [BZ #7064]
18717 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
18718 version from __vm86.
18719
097d59fa
JM
187202012-04-20 Joseph Myers <joseph@codesourcery.com>
18721
a90f3bcb
JM
18722 * sysdeps/unix/common/lxstat.c: Remove file.
18723 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
18724
edc7ea78
JM
18725 * sysdeps/unix/sysv/Makefile: Remove file.
18726
cb78c221
JM
18727 * sysdeps/unix/sysv/direct.h: Remove file.
18728
efa6a45f
JM
18729 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
18730 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
18731 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
18732 * sysdeps/unix/sysv/bits/signum.h: Likewise.
18733 * sysdeps/unix/sysv/bits/stat.h: Likewise.
18734 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
18735 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
18736
9c9f2d0c
JM
18737 * sysdeps/unix/sysv/setrlimit.c: Remove file.
18738
4541c83b
JM
18739 * sysdeps/unix/xmknod.c: Remove file.
18740 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
18741
f5d153a0
JM
18742 * sysdeps/unix/sysv/settimeofday.c: Remove file.
18743
aa746595
JM
18744 * sysdeps/unix/sysv/i386/time.S: Remove file.
18745
cce5905e
JM
18746 * sysdeps/unix/fxstat.c: Remove file.
18747 * sysdeps/unix/xstat.c: Likewise.
18748 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
18749
37fa3841
JM
18750 * sysdeps/unix/sysv/sigaction.c: Remove file.
18751
ff1962a3
JM
18752 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
18753 (sysdep_headers): Remove variable.
18754 [termio.h not in sysdep_headers] (generated): Likewise.
18755 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
18756 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
18757 * sysdeps/unix/sysv/tcdrain.c: Likewise.
18758 * sysdeps/unix/sysv/tcflow.c: Likewise.
18759 * sysdeps/unix/sysv/tcflush.c: Likewise.
18760 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
18761 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
18762 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
18763 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
18764 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
18765
e7740d31
JM
18766 * sysdeps/unix/siglist.c: Remove file.
18767
ee06f18b
JM
18768 * sysdeps/unix/getppid.S: Remove file.
18769
097d59fa
JM
18770 * sysdeps/unix/mkdir.c: Remove file.
18771 * sysdeps/unix/rmdir.c: Likewise.
18772
ff3d51ec
AS
187732012-04-19 Andreas Schwab <schwab@linux-m68k.org>
18774
18775 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
18776 ERR_MAX value.
18777 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
18778 errlist-compat value.
18779
50f81fd7
DM
187802012-04-18 David S. Miller <davem@davemloft.net>
18781
18782 * sysdeps/generic/memcopy.h (reg_char): Delete.
18783 * debug/strcat_chk.c: Use char, not reg_char.
18784 * debug/strcpy_chk.c: Likewise.
18785 * debug/strncat_chk.c: Likewise.
18786 * debug/strncpy_chk.c: Likewise.
18787 * string/memchr.c: Likewise.
18788 * string/memrchr.c: Likewise.
18789 * string/rawmemchr.c: Likewise.
18790 * string/strcat.c: Likewise.
18791 * string/strchr.c: Likewise.
18792 * string/strchrnul.c: Likewise.
18793 * string/strcmp.c: Likewise.
18794 * string/strcpy.c: Likewise.
18795 * string/strncat.c: Likewise.
18796 * string/strncmp.c: Likewise.
18797 * string/strncpy.c: Likewise.
18798
8ff41c46
WS
187992012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18800
18801 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
18802 __builtin_memcopy is called when src and dest ranges are known to not
18803 overlap.
18804
6b652f46
WS
188052012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18806
18807 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
18808 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
18809 fwd_align_merge macro call.
18810 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
18811 bwd_align_merge macro call.
18812 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18813
b282631e
WS
188142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18815
18816 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
18817 bwd_align_merge macros.
18818 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
18819 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
18820 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18821
95aa737c
DM
188222012-04-18 David S. Miller <davem@davemloft.net>
18823
18824 * sysdeps/sparc/sparc64/memcopy.h: Delete.
18825
7a99a614
AJ
188262012-04-18 Andreas Jaeger <aj@suse.de>
18827
18828 [BZ# 6794]
18829 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
18830 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
18831 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18832
18833 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
18834 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
18835 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18836
18837 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
18838 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
18839 Adjust for changed ldbl-128 files.
18840
18841 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
18842 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
18843 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18844
e5270c23
DM
188452012-04-17 David S. Miller <davem@davemloft.net>
18846
18847 * sysdeps/sparc/sparc32/memcopy.h: Delete.
18848
fb5e92c9
AS
188492012-04-17 Andreas Schwab <schwab@linux-m68k.org>
18850
18851 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
18852 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
18853 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
18854 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
18855 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18856 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
18857
76da7265
AZ
188582012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18859
18860 [BZ #6794]
18861 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
18862 * math/libm-test.inc: Add ilogb errno and exception tests.
18863 * math/w_ilogb.c: New file: ilogb wrapper.
18864 * math/w_ilogbf.c: New file: ilogbf wrapper.
18865 * math/w_ilogbl.c: New file: ilogbl wrapper.
18866 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
18867 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
18868 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
18869 exception being thrown with 0.0 as argument.
18870 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
18871 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
18872 exception being thrown with 0.0 as argument.
18873 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
18874 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18875 exception being thrown with 0.0 as argument.
18876 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
18877 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18878 exception being thrown with 0.0 as argument.
18879 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
18880 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 18881 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
18882 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
18883 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
18884 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
18885 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
18886 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
18887 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
18888
0396e69d
PB
188892012-04-17 Petr Baudis <pasky@ucw.cz>
18890
18891 * include/sys/uio.h: Change __vector to __iovec to avoid clash
18892 with altivec.
18893
750b5926
MP
188942012-04-16 Marek Polacek <polacek@redhat.com>
18895
18896 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
18897
751728a1
MP
188982012-04-16 Marek Polacek <polacek@redhat.com>
18899
18900 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
18901 operands of fdivp instruction.
18902
34a27407
L
189032012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18904
18905 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
18906 * elf/tst-auditmod3b.c: Likewise.
18907 * elf/tst-auditmod4b.c: Likewise.
18908 * elf/tst-auditmod5b.c: Likewise.
18909 * elf/tst-auditmod6b.c: Likewise.
18910 * elf/tst-auditmod6c.c: Likewise.
18911 * elf/tst-auditmod7b.c: Likewise.
18912 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
18913 * sysdeps/x86_64/preconfigure.in: Likewise.
18914 * sysdeps/x86_64/preconfigure: Regenerated.
18915
7e73e17d
L
189162012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18917
18918 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
18919 __ILP32__.
18920
c7a6ab72
AB
189212012-04-13 Antoine Balestrat <merkil33@gmail.com>
18922
18923 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18924 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
18925
a9e8e0e0
CL
189262012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
18927
18928 [BZ #13973]
18929 * locale/iso-639.def: Fix gl language name. Spotted by
18930 Yaron Shahrabani.
18931
ec98af7d
RM
189322012-04-12 Roland McGrath <roland@hack.frob.com>
18933
18934 [BZ #2074]
18935 * libio/libio.h (__io_write_fn): Update comment.
18936
247c3ede
PB
189372012-04-12 Petr Baudis <pasky@ucw.cz>
18938
18939 [BZ #2074]
18940 * stdio.texi (Hook Functions): The user provided writer function
18941 is not allowed to return -1.
18942
55939d6d
DM
189432012-04-11 David S. Miller <davem@davemloft.net>
18944
18945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18946
90020f5a
MF
189472012-04-11 Mike Frysinger <vapier@gentoo.org>
18948
18949 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
18950 Add a leading slash to rtkaio.
18951
288f9098
JM
189522012-04-11 Jim Meyering <meyering@redhat.com>
18953
90020f5a
MF
18954 [BZ #11959]
18955 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
18956 It is not necessarily an error to ignore fwrite's return
18957 value. One can reliably use ferror to test for errors after
18958 the fact.
288f9098 18959
4be2b570
L
189602012-04-10 H.J. Lu <hongjiu.lu@intel.com>
18961
18962 * bits/types.h (__snseconds_t): New type.
18963 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
18964
18965 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
18966 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18967 (__SNSECONDS_T_TYPE): Likewise.
18968 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18969 (__SNSECONDS_T_TYPE): Likewise.
18970 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18971 (__SNSECONDS_T_TYPE): Likewise.
18972
288f9098 189732012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
18974
18975 [BZ #2636]
18976 * manual/time.texi (Processor Time): Return type of times is
18977 elapsed real time since an arbitrary point in the past.
18978 (CPU Time): Move CLK_TCK from here...
18979 (Processor Time): ...to here. Correct description.
18980 * manual/conf.texi (Constants for Sysconf): Correct description of
18981 _SC_CLK_TCK.
18982
d7dd4413
DM
189832012-04-10 David S. Miller <davem@davemloft.net>
18984
18985 [BZ #13967]
18986 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
18987 where the is a gap between DT_REL(A) and DT_JMPREL.
18988
b46068fc
L
189892012-04-10 H.J. Lu <hongjiu.lu@intel.com>
18990
18991 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
18992 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
18993 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
18994
73d65cc3
SP
189952012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18996
18997 * elf/dl-support.c (_dl_inhibit_cache): New variable.
18998 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
18999 (dl_main): Handle --inhibit-cache.
19000 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
19001 _dl_inhibit_cache.
19002 * elf/dl-load.c (_dl_map_object): Use it.
19003 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
19004
bcc8d661
JM
190052012-04-09 Joseph Myers <joseph@codesourcery.com>
19006
8f9a2fae
JM
19007 [BZ #13872]
19008 * sysdeps/i386/fpu/e_powl.S (p78): New object.
19009 (__ieee754_powl): Saturate large exponents rather than testing for
19010 overflow of y*log2(x).
19011 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19012 * math/libm-test.inc (pow_test): Do not permit spurious overflow
19013 exceptions.
19014
bcc8d661
JM
19015 [BZ #11521]
19016 * math/s_ctan.c: Include <float.h>.
19017 (__ctan): Avoid internal overflow or cancellation in calculating
19018 denominator.
19019 * math/s_ctanf.c: Likewise.
19020 * math/s_ctanl.c: Likewise.
19021 * math/s_ctanh.c: Likewise.
19022 * math/s_ctanhf.c: Likewise.
19023 * math/s_ctanhl.c: Likewise.
19024 * math/libm-test.inc (ctan_test): Add more tests.
19025 (ctanh_test): Likewise.
19026 * sysdeps/i386/fpu/libm-test-ulps: Update.
19027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19028
823fbbb4
AJ
190292012-04-09 Andreas Jaeger <aj@suse.de>
19030
03879793
AJ
19031 [BZ #6894]
19032 * manual/filesys.texi (Directory Entries): Mention that d_namlen
19033 is an optional BSD extension.
19034
823fbbb4
AJ
19035 [BZ #10254]
19036 * manual/stdio.texi (Opening Streams): Document additional fopen
19037 parameters.
19038
8de131cb
RM
190392012-04-09 Roland McGrath <roland@hack.frob.com>
19040
19041 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
19042 %eax without telling the compiler.
19043
c0ed9d7d
CD
190442012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
19045
19046 [BZ # 13963]
19047 * manual/install.texi: Use sourceware.org.
19048
c483f6b4
JM
190492012-04-09 Joseph Myers <joseph@codesourcery.com>
19050
d7dd9453
JM
19051 [BZ #13873]
19052 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
19053 (__ieee754_pow): Generate overflow and underflow using huge*huge
19054 and tiny*tiny rather than just returning constant infinity or zero
19055 for large exponents.
19056 * math/libm-test.inc (pow_test): Require overflow exceptions for
19057 applicable cases of large exponents.
19058
c483f6b4
JM
19059 [BZ #706]
19060 * sysdeps/i386/fpu/e_pow.S (p10): New object.
19061 (__ieee754_pow): Use iterative multiplication algorithm only for
19062 integer exponents with absolute value below 1024. Check for odd
19063 integer exponents when using algorithm for real exponents.
19064 * math/libm-test.inc (pow_test): Add more tests.
19065 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19066
d2de7579
JM
190672012-04-08 Joseph Myers <joseph@codesourcery.com>
19068
19069 [BZ #13705]
19070 * math/libm-test.inc (exp_test): Do not allow overflow exception
19071 on underflow test.
19072
f77f1232
AJ
190732012-04-08 Aurelien Jarno <aurelien@aurel32.net>
19074
19075 [BZ #13705]
19076 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
19077 instead of __kernel_standard_f.
19078
3884932b
MF
190792012-04-08 Mike Frysinger <vapier@gentoo.org>
19080
19081 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
19082 * sysdeps/x86_64/memset_chk.S: Likewise.
19083
54472e9c
AJ
190842012-04-08 Andreas Jaeger <aj@suse.de>
19085
6ab0fbfc
AJ
19086 [BZ #10153]
19087 * manual/startup.texi (Environment Access): Describe return value
19088 for putenv and setenv.
19089
61efba8c
AJ
19090 [BZ #6895]
19091 * manual/filesys.texi (Directory Entries): Add description for
19092 DT_LNK.
19093
95c3f29a
AJ
19094 [BZ #6890]
19095 * manual/filesys.texi (Directory Entries): Clarify that it's file
19096 system not operating system in the description of DT_UNKNOWN.
19097
54472e9c
AJ
19098 [BZ #6578]
19099 * manual/syslog.texi (closelog): Fix reference, it's openlog.
19100
624254b1
SC
191012012-04-08 Stephen Compall <s11@member.fsf.org>
19102
19103 [BZ #6649]
19104 * manual/llio.texi (Opening and Closing Files): Add cross
19105 reference to explain mode argument.
19106
1e4920e0
MF
191072012-04-07 Mike Frysinger <vapier@gentoo.org>
19108
19109 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
19110 * sysdeps/x86_64/memset_chk.S: Likewise.
19111
5ed848f3
DM
191122012-04-07 David S. Miller <davem@davemloft.net>
19113
19114 * elf/elf.h (R_SPARC_WDISP10): Define.
19115 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
19116 R_SPARC_SIZE32.
19117 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
19118 R_SPARC_SIZE64 and R_SPARC_H34.
19119
96154cd8
CD
191202012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
19121
19122 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
19123 conditions and remove no longer applicable assertion.
19124
9904dc47
L
191252012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19126
19127 * bits/byteswap.h: Include <features.h>.
19128 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19129 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19130
f8887d0a
L
191312012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19132
19133 * bits/byteswap.h (__bswap_16): Removed.
19134 Include <bits/byteswap-16.h> to get __bswap_16.
19135 * sysdeps/i386/bits/byteswap.h: Likewise.
19136 * sysdeps/s390/bits/byteswap.h: Likewise.
19137 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19138 * bits/byteswap-16.h: New file.
19139 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19140 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19141 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
19142 * string/Makefile (headers): Add bits/byteswap-16.h.
19143
62470f60
PP
191442012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19145
19146 [BZ #13895]
19147 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
19148 extra indirection.
19149 * nss/Makefile (tests-static, tests): Add tst-nss-static.
19150 * nss/tst-nss-static.c: New.
19151
4dad7bab
RM
191522012-04-06 Robert Millan <rmh@gnu.org>
19153
19154 [BZ #6486]
19155 * manual/llio.texi (File Position Primitive): lseek
19156 refers to WHENCE when it really means OFFSET.
19157
e9142a17
AJ
191582012-04-06 Andreas Jaeger <aj@suse.de>
19159
2c040eff
AJ
19160 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
19161 strncmp declarations.
19162
e9142a17
AJ
19163 * abilist/libc.abilist: Add __poll and __ppoll.
19164
ff9f1c5f
DM
191652012-04-05 David S. Miller <davem@davemloft.net>
19166
dcd2ae90
DM
19167 * scripts/check-local-headers.sh: Accept a host triplet in the
19168 path matched by the exclude regexp.
19169
993eb054
DM
19170 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
19171 definition.
19172 * sysdeps/powerpc/powerpc32/dl-machine.h
19173 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
19174 * sysdeps/s390/s390-32/dl-machine.h
19175 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19176 * sysdeps/sparc/sparc32/dl-machine.h
19177 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19178 * sysdeps/sparc/sparc64/dl-machine.h
19179 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19180
ff9f1c5f
DM
19181 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
19182 lazy binding.
48e2e132 19183 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
19184 undefined symbol errors.
19185
48e2e132 19186 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
19187 DT_NEEDED entries.
19188
e80d6f94
MM
191892012-04-05 Michael Matz <matz@suse.de>
19190
19191 [BZ #13592]
19192 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
19193
349fa79f
AJ
191942012-04-05 Andreas Jaeger <aj@suse.de>
19195
19196 [BZ #13908]
19197 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
19198 comment.
19199
f402708f
KK
192002012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19201
19202 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
19203 which ROUND is no valid rounding mode.
19204
2ecccfc9
KK
192052012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19206
19207 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
19208 read again.
19209 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
19210
8a53f50f
KK
192112012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19212
19213 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
19214 an exception using FPU order intentionally.
19215
192162012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19217
19218 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
19219 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
19220 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
19221 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
19222
d653abb7
SJ
192232012-04-05 Simon Josefsson <simon@josefsson.org>
19224
19225 [BZ #12340]
19226 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
19227 EINVAL when BUFLEN is too smal.
19228
c3b1bf7d
TS
192292012-04-05 Thomas Schwinge <thomas@codesourcery.com>
19230
19231 [BZ #13553]
19232 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
19233 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
19234
b1aa60f3
AJ
192352012-04-03 Andreas Jaeger <aj@suse.de>
19236
c3b1bf7d 19237 [BZ #13938]
67f60a26
AJ
19238 * manual/setjmp.texi (System V contexts): Fix sentence.
19239
b1aa60f3
AJ
19240 [BZ #13926]
19241 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
19242 New macro for this case.
19243 [!__GNUC__] (__bswap_64): New inline function for this case.
19244 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19245 * bits/byteswap.h: Likewise.
19246 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
19247 ull, guard with __GLIBC_HAVE_LONG_LONG.
19248
19249 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
19250 __GLIBC_HAVE_LONG_LONG.
19251
19252 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
19253 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
19254
39c59c35
TMQMF
192552012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19256
19257 [BZ #13691]
19258 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
19259 inptr and inend, rather than using last_ch.
19260
135ffda8
DM
192612012-04-02 David S. Miller <davem@davemloft.net>
19262
19263 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
19264 * stdio-common/printf-parse.h (read_int): Change return type to
19265 'int', return -1 on INT_MAX overflow.
19266 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
19267 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
19268 overflows INT_MAX. Check for overflow of in-format-string precision
19269 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
19270 SIZE_MAX not INT_MAX for integer overflow test.
19271 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
19272 skip the construct in the format string but do not record anything.
19273 * stdio-common/bug22.c: Adjust to test both width/prevision
19274 INT_MAX overflow as well as total length INT_MAX overflow. Check
19275 explicitly for proper errno values.
19276
228c019e
TS
192772012-04-02 Thomas Schwinge <thomas@codesourcery.com>
19278
302cadd3
TS
19279 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
19280 CHAR_MAX.
19281 * string/test-strcmp.c [! WIDE]: Likewise.
19282 * time/tst-mktime2.c: Likewise for INT_MAX.
19283 * string/test-string.h: #include <sys/param.h> for MIN.
19284
228c019e
TS
19285 * csu/init-first.c (__libc_init_first): Call __ctype_init.
19286 * sysdeps/i386/init-first.c (init): Likewise.
19287 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
19288 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
19289 * sysdeps/sh/init-first.c (init): Likewise.
19290
cfa633f5
UD
192912012-04-01 Ulrich Drepper <drepper@gmail.com>
19292
19293 * po/ru.po: Update from translation team.
d1635ef8 19294 * po/vi.po: Likewise.
cfa633f5 19295
6cd0a5ea
SP
192962012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19297
19298 * resolv/nss_dns/dns-host.c: Merge copyright years.
19299
4b43400f
LD
193002012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19301
19302 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19303 Optimize memcpy with prefetch if
19304 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
19305 src, dst pointers have unequal 16 byte alignments.
19306
48c41d04
SP
193072012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19308
19309 [BZ #13928]
19310 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
19311 from a CNAME entry and return the minimum ttl for the query.
19312 (gaih_getanswer_slice): Likewise.
19313
b8dc394d
JL
193142012-03-30 Jeff Law <law@redhat.com>
19315
19316 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
19317 due to long keys.
19318 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
19319 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
19320
2f5a5ed0
JL
19321 * resolv/nss_dns/dns-host.c: Update copyright year.
19322
1d39e359
UD
193232012-03-30 Ulrich Drepper <drepper@gmail.com>
19324
c030f70c 19325 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 19326 requests to save a system call. Fix check that all bytes are sent.
c030f70c 19327
1d39e359
UD
19328 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
19329 comments for sendmmsg.
19330
193312012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
19332
19333 [BZ #13691]
19334 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
19335 with only 1 character between 0x0041 and 0x01b0.
19336 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
19337 * wcsmbs/tst-mbsnrtowcs.c: New file.
19338
20fde227
DM
193392012-03-29 David S. Miller <davem@davemloft.net>
19340
19341 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
19342 small copies by hand.
19343
984a4237
JL
193442012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19345
19346 [BZ #13761]
19347 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
19348 _nss_compat_initgroups_dyn): Fall back to malloc/free
19349 for large group memberships.
19350
18c9d62b
DM
193512012-03-28 David S. Miller <davem@davemloft.net>
19352
88d85d4f
DM
19353 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
19354 that branches into memcpy.
19355 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19356 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
19357 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19358 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
19359 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
19360 bits.
19361 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
19362 implementation too.
19363 * sysdeps/sparc/mempcpy.S: New file.
19364
e5aa83e1
DM
19365 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
19366 the IFUNC routine in the libc case.
19367 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19368
88570753
DM
19369 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
19370 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
19371 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
19372 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
19373 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
19374 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
19375 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
19376 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
19377
249d7567
DM
19378 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
19379 loop to 256 bytes instead of 64 bytes and fix test signedness.
19380
18c9d62b
DM
19381 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
19382 * sysdeps/sparc/sparc32/Makefile: rather than here...
19383 * sysdeps/sparc/sparc64/Makefile: and here.
19384
05f3d1f6
UD
193852012-03-28 Ulrich Drepper <drepper@gmail.com>
19386
19387 * malloc/mallocbug.c: Avoid warnings about unused variables.
19388
86ae07a8
JL
193892012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19390
19391 [BZ #13760]
19392 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
19393 in the right place. Discard and retry query if response is
19394 larger than input buffer size.
19395
41bf21a1
JM
193962012-03-28 Joseph Myers <joseph@codesourcery.com>
19397
d6270972
JM
19398 [BZ #369]
19399 [BZ #2678]
19400 [BZ #3866]
19401 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
19402 x for large integer exponent.
19403 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19404 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
19405 sign of result as needed afterwards.
19406 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19407 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
19408 result for underflowing pow the same as for overflow.
19409 (__kernel_standard_l): Handle powl overflow and underflow here
19410 rather than calling __kernel_standard.
19411 * math/libm-test.inc (pow_test): Add more tests.
19412
414fca03 19413 [BZ #3868]
41bf21a1
JM
19414 [BZ #13879]
19415 [BZ #13910]
19416 [BZ #13911]
19417 [BZ #13912]
19418 [BZ #13913]
19419 [BZ #13915]
19420 [BZ #13916]
19421 [BZ #13917]
19422 [BZ #13918]
19423 [BZ #13919]
19424 [BZ #13920]
19425 [BZ #13921]
19426 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
19427 * sysdeps/ieee754/k_standard.c: Include <float.h>.
19428 (__kernel_standard_l): New function.
19429 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
19430 __kernel_standard.
19431 * math/w_acosl.c (__acosl): Likewise.
19432 * math/w_asinl.c (__asinl): Likewise.
19433 * math/w_atan2l.c (__atan2l): Likewise.
19434 * math/w_atanhl.c (__atanhl): Likewise.
19435 * math/w_coshl.c (__coshl): Likewise.
19436 * math/w_exp10l.c (__exp10l): Likewise.
19437 * math/w_exp2l.c (__exp2l): Likewise.
19438 * math/w_fmodl.c (__fmodl): Likewise.
19439 * math/w_hypotl.c (__hypotl): Likewise.
19440 * math/w_j0l.c (__j0l, __y0l): Likewise.
19441 * math/w_j1l.c (__j1l, __y1l): Likewise.
19442 * math/w_jnl.c (__jnl, __ynl): Likewise.
19443 * math/w_lgammal.c (__lgammal): Likewise.
19444 * math/w_log10l.c (__log10l): Likewise.
19445 * math/w_log2l.c (__log2l): Likewise.
19446 * math/w_logl.c (__logl): Likewise.
19447 * math/w_powl.c (__powl): Likewise.
19448 * math/w_remainderl.c (__remainderl): Likewise.
19449 * math/w_scalbl.c (sysv_scalbl): Likewise.
19450 * math/w_sinhl.c (__sinhl): Likewise.
19451 * math/w_sqrtl.c (__sqrtl): Likewise.
19452 * math/w_tgammal.c (__tgammal): Likewise.
19453 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
19454 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
19455 * math/libm-test.inc (acos_test): Add more tests.
19456 (acosh_test): Likewise.
19457 (asin_test): Likewise.
19458 (atanh_test): Likewise.
19459 (exp_test): Likewise.
19460 (exp10_test): Likewise.
19461 (exp2_test): Likewise.
19462 (expm1_test): Likewise.
19463 (lgamma_test): Likewise.
19464 (log_test): Likewise.
19465 (log10_test): Likewise.
19466 (log1p_test): Likewise.
19467 (log2_test): Likewise.
19468 (pow_test): Do not allow some spurious overflow exceptions.
19469 (sqrt_test): Add more tests.
19470 (tgamma_test): Likewise.
19471 (y0_test): Likewise.
19472 (y1_test): Likewise.
19473 (yn_test): Likewise.
19474
dd62fda6
AB
194752012-03-27 Anton Blanchard <anton@samba.org>
19476
19477 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
19478 MAP_HUGETLB.
19479 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19480 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19481 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19482
1e3cdfda
AJ
194832012-03-27 David S. Miller <davem@davemloft.net>
19484
b855ab85
DM
19485 * conform/Makefile: Run run-conformtest.sh using $(BASH).
19486
1e3cdfda
AJ
19487 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
19488 have-as-vis3 check.
19489
194902012-03-27 Andreas Jaeger <aj@suse.de>
19491
19492 * sysdeps/x86_64/elf/configure.in: Moved to ...
19493 * sysdeps/x86_64/configure.in: ... here.
19494 * sysdeps/x86_64/elf/start.S: Moved to ...
19495 * sysdeps/x86_64/start.S: ... here.
19496 * sysdeps/x86_64/elf/configure: Delete.
19497
19498 * sysdeps/x86_64/configure.in: Merge contents from
19499 sysdeps/i386/configure.in (without i686 check).
19500
19501 * sysdeps/i386/elf/Versions: Merge into ...
19502 * sysdeps/i386/Versions: ... this.
19503 * sysdeps/i386/elf/Versions: Delete file.
19504 * sysdeps/i386/elf/start.S: Moved to ...
19505 * sysdeps/i386/start.S: ...here.
19506 * sysdeps/i386/elf/configure.in: Merge into...
19507 * sysdeps/i386/configure.in: ...here.
19508 * sysdeps/i386/elf/configure.in: Delete file.
19509 * sysdeps/i386/elf/configure: Delete file.
19510
19511 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
19512 * debug/backtracesyms.c: ... here.
19513 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
19514 * debug/backtracesymsfd.c: ... here.
19515 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
19516 * sysdeps/generic/ifunc-sel.h: ... here.
19517
19518 * sysdeps/unix/i386/start.c: Delete file.
19519 * sysdeps/unix/sparc/start.c: Delete file.
19520 * sysdeps/unix/start.c: Delete file.
19521
19522 * sysdeps/sh/elf/configure.in: Moved to ...
19523 * sysdeps/sh/configure.in: ... here.
19524 * sysdeps/sh/elf/start.S: Moved to ...
19525 * sysdeps/sh/start.S: ... here.
19526 * sysdeps/sh/elf/configure: Delete file.
19527
19528 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
19529 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
19530 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
19531 * sysdeps/powerpc/powerpc64/entry.h: ... here.
19532 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
19533 * sysdeps/powerpc/powerpc64/start.S: here.
19534 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
19535 * sysdeps/powerpc/powerpc64/Makefile: ... this.
19536 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
19537 * sysdeps/powerpc/powerpc64/configure.in: ... this.
19538 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
19539
19540 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
19541 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
19542 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
19543 * sysdeps/powerpc/powerpc32/start.S: ... here.
19544 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
19545 * sysdeps/powerpc/powerpc32/configure.in: ... this.
19546 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
19547
19548 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
19549 * sysdeps/powerpc/ifunc-sel.h: ... here.
19550 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
19551 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
19552
19553 * sysdeps/sparc/elf/configure.in: Moved to ...
19554 * sysdeps/sparc/configure.in: ... here.
19555 * sysdeps/sparc/elf/configure: Delete file.
19556 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
19557 * sysdeps/sparc/sparc32/start.S: ... here.
19558 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
19559 * sysdeps/sparc/sparc64/start.S: ... here.
19560 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
19561 * sysdeps/sparc/sparc32/Makefile: ... this.
19562 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
19563 * sysdeps/sparc/sparc64/Makefile: ... this.
19564
19565 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
19566 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
19567 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
19568 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
19569 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
19570 * sysdeps/s390/s390-32/setjmp.S: ... here.
19571 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
19572 * sysdeps/s390/s390-32/configure.in: ... here.
19573 * sysdeps/s390/s390-32/elf/configure: Delete file.
19574 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
19575 * sysdeps/s390/s390-32/start.S: ... here.
19576
19577 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
19578 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
19579 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
19580 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
19581 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
19582 * sysdeps/s390/s390-64/setjmp.S: ... here.
19583 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
19584 * sysdeps/s390/s390-64/configure.in: ... here
19585 * sysdeps/s390/s390-64/elf/configure: Delete file.
19586 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
19587 * sysdeps/s390/s390-64/start.S: ... here.
19588 * sysdeps/s390/s390-64/elf/configure: Delete.
19589
19590 * configure.in: Remove support for elf directories in sysdeps.
19591
19592 * configure: Regenerated.
19593 * sysdeps/i386/configure: Regenerated.
19594 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19595 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19596 * sysdeps/s390/s390-32/configure: Regenerated.
19597 * sysdeps/s390/s390-64/configure: Regenerated.
19598 * sysdeps/sh/configure: Regenerated.
19599 * sysdeps/sparc/configure: Regenerated.
19600 * sysdeps/x86_64/configure: Regenerated.
19601
a3f61311
AS
196022012-03-26 Andreas Schwab <schwab@linux-m68k.org>
19603
c876e002
AS
19604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19605
a3f61311
AS
19606 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
19607 denormal result into account.
19608
ac4c54f0
RM
196092012-03-25 Roland McGrath <roland@hack.frob.com>
19610
19611 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
19612 Reported by Allan McRae <allan@archlinux.org>.
19613
6a9b9c02
JL
196142012-03-23 Jeff Law <law@redhat.com>
19615
19616 * nss/getnssent.c (__nss_getent): Fix typo.
19617
4c42a0c1
DM
196182012-03-23 David S. Miller <davem@davemloft.net>
19619
19620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19621
1532c7ac
L
196222012-03-23 H.J. Lu <hongjiu.lu@intel.com>
19623
19624 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
19625 to pad to uint64_t for each field.
19626 (dl_tls_index): Replace unsigned long with uint64_t.
19627
3ff42526
PP
196282012-03-23 Daniel Jacobowitz <dmj@google.com>
19629 Paul Pluzhnikov <ppluzhnikov@google.com>
19630
19631 [BZ #6528]
19632 * grp/Makefile (otherlibs): Don't set it.
19633 * inet/Makefile (otherlibs): Likewise.
19634 * login/Makefile (otherlibs): Likewise.
19635 * nscd/Makefile (otherlibs): Likewise.
19636 * posix/Makefile (otherlibs): Likewise.
19637 * pwd/Makefile (otherlibs): Likewise.
19638 * rt/Makefile (otherlibs): Likewise.
19639 * sunrpc/Makefile (otherlibs): Likewise.
19640 * nss/Makefile (otherlibs): Likewise.
19641 Add libnss_files to routines and static-only-routines.
19642 ($(objpfx)getent): Remove rule.
19643 * resolv/Makefile: Add libnss_dns and libresolv to routines and
19644 static-only-routines.
19645
7c69cd14
JM
196462012-03-22 Joseph Myers <joseph@codesourcery.com>
19647
19648 [BZ #13892]
19649 * math/s_cexp.c: Include <float.h>.
19650 (__cexp): Handle exp result overflowing not necessarily
19651 overflowing both real and imaginary parts of result.
19652 * math/s_cexpf.c: Likewise.
19653 * math/s_cexpl.c: Likewise.
19654 * math/libm-test.inc (cexp_test): Add more tests.
19655 * sysdeps/i386/fpu/libm-test-ulps: Update.
19656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19657
81b035fe
L
196582012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19659
19660 * include/link.h (ELFW): New macro.
19661 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
19662 Replace ELF64_R_TYPE with ELFW(R_TYPE).
19663
1da7940c
L
196642012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19665
19666 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
19667 with uint64_t.
19668
b749dbb9
L
196692012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19670
19671 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
19672 declaration.
19673 (struct La_x32_retval): Likewise.
19674
2ff87f3f
L
196752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19676
19677 * sysdeps/x86_64/preconfigure.in: New file.
19678 * sysdeps/x86_64/preconfigure: New generated file.
19679
c0df8e69
JM
196802012-03-22 Joseph Myers <joseph@codesourcery.com>
19681
48e44791
JM
19682 [BZ #13824]
19683 * math/e_exp2l.c: Include <float.h>.
19684 (__ieee754_exp2l): Handle overflow and underflow cases
19685 separately. Only pass fractional part of argument to
19686 __ieee754_expl.
19687 * math/libm-test.inc (exp2_test): Add more tests.
19688
c0df8e69
JM
19689 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
19690 negating x to take absolute value.
19691 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19692 Likewise.
19693 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19694 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19695 Likewise.
19696 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
19697 computing low part if x was negated.
19698 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19699
c8e43ba7
L
197002012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19701
19702 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
19703 la_x32_gnu_pltexit.
19704 (pltexit): Cast int_retval to ptrdiff_t.
19705 * elf/tst-auditmod3b.c: Likewise.
19706 * elf/tst-auditmod4b.c: Likewise.
19707 * elf/tst-auditmod5b.c: Likewise.
19708 * elf/tst-auditmod6b.c: Likewise.
19709 * elf/tst-auditmod6c.c: Likewise.
19710 * elf/tst-auditmod7b.c: Likewise.
19711
19712 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
19713 and x32_gnu_pltexit.
19714
19715 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
19716 __ELF_NATIVE_CLASS.
19717 (La_x32_regs): New macro.
19718 (La_x32_retval): Likewise.
19719 (la_x32_gnu_pltenter): New function prototype.
19720 (la_x32_gnu_pltexit): Likewise.
19721
7998fa78
AS
197222012-03-21 Andreas Schwab <schwab@linux-m68k.org>
19723
dcb33988
AS
19724 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
19725 exponent.
19726
233fc563
AS
19727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19728
7998fa78
AS
19729 * configure.in (libc_cv_cc_nofma): Check for option to disable
19730 generation of FMA instructions.
19731 * configure: Regenerate.
19732 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
19733 * sysdeps/ieee754/dbl-64/Makefile: New file.
19734 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19735 Remove brandred-fma4.
19736 (CFLAGS-brandred-fma4.c): Remove.
19737 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
19738 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
19739 define.
19740 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
19741 define.
19742
8e95c99a
L
197432012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19744
19745 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19746 LLONG_MAX != LONG_MAX.
19747 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19748 (_fitoa_word): Likewise.
19749 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
19750 LLONG_MAX != LONG_MAX.
19751 * stdio-common/_itowa.h: Include <_itoa.h>.
19752 (_itowa_word): Use _ITOA_WORD_TYPE on value.
19753 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
19754 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
19755 only if not defined.
19756 (_ITOA_WORD_TYPE): Likewise.
19757 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19758 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
19759
6f4db457
DM
197602012-03-21 David S. Miller <davem@davemloft.net>
19761
19762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19763
7785fe5a
L
197642012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19765
19766 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
19767 of x86_64 when setting libc_cv_slibdir, libdir and
19768 libc_cv_localedir.
19769 * sysdeps/unix/sysv/linux/configure: Regenerated.
19770
4535cd55
JM
197712012-03-21 Joseph Myers <joseph@codesourcery.com>
19772
19773 * manual/lang.texi (Old Varargs): Remove section.
19774 (How Variadic): Update menu.
19775 (va_start): Do not mention varargs.h.
19776
17228132
TS
197772012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19778 Joseph Myers <joseph@codesourcery.com>
19779
19780 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
19781 link test.
19782 * configure: Regenerated.
19783
8149f976
TS
197842012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19785
05f3d1f6
UD
19786 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
19787 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
19788 conformtest.pl
8149f976 19789
1a4ac776
JM
197902012-03-21 Joseph Myers <joseph@codesourcery.com>
19791
be22ce65
JM
19792 * NOTES: Remove.
19793 * Makefile (files-for-dist): Remove NOTES.
19794 (NOTES): Remove rule.
19795 * README: Don't refer to NOTES.
19796 * manual/creature.texi: Don't include macros.texi.
19797 * manual/intro.texi (creature.texi): Remove comment referring to
19798 NOTES.
19799
40b601fb
JM
19800 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
19801 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
19802 * configure: Regenerated.
19803 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
19804 LIBC_TRY_CC_OPTION.
19805 (libc_cv_as_i686): Likewise.
19806 (libc_cv_cc_avx): Likewise.
19807 (libc_cv_cc_sse2avx): Likewise.
19808 (libc_cv_cc_fma4): Likewise.
19809 (libc_cv_cc_novzeroupper): Likewise.
19810 * sysdeps/i386/configure: Regenerated.
19811
1a4ac776
JM
19812 [BZ #13883]
19813 * sysdeps/i386/fpu/s_cexp.S: Remove.
19814 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19815 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19816 * math/libm-test.inc (cexp_test): Add more tests.
19817 * sysdeps/i386/fpu/libm-test-ulps: Update.
19818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19819
a458e7fe
AM
198202012-03-21 Allan McRae <allan@archlinux.org>
19821
19822 * timezone/Makefile: Do not install iso3166.tab and zone.tab
19823
0cb7efc5
JM
198242012-03-21 Joseph Myers <joseph@codesourcery.com>
19825
19826 [BZ #13871]
19827 * math/w_exp2.c: Do not include <float.h>.
19828 (o_threshold, u_threshold): Remove.
19829 (__exp2): Calculate result before checking finiteness and calling
19830 __kernel_standard.
19831 * math/w_exp2f.c: Likewise.
19832 * math/w_exp2l.c: Likewise.
19833 * math/libm-test.inc (exp2_test): Require overflow exception for
19834 1e6 input.
2460d3aa
JM
19835
19836 [BZ #3866]
19837 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
19838 range of signed 64-bit integers before using fistpll. Remove
19839 checks for whether integers fit in mantissa bits.
19840 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
19841 the range of signed 32-bit integers before using fistpl. Remove
19842 checks for whether integers fit in mantissa bits.
19843 * sysdeps/i386/fpu/e_powl.S (p64): New object.
19844 (__ieee754_powl): Test for y outside the range of signed 64-bit
19845 integers before using fistpll. Reduce 64-bit values to 63-bit
19846 ones as needed.
19847 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
19848 divide-by-zero is raised for zero to large negative powers.
19849 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
19850 (__ieee754_powl): Test for y outside the range of signed 64-bit
19851 integers before using fistpll. Reduce 64-bit values to 63-bit
19852 ones as needed.
19853 * math/libm-test.inc (pow_test): Add more tests.
19854
eb96ffb0
L
198552012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19856
19857 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
19858 <stdio-common/_itoa.h>.
19859 * debug/segfault.c: Likewise.
19860 * elf/dl-cache.c: Likewise.
19861 * elf/dl-minimal.c: Likewise.
19862 * elf/dl-misc.c: Likewise.
19863 * elf/dl-sysdep.c: Likewise.
19864 * elf/dl-version.c: Likewise.
19865 * elf/rtld.c: Likewise.
19866 * hurd/hurdsock.c: Likewise.
19867 * hurd/lookup-retry.c: Likewise.
19868 * malloc/malloc.c: Likewise.
19869 * malloc/mtrace.c: Likewise.
19870 * nscd/nscd_getgr_r.c: Likewise.
19871 * nscd/nscd_getpw_r.c: Likewise.
19872 * nscd/nscd_getserv_r.c: Likewise.
19873 * posix/getopt_init.c: Likewise.
19874 * posix/wordexp.c: Likewise.
19875 * stdio-common/_itoa.c: Likewise.
19876 * stdio-common/printf_fphex.c: Likewise.
19877 * stdio-common/vfprintf.c: Likewise.
19878 * string/_strerror.c: Likewise.
19879 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
19880 * sysdeps/i386/i686/hp-timing.h: Likewise.
19881 * sysdeps/mach/_strerror.c: Likewise.
19882 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
19883 * sysdeps/mach/hurd/sethostid.c: Likewise.
19884 * sysdeps/mach/hurd/xmknodat.c: Likewise.
19885 * sysdeps/mach/xpg-strerror.c: Likewise.
19886 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19887 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19888 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
19889 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
19890 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19891 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
19892 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
19893 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
19894 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
19895 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
19896 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
19897 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19898 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
19899 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19900 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19901 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
19902 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
19903 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
19904 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
19905 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
19906 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
19907
19908 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
19909
19910 * stdio-common/_itoa.h: Moved to ...
19911 * sysdeps/generic/_itoa.h: Here.
19912
19913 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
19914
19915 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
19916 instead of "_itoa.h" and "_itowa.h".
19917 * stdio-common/vfprintf.: Likewise.
19918
d1af992d
L
199192012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19920
19921 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
19922 <bits/wordsize.h>.
19923 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
19924 (__signbit): Likwise.
19925 (llrintf): Likwise.
19926 (llrint): Likwise.
19927
114883e0
L
199282012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19929
19930 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
19931 __WORDSIZE != 64.
19932
c135cc1b
JM
199332012-03-20 Joseph Myers <joseph@codesourcery.com>
19934
19935 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
19936 OVERFLOW_EXCEPTION_OK.
19937 * math/libm-test.inc ("Philosophy"): Update comment about
19938 exception testing.
19939 (OVERFLOW_EXCEPTION): Define.
19940 (OVERFLOW_EXCEPTION_OK): Likewise.
19941 (INVALID_EXCEPTION_OK): Renumber.
19942 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19943 (IGNORE_ZERO_INF_SIGN): Likewise.
19944 (test_exceptions): Handle FE_OVERFLOW.
19945 (exp10_test): Expect overflow exceptions.
19946 (exp2_test): Likewise.
19947 (expm1_test): Likewise.
19948 (nextafter_test): Likewise.
19949 (pow_test): Likewise.
19950 (scalbn_test): Likewise.
19951 (scalbln_test): Likewise.
19952
95443d88
L
199532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19954
19955 * sysdeps/x86_64/bits/atomic.h
19956 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
19957 64bit integer.
19958 (atomic_exchange_acq): Likewise.
19959 (__arch_exchange_and_add_body): Likewise.
19960 (__arch_add_body): Likewise.
19961 (atomic_add_negative): Likewise.
19962 (atomic_add_zero): Likewise.
19963
490df6c4
L
199642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19965
c2722551 19966 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
19967 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
19968
5e52b189
L
199692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19970
19971 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
19972 Check __x86_64__ instead of __WORDSIZE.
19973
a9879d4c
L
199742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19975
19976 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
19977
5df98260
DM
199782012-03-19 David S. Miller <davem@davemloft.net>
19979
e1497744
DM
19980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19981
5df98260
DM
19982 * sysdeps/sparc/fpu/fenv_private.h: New file.
19983 * sysdeps/sparc/fpu/math_private.h: Use it.
19984 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
19985 Remove.
19986 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
19987 (libc_feholdexcept_setroundl): Remove.
19988 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
19989 Remove.
19990 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
19991 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
19992
b4c35121
L
199932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19994
19995 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
19996 int64_t instead of long int.
19997 (INSERT_WORDS64): Likwise.
19998
56965fd7
L
199992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20000
20001 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
20002 _Unwind_GetCFA return to _Unwind_Ptr first.
20003
83d1aec8
JM
200042012-03-19 Joseph Myers <joseph@codesourcery.com>
20005
1897ad44
JM
20006 [BZ #13629]
20007 * math/s_clog.c: Include <float.h>.
20008 (__clog): Scale large or subnormal inputs.
20009 * math/s_clogf.c: Likewise.
20010 * math/s_clogl.c: Likewise.
20011 * math/s_clog10.c: Include <float.h>.
20012 (M_LOG10_2): Define.
20013 (__clog10): Scale large or subnormal inputs.
20014 * math/s_clog10f.c: Likewise.
20015 * math/s_clog10l.c: Likewise.
20016 * math/libm-test.inc (clog_test): Add more tests.
20017 (clog10_test): Likewise.
20018 * sysdeps/i386/fpu/libm-test-ulps: Update.
20019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20020
7726d6a9
JM
20021 [BZ #11451]
20022 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
20023 x and y.
20024 * math/libm-test.inc (atan2_test): Add another test.
20025
83d1aec8
JM
20026 * Makerules (common-objdir-compile): Remove.
20027 * sysdeps/unix/Makefile (config-generated): Do not add
20028 $(unix-generated) to variable.
20029 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
20030 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
20031 Remove rule.
20032 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
20033 Likewise.
20034 [generic bits/local_lim.h] (before-compile): Do not append to
20035 variable.
20036 [generic bits/local_lim.h] (common-generated): Likewise.
20037 [generic sys/param.h] (before-compile): Do not append to variable.
20038 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
20039 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
20040 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
20041 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
20042 include.
20043 [generic sys/param.h] (sys/param.h-includes): Remove variable.
20044 [generic sys/param.h] (sys/param.h-includes): Remove rule.
20045 [generic sys/param.h] ($(addprefix
20046 $(common-objpfx),$(sys/param.h-includes))): Likewise.
20047 [generic sys/param.h] (common-generated): Do not append to
20048 variable.
20049 [generic sys/param.h] (sysdep_headers): Likewise.
20050 [generic bits/errno.h] (before-compile): Do not append to
20051 variable.
20052 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
20053 rule.
20054 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
20055 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
20056 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
20057 [generic bits/errno.h] (common-generated): Do not append to
20058 variable.
20059 [generic bits/ioctls.h] (before-compile): Do not append to
20060 variable.
20061 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
20062 rule.
20063 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
20064 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
20065 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
20066 rule.
20067 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
20068 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
20069 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
20070 [generic bits/ioctls.h] (common-generated): Do not append to
20071 variable.
20072 [generic sys/syscall.h] (syscall.h): Remove variable.
20073 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
20074 rule.
20075 [generic sys/syscall.h] (before-compile): Do not append to
20076 variable.
20077 [generic sys/syscall.h] (common-generated): Likewise.
20078 * sysdeps/unix/errnos-tmpl.c: Remove file.
20079 * sysdeps/unix/errnos.awk: Likewise.
20080 * sysdeps/unix/ioctls-tmpl.c: Likewise.
20081 * sysdeps/unix/ioctls.awk: Likewise.
20082 * sysdeps/unix/mk-local_lim.c: Likewise.
20083 * sysdeps/unix/snarf-ioctls: Likewise.
20084
4851a949
RH
200852012-03-19 Richard Henderson <rth@twiddle.net>
20086
bd37f2ee
RH
20087 * sysdeps/i386/fpu/fenv_private.h: New file.
20088 * sysdeps/i386/fpu/math_private.h: Use it.
20089 (math_opt_barrier, math_force_eval): Remove.
20090 (libc_feholdexcept_setround_53bit): Remove.
20091 (libc_feupdateenv_53bit): Remove.
20092 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20093 (math_opt_barrier, math_force_eval): Remove.
20094 (libc_feholdexcept): Remove.
20095 (libc_feholdexcept_setround): Remove.
20096 (libc_fetestexcept, libc_fesetenv): Remove.
20097 (libc_feupdateenv_test): Remove.
20098 (libc_feupdateenv, libc_feholdsetround): Remove.
20099 (libc_feresetround): Remove.
20100
d0adc922
RH
20101 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
20102 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20103
0fe0f1f8
RH
20104 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
20105 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
20106 (libc_feupdateenv_testl): New.
20107 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
20108 (libc_feupdateenv_testf): New.
20109 (libc_feupdateenv): Use libc_feupdateenv_test.
20110 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
20111 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
20112
eb92c487
RH
20113 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
20114 (libc_feholdsetroundf, libc_feholdsetroundl): New.
20115 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
20116 (libc_feresetround_noex): New.
20117 (libc_feresetround_noexf): New.
20118 (libc_feresetround_noexl): New.
20119 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
20120 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
20121 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
20122 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
20123 SET_RESTORE_ROUND.
20124 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20125 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
20126 (__cos): Likewise.
20127 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
20128 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20129 SET_RESTORE_ROUND_NOEX.
20130 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
20131 SET_RESTORE_ROUND_NOEXF.
20132 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
20133 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
20134 (libc_feholdsetroundf): New.
20135 (libc_feresetround, libc_feresetroundf): New.
20136
7d2e8012
RH
20137 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
20138 (libc_feholdexcept_setround_53bit): Convert from macro to function.
20139 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
20140
b4dabbb4
RH
20141 * sysdeps/generic/math_private.h: Include <fenv.h>.
20142 (default_libc_feholdexcept): New.
20143 (default_libc_feholdexcept_setround): New.
20144 (default_libc_fesetenv, default_libc_feupdateenv): New.
20145 (libc_feholdexcept): Only define if undefined.
20146 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
20147 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
20148 (libc_feholdexcept_setroundl): Likewise.
20149 (libc_feholdexcept_setround_53bit): Likewise.
20150 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
20151 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
20152 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
20153 (libc_feupdateenv_53bit): Likewise.
20154 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
20155 (libc_feholdexcept): Convert from macro to inline function.
20156 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
20157 (libc_fesetenv, libc_feupdateenv): Likewise.
20158
4851a949
RH
20159 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
20160 not previously defined.
20161 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
20162 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
20163 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
20164 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
20165 * sysdeps/ieee754/flt-32/math_private.h: New file.
20166 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
20167 math_private.h below SET_FLOAT_WORD.
20168 (__isnan, __isinf_ns, __finite): Remove.
20169 (__isnanf, __isinf_nsf, __finitef): Remove.
20170
e79d442e
AS
201712012-03-18 Andreas Schwab <schwab@linux-m68k.org>
20172
20173 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20174
90b80344
DM
201752012-03-17 David S. Miller <davem@davemloft.net>
20176
20177 [BZ #6471]
20178 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
20179 for 2.16.
20180
edc21804
DM
201812012-03-16 David S. Miller <davem@davemloft.net>
20182
77e927af
DM
20183 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
20184 warnings.
20185
374976dd
DM
20186 [BZ #6471]
20187 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
20188 properly.
20189 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
20190 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
20191 sysdep_routines when subdir is sysvipc.
20192 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
20193 __getshmlba helper.
20194
edc21804
DM
20195 * sysdeps/sparc/fpu/libm-test/ulps: Update.
20196
473c3ef3
L
201972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20198
20199 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
20200 [__LP64__].
20201
eb0f39b6
L
202022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20203
20204 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
20205 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
20206 (__lround): Renamed to ...
20207 (__llround): This. Replace long int with long long int.
20208 Define lround functions as aliases of llround functions.
20209 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
20210
6b6cd74b
L
202112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20212
20213 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
20214 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
20215 adresses to uintptr_t. Replace "long int" and "unsigned long
20216 int" with "greg_t" on va_arg.
20217
f1a77b01
L
202182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20219
20220 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
20221 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
20222
20223 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
20224 Move e_machine check before EI_CLASS check. Handle x32
20225 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
20226 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
20227 SKIP_EM_IA_64 and include
20228 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
20229
20230 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
20231 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
20232 (add_system_dir): New macro.
20233
20234 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
20235 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
20236
11b90b9f
JM
202372012-03-16 Joseph Myers <joseph@codesourcery.com>
20238
c36e1d23
JM
20239 [BZ #2551]
20240 [BZ #2552]
20241 [BZ #2553]
20242 [BZ #2554]
20243 [BZ #2562]
20244 [BZ #2563]
20245 [BZ #2565]
20246 [BZ #2566]
20247 [BZ #2576]
20248 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
20249 (y0): Likewise.
20250 * math/w_j0f.c (j0f): Likewise.
20251 (y0f): Likewise.
20252 * math/w_j0l.c (__j0l): Likewise.
20253 (__y0l): Likewise.
20254 * math/w_j1.c (j1): Likewise.
20255 (y1): Likewise.
20256 * math/w_j1f.c (j1f): Likewise.
20257 (y1f): Likewise.
20258 * math/w_j1l.c (__j1l): Likewise.
20259 (__y1l): Likewise.
20260 * math/w_jn.c (jn): Likewise.
20261 (yn): Likewise.
20262 * math/w_jnf.c (jnf): Likewise.
20263 (ynf): Likewise.
20264 * math/w_jnl.c (__jnl): Likewise.
20265 (__ynl): Likewise.
20266 * math/libm-test.inc (j0_test): Add more tests.
20267 (j1_test): Likewise.
20268 (jn_test): Likewise. Add trailing semicolon to existing test.
20269 (y0_test): Likewise.
20270 (y1_test): Likewise.
20271 * sysdeps/i386/fpu/libm-test-ulps: Update.
20272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20273
11b90b9f
JM
20274 [BZ #13851]
20275 [BZ #13854]
20276 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20277 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
20278 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
20279 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
20280 (__tanl): Set errno for infinite argument.
20281 * sysdeps/i386/fpu/mptan.c: Remove.
20282 * sysdeps/i386/fpu/s_tan.S: Likewise.
20283 * sysdeps/i386/fpu/s_tanl.S: Likewise.
20284 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
20285 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
20286 * math/libm-test.inc (tan_test): Add more tests and enable more
20287 tests for double and long double.
20288 * sysdeps/i386/fpu/libm-test-ulps: Update.
20289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20290
6a1bd2a1
JK
202912012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
20292
20293 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
20294 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
20295
10a803e0
RM
202962012-03-16 Roland McGrath <roland@hack.frob.com>
20297
20298 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
20299 * configure.in: Use it for both main tree and add-ons.
20300 * configure: Regenerated.
20301
f196c7f7
L
203022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20303
20304 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
20305
8848d99d
JM
203062012-03-16 Joseph Myers <joseph@codesourcery.com>
20307
96cbe7f4
JM
20308 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
20309 in comment.
20310
8848d99d
JM
20311 [BZ #13851]
20312 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
20313 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
20314 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
20315 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
20316 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
20317 infinite argument.
20318 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
20319 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
20320 != 0 for prec == 2.
20321 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
20322 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
20323 * sysdeps/i386/fpu/s_cosl.S: Likewise.
20324 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
20325 * sysdeps/i386/fpu/s_sinl.S: Likewise.
20326 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
20327 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
20328 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
20329 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
20330 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
20331 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
20332 * math/libm-test.inc (cos_test): Add more tests and enable more
20333 tests for long double.
20334 (sin_test): Likewise.
20335 (sincos_test): Likewise.
20336 * sysdeps/i386/fpu/libm-test-ulps: Update.
20337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20338
dd7f4703
DM
203392012-03-16 David S. Miller <davem@davemloft.net>
20340
20341 * sysdeps/sparc/fpu/math_private.h: New file.
20342
006f1daa
DM
203432012-03-15 David S. Miller <davem@davemloft.net>
20344
c0c83bc8
DM
20345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
20346 file.
e6a62e18 20347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
20348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
20349 file.
e6a62e18
DM
20350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
20351 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
20352 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
20353 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
20354 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
20355 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
20356 sysdep routines.
20357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20358
88cb87d9
DM
20359 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
20360 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
20361
006f1daa 20362 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
20363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
20364 sparc-ifunc.h
006f1daa 20365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
20366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20367 Likewise.
20368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20369 Likewise.
006f1daa
DM
20370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
20371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
20373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20374 Likewise.
006f1daa
DM
20375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
20377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
20379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
20380 Likewise.
20381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
20382 Likewise.
006f1daa
DM
20383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
20386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
20387 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20388 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20389 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
20390 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
20391 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20392 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20393 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
20394 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
20395 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
20396 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
20397 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
20398 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20399 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
20400 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20401 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
20402 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20403 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
20404 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20405 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
20406 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20407
11e0098e
AS
204082012-03-15 Andreas Schwab <schwab@linux-m68k.org>
20409
20410 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
20411 scaling.
20412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20413
e85b09d0
AJ
204142012-03-15 Andreas Jaeger <aj@suse.de>
20415
20416 [BZ #13852]
20417 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
20418 ieee754/flt-32 implementation for sin, cos and sincos.
20419 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
20420 * sysdeps/i386/fpu/s_cosf.S: Likewise.
20421 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
20422 * sysdeps/i386/fpu/s_sinf.S: Likewise.
20423 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
20424 ieee754/flt-32 implementation for tan.
20425
20426 * math/libm-test.inc (cos_test): Enable some large input tests for
20427 float as well
20428 (sin_test): Likewise.
20429 (sincos_test): Likewise.
20430 (tan_test): Add tests for large input.
20431
20432 * sysdeps/i386/fpu/libm-test-ulps: Update.
20433
81c64153
AJ
204342012-03-15 Andreas Jaeger <aj@suse.de>
20435
20436 [BZ #13658]
20437 * math/libm-test.inc (cos_test): Add more test cases.
20438 (sin_test): Likewise.
20439 (sincos_test): Likewise.
20440
7bbfa5c6
AJ
204412012-03-15 Andreas Jaeger <aj@suse.de>
20442
20443 [BZ #13837]
20444 * math/libm-test.inc (cos_test): Add a test case for large input
20445 value.
20446 (sin_test): Likewise.
20447 (sincos_test): Likewise.
20448
204492012-03-15 Andreas Jaeger <aj@suse.de>,
20450 Joseph Myers <joseph@codesourcery.com>
20451
20452 [BZ #13658]
0671f479 20453 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
20454 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
20455 * sysdeps/i386/fpu/branred.c: Likewise.
20456 * sysdeps/i386/fpu/dosincos.c: Likewise.
20457 * sysdeps/i386/fpu/mpa.c: Likewise.
20458 * sysdeps/i386/fpu/s_cos.S: Likewise.
20459 * sysdeps/i386/fpu/s_sin.S: Likewise.
20460 * sysdeps/i386/fpu/s_sincos.S: Likewise.
20461 * sysdeps/i386/fpu/sincos32.c: Likewise.
20462
20463 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
20464 Define.
20465 (libc_feupdateenv_53bit): Define.
20466 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
20467 Define.
20468 (libc_feupdateenv_53bit): Define.
20469
20470 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
20471 53 bit (without extend i386 double precision).
20472
20473 * math/libm-test.inc (sincos_test): Add tests for large input.
20474 (sin): Likewise.
20475 (cos): Likewise.
20476
20477 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20478
9cad04ea
AS
204792012-03-15 Andreas Schwab <schwab@linux-m68k.org>
20480
20481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20482
f7062b9a
DM
204832012-03-15 David S. Miller <davem@davemloft.net>
20484
20485 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
20486 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
20487 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
20488 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
20489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
20490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
20491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
20492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
20493 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
20494 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
20495 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
20496 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
20497 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
20498 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
20499 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
20500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
20501 file.
f7062b9a 20502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
20503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
20504 file.
f7062b9a 20505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
20506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
20507 file.
f7062b9a 20508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
20509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
20510 file.
f7062b9a
DM
20511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
20512 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
20513 fmin/fmax sysdep routines.
20514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20515
7bd951ff
DM
205162012-03-14 David S. Miller <davem@davemloft.net>
20517
559398ab
DM
20518 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
20519 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
20520 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
20521 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
20522 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
20523 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
20524 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
20525 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
20526 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
20527 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
20528 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
20529 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
20530 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
20531 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
20532 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
20533 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
20534 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
20535 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
20536 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
20537 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
20538 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
20539 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
20540 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
20541 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
20542 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
20543 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
20544 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
20545 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
20546 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
20547 routines.
20548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
20549 file.
559398ab 20550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
20551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
20552 file.
559398ab 20553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
20554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
20555 file.
559398ab 20556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
20557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
20558 file.
559398ab 20559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
20560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
20561 file.
559398ab 20562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
20563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
20564 file.
20565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
20566 file.
20567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
20568 file.
20569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
20570 file.
20571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
20572 New file.
20573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
20574 file.
20575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
20576 file.
559398ab 20577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
20578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
20579 file.
559398ab 20580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
20581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
20582 file.
559398ab 20583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
20584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
20585 file.
559398ab 20586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
20587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
20588 VIS3 routines.
559398ab
DM
20589
20590 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20591 New file.
20592
5a1c1e32
DM
20593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20594
eae47a36
DM
20595 * sysdeps/sparc/configure.in: New file.
20596 * sysdeps/sparc/configure: Generate.
20597 * configure.in (libc_cv_sparc_as_vis3): Substitute.
20598 * configure: Regenerate.
20599 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
20600 * config.make.in (have-as-vis3): New.
20601 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
20602 available use -Av9d instead of -Av9a.
20603 * sysdeps/sparc/sparc64/Makefile: Likewise.
20604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
20605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
20606 New file.
20607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
20608 file.
20609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
20610 New file.
20611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
20612 file.
eae47a36
DM
20613 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
20614 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
20615 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
20616 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
20617 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
20618
c0c83bc8
DM
20619 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
20620 fzeros/fnegs to load 0x80000000 into a float register instead of
20621 using the stack.
7bd951ff
DM
20622 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
20623
bd951ccb
JM
206242012-03-14 Joseph Myers <joseph@codesourcery.com>
20625
20626 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20627 bits/syscall.h.
20628 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
20629 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
20630 ($(inst_includedir)/bits/syscall.h): Remove rule.
20631 ($(objpfx)bits/syscall.d): Include instead of
20632 $(objpfx)syscall-list.d.
20633 (generated): Change syscall-list.h and syscall-list.d to
20634 bits/syscall.h and bits/syscall.d.
20635
bb4e6db2
RM
206362012-03-14 Roland McGrath <roland@hack.frob.com>
20637
20638 [BZ #13846]
20639 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
20640
aa4a2ae1
JM
206412012-03-14 Joseph Myers <joseph@codesourcery.com>
20642
e456826d
JM
20643 [BZ #13841]
20644 * math/s_csqrt.c: Include <float.h>.
20645 (__csqrt): Scale large or subnormal inputs.
20646 * math/s_csqrtf.c: Likewise.
20647 * math/s_csqrtl.c: Likewise.
20648 * math/libm-test.inc (csqrt_test): Add more tests.
20649 * sysdeps/i386/fpu/libm-test-ulps: Update.
20650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20651
aa4a2ae1
JM
20652 [BZ #13840]
20653 * math/libm-test.inc (hypot_test): Add more tests.
20654
7c10fd35
DM
206552012-03-13 David S. Miller <davem@davemloft.net>
20656
20657 [BZ #13840]
20658 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
20659 double-precision for the calculation instead of scaling.
20660
f453b98b
JM
206612012-03-13 Joseph Myers <joseph@codesourcery.com>
20662
20663 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
20664 manipulate bits before adding and subtracting TWO52[sx].
20665 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
20666 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
20667 Likewise.
20668 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
20669
09a3453f
DM
206702012-03-13 David S. Miller <davem@davemloft.net>
20671
8e59da90
DM
20672 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
20673 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
20674 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
20675 rtld-global-offsets.h
20676 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20677
2a8ab7f2
DM
20678 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
20679 large parameters.
20680
10f62770
DM
20681 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
20682
5f0bdb18
DM
20683 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
20684 'err' in the ifdef scope in which it is actually used.
20685
09a3453f
DM
20686 * nss/nss_db/db-init.c: Include string.h
20687
b4b2eb5e
DM
206882012-03-12 David S. Miller <davem@davemloft.net>
20689
98bb2f1c
DM
20690 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20691 masking out of the most significant byte of random value used.
20692 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20693 Fix coding style in previous change.
20694
b4b2eb5e
DM
20695 * sysdeps/unix/sysv/linux/kernel-features.h
20696 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
20697 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
20698 expression.
20699 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
20700 later.
20701
6e226b09
DM
207022012-03-11 David S. Miller <davem@davemloft.net>
20703
a1bcbd40
DM
20704 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20705 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
20706 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
20707 for 'resultvar' otherwise things get truncated on 64-bit.
20708
cb9d6174
DM
20709 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20710 Fix masking out of the most significant byte of random value used.
20711
6e226b09
DM
20712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20713
058c132d
AS
207142012-03-10 Andreas Schwab <schwab@linux-m68k.org>
20715
20716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20717
2d2cd515
DM
207182012-03-09 David S. Miller <davem@davemloft.net>
20719
20720 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
20721 variables with appropriate CPP guards.
20722 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
20723 frame pointer, not the stack pointer. Correct layout comments. Fix test
20724 on resulting framesize and the management of the outregs buffer for pltexit.
20725 Preserve floating point return values across _dl_call_pltexit call.
20726 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
20727 framesize and the management of the outregs buffer for pltexit.
20728 Preserve floating point return values across _dl_call_pltexit
20729 call.
20730 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
20731 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
20732 (print_exit): Fix format string for return register value.
20733
9a07f9d0
JM
207342012-03-10 Joseph Myers <joseph@codesourcery.com>
20735
20736 * sunrpc/Makefile (others): Add rpcgen.
20737 ($(objpfx)rpcgen): Remove special build rule and dependency on
20738 libc.
20739 * sunrpc/rpcgen.c: New file.
20740
547b5e30
PE
207412012-03-09 Paul Eggert <eggert@cs.ucla.edu>
20742
c524201a
PE
20743 [BZ #13673]
20744 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
20745 * stdio-common/bug-vfprintf-nargs.c: Likewise.
20746 * sysdeps/i386/crti.S: Likewise.
20747 * sysdeps/i386/crtn.S: Likewise.
20748 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
20749 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
20750 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
20751 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
20752 * sysdeps/sh/crti.S: Likewise.
20753 * sysdeps/sh/crtn.S: Likewise.
20754 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20755
7b6235f2
PE
20756 [BZ #13673]
20757 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
20758 with URL.
20759 * locale/programs/locfile-kw.gperf: Likewise.
20760 * locale/programs/charmap-kw.h: Regenerated.
20761 * locale/programs/locfile-kw.h: Likewise.
20762
547b5e30
PE
20763 [BZ #13673]
20764 * intl/plural.y: Replace FSF snail mail address with URL.
20765 * intl/plural.c: Regenerated.
20766
5f0a5dae
RH
207672012-03-09 Richard Henderson <rth@twiddle.net>
20768
20769 * include/math_private.h: Remove file.
20770 * math/math_private.h: Move file ...
20771 * sysdeps/generic/math_private.h: ... here.
20772
b8c03620
RH
20773 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
20774 * sysdeps/powerpc/fpu/math_private.h: Likewise.
20775 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20776
4e234f5d 20777 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
20778 and <math_private.h>.
20779 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20780 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20781 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20782 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20783 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20784 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
20785 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20786 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20787 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20788 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20789 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20790 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20791 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20792 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20793 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20794 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20795 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20796 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20797 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20798 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20799 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20800 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20801 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20802 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20803 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20804 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20805 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20806 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20807 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20808 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20809 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20810 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20811 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20812 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20813 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20814 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20815 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20816 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20817 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20818 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20819 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
20820 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20821 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20822 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20823 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20824 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20825 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
20826 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20827 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20828 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20829 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20830 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
20831 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20832 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20833 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20834 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20835 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20836 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20837 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20838 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
20839 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20840 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20841 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20842 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20843 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
20844 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20845 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20846 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20847 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
20848 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
20849 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20850 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20851 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20852 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20853 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
20854 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
20855 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
20856 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20857 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
20858 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
20859 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20860 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
20861 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20862 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20863 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20864 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
20865 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
20866 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
20867 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20868 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20869 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20870 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20871 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20872 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20873 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20874 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20875 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20876 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20877 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20878 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20879 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20880 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20881 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20882 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20883 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20884 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20885 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20886 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20887 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20888 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20889 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20890 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20891 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20892 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20893 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
20894 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20895 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20896 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20897 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20898 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20899 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20900 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20901 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20902 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
20903 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20904 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20905 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20906 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
20907 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20908 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
20909 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
20910 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20911 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20912 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
20913 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
20914 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20915 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20916 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20917 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
20918 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20919 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20920 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20921 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20922 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
20923 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
20924 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20925 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20926 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20927 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
20928 * sysdeps/ieee754/k_standard.c: Likewise.
20929 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20930 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20931 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20932 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20933 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20934 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20935 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20936 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20937 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20938 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20939 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20940 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20941 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20942 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20943 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20944 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20945 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20946 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20947 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20948 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
20949 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
20950 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
20951 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20952 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20953 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20954 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20955 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20956 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20957 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20958 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20959 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20960 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20961 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20962 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20963 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20964 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20965 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20966 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
20967 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
20968 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20969 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20970 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20971 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20972 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20973 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20974 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20975 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20976 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20977 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20978 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20979 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20980 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20981 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20982 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
20983 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20984 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20985 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
20986 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
20987 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20988 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20989 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20990 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20991 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20992 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20993 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20994 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20995 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20996 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20997 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20998 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20999 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21000 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21001 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21002 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21003 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21004 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21005 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
21006 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21007 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21008 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21009 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21010 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21011 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21012 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21013 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
21014 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21015 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21016 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21017 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21018 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21019 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
21020 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21021 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21022 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21023 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21024 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21025 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
21026 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21027 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21028 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
21029 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21030 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21031 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21032 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21033 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
21034 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21035 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21036 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21037 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
21038 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21039 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21040 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21041 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21042 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21043 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21044 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21045 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21046 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21047 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21048 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21049 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21050 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21051 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21052 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21053 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21054 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
21055 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21056 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21057 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21058 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21059 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21060 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21061 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21062 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21063 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21064 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21065 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
21066 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21067 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21068 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
21069 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
21070 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21071 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
21072 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
21073 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21074 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21075 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21076 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21077 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21078 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
21079 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21080 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21081 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21082 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21083 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
21084 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
21085 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21086 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21087 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21088 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21089 * sysdeps/ieee754/s_lib_version.c: Likewise.
21090 * sysdeps/ieee754/s_matherr.c: Likewise.
21091 * sysdeps/ieee754/s_signgam.c: Likewise.
21092 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21093 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21094 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
21095 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
21096 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
21097 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21098 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
21099 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
21100 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
21101 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
21102 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21103 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
21104 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21105 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21106 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
21107 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21108 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21109 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21110 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21111 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21112 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 21113
1991fa03
JM
211142012-03-09 Joseph Myers <joseph@codesourcery.com>
21115
21116 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
21117 * sunrpc/rpc_main.c: Likewise.
21118 * sunrpc/rpc_svcout.c: Likewise.
21119
60d6f5a6
DM
211202012-03-09 David S. Miller <davem@davemloft.net>
21121
21122 * include/math_private.h: New file.
21123
4962050e
JM
211242012-03-09 Joseph Myers <joseph@codesourcery.com>
21125
02a6f887
JM
21126 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
21127 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
21128 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
21129 from <bits/socket_type.h>.
21130 (enum __socket_type): Don't define here.
21131 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
21132 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21133 bits/socket_type.h.
21134
c6e013c1
JM
21135 [BZ #13566]
21136 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
21137 checking __USE_GNU.
21138
4962050e
JM
21139 * Makerules ($(inst_includedir)/%.h): New rule.
21140 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
21141 (install-others): Remove variable setting.
21142 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
21143
38842f45
RH
211442012-03-08 Richard Henderson <rth@twiddle.net>
21145
67bb6da6
RH
21146 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
21147 from macro to inline function; merge with the
21148 !__LIBC_INTERNAL_MATH_INLINES version.
21149 (__ieee754_sqrtf): Likewise.
21150
15194b4b
RH
21151 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
21152 to inline function.
21153 (__rintf, __floor, __floorf): Likewise.
21154
64e21ede
RH
21155 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
21156 macro to inline function.
21157 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
21158
38842f45
RH
21159 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
21160 not <math/math_private.h>.
21161
c64bf5fe
DM
211622012-03-08 David S. Miller <davem@davemloft.net>
21163
21164 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
21165 copyright year.
21166 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
21167
82d86f28
TS
211682012-03-08 Thomas Schwinge <thomas@codesourcery.com>
21169
21170 * resolv/gai_misc.c (handle_requests): Fix struct timespec
21171 normalization.
21172 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
21173 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21174
aea5d727
UD
211752012-03-08 Ulrich Drepper <drepper@gmail.com>
21176
21177 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
21178 be defined individually, they must be defined as a block. Define
21179 S for printing a string instead of hidint the different by using a
21180 macro for adding the 'l'.
21181 * stdio-common/tst-fphex-wide.c: Adjust.
21182
70bca0a3
MP
211832012-03-07 Marek Polacek <polacek@redhat.com>
21184
21185 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
21186
65b81130
MP
211872012-03-08 Marek Polacek <polacek@redhat.com>
21188
21189 [BZ #13806]
21190 * stdio-common/Makefile (tests): Add tst-fphex-wide.
21191 * stdio-common/tst-fphex.c: Define a few macros to make the
21192 test reusable. Use them.
21193 * stdio-common/tst-fphex-wide.c: New file.
21194
07037eeb
JM
211952012-03-08 Joseph Myers <joseph@codesourcery.com>
21196
a7a93d50
JM
21197 [BZ #6911]
21198 * manual/macros.texi (gnusystems): New macro.
21199 (nongnusystems): Likewise.
21200 (gnulinuxhurdsystems): Likewise.
21201 (gnuhurdsystems): Likewise..
21202 (gnulinuxsystems): Likewise.
21203 * manual/charset.texi: Use new macros or @theglibc{} to refer to
21204 variants of the GNU system, not "GNU system".
21205 * manual/conf.texi: Likewise.
21206 * manual/errno.texi: Likewise. Update example of errno macro
21207 expansion.
21208 * manual/filesys.texi: Likewise.
21209 (getumask): Document as specific to GNU/Hurd.
21210 * manual/install.texi: Likewise. Reword some references to
21211 GNU/Linux.
21212 * manual/intro.texi: Likewise.
21213 * manual/io.texi: Likewise.
21214 (File Name Portability): Detail which constraints are inapplicable
21215 to all GNU systems and which are only inapplicable to GNU/Hurd.
21216 * manual/job.texi: Likewise.
21217 * manual/llio.texi: Likewise.
21218 (O_NOCTTY): Document as present on GNU/Linux.
21219 * manual/maint.texi: Likewise.
21220 * manual/memory.texi: Likewise.
21221 * manual/pattern.texi: Likewise.
21222 * manual/pipe.texi: Likewise.
21223 * manual/process.texi: Likewise.
21224 * manual/resource.texi: Likewise.
21225 (RUSAGE_CHILDREN): Remove statement about specifying a particular
21226 child on GNU/Hurd.
21227 * manual/setjmp.texi: Likewise.
21228 * manual/signal.texi: Likewise.
21229 * manual/startup.texi: Likewise.
21230 * manual/stdio.texi: Likewise.
21231 * manual/terminal.texi: Likewise.
21232 (ONLCR): Document as POSIX.
21233 (OXTABS): Document availability on GNU/Linux as XTABS.
21234 (ONOEOT): Document availability separately from other bits.
21235 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
21236 * manual/time.texi: Likewise.
21237 * manual/users.texi: Likewise.
21238 * INSTALL: Regenerated.
21239 * sysdeps/gnu/errlist.c: Regenerated.
21240
07037eeb
JM
21241 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
21242 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
21243 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
21244 puts.
21245 * configure: Regenerated.
21246
d1d3431a
JM
212472012-03-07 Joseph Myers <joseph@codesourcery.com>
21248
af6a1e37
JM
21249 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
21250 default includes instead of AC_HEADER_CHECK.
21251 * sysdeps/i386/configure: Regenerated.
21252
d1d3431a
JM
21253 [BZ #10716]
21254 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
21255 * math/s_cacoshf.c (__cacoshf): Likewise.
21256 * math/s_cacoshl.c (__cacoshl): Likewise.
21257 * math/s_casinh.c (__casinh): Set signs of result from argument.
21258 * math/s_casinhf.c (__casinhf): Likewise.
21259 * math/s_casinhl.c (__casinhl): Likewise.
21260 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
21261 (casinh_test): Add more tests.
21262 * sysdeps/i386/fpu/libm-test-ulps: Update.
21263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21264
482ff4da
UD
212652012-03-07 Ulrich Drepper <drepper@gmail.com>
21266
872fda05
UD
21267 * po/zh_TW.po: Update from translation team.
21268
a4300c7a
UD
21269 * login/Makefile (distribute): Remove variable.
21270 * catgets/Makefile: Likewise.
21271 * mach/Makefile: Likewise.
21272 * malloc/Makefile: Likewise.
21273 * misc/Makefile: Likewise.
21274 * iconv/Makefile: Likewise.
21275 * nscd/Makefile: Likewise.
21276 * hurd/Makefile: Likewise.
21277 * manual/Makefile: Likewise.
21278 * locale/Makefile: Likewise.
21279 * intl/Makefile: Likewise.
21280 * conform/Makefile: Likewise.
21281 * nss/Makefile: Likewise.
21282 * time/Makefile: Likewise.
21283 * soft-fp/Makefile: Likewise.
21284 * dirent/Makefile: Likewise.
21285 * gmon/Makefile: Likewise.
21286 * po/Makefile: Likewise.
21287 * rt/Makefile: Likewise.
21288 * socket/Makefile: Likewise.
21289 * math/Makefile: Likewise.
21290 * signal/Makefile: Likewise.
21291 * debug/Makefile: Likewise.
21292 * elf/Makefile: Likewise.
21293 * timezone/Makefile: Likewise.
21294 * stdlib/Makefile: Likewise.
21295 * iconvdata/Makefile: Likewise.
21296 * sunrpc/Makefile: Likewise.
21297 * io/Makefile: Likewise.
21298 * argp/Makefile: Likewise.
21299 * inet/Makefile: Likewise.
21300 * hesiod/Makefile: Likewise.
21301 * grp/Makefile: Likewise.
21302 * csu/Makefile: Likewise.
21303 * wctype/Makefile: Likewise.
21304 * crypt/Makefile: Likewise.
21305 * libio/Makefile: Likewise.
21306 * string/Makefile: Likewise.
21307 * nis/Makefile: Likewise.
21308 * resolv/Makefile: Likewise.
21309 * stdio-common/Makefile: Likewise.
21310 * wcsmbs/Makefile: Likewise.
21311 * dlfcn/Makefile: Likewise.
21312 * posix/Makefile: Likewise.
21313
3b7c4e74 21314 [BZ #6959]
482ff4da
UD
21315 * timezone/Makefile: Don't install timezone files, just the programs
21316 and scripts.
21317
f72ed77d
UD
213182012-03-06 Ulrich Drepper <drepper@gmail.com>
21319
a000466f
UD
21320 * nss/databases.def: Add missing gshadow entry.
21321
f72ed77d
UD
21322 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
21323
a53b7a4e
MP
213242012-03-06 Marek Polacek <polacek@redhat.com>
21325
21326 [BZ #13726]
21327 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
21328 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21329 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
21330 * stdio-common/tst-long-dbl-fphex.c: New file.
21331
e9258400
DM
213322012-03-06 David S. Miller <davem@davemloft.net>
21333
21334 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21335 (set_obp_int): New function.
21336 (get_obp_int): New function.
21337 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
21338 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
21339 Avoid unused variable warnings on 'val' and use builtin_expect.
21340 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
21341 __builtin_expect.
e9258400
DM
21342 (INLINE_CLONE_SYSCALL): Likewise.
21343
3bd2c723
DM
213442012-03-05 David S. Miller <davem@davemloft.net>
21345
21346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21347
bbb78d03
AS
213482012-03-05 Andreas Schwab <schwab@linux-m68k.org>
21349
884c5db4
AS
21350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21351
bbb78d03
AS
21352 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
21353 only for |x| >= 40.
21354 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21355
1c9f702a 213562012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
21357
21358 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
21359 Replace gettimeofday with __vdso_gettimeofday.
21360
7be16f82
RM
21361 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21362 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
21363 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
21364
21365 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
21366 time with __vdso_time.
21367
ed58a00f
JM
213682012-03-05 Joseph Myers <joseph@codesourcery.com>
21369
21370 * manual/lang.texi (size_t): Note types to which size_t may be
21371 equivalent with the GNU C Library, but do not describe when
21372 differences between them are significant.
21373
30ee4ced
AJ
213742012-03-05 Andreas Jaeger <aj@suse.de>
21375
21376 * sysdeps/i386/fpu/libm-test-ulps: Update.
21377
b7cd39e8
JM
213782012-03-05 Joseph Myers <joseph@codesourcery.com>
21379
21380 [BZ #3976]
21381 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
21382 (__ieee754_pow): Save and restore rounding mode and use
21383 round-to-nearest for main computations.
21384 * math/libm-test.inc (pow_test_tonearest): New function.
21385 (pow_test_towardzero): Likewise.
21386 (pow_test_downward): Likewise.
21387 (pow_test_upward): Likewise.
21388 (main): Call the new functions.
21389 * sysdeps/i386/fpu/libm-test-ulps: Update.
21390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
21391
21392 [BZ #3976]
21393 * math/libm-test.inc (cosh_test_tonearest): New function.
21394 (cosh_test_towardzero): Likewise.
21395 (cosh_test_downward): Likewise.
21396 (cosh_test_upward): Likewise.
21397 (sinh_test_tonearest): Likewise.
21398 (sinh_test_towardzero): Likewise.
21399 (sinh_test_downward): Likewise.
21400 (sinh_test_upward): Likewise.
21401 (main): Call the new functions.
21402 * sysdeps/i386/fpu/libm-test-ulps: Update.
21403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21404
6c6a98c9
TV
214052012-03-05 Tom de Vries <tom@codesourcery.com>
21406
21407 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
21408 default stack guard is set in last bytes.
21409 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
21410
21bb2d2e 214112012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 21412
21bb2d2e 21413 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 21414
21bb2d2e
AJ
21415 [BZ #13656]
21416 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
21417 possibly allocate from heap instead of stack.
21418 * stdio-common/bug-vfprintf-nargs.c: New file.
21419 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 21420
c6922934
AS
214212012-03-03 Andreas Schwab <schwab@linux-m68k.org>
21422
21423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21424
bc957d53
MP
214252012-03-03 Marek Polacek <polacek@redhat.com>
21426
21427 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
21428 * math/math_private.h: Likewise.
21429 * stdlib/tst-strtod.c: Likewise.
21430 * sysdeps/i386/i486/bits/atomic.h: Likewise.
21431 * sysdeps/x86_64/bits/atomic.h: Likewise.
21432
6358490d
DM
214332012-03-02 David S. Miller <davem@davemloft.net>
21434
21435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
21436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
21437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
21438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
21439 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
21440 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
21441 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
21442 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
21443
01ae168d
RM
214442012-03-02 Roland McGrath <roland@hack.frob.com>
21445
d9a17c07
RM
21446 [BZ #13792]
21447 * manual/examples/README: New file, says the example source files
21448 can be used under GPL>=2.
21449 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
21450 line containing just "*/".
21451 * manual/examples/add.c: Add copyright header (GPL>=2).
21452 * manual/examples/argp-ex1.c: Likewise.
21453 * manual/examples/argp-ex2.c: Likewise.
21454 * manual/examples/argp-ex3.c: Likewise.
21455 * manual/examples/argp-ex4.c: Likewise.
21456 * manual/examples/atexit.c: Likewise.
21457 * manual/examples/db.c: Likewise.
21458 * manual/examples/dir.c: Likewise.
21459 * manual/examples/dir2.c: Likewise.
21460 * manual/examples/execinfo.c: Likewise.
21461 * manual/examples/filecli.c: Likewise.
21462 * manual/examples/filesrv.c: Likewise.
21463 * manual/examples/fmtmsgexpl.c: Likewise.
21464 * manual/examples/genpass.c: Likewise.
21465 * manual/examples/inetcli.c: Likewise.
21466 * manual/examples/inetsrv.c: Likewise.
21467 * manual/examples/isockad.c: Likewise.
21468 * manual/examples/longopt.c: Likewise.
21469 * manual/examples/memopen.c: Likewise.
21470 * manual/examples/memstrm.c: Likewise.
21471 * manual/examples/mkfsock.c: Likewise.
21472 * manual/examples/mkisock.c: Likewise.
21473 * manual/examples/mygetpass.c: Likewise.
21474 * manual/examples/pipe.c: Likewise.
21475 * manual/examples/popen.c: Likewise.
21476 * manual/examples/rprintf.c: Likewise.
21477 * manual/examples/search.c: Likewise.
21478 * manual/examples/select.c: Likewise.
21479 * manual/examples/setjmp.c: Likewise.
21480 * manual/examples/sigh1.c: Likewise.
21481 * manual/examples/sigusr.c: Likewise.
21482 * manual/examples/stpcpy.c: Likewise.
21483 * manual/examples/strdupa.c: Likewise.
21484 * manual/examples/strftim.c: Likewise.
21485 * manual/examples/strncat.c: Likewise.
21486 * manual/examples/subopt.c: Likewise.
21487 * manual/examples/swapcontext.c: Likewise.
21488 * manual/examples/termios.c: Likewise.
21489 * manual/examples/testopt.c: Likewise.
21490 * manual/examples/testpass.c: Likewise.
21491 * manual/examples/timeval_subtract.c: Likewise.
21492
01ae168d
RM
21493 [BZ #13792]
21494 * manual/time.texi (Elapsed Time): Move timeval_subtract example
21495 function to ...
21496 * manual/timeval_subtract.c.texi: ... here, new file.
21497
49efa33d
DM
214982012-03-02 David S. Miller <davem@davemloft.net>
21499
21500 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
21501
28afd92d
JM
215022012-03-02 Joseph Myers <joseph@codesourcery.com>
21503
804360ed
JM
21504 [BZ #3976]
21505 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
21506 (__sin): Save and restore rounding mode and use round-to-nearest
21507 for all computations.
21508 (__cos): Save and restore rounding mode and use round-to-nearest
21509 for all computations.
21510 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
21511 <fenv.h>.
21512 (tan): Save and restore rounding mode and use round-to-nearest for
21513 all computations.
21514 * math/libm-test.inc (cos_test_tonearest): New function.
21515 (cos_test_towardzero): Likewise.
21516 (cos_test_downward): Likewise.
21517 (cos_test_upward): Likewise.
21518 (sin_test_tonearest): Likewise.
21519 (sin_test_towardzero): Likewise.
21520 (sin_test_downward): Likewise.
21521 (sin_test_upward): Likewise.
21522 (tan_test_tonearest): Likewise.
21523 (tan_test_towardzero): Likewise.
21524 (tan_test_downward): Likewise.
21525 (tan_test_upward): Likewise.
21526 (main): Call the new functions.
21527 * sysdeps/i386/fpu/libm-test-ulps: Update.
21528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21529
a6d06d7b
JM
21530 [BZ #10135]
21531 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
21532 small n, then large n, before computing and testing k+n.
21533 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21534 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
21535 Likewise.
21536 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
21537 Likewise.
21538 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
21539 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
21540 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
21541 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
21542 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21543 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21544 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
21545 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
21546 * math/libm-test.inc (scalbn_test): Add more tests.
21547 (scalbln_test): Likewise.
21548
07e12bb3
JM
21549 * manual/filesys.texi (mode_t): Describe constraints on size and
21550 signedness, not exact equivalence to a particular type.
21551 (ino_t): Likewise.
21552 (ino64_t): Likewise.
21553 (dev_t): Likewise.
21554 (nlink_t): Likewise.
21555 (blkcnt_t): Likewise.
21556 (blkcnt64_t): Likewise.
21557 * manual/llio.texi (off_t): Likewise.
21558
28afd92d
JM
21559 [BZ #3976]
21560 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
21561 (__ieee754_exp): Save and restore rounding mode and use
21562 round-to-nearest for all computations.
21563 * math/libm-test.inc (exp_test_tonearest): New function.
21564 (exp_test_towardzero): Likewise.
21565 (exp_test_downward): Likewise.
21566 (exp_test_upward): Likewise.
21567 (main): Call the new functions.
21568 * sysdeps/i386/fpu/libm-test-ulps: Update.
21569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21570
b1eeb65d
CD
215712012-03-01 Chris Demetriou <cgd@google.com>
21572
21573 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
21574 have predictable order.
21575
53362a4b
DM
215762012-03-01 David S. Miller <davem@davemloft.net>
21577
3c969083
DM
21578 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
21579
759707de
DM
21580 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
21581 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
21582 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
21583 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
21584
dfdb8ff2
DM
21585 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
21586 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
21587 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
21588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
21589 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
21590 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
21591 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
21592 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
21593 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
21594
ead89f96
DM
21595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21596
7f66bd07
DM
21597 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
21598 * sysdeps/sparc/fpu/libm-test-ulps: to here.
21599 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
21600
53362a4b
DM
21601 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
21602 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21603 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
21604 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
21605 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
21606 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
21607 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
21608 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21609 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
21610 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
21611 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
21612 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21613 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21614 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
21615 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21616 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21617 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
21618 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
21619 * sysdeps/sparc/elf/configure: Regenerated.
21620
7b1902cb
JM
216212012-03-01 Joseph Myers <joseph@codesourcery.com>
21622
bec039bc
JM
21623 * configure.in (AS, LD): Require binutils 2.20 or later.
21624 * configure: Regenerated.
21625 * manual/install.texi (Tools for Compilation): Give binutils 2.20
21626 as required minimum version.
21627 * INSTALL: Regenerated.
21628
7b1902cb
JM
21629 [BZ #2541]
21630 [BZ #4108]
21631 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
21632 before squaring exponent.
21633 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
21634 bottom long double and 27 bits of top long double before squaring
21635 exponent.
21636 * math/libm-test.inc (erfc_test): Add more tests.
21637 * sysdeps/i386/fpu/libm-test-ulps: Update.
21638 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21640
f775c276
KT
216412012-03-01 Kai Tietz <ktietz@redhat.com>
21642
21643 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
21644 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
21645 containing bit-fields.
21646 * soft-fp/extended.h (_FP_UNION_E): Likewise.
21647 * soft-fp/single.h (_FP_UNION_S): Likewise.
21648 * soft-fp/double.h (_FP_UNION_D): Likewise.
21649
5b8a4d4a
JM
216502012-02-29 Joseph Myers <joseph@codesourcery.com>
21651
0bab47b6
JM
21652 [BZ #13786]
21653 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
21654 not include ../strcmp.S.
21655 [USE_AS_STRNCASECMP_L]: Likewise.
21656 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
21657 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
21658 * sysdeps/i386/i686/multiarch/strncase_l-c.c
21659 (__strncasecmp_l_ia32): Define as alias to
21660 __strncasecmp_l_nonascii.
21661
0fcad3e2
JM
21662 [BZ #5794]
21663 * math/libm-test.inc (expm1_test): Add test for bug 5794.
21664 * sysdeps/i386/fpu/libm-test-ulps: Update.
21665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21666
5b8a4d4a
JM
21667 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
21668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21669
8fdceb2e
JL
216702012-02-29 Jeff Law <law@redhat.com>
21671
21672 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
21673 out of bounds read.
21674
1f393a11
MP
216752012-02-29 Marek Polacek <polacek@redhat.com>
21676
21677 [BZ #13706]
21678 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
21679 * elf/Makefile: Add rules to run tst-unused-dep.out.
21680
8847f037
DM
216812012-02-28 David S. Miller <davem@davemloft.net>
21682
21683 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
21684 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
21685 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
21686 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
21687 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
21688 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
21689
169d7f11
JM
216902012-02-29 Joseph Myers <joseph@codesourcery.com>
21691
21692 * math/libm-test.inc (llround_test): Move one test from
21693 lround_test. Use TEST_f_L in moved test.
21694 (lround_test): Move misplaced test to llround_test. Add testcase
21695 from bug 2561.
21696
39adf059
UD
216972012-02-28 Ulrich Drepper <drepper@gmail.com>
21698
21699 * sysdeps/x86_64/fpu/e_expf.S: New file.
21700 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
21701
71b5d1c5
SB
217022012-02-28 Stanislav Brabec <sbrabec@suse.cz>
21703
21704 [BZ #13637]
21705 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
21706 of remain_len that may cause incomplete multi-byte character and
21707 false match.
21708 * posix/bug-regex33.c: New file.
21709 * posix/Makefile (tests): Add bug-regex33.
21710
1f77f049
JM
217112012-02-28 Joseph Myers <joseph@codesourcery.com>
21712
21713 * manual/macros.texi: New file.
21714 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
21715 * manual/libc.texinfo: Include macros.texi.
21716 * manual/creatute.texi: Likewise.
21717 * manual/install.texi: Likewise.
21718 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
21719 @glibcadj{} in references to the GNU C Library.
21720 * manual/charset.texi: Likewise.
21721 * manual/conf.texi: Likewise.
21722 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
21723 when not using those macros.
21724 * manual/creature.texi: Likewise.
21725 * manual/crypt.texi: Likewise.
21726 * manual/errno.texi: Likewise.
21727 * manual/filesys.texi: Likewise.
21728 * manual/header.texi: Likewise.
21729 * manual/install.texi: Likewise.
21730 * manual/intro.texi: Likewise.
21731 * manual/io.texi: Likewise.
21732 * manual/job.texi: Likewise.
21733 * manual/lang.texi: Likewise.
21734 * manual/libc.texiinfo: Likewise.
21735 * manual/llio.texi: Likewise.
21736 * manual/locale.texi: Likewise.
21737 * manual/maint.texi: Likewise.
21738 * manual/math.texi: Likewise.
21739 * manual/memory.texi: Likewise.
21740 * manual/message.texi: Likewise.
21741 * manual/nss.texi: Likewise.
21742 * manual/pattern.texi: Likewise.
21743 * manual/process.texi: Likewise.
21744 * manual/resource.texi: Likewise.
21745 * manual/search.texi: Likewise.
21746 * manual/setjmp.texi: Likewise.
21747 * manual/signal.texi: Likewise.
21748 * manual/socket.texi: Likewise.
21749 * manual/startup.texi: Likewise.
21750 * manual/stdio.texi: Likewise.
21751 * manual/string.texi: Likewise.
21752 * manual/sysinfo.texi: Likewise.
21753 * manual/syslog.texi: Likewise.
21754 * manual/terminal.texi: Likewise.
21755 * manual/time.texi: Likewise.
21756 * manual/users.texi: Likewise.
21757 * INSTALL: Regenerated.
21758 * NOTES: Regenerated.
d40c5d54 21759 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 21760
450bf206
AS
217612012-02-28 Andreas Schwab <schwab@linux-m68k.org>
21762
21763 * include/dirent.h: Include <dirstream.h> before
21764 <dirent/dirent.h>.
21765
741a235b
DM
217662012-02-28 David S. Miller <davem@davemloft.net>
21767
21768 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
21769 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
21770 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
21771 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
21772
d6b5aa58
DM
217732012-02-27 David S. Miller <davem@davemloft.net>
21774
1aff59a3
DM
21775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
21776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
21777 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
21778 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
21779
d6b5aa58
DM
21780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
21781 frame pointer instead of stack pointer relative arg slot.
21782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21783 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21784 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21785
433f48bf
CD
217862012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
21787
21788 [BZ #3992]
21789 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
21790
d674b76d
DM
217912012-02-27 David S. Miller <davem@davemloft.net>
21792
21793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
21794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
21797 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21798 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21799 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
21800 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
21801
0e7727f7
JM
218022012-02-27 Joseph Myers <joseph@codesourcery.com>
21803
21804 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
21805 later. Allow versions 5-9.
43be4ca2 21806 * configure: Regenerated.
0e7727f7
JM
21807 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
21808 required minimum version and 4.6 as recommended version. Do not
21809 mention bugs in GCC 2.7 and 2.8.
43be4ca2 21810 * INSTALL: Regenerated.
0e7727f7 21811
a78bc654
DM
218122012-02-27 David S. Miller <davem@davemloft.net>
21813
428d5830
DM
21814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
21815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
21816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
21817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
21818 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
21819 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
21820 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
21821 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
21822
a78bc654
DM
21823 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
21824 manipulate bits before adding and subtracting TWO112[sx].
21825 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21826
4579f81c
RM
218272012-02-27 Roland McGrath <roland@hack.frob.com>
21828
36c8acb4
RM
21829 [BZ #13775]
21830 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
21831 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
21832 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
21833 being in POSIX, because they are in 1003.1-2008.
21834
84ad622b
RM
21835 * rt/tst-aio.c: Include <fcntl.h>.
21836 * rt/tst-aio7.c: Likewise.
21837 * rt/tst-aio64.c: Likewise.
21838
4579f81c
RM
21839 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
21840
abd923db
JM
218412012-02-27 Joseph Myers <joseph@codesourcery.com>
21842
21843 * manual/install.texi (--with-headers): Describe headers as
21844 interface headers, not private headers.
21845 (Specific advice for GNU/Linux systems): Describe use of headers
21846 from "make headers_install", not private headers from older
21847 kernels.
43be4ca2 21848 * INSTALL: Regenerated.
abd923db
JM
21849 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
21850 Change to 2.6.19.
21851 * sysdeps/unix/sysv/linux/configure: Regenerated.
21852
6664049b
JM
21853 * manual/llio.texi (fclean): Remove documentation.
21854
bb8b6697
JM
21855 * manual/Makefile (libc-texi-generated): New variable. Include
21856 version.texi.
21857 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
21858 $(libc-texi-generated), not duplicated list of files.
21859 (version.texi, stamp-version): New rules.
21860 (realclean): Remove $(libc-texi-generated), not individual files
21861 from that list. Do not remove dir-add.texinfo.
21862 * manual/libc.texinfo: Comment out uses of edition numbers and
21863 references to printed manual. Remove last-updated dates.
21864 (EDITION): Comment out.
21865 (ISBN): Likewise.
21866 (VERSION, UPDATED): Remove.
21867 (version.texi): Include.
21868
12e5c3b9
AS
218692012-02-27 Andreas Schwab <schwab@linux-m68k.org>
21870
21871 * sysdeps/posix/spawni.c: Include <signal.h>.
21872 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
21873 * sysdeps/pthread/aio_fsync.c: Likewise.
21874
4efeffc1 218752012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 21876
ba63ba08
UD
21877 * conform/Makefile (tests): Run only when not cross-compiling and
21878 when fast-check is not defined.
21879
d94a4670
UD
21880 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
21881 * conform/data/limits.h-data: Fixes for POSIX2008.
21882 * conform/run-conformtest.sh: Run all tests.
21883 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
21884 headers.
21885 * include/bits/dlfcn.h: Likewise.
21886 * include/langinfo.h: Likewise.
21887 * include/monetary.h: Likewise.
21888 * include/sys/poll.h: Likewise.
21889
21890 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
21891 for __USE_GNU.
21892 * posix/spawn.h: Define __need_sigset_t.
21893 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
21894 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
21895 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
21896 to get sigevent_t only.
21897 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
21898 only for __USE_GNU.
21899 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21900 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21901 process_vm_writev only for __USE_GNU.
21902 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
21903
21904 * conform/Makefile: For now ignore errors from run-conformtest.
21905 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
21906 POSIX to avoid namespace pollution. Don't prepend headers.
21907 * conform/data/aio.h-data: Fixes for POSIX testing.
21908 * conform/data/fcntl.h-data: Likewise.
21909 * conform/data/glob.h-data: Likewise.
21910 * conform/data/grp.h-data: Likewise.
21911 * conform/data/pthread.h-data: Likewise.
21912 * conform/data/pwd.h-data: Likewise.
21913 * conform/data/signal.h-data: Likewise.
21914 * conform/data/spawn.h-data: Likewise.
21915 * conform/data/stdio.h-data: Likewise.
21916 * conform/data/stdlib.h-data: Likewise.
21917 * conform/data/stropts.h-data: Likewise.
21918 * conform/data/sys/mman.h-data: Likewise.
21919 * conform/data/sys/stat.h-data: Likewise.
21920 * conform/data/sys/types.h-data: Likewise.
21921 * conform/data/sys/wait.h-data: Likewise.
21922 * conform/data/time.h-data: Likewise.
21923 * conform/data/unistd.h-data: Likewise.
21924 * conform/data/utime.h-data: Likewise.
21925
21926 * io/sys/stat.h: fchmod was always in POSIX.
21927 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
21928 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
21929 * rt/aio.h: Define __need_timespec before including <time.h>.
21930 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
21931 struct. Add forward declaration of pthread_attr_t and use it in
21932 sigevent.
21933 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21934 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21935 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
21936 always remove CLK_TCK definition.
21937
c20105c3
AS
219382012-02-26 Andreas Schwab <schwab@linux-m68k.org>
21939
21940 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
21941
7a270350
UD
219422012-02-25 Ulrich Drepper <drepper@gmail.com>
21943
31341567
UD
21944 * conform/run-conformtest.sh: New file.
21945 * conform/Makefile: Run run-conformtest for tests.
21946 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
21947 support.
21948
21949 * conform/data/uchar.h-data: New file.
21950 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
21951 * conform/data/arpa/inet.h-data: Likewise.
21952 * conform/data/assert.h-data: Likewise.
21953 * conform/data/complex.h-data: Likewise.
21954 * conform/data/cpio.h-data: Likewise.
21955 * conform/data/ctype.h-data: Likewise.
21956 * conform/data/dirent.h-data: Likewise.
21957 * conform/data/dlfcn.h-data: Likewise.
21958 * conform/data/errno.h-data: Likewise.
21959 * conform/data/fcntl.h-data: Likewise.
21960 * conform/data/float.h-data: Likewise.
21961 * conform/data/fmtmsg.h-data: Likewise.
21962 * conform/data/fnmatch.h-data: Likewise.
21963 * conform/data/ftw.h-data: Likewise.
21964 * conform/data/glob.h-data: Likewise.
21965 * conform/data/grp.h-data: Likewise.
21966 * conform/data/iconv.h-data: Likewise.
21967 * conform/data/inttypes.h-data: Likewise.
21968 * conform/data/langinfo.h-data: Likewise.
21969 * conform/data/libgen.h-data: Likewise.
21970 * conform/data/limits.h-data: Likewise.
21971 * conform/data/locale.h-data: Likewise.
21972 * conform/data/math.h-data: Likewise.
21973 * conform/data/monetary.h-data: Likewise.
21974 * conform/data/mqueue.h-data: Likewise.
21975 * conform/data/ndbm.h-data: Likewise.
21976 * conform/data/net/if.h-data: Likewise.
21977 * conform/data/netdb.h-data: Likewise.
21978 * conform/data/netinet/in.h-data: Likewise.
21979 * conform/data/nl_types.h-data: Likewise.
21980 * conform/data/poll.h-data: Likewise.
21981 * conform/data/pthread.h-data: Likewise.
21982 * conform/data/pwd.h-data: Likewise.
21983 * conform/data/regex.h-data: Likewise.
21984 * conform/data/sched.h-data: Likewise.
21985 * conform/data/search.h-data: Likewise.
21986 * conform/data/semaphore.h-data: Likewise.
21987 * conform/data/setjmp.h-data: Likewise.
21988 * conform/data/signal.h-data: Likewise.
21989 * conform/data/spawn.h-data: Likewise.
21990 * conform/data/stdarg.h-data: Likewise.
21991 * conform/data/stdio.h-data: Likewise.
21992 * conform/data/stdlib.h-data: Likewise.
21993 * conform/data/string.h-data: Likewise.
21994 * conform/data/strings.h-data: Likewise.
21995 * conform/data/stropts.h-data: Likewise.
21996 * conform/data/sys/ipc.h-data: Likewise.
21997 * conform/data/sys/mman.h-data: Likewise.
21998 * conform/data/sys/msg.h-data: Likewise.
21999 * conform/data/sys/resource.h-data: Likewise.
22000 * conform/data/sys/select.h-data: Likewise.
22001 * conform/data/sys/sem.h-data: Likewise.
22002 * conform/data/sys/shm.h-data: Likewise.
22003 * conform/data/sys/socket.h-data: Likewise.
22004 * conform/data/sys/stat.h-data: Likewise.
22005 * conform/data/sys/statvfs.h-data: Likewise.
22006 * conform/data/sys/time.h-data: Likewise.
22007 * conform/data/sys/timeb.h-data: Likewise.
22008 * conform/data/sys/times.h-data: Likewise.
22009 * conform/data/sys/types.h-data: Likewise.
22010 * conform/data/sys/uio.h-data: Likewise.
22011 * conform/data/sys/un.h-data: Likewise.
22012 * conform/data/sys/utsname.h-data: Likewise.
22013 * conform/data/sys/wait.h-data: Likewise.
22014 * conform/data/syslog.h-data: Likewise.
22015 * conform/data/tar.h-data: Likewise.
22016 * conform/data/termios.h-data: Likewise.
22017 * conform/data/utime.h-data: Likewise.
22018 * conform/data/utmpx.h-data: Likewise.
22019 * conform/data/varargs.h-data: Likewise.
22020 * conform/data/wchar.h-data: Likewise.
22021 * conform/data/wctype.h-data: Likewise.
22022 * conform/data/wordexp.h-data: Likewise.
22023
22024 * include/stropts.h: New file.
22025 * include/uchar.h: New file.
22026 * include/aio.h: Changes to allow conformtest.pl to use the headers.
22027 * include/assert.h: Likewise.
22028 * include/ctype.h: Likewise.
22029 * include/dirent.h: Likewise.
22030 * include/dlfcn.h: Likewise.
22031 * include/fcntl.h: Likewise.
22032 * include/fnmatch.h: Likewise.
22033 * include/glob.h: Likewise.
22034 * include/grp.h: Likewise.
22035 * include/libio.h: Likewise.
22036 * include/locale.h: Likewise.
22037 * include/math.h: Likewise.
22038 * include/net/if.h: Likewise.
22039 * include/netdb.h: Likewise.
22040 * include/netinet/in.h: Likewise.
22041 * include/pthread.h: Likewise.
22042 * include/pwd.h: Likewise.
22043 * include/regex.h: Likewise.
22044 * include/sched.h: Likewise.
22045 * include/search.h: Likewise.
22046 * include/setjmp.h: Likewise.
22047 * include/signal.h: Likewise.
22048 * include/stdio.h: Likewise.
22049 * include/stdlib.h: Likewise.
22050 * include/string.h: Likewise.
22051 * include/sys/cdefs.h: Likewise.
22052 * include/sys/mman.h: Likewise.
22053 * include/sys/msg.h: Likewise.
22054 * include/sys/resource.h: Likewise.
22055 * include/sys/select.h: Likewise.
22056 * include/sys/socket.h: Likewise.
22057 * include/sys/stat.h: Likewise.
22058 * include/sys/statvfs.h: Likewise.
22059 * include/sys/time.h: Likewise.
22060 * include/sys/times.h: Likewise.
22061 * include/sys/uio.h: Likewise.
22062 * include/sys/utsname.h: Likewise.
22063 * include/sys/wait.h: Likewise.
22064 * include/termios.h: Likewise.
22065 * include/time.h: Likewise.
22066 * include/ulimit.h: Likewise.
22067 * include/unistd.h: Likewise.
22068 * include/utime.h: Likewise.
22069 * include/wchar.h: Likewise.
22070 * include/wctype.h: Likewise.
22071 * include/wordexp.h: Likewise.
22072
22073 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
22074
7a270350
UD
22075 * time/time.h: TIME_UTC must be a macro.
22076 Make timespec_get available for ISO C11 only as well.
22077
7724defc
UD
220782012-02-24 Ulrich Drepper <drepper@gmail.com>
22079
22080 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
22081 Reported by Peng Haitao <penght@cn.fujitsu.com>.
22082
6b1d1d46
JM
220832012-02-24 Joseph Myers <joseph@codesourcery.com>
22084
22085 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 22086
0f8bbd69
JM
220872012-02-24 Joseph Myers <joseph@codesourcery.com>
22088
22089 * manual/texinfo.tex: Update to version 2012-01-19.16.
22090
66ab80bc
JM
220912012-02-24 Joseph Myers <joseph@codesourcery.com>
22092
22093 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
22094
74981cc5
RM
220952012-02-24 Roland McGrath <roland@hack.frob.com>
22096
ee968201
RM
22097 [BZ #13738]
22098 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
22099 * manual/fdl-1.3.texi: New file.
22100 * manual/fdl-1.1.texi: File removed.
22101
74981cc5
RM
22102 [BZ #13738]
22103 * manual/libc.texinfo (FDL_VERSION): New @set.
22104 Use it for mention of FDL in cover text.
22105 (Documentation License): Use it in @include file name.
22106
7bb764bc
JM
221072012-02-22 Joseph Myers <joseph@codesourcery.com>
22108 Roland McGrath <roland@hack.frob.com>
22109
22110 [BZ #5461]
22111 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
22112 not LONG_LONG_MAX and LONG_LONG_MIN.
22113 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
22114 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
22115 name.
22116 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
22117
6cbeae47
JM
221182012-02-22 Joseph Myers <joseph@codesourcery.com>
22119
22120 [BZ #2547]
22121 [BZ #11365]
22122 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
22123 manipulate bits before adding and subtracting TWO23[sx].
22124 * math/libm-test.inc (nearbyint_test): Add more tests.
22125
fe45ce09
JM
221262012-02-22 Joseph Myers <joseph@codesourcery.com>
22127
22128 [BZ #2548]
22129 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
22130 bits before adding and subtracting TWO23[sx].
22131 * math/libm-test.inc (rint_test): Add more tests.
22132 (rint_test_tonearest): Likewise.
22133 (rint_test_towardzero): Likewise.
22134 (rint_test_downward): Likewise.
22135 (rint_test_upward: Likewise.
22136
ff3b3d82
JM
221372012-02-22 Joseph Myers <joseph@codesourcery.com>
22138
22139 [BZ #10110]
22140 * include/stdc-predef.h: New file. Extracted from features.h.
22141 * include/features.h: Include stdc-predef.h.
22142 * Makefile (headers): Add stdc-predef.h.
22143 * CONFORMANCE (Compiler limitations): Update.
22144
ef0aab35
JM
221452012-02-22 Joseph Myers <joseph@codesourcery.com>
22146
22147 * manual/libc.texinfo (VERSION, UPDATED): Revert.
22148
58639409
DM
221492012-02-21 David S. Miller <davem@davemloft.net>
22150
22151 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
22152 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22153
c0e70b25
DM
221542012-02-20 David S. Miller <davem@davemloft.net>
22155
22156 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
22157 using a normal save/restore sequence, rather than allocating a
22158 dummy stack frame just to store a frame pointer and restore.
22159 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22160
fb06851d
JM
221612012-02-21 Joseph Myers <joseph@codesourcery.com>
22162
22163 * manual/install.texi: Fix stray word in line-wrapped comment.
22164
7a8b71c3
DM
221652012-02-20 David S. Miller <davem@davemloft.net>
22166
d510c123
DM
22167 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
22168 both binutils and gcc support GOTDATA.
22169
0722d7c2
DM
22170 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
22171 "rd %pc" in the PIC register setup sequences.
22172
3d2b3019
DM
22173 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
22174 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22175 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22176 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22177 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22178 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22179 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22180 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22181 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
22182 (SYSCALL_ERROR_HANDLER): Likewise.
22183 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22184 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22185 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
22186 (SYSCALL_ERROR_HANDLER): Likewise.
22187
c80098a9
DM
22188 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
22189 (HAVE_GCC_GOTDATA): New.
22190 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
22191 relocation support in both binutils and gcc.
22192 * sysdeps/sparc/elf/configure: Regenerate.
22193
3a2545a0
DM
22194 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
22195 * sysdeps/sparc/sparc32/elf/configure: Delete.
22196 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
22197 * sysdeps/sparc/sparc64/elf/configure: Delete.
22198 * sysdeps/sparc/elf/configure.in: New file.
22199 * sysdeps/sparc/elf/configure: Generate.
22200
7a8b71c3
DM
22201 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
22202 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
22203 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22204 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
22205 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
22206
f1e86fca
JM
222072012-02-21 Joseph Myers <joseph@codesourcery.com>
22208
22209 * manual/install.texi: Do not mention specific glibc version
22210 numbers.
22211 * manual/libc.texinfo (VERSION, UPDATED): Update.
22212 (@copying): Use @copyright{} and range of years.
22213
0e7dfaef
JM
222142012-02-21 Joseph Myers <joseph@codesourcery.com>
22215
22216 [BZ #13695]
22217 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
22218 [crti.S not in sysdirs] (generated): Do not append.
22219 [crti.S not in sysdirs] (omit-deps): Likewise.
22220 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
22221 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
22222 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
22223 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
22224 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
22225 Likewise.
22226 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
22227 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
22228 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
22229 * csu/defs.awk: Remove file.
22230 * sysdeps/generic/initfini.c: Likewise.
22231 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
22232 variable.
22233 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
22234 Likewise.
22235
599af3ca
JM
222362012-02-20 Joseph Myers <joseph@codesourcery.com>
22237
22238 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
22239 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
22240 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
22241 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
22242 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22243 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
22244 <bits/epoll.h>.
22245 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
22246 (__EPOLL_PACKED): Define to empty if not defined by
22247 <bits/epoll.h>.
22248 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
22249 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22250 bits/epoll.h.
22251
0e499750
JM
222522012-02-20 Joseph Myers <joseph@codesourcery.com>
22253
22254 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
22255 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
22256 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
22257 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
22258 <bits/timerfd.h>.
22259 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
22260 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22261 bits/timerfd.h.
22262
5ad91f6e
JM
222632012-02-20 Joseph Myers <joseph@codesourcery.com>
22264
22265 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
22266 in C locale.
22267 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22268 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22269 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
22270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22271
06b99b02
AJ
222722012-02-20 Aurelien Jarno <aurelien@aurel32.net>
22273
22274 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22275 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22276
7638c0fd
AS
222772012-02-19 Andreas Schwab <schwab@linux-m68k.org>
22278
22279 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
22280 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
22281 defined.
22282 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
22283 Likewise.
22284 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
22285 entry for 2.16.
22286
92221550
AJ
222872012-02-19 Aurelien Jarno <aurelien@aurel32.net>
22288
22289 * math/w_acos.c: Use non-signaling floating-point comparisons.
22290 * math/w_acosf.c: Likewise.
22291 * math/w_acosh.c: Likewise.
22292 * math/w_acoshf.c: Likewise.
22293 * math/w_acoshl.c: Likewise.
22294 * math/w_acosl.c: Likewise.
22295 * math/w_asin.c: Likewise.
22296 * math/w_asinf.c: Likewise.
22297 * math/w_asinl.c: Likewise.
22298 * math/w_atanh.c: Likewise.
22299 * math/w_atanhf.c: Likewise.
22300 * math/w_atanhl.c: Likewise.
22301 * math/w_exp2.c: Likewise.
22302 * math/w_exp2f.c: Likewise.
22303 * math/w_exp2l.c: Likewise.
22304 * math/w_j0.c: Likewise.
22305 * math/w_j0f.c: Likewise.
22306 * math/w_j0l.c: Likewise.
22307 * math/w_j1.c: Likewise.
22308 * math/w_j1f.c: Likewise.
22309 * math/w_j1l.c: Likewise.
22310 * math/w_jn.c: Likewise.
22311 * math/w_jnf.c: Likewise.
22312 * math/w_log.c: Likewise.
22313 * math/w_log10.c: Likewise.
22314 * math/w_log10f.c: Likewise.
22315 * math/w_log10l.c: Likewise.
22316 * math/w_log2.c: Likewise.
22317 * math/w_log2f.c: Likewise.
22318 * math/w_log2l.c: Likewise.
22319 * math/w_logf.c: Likewise.
22320 * math/w_logl.c: Likewise.
22321 * math/w_sqrt.c: Likewise.
22322 * math/w_sqrtf.c: Likewise.
22323 * math/w_sqrtl.c: Likewise.
22324 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22325 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
22326 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22327 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22328 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22329
ebaf36eb
JM
223302012-02-19 Joseph Myers <joseph@codesourcery.com>
22331
22332 [BZ #9739]
22333 * manual/string.texi (strnlen): Use correct parameter name in
22334 equivalent expression.
22335
71c254a6
JM
223362012-02-19 Joseph Myers <joseph@codesourcery.com>
22337
22338 [BZ #11174]
22339 * manual/users.texi (seteuid): Consistently use neweuid for
22340 argument name.
22341
16d2c631
JM
223422012-02-19 Joseph Myers <joseph@codesourcery.com>
22343
22344 [BZ #13704]
22345 * manual/nss.texi (Services in the NSS configuration): Correct
22346 list of services in example configuration file.
22347
cd837b09
NB
223482012-02-19 Nick Bowler <nbowler@draconx.ca>
22349
22350 [BZ #11322]
22351 * manual/arith.texi: Remove statements about negative zero
22352 behaving identically to zero.
22353
02c4bbad
JM
223542012-02-18 Joseph Myers <joseph@codesourcery.com>
22355
22356 [BZ #5993]
22357 * manual/install.texi: Do not document upgrading from libc5.
22358
366842e7
JM
223592012-02-18 Joseph Myers <joseph@codesourcery.com>
22360
22361 [BZ #4596]
22362 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
22363
dd54084d
DM
223642012-02-18 David S. Miller <davem@davemloft.net>
22365
22366 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
22367 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
22368 %o7 across the call.
22369 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
22370 instead.
22371 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
22372 SETUP_PIC_REG_LEAF.
22373 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22374 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
22375 * sysdeps/sparc/crtn.S: Likewise.
22376
2bcc53a3
UD
223772012-02-17 Ulrich Drepper <drepper@gmail.com>
22378
22379 * aout/Makefile: Remove.
22380
09c093b5
RK
223812012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
22382
22383 [BZ #13058]
22384 * manual/examples/argp-ex1.c (main): Format definition in GNU
22385 style.
22386 * manual/examples/argp-ex2.c (main): Likewise.
22387 * manual/examples/argp-ex3.c (main): Likewise.
22388 * manual/examples/argp-ex4.c (main): Likewise.
22389 * manual/examples/longopt.c (main): Use new-style prototype
22390 definition.
22391 * manual/examples/strncat.c (main): Specify return type and use
22392 (void) for arguments.
22393 * manual/examples/subopt.c (main): Use char **argv argument.
22394
2ee633a2
JM
223952012-02-17 Joseph Myers <joseph@codesourcery.com>
22396
22397 [BZ #5077]
22398 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
22399 rounding modes.
22400
0520adde
FB
224012012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
22402
22403 [BZ #6907]
22404 * manual/string.texi (strchr): Change when strchrnul is
22405 recommended.
22406
3f4081cd
DGM
224072012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
22408
22409 [BZ #174]
22410 * manual/locale.texi (setlocale): Document LOCPATH.
22411
d1b10e78
JM
224122012-02-17 Joseph Myers <joseph@codesourcery.com>
22413
22414 [BZ #10210]
22415 * manual/process.texi (execle): Move @dots{} before last argument.
22416
79c6869c
PB
224172012-02-17 Paul Bolle <pebolle@tiscali.nl>
22418
22419 [BZ #12047]
22420 * manual/charset.texi (Generic Charset Conversion): Fix typo
22421 (LC_TYPE -> LC_CTYPE).
22422
cc6e48bc
NB
224232012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
22424
22425 [BZ #5805]
22426 * manual/arith.texi (scalbn): Use @var{} on parameter names.
22427 (scalbnf): Likewise.
22428 (scalbnl): Likewise.
22429 (scalbln): Likewise.
22430 (scalblnf): Likewise.
22431 (scalblnl): Likewise.
22432 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
22433 (vwarnx): Likewise.
22434 (verr): Likewise.
22435 (verrx): Likewise.
22436 * manual/filesys.texi (telldir): Use braces around return type.
22437 * manual/llio.texi (mmap): Add space after comma.
22438 (mmap64): Likewise.
22439 * manual/math.texi (jn): Use @var{} on parameter names.
22440 (jnf): Likewise.
22441 (jnl): Likewise.
22442 (yn): Likewise.
22443 (ynf): Likewise.
22444 (ynl): Likewise.
22445 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
22446 line.
22447 * manual/resource.texi (ulimit): Use @dots{} instead of literal
22448 "...".
22449 (sched_get_priority_min): Remove semicolon on @deftypefun line.
22450 (sched_get_priority_max): Likewise.
22451 * manual/signal.texi (sigvec): Add space after comma.
22452 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
22453 names.
22454 (if_indextoname): Likewise.
22455 (if_freenameindex): Likewise.
22456 (sendto): Use ',' instead of '.' in prototype.
22457 * manual/startup.texi (syscall): Use @dots{} instead of literal
22458 "...".
22459 * manual/stdio.texi (__fpending): Separate initial words of
22460 paragraph from @deftypefun line.
22461 * manual/syslog.texi (syslog): Use @dots{} instead of literal
22462 "...".
22463 (vsyslog): Use @var{} on parameter names.
22464 * manual/terminal.texi (stty): Use @var{} on parameter names.
22465 * manual/users.texi (getutmp): Use @var{} on parameter names.
22466 (getutmpx): Likewise.
22467
5b23062f
JM
224682012-02-17 Joseph Myers <joseph@codesourcery.com>
22469
22470 [BZ #6884]
22471 * manual/stdio.texi (fopen): Fix typos in description of
22472 ",ccs=STRING".
22473
8dee4833
AJ
224742012-02-17 Aurelien Jarno <aurelien@aurel32.net>
22475
22476 [BZ #4026]
22477 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
22478 get clock_id definition.
22479
9078ce93
TS
224802012-02-17 Thomas Schwinge <thomas@schwinge.name>
22481
22482 [BZ #4822]
22483 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
22484 (madvise): Cast every argument to void on its own.
22485
3835c55f
JM
224862012-02-17 Joseph Myers <joseph@codesourcery.com>
22487
22488 [BZ #9902]
22489 * manual/startup.texi (Exit Status): Fix typo.
22490
35c47e37
JM
224912012-02-17 Joseph Myers <joseph@codesourcery.com>
22492
22493 [BZ #10140]
22494 * manual/examples/argp-ex1.c: Include <stdlib.h>.
22495 * manual/examples/argp-ex2.c: Likewise.
22496 * manual/examples/argp-ex3.c: Likewise.
22497
e3b69ca7
RH
224982012-02-16 Richard Henderson <rth@redhat.com>
22499
22500 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
22501 * sysdeps/s390/s390-32/initfini.c: Remove.
22502 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
22503 * sysdeps/s390/s390-64/initfini.c: Remove.
22504
df83af67
KK
225052012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22506
22507 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
22508 compiler output for sysdeps/generic/initfini.c.
22509 * sysdeps/sh/elf/initfini.c: Remove file.
22510
f63f3380
DM
225112012-02-16 David S. Miller <davem@davemloft.net>
22512
fb59b3a4
DM
22513 [BZ #11494]
22514 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
22515
f63f3380
DM
22516 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
22517 * sysdeps/sparc/crti.S: New file.
22518 * sysdeps/sparc/crtn.S: New file.
22519 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
22520 * sysdeps/sparc/sparc64/Makefile: Likewise.
22521
df6a4a4a
MF
225222012-02-15 Mike Frysinger <vapier@gentoo.org>
22523
6dd8f3dc 22524 [BZ #3335]
df6a4a4a
MF
22525 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
22526
1cac7236
RM
225272012-02-15 Roland McGrath <roland@hack.frob.com>
22528
d2c736f8
RM
22529 [BZ #4822]
22530 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
22531
1cac7236
RM
22532 * mach/devstream.c (cookie_io_functions_t): Macro removed.
22533 (write, read, close): Likewise.
22534 Patch by Aurelien Jarno <aurelien@aurel32.net>.
22535
8e475601
JM
225362012-02-15 Joseph Myers <joseph@codesourcery.com>
22537
22538 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
22539 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
22540 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
22541 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
22542 <bits/signalfd.h>.
22543 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
22544 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22545 bits/signalfd.h.
22546
ed656b40
MP
225472012-02-14 Marek Polacek <polacek@redhat.com>
22548
22549 * sysdeps/x86_64/crti.S: New file.
22550 * sysdeps/x86_64/crtn.S: New file.
22551 * sysdeps/x86_64/elf/initfini.c: Remove file.
22552
2a979d3a
JM
225532012-02-13 Joseph Myers <joseph@codesourcery.com>
22554
22555 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
22556 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
22557 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
22558 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
22559 <bits/inotify.h>.
22560 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
22561 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22562 bits/inotify.h.
22563
2a418ac3
JM
225642012-02-13 Joseph Myers <joseph@codesourcery.com>
22565
22566 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
22567 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
22568 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
22569 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
22570 <bits/eventfd.h>.
22571 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
22572 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22573 bits/eventfd.h.
22574
fb779be7
TS
225752012-02-10 Thomas Schwinge <thomas@codesourcery.com>
22576
e19e83c5
RM
22577 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
22578 __feraiseexcept instead of feraiseexcept.
7c35ffed 22579
fb779be7
TS
22580 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
22581 nanosleep invocations.
22582 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
22583 strings, and add error checking for a nanosleep invocations.
22584
59ba27a6
PE
225852012-02-09 Paul Eggert <eggert@cs.ucla.edu>
22586
22587 Replace FSF snail mail address with URLs, as per GNU coding standards.
22588 Most of the snail mail addresses were wrong anyway, and omitting
22589 them makes the source code easier to maintain. Almost all of the
22590 changes are to license notices and to locale LC_IDENTIFICATION
22591 addresses, except for this one:
22592 * manual/libc.texinfo: In "Published by", give the FSF's URL,
22593 not its snail mail address.
22594
57b957eb
RH
225952012-02-09 Richard Henderson <rth@twiddle.net>
22596
af850b1c
RH
22597 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
22598 of kernel-features.h.
22599
57b957eb
RH
22600 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
22601
6b73181a
MP
226022012-02-08 Marek Polacek <polacek@redhat.com>
22603
22604 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
22605 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
22606 * sysdeps/gnu/_G_config.h: Likewise.
22607 * sysdeps/generic/_G_config.h: Likewise.
22608
26ecc33a
AS
226092012-02-08 Andreas Schwab <schwab@linux-m68k.org>
22610
6c6dbc63
AS
22611 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
22612 tests.
22613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22614
e216c012
AS
22615 * sysdeps/powerpc/powerpc32/crti.S: New file.
22616 * sysdeps/powerpc/powerpc32/crtn.S: New file.
22617 * sysdeps/powerpc/powerpc64/crti.S: New file.
22618 * sysdeps/powerpc/powerpc64/crtn.S: New file.
22619
26ecc33a
AS
22620 * Makeconfig (have-initfini): Don't set.
22621 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
22622 * configure.in (nopic_initfini): Don't substitute.
22623 * config.h.in (HAVE_INITFINI): Don't #undef.
22624 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
22625 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
22626
3add8e13
JM
226272012-02-08 Joseph Myers <joseph@codesourcery.com>
22628
22629 Support crti.S and crtn.S provided directly by architectures.
22630 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
22631 [crti.S in sysdirs] (omit-deps): Likewise.
22632 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
22633 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
22634 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
22635 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
22636 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
22637 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
22638 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
22639 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
22640 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
22641 compiler output for sysdeps/generic/initfini.c.
22642 * sysdeps/i386/elf/Makefile: Remove file.
22643 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
22644
a22f12b4
MP
226452012-02-07 Marek Polacek <polacek@redhat.com>
22646
22647 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
22648 * sysdeps/gnu/_G_config.h: Likewise.
22649 * sysdeps/mach/hurd/_G_config.h: Likewise.
22650
148cf100
MP
226512012-02-07 Marek Polacek <polacek@redhat.com>
22652
22653 * math/Makefile (tests): Add tst-CMPLX2.
22654 * math/tst-CMPLX2.c: New file.
22655
cfdc0dd7
AS
226562012-02-07 Andreas Schwab <schwab@linux-m68k.org>
22657
84ba42c4
AS
22658 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22659
cfdc0dd7
AS
22660 * math/libm-test.inc (jn_test): Add missing L suffix.
22661
622c86f4
MP
226622012-02-06 Marek Polacek <polacek@redhat.com>
22663
22664 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
22665 * sysdeps/i386/fpu/e_powf.S: Likewise.
22666 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22667 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22668 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22669 * sysdeps/i386/fpu/e_pow.S: Likewise.
22670 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22671 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22672 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22673 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22674 * sysdeps/i386/fpu/e_log2.S: Likewise.
22675 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22676 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22677 * sysdeps/i386/fpu/e_powl.S: Likewise.
22678 * sysdeps/i386/fpu/s_log1p.S: Likewise.
22679 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22680 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22681 * sysdeps/i386/fpu/e_logl.S: Likewise.
22682 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22683 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
22684 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22685 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22686 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22687 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22688 * sysdeps/i386/fpu/e_log.S: Likewise.
22689 * sysdeps/i386/fpu/s_cexp.S: Likewise.
22690 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22691 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
22692 * sysdeps/i386/fpu/e_logf.S: Likewise.
22693 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22694 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22695 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
22696 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22697 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22698 * sysdeps/i386/fpu/e_log10.S: Likewise.
22699 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22700 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22701 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22702 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22703 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22704 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22705 * sysdeps/i386/asm-syntax.h: Likewise.
22706 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22707 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22708 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22709 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
22710 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
22711 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22712 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22713 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22714 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22715 * sysdeps/powerpc/sysdep.h: Likewise.
22716 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22717 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22718
d4a54ac6
JM
227192012-02-06 Joseph Myers <joseph@codesourcery.com>
22720
22721 [BZ #411]
22722 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
22723
314054ea
JM
227242012-02-06 Joseph Myers <joseph@codesourcery.com>
22725
22726 * sysdeps/i386/sysdep.h: Include <features.h>.
22727 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
22728 version.
22729
d8e0ca50
JM
227302012-02-05 Joseph Myers <joseph@codesourcery.com>
22731
22732 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
22733 Define.
22734 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
22735 LOAD_PIC_REG_STR.
22736
b1da7dd9
JM
227372012-02-03 Joseph Myers <joseph@codesourcery.com>
22738
22739 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
22740 (SETUP_PIC_REG): Use GET_PC_THUNK.
22741 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
22742 macro.
22743
9a1d9254
JM
227442012-02-03 Joseph Myers <joseph@codesourcery.com>
22745
22746 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
22747 for non-PIC compilation.
22748 (SETUP_PIC_REG): Add .p2align directive.
22749 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
22750 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
22751 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22752 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22753 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22754 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22755 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
22756 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22757 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22758 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22759 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22760 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22761 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22762 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22763 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22764 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22765 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22766 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22767 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22768 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22769 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22770 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22771 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22772 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22773 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22774 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22775 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22776 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22777 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22778 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22779 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22780 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22781 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22782 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22783 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22784 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22785 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22786 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22787 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22788 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22789 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22790
65dc3b75
JM
227912012-02-03 Joseph Myers <joseph@codesourcery.com>
22792
22793 * math/tst-CMPLX.c: Include <stdio.h>.
22794
d55bf177
JM
227952012-01-31 Joseph Myers <joseph@codesourcery.com>
22796
22797 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
22798 float.
22799 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
22800 * sysdeps/sparc/bits/mathdef.h: Likewise.
22801
69db4f8f
MP
228022012-01-31 Marek Polacek <polacek@redhat.com>
22803
22804 * libio/libio.h: Don't define _PARAMS.
22805 * locale/programs/config.h: Don't define PARAMS.
22806 * stdlib/strtol_l.c: Likewise.
22807 (__strtol_l): Remove PARAMS from the prototype.
22808
41b81892
UD
228092012-01-31 Ulrich Drepper <drepper@gmail.com>
22810
3b49edc0
UD
22811 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
22812 names. Just use the correct names. Remove unnecessary wrapper
22813 functions.
22814 * malloc/arena.c: Likewise.
22815 * malloc/hooks.c: Likewise.
22816
41b81892
UD
22817 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
22818 ARENA_TEST says not to. Simplify test for creation of a new arena.
22819 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
22820
27a25b6e
UD
228212012-01-30 Ulrich Drepper <drepper@gmail.com>
22822
22823 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
22824 into tail calls.
22825 (update_get_addr): New function.
22826 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
22827 GET_ADDR_MODULE parameter.
22828
c8a89e7d
JM
228292012-01-30 Joseph Myers <joseph@codesourcery.com>
22830
22831 * crypt/cert.c: Remove __STDC__ conditionals.
22832 * crypt/crypt-entry.c: Likewise.
22833 * crypt/crypt_util.c: Likewise.
22834 * libio/filedoalloc.c: Likewise.
22835 * libio/fileops.c: Likewise.
22836 * libio/genops.c: Likewise.
22837 * libio/iofclose.c: Likewise.
22838 * libio/iofdopen.c: Likewise.
22839 * libio/iofopen.c: Likewise.
22840 * libio/iofopen64.c: Likewise.
22841 * libio/iogetdelim.c: Likewise.
22842 * libio/iopopen.c: Likewise.
22843 * libio/obprintf.c: Likewise.
22844 * libio/oldfileops.c: Likewise.
22845 * libio/oldiofclose.c: Likewise.
22846 * libio/oldiofdopen.c: Likewise.
22847 * libio/oldiofopen.c: Likewise.
22848 * libio/oldiopopen.c: Likewise.
22849 * libio/wfiledoalloc.c: Likewise.
22850 * libio/wgenops.c: Likewise.
22851 * locale/programs/xmalloc.c: Likewise.
22852 * misc/syslog.c: Likewise.
22853 * stdio-common/xbug.c: Likewise.
22854 * string/memchr.c: Likewise.
22855 * string/memcmp.c: Likewise.
22856 * string/memrchr.c: Likewise.
22857 * string/rawmemchr.c: Likewise.
22858 * sysdeps/posix/getcwd.c: Likewise.
22859 * time/strftime_l.c: Likewise.
22860
3b100462
JM
228612012-01-30 Joseph Myers <joseph@codesourcery.com>
22862
22863 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
22864 * config.make.in (config-cflags-sse2avx): Define.
22865 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
22866 Fix typo.
22867
607998af
CM
228682012-01-29 Chris Metcalf <cmetcalf@tilera.com>
22869
22870 * scripts/config.guess: Update from upstream config git repository.
22871 * scripts/config.sub: Likewise.
22872
3601428f
CM
228732012-01-28 Chris Metcalf <cmetcalf@tilera.com>
22874
3ac8b282
CM
22875 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
22876 (EM_NUM): Update.
22877 (R_TILEPRO_*, R_TILEGX_*): New macros.
22878
e034841e
CM
22879 * scripts/firstversions.awk: Fix bug in version range handling.
22880
540d7568
CM
22881 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
22882
3601428f
CM
22883 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
22884
463de862
CM
22885 * include/sys/epoll.h: New file.
22886 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
22887 libc_hidden_def.
22888
73139a76
UD
228892012-01-28 Ulrich Drepper <drepper@gmail.com>
22890
96bc5b45
UD
22891 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
22892 Avoid unnecessary __WORDSIZE == 64 test.
22893 (fmaxf): Use VEX format if possible.
22894 (fmax): Likewise.
22895 (fminf): Likewise.
22896 (fmin): Likewise.
22897
56f6f6a2
UD
22898 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
22899 * math/math_private.h: Remove libc_fegetround* and
22900 libc_fesetround*.
22901 * sysdeps/i386/configure.in: Check for -msse2avx.
22902 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
22903 also if SSE2AVX is defined.
22904 Remove libc_fegetround* and libc_fesetround*.
22905 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
22906 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
22907 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
22908 of HAS_YMM_USABLE.
22909 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22910 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22911 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22912 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22913 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22914
73139a76
UD
22915 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
22916
d73f93a4
AZ
229172012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22918
22919 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
22920 size is not set.
22921 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22922
6ee65ed6
UD
229232012-01-27 Ulrich Drepper <drepper@gmail.com>
22924
22925 [BZ #13618]
22926 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
22927 relocation.
22928 * Makeconfig (libm): Define.
22929 * elf/Makefile: Add rules to build and run tst-relsort1.
22930 * elf/tst-relsort1.c: New file.
22931 * elf/tst-relsort1mod1.c: New file.
22932 * elf/tst-relsort1mod2.c: New file.
22933
8db21882
JM
229342012-01-27 Joseph Myers <joseph@codesourcery.com>
22935
22936 * math/s_ldexp.c: Remove __STDC__ conditionals.
22937 * math/s_ldexpf.c: Likewise.
22938 * math/s_ldexpl.c: Likewise.
22939 * math/s_nextafter.c: Likewise.
22940 * math/s_nexttowardf.c: Likewise.
22941 * math/s_significand.c: Likewise.
22942 * math/s_significandf.c: Likewise.
22943 * math/s_significandl.c: Likewise.
22944 * math/w_jnl.c: Likewise.
22945 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22946 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22947 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22948 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22949 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22950 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22951 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
22952 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22953 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22954 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22955 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22956 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22957 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22958 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22959 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22960 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22961 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22962 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22963 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22964 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22965 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22966 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22967 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22968 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22969 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22970 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22971 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22972 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22973 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22974 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22975 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22976 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22977 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22978 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22979 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22980 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22981 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22982 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22983 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22984 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22985 * sysdeps/ieee754/k_standard.c: Likewise.
22986 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22987 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22988 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22989 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22990 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22991 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22992 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22993 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22994 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22995 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22996 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22997 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22998 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22999 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23000 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23001 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23002 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23003 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23004 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23005 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23006 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23007 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23008 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23009 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23010 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23011 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23012 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23013 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23014 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23015 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23016 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23017 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
23018 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23019 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23020 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23021 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23022 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
23023 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23024 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23025 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
23026 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
23027 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23028 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23029 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
23030 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23031 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23032 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23033 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23034 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23035 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23036 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
23037 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23038 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23039 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23040 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23041 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23042 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
23043 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23044 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23045 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23046 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23047 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23048 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23049 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23050 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23051 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23052 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23053 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23054 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23055 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23056 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23057 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23058 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23059 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23060 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23061 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23062 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23063 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23064 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23065 * sysdeps/ieee754/s_matherr.c: Likewise.
23066 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23067 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23068 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23069 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23070
965a54a4
JM
230712012-01-26 Joseph Myers <joseph@codesourcery.com>
23072
23073 * crypt/md5.h: Remove __STDC__ conditionals.
23074 * libio/libioP.h: Likewise.
23075 * locale/programs/config.h: Likewise.
23076 * sysdeps/generic/sysdep.h: Likewise.
23077 * sysdeps/i386/asm-syntax.h: Likewise.
23078 * sysdeps/s390/asm-syntax.h: Likewise.
23079 * sysdeps/unix/sysdep.h: Likewise.
23080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23082
7071ad79
JM
230832012-01-26 Joseph Myers <joseph@codesourcery.com>
23084
23085 * libio/libio.h: Remove __STDC__ conditionals.
23086 * malloc/obstack.h: Likewise.
23087 * math/complex.h: Likewise.
23088 * math/math.h: Likewise.
23089 * sysdeps/generic/_G_config.h: Likewise.
23090 * sysdeps/gnu/_G_config.h: Likewise.
23091 * sysdeps/mach/hurd/_G_config.h: Likewise.
23092 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23093 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23094 * sysdeps/sparc/bits/mathdef.h: Likewise.
23095
afc5ed09
UD
230962012-01-26 Ulrich Drepper <drepper@gmail.com>
23097
23098 [BZ #13583]
23099 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 23100 Clean up HAS_* macros.
afc5ed09 23101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
23102 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
23103 possible.
23104 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
23105 HAS_AVX.
23106 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23107 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23108 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23109 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23110 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 23111
bdb6de1d
JM
231122012-01-25 Joseph Myers <joseph@codesourcery.com>
23113
23114 * elf/tst-unique3.cc (gets): Remove declaration.
23115 * elf/tst-unique3lib.cc (gets): Likewise.
23116 * elf/tst-unique3lib2.cc (gets): Likewise.
23117 * elf/tst-unique4.cc (gets): Likewise.
23118
b15549e6
UD
231192012-01-24 Ulrich Drepper <drepper@gmail.com>
23120
23121 * include/stdio.h: Add C++ protection. Add gets declarations and
23122 definitions.
23123 * debug/tst-chk1.c: Don't declare gets here.
23124 * stdio-common/tst-gets.c: Likewise.
23125
a037381f
JM
231262012-01-24 Joseph Myers <joseph@codesourcery.com>
23127
23128 * posix/glob: Remove directory.
23129
f1d4aa75
JM
231302012-01-24 Joseph Myers <joseph@codesourcery.com>
23131
23132 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
23133
81c0c964
PT
231342012-01-22 Pino Toscano <toscano.pino@tiscali.it>
23135
23136 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
23137 of the non-standard EPFNOSUPPORT.
23138
0ea698ae
ST
231392011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
23140
23141 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
23142 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
23143 ANYWHERE set to 1 only on KERN_NO_SPACE error.
23144
d220b117
UD
231452012-01-21 Ulrich Drepper <drepper@gmail.com>
23146
23147 * wcsmbs/uchar.h: Test __STDC_VERSION__.
23148
3e1aa84e
UD
231492012-01-20 Ulrich Drepper <drepper@gmail.com>
23150
23151 * nscd/aicache.c (addhstaiX): Do not cache negative results of
23152 transient errors.
23153 * nscd/grpcache.c (cache_addgr): Likewise.
23154 * nscd/hstcache.c (cache_addhst): Likewise.
23155 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23156 * nscd/pwdcache.c (cache_addpw): Likewise.
23157 * nscd/servicescache.c (cache_addserv): Likewise.
23158
400aa020
UD
231592012-01-16 Ulrich Drepper <drepper@gmail.com>
23160
d77e7869
UD
23161 * malloc/malloc.c: Various cleanups.
23162 * malloc/hooks.c: Likewise.
23163
400aa020
UD
23164 * stdlib/Makefile (tests): Add bug-fmtmsg1.
23165 * stdlib/bug-fmtmsg1.c: New file.
23166
23167 * stdlib/fmtmsg.c (init): Add missing unlock.
23168 Patch by Peng Haitao <penght@cn.fujitsu.com>.
23169
e0a309cf
MP
231702012-01-12 Marek Polacek <polacek@redhat.com>
23171
23172 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
23173 and _GNU_SOURCE.
23174
929d11c7
WS
231752012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23176
23177 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
23178 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
23179 macro to ensure uniqueness of label name.
23180 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23181 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23182
41d0e869
UD
231832012-01-11 Ulrich Drepper <drepper@gmail.com>
23184
0cc5ed3b
UD
23185 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
23186
41d0e869
UD
23187 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
23188 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23189 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23190 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
23191
a47a831a
UD
231922012-01-10 Ulrich Drepper <drepper@gmail.com>
23193
daa891c0
UD
23194 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
23195
23196 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
23197 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23198 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23199
e58ef0f2
UD
23200 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
23201
a47a831a 23202 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
23203 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23204 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 23205 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
23206
23207 * math/bits/math-finite.h: Add ldexp support.
23208
a0bfc9c7
MP
232092012-01-10 Marek Polacek <polacek@redhat.com>
23210
23211 * locale/programs/localedef.h (show_archive_content): Add noreturn
23212 attribute.
23213
d6e97a1d
UD
232142012-01-09 Ulrich Drepper <drepper@gmail.com>
23215
23216 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
23217
d5835c26
UD
232182012-01-08 Ulrich Drepper <drepper@gmail.com>
23219
e5f484c6
UD
23220 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
23221
d5835c26
UD
23222 * io/Makefile (headers): Add bits/poll2.h.
23223
d1f741e9
WS
232242011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
23225
23226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
23227 typo #include statement.
23228
ec09c1c4
UD
232292012-01-08 Ulrich Drepper <drepper@gmail.com>
23230
23231 * include/sys/cdefs.h: Define __attribute_alloc_size.
23232 * catgets/gencat.c: Add alloc_size attribute and apply consistently
23233 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
23234 * elf/pldd.c: Likewise.
23235 * iconv/iconv_charmap.c: Likewise.
23236 * iconv/iconvconfig.c: Likewise.
23237 * iconv/strtab.c: Likewise.
23238 * locale/programs/locale.c: Likewise.
23239 * locale/programs/localedef.h: Likewise.
23240 * locale/programs/simple-hash.c: Likewise.
23241 * nscd/nscd.h: Likewise.
23242 * nss/makedb.c: Likewise.
23243 * sysdeps/generic/ldconfig.h: Likewise.
23244 * locale/programs/localedef.c: Remove xmalloc prototype.
23245 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
23246
20b38e03
PP
232472012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23248
23249 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
23250 appropriate.
23251
a0da5fe1
UD
232522012-01-08 Ulrich Drepper <drepper@gmail.com>
23253
1d5a644a 23254 * math/Makefile (tests): Add tst-CMPLX.
669704fd 23255 * math/tst-CMPLX.c: New file.
1d5a644a 23256
8784a6db
UD
23257 * math/complex.h (CMPLXL): Fix typo.
23258
d9a216c0
UD
23259 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
23260 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
23261 GLIBC_2.16.
23262 * debug/tst-chk1.c: Add poll and ppoll tests.
23263 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
23264 * include/sys/poll.h: Add hidden proto for ppoll.
23265 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
23266 * sysdeps/mach/hurd/ppoll.c: Likewise.
23267 * io/ppoll.c: Likewise.
23268 * debug/poll_chk.c: New file.
23269 * debug/ppoll_chk.c: New file.
23270 * include/bits/poll2.h: New file.
23271 * io/bits/poll2.h: New file.
23272
ac097f5c
UD
23273 [BZ #1350]
23274 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
23275
2119dcfa
UD
23276 * configure.in: static is always set to yes. Remove.
23277 * config.make.in: Don't set build-static.
23278 * Makeconfig: Remove use of build-static.
23279 * dlfcn/Makefile: Likewise.
23280 * elf/Makefile: Likewise.
23281 * math/Makefile: Likewise.
23282 * misc/Makefile: Likewise.
23283 * nptl/Makefile: Likewise.
23284 * sysdeps/mach/hurd/Makefile: Likewise.
23285
121766a9
UD
23286 * configure.in: PWD_P is not used anymore.
23287 * config.make.in: Remove PWD_P entry.
23288
51a1d39c 23289 * configure.in: Remove last remnants of RANLIB.
8720d066 23290 No need to check for signed size_t anymore.
215f4bdc
UD
23291 Don't set libc_commonpagesize and libc_relro_required here for Alpha
23292 and IA-64.
3857022a 23293 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
23294 * aclocal.m4: Likewise.
23295
d3ed7225
UD
23296 * wcsmbs/mbrtoc16.c: Implement using towc function.
23297 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
23298 * wcsmbs/wcsmbsload.c: Likewise.
23299 * iconv/gconv_simple.c: Likewise.
23300 * iconv/gconv_int.h: Likewise.
23301 * iconv/gconv_builtin.h: Likewise.
23302 * iconv/iconv_prog.c: Remove CHAR16 handling.
23303
23304 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
23305
23306 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
23307
a0da5fe1
UD
23308 * configure.in: Remove --with-elf and --enable-bounded options.
23309 Dont set base_machine for ia64. More non-ELF conditions removed.
23310 Remove testing and setting of leading underscore information.
23311 * config.make.in (build-bounded): Set to no.
23312 * config.h.in: Remove NO_UNDERSCORES entry.
23313 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
23314 them.
23315 * csu/start.c: Remove !NO_UNDERSCORE code.
23316 * locale/localeinfo.h: Likewise.
23317 * sysdeps/generic/machine-gmon.h: Likewise.
23318 * sysdeps/generic/sysdep.h: Likewise.
23319 * sysdeps/i386/sysdep.h: Likewise.
23320 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23321 * sysdeps/mach/sysdep.h: Likewise.
23322 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23323 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23324 * sysdeps/sh/sysdep.h: Likewise.
23325 * sysdeps/sparc/sparc32/alloca.S: Likewise.
23326 * sysdeps/unix/i386/sysdep.S: Likewise.
23327 * sysdeps/unix/sparc/start.c: Likewise.
23328 * sysdeps/unix/sparc/sysdep.S: Likewise.
23329 * sysdeps/unix/sparc/sysdep.h: Likewise.
23330 * sysdeps/unix/start.c: Likewise.
23331 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23332 * sysdeps/x86_64/sysdep.h: Likewise.
23333
df78418a
UD
233342012-01-07 Ulrich Drepper <drepper@gmail.com>
23335
a784e502
UD
23336 [BZ #13553]
23337 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
23338 for non-gcc.
23339 * argp/argp-fmtstream.h: Use const instead __const.
23340 * argp/argp.h: Likewise.
23341 * assert/assert.h: Likewise.
23342 * bits/fenv.h: Likewise.
23343 * bits/sched.h: Likewise.
23344 * bits/sigset.h: Likewise.
23345 * bits/sigthread.h: Likewise.
23346 * catgets/nl_types.h: Likewise.
23347 * conform/data/pthread.h-data: Likewise.
23348 * crypt/crypt-private.h: Likewise.
23349 * crypt/crypt.h: Likewise.
23350 * crypt/crypt_util.c: Likewise.
23351 * ctype/ctype.h: Likewise.
23352 * debug/execinfo.h: Likewise.
23353 * debug/mbsnrtowcs_chk.c: Likewise.
23354 * debug/mbsrtowcs_chk.c: Likewise.
23355 * debug/wcsnrtombs_chk.c: Likewise.
23356 * debug/wcsrtombs_chk.c: Likewise.
23357 * debug/wcstombs_chk.c: Likewise.
23358 * dirent/dirent.h: Likewise.
23359 * dlfcn/dlfcn.h: Likewise.
23360 * elf/neededtest4.c: Likewise.
23361 * grp/grp.h: Likewise.
23362 * gshadow/gshadow.h: Likewise.
23363 * iconv/gconv.h: Likewise.
23364 * iconv/gconv_int.h: Likewise.
23365 * iconv/gconv_simple.c: Likewise.
23366 * iconv/iconv.h: Likewise.
23367 * iconv/loop.c: Likewise.
23368 * iconv/skeleton.c: Likewise.
23369 * include/aio.h: Likewise.
23370 * include/aliases.h: Likewise.
23371 * include/argz.h: Likewise.
23372 * include/arpa/inet.h: Likewise.
23373 * include/assert.h: Likewise.
23374 * include/dirent.h: Likewise.
23375 * include/dlfcn.h: Likewise.
23376 * include/execinfo.h: Likewise.
23377 * include/fcntl.h: Likewise.
23378 * include/fenv.h: Likewise.
23379 * include/glob.h: Likewise.
23380 * include/grp.h: Likewise.
23381 * include/libintl.h: Likewise.
23382 * include/mntent.h: Likewise.
23383 * include/netdb.h: Likewise.
23384 * include/pwd.h: Likewise.
23385 * include/rpc/netdb.h: Likewise.
23386 * include/sched.h: Likewise.
23387 * include/search.h: Likewise.
23388 * include/shadow.h: Likewise.
23389 * include/signal.h: Likewise.
23390 * include/stdio.h: Likewise.
23391 * include/stdlib.h: Likewise.
23392 * include/string.h: Likewise.
23393 * include/sys/socket.h: Likewise.
23394 * include/sys/stat.h: Likewise.
23395 * include/sys/statfs.h: Likewise.
23396 * include/sys/statvfs.h: Likewise.
23397 * include/sys/syslog.h: Likewise.
23398 * include/sys/time.h: Likewise.
23399 * include/sys/uio.h: Likewise.
23400 * include/time.h: Likewise.
23401 * include/unistd.h: Likewise.
23402 * include/utmp.h: Likewise.
23403 * include/wchar.h: Likewise.
23404 * include/wctype.h: Likewise.
23405 * inet/aliases.h: Likewise.
23406 * inet/arpa/inet.h: Likewise.
23407 * inet/netinet/ether.h: Likewise.
23408 * inet/netinet/in.h: Likewise.
23409 * intl/libintl.h: Likewise.
23410 * io/bits/fcntl2.h: Likewise.
23411 * io/fcntl.h: Likewise.
23412 * io/ftw.h: Likewise.
23413 * io/sys/poll.h: Likewise.
23414 * io/sys/stat.h: Likewise.
23415 * io/sys/statfs.h: Likewise.
23416 * io/sys/statvfs.h: Likewise.
23417 * io/utime.h: Likewise.
23418 * libio/bits/stdio.h: Likewise.
23419 * libio/bits/stdio2.h: Likewise.
23420 * libio/libio.h: Likewise.
23421 * libio/libioP.h: Likewise.
23422 * libio/stdio.h: Likewise.
23423 * locale/lc-ctype.c: Likewise.
23424 * locale/locale.h: Likewise.
23425 * login/utmp.h: Likewise.
23426 * malloc/arena.c: Likewise.
23427 * malloc/malloc.c: Likewise.
23428 * malloc/malloc.h: Likewise.
23429 * malloc/mcheck.c: Likewise.
23430 * malloc/mtrace.c: Likewise.
23431 * math/bits/mathcalls.h: Likewise.
23432 * math/fenv.h: Likewise.
23433 * math/math_private.h: Likewise.
23434 * misc/bits/error.h: Likewise.
23435 * misc/bits/syslog.h: Likewise.
23436 * misc/err.h: Likewise.
23437 * misc/error.h: Likewise.
23438 * misc/fstab.h: Likewise.
23439 * misc/mntent.h: Likewise.
23440 * misc/regexp.h: Likewise.
23441 * misc/search.h: Likewise.
23442 * misc/sgtty.h: Likewise.
23443 * misc/sys/mman.h: Likewise.
23444 * misc/sys/syslog.h: Likewise.
23445 * misc/sys/uio.h: Likewise.
23446 * misc/sys/xattr.h: Likewise.
23447 * misc/ttyent.h: Likewise.
23448 * nis/rpcsvc/ypclnt.h: Likewise.
23449 * nss/nss.h: Likewise.
23450 * posix/bits/unistd.h: Likewise.
23451 * posix/fnmatch.h: Likewise.
23452 * posix/glob.h: Likewise.
23453 * posix/sched.h: Likewise.
23454 * posix/spawn.h: Likewise.
23455 * posix/sys/wait.h: Likewise.
23456 * posix/unistd.h: Likewise.
23457 * posix/wordexp.h: Likewise.
23458 * pwd/pwd.h: Likewise.
23459 * resolv/netdb.h: Likewise.
23460 * resource/sys/resource.h: Likewise.
23461 * rt/aio.h: Likewise.
23462 * rt/bits/mqueue2.h: Likewise.
23463 * rt/mqueue.h: Likewise.
23464 * shadow/shadow.h: Likewise.
23465 * signal/signal.h: Likewise.
23466 * socket/send.c: Likewise.
23467 * socket/sendto.c: Likewise.
23468 * socket/sys/socket.h: Likewise.
23469 * stdio-common/printf.h: Likewise.
23470 * stdlib/bits/stdlib.h: Likewise.
23471 * stdlib/fmtmsg.h: Likewise.
23472 * stdlib/monetary.h: Likewise.
23473 * stdlib/stdlib.h: Likewise.
23474 * stdlib/ucontext.h: Likewise.
23475 * streams/stropts.h: Likewise.
23476 * string/argz.h: Likewise.
23477 * string/bits/string2.h: Likewise.
23478 * string/string.h: Likewise.
23479 * string/strings.h: Likewise.
23480 * sunrpc/rpc/auth.h: Likewise.
23481 * sunrpc/rpc/auth_des.h: Likewise.
23482 * sunrpc/rpc/clnt.h: Likewise.
23483 * sunrpc/rpc/netdb.h: Likewise.
23484 * sunrpc/rpc/pmap_clnt.h: Likewise.
23485 * sunrpc/rpc/xdr.h: Likewise.
23486 * sysdeps/generic/inttypes.h: Likewise.
23487 * sysdeps/generic/net/if.h: Likewise.
23488 * sysdeps/generic/sys/swap.h: Likewise.
23489 * sysdeps/gnu/net/if.h: Likewise.
23490 * sysdeps/gnu/utmpx.h: Likewise.
23491 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
23492 * sysdeps/i386/i486/bits/string.h: Likewise.
23493 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
23494 * sysdeps/s390/bits/string.h: Likewise.
23495 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
23496 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
23497 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
23498 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
23499 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
23500 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
23501 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
23502 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
23503 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
23504 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
23505 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
23506 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23507 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
23508 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23509 * sysdeps/unix/sysv/linux/readv.c: Likewise.
23510 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
23511 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
23512 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23513 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
23514 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
23515 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23516 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
23517 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
23518 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
23519 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
23520 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
23521 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
23522 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23523 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
23524 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
23525 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
23526 * sysvipc/sys/ipc.h: Likewise.
23527 * sysvipc/sys/msg.h: Likewise.
23528 * sysvipc/sys/sem.h: Likewise.
23529 * sysvipc/sys/shm.h: Likewise.
23530 * termios/termios.h: Likewise.
23531 * time/sys/time.h: Likewise.
23532 * time/time.h: Likewise.
23533 * wcsmbs/bits/wchar2.h: Likewise.
23534 * wcsmbs/uchar.h: Likewise.
23535 * wcsmbs/wchar.h: Likewise.
23536 * wctype/wctype.h: Likewise.
23537
0269750c
UD
23538 [BZ #13551]
23539 * Makeconfig: Remove all but ELF support including AIX support.
23540 * Makerules: Likewise.
23541 * config.h.in: Likewise.
23542 * config.make.in: Likewise.
23543 * configure: Likewise.
23544 * configure.in: Likewise.
23545 * csu/Makefile: Likewise.
23546 * csu/version.c: Likewise.
23547 * debug/Makefile: Likewise.
23548 * dlfcn/Makefile: Likewise.
23549 * elf/Makefile: Likewise.
23550 * extra-lib.mk: Likewise.
23551 * iconv/Makefile: Likewise.
23552 * include/libc-symbols.h: Likewise.
23553 * include/shlib-compat.h: Likewise.
23554 * resolv/Makefile: Likewise.
23555 * resolv/res_libc.c: Likewise.
23556 * rt/Makefile: Likewise.
23557 * sysdeps/i386/asm-syntax.h: Likewise.
23558 * sysdeps/i386/sysdep.h: Likewise.
23559 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23560 * sysdeps/mach/sysdep.h: Likewise.
23561 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
23562 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
23563 * sysdeps/s390/asm-syntax.h: Likewise.
23564 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23565 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23566 * sysdeps/sh/sysdep.h: Likewise.
23567 * sysdeps/unix/sparc/sysdep.h: Likewise.
23568 * sysdeps/wordsize-32/divdi3.c: Likewise.
23569 * sysdeps/x86_64/sysdep.h: Likewise.
23570
00bbd29b
UD
23571 * argp/Versions: Remove _argp_unlock_xxx.
23572
23573 [BZ #13559]
23574 * abilist/ld.abilist: Update. Adjust for removal of tls option.
23575 * abilist/libBrokenLocale.abilist: Likewise.
23576 * abilist/libanl.abilist: Likewise.
23577 * abilist/libc.abilist: Likewise.
23578 * abilist/libcrypt.abilist: Likewise.
23579 * abilist/libdl.abilist: Likewise.
23580 * abilist/libm.abilist: Likewise.
23581 * abilist/libnsl.abilist: Likewise.
23582 * abilist/libpthread.abilist: Likewise.
23583 * abilist/libresolv.abilist: Likewise.
23584 * abilist/librt.abilist: Likewise.
23585 * abilist/libthread_db.abilist: Likewise.
23586 * abilist/libutil.abilist: Likewise.
23587 * abilist/libnss_db.abilist: New file.
23588
23589 * scripts/abilist.awk: Add support for indirect functions.
23590
a2693a0e
UD
23591 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
23592
3f05895f
UD
23593 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
23594
ecb6fb48
UD
23595 * shlib-versions: Remove entries for ports architectures.
23596
664f8cb9
UD
23597 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
23598 files in ports.
23599 * elf/stackguard-macros.h: Remove support for IA-64.
23600 * elf/tst-auditmod1.c: Likewise.
23601 * sysdeps/generic/ldsodefs.h: Likewise.
23602
7ae81d88
UD
23603 * sysdeps/unix/sysv/linux/configure.in: Ports should define
23604 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
23605 configure files.
23606
bdeba135
UD
23607 [BZ #13552]
23608 * configure.in: Remove --enable-omitfp support.
23609 * FAQ.in: Adjust.
23610 * config.make.in: Likewise.
23611 * Makeconfig: Likewise.
23612 * manual/install.texi: Likewise.
23613
d75a0a62
UD
23614 In case anyone cares, the IA-64 architecture could move to ports.
23615 * sysdeps/ia64/*: Removed.
23616 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 23617 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 23618
dcc9756b
UD
23619 [BZ #13555]
23620 * configure.in: Remove entries for unsupported architectures.
23621
d3761ebc 23622 [BZ #13533]
9954432e
UD
23623 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
23624 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
23625 routines.
23626 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
23627 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
23628 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
23629 fall back to using wcrtomb.
23630 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
23631 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
23632 renaming.
23633 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
23634 * wcsmbs/tst-c16c32-1.c: New file.
23635
23636 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
23637 local variable.
23638
c3a87236
UD
23639 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
23640
28926a1b
UD
23641 * elf/tst-unique3.cc: Add explicit declaration of gets.
23642 * elf/tst-unique3lib.cc: Likewise.
23643 * elf/tst-unique3lib2.cc: Likewise.
23644 * elf/tst-unique4.cc: Likewise.
23645
df78418a
UD
23646 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
23647
8ecd6b2a
JM
236482012-01-06 Joseph Myers <joseph@codesourcery.com>
23649
23650 [BZ #13566]
23651 * assert/assert.h (static_assert): Don't define for C++.
23652 * libio/stdio.h (gets): Do declare for C++ <= C++11.
23653 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
23654
9f115170
UD
236552012-01-03 Ulrich Drepper <drepper@gmail.com>
23656
5e0d0300
UD
23657 * iconv/loop.c (single loop): Fix assertion in storing of
23658 remaining bytes.
23659
9f115170
UD
23660 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
23661
81fb02b0
UD
236622012-01-01 Ulrich Drepper <drepper@gmail.com>
23663
23664 * posix/getconf.c: Update copyright year.
23665 * nss/getent.c: Likewise.
a316c1f6 23666 * nss/makedb.c: Likewise.
81fb02b0
UD
23667 * iconv/iconvconfig.c: Likewise.
23668 * iconv/iconv_prog.c: Likewise.
23669 * elf/ldconfig.c: Likewise.
a316c1f6
UD
23670 * elf/pldd.c: Likewise.
23671 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
23672 * catgets/gencat.c: Likewise.
23673 * csu/version.c: Likewise.
23674 * elf/ldd.bash.in: Likewise.
23675 * elf/sprof.c (print_version): Likewise.
23676 * locale/programs/locale.c: Likewise.
23677 * locale/programs/localedef.c: Likewise.
a316c1f6 23678 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
23679 * nscd/nscd.c (print_version): Likewise.
23680 * debug/xtrace.sh: Likewise.
23681 * malloc/memusage.sh: Likewise.
23682 * malloc/mtrace.pl: Likewise.
23683 * debug/catchsegv.sh: Likewise.
23684
2ba92745
JJ
236852011-12-30 Jakub Jelinek <jakub@redhat.com>
23686
23687 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
23688 pure attribute.
23689
dadebdae
UD
236902011-12-24 Ulrich Drepper <drepper@gmail.com>
23691
d3761ebc 23692 [BZ #13533]
db6af3eb
UD
23693 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
23694 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
23695 transformations.
23696 * iconv/gconv_int.h: Likewise.
23697 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
23698 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
23699 from libc for GLIBC_2.16.
23700 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
23701 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
23702 * wcsmbs/uchar.h: Really define mbstate_t.
23703 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
23704 * wcsmbs/c16rtomb.c: New file.
23705 * wcsmbs/mbrtoc16.c: New file.
23706 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
23707 for C/POSIX locale.
23708 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
23709 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
23710
dadebdae
UD
23711 * wcsmbs/wchar.h: Add missing __restrict.
23712
67371b56
UD
237132011-12-23 Ulrich Drepper <drepper@gmail.com>
23714
74033a25
UD
23715 [BZ #13532]
23716 * time/Makefile (routines): Add timespec_get.
23717 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
23718 * time/time.h: Define TIME_UTC and declare timespec_get. Define
23719 timespec for ISO C11.
23720 * time/timespec_get.c: New file.
23721 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
23722 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
23723
380d7e87
UD
23724 [BZ #13531]
23725 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
23726 * stdlib/stdlib.h: Declare aligned_alloc.
23727 * Versions.def: Add GLIBC_2.16 for libc.
23728 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
23729
4e9e7a35
UD
23730 [BZ 13527]
23731 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
23732 ISO C11.
23733
380d7e87 23734 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
23735 code.
23736
03a71829
UD
23737 [BZ #13528]
23738 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
23739
839e283e
UD
23740 [BZ #13529]
23741 * assert/assert.h (static_assert): Define.
23742
ce5294e2 23743 * version.h: Update for 2.16 development version.
90fa7312 23744
8d44e150 23745 [BZ #13526]
d7809905
UD
23746 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
23747 _ISOC11_SOURCE.
23748
c0da14cd
UD
23749 * version.h (RELEASE): Bump for 2.15 release.
23750 * include/features.h (__GLIBC_MINOR__): Bump to 15.
23751
530a3249
MP
23752 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
23753 Patch by Marek Polacek <mpolacek@redhat.com>.
23754
67371b56
UD
23755 * bits/byteswap.h: Protect long long constants with __extension__.
23756 * sysdeps/i386/bits/byteswap.h: Likewise.
23757 * sysdeps/ia64/bits/byteswap.h: Likewise.
23758 * sysdeps/s390/bits/byteswap.h: Likewise.
23759 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23760
15db4de1
LD
237612011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23762
23763 [BZ #13540]
bbe315ea
LD
23764 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
23765 destination buffer.
15db4de1
LD
23766 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
23767
2b2596b1
MP
237682011-12-23 Marek Polacek <polacek@redhat.com>
23769
23770 * elf/dl-addr.c (determine_info): Add inline keyword.
23771 * elf/tst-auditmod4b.c (check_avx): Likewise.
23772 * elf/tst-auditmod6b.c (check_avx): Likewise.
23773 * elf/tst-auditmod6c.c (check_avx): Likewise.
23774 * elf/tst-auditmod7b.c (check_avx): Likewise.
23775
70c6c246
UD
237762011-12-23 Ulrich Drepper <drepper@gmail.com>
23777
23778 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
23779 !__SSE_MATH__.
23780
c044cf14
LD
237812011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23782
15db4de1 23783 [BZ #13540]
c044cf14
LD
23784 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
23785 processing for last bytes.
23786
6b13d9d9
BH
237872011-08-06 Bruno Haible <bruno@clisp.org>
23788
d455f537
BH
23789 [BZ #13061]
23790 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
23791 U+0385, not to U+1FEE.
23792
6b13d9d9
BH
23793 [BZ #13062]
23794 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
23795 entry for U+00A5 U+0301.
23796
db910efd
UD
237972011-12-22 Ulrich Drepper <drepper@gmail.com>
23798
27deeafc
UD
23799 [BZ #13166]
23800 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
23801 buffer for the output is too small.
23802
aed9d171
UD
23803 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
23804 optimization.
23805
db910efd
UD
23806 [BZ #13185]
23807 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
23808 SSE flags if possible.
23809
2bd779ae
LD
238102011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23811
e7f9dac3 23812 [BZ #13540]
2bd779ae
LD
23813 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
23814 processing for last bytes.
23815
154bfc16
JM
238162011-12-22 Joseph Myers <joseph@codesourcery.com>
23817
23818 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
23819 (syscall-list-default-options, syscall-list-default-condition)
23820 (syscall-list-includes): Define.
23821 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
23822 list of ABIs and options and #if conditions for each ABI. Do not
23823 handle common syscalls between ABIs specially.
23824 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
23825 Remove.
23826 (syscall-list-variants, syscall-list-32bit-options)
23827 (syscall-list-32bit-condition, syscall-list-64bit-options)
23828 (syscall-list-64bit-condition): Define.
23829 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
23830 (syscall-list-variants, syscall-list-32bit-options)
23831 (syscall-list-32bit-condition, syscall-list-64bit-options)
23832 (syscall-list-64bit-condition): Define.
23833 * sysdeps/unix/sysv/linux/sparc/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/x86_64/Makefile (64bit-predefine):
23839 Remove.
23840 (syscall-list-variants, syscall-list-32bit-options)
23841 (syscall-list-32bit-condition, syscall-list-64bit-options)
23842 (syscall-list-64bit-condition): Define.
23843
21eaf3a5
UD
238442011-12-22 Ulrich Drepper <drepper@gmail.com>
23845
16c6f992
UD
23846 * locale/iso-639.def: Add brx entry.
23847
41043168
UD
23848 [BZ #13328]
23849 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
23850 Proposed by Mariusz_Cukr <marcukr@op.pl>.
23851
21eaf3a5
UD
23852 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
23853 __feraiseexcept_renamed.
23854
e3a851a2
UD
238552011-12-21 Ulrich Drepper <drepper@gmail.com>
23856
4920765e
UD
23857 [BZ #13538]
23858 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
23859 EPOLLET with unsigned values.
23860 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23861 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23862
e3a851a2
UD
23863 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
23864 to large cancellation.
23865 * math/s_cacoshf.c: Likewise.
23866 * math/s_cacoshl.c: Likewise.
23867
b27e24b8
RK
238682011-11-18 Richard B. Kreckel <kreckel@ginac.de>
23869
23870 [BZ #13305]
aebefeee 23871 [BZ #12786]
b27e24b8
RK
23872 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
23873 * math/s_cacoshf.c: Likewise.
23874 * math/s_cacoshl.c: Likewise.
23875
ee190f67
UD
238762011-12-21 Ulrich Drepper <drepper@gmail.com>
23877
23878 [BZ #13439]
23879 * iconv/gconv.h: Define __GCONV_SWAP.
23880 * iconvdata/unicode.c: The swap bit must be stored in __flags.
23881 * iconvdata/utf-16.c: Likewise.
23882 * iconvdata/utf-32.c: Likewise.
23883
707f25df
AS
238842011-12-21 Andreas Schwab <schwab@linux-m68k.org>
23885
23886 [BZ #13524]
23887 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
23888 numerator after shifting it by one limb.
23889
d2daaa1e
RÁE
238902011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
23891
23892 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
23893 under [__USE_EXTERN_INLINES].
23894
a4647e72
UD
238952011-12-17 Ulrich Drepper <drepper@gmail.com>
23896
23897 [BZ #13446]
23898 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
23899
f0b264f1
AZ
239002011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23901
23902 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
23903 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
23904 optimized code.
23905 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
23906 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
23907 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
23908 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
23909 for strncasecmp/strncasecmp_l compilation.
23910 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
23911 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
23912
8ef4f244
MP
239132011-12-08 Marek Polacek <mpolacek@redhat.com>
23914
23915 [BZ #13484]
23916 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
23917 of __asm__.
23918
97ac2654
UD
239192011-12-17 Ulrich Drepper <drepper@gmail.com>
23920
23921 [BZ #13506]
23922 * time/tzfile.c (__tzfile_read): Check values from file header.
23923
91d2a845
WS
239242011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
23925
23926 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
23927 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
23928 * powerpc/powerpc32/dl-start.S: Likewise.
23929 * powerpc/powerpc32/elf/start.S: Likewise.
23930 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23931 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
23932 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
23933 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
23934 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23935 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
23936 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
23937 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23938 * powerpc/powerpc32/fpu/s_round.S: Likewise.
23939 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23940 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23941 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23942 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
23943 * powerpc/powerpc32/memset.S: Likewise.
23944 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23945 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23946 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23947 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23948 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23949 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23950 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23951 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23952 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
23953 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
23954 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
23955 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23956 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23957
a1267ba1
AZ
239582011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23959
23960 * math/libm-test.inc: Added more nearbyint tests.
23961 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
23962 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
23963 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
23964 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
23965
ad8ac1bd
RL
239662011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
23967
23968 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
23969 FD_CLOEXEC.
23970
1d3e4b61
UD
239712011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23972
23973 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
23974 Add wcscpy-ssse3 wcscpy-c.
23975 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
23976 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
23977 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
23978 * sysdeps/x86_64/wcschr.S: New file.
23979 * sysdeps/x86_64/wcsrchr.S: New file.
23980 * string/test-strcmp.c: Remove checking of wcscmp function for
23981 wrong alignments.
23982 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
23983 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
23984 wcsrchr-sse2 wcsrchr-c.
23985 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
23986 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
23987 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
23988 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
23989 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
23990 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
23991 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
23992 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
23993 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
23994 * wcsmbc/wcschr.c (WCSCHR): New macro.
23995
5b330a2d
UD
239962011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23997
23998 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
23999 * wcsmbs/test-wcsrchr.c: New file.
24000 * string/test-strrchr.c: Add wcsrchr support.
24001 (WIDE): New macro.
24002 * wcsmbs/test-wcscpy.c: New file.
24003 * string/test-strcpy.c: Add wcscpy support.
24004 (WIDE): New macro.
26428b7c 24005
f039c043
UD
240062011-12-10 Ulrich Drepper <drepper@gmail.com>
24007
24008 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
24009 the inner loop.
24010
850fb039
AS
240112011-12-06 Andreas Schwab <schwab@linux-m68k.org>
24012
24013 [BZ #13472]
24014 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
24015
4efbd5cb
UD
240162011-12-04 Ulrich Drepper <drepper@gmail.com>
24017
52ff5dd0 24018 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 24019 Minor optimizations.
52ff5dd0 24020
4efbd5cb
UD
24021 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
24022 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
24023 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24024
8a426e12
UD
240252011-12-03 Ulrich Drepper <drepper@gmail.com>
24026
aff2453d
UD
24027 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
24028 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
24029 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
24030 for gcc to avoid warnings.
24031 * inet/Makefile (tests): Add tst-checks.
24032 * inet/tst-checks.c: New file.
24033
24034 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
24035 warning.
24036
24037 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
24038 __wmemcmp_sse2.
24039
24040 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
24041 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
24042
8a426e12
UD
24043 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
24044
9bea3473
UD
240452011-12-02 Ulrich Drepper <drepper@gmail.com>
24046
3a965496
UD
24047 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
24048 problem.
24049
9bea3473
UD
24050 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
24051
f101631b
UD
240522011-11-29 Joseph Myers <joseph@codesourcery.com>
24053
24054 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
24055 conditional on GCC version.
24056 (__arch_compare_and_exchange_val_8_acq)
24057 (__arch_compare_and_exchange_val_16_acq)
24058 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
24059 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
24060 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
24061
a98275aa
UD
240622011-12-02 Joseph Myers <joseph@codesourcery.com>
24063
24064 * sysdeps/sh/backtrace.c: New file.
24065
d4cc29a2
AS
240662011-12-02 Andreas Schwab <schwab@redhat.com>
24067
24068 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
24069 parenthesis.
24070
6257af2d
AS
240712011-12-01 Andreas Schwab <schwab@redhat.com>
24072
24073 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
24074 falling back to utime.
24075
b5f44c1a
AS
240762011-11-30 Andreas Schwab <schwab@redhat.com>
24077
24078 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
24079 expectations for float.
24080
f3a6cc0a
AS
240812011-11-29 Andreas Schwab <schwab@redhat.com>
24082
24083 * locale/weight.h (findidx): Add parameter len.
24084 * locale/weightwc.h (findidx): Likewise.
24085 * posix/fnmatch_loop.c (FCT): Adjust caller.
24086 * posix/regcomp.c (build_equiv_class): Likewise.
24087 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
24088 * posix/regexec.c (check_node_accept_bytes): Likewise.
24089 * string/strcoll_l.c (STRCOLL): Likewise.
24090 * string/strxfrm_l.c (STRXFRM): Likewise.
24091
9d65ea3a
UD
240922011-11-17 Ulrich Drepper <drepper@gmail.com>
24093
24094 * Makefile.in: Remove CVSOPT handling.
24095 * configure.in: Remove use of AC_REVISION.
24096 * iconvdata/Makefile (distribute): No need to filter out CVS.
24097 * scripts/list-sources.sh: Remove CVS, subversion and monotone
24098 handling.
24099
5583a086
AS
241002011-11-16 Andreas Schwab <schwab@redhat.com>
24101
24102 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
24103 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
24104 [USE_AS_STRNCASECMP_L]: Likewise.
24105 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
24106 NO_TLS_DIRECT_SEG_REFS.
24107 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
24108 Fix argument offsets for non-PIC.
24109 [USE_AS_STRNCASECMP_L]: Likewise.
24110 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
24111 NO_TLS_DIRECT_SEG_REFS.
24112
d62a8200
UD
241132011-11-15 Ulrich Drepper <drepper@gmail.com>
24114
9d65ea3a 24115 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
24116 O_CLOEXEC.
24117 * locale/loadlocale.c (_nl_load_locale): Likewise.
24118
09f93bd3
AS
241192011-11-15 Andreas Schwab <schwab@redhat.com>
24120
446514f9
AS
24121 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
24122 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
24123 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
24124 (SYSCALL_GETTIME): Set errno on error.
24125
09f93bd3
AS
24126 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
24127 count references to noai6ai_cached.
24128
312be3f9
UD
241292011-11-15 Ulrich Drepper <drepper@gmail.com>
24130
24131 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
24132
24133 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
24134 FD_CLOEXEC for /proc/self/maps.
24135
24136 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
24137 FD_CLOEXEC for /proc/meminfo.
24138
24139 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
24140 gai.conf.
24141
24142 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
24143 FD_CLOEXEC for given file.
24144
24145 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
24146
24147 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
24148 FD_CLOEXEC for /etc/hosts.
24149 (_gethtent): Likewise.
24150
24151 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
24152
24153 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
24154 cancellation and set FD_CLOEXEC for /etc/netgroup.
24155
24156 * nss/nss_files/files-key.c (search): Don't allow cancellation when
24157 reading /etc/publickey.
24158
24159 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
24160 allow cancellation when reading /etc/group.
24161
24162 * nss/nss_files/files-alias.c (internal_setent): Don't allow
24163 cancellation.
24164 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
24165
24166 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
24167 when using data file.
24168
24169 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
24170
24171 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
24172 (write_nis_obj): Use "c" and "e" in fopen.
24173
24174 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
24175
24176 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
24177
24178 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
24179
24180 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
24181
24182 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
24183 locale.alias.
24184
24185 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
24186
24187 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
24188
24189 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
24190
24191 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
24192 file parsing and set FD_CLOEXEC.
24193
82af0fa8
UD
241942011-11-14 Ulrich Drepper <drepper@gmail.com>
24195
24196 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
24197
a5fb313c
AS
241982011-11-14 Andreas Schwab <schwab@redhat.com>
24199
24200 * malloc/arena.c (arena_get2): Don't call reused_arena when
24201 _int_new_arena failed.
24202
6abf3465
UD
242032011-11-14 Ulrich Drepper <drepper@gmail.com>
24204
24205 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
24206 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
24207 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
24208 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24209 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24210 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
24211 to compile strcasecmp and strncasecmp.
24212 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
24213 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
24214
24215 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
24216
76e3966e
UD
242172011-11-13 Ulrich Drepper <drepper@gmail.com>
24218
24219 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
24220 locale-defines.sym to gen-as-const-headers.
24221 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
24222 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
24223 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
24224 to compile strcasecmp and strncasecmp.
24225 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
24226 strcasecmp_l and strncasecmp_l.
24227 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
24228 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
24229 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
24230 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
24231 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
24232 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
24233 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
24234 * sysdeps/i386/i686/multiarch/strncase.S: New file.
24235 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
24236 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
24237 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
24238
ab26144e
UD
242392011-11-12 Ulrich Drepper <drepper@gmail.com>
24240
7edb22ef
UD
24241 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
24242 result of SYSDEP_GETTIME_CPU to retval.
24243 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
24244 parameter list to macro. Remove trailing semicolon. Adjust users.
24245
9694fc44
UD
24246 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
24247 variable.
24248
8ad89ef8
UD
24249 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
24250 mantissa words.
24251 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
24252
0c822ef9
UD
24253 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
24254 from unused variable.
24255
874e0564
UD
24256 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
24257 DWARF definitions.
24258 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
24259 for assembling.
24260
3a2edc79
UD
24261 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
24262 over namespaces.
24263
f3c2577f
UD
24264 * sunrpc/rpc_prot.c (rejected): Fix case value.
24265
294ce126
UD
24266 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
24267 unsigned long long int to avoid warnings in shift.
24268
5e2b63c6
UD
24269 * posix/regex_internal.c (re_string_reconstruct): Actually use result
24270 of use of trans.
24271 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
24272 variable tmp.
24273
e7f4b08e
UD
24274 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
24275 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24276 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24277
ab26144e
UD
24278 * nis/nis_table.c (nis_list): Use variable of correct type for
24279 result of __follow_path call.
24280
8a6d5255
AZ
242812011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24282
24283 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
24284 of math functions ceil, trunc, floor, round, and sqrt, when
24285 avaliable on the platform.
24286 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
24287 name clash.
24288 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24289 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24290 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24291
aaddc98c
MP
242922011-10-30 Marek Polacek <mpolacek@redhat.com>
24293
24294 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
24295 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24296
95b7042b
RM
242972011-11-11 Roland McGrath <roland@hack.frob.com>
24298
24299 * include/unistd.h: Fix __readlink return type.
24300 Reported by Chris Metcalf <cmetcalf@tilera.com>.
24301
57769839
UD
243022011-11-11 Ulrich Drepper <drepper@gmail.com>
24303
24304 * stdlib/ucontext.h: Undo last change for makecontext.
24305
edc5984d
AS
243062011-11-11 Andreas Schwab <schwab@redhat.com>
24307
98591e58
AS
24308 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
24309
edc5984d
AS
24310 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
24311 * setjmp/setjmp.h: Mark functions as non-leaf.
24312 * setjmp/bits/setjmp2.h: Likewise.
24313 * stdlib/ucontext.h: Likewise.
24314
77cdc054
AS
243152011-11-10 Andreas Schwab <schwab@redhat.com>
24316
24317 * malloc/arena.c (_int_new_arena): Don't increment narenas.
24318 (reused_arena): Don't check arena limit.
24319 (arena_get2): Atomically check arena limit.
24320
fe72eebd
UD
243212011-11-08 Ulrich Drepper <drepper@gmail.com>
24322
5f078c32
UD
24323 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
24324 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
24325
fe72eebd
UD
24326 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
24327 instructions.
24328
ae1bc2fa
AS
243292011-11-07 Andreas Schwab <schwab@redhat.com>
24330
7583a88d
AS
24331 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
24332 handler when locking.
24333
ae1bc2fa
AS
24334 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24335 Fix size of allocated buffer.
24336
10fb0bfa
AS
243372011-11-04 Andreas Schwab <schwab@redhat.com>
24338
998832a4
AS
24339 [BZ #10103]
24340 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
24341 declarations for long double functions.
24342 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
24343
10fb0bfa
AS
24344 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
24345
3d7ba52b
AS
243462011-11-03 Andreas Schwab <schwab@redhat.com>
24347
a9ae54a1
AS
24348 * nscd/nscd.c (main): Don't start AVC thread until credentials are
24349 installed.
24350
3d7ba52b
AS
24351 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
24352 is disabled.
24353
bc8db248
ST
243542011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
24355
24356 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
24357
45b96dd6
AS
243582011-11-01 Andreas Schwab <schwab@linux-m68k.org>
24359
647776f6
AS
24360 * include/alloca.h (stackinfo_alloca_round): Define.
24361 (extend_alloca): Use it.
24362 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
24363 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
24364 here.
24365
d91a8b93
AS
24366 * scripts/check-local-headers.sh: Ignore libaudit.h.
24367
45b96dd6
AS
24368 * nscd/Makefile (extra-objs): Make recursively expanded.
24369
432d41ce
UD
243702011-11-01 Ulrich Drepper <drepper@gmail.com>
24371
34372fc6
UD
24372 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
24373 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24374
fadb59f8
UD
24375 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
24376 * posix/tst-rfc3484-2.c: Likewise.
24377 * posix/tst-rfc3484-3.c: Likewise.
24378
78239589
UD
24379 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24380 process_vm_writev.
24381 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
24382 process_vm_writev.
24383 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
24384 process_vm_writev from libc using GLIBC_2.15 version.
24385
432d41ce
UD
24386 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
24387
02f9c6cf
PP
243882011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
24389
24390 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
24391 stack usage.
24392
3a2c0242
UD
243932011-10-31 Ulrich Drepper <drepper@gmail.com>
24394
f4ec4833
UD
24395 [BZ #13367]
24396 * nss/getent.c (initgroups_keys): Show error message in case no group
24397 names are given.
24398
3a2c0242
UD
24399 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
24400 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
24401 __bump_nl_timestamp.
24402 * nscd/connections (nscd_init): When host database is served open
24403 netlink socket and request notification about configuration changes.
24404 (main_loop_poll): Track netlink file descriptor and bump timestamp
24405 in case data becomes available.
24406 (main_loop_epoll): Likewise.
24407 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
24408 (database_pers_head): Add extra_data fileds.
24409 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
24410 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
24411 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
24412 Adjust caller.
24413 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
24414 in6ai data, call __free_in6ai.
24415 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
24416 Add -DHAVE_NETLINK.
24417 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
24418 interface information. Reuse previous data if netlink timestamp
24419 is not changed.
24420 (__bump_nl_timestamp): New function.
24421 (__free_in6ai): New function.
24422
636064eb
UD
244232011-10-30 Ulrich Drepper <drepper@gmail.com>
24424
24425 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
24426 close_not_cancel_no_status here.
24427 (__check_pf): Reorganize code a bit to not call close twice if OOM.
24428
9beb2334
UD
244292011-10-29 Ulrich Drepper <drepper@gmail.com>
24430
6ef76f3b
UD
24431 [BZ #13276]
24432 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
24433 return value.
24434
0ffc4f3e 24435 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
24436 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
24437 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
24438
cb95113e
UD
244392011-07-03 Andreas Jaeger <aj@suse.de>
24440
24441 [BZ #10709]
24442 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
24443 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
24444 * math/libm-test.inc (sin_test): Add test case.
24445
a1b560ff
UD
244462011-10-29 Ulrich Drepper <drepper@gmail.com>
24447
c9aaface
UD
24448 [BZ #13337]
24449 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
24450 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24451
d272e7f1
UD
24452 * elf/chroot_canon.c (chroot_canon): Cleanups.
24453
1bc33071
UD
24454 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
24455
1760874d
TJ
24456 [BZ #13335]
24457 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
24458 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24459
51d91b18
UD
24460 * string/test-strchr.c: Make usable for strchrnul testing.
24461 * string/test-strchrnul.c: New file.
24462 * string/Makefile (strop-tests): Add strchrnul.
24463
a1b560ff 24464 * po/it.po: Update from translation team.
b611fb81 24465 * po/es.po: Likewise.
a1b560ff 24466
a5b81e1f
UD
244672011-10-28 Ulrich Drepper <drepper@gmail.com>
24468
fd52bc6d
UD
24469 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
24470 the three constants needed as parameters. Drop the others.
24471 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
24472 __m128i_strloadu_tolower.
52e4b9eb
UD
24473 Create and initialize variable zero and use it in all the places
24474 where _mm_setzero_si128 was used.
fd52bc6d 24475
a5b81e1f
UD
24476 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
24477 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
24478 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
24479 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
24480 anymore.
24481 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
24482 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
24483 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
24484 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
24485 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
24486 __mpranred, __mptan.
24487 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
24488 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
24489 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
24490 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
24491 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
24492 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
24493 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
24494 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
24495 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
24496
b4343346
AS
244972011-10-28 Andreas Schwab <schwab@redhat.com>
24498
0c92d8a8
AS
24499 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
24500 redefine if SHARED.
24501 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
24502
b4343346
AS
24503 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
24504 wide char related routines to wcsmbs subdir.
24505
3871f58f
AS
245062011-10-27 Andreas Schwab <schwab@redhat.com>
24507
24508 [BZ #13344]
24509 * misc/sys/cdefs.h (__THROWNL): Define.
24510 * posix/unistd.h: Use __THREADNL instead of __THREAD
24511 for memory synchronization functions.
24512
94d44d9f
RM
245132011-10-26 Roland McGrath <roland@hack.frob.com>
24514
21b64b15 24515 [BZ #13349]
94d44d9f
RM
24516 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
24517 doesn't exist.
24518 * manual/stdio.texi (Obstack Streams): Node removed.
24519
f6ce9294
AS
245202011-10-26 Andreas Schwab <schwab@redhat.com>
24521
80479147
AS
24522 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
24523 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24524 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24525
f6ce9294
AS
24526 * math/math_private.h (math_force_eval): Allow non-addressable
24527 arguments.
24528 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
24529
618280a1
UD
245302011-10-25 Ulrich Drepper <drepper@gmail.com>
24531
e0016b11
UD
24532 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
24533 file is not needed.
24534
24535 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
24536 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
24537 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24538 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24539 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24540 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24541 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24542 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
24543 Add AVX variants.
24544 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
24545 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
24546 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
24547 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
24548 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
24549 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
24550 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
24551 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
24552 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
24553 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
24554 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
24555 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
24556 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
24557 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
24558 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
24559 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
24560 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
24561 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
24562 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
24563
24564 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
24565 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
24566
618280a1
UD
24567 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
24568 place. Use VEX encoding when compiling for AVX.
24569
37822576
AS
245702011-10-25 Andreas Schwab <schwab@redhat.com>
24571
1f1e1947
AS
24572 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
24573 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24574
37822576
AS
24575 * string/test-strchr.c (do_test): Don't generate NUL bytes.
24576
31ea014d
UD
245772011-10-25 Ulrich Drepper <drepper@gmail.com>
24578
d7826aa1 24579 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 24580 useless if() expression.
d7826aa1
UD
24581 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24582 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24583 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24584 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24585 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24586 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24587 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24588 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24589 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24590 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24591 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24592 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24593 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24594 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24595 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24596 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24597 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24598 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24599 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24600
31ea014d
UD
24601 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
24602
16437fec
AS
246032011-10-25 Andreas Schwab <schwab@redhat.com>
24604
24605 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
24606 condition.
24607 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24608
31d3cc00
UD
246092011-10-25 Ulrich Drepper <drepper@gmail.com>
24610
24611 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
24612 .text section. Avoid duplicate constants.
24613 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24614 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24615 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24616 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24617 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24618 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24619 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24620 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24621 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24622 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
24623 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24624 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24625 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24626 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24627 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24628 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24629 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24630 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24631 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24632 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24633 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24634 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24635 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24636 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
24637 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
24638 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
24639 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
24640 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
24641 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
24642 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
24643 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
24644 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
24645 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24646 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
24647 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
24648 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
24649 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
24650 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
24651 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
24652 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
24653 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
24654 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
24655 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
24656 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24657 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
24658
58985aa9
UD
246592011-10-24 Ulrich Drepper <drepper@gmail.com>
24660
202c9deb
UD
24661 * sysdeps/x86_64/dla.h: Move to ...
24662 * sysdeps/x86_64/fpu/dla.h: ...here.
24663 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
24664 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 24665
af968f62
UD
24666 * config.make.in: Add have-mfma4 entry.
24667 * configure.in: Substitute libc_cv_cc_fma4.
24668 * math/Makefile (dbl-only-routines): Add sincostab.
24669 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
24670 Use __sincostab not sincos.
24671 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
24672 name is a macro.
24673 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24674 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24675 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24676 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
24677 using __copysign.
24678 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
24679 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
24680 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
24681 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
24682 and __inv.
24683 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
24684 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
24685 __copysign.
24686 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
24687 define aliases when function name is a macro.
24688 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
24689 sysdeps/ieee754/dbl-64/sincos.tbl.
24690 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
24691 fma4-enabled routines.
24692 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
24693 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
24694 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
24695 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
24696 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
24697 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
24698 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
24699 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
24700 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
24701 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
24702 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
24703 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
24704 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
24705 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
24706 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
24707 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
24708 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
24709 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
24710 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
24711 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
24712 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
24713 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
24714 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
24715 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
24716 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
24717 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
24718 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
24719 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
24720 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
24721 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
24722
58985aa9
UD
24723 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
24724 rename.
24725 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24726 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24727 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24728 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24729 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24730 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24731 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24732 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24733
a201fbcf
AS
247342011-10-24 Andreas Schwab <schwab@redhat.com>
24735
24736 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
24737
fc2ee42a
LD
247382011-10-23 Ulrich Drepper <drepper@gmail.com>
24739
bb3129bd
UD
24740 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
24741
0275fff8
UD
24742 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
24743 prediction.
24744 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
24745
2fa2ae85
UD
24746 * string/strnlen.c: Don't define STRNLEN, reverse logic.
24747 Remove unused variable magic_bits.
24748 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
24749
fc2ee42a
LD
24750 * string/strnlen.c: Define and use STRNLEN macro.
24751 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
24752 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
24753 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
24754 * wcsmbs/wcslen.c: Define and use WCSLEN.
24755 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
24756 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
24757 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
24758 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
24759 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
24760 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
24761 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24762
ce7dd29f
LD
247632011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24764
24765 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24766 strnlen-sse2-no-bsf.
24767 Rename strlen-no-bsf to strlen-sse2-no-bsf.
24768 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
24769 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
24770 Add strnlen support.
24771 (USE_AS_STRNLEN): New macro.
24772 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
24773 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
24774 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
24775 * sysdeps/x86_64/wcslen.S: New file.
24776
979c70a3
MZ
247772011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
24778
24779 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24780 XMM-moves are used for copying on small sizes.
24781
2d09f82f
LD
247822011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24783
24784 * wcsmbs/Makefile (strop-tests): Add wcschr.
24785 * wcsmbs/test-wcschr.c: New file.
24786 * string/test-strchr.c: Update.
24787 Add wcschr support.
24788 (WIDE): New macro.
24789
619fccca
LD
247902011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24791
2d09f82f 24792 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
24793 * wcsmbs/test-wcslen.c: New file.
24794 * string/test-strlen.c: Update.
24795 Add wcslen support.
24796 (WIDE): New macro.
24797
09f699ea
UD
247982011-10-23 Ulrich Drepper <drepper@gmail.com>
24799
24800 * po/it.po: Update from translation team.
24801
95584d3b
LD
248022011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24803
24804 * sysdeps/x86_64/wcscmp.S: Update.
24805 Fix wrong comparison semantics.
24806 wcscmp shall use signed comparison not unsigned.
24807 Don't use substraction to avoid overflow bug.
24808 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24809 * wcsmbc/wcscmp.c: Likewise.
24810 * string/test-strcmp.c: Likewise.
24811 Add new tests to check cases with negative values.
24812
c8b3296b
UD
248132011-10-23 Ulrich Drepper <drepper@gmail.com>
24814
24815 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
24816 * sysdeps/x86_64/dla.h: ...here. New file.
24817 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
24818 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24819 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24820 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24821 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24822 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24823 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24824 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24825 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24826
246ad57a
AS
248272011-10-23 Andreas Schwab <schwab@linux-m68k.org>
24828
24829 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
24830 __ynl_finite aliases.
24831
a1a87169
UD
248322011-10-22 Ulrich Drepper <drepper@gmail.com>
24833
0d355eb7
UD
24834 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24835
a1a87169
UD
24836 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
24837 define DLA_FMA.
24838 [DLA_FMA] (EMULV): Use DLA_FMA.
24839 [DLA_FMA] (MUL12): Use EMULV.
24840 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
24841 that are not needed.
24842 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24843 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24844 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24845 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24846 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24847 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24848 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24849
ee2aafe0
AS
248502011-10-22 Andreas Schwab <schwab@linux-m68k.org>
24851
24852 * math/s_nan.c: Undef __nan.
24853 * math/s_nanf.c: Undef __nanf.
24854 * math/s_nanl.c: Undef __nanl.
24855 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
24856 "math_private.h".
24857
bc62c2fb
UD
248582011-10-22 Ulrich Drepper <drepper@gmail.com>
24859
77425c63
UD
24860 * math/s_catan.c: Add branch predictions.
24861 * math/s_catanf.c: Likewise.
24862 * math/s_catanh.c: Likewise.
24863 * math/s_catanhf.c: Likewise.
24864 * math/s_catanhl.c: Likewise.
24865 * math/s_catanl.c: Likewise.
24866 * math/s_cexp.c: Likewise.
24867 * math/s_cexpf.c: Likewise.
24868 * math/s_cexpl.c: Likewise.
24869 * math/s_clog.c: Likewise.
24870 * math/s_clog10.c: Likewise.
24871 * math/s_clog10f.c: Likewise.
24872 * math/s_clog10l.c: Likewise.
24873 * math/s_clogf.c: Likewise.
24874 * math/s_clogl.c: Likewise.
24875 * math/s_csqrt.c: Likewise.
24876 * math/s_csqrtf.c: Likewise.
24877 * math/s_csqrtl.c: Likewise.
24878 * math/s_ctanf.c: Likewise.
24879 * math/s_ctanh.c: Likewise.
24880 * math/s_ctanhf.c: Likewise.
24881 * math/s_ctanhl.c: Likewise.
24882 * math/s_ctanl.c: Likewise.
24883
bc62c2fb
UD
24884 * math/math_private.h: Define __nan, __nanf, __nanl.
24885 * math/s_cacosh.c: Include <math_private.h>.
24886 * math/s_cacoshl.c: Likewise.
24887 * math/s_casinh.c: Likewise.
24888 * math/s_casinhf.c: Likewise.
24889 * math/s_casinhl.c: Likewise.
24890 * math/s_ccos.c: Rely entire on ccosh.
24891 * math/s_ccosf.c: Rely entire on ccoshf.
24892 * math/s_ccosl.c: Rely entirely on ccoshl.
24893 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
24894 Remove tests for FE_INVALID.
24895 * math/s_ccoshf.c: Likewise.
24896 * math/s_ccoshl.c: Likewise.
24897 * math/s_csin.c: Likewise.
24898 * math/s_csinf.c: Likewise.
24899 * math/s_csinh.c Likewise.
24900 * math/s_csinhf.c: Likewise.
24901 * math/s_csinhl.c: Likewise.
24902 * math/s_csinl.c: Likewise.
24903 * math/s_ctan.c: Likewise.
24904 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
24905 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
24906 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
24907
8ec250a4
UD
249082011-10-21 Ulrich Drepper <drepper@gmail.com>
24909
c196fed8
UD
24910 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
24911 compilation problems.
24912
8ec250a4
UD
24913 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
24914 __builtin_expect.
24915
8d4f46c6
UD
249162011-10-20 Ulrich Drepper <drepper@gmail.com>
24917
ed72b654
UD
24918 * sysdeps/i386/configure.in: Test for -mfma4 option.
24919 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
24920 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
24921 COMMON_CPUID_INDEX_80000001.
24922 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
24923 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
24924 use it if FMA3 is not supported.
24925 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
24926
8d4f46c6
UD
24927 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
24928 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24929
d45c60c2
AS
249302011-10-20 Andreas Schwab <schwab@redhat.com>
24931
24932 [BZ #12892]
24933 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
24934 it would create a cycle with a link time dependency.
24935
d9a4d2ab
UD
249362011-10-19 Ulrich Drepper <drepper@gmail.com>
24937
855d1560
UD
24938 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
24939 instruction.
24940 * string/Makefile (strop-tests): Add rawmemchr.
24941 * string/test-rawmemchr.c: New file.
24942
d9a4d2ab
UD
24943 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
24944 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
24945 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
24946 when compiling str{,n}casecmp and when AVX is available. Hook up
24947 new optimized code in initializers.
24948
8f3b1ffe
AS
249492011-10-19 Andreas Schwab <schwab@redhat.com>
24950
24951 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
24952 __feraiseexcept instead of feraiseexcept.
24953
d38f1dba
UD
249542011-10-18 Ulrich Drepper <drepper@gmail.com>
24955
d9a8d0ab
UD
24956 * math/math_private.h: Define defaults for libc_fetestexcept and
24957 libc_feupdateenv.
24958 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
24959 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
24960 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24961 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24962 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24963 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24964 libc_fetestexcept and libc_feupdateenv.
24965
4855e3dd
UD
24966 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
24967 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
24968 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
24969 * sysdeps/x86_64/fpu/math_private.h: Define special version of
24970 libc_feholdexcept_setround.
24971
581d30e3
UD
24972 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
24973 Add s_nearbyint-c and s_nearbyintf-c.
24974 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
24975 nearbyintf inlines.
24976 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
24977 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
24978 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
24979 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
24980
d38f1dba
UD
24981 * math/math_private.h: Define defaults for libc_fegetround,
24982 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
24983 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
24984 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
24985 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
24986 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
24987 standard functions.
24988 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24989 Remove comments and hacks for old compiler versions.
24990 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24991 libc_fegetround, libc_fesetround, libc_feholdexcept, and
24992 libc_feholdexceptl.
24993
caa6c9d8
AS
249942011-10-18 Andreas Schwab <schwab@redhat.com>
24995
24996 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
24997 (__feraiseexcept_renamed): Add __NTH.
24998 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
24999 namespace violations.
25000
97c066e6
UD
250012011-10-17 Ulrich Drepper <drepper@gmail.com>
25002
99ce7b04
UD
25003 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
25004
1004d182
UD
25005 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
25006
228a984d
UD
25007 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
25008 recently added interfaces.
25009 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
25010
c8553a6a
UD
25011 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
25012 about macro parameter expansion.
25013
ed22dcf6
UD
25014 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
25015 __NO_MATH_INLINES is defined. Cleanups.
25016
25017 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
25018 and __floorf is target has SSE4.1.
25019 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
25020 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
25021 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
25022 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
25023
b171c137
UD
25024 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
25025 name.
25026 (floorf): Likewise.
25027
97c066e6
UD
25028 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
25029
629f62ef
AS
250302011-10-17 Andreas Schwab <schwab@redhat.com>
25031
49a43d80
AS
25032 * misc/sys/cdefs.h: Fix last change.
25033
629f62ef
AS
25034 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
25035 database lookup.
25036
e453f6cd
UD
250372011-10-16 Ulrich Drepper <drepper@gmail.com>
25038
aa78043a
UD
25039 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
25040
ad0f5cad
UD
25041 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
25042 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25043 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25044 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25045 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25046 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25047 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25048 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25049 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25050 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
25051 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
25052 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
25053 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
25054 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
25055 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
25056 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
25057 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
25058 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
25059 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
25060 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
25061 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
25062 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
25063
25064 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
25065 ceil, ceilf, floor, floorf.
25066
25067 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
25068 Perform IRELATIVE relocations last.
25069
e453f6cd
UD
25070 * elf/do-rel.h: Add another parameter nrelative, replacing the
25071 local variable with the same name. Change name of the function
25072 to end in Rel or Rela (uppercase).
25073 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
25074 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
25075 elf_dynamic_do_##reloc function.
25076
fd5bdc09
UD
250772011-10-15 Ulrich Drepper <drepper@gmail.com>
25078
79b195b5
UD
25079 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
25080 is sufficient, at least on modern CPUs.
25081
d4a28569
UD
25082 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
25083
b61099b5
UD
25084 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
25085 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
25086
bcf01e6d
UD
25087 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
25088 __expl_finite.
25089 * math/bits/math-finite.h: Add entries for exp.
25090 * math/e_expl.c: Add __*_finite alias.
25091 * sysdeps/i386/fpu/e_exp.S: Likewise.
25092 * sysdeps/i386/fpu/e_expf.S: Likewise.
25093 * sysdeps/i386/fpu/e_expl.c: Likewise.
25094 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25095 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25096 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25097 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25098 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
25099 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25100 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25101
ba1a0d59
UD
25102 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
25103 is sufficient, at least on modern CPUs.
25104
fd5bdc09
UD
25105 * ctype/ctype-info.c (__ctype_init): Define.
25106 * include/ctype.h (__ctype_init): Declare.
25107 (__ctype_b_loc): The variable is always initialized.
25108 (__ctype_toupper_loc): Likewise.
25109 (__ctype_tolower_loc): Likewise.
25110 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
25111 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
25112
7872cfb0
AS
251132011-10-15 Andreas Schwab <schwab@linux-m68k.org>
25114
b468825a
AS
25115 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
25116
7872cfb0
AS
25117 * configure.in: Also look in $cxxmachine/include for C++ system
25118 headers.
25119
be13f7bf
LD
251202011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25121
25122 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
25123 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
25124 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
25125 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
25126 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
25127 (USE_AS_WMEMCMP): New macro.
25128 Fixing indents.
25129 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
25130 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
25131 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
25132 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
25133 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25134 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
25135 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
25136 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
25137 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
25138 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
25139 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
25140 (USE_AS_WMEMCMP): New macro.
25141 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
25142 * sysdeps/string/test-memcmp.c: Update.
25143 Fix simple_wmemcmp.
25144 Add new tests.
25145 * wcsmbs/wmemcmp.c: Update.
25146 (WMEMCMP): New macro.
25147 Fix overflow bug.
25148
556a2007
AJ
251492011-10-12 Andreas Jaeger <aj@suse.de>
25150
25151 [BZ #13268]
25152 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
25153
538faaa7
UD
251542011-10-15 Ulrich Drepper <drepper@gmail.com>
25155
ab6737ff
UD
25156 * libio/iofwide.c (do_length): Avoid warning.
25157
538faaa7
UD
25158 * ctype/ctype.h (__isctype_f): Add missing __THROW.
25159
396a21b1
UD
251602011-10-14 Ulrich Drepper <drepper@gmail.com>
25161
cdf2901f
UD
25162 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
25163
38ad40ce
UD
25164 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
25165 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
25166 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
25167 * sysdeps/i386/i686/fpu/e_log.S: New file.
25168 * sysdeps/i386/i686/fpu/e_logf.S: New file.
25169 * sysdeps/i386/i686/fpu/e_logl.S: New file.
25170
396a21b1
UD
25171 * ctype/ctype.h: Add support for inlined isXXX functions when
25172 compiling C++ code.
25173
6b1f68c9
AS
251742011-10-14 Andreas Schwab <schwab@redhat.com>
25175
349290c0
AS
25176 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25177
6b1f68c9
AS
25178 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
25179
f2282d42
RM
251802011-10-13 Roland McGrath <roland@hack.frob.com>
25181
25182 [BZ #13291]
25183 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
25184
5298ffa8
AS
251852011-10-13 Andreas Schwab <schwab@redhat.com>
25186
714fad23
AS
25187 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
25188 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
25189 feraiseexcept.
25190
81dcc7fb
AS
25191 * sysdeps/x86_64/memrchr.S: Check for zero size.
25192
5298ffa8
AS
25193 * string/stratcliff.c: Add memrchr tests.
25194
951fbcec
LD
251952011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25196
25197 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25198 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
25199 rawmemchr-sse2 rawmemchr-sse2-bsf.
25200 * sysdeps/i386/i686/multiarch/memchr.S: New file.
25201 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
25202 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
25203 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
25204 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
25205 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
25206 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
25207 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
25208 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
25209 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
25210 * string/memrchr.c (MEMRCHR): New macro.
25211
0ac5ae23
UD
252122011-10-12 Ulrich Drepper <drepper@gmail.com>
25213
25214 Add integration with gcc's -ffinite-math-only and optimize wrapper
25215 functions in libm.
25216 * Versions.def: Define GLIBC_2.15 version for libm.
25217 * math/Makefile (headers): Add bits/math-finite.h.
25218 * math/bits/math-finite.h: New file.
25219 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
25220 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
25221 * math/e_acoshl.c: Add __*_finite alias.
25222 * math/e_acosl.c: Likewise.
25223 * math/e_asinl.c: Likewise.
25224 * math/e_atan2l.c: Likewise.
25225 * math/e_atanhl.c: Likewise.
25226 * math/e_coshl.c: Likewise.
25227 * math/e_exp10.c: Likewise.
25228 * math/e_exp10f.c: Likewise.
25229 * math/e_exp10l.c: Likewise.
25230 * math/e_exp2l.c: Likewise.
25231 * math/e_fmodl.c: Likewise.
25232 * math/e_gammal_r.c: Likewise.
25233 * math/e_hypotl.c: Likewise.
25234 * math/e_j0l.c: Likewise.
25235 * math/e_j1l.c: Likewise.
25236 * math/e_jnl.c: Likewise.
25237 * math/e_lgammal_r.c: Likewise.
25238 * math/e_log10l.c: Likewise.
25239 * math/e_log2l.c: Likewise.
25240 * math/e_logl.c: Likewise.
25241 * math/e_powl.c: Likewise.
25242 * math/e_sinhl.c: Likewise.
25243 * math/e_sqrtl.c: Likewise.
25244 * math/e_scalb.c: Completely rewritten and optimized.
25245 * math/e_scalbf.c: Likewise.
25246 * math/e_scalbl.c: Likewise.
25247 * math/w_acos.c: Likewise.
25248 * math/w_acosf.c: Likewise.
25249 * math/w_acosl.c: Likewise.
25250 * math/w_acosh.c: Likewise.
25251 * math/w_acoshf.c: Likewise.
25252 * math/w_acoshl.c: Likewise.
25253 * math/w_asin.c: Likewise.
25254 * math/w_asinf.c: Likewise.
25255 * math/w_asinl.c: Likewise.
25256 * math/w_atan2.c: Likewise.
25257 * math/w_atan2f.c: Likewise.
25258 * math/w_atan2l.c: Likewise.
25259 * math/w_atanh.c: Likewise.
25260 * math/w_atanhf.c: Likewise.
25261 * math/w_atanhl.c: Likewise.
25262 * math/w_exp10.c: Likewise.
25263 * math/w_exp10f.c: Likewise.
25264 * math/w_exp10l.c: Likewise.
25265 * math/w_fmod.c: Likewise.
25266 * math/w_fmodf.c: Likewise.
25267 * math/w_fmodl.c: Likewise.
25268 * math/w_j0.c: Likewise.
25269 * math/w_j0f.c: Likewise.
25270 * math/w_j0l.c: Likewise.
25271 * math/w_j1.c: Likewise.
25272 * math/w_j1f.c: Likewise.
25273 * math/w_j1l.c: Likewise.
25274 * math/w_jn.c: Likewise.
25275 * math/w_jnf.c: Likewise.
25276 * math/w_log.c: Likewise.
25277 * math/w_logf.c: Likewise.
25278 * math/w_logl.c: Likewise.
25279 * math/w_log10.c: Likewise.
25280 * math/w_log10f.c: Likewise.
25281 * math/w_log10l.c: Likewise.
25282 * math/w_log2.c: Likewise.
25283 * math/w_log2f.c: Likewise.
25284 * math/w_log2l.c: Likewise.
25285 * math/w_pow.c: Likewise.
25286 * math/w_powf.c: Likewise.
25287 * math/w_powl.c: Likewise.
25288 * math/w_remainder.c: Likewise.
25289 * math/w_remainderf.c: Likewise.
25290 * math/w_remainderl.c: Likewise.
25291 * math/w_scalb.c: Likewise.
25292 * math/w_scalbf.c: Likewise.
25293 * math/w_scalbl.c: Likewise.
25294 * math/w_sqrt.c: Likewise.
25295 * math/w_sqrtf.c: Likewise.
25296 * math/w_sqrtl.c: Likewise.
25297 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
25298 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
25299 used.
25300 * math/math_private.h: Declare __kernel_standard_f.
25301 * math/w_cosh.c: Remove cruft and optimize a bit.
25302 * math/w_coshf.c: Likewise.
25303 * math/w_coshl.c: Likewise.
25304 * math/w_exp2.c: Likewise.
25305 * math/w_exp2f.c: Likewise.
25306 * math/w_exp2l.c: Likewise.
25307 * math/w_hypot.c: Likewise.
25308 * math/w_hypotf.c: Likewise.
25309 * math/w_hypotl.c: Likewise.
25310 * math/w_lgamma.c: Likewise.
25311 * math/w_lgamma_r.c: Likewise.
25312 * math/w_lgammaf.c: Likewise.
25313 * math/w_lgammaf_r.c: Likewise.
25314 * math/w_lgammal.c: Likewise.
25315 * math/w_lgammal_r.c: Likewise.
25316 * math/w_sinh.c: Likewise.
25317 * math/w_sinhf.c: Likewise.
25318 * math/w_sinhl.c: Likewise.
25319 * math/w_tgamma.c: Likewise.
25320 * math/w_tgammaf.c: Likewise.
25321 * math/w_tgammal.c: Likewise.
25322 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25323 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25324 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
25325 Minor optimizations. Pretty printing. Remove cruft.
25326 * sysdeps/i386/fpu/e_acosf.S: Likewise.
25327 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25328 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25329 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25330 * sysdeps/i386/fpu/e_acosl.c: Likewise.
25331 * sysdeps/i386/fpu/e_asin.S: Likewise.
25332 * sysdeps/i386/fpu/e_asinf.S: Likewise.
25333 * sysdeps/i386/fpu/e_atan2.S: Likewise.
25334 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
25335 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
25336 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25337 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25338 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25339 * sysdeps/i386/fpu/e_exp10.S: Likewise.
25340 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
25341 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
25342 * sysdeps/i386/fpu/e_exp2.S: Likewise.
25343 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
25344 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
25345 * sysdeps/i386/fpu/e_fmod.S: Likewise.
25346 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
25347 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
25348 * sysdeps/i386/fpu/e_hypot.S: Likewise.
25349 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
25350 * sysdeps/i386/fpu/e_log.S: Likewise.
25351 * sysdeps/i386/fpu/e_log10.S: Likewise.
25352 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25353 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25354 * sysdeps/i386/fpu/e_log2.S: Likewise.
25355 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25356 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25357 * sysdeps/i386/fpu/e_logf.S: Likewise.
25358 * sysdeps/i386/fpu/e_logl.S: Likewise.
25359 * sysdeps/i386/fpu/e_pow.S: Likewise.
25360 * sysdeps/i386/fpu/e_powf.S: Likewise.
25361 * sysdeps/i386/fpu/e_powl.S: Likewise.
25362 * sysdeps/i386/fpu/e_remainder.S: Likewise.
25363 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
25364 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
25365 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25366 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25367 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25368 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
25369 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
25370 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
25371 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25372 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25373 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25374 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25375 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25376 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25377 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25378 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25379 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25380 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25381 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25382 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25383 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25384 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25385 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25386 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25387 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25388 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25389 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25390 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25391 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25392 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25393 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25394 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25395 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25396 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25397 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25398 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25399 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
25400 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25401 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25402 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25403 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25404 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25405 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25406 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25407 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25408 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25409 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25410 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25411 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25412 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25413 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25414 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25415 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25416 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25417 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25418 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25419 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25420 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
25421 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25422 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25423 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25424 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25425 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25426 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25427 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25428 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25429 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25430 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25431 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25432 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25433 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25434 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25435 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25436 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25437 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25438 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25439 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
25440 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25441 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25442 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25443 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25444 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25445 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25446 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25447 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25448 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25449 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25450 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25451 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25452 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25453 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
25454 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25455 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25456 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25457 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25458 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25459 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25460 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25461 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25462 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25463 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25464 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25465 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25466 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25467 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25468 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
25469 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
25470 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
25471 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
25472 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
25473 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
25474 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
25475 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25476 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25477 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25478 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25479 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
25480 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25481 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
25482 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
25483 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
25484 (__isnanf): Likewise.
25485 (__isinf_ns): Likewise.
25486 (__isinf_nsf): Likewise.
25487 (__finite): Likewise.
25488 (__finitef): Likewise.
25489 (__ieee754_sqrt): Define as macro.
25490 (__ieee754_sqrtf): Define as macro.
25491 (__ieee754_sqrtl): Define as macro.
25492 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
25493 inlined copy.
25494 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
25495 __FINITE_MATH_ONLY__ consistent.
25496 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
25497
12cc2fcd
AS
254982011-10-10 Andreas Schwab <schwab@linux-m68k.org>
25499
a843a204
AS
25500 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
25501 of rawmemchr.
25502
12cc2fcd
AS
25503 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
25504
c853acd5
UD
255052011-10-09 Ulrich Drepper <drepper@gmail.com>
25506
25507 * po/ja.po: Update from translation team.
25508
c658d255
RM
255092011-10-08 Roland McGrath <roland@hack.frob.com>
25510
110946e4
RM
25511 * locale/programs/locarchive.c (prepare_address_space): New function.
25512 (create_archive, enlarge_archive, open_archive): Use it.
25513
50604220
RM
25514 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
25515 inside [SHARED], where it is used.
25516
c658d255
RM
25517 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
25518
25519 * nss/getent.c (netgroup_keys): Remove unused variable.
25520 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25521
6a621eb7
UD
255222011-10-08 Ulrich Drepper <drepper@gmail.com>
25523
7edb55ce
UD
25524 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
25525 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
25526 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
25527 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
25528 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
25529 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
25530 * math/Makefile (libm-calls): Add s_isinf_ns.
25531 * math/divtc3.c: Use __isinf_nsl instead of isinf.
25532 * math/multc3.c: Likewise.
25533 * math/s_casin.c: Likewise.
25534 * math/s_casinf.c: Likewise.
25535 * math/s_casinl.c: Likewise.
25536 * math/s_ccos.c: Likewise.
25537 * math/s_ccosf.c: Likewise.
25538 * math/s_ccosl.c: Likewise.
25539 * math/s_ctan.c: Likewise.
25540 * math/s_ctanf.c: Likewise.
25541 * math/s_ctanh.c: Likewise.
25542 * math/s_ctanhf.c: Likewise.
25543 * math/s_ctanhl.c: Likewise.
25544 * math/s_ctanl.c: Likewise.
25545 * math/w_fmod.c: Likewise.
25546 * math/w_fmodf.c: Likewise.
25547 * math/w_fmodl.c: Likewise.
25548 * math/w_remainder.c: Likewise.
25549 * math/w_remainderf.c: Likewise.
25550 * math/w_remainderl.c: Likewise.
25551 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
25552 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
25553 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
25554 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
25555 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
25556 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
25557 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
25558 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
25559
187da0ae
UD
25560 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
25561 of the number.
25562 * stdio-common/printf_fphex.c: Likewise.
25563 * stdio-common/printf_size.c: Likewise.
25564
9277c064
UD
25565 * math/e_exp10.c: Include math_private.h using <...> not "...".
25566 * math/e_exp10f.c: Likewise.
25567 * math/e_exp10l.c: Likewise.
25568 * math/e_exp2l.c: Likewise.
25569 * math/e_j0l.c: Likewise.
25570 * math/e_j1l.c: Likewise.
25571 * math/e_jnl.c: Likewise.
25572 * math/e_lgammal_r.c: Likewise.
25573 * math/e_rem_pio2l.c: Likewise.
25574 * math/e_scalb.c: Likewise.
25575 * math/e_scalbf.c: Likewise.
25576 * math/e_scalbl.c: Likewise.
25577 * math/k_cosl.c: Likewise.
25578 * math/k_sinl.c: Likewise.
25579 * math/k_tanl.c: Likewise.
25580 * math/s_cacoshf.c: Likewise.
25581 * math/s_catan.c: Likewise.
25582 * math/s_catanf.c: Likewise.
25583 * math/s_catanh.c: Likewise.
25584 * math/s_catanhf.c: Likewise.
25585 * math/s_catanhl.c: Likewise.
25586 * math/s_catanl.c: Likewise.
25587 * math/s_ccosh.c: Likewise.
25588 * math/s_ccoshf.c: Likewise.
25589 * math/s_ccoshl.c: Likewise.
25590 * math/s_cexp.c: Likewise.
25591 * math/s_cexpf.c: Likewise.
25592 * math/s_cexpl.c: Likewise.
25593 * math/s_clog.c: Likewise.
25594 * math/s_clog10.c: Likewise.
25595 * math/s_clog10f.c: Likewise.
25596 * math/s_clog10l.c: Likewise.
25597 * math/s_clogf.c: Likewise.
25598 * math/s_clogl.c: Likewise.
25599 * math/s_csin.c: Likewise.
25600 * math/s_csinf.c: Likewise.
25601 * math/s_csinh.c: Likewise.
25602 * math/s_csinhf.c: Likewise.
25603 * math/s_csinhl.c: Likewise.
25604 * math/s_csinl.c: Likewise.
25605 * math/s_csqrt.c: Likewise.
25606 * math/s_csqrtf.c: Likewise.
25607 * math/s_csqrtl.c: Likewise.
25608 * math/s_ctan.c: Likewise.
25609 * math/s_ctanf.c: Likewise.
25610 * math/s_ctanh.c: Likewise.
25611 * math/s_ctanhf.c: Likewise.
25612 * math/s_ctanhl.c: Likewise.
25613 * math/s_ctanl.c: Likewise.
25614 * math/s_ldexp.c: Likewise.
25615 * math/s_ldexpf.c: Likewise.
25616 * math/s_ldexpl.c: Likewise.
25617 * math/s_significand.c: Likewise.
25618 * math/s_significandf.c: Likewise.
25619 * math/s_significandl.c: Likewise.
25620 * math/w_acos.c: Likewise.
25621 * math/w_acosf.c: Likewise.
25622 * math/w_acosh.c: Likewise.
25623 * math/w_acoshf.c: Likewise.
25624 * math/w_acoshl.c: Likewise.
25625 * math/w_acosl.c: Likewise.
25626 * math/w_asin.c: Likewise.
25627 * math/w_asinf.c: Likewise.
25628 * math/w_asinl.c: Likewise.
25629 * math/w_atan2.c: Likewise.
25630 * math/w_atan2f.c: Likewise.
25631 * math/w_atan2l.c: Likewise.
25632 * math/w_atanh.c: Likewise.
25633 * math/w_atanhf.c: Likewise.
25634 * math/w_atanhl.c: Likewise.
25635 * math/w_cosh.c: Likewise.
25636 * math/w_coshf.c: Likewise.
25637 * math/w_coshl.c: Likewise.
25638 * math/w_dremf.c: Likewise.
25639 * math/w_exp10.c: Likewise.
25640 * math/w_exp10f.c: Likewise.
25641 * math/w_exp10l.c: Likewise.
25642 * math/w_exp2.c: Likewise.
25643 * math/w_exp2f.c: Likewise.
25644 * math/w_fmod.c: Likewise.
25645 * math/w_fmodf.c: Likewise.
25646 * math/w_fmodl.c: Likewise.
25647 * math/w_hypot.c: Likewise.
25648 * math/w_hypotf.c: Likewise.
25649 * math/w_hypotl.c: Likewise.
25650 * math/w_j0.c: Likewise.
25651 * math/w_j0f.c: Likewise.
25652 * math/w_j0l.c: Likewise.
25653 * math/w_j1.c: Likewise.
25654 * math/w_j1f.c: Likewise.
25655 * math/w_j1l.c: Likewise.
25656 * math/w_jn.c: Likewise.
25657 * math/w_jnf.c: Likewise.
25658 * math/w_jnl.c: Likewise.
25659 * math/w_lgamma.c: Likewise.
25660 * math/w_lgamma_r.c: Likewise.
25661 * math/w_lgammaf.c: Likewise.
25662 * math/w_lgammaf_r.c: Likewise.
25663 * math/w_lgammal.c: Likewise.
25664 * math/w_lgammal_r.c: Likewise.
25665 * math/w_log.c: Likewise.
25666 * math/w_log10.c: Likewise.
25667 * math/w_log10f.c: Likewise.
25668 * math/w_log10l.c: Likewise.
25669 * math/w_log2.c: Likewise.
25670 * math/w_log2f.c: Likewise.
25671 * math/w_log2l.c: Likewise.
25672 * math/w_logf.c: Likewise.
25673 * math/w_logl.c: Likewise.
25674 * math/w_pow.c: Likewise.
25675 * math/w_powf.c: Likewise.
25676 * math/w_powl.c: Likewise.
25677 * math/w_remainder.c: Likewise.
25678 * math/w_remainderf.c: Likewise.
25679 * math/w_remainderl.c: Likewise.
25680 * math/w_scalb.c: Likewise.
25681 * math/w_scalbf.c: Likewise.
25682 * math/w_scalbl.c: Likewise.
25683 * math/w_sinh.c: Likewise.
25684 * math/w_sinhf.c: Likewise.
25685 * math/w_sinhl.c: Likewise.
25686 * math/w_sqrt.c: Likewise.
25687 * math/w_sqrtf.c: Likewise.
25688 * math/w_sqrtl.c: Likewise.
25689 * math/w_tgamma.c: Likewise.
25690 * math/w_tgammaf.c: Likewise.
25691 * math/w_tgammal.c: Likewise.
25692
6a621eb7
UD
25693 * po/ja.po: Update from translation team.
25694
bf582445
AJ
256952011-09-29 Andreas Jaeger <aj@suse.de>
25696
f9efbf3a
AJ
25697 [BZ #13179]
25698 * sunrpc/netname.c (netname2host): Fix logic.
25699
bf582445
AJ
25700 [BZ #6779]
25701 [BZ #6783]
25702 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
25703 correctly.
25704 * math/w_remainder.c (__remainder): Likewise.
25705 * math/w_remainderf.c (__remainderf): Likewise.
25706 * math/libm-test.inc (remainder_test): Add test cases.
25707
48693bea
AK
257082011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25709
25710 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
25711 sdiv_qrnnd.
25712
42622229
LD
257132011-10-07 Ulrich Drepper <drepper@gmail.com>
25714
25715 * string/test-memcmp.c: Avoid unncessary #defines.
25716 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25717
093ecf92
LD
257182011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25719
25720 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
25721 Use new sse2 version for core i3 - i7 as it's faster
25722 than sse42 version.
25723 (bit_Prefer_PMINUB_for_stringop): New.
25724 * sysdeps/x86_64/rawmemchr.S: Update.
25725 Replace with faster SSE2 version.
25726 * sysdeps/x86_64/memrchr.S: New file.
25727 * sysdeps/x86_64/memchr.S: Update.
25728 Replace with faster SSE2 version.
25729
fde56e5c
MP
257302011-09-12 Marek Polacek <mpolacek@redhat.com>
25731
25732 * elf/dl-load.c (lose): Add cast to avoid warning.
25733
21fd49a9
UD
257342011-10-07 Ulrich Drepper <drepper@gmail.com>
25735
5a06e643
UD
25736 * po/ca.po: Update from translation team.
25737
684ae515
UD
25738 * inet/getnetgrent_r.c: Hook up nscd.
25739 * nscd/Makefile (routines): Add nscd_netgroup.
25740 (nscd-modules): Add netgroupcache.
25741 (CFLAGS-netgroupcache.c): Define.
25742 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
25743 (cache_search): Add const to second parameter.
25744 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
25745 INNETGR.
25746 (dbs): Add netgrdb entry.
25747 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
25748 (verify_persistent_db): Handle netgrdb.
25749 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
25750 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
25751 GETFDNETGR.
25752 (netgroup_response_header): Define.
25753 (innetgroup_response_header): Define.
25754 (datahead): Add netgroup_response_header and innetgroup_response_header
25755 elements.
25756 * nscd/nscd.conf: Add entries for netgroup cache.
25757 * nscd/nscd.h (dbtype): Add netgrdb.
25758 (_PATH_NSCD_NETGROUP_DB): Define.
25759 (netgroup_iov_disabled): Declare.
25760 (xmalloc, xcalloc, xrealloc): Move declarations here.
25761 (cache_search): Adjust prototype.
25762 Add netgroup-related prototypes.
25763 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
25764 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
25765 (__nscd_innetgr): Declare.
25766 * nscd/selinux.c (perms): Use access_vector_t as element type and
25767 add netgroup-related initializers.
25768 * nscd/netgroupcache.c: New file.
25769 * nscd/nscd_netgroup.c: New file.
25770 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
25771 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
25772 For four parameters use innetgr.
25773 * nss/nss_files/files-init.c: Add definition and callback for netgr.
25774 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
25775 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
25776 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
25777
21fd49a9
UD
25778 * nscd/connections.c (register_traced_file): Don't register file
25779 for disabled databases.
25780
054c0457
UD
257812011-10-06 Ulrich Drepper <drepper@gmail.com>
25782
32b63198
UD
25783 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
25784
054c0457
UD
25785 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
25786 from tree and freeing node.
25787
64031225
JO
257882011-09-25 Jiri Olsa <jolsa@redhat.com>
25789
25790 * nss/nsswitch.c (__nss_database_lookup): Handle
25791 nss_parse_service_list out of memory case.
25792
0490345c
JO
257932011-09-15 Jiri Olsa <jolsa@redhat.com>
25794
25795 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
25796 out of memory case.
25797
3a62d00d
AS
257982011-10-04 Andreas Schwab <schwab@redhat.com>
25799
25800 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
25801 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
25802 pass it down.
25803 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
25804 elf_machine_rela, elf_machine_lazy_rel.
25805 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
25806 (ELF_DYNAMIC_DO_REL): Likewise.
25807 (ELF_DYNAMIC_DO_RELA): Likewise.
25808 (ELF_DYNAMIC_RELOCATE): Likewise.
25809 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
25810 to ELF_DYNAMIC_DO_REL.
25811 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
25812 (dl_main): In trace mode always set __RTLD_NOIFUNC.
25813 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
25814 elf_machine_rela.
25815 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
25816 skip_ifunc, don't call ifunc function if non-zero.
25817 (elf_machine_rela): Likewise.
25818 (elf_machine_lazy_rel): Likewise.
25819 (elf_machine_lazy_rela): Likewise.
25820 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
25821 (elf_machine_lazy_rel): Likewise.
25822 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25823 Likewise.
25824 (elf_machine_lazy_rel): Likewise.
25825 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25826 Likewise.
25827 (elf_machine_lazy_rel): Likewise.
25828 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
25829 (elf_machine_lazy_rel): Likewise.
25830 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
25831 (elf_machine_lazy_rel): Likewise.
25832 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25833 (elf_machine_lazy_rel): Likewise.
25834 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25835 (elf_machine_lazy_rel): Likewise.
25836 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25837 (elf_machine_lazy_rel): Likewise.
25838 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25839 (elf_machine_lazy_rel): Likewise.
25840
68577918
UD
258412011-09-28 Ulrich Drepper <drepper@gmail.com>
25842
25843 * nss/nss_files/files-init.c (_nss_files_init): Use static
25844 initialization for all the *_traced_file variables.
25845
68822d74
AS
258462011-09-28 Andreas Schwab <schwab@redhat.com>
25847
25848 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25849
2056100b
RM
258502011-09-27 Roland McGrath <roland@hack.frob.com>
25851
25852 [BZ #13226]
25853 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
25854
32c76b63
AS
258552011-09-27 Andreas Schwab <schwab@redhat.com>
25856
25857 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25858 Reread the line before reparsing it.
25859
bf972c9d
AS
258602011-09-26 Andreas Schwab <schwab@redhat.com>
25861
25862 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
25863
e057a1b5
JM
258642011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
25865 Maxim Kuvyrkov <maxim@codesourcery.com>
25866 Joseph Myers <joseph@codesourcery.com>
25867
25868 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
25869 if needed for __stack_chk_guard.
25870
bc7e1c36
RM
258712011-09-19 Roland McGrath <roland@hack.frob.com>
25872
ecb1482f
RM
25873 * sysdeps/posix/spawni.c (script_execute): Always define it.
25874 It will be optimized away if unused.
25875 (maybe_script_execute): New function.
25876 (__spawni): Call it.
25877
bc7e1c36
RM
25878 * Makerules: Don't include tls.make.
25879 (config-tls): Always set to thread.
25880 * tls.make.c: File removed.
25881
1c3b002b
MF
258822011-09-19 Mike Frysinger <vapier@gentoo.org>
25883
25884 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
25885 * config.make.in (CPPFLAGS-config): New substituted variable.
25886
2840865d
UD
258872011-09-15 Ulrich Drepper <drepper@gmail.com>
25888
88738eb6
UD
25889 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
25890
cbf645a6 25891 [BZ #13192]
2840865d
UD
25892 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
25893 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
25894
b402e91a
RM
258952011-09-15 Roland McGrath <roland@hack.frob.com>
25896
25897 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
25898 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
25899 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25900 (CALL_FAIL): Likewise.
25901 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
25902 (CALL_FAIL): Macro removed.
25903 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
25904
4c1a1f71
UD
259052011-09-15 Ulrich Drepper <drepper@gmail.com>
25906
25907 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
25908 for __FINITE_MATH_ONLY__ == 1.
25909
edc121be
AS
259102011-09-15 Andreas Schwab <schwab@redhat.com>
25911
25912 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
25913 __ieee754_sqrt instead of sqrt.
25914 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
25915 __ieee754_sqrtf instead of sqrtf.
25916 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
25917 __floorf instead of floorf.
25918 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
25919 __floorf, __truncf instead of floorf, truncf.
25920
cd205654
UD
259212011-09-14 Ulrich Drepper <drepper@gmail.com>
25922
ee4d0315
UD
25923 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
25924
cd205654
UD
25925 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
25926 __extern_always_inline.
25927 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
25928 32-bit.
25929
48b67d71
AS
259302011-09-14 Andreas Schwab <schwab@redhat.com>
25931
25932 * elf/rtld.c (dl_main): Also relocate in dependency order when
25933 doing symbol dependency testing.
25934
1ae12c75
AS
259352011-09-13 Andreas Schwab <schwab@linux-m68k.org>
25936
25937 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25938 Always define `refsym'.
25939
995a80df
AS
259402011-09-13 Andreas Schwab <schwab@redhat.com>
25941
e529793b
AS
25942 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
25943 (__FD_ELT): Renamed from __FDELT.
25944 * misc/bits/select2.h (__FD_ELT): Likewise.
25945 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
25946 __FD_MASK instead of __FDELT, __FDMASK.
25947 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25948 Likewise.
25949 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25950 Likewise.
25951
52d4fef8
AS
25952 * elf/Makefile (gen-ldd): Fix pattern.
25953
995a80df
AS
25954 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
25955 (init_tls): Likewise.
25956
8682f8b0
UD
259572011-09-12 Ulrich Drepper <drepper@gmail.com>
25958
25959 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
25960
de82006d
AS
259612011-09-12 Andreas Schwab <schwab@redhat.com>
25962
a7c8e6a1
AS
25963 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
25964 `struct cmsghdr *' instead of `void *'.
25965 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
25966 Likewise.
25967
0f31fe77
AS
259682011-09-11 Andreas Schwab <schwab@linux-m68k.org>
25969
25970 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
25971 if non-absolute.
25972 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
25973 ldd_rewrite_script.
0f31fe77 25974
32b4c839
UD
259752011-09-11 Ulrich Drepper <drepper@gmail.com>
25976
83cd1420
UD
25977 * configure.in: Remove --with-tls option.
25978 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
25979 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
25980 out in case it is missing.
25981 * sysdeps/ia64/elf/configure.in: Likewise.
25982 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
25983 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
25984 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
25985 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
25986 * sysdeps/sh/elf/configure.in: Likewise.
25987 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
25988 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25989 * sysdeps/x86_64/elf/configure.in: Likewise.
25990 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
25991 * sysdeps/mach/hurd/tls.h: Likewise.
25992
633f745d
UD
25993 [BZ #13067]
25994 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
25995
f318beb8
UD
25996 [BZ #13090]
25997 * configure.in: Fix use of AC_INIT.
25998
32b4c839
UD
25999 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
26000
3ce1f295
UD
260012011-09-10 Ulrich Drepper <drepper@gmail.com>
26002
bb016596
UD
26003 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
26004 __set_errno.
8e58439c
UD
26005 * malloc/hooks.c: Likewise.
26006
aebae053 26007 [BZ #11929]
02d46fc4
UD
26008 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
26009 variables statically.
26010 (narenas): Initialize.
26011 (list_lock): Initialize.
bb016596
UD
26012 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
26013 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
26014 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
26015 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
26016 Add initializers to main_arena and mp_.
26017 (malloc_state): Remove pagesize member. Change all users to use
26018 GLRO(dl_pagesize).
26019
26020 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
26021 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
26022 is always initialized.
26023
22a89187
UD
26024 * malloc/malloc.c: Removed unused configurations and dead code.
26025 * malloc/arena.c: Likewise.
26026 * malloc/hooks.c: Likewise.
02d46fc4 26027 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 26028
d063d164
UD
26029 * include/tls.h: Removed. USE___THREAD must always be defined.
26030 * bits/libc-tsd.h: Don't handle !USE___THREAD.
26031 * elf/dl-libc.c: Likewise.
26032 * elf/dl-tsd.c: Likewise.
26033 * include/errno.h: Likewise.
26034 * include/netdb.h: Likewise.
26035 * include/resolv.h: Likewise.
26036 * inet/herrno-loc.c: Likewise.
26037 * inet/herrno.c: Likewise.
26038 * malloc/arena.c: Likewise.
26039 * malloc/hooks.c: Likewise.
26040 * malloc/malloc.c: Likewise.
26041 * resolv/res-state.c: Likewise.
26042 * resolv/res_libc.c: Likewise.
26043 * sysdeps/i386/dl-machine.h: Likewise.
26044 * sysdeps/ia64/dl-machine.h: Likewise.
26045 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26046 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26047 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26048 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26049 * sysdeps/sh/dl-machine.h: Likewise.
26050 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26051 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26052 * sysdeps/unix/i386/sysdep.S: Likewise.
26053 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26054 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26055 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26056 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26057 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26058 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26059 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26060 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26061 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26062 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26063 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26064 * sysdeps/x86_64/dl-machine.h: Likewise.
26065 * tls.make.c: Likewise.
26066
3ce1f295
UD
26067 * configure.in: Remove --with-__thread option. Make tests for
26068 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
26069 tls_model attribute fail if no support is available. Remove
26070 USE_IN_LIBIO.
26071 * Makeconfig: Adjust for dropped configure option. All features are
26072 now mandatory.
26073 * Makerules: Likewise.
26074 * Versions.def: Likewise.
26075 * argp/argp-fmtstream.c: Likewise.
26076 * argp/argp-fmtstream.h: Likewise.
26077 * argp/argp-help.c: Likewise.
26078 * assert/assert.c: Likewise.
26079 * config.h.in: Likewise.
26080 * config.make.in: Likewise.
26081 * configure: Likewise.
26082 * configure.in: Likewise.
26083 * csu/Versions: Likewise.
26084 * csu/init.c: Likewise.
26085 * elf/tst-audit2.c: Likewise.
26086 * elf/tst-tls10.c: Likewise.
26087 * elf/tst-tls10.h: Likewise.
26088 * elf/tst-tls11.c: Likewise.
26089 * elf/tst-tls12.c: Likewise.
26090 * elf/tst-tls14.c: Likewise.
26091 * elf/tst-tlsmod11.c: Likewise.
26092 * elf/tst-tlsmod12.c: Likewise.
26093 * elf/tst-tlsmod13.c: Likewise.
26094 * elf/tst-tlsmod13a.c: Likewise.
26095 * elf/tst-tlsmod14a.c: Likewise.
26096 * elf/tst-tlsmod15b.c: Likewise.
26097 * elf/tst-tlsmod16a.c: Likewise.
26098 * elf/tst-tlsmod16b.c: Likewise.
26099 * elf/tst-tlsmod7.c: Likewise.
26100 * elf/tst-tlsmod8.c: Likewise.
26101 * elf/tst-tlsmod9.c: Likewise.
26102 * gmon/gmon.c: Likewise.
26103 * grp/fgetgrent_r.c: Likewise.
26104 * grp/putgrent.c: Likewise.
26105 * hurd/fopenport.c: Likewise.
26106 * include/libc-symbols.h: Likewise.
26107 * include/tls.h: Likewise.
26108 * intl/gettextP.h: Likewise.
26109 * intl/loadinfo.h: Likewise.
26110 * locale/global-locale.c: Likewise.
26111 * locale/localeinfo.h: Likewise.
26112 * mach/devstream.c: Likewise.
26113 * malloc/arena.c: Likewise.
26114 * malloc/set-freeres.c: Likewise.
26115 * misc/err.c: Likewise.
26116 * misc/getttyent.c: Likewise.
26117 * misc/mntent_r.c: Likewise.
26118 * posix/getopt.c: Likewise.
26119 * posix/wordexp.c: Likewise.
26120 * pwd/fgetpwent_r.c: Likewise.
26121 * resolv/Versions: Likewise.
26122 * resolv/res_hconf.c: Likewise.
26123 * shadow/fgetspent_r.c: Likewise.
26124 * shadow/putspent.c: Likewise.
26125 * stdio-common/printf_fphex.c: Likewise.
26126 * stdio-common/tmpfile.c: Likewise.
26127 * stdlib/abort.c: Likewise.
26128 * stdlib/fmtmsg.c: Likewise.
26129 * sunrpc/auth_unix.c: Likewise.
26130 * sunrpc/clnt_perr.c: Likewise.
26131 * sunrpc/clnt_tcp.c: Likewise.
26132 * sunrpc/clnt_udp.c: Likewise.
26133 * sunrpc/clnt_unix.c: Likewise.
26134 * sunrpc/openchild.c: Likewise.
26135 * sunrpc/svc_simple.c: Likewise.
26136 * sunrpc/svc_tcp.c: Likewise.
26137 * sunrpc/svc_udp.c: Likewise.
26138 * sunrpc/svc_unix.c: Likewise.
26139 * sunrpc/xdr.c: Likewise.
26140 * sunrpc/xdr_array.c: Likewise.
26141 * sunrpc/xdr_rec.c: Likewise.
26142 * sunrpc/xdr_ref.c: Likewise.
26143 * sunrpc/xdr_stdio.c: Likewise.
26144
1248c1c4
PB
261452011-09-09 Ulrich Drepper <drepper@gmail.com>
26146
26147 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26148
261492011-07-03 Andreas Jaeger <aj@suse.de>
26150
26151 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
26152 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
26153 regenerate with gen-libm-tests.pl.
26154
261552010-05-12 Petr Baudis <pasky@suse.cz>
26156
26157 [BZ #11589]
26158 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
26159 around j0() zero points by switching to j1().
26160 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26161 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26162 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26163 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26164
f22e1074
UD
261652011-09-09 Ulrich Drepper <drepper@gmail.com>
26166
f19009c1
UD
26167 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
26168 instead of 0.
26169 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 26170 instead of 0.
f19009c1
UD
26171 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26172 Patch in part by Pavel Roskin <proski@gnu.org>.
26173
3f8cc204
UD
26174 [BZ #13138]
26175 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
26176 realloc.
26177 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
26178 Free memory block if necessary.
26179
f22e1074
UD
26180 [BZ #12847]
26181 * libio/genops.c (INTDEF): For string streams the _lock pointer can
26182 be NULL. Don't lock in this case.
26183
0a2349f9
RM
261842011-09-09 Roland McGrath <roland@hack.frob.com>
26185
26186 * elf/elf.h (ELFOSABI_GNU): New macro.
26187 (ELFOSABI_LINUX): Define to that.
26188
f3cdd467
DZ
261892011-07-29 Denis Zaitceff <zaitceff@gmail.com>
26190
26191 * string/strncat.c (strncat): Undef the symbol in case it has been
26192 defined in bits/string.h.
26193
74718d13
UD
261942011-09-09 Ulrich Drepper <drepper@gmail.com>
26195
633e9e0f
UD
26196 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
26197
0a2349f9 26198 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
26199 link map.
26200
f9924780
AJ
262012011-08-17 Andreas Jaeger <aj@suse.de>
26202
26203 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
26204
7f5517aa
PP
262052011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26206 Ian Lance Taylor <iant@google.com>
26207
26208 * math/libm-test.inc (lround_test): New testcase.
26209 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
26210
762011fe
UD
262112011-09-08 Ulrich Drepper <drepper@gmail.com>
26212
92963737
UD
26213 * Makefile: Remove support for automatic cvs check-ins.
26214 * Makerules: Likewise.
26215 * config.make.in: Likewise.
26216 * configure.in: Likewise.
26217 * intl/Makefile: Likewise.
26218 * locale/Makefile: Likewise.
26219 * po/Makefile: Likewise.
26220 * posix/Makefile: Likewise.
26221 * sysdeps/gnu/Makefile: Likewise.
26222 * sysdeps/mach/hurd/Makefile: Likewise.
26223 * sysdeps/sparc/sparc32/Makefile: Likewise.
26224
b0727fd8
JS
26225 [BZ #13118]
26226 * posix/Makefile (bug-regex32-ENV): Define.
26227 Patch by John Stanley <jpsinthemix@verizon.net>.
26228
a0f33f99
UD
26229 * misc/Makefile (headers): Add bits/select2.h.
26230 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
26231 * misc/bits/select2.h: New file.
26232 * include/bits/select2.h: New file.
26233 * debug/Makefile (routines): Add fdelt_chk.
26234 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
26235 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
26236 FD_ISSET.
26237 * debug/fdelt_chk.c: New file.
26238
762011fe
UD
26239 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
26240 * wcsmbs/test-wmemcmp.c: Likewise.
26241 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 26242 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
26243
262442011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26245
26246 * string/Makefile (strop-tests): Add memcmp.
26247 * string/test-wmemcmp.c: New file.
26248 * string/test-memcmp.c: Add wmemcmp support.
26249
7f513ec8
RM
262502011-09-08 Roland McGrath <roland@hack.frob.com>
26251
0442afb4
RM
26252 [BZ #13153]
26253 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
26254 2011-07-19 change.
26255
7f513ec8
RM
26256 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
26257 garbage value in a __mach_port_mod_refs call in the cases of the
26258 task-self and thread-self ports.
26259
a12b2239
ST
262602011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26261
26262 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
26263
610f9ab4
AS
262642011-09-08 Andreas Schwab <schwab@redhat.com>
26265
7f513ec8 26266 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 26267
48882a1a
LD
262682011-09-07 Ulrich Drepper <drepper@gmail.com>
26269
b49865be
UD
26270 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
26271
fdc86bc9
UD
26272 * elf/dl-libc.c (dlerror_run): Pass back error code from
26273 dl_catch_error.
26274
c966526a
UD
26275 [BZ #13123]
26276 * elf/dl-load.c (lose): Free l_origin if it is valid.
26277
48882a1a
LD
26278 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
26279 names.
26280 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26281 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26282 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26283 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26284 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26285 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
26286
77a2a8b4
AZ
262872011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26288
26289 * sysdeps/powerpc/fpu/e_hypot.c: New file.
26290 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
26291 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
26292 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
26293 * sysdeps/powerpc/fpu/k_cosf.c: New file.
26294 * sysdeps/powerpc/fpu/k_sinf.c: New file.
26295 * sysdeps/powerpc/fpu/s_cosf.c: New file.
26296 * sysdeps/powerpc/fpu/s_sinf.c: New file.
26297 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
26298 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
26299
24f579d8
AM
263002011-08-15 Alan Modra <amodra@gmail.com>
26301
26302 [BZ #13092]
26303 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
26304 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
26305 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
26306 ppc_mcount to static-only-routines.
26307 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
26308 __mcount_internal.
26309 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
26310 __mcount_internal with usual JUMPTARGET. Remove useless nop.
26311
3d4837df
UD
263122011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
26313
26314 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
26315 for finite and infinity parameters.
26316
22700377
WS
263172011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26318
26319 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
26320 and add nop instructions for throughput optimization.
26321 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26322
5025581e
WS
263232011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
26324
26325 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
26326 aligned copy for power7 with vector-scalar instructions.
26327 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26328
08a300c9
L
263292011-07-24 H.J. Lu <hongjiu.lu@intel.com>
26330
26331 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
26332 AVX check.
26333
59178ef9
AS
263342011-09-07 Andreas Schwab <schwab@redhat.com>
26335
26336 [BZ #13144]
26337 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
26338 last change.
26339
e38ba7ab
UD
263402011-09-07 Ulrich Drepper <drepper@gmail.com>
26341
26342 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26343 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
26344 syscall wrapper around clock_gettime in __vdso_clock_gettime.
26345 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
26346 clock_gettime.
26347
d53a73ac
UD
263482011-09-06 Ulrich Drepper <drepper@gmail.com>
26349
fc8bffcc
UD
26350 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
26351 Forgot to demangle the pointer.
26352
ceaa0c5d
UD
26353 * sysdeps/i386/sysdep.h: Define atom_text_section.
26354 * sysdeps/x86_64/sysdep.h: Likewise.
26355 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
26356 section with atom_text_section.
26357 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26358 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26359 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
26360 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
26361 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
26362
a77d3c17
UD
26363 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
26364 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
26365 already be defined. Change to take two parameters and don't assign
26366 result to variable. Adjust all users.
26367 Define INTERNAL_GETTIME if not already defined.
26368 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
26369 call.
26370 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
26371 HAVE_CLOCK_GETTIME_VSYSCALL.
26372 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
26373
d53a73ac
UD
26374 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
26375 gettimeofday vsyscall, just use time.
26376
a8f84144
AS
263772011-09-06 Andreas Schwab <schwab@redhat.com>
26378
26379 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
26380 <errno.h>.
26381
ef606249
UD
263822011-09-06 Ulrich Drepper <drepper@gmail.com>
26383
26384 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
26385 syscall on x86-64.
26386 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
26387 syscall.
26388 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
26389 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
26390 syscall if possible.
26391
6585cb60
UD
263922011-09-05 Ulrich Drepper <drepper@gmail.com>
26393
26394 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
26395 e_ident. Don't pass to find_mapsXX.
26396 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
26397
a5f524e4
LD
263982011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26399
26400 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26401 strchr-sse2-no-bsf strrchr-sse2-no-bsf
26402 * sysdeps/x86_64/multiarch/strchr.S: Update.
26403 Check bit_slow_BSF bit.
26404 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26405 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
26406 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
26407
554881ef
UD
264082011-09-05 Ulrich Drepper <drepper@gmail.com>
26409
d96de963
UD
26410 [BZ #13134]
26411 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
26412 before glibc 2.15.
26413 (tryshell): Define.
26414 (__spawni): Change last parameter to be flag. Test
26415 SPAWN_XFLAGS_USE_PATH flag to use path or not.
26416 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
26417 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
26418 * posix/spawni.c: Likewise.
26419 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
26420 * posix/spawnp.c: Likewise. Change normal version to use
26421 SPAWN_XFLAGS_USE_PATH.
26422 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
26423 SPAWN_XFLAGS_TRY_SHELL.
26424
d48e5868
UD
26425 [BZ #13150]
26426 * posix/glob.h: Remove gcc 1.x support.
26427
554881ef
UD
26428 [BZ #13068]
26429 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
26430
693fb948
LD
264312011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26432
26433 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26434 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
26435 strrchr-sse2-bsf
26436 * sysdeps/i386/i686/multiarch/strchr.S: New file.
26437 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
26438 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
26439 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
26440 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
26441 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
26442
1b48c537
UD
264432011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26444
49d42c37
UD
26445 * sysdeps/x86_64/wcscmp.S: New file.
26446
1b48c537
UD
26447 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
26448 wcscmp-c wcscmp-sse2
26449 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
26450 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
26451 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
26452 * wcsmbs/wcscmp.c: Allow renaming.
26453
15c95c5d
DM
264542011-09-05 David S. Miller <davem@davemloft.net>
26455
26456 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
26457 stack slot, rather than the struct return pointer slot.
26458 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
26459 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
26460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
26461 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
26462
2f0ad8f3
UD
264632011-09-05 Ulrich Drepper <drepper@gmail.com>
26464
d88ae418
UD
26465 * po/ja.po: Update from translation team.
26466
2f0ad8f3
UD
26467 [BZ #13144]
26468 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
26469 kernel in 64-bit binaries.
26470
5f4318d1
DM
264712011-09-01 David S. Miller <davem@davemloft.net>
26472
26473 * elf/elf.h (HWCAP_SPARC_*): Move to..
26474 * sysdeps/sparc/sysdep.h: this new file and add new values.
26475 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
26476 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
26477 _DL_HWCAP_COUNT to 24.
26478 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26479 entries.
26480 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
26481 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
26482 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
26483 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
26484 instead of magic constants.
26485 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26486
3ba57516
DM
264872011-08-31 David S. Miller <davem@davemloft.net>
26488
26489 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
26490 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
26491 Reimplement to do errno handling inline.
26492 (SYSCALL_ERROR_HANDLER): New macro.
26493 (__SYSCALL_STRING): Do not do errno handling in asm.
26494 (__CLONE_SYSCALL_STRING): Delete.
26495 (__INTERNAL_SYSCALL_STRING): Delete.
26496 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
26497 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
26498 (PSEUDO): Reimplement to do errno handling inline.
26499 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
26500 (SYSCALL_ERROR_HANDLER): New macro.
26501 (__SYSCALL_STRING): Do not do errno handling in asm.
26502 (__CLONE_SYSCALL_STRING): Delete.
26503 (__INTERNAL_SYSCALL_STRING): Delete.
26504 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
26505 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
26506 i386.
26507 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
26508 (inline_syscall*): Add 'err' argument.
26509 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
26510 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
26511 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
26512 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
26513
26514 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
26515 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26516
2bc17433
AS
265172011-08-30 Andreas Schwab <schwab@redhat.com>
26518
26519 * elf/rtld.c (dl_main): Relocate objects in dependency order.
26520
fbeb5f4d
JO
265212011-08-29 Jiri Olsa <jolsa@redhat.com>
26522
26523 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
26524 directive.
26525
ad69cc26
DM
265262011-08-24 David S. Miller <davem@davemloft.net>
26527
26528 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
26529
39dd69df
AS
265302011-08-24 Andreas Schwab <schwab@redhat.com>
26531
26532 * elf/Makefile: Add rules to build and run unload8 test.
26533 * elf/unload8.c: New file.
26534 * elf/unload8mod1.c: New file.
26535 * elf/unload8mod1x.c: New file.
26536 * elf/unload8mod2.c: New file.
26537 * elf/unload8mod3.c: New file.
26538
26539 * elf/dl-close.c (_dl_close_worker): Reset private search list if
26540 it wasn't used.
26541
2c0b250a
DM
265422011-08-23 David S. Miller <davem@davemloft.net>
26543
26544 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
26545 subtract stack bias.
26546 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
26547 %sp not %fp in calculations.
26548 (_JMPBUF_UNWINDS_ADJ): Likewise.
26549
22044b48
DM
26550 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
26551 (aio_suspend): Call it to force an exception region around the
26552 AIO_MISC_WAIT() invocation.
26553
2cae4995
AS
265542011-08-23 Andreas Schwab <schwab@redhat.com>
26555
26556 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
26557 backslash.
26558
873a772e
AJ
265592011-07-04 Aurelien Jarno <aurelien@aurel32.net>
26560
26561 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
26562 protection macro.
26563 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
26564 and <dl-machine.h>.
26565 (Elf64_FuncDesc): Remove.
26566
25ad0df1
DM
265672011-08-22 David S. Miller <davem@davemloft.net>
26568
26569 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
26570 sigaltstack check, add missing cfi directives.
26571 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
26572 missing cfi directives, and sigaltstack handling.
26573
e888bcbe
AS
265742011-08-16 Andreas Schwab <schwab@redhat.com>
26575
26576 [BZ #11724]
26577 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
26578 object is seen twice.
26579 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26580
26581 * elf/Makefile (distribute): Add tst-initorder2.c.
26582 (tests): Add tst-initorder2.
26583 (modules-names): Add tst-initorder2a tst-initorder2b
26584 tst-initorder2c tst-initorder2d. Add rules to build them.
26585 ($(objpfx)tst-initorder2.out): New rule.
26586 * elf/tst-initorder2.c: New file.
26587 * elf/tst-initorder2.exp: New file.
26588
87162f46
AS
265892011-08-22 Andreas Schwab <schwab@redhat.com>
26590
70538b7f
AS
26591 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
26592
f55ffe58
AS
26593 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
26594 dependencies back to end of function.
26595
87162f46
AS
26596 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26597 $(elfobjdir)/ld.so.
26598
91b392a4
UD
265992011-08-21 Ulrich Drepper <drepper@gmail.com>
26600
26601 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
26602 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
26603 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
26604 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
26605 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
26606 of __vdso_gettimeofday.
26607 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
26608 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
26609 attribute_hidden.
26610 (_libc_vdso_platform_setup): Remove initialization of
26611 __vdso_gettimeofday and __vdso_time.
26612
5c43483f
UD
266132011-08-20 Ulrich Drepper <drepper@gmail.com>
26614
775a77e7
UD
26615 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
26616 and fgetc_unlocked.
26617 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
26618 getc_unlocked.
89f447ed 26619
49c74ba9
UD
26620 * elf/dl-open.c (add_to_global): Report additions to the global scope
26621 for LD_DEBUG=scopes.
26622 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 26623 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 26624
5c43483f
UD
26625 [BZ #13114]
26626 * stdio-common/Makefile (tests): Add bug24.
26627 * stdio-common/bug24.c: New file.
26628
a101b025
AJ
266292011-08-19 Andreas Jaeger <aj@suse.de>
26630
26631 [BZ #13114]
26632 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
26633 non-existant file when using close-on-exec mode.
26634
c88f1766
UD
266352011-08-20 Ulrich Drepper <drepper@gmail.com>
26636
0276a718
UD
26637 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
26638 the very first instruction.
26639
c88f1766
UD
26640 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
26641 the CFI state in the end.
26642 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
26643 inclusion of dl-trampoline.h.
26644 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
26645
51ccffa0
AS
266462011-08-19 Andreas Schwab <schwab@redhat.com>
26647
94d7165f
AS
26648 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
26649 expectations for long double.
26650
51ccffa0
AS
26651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
26652 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
26653
fd708658 266542011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
26655
26656 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
26657 artificual limit depends upon the system page size.
26658
44f0a71e
UD
266592011-08-17 Ulrich Drepper <drepper@gmail.com>
26660
26661 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
26662 * resolv/Makefile: Define CFLAGS-libresolv.
26663
8de79a24
AS
266642011-08-17 Andreas Schwab <schwab@redhat.com>
26665
26666 * nss/makedb.c (compute_tables): Make variables used in nested
26667 function static.
26668
27724598
UD
266692011-08-17 Ulrich Drepper <drepper@gmail.com>
26670
c5305d88
UD
26671 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
26672 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
26673 if buffer was too small.
26674
27724598
UD
26675 * elf/pldd.c (main): Attach to all threads in the process.
26676 Rewrite /proc handling to use *at functions.
26677
076fe015
UD
266782011-08-16 Ulrich Drepper <drepper@gmail.com>
26679
174baab3
UD
26680 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
26681 specifies first scope to show.
26682 (dl_open_worker): Update callers. Move printing scope of new
26683 object to before the relocation.
44f0a71e 26684 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
26685 * sysdeps/generic/ldsodefs.h: Update declaration.
26686
076fe015
UD
26687 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
26688 string for the scope number.
26689
a60df2c3
UD
266902011-08-14 Ulrich Drepper <drepper@gmail.com>
26691
26692 * nscd/servicescache.c (cache_addserv): Make sure written is always
26693 initialized.
26694
5e4287d1
RM
266952011-08-14 Roland McGrath <roland@hack.frob.com>
26696
85ae0589
RM
26697 * sysdeps/i386/i486/bits/atomic.h
26698 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
26699 statement expression, so as to suppress "set but not used" warning.
26700 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
26701
69f63097
RM
26702 * string/strncat.c (STRNCAT): Use prototype definition.
26703
675456ef
RM
26704 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
26705 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
26706 -Iprograms here.
26707 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
26708 (localedef-modules): Add localedef.
26709 (locale-modules): Add locale.
26710
5e4287d1
RM
26711 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
26712 * elf/rtld.c (dl_main): Invert order of assignment in last change,
26713 to avoid a warning.
26714
9c96ff23
DM
267152011-08-14 David S. Miller <davem@davemloft.net>
26716
26717 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
26718 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
26719
f9ddf089
UD
267202011-08-13 Ulrich Drepper <drepper@gmail.com>
26721
44f0a71e 26722 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
26723 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
26724 * elf/rtld.c (dl_main): Set l_name of vDSO.
26725 Call _dl_show_scope when DL_DEBUG_SCOPES.
26726 (process_dl_debug): Recognize scopes flag and also set it for all.
26727 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
26728 Declare _dl_show_scope.
26729
1dc27704
UD
26730 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
26731 (do_dlopen): Pass caller_dlopen to dl_open.
26732 (__libc_dlopen_mode): Initialize caller_dlopen.
26733
f9ddf089
UD
26734 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
26735 of libc. Make tolower call locale-independent. Optimize a bit by
26736 using isdigit instead of isalnum.
26737 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
26738
9ac533d3
UD
267392011-08-12 Ulrich Drepper <drepper@gmail.com>
26740
26741 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
26742 was a dependency or dynamically loaded.
26743
89edf2e9
UD
267442011-08-11 Ulrich Drepper <drepper@gmail.com>
26745
8e999d29
UD
26746 * intl/l10nflist.c: Allow architecture-specific pop function.
26747 * sysdeps/x86_64/l10nflist.c: New file.
26748
89edf2e9
UD
26749 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
26750 classification.
26751
14d96785
AS
267522011-08-10 Andreas Schwab <schwab@redhat.com>
26753
26754 * include/dirent.h: Add libc_hidden_proto for scandirat and
26755 scandirat64. Don't declare __scandirat64.
26756 * dirent/scandirat.c: Add libc_hidden_def.
26757 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
26758 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
26759
6761ac04
DM
267602011-08-10 David S. Miller <davem@davemloft.net>
26761
26762 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
26763 enum.
26764 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26765 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26766 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26767
c55fbd1e
UD
267682011-08-09 Ulrich Drepper <drepper@gmail.com>
26769
26770 * Versions.def [libc]: Add GLIBC_2.15.
26771 * dirent/Makefile (routines): Add scandirat and scandirat64.
26772 * dirent/Versions [libc]: Export scandirat and scandirat64 for
26773 GLIBC_2.15.
26774 * dirent/dirent.h: Declare scandirat and scandirat64.
26775 * dirent/scandirat.c: New file.
26776 * dirent/scandirat64.c: New file.
26777 * sysdeps/wordsize-64/scandirat.c: New file.
26778 * sysdeps/wordsize-64/scandirat64.c: New file.
26779 * dirent/opendir.c: Define opendirat.
26780 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
26781 using scandirat.
26782 * dirent/scandir64.c: Adjust for scandir.c change.
26783 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
26784 __scandirat64, and __scandir_cancel_handler.
26785 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
26786 additional parameter and use openat instead of open (outside of ld.so).
26787 Add new __opendir as wrapper around __opendirat.
26788 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
26789 here without requiring old scandirat implementation.
26790
879165f2
UD
267912011-08-08 Ulrich Drepper <drepper@gmail.com>
26792
26793 * dirent/scandir.c (cancel_handler): Renamed to
26794 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
26795 defined. Adjust users.
26796 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
26797 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
26798
cb7e923b
UD
267992011-08-04 Ulrich Drepper <drepper@gmail.com>
26800
16292edd
UD
26801 * string/test-string.h (IMPL): Use __STRING to expand name and then
26802 stringify it.
26803
cb7e923b
UD
26804 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
26805 of cleanups.
26806
cff82933
LD
268072011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26808
26809 * string/Makefile: Update.
26810 (strop-tests): Append strncat.
26811 * string/test-wcscmp.c: New file.
26812 New comprehensive test for wcscmp.
26813 * string/test-strcmp.c: Update.
26814 (WIDE): New define.
26815
9be9bfcc
AS
268162011-07-22 Andreas Schwab <schwab@redhat.com>
26817
26818 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
26819 line.
26820
2e96f1c7
AS
268212011-07-26 Andreas Schwab <schwab@redhat.com>
26822
26823 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26824 encoding to ACE if AI_IDN.
26825
85188888
JJ
268262011-08-01 Jakub Jelinek <jakub@redhat.com>
26827
26828 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
26829 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
26830
5fa16e9b
LD
268312011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26832
26833 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
26834 Fix overflow bug in strncat.
26835 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26836
26837 * string/test-strncat.c: Update.
26838 Add new tests for checking overflow bugs.
26839
268402011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26841
26842 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26843 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
26844 * sysdeps/i386/i686/multiarch/strcat.S: New file.
26845 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
26846 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
26847 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
26848 * sysdeps/i386/i686/multiarch/strncat.S: New file.
26849 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
26850 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
26851
26852 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
26853 (USE_AS_STRCAT): Define.
26854 Add strcat and strncat support.
26855 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26856
8c1a459f
AS
268572011-07-25 Andreas Schwab <schwab@redhat.com>
26858
26859 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
26860 __n bigger than INT_MAX+1.
26861 (__strncmp_g): Likewise.
26862
bba33c28
UD
268632011-07-23 Ulrich Drepper <drepper@gmail.com>
26864
798be72d
UD
26865 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
26866 * libio/stido.h: Likewise.
26867
8accd4dc
UD
26868 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
26869 (AF_NFC): Define.
26870 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
26871 (AF_NFC): Define.
26872
cbff0d96
UD
26873 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
26874 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26875 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26876 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
26877 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26878
9191c04a
UD
26879 [BZ #13021]
26880 * scripts/test-installation.pl: Don't expect libnss_test1 to be
26881 installed.
26882
bba33c28
UD
26883 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
26884 typo.
26885 (_dl_x86_64_save_sse): Likewise.
26886
90f139dd
UD
268872011-07-22 Ulrich Drepper <drepper@gmail.com>
26888
1aae088a
UD
26889 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
26890 OSXSAVE.
26891 (_dl_x86_64_save_sse): Likewise.
26892
8e2045f5
UD
26893 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
26894
90f139dd
UD
26895 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
26896
1d002f25
AS
268972011-07-21 Andreas Schwab <schwab@redhat.com>
26898
26899 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
26900 change.
26901 (_dl_x86_64_save_sse): Use correct AVX check.
26902
21137f89
UD
269032011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26904
26905 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
26906 bug in strncpy/strncat.
26907 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26908
a65c0b7a
UD
269092011-07-21 Ulrich Drepper <drepper@gmail.com>
26910
26911 * string/tester.c (test_strcat): Add tests for different alignments
26912 of source and destination.
26913 (test_strncat): Likewise.
26914
6986b98a
UD
269152011-07-20 Ulrich Drepper <drepper@gmail.com>
26916
90bb2039
UD
26917 [BZ #12852]
26918 * posix/glob.c (glob): Check passed in values before using them in
26919 expressions to avoid some overflows.
26920 (glob_in_dir): Likewise.
26921
5644ef54
UD
26922 [BZ #13007]
26923 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
26924 check for AVX enablement so that we don't crash with old kernels and
26925 new hardware.
26926 * elf/tst-audit4.c: Add same checks here.
26927 * elf/tst-audit6.c: Likewise.
26928
26929 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 26930
bfc9dc9b
AS
269312011-07-09 Andreas Schwab <schwab@linux-m68k.org>
26932
26933 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
26934
702e64bb
UD
269352011-07-20 Ulrich Drepper <drepper@gmail.com>
26936
26937 * po/cs.po: Update from translation team.
26938 * po/bg.po: Likewise.
26939
295e904f
MP
269402011-07-12 Marek Polacek <mpolacek@redhat.com>
26941
26942 * misc/sys/cdefs.h: Add support for const attribute.
26943 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
26944 to gnu_dev_{major,minor,makedev} functions.
26945
3ff94596
MP
269462011-07-20 Marek Polacek <mpolacek@redhat.com>
26947
26948 * intl/dcigettext.c (get_output_charset): Add missing bracket.
26949
28b59fca
AS
269502011-07-20 Andreas Schwab <schwab@redhat.com>
26951
26952 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
26953 strlen results.
26954
19df733e
AK
269552011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26956
26957 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26958 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
26959 register in order to avoid conflicts with the soft frame pointer
26960 being held in r11 when necessary.
26961 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26962 (INTERNAL_VSYSCALL_NCS): Likewise.
26963
c8835729
MP
269642011-07-14 Marek Polacek <mpolacek@redhat.com>
26965
26966 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
26967 * elf/dl-fini.c (_dl_fini): Adjust caller.
26968 * elf/dl-close.c (_dl_close_worker): Likewise.
26969 * sysdeps/generic/ldsodefs.h: Adjust declaration.
26970
b902330c
MP
269712011-07-15 Marek Polacek <mpolacek@redhat.com>
26972
8991e135
MP
26973 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
26974 "aux_cache->nlibs < 0".
26975
b902330c
MP
26976 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
26977 in the reload-count case.
26978
99710781
LD
269792011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26980
26981 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26982 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
26983 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
26984 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
26985 * sysdeps/x86_64/multiarch/strcat.S: New file.
26986 * sysdeps/x86_64/multiarch/strncat.S: New file.
26987 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
26988 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
26989 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
26990 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
26991 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
26992 (USE_AS_STRCAT): Define.
26993 Add strcat and strncat support.
26994 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
26995 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26996 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
26997 * string/strncat.c: Update.
26998 (USE_AS_STRNCAT): Define.
26999 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27000 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
27001 and i7.
27002 * sysdeps/x86_64/multiarch/init-arch.h
27003 (bit_Prefer_PMINUB_for_stringop): New.
27004 (index_Prefer_PMINUB_for_stringop): Likewise.
27005 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
27006 bit_Prefer_PMINUB_for_stringop.
27007
7dc6bd90
UD
270082011-07-19 Ulrich Drepper <drepper@gmail.com>
27009
27010 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
27011 buffer64.
27012 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
27013 of casting of buffer.
27014 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
27015 buffer32 and buffer64.
27016 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
27017 writes instead of casting of buffer.
27018 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
27019 buffer32.
27020 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
27021 casting of buffer.
27022
e0e72284
AS
270232011-07-19 Andreas Schwab <schwab@redhat.com>
27024
27025 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
27026
feb1eb0b
UD
270272011-07-19 Ulrich Drepper <drepper@gmail.com>
27028
27029 * nscd/nscd.c (termination_handler): Don't do anything for a database
27030 if it has not yet been initialized.
27031
298711ff
UD
270322011-07-18 Ulrich Drepper <drepper@gmail.com>
27033
27034 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27035
270362011-07-15 Marek Polacek <mpolacek@redhat.com>
27037
27038 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27039
f9d68389
UD
270402011-07-18 Ulrich Drepper <drepper@gmail.com>
27041
27042 * po/nl.po: Update from translation team.
27043 * po/sv.po: Likewise.
27044
db290cf5
RM
270452011-07-16 Roland McGrath <roland@hack.frob.com>
27046
27047 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
27048 now disallowed by GCC.
5c550700 27049
fd5e21c7
RM
27050 * configure.in (use-default-link): Default to yes if a test -shared
27051 link meets our qualifications.
27052 * configure: Regenerated.
27053
5c550700
RM
27054 * config.make.in (output-format): New variable.
27055 * configure.in: Check for ld --print-output-format support.
27056 * configure: Regenerated.
27057 * Makerules ($(common-objpfx)format.lds)
27058 [$(output-format) != unknown]: Just use $(output-format),
27059 instead of the linker-script munging.
27060
9fa2c032
RM
270612011-07-14 Roland McGrath <roland@hack.frob.com>
27062
a6928d51
RM
27063 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
27064 of $(common-objpfx)shlib.lds.
27065 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
27066
661607b3
RM
27067 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
27068 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
27069
9fa2c032
RM
27070 * configure.in (-z relro check): Adjust test code to add a large
27071 writable data section after it.
27072 * configure: Regenerated.
27073
defe9061
RM
270742011-07-11 Roland McGrath <roland@hack.frob.com>
27075
27076 * configure.in (-z relro check): Fix test code to make the variable
27077 truly const.
27078 * configure: Regenerated.
27079
319b9ad4
UD
270802011-07-11 Ulrich Drepper <drepper@gmail.com>
27081
27082 * nscd/nscd.h (struct traced_file): Define.
27083 (struct database_dyn): Remove inotify_descr, reset_res, and filename
27084 elements. Add traced_files.
27085 (inotify_fd): Declare.
27086 (register_traced_file): Declare.
27087 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
27088 (inotify_fd): Export.
27089 (resolv_conf_descr): Remove.
27090 (nscd_init): Move inotify descriptor creation to main.
27091 Don't register files for notification here.
27092 (register_traced_file): New function.
27093 (invalidate_cache): Don't use reset_res to determine whether to call
27094 res_init, go through the list of registered files.
27095 (main_loop_poll): The inotify descriptors are now stored in the
27096 structures for the traced files.
27097 (main_loop_epoll): Likewise
27098 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
27099 to __nss_disable_nscd.
27100 * nscd/cache.c (prune_cache): There is no single inotify descriptor
27101 for a database anymore. Check the records for all the registered
27102 files instead.
27103 * nss/Makefile (libnss_files-routines): Add files-init.
27104 (libnss_db-routines): Add db-init.
27105 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
27106 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
27107 * nss/nss_db/db-init.c: New file.
27108 * nss/nss_files/files-init.c: New file.
27109 * nss/nsswitch.c (nss_load_library): New function. Broken out of
27110 __nss_lookup_function.
27111 (__nss_lookup_function): Call nss_load_library.
27112 (nss_load_all_libraries): New function.
27113 (__nss_disable_nscd): Take parameter with callback function for files
27114 to register. Set is_nscd. Load all the DSOs for the NSS modules
27115 used for the cached services.
27116 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
27117 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
27118 options for features to all the files in nscd.
27119
27120 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
27121
23bee3e8
RM
271222011-07-10 Roland McGrath <roland@hack.frob.com>
27123
27124 * csu/elf-init.c (__libc_csu_init): Comment typo.
27125
46a5b7f0
UD
271262011-07-09 Ulrich Drepper <drepper@gmail.com>
27127
27128 * po/pl.po: Update from translation team.
27129 * po/ja.po: Likewise.
27130 * po/ru.po: Likewise.
27131 * po/ko.po: Likewise.
27132 * po/fr.po: Likewise.
27133
d30cf5bb
RM
271342011-07-09 Roland McGrath <roland@hack.frob.com>
27135
113ddea4
RM
27136 * configure.in (.ctors/.dtors header and trailer check):
27137 Use an empirical test on a built program.
27138 * configure: Regenerated.
27139
574920b4
RM
27140 * configure.in (-z relro check): Use an empirical test on a built DSO.
27141 Detect, but do not require, on ia64.
27142 * configure: Regenerated.
27143
d30cf5bb
RM
27144 * configure.in (READELF): Find it with AC_CHECK_TOOL.
27145 Update tests that use readelf to use $READELF instead.
27146 * configure: Regenerated.
27147
8538fdb3
UD
271482011-07-08 Ulrich Drepper <drepper@gmail.com>
27149
27150 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
27151 if the result is not used.
27152
04d08991
AJ
271532011-07-05 Andreas Jaeger <aj@suse.de>
27154
27155 [BZ#9696]
27156 * stdlib/tst-strtod.c: Add testcase.
27157
de283087
AD
271582011-07-07 Ulrich Drepper <drepper@gmail.com>
27159
4e5f31c8 27160 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 27161 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
27162 The latter has a higher limit. Take additional parameter to pass to
27163 the new function.
27164 (__pathconf): Pass file to __statfs_link_max.
27165 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
27166 __statfs_link_max.
27167 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
27168 __statfs_link_max.
27169
de283087
AD
27170 [BZ #12868]
27171 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
27172 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27173 Handle Lustre.
27174 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
27175 (__statfs_filesize_max): Likewise.
27176 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
27177
c75fa153
AJ
271782011-07-05 Andreas Jaeger <aj@suse.de>
27179
27180 * resolv/res_comp.c (dn_skipname): Remove unused variable.
27181
1a544854
UD
271822011-07-06 Marek Polacek <mpolacek@redhat.com>
27183
27184 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
27185 `status' variable.
27186 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
27187 Likewise.
27188
6f0eec67
UD
271892011-07-04 H.J. Lu <hongjiu.lu@intel.com>
27190
27191 * Makefile (strop-tests): Add strncat.
27192 * string/test-strncat.c: New file.
27193
aae30307
UD
271942011-06-30 Marek Polacek <mpolacek@redhat.com>
27195
27196 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
27197
c0cfb5eb
UD
271982011-06-21 Andreas Jaeger <aj@suse.de>
27199
27200 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
27201 Copy rule from iconvdata/Makefile.
27202
01636b21
UD
272032011-07-06 Ulrich Drepper <drepper@gmail.com>
27204
27205 [BZ #12922]
27206 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
27207 but no long options are defined, just return 'W'.
27208
9895c8bc
UD
272092011-06-22 Marek Polacek <mpolacek@redhat.com>
27210
27211 [BZ #9696]
27212 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
27213
5d4cf042
UD
272142011-07-06 Ulrich Drepper <drepper@gmail.com>
27215
27216 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
27217 netgroups to read.
960e5535 27218 (innetgr): Likewise.
5d4cf042 27219
751eb97e
RM
272202011-07-05 Roland McGrath <roland@hack.frob.com>
27221
27222 * config.make.in (install_root): Default to $(DESTDIR).
27223
f15f1e45
UD
272242011-07-05 Ulrich Drepper <drepper@gmail.com>
27225
27226 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
27227
4e34ac6a
RM
272282011-07-02 Roland McGrath <roland@hack.frob.com>
27229
5e9b6af4
RM
27230 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
27231
84f9ea0f
RM
27232 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
27233 containing directory rather than embedding absolute directory names.
27234
ea5ee9f7
RM
27235 * scripts/check-local-headers.sh: Rewritten using awk.
27236 Match by word, not by line. Print error messages for matches.
27237 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
27238
1b74661a
RM
27239 * Makerules [shlib-lds-flags empty]:
27240 ($(common-objpfx)libc_pic.opts): New target.
27241 ($(common-objpfx)libc_pic.os.clean): New target.
27242 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
27243
27244 * config.make.in (OBJCOPY): New variable.
27245 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
27246 * configure: Regenerated.
27247
f781ef40
RM
27248 * config.make.in (use-default-link): New variable.
27249 * configure.in (use_default_link): Grok --with-default-link to set it.
27250 * configure: Regenerated.
27251 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
27252 (shlib-lds, shlib-lds-flags): Define to empty.
27253
2d4fa81e
RM
27254 * Makerules (shlib-lds): New variable.
27255 (shlib-lds-flags): New variable.
27256 (build-shlib, build-moduile, build-module-asneeded): Use it.
27257 ($(common-objpfx)libc.so): Use $(shlib-lds).
27258 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
27259 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
27260
31fffa6b
RM
27261 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
27262 DT_FLAGS/DT_FLAGS_1 with zero flags.
27263
4e34ac6a
RM
27264 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
27265 linker script munging.
27266
fcfc776b
UD
272672011-07-02 Ulrich Drepper <drepper@gmail.com>
27268
27269 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
27270 as 128-bit value.
27271 * crypt/sha512.c (sha512_process_block): Perform total addition using
27272 128-bit if possible.
27273 (__sha512_finish_ctx): Likewise.
27274 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
27275 as 64-bit value.
27276 * crypt/sha256.c (SWAP64): Define.
27277 (sha256_process_block): Perform total addition using 64-bit if
27278 possible.
27279 (__sha256_finish_ctx): Likewise.
27280
99231d9a
UD
272812011-07-01 Ulrich Drepper <drepper@gmail.com>
27282
27283 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
27284 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27285 * nscd/hstcache.c (cache_addhst): Likewise.
27286 * nscd/grpcache.c (cache_addgr): Likewise.
27287 * nscd/aicache.c (addhstaiX): Likewise
27288 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
27289
445b4a53
TK
272902011-07-01 Thorsten Kukuk <kukuk@suse.de>
27291
27292 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
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
6d4d8e8e
AS
272982011-07-01 Andreas Schwab <schwab@redhat.com>
27299
27300 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
27301 domain only when needed.
27302
89f654c5
AS
273032011-06-30 Andreas Schwab <schwab@redhat.com>
27304
27305 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
27306 is always restored.
27307
cf3b23ff
UD
273082011-06-29 Ulrich Drepper <drepper@gmail.com>
27309
27310 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
27311 are re-adding the entry.
27312 * nscd/servicescache.c (cache_addserv): Likewise.
27313
751626f9
AJ
273142011-06-30 Aurelien Jarno <aurelien@aurel32.net>
27315
27316 * sysdeps/generic/dl-irel.h: fix protection against multiple
27317 inclusions.
27318 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
27319
9113ea1f
UD
273202011-06-28 Ulrich Drepper <drepper@gmail.com>
27321
5c0b8d90
UD
27322 [BZ #12935]
27323 * malloc/memusage.sh: Fix quoting in message.
27324 * debug/xtrace.sh: Likewise.
27325
9113ea1f
UD
27326 * configure.in: Remove support for --experimental-malloc option, make
27327 it the default.
27328 * config.make.in: Likewise.
27329 * malloc/Makefile: Likewise.
27330
a4172181
AS
273312011-06-27 Andreas Schwab <schwab@redhat.com>
27332
27333 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
27334 two-byte characters.
27335
78a7eee7
RM
273362011-06-27 Roland McGrath <roland@hack.frob.com>
27337
62bede13
RM
27338 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
27339 AC_CACHE_CHECK invocation.
27340 * configure: Regenerated.
27341
78a7eee7
RM
27342 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
27343
5ce33a62
UD
273442011-06-27 Ulrich Drepper <drepper@gmail.com>
27345
034807a9
UD
27346 [BZ #12350]
27347 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
27348 bit from old_res_options.
27349
4902da17
UD
27350 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
27351
5ce33a62
UD
27352 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
27353 value type for setfct.
27354
c2344f56
L
273552011-06-23 H.J. Lu <hongjiu.lu@intel.com>
27356
27357 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27358 __gettimeofday instead of gettimeofday.
27359
68468076
UD
273602011-06-26 Ulrich Drepper <drepper@gmail.com>
27361
27362 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
27363
acb0d739
L
273642011-06-24 H.J. Lu <hongjiu.lu@intel.com>
27365
27366 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
27367
27368 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
27369 info.
27370
8912479f
L
273712011-06-22 H.J. Lu <hongjiu.lu@intel.com>
27372
27373 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27374 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
27375 strcpy-sse2-unaligned strncpy-sse2-unaligned
27376 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
27377 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
27378 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
27379 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
27380 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
27381 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
27382 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
27383 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
27384 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
27385 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
27386 (STRCPY): Support SSE2 and SSSE3 versions.
27387
d5495a11
UD
273882011-06-24 Ulrich Drepper <drepper@gmail.com>
27389
27390 [BZ #12874]
27391 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
27392 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
27393 kernels which artificially limit size of requests.
27394
0b1cbaae
L
273952011-06-22 H.J. Lu <hongjiu.lu@intel.com>
27396
27397 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27398 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
27399 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
27400 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
27401 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
27402 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
27403 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
27404 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
27405 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
27406 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
27407 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
27408 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
27409 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
27410 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
27411 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
27412 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27413 Enable unaligned load optimization for Intel Core i3, i5 and i7
27414 processors.
27415 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
27416 Define.
27417 (index_Fast_Unaligned_Load): Define.
27418 (HAS_FAST_UNALIGNED_LOAD): Define.
27419
07f494a0
MP
274202011-06-23 Marek Polacek <mpolacek@redhat.com>
27421
27422 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
27423
fa3fc0fe
UD
274242011-06-22 Ulrich Drepper <drepper@gmail.com>
27425
27426 [BZ #12907]
27427 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
27428 until it is clear that the information is realy needed.
27429 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
27430
e12df166
AS
274312011-06-22 Andreas Schwab <schwab@redhat.com>
27432
27433 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
27434
852eb34d
UD
274352011-06-22 Ulrich Drepper <drepper@gmail.com>
27436
84e2a551
UD
27437 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27438 /sys/devices/system/cpu/online if it is usable.
27439
852eb34d
UD
27440 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
27441 reading the information from the /proc filesystem to once a second.
27442
6e502e19
UD
274432011-06-21 Andreas Jaeger <aj@suse.de>
27444
27445 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
27446 NULL after inclusion of kernel headers.
27447
75d39ff2
UD
274482011-06-21 Ulrich Drepper <drepper@gmail.com>
27449
51f9aa6a
UD
27450 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
27451 calls to internal_setent.
27452
c0244a9d
UD
27453 [BZ #12885]
27454 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
27455 addresses using gethostbyname4_r ignore IPv4 addresses.
27456
c5e3c2ae
UD
27457 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
27458 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
27459
75d39ff2
UD
27460 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
27461
42675c6f
DM
274622011-06-20 David S. Miller <davem@davemloft.net>
27463
27464 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
27465 inclusions.
27466 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
27467
27468 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
27469 (elf_irel): Use it.
27470 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
27471 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
27472 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
27473 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
27474 * sysdeps/x86_64/dl-irel.h: Likewise.
27475
27476 * elf/dl-runtime.c: Use elf_ifunc_invoke.
27477 * elf/dl-sym.c: Likewise.
27478
57912a71
UD
274792011-06-15 Ulrich Drepper <drepper@gmail.com>
27480
27481 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
27482 need to dereference resplen2.
27483
ee22793d
AS
274842011-06-14 Andreas Schwab <schwab@redhat.com>
27485
27486 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
27487
a9e836b0
UD
274882011-06-15 Ulrich Drepper <drepper@gmail.com>
27489
77fb9117
UD
27490 * Makeconfig: Define vardbdir and inst_vardbdir.
27491 * nss/Makefile: Add rules to install db-Makefile.
27492
40c1b22c
UD
27493 * nss/nss_db/db-XXX.c: Cleanup.
27494
9f2da732
UD
27495 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
27496 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
27497 GLIBC_PRIVATE.
27498 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
27499 * nss/makedb.c: Implement -g option to specify that value strings
27500 are generated and should not be added to table iterated over for
27501 get*ent calls.
27502 * nss/nss_db/db-initgroups.c: New file.
27503
82e9a1f7
UD
27504 * nss/getent.c: Add support for initgroups lookups through getgrouplist
27505 interface.
27506
c41af17e
UD
27507 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
27508 (internal_getgrouplist): Adjust to name change.
27509 Update use_initgroups_entry if this is not the first call.
27510 * nss/databases.def: Add initgroups entry.
27511
a9e836b0
UD
27512 * nss/makedb.c (compute_tables): Check result of multiple hash table
27513 sizes to minimize maximum chain length.
27514
2666d441
UD
275152011-06-14 Ulrich Drepper <drepper@gmail.com>
27516
27517 * Versions.def: Add entry for libnss_db.
27518 * shlib-versions: Likewise.
27519 * nss/Makefile: Add rules to build libnss_db.
27520 * nss/Versions: Add libnss_db information. Organize libnss_files
27521 entries better.
27522 * nss/db-Makefile: Add gshadow support. Change rules for the new
27523 makedb progra. Some minor improvements to generate smaller files.
27524 * nss/nss_db/nss_db.h: Move NSS database header data structures to
27525 here from...
27526 * nss/makedb.c: ...here.
27527 Improve database format to be smaller and require less memory at
27528 runtime.
27529 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
27530 db anymore.
27531 * nss/nss_db/db-netgrp.c: Likewise.
27532 * nss/nss_db/db-open.c: Likewise.
27533 * nss/nss_files/flies-XXX.x: Adjust comments.
27534 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
27535 * nss/nss_files/files-grp.c: Likewise.
27536 * nss/nss_files/files-hosts.c: Likewise.
27537 * nss/nss_files/files-network.c: Likewise.
27538 * nss/nss_files/files-proto.c: Likewise.
27539 * nss/nss_files/files-pwd.c: Likewise.
27540 * nss/nss_files/files-rpc.c: Likewise.
27541 * nss/nss_files/files-service.c: Likewise.
27542 * nss/nss_files/files-sgrp.c: Likewise.
27543 * nss/nss_files/files-spwd.c: Likewise.
27544 * nss/nss_db/db-alias.c: Removed.
27545 * nss/nss_db/dummy-db.h: Removed.
27546
9ee76b5a
UD
275472011-06-02 Ulrich Drepper <drepper@gmail.com>
27548
27549 * nss/makedb.c: Rewritten to not use database library.
27550 * nss/Makefile: Update to build new makedb program.
27551
c71ca1f8
AJ
275522011-06-14 Andreas Jaeger <aj@suse.de>
27553
27554 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
27555 memset declaration.
27556
3154bfb8
UD
275572011-06-10 Andreas Schwab <schwab@redhat.com>
27558
27559 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
27560 tmpbuf.
27561
b350afab
RM
275622011-06-10 Roland McGrath <roland@hack.frob.com>
27563
decd4e50
RM
27564 * Makerules (shlib.lds): Fail if the linker script comes out empty.
27565 * elf/Makefile ($(objpfx)ld.so): Likewise.
27566
5615eaf2
RM
27567 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
27568 Don't list ld.so twice in dependencies.
27569
27570 * posix/bug-regex31.c: Include <stdlib.h>.
27571
27572 * nscd/hstcache.c (cache_addhst): Remove unused variable.
27573
27574 * nis/nss_compat/compat-spwd.c
27575 (getspent_next_nss_netgr): Remove unused variable.
27576 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
27577
27578 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
27579 nonmembers" output to use the right array.
27580
27581 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
27582
27583 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
27584
27585 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
27586 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
27587 * catgets/gencat.c (read_input_file): Likewise.
27588 * locale/programs/locarchive.c (enlarge_archive): Likewise.
27589
27590 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
27591 variable definition inside #if's controlling its use.
27592
27593 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
27594
27595 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
27596
27597 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
27598
27599 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
27600 unreachable code.
27601
27602 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
27603
b68e08db
RM
27604 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
27605 * configure: Regenerated.
27606
b350afab
RM
27607 * Makerules: Revert last change.
27608 * elf/Makefile: Likewise.
27609
28368601
RM
276102011-06-09 Roland McGrath <roland@hack.frob.com>
27611
27612 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
27613 * elf/Makefile ($(objpfx)librtld.os): Likewise.
27614 (reloc-link): Likewise.
27615
11988f8f
UD
276162011-06-09 Ulrich Drepper <drepper@gmail.com>
27617
27618 * elf/Makefile: Add rules to build pldd.
27619 * elf/pldd.c: New file.
27620 * elf/pldd-xx.c: New file.
27621
e80fab37
UD
276222011-06-07 Ulrich Drepper <drepper@gmail.com>
27623
27624 * version.h: Update for 2.15 development version.
27625
9b849836
DM
276262011-06-07 David S. Miller <davem@davemloft.net>
27627
27628 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
27629 ifuncs.
27630 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
27631 elf_machine_lazy_rel): Likewise.
27632 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27633 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
27634 elf_machine_lazy_rel): Likewise.
27635 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
27636 dl_hwcap via passed in argument.
27637 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
27638 Likewise.
27639
5a31b283
AK
276402011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27641
27642 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
27643
069e52f8
RM
276442011-06-06 Roland McGrath <roland@hack.frob.com>
27645
27646 [BZ #12849]
27647 * manual/fdl-1.1.texi: New file, verbatim from:
27648 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
27649 * manual/lgpl-2.1.texi: New file, verbatim from:
27650 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
27651 * manual/Makefile (licenses): New variable, list those new file names.
27652 (texis): Use it.
27653 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
27654
27655 * manual/fdl.texi: File removed.
27656 * manual/lesser.texi: File removed.
27657 * manual/libc.texinfo (Copying, Documentation License):
27658 Use new @include file names, put @appendix directive before @include.
27659
f16846a5
JJ
276602011-06-04 Jakub Jelinek <jakub@redhat.com>
27661
27662 [BZ #12841]
27663 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
27664 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
27665 (mq_open): Add __NTH.
27666
3d29045b
L
276672011-06-02 H.J. Lu <hongjiu.lu@intel.com>
27668
27669 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27670 Assume Intel Core i3/i5/i7 processor if AVX is available.
27671
8c297311
UD
276722011-05-31 Ulrich Drepper <drepper@gmail.com>
27673
27674 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27675 typo.
27676
c8fc0c91
UD
276772011-05-31 Andreas Schwab <schwab@redhat.com>
27678
27679 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
27680 memory. Use alloca_account. Fix memory leak when retrying.
27681
5b27a807
UD
276822011-05-31 Ulrich Drepper <drepper@gmail.com>
27683
356f8bc6
UD
27684 * version.h (RELEASE): Bump for 2.14 release.
27685 * include/features.h (__GLIBC_MINOR__): Bump to 14.
27686
5b27a807
UD
27687 * config.make.in (RANLIB): Remove entry.
27688
01f16ab0
UD
276892011-05-30 Ulrich Drepper <drepper@gmail.com>
27690
41fce8bd
UD
27691 * po/Makefile (po-sed-cmd): Add ksh to extensions.
27692 (libc.pot): Work around missing support for .ksh extension in xgettext.
27693
4769ae77
UD
27694 [BZ #12684]
27695 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
27696 if both request failed.
27697 (send_dg): In case of server errors clear resplen or *resplen2.
27698
6b1e7d19
UD
27699 [BZ #12454]
27700 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
27701 when there are multiple maps.
27702 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
27703 (_dl_fini): Remove test here.
27704
01f16ab0
UD
27705 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
27706
b1ebd700
UD
277072011-05-29 Ulrich Drepper <drepper@gmail.com>
27708
7ae22829
UD
27709 [BZ #12350]
27710 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
27711 bit from old_res_options.
27712 (gaih_inet): Likewise.
27713
553149f6 27714 [BZ #11099]
18a84741 27715 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
27716 as signed.
27717
652ffab1
UD
27718 * resolv/res_init.c (res_setoptions): Make the code more compact.
27719
16985fd0
UD
27720 [BZ #11558]
27721 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
27722 set RES_USEVC.
27723
0464f746
UD
27724 [BZ #11634]
27725 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
27726
7d17596c
UD
27727 * malloc/malloc.h: Mark malloc hook variables as deprecated.
27728
cf6bbbd7
UD
27729 [BZ #11781]
27730 * malloc/malloc.h: Declare malloc hook variables as volatile.
27731
13f1ab36
UD
27732 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
27733 in last patch.
27734
b1ebd700
UD
27735 [BZ #11799]
27736 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 27737 raise in the comment.
80e2212d
UD
27738 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27739 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27740 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 27741
ce67228d
UD
277422011-05-28 Ulrich Drepper <drepper@gmail.com>
27743
8887a920
UD
27744 [BZ #12811]
27745 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
27746 grow the buffers more if it already has to be sufficient.
27747 (build_wcs_upper_buffer): Likewise.
27748 * posix/regexec.c (check_matching): Likewise.
27749 (clean_state_log_if_needed): Likewise.
27750 (extend_buffers): Don't enlarge buffers beyond size of the input
27751 buffer.
27752 Patches mostly by Emil Wojak <emil@wojak.eu>.
27753 * posix/bug-regex32.c: New file.
27754 * posix/Makefile (tests): Add bug-regex32.
27755
4f031072
UD
27756 * locale/findlocale.c (_nl_find_locale): Return right away if
27757 _nl_explode_name failed.
27758 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27759
d0478f0c
UD
27760 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
27761
de81b246
UD
27762 * debug/xtrace.sh: Unify messages.
27763 * malloc/memusage.sh: Likewise.
27764
c738465a
UD
27765 [BZ #12813]
27766 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
27767 time symbol from vDSO. Substitute with vsyscall if not available.
27768 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
27769 __vdso_time.
27770
f1f929d7
UD
27771 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
27772 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
27773 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
27774 Add sendmmsg and internal_sendmmsg.
27775 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
27776 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
27777 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
27778
ce67228d
UD
27779 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
27780 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
27781 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
27782
e57420c6
UD
277832011-05-27 Ulrich Drepper <drepper@gmail.com>
27784
a8509ca5
UD
27785 [BZ #12813]
27786 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
27787 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
27788 available.
27789 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
27790 __vdso_getcpu.
27791
e57420c6
UD
27792 [BZ #12814]
27793 * iconvdata/Makefile (tests): Add bug-iconv9.
27794 * iconvdata/bug-iconv9.c: New file.
27795
4d07db15
AS
277962011-05-27 Andreas Schwab <schwab@redhat.com>
27797
27798 [BZ #12814]
27799 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
27800
ea486f69
JJ
278012011-05-25 Jakub Jelinek <jakub@redhat.com>
27802
27803 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27804 (struct user_regs_struct): Change intcs field back to cs.
27805
6f038433
UD
278062011-05-25 Ulrich Drepper <drepper@gmail.com>
27807
27808 * po/ja.po: Update from translation team.
27809
67f86a25
UD
278102011-05-23 Ulrich Drepper <drepper@gmail.com>
27811
27812 [BZ #12795]
27813 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
27814 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
27815
def7fbd6
AS
278162011-05-20 Andreas Schwab <schwab@redhat.com>
27817
27818 * stdlib/longlong.h: Update from GCC.
27819
f50ef8f1
AS
278202011-05-23 Andreas Schwab <schwab@redhat.com>
27821
27822 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
27823 parameter name.
27824 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
27825 Add parameter name.
27826 (__sysconf): Pass it down.
27827
de7ce8f1
UD
278282011-05-22 Ulrich Drepper <drepper@gmail.com>
27829
f2962a71
UD
27830 [BZ #12671]
27831 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
27832 some situations.
27833 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27834 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
27835 add in in __libc_use_alloca calls. Adjust callers.
27836 (glob): Use malloc in some situations.
27837
de7ce8f1
UD
27838 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
27839 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
27840 pltexit.
27841
aec84f53
UD
278422011-05-21 Ulrich Drepper <drepper@gmail.com>
27843
05bb4a68
UD
27844 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
27845 and CLOCK_BOOTTIME_ALARM.
27846
7ea72f99
UD
27847 [BZ #12782]
27848 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
27849 is returned.
27850
7e4afad5
UD
27851 * string/_strerror.c (__strerror_r): Print negative errors as signed
27852 numbers.
27853
8e211fec
UD
27854 [BZ #12777]
27855 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
27856 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
27857 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
27858
f7d82dc9
UD
27859 * configure.in: Fix typo in redirection and correct removal of test
27860 files in two cases.
27861
cc9e536d
UD
27862 [BZ #12788]
27863 * locale/setlocale.c (new_composite_name): Fix test to check for
27864 identical name of all categories.
27865
aec84f53
UD
27866 [BZ #12792]
27867 * libio/filedoalloc.c (local_isatty): New function.
27868 (_IO_file_doallocate): Use local_isatty.
27869 * stdio-common/perror.c (perror): In case a new stream is used
27870 forward the stream error.
27871 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
27872 error flag.
27873
78e64fdc
RT
278742011-05-20 Ulrich Drepper <drepper@gmail.com>
27875
34a9094f
UD
27876 [BZ #11869]
27877 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
27878 alloca.
27879 * include/alloca.h (extend_alloca_account): Define.
27880
78e64fdc
RT
27881 [BZ #11857]
27882 * posix/regex.h: Fix comments with documentation of user-accessible
27883 fields after compilation and describe correct free'ing of pattern
27884 after re_compile_pattern.
27885 Patch by Reuben Thomas <rrt@sc3d.org>.
27886
457bddfc
RA
278872011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
27888
27889 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
27890 and -mno-altivec to prevent the compiler from using Altivec and/or
27891 VSX instructions when the corresponding registers are not available.
27892
a4527b51
AS
278932011-05-19 Andreas Schwab <schwab@redhat.com>
27894
27895 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
27896
ed690b2f
UD
278972011-05-19 Ulrich Drepper <drepper@gmail.com>
27898
27899 * libio/freopen.c (freopen): Use __dup2, not dup2.
27900 * libio/freopen64.c (freopen64): Likewise.
27901
8db73634
L
279022011-05-17 H.J. Lu <hongjiu.lu@intel.com>
27903
27904 [BZ #12775]
27905 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
27906 * math/Makefile (tests): Add test-powl.
27907 (CFLAGS-test-powl.c): Define.
27908 * math/test-powl.c: New file.
27909
0a197a9d
L
279102011-05-16 H.J. Lu <hongjiu.lu@intel.com>
27911
27912 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
27913
ee30c380
UD
279142011-05-17 Ulrich Drepper <drepper@gmail.com>
27915
27916 [BZ #11837]
27917 * iconvdata/gb18030.c: Update to GB18020-2005.
27918
6ce75379
UD
279192011-05-16 Ulrich Drepper <drepper@gmail.com>
27920
a4b89fd8
AR
27921 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
27922 RE_SYNTAX_POSIX_AWK): Update to match recent development.
27923 Patch by Aharon Robbins <arnold@skeeve.com>.
27924
ea389b12
UD
27925 [BZ #11892]
27926 * stdlib/putenv.c (putenv): Don't always create copy of the variable
27927 on the stack.
27928
68a3f91f
UD
27929 [BZ #11895]
27930 * misc/pselect.c (__pselect): Handle timeout value errors hidden
27931 through underflows.
27932
15cc7dd1
UD
27933 [BZ #12766]
27934 * misc/error.c (error_at_line): Ensure file_name and old_file_name
27935 point to strings before performing equality test for error_one_per_line
27936 mode.
27937
f3799213
UD
27938 [BZ #11697]
27939 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
27940
d79a9c94
UD
27941 [BZ #11820]
27942 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27943 (struct user_fpregs_struct): Avoid __uint*_t types.
27944
56e5eb46
UD
27945 [BZ #6420]
27946 * malloc/mtrace.c (tr_where): Add additional parameter to point to
27947 symbol info. Use it instead of calling _dl_addr locally.
27948 (lock_and_info): New function.
27949 (tr_freehook): Call lock_and_info and pass symbol info as additional
27950 parameter to tr_where.
27951 (tr_mallochook): Likewise.
27952 (tr_reallochook): Likewise.
27953 (tr_memalignhook): Likewise.
27954
6ce75379
UD
27955 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
27956 used and couldn't be at all thread-safe.
27957
f8a3b5bf
UD
279582011-05-15 Ulrich Drepper <drepper@gmail.com>
27959
94b7cc37
UD
27960 * libio/freopen.c (freopen): Don't close old file descriptor
27961 before the new one is opened. Instead dup the new file descriptor
27962 to the old one after the new stream is created.
27963 * libio/freopen64.c (freopen64): Likewise.
27964 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
27965 * libio/fileops.c (_IO_new_file_close_it): Handle new
27966 _IO_FLAGS2_NOCLOSE flag.
27967 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
27968 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
27969 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
27970 _IO_FLAGS2_NOCLOSE flag.
27971 * include/unistd.h: Add hidden_proto for dup3.
27972 Define __have_dup3.
27973 * io/dup3.c: Define hidden symbol.
27974 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
27975
bd25564e
UD
27976 [BZ #7101]
27977 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
27978 when an incomplete long option is used.
27979 * posix/tst-getopt_long1.c: New file.
27980 * posix/Makefile (tests): Add tst-getopt_long1.
27981
c84cfef4
UD
27982 [BZ #10138]
27983 * scripts/config.guess: Update from autoconf-2.68.
27984 * scripts/config.sub: Likewise.
27985
3b85df27
UD
27986 [BZ #10157]
27987 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
27988 tests into ...
27989 (has_cpuclock): ...this. New function.
27990 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
27991 macro here based on has_cpuclock code.
27992
15a856b1
UD
27993 [BZ #10149]
27994 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27995 First byte (not low byte) is now always NUL.
27996 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
27997
05f399e6
UD
27998 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27999 Use non-cancelable interfaces.
28000
10a52685 28001 [BZ #9809]
94ecc67d
UD
28002 * locale/iso-639.def: Add entry for Sorani.
28003
f8a3b5bf
UD
28004 [BZ #11901]
28005 * include/stdlib.h: Move include protection to the right place.
28006 Define abort_msg_s. Declare __abort_msg with it.
28007 * stdlib/abort.c (__abort_msg): Adjust type.
28008 * assert/assert.c (__assert_fail_base): New function. Majority
28009 of code from __assert_fail. Allocate memory for __abort_msg with
28010 mmap.
28011 (__assert_fail): Now call __assert_fail_base.
28012 * assert/assert-perr.c: Remove bulk of implementation. Use
28013 __assert_fail_base.
28014 * include/assert.hL Declare __assert_fail_base.
28015 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
28016 mmap.
28017 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
28018
1af4e298
UD
280192011-05-14 Ulrich Drepper <drepper@gmail.com>
28020
f8a3b5bf 28021 [BZ #11952]
d26dfc60
MG
28022 [BZ #12453]
28023 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
28024 until all modules are registered in the DTV.
28025 * elf/Makefile: Add rules to build and run tst-tls19.
28026 * elf/tst-tls19.c: New file.
28027 * elf/tst-tls19mod1.c: New file.
28028 * elf/tst-tls19mod2.c: New file.
28029 * elf/tst-tls19mod3.c: New file.
28030 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
28031
2fc54d6f
UD
28032 [BZ #12083]
28033 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
28034 correctly.
28035
98d76b46
UD
28036 [BZ #12601]
28037 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
28038 two-byte sequence errors.
28039 * iconvdata/Makefile (tests): Add bug-iconv8.
28040 * iconvdata/bug-iconv8.c: New file.
28041
da3c19ef
UD
28042 [BZ #12626]
28043 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
28044 buf2 definition.
28045
ca408c15
UD
28046 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
28047
d6f67f7d
UD
28048 [BZ #12432]
28049 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
28050 (dummy_getcfa): New function.
28051 (init): Get _Unwind_GetCFA address, use dummy if not found.
28052 (backtrace_helper): In recursion check, also check whether CFA changes.
28053 (__backtrace): Completely initialize arg.
28054
1af4e298 28055 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
28056 storing incomplete byte sequence in state object. Avoid testing for
28057 guaranteed too small input if we know there is enough data available.
1af4e298 28058
da62f81b
AS
280592011-05-11 Andreas Schwab <schwab@redhat.com>
28060
28061 * Makeconfig (+link-pie): Indent.
28062 * Rules (binaries-pie): Define if $(have-fpie) and
28063 $(build-shared).
28064 (binaries-shared): Also filter out $(binaries-pie).
28065 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
28066 * nscd/Makefile (others-pie): Add nscd.
28067 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
28068 ($(objpfx)nscd): Remove command override.
28069 * login/Makefile (others-pie): Add pt_chown.
28070 ($(objpfx)pt_chown): Remove command override.
28071 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
28072 remove command overrides.
28073
fcabc0f8
UD
280742011-05-13 Ulrich Drepper <drepper@gmail.com>
28075
20030ae6
UD
28076 * libio/tst_putwc.c: Fix error messages.
28077
fcabc0f8
UD
28078 [BZ #12724]
28079 * libio/fileops.c (_IO_new_file_close_it): Always flush when
28080 currently writing and seek to current position when not.
28081 * libio/Makefile (tests): Add bug-fclose1.
28082 * libio/bug-fclose1.c: New file.
28083
320a5dc0
PB
280842011-05-12 Ulrich Drepper <drepper@gmail.com>
28085
28086 [BZ #12511]
28087 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
28088 don't set DF_1_NODELETE here.
28089 (do_lookup_x): When entering new entry test for copy relocation
28090 and if necessary set DF_1_NODELETE flag.
28091 * elf/tst-unique4.cc: New file.
28092 * elf/tst-unique4.h: New file.
28093 * elf/tst-unique4lib.cc: New file.
28094 * elf/Makefile: Add rules to build and run tst-unique4.
28095 Patch by Piotr Bury <pbury@goahead.com>.
28096
22836f52
UD
280972011-05-11 Ulrich Drepper <drepper@gmail.com>
28098
f574184a
UD
28099 [BZ #12052]
28100 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
28101
e1fb097f
UD
28102 [BZ #12625]
28103 * misc/mntent_r.c (addmntent): Flush the stream after the output
28104
22836f52
UD
28105 [BZ #12393]
28106 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
28107 (is_trusted_path_normalize): Skip initial colon. Append slash
28108 to empty buffer. Duplicate is_trusted_path code but allow
28109 constructed patch to be prefix.
28110 (is_dst): Allow $ORIGIN followed by /.
28111 (_dl_dst_substitute): Correct clearing of check_for_trusted.
28112 Correct testing of result of is_trusted_path_normalize
28113 (decompose_rpath): Fix warning.
28114
7b3b0b2a
UD
281152011-05-10 Ulrich Drepper <drepper@gmail.com>
28116
28117 [BZ #11257]
28118 * grp/initgroups.c (internal_getgrouplist): When we found the service
28119 list through the initgroups entry in nsswitch.conf do not always
28120 continue on a successful lookup. Don't always use the
eac80ce2 28121 __nss_group_database value if it is set.
7b3b0b2a
UD
28122 * nss/nsswitch.conf (initgroups): Change action for successful db
28123 lookup to continue for compatibility.
28124
2a81eaa5
UD
281252011-05-09 Ulrich Drepper <drepper@gmail.com>
28126
be97a69e
UD
28127 [BZ #11532]
28128 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
28129 and CP774 modules.
28130 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
28131 and CP774 modules.
28132 * iconvdata/tst-tables.sh: Likewise.
28133 * iconvdata/cp770.c: New file.
28134 * iconvdata/cp771.c: New file.
28135 * iconvdata/cp772.c: New file.
28136 * iconvdata/cp773.c: New file.
28137 * iconvdata/cp774.c: New file.
28138 * iconvdata/testdata/CP770: New file.
28139 * iconvdata/testdata/CP770..UTF8: New file.
28140 * iconvdata/testdata/CP771: New file.
28141 * iconvdata/testdata/CP771..UTF8: New file.
28142 * iconvdata/testdata/CP772: New file.
28143 * iconvdata/testdata/CP772..UTF8: New file.
28144 * iconvdata/testdata/CP773: New file.
28145 * iconvdata/testdata/CP773..UTF8: New file.
28146 * iconvdata/testdata/CP774: New file.
28147 * iconvdata/testdata/CP774..UTF8: New file.
28148
28149 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
28150 END CHARMAP line.
28151 * iconvdata/gen-8bit-gap.sh: Likewise.
28152 * iconvdata/gen-8bit.sh: Likewise.
28153
c1e9e399
UD
28154 * locale/iso-639.def: Add ary entry.
28155
24c55fb3 28156 [BZ #11258]
96b4b1b0
UD
28157 * locale/C-translit.h.in: Add U20A1 transliteration.
28158
bdc2f971
KB
28159 [BZ #12178]
28160 * locale/iso-639.def: Add wae entry.
28161 Patch by Kevin Bortis <bortis@translate-wae.ch>.
28162
2952b117
UD
28163 [BZ #12545]
28164 * locale/programs/localedef.c (construct_output_path): Use ssize_t
28165 for n.
28166
2a81eaa5
UD
28167 [BZ #12711]
28168 * locale/C-translit.h.in: Add entry for U20B9.
28169 Patch by pravin.d.s@gmail.com.
28170
28377d1b
UD
281712011-05-08 Ulrich Drepper <drepper@gmail.com>
28172
7fb90fb8
UD
28173 [BZ #12713]
28174 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
28175 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
28176 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
28177 in rtld. Use *stat64.
7fb90fb8 28178 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 28179 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 28180 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
28181 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
28182 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
28183 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
28184 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
28185 __fstatat64 macros.
7fb90fb8
UD
28186 * include/dirent.h: Add libc_hidden_proto for rewinddir.
28187 * dirent/rewinddir.c: Add libc_hidden_def.
28188 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 28189 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 28190
28377d1b
UD
28191 * include/dirent.h (__alloc_dir): Add flags parameter.
28192 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
28193 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
28194 __alloc_dir.
28195 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
28196 from fdopendir if O_CLOEXEC is already set.
28197
66bdbaa4
AM
281982011-03-15 Alan Modra <amodra@gmail.com>
28199
28200 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
28201 l_tls_firstbyte_offset non-zero. Save padding offset in
28202 l_tls_firstbyte_offset for later use.
28203 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
28204 freeing static tls block.
28205
95721191
JN
282062011-03-05 Jonathan Nieder <jrnieder@gmail.com>
28207
28208 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
28209 where #ifdef was intended. The intent is to prevent ARG_MAX from
28210 being defined by the kernel headers.
28211
f87dfb1f
UD
282122011-05-07 Ulrich Drepper <drepper@gmail.com>
28213
28214 [BZ #12734]
28215 * resolv/resolv.h: Define RES_NOTLDQUERY.
28216 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
28217 no-tld-query and set RES_NOTLDQUERY.
28218 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
28219 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
28220 modern BIND to search name as TLD unless forbidden.
28221
47c3cd7a
UD
282222011-05-07 Petr Baudis <pasky@suse.cz>
28223 Ulrich Drepper <drepper@gmail.com>
28224
28225 [BZ #12393]
28226 * elf/dl-load.c (fillin_rpath): Move trusted path check...
28227 (is_trusted_path): ...to here.
c1e9ea35 28228 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 28229 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 28230 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 28231
8a35c912
PP
282322011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28233
28234 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
28235 __BEGIN/__END_DECLS.
28236
acd41f47
UD
282372011-05-06 Ulrich Drepper <drepper@gmail.com>
28238
28239 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
28240 NSS_STATUS_NOTFOUND if no record was found.
28241
597df647
AS
282422011-05-05 Andreas Schwab <schwab@redhat.com>
28243
28244 * sunrpc/Makefile (headers): Add rpc/netdb.h.
28245 (headers-not-in-tirpc): Remove rpc/netdb.h
28246 * resolv/netdb.h: Revert last change.
28247
b9af1301
PP
282482011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28249
28250 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
28251 circular dependency between libgcc.a and libc.a.
28252
4e34d5f5
AS
282532011-05-05 Andreas Schwab <schwab@redhat.com>
28254
28255 * resolv/netdb.h: Don't include <rpc/netdb.h>.
28256 * nis/Makefile: Don't install rpcsvc/*.
28257 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
28258 instead of <rpc/types.h>.
28259 (MAXHOSTNAMELEN): Define.
28260
00ee369c
AS
282612011-05-03 Andreas Schwab <schwab@redhat.com>
28262
28263 * elf/ldconfig.c (add_dir): Don't crash on empty path.
28264
0b592a30
MB
282652011-04-28 Maciej Babinski <mbabinski@google.com>
28266
28267 [BZ #12714]
28268 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
28269 gethostbyname4_r when IPv6 results are possible.
28270
6e04cbbe
UD
282712011-05-02 Ulrich Drepper <drepper@gmail.com>
28272
28273 [BZ #12723]
28274 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
28275 _PC_PIPE_BUF handling.
28276
e4ecafe0
BH
282772011-04-30 Bruno Haible <bruno@clisp.org>
28278
28279 [BZ #12717]
28280 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
28281 * resolv/netdb.h (getnameinfo): Change type of flags parameter
28282 to 'int'.
28283 * inet/getnameinfo.c (getnameinfo): Likewise.
28284
125ee683
UD
282852011-04-29 Ulrich Drepper <drepper@gmail.com>
28286
28287 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
28288 to groups setting in database lookup.
28289 * nss/nsswitch.conf: Add initgroups entry.
28290
b722481a
EB
282912011-04-22 Ulrich Drepper <drepper@gmail.com>
28292
28293 [BZ #12685]
28294 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
28295 mode string.
28296 Patch by Eric Blake <eblake@redhat.com>.
28297
4df46dbd
L
282982011-04-20 H.J. Lu <hongjiu.lu@intel.com>
28299
28300 * sunrpc/Makefile (need-export-routines): Add svc_run.
28301 (routines): Remove svc_run.
28302 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
28303 * sunrpc/clnt_perr.c (clnt_perrno): Export.
28304 * sunrpc/svc_run.c (svc_run): Likewise.
28305 * sunrpc/svc_udp.c (svcudp_create): Likewise.
28306
e84142d2
UD
283072011-04-21 Ulrich Drepper <drepper@gmail.com>
28308
28309 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
28310 problem in reallocation in last patch.
28311
877175d8
UD
283122011-04-20 Ulrich Drepper <drepper@gmail.com>
28313
28314 * sunrpc/Makefile: Move inclusion of Rules.
28315
ab8eed78
UD
283162011-04-19 Ulrich Drepper <drepper@gmail.com>
28317
28318 * nss/nss_files/files-initgroups.c: New file.
28319 * nss/Makefile (libnss_files-routines): Add files-initgroups.
28320 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
28321 _nss_files_initgroups_dyn.
28322
e3d8f584
RS
283232011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
28324
28325 * elf/elf.h (R_ARM_IRELATIVE): Define.
28326
af190f45
UD
283272011-04-19 Ulrich Drepper <drepper@gmail.com>
28328
28329 * po/ru.po: Update from translation team.
28330
53cf59ef
UD
283312011-04-17 Ulrich Drepper <drepper@gmail.com>
28332
28333 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
28334 dependencies.
28335
4c559bcd
MF
283362011-02-06 Mike Frysinger <vapier@gentoo.org>
28337
28338 [BZ #12653]
28339 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
28340 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
28341 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28342 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28343 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28344
4420675c
AS
283452011-03-28 Andreas Schwab <schwab@linux-m68k.org>
28346
28347 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
28348 differing bytes.
28349 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28350 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28351 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28352
75ea32ab
UD
283532011-04-17 Ulrich Drepper <drepper@gmail.com>
28354
28355 [BZ #12420]
28356 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
28357 storing it.
28358 * stdlib/bug-getcontext.c: New file.
28359 * stdlib/Makefile: Add rules to build and run bug-getcontext.
28360
27390476
AK
283612011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28362
28363 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
28364 instructions into .machine "z9-109".
28365 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
28366 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
28367
10442705
AK
283682011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28369
28370 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
28371 between environment variables and auxiliary vector.
28372
7b57bfe5
UD
283732011-04-16 Ulrich Drepper <drepper@gmail.com>
28374
28375 * Makefile: Add rules to build linkobj/libc.so.
28376 * include/libc-symbols.h: Define libc_hidden_nolink.
28377 * include/rpc/auth.h: Mark functions which are to be hidden.
28378 * include/rpc/auth_des.h: Likewise.
28379 * include/rpc/auth_unix.h: Likewise.
28380 * include/rpc/clnt.h: Likewise.
28381 * include/rpc/des_crypt.h: Likewise.
28382 * include/rpc/key_prot.h: Likewise.
28383 * include/rpc/pmap_clnt.h: Likewise.
28384 * include/rpc/pmap_prot.h: Likewise.
28385 * include/rpc/pmap_rmt.h: Likewise.
28386 * include/rpc/rpc_msg.h: Likewise.
28387 * include/rpc/svc.h: Likewise.
28388 * include/rpc/svc_auth.h: Likewise.
28389 * include/rpc/xdr.h: Likewise.
28390 * nis/Makefile: Link all DSOs against linkobj/libc.so.
28391 * nss/Makefile: Likewise.
28392 * sunrpc/Makefile: Don't install headers. Build library with normal
28393 entry points. Don't build rpcinfo. Link RPC tests appropriately.
28394 * sunrpc/auth_des.c: Hide exported symbols by default, export some
28395 for the compat linking library. Remove use of INTDEF/INTUSE.
28396 * sunrpc/auth_none.c: Likewise.
28397 * sunrpc/auth_unix.c: Likewise.
28398 * sunrpc/authdes_prot.c: Likewise.
28399 * sunrpc/authuxprot.c: Likewise.
28400 * sunrpc/clnt_gen.c: Likewise.
28401 * sunrpc/clnt_perr.c: Likewise.
28402 * sunrpc/clnt_raw.c: Likewise.
28403 * sunrpc/clnt_simp.c: Likewise.
28404 * sunrpc/clnt_tcp.c: Likewise.
28405 * sunrpc/clnt_udp.c: Likewise.
28406 * sunrpc/clnt_unix.c: Likewise.
28407 * sunrpc/des_crypt.c: Likewise.
28408 * sunrpc/des_soft.c: Likewise.
28409 * sunrpc/get_myaddr.c: Likewise.
28410 * sunrpc/key_call.c: Likewise.
28411 * sunrpc/key_prot.c: Likewise.
28412 * sunrpc/netname.c: Likewise.
28413 * sunrpc/pm_getmaps.c: Likewise.
28414 * sunrpc/pm_getport.c: Likewise.
28415 * sunrpc/pmap_clnt.c: Likewise.
28416 * sunrpc/pmap_prot.c: Likewise.
28417 * sunrpc/pmap_prot2.c: Likewise.
28418 * sunrpc/pmap_rmt.c: Likewise.
28419 * sunrpc/publickey.c: Likewise.
28420 * sunrpc/rpc_cmsg.c: Likewise.
28421 * sunrpc/rpc_common.c: Likewise.
28422 * sunrpc/rpc_dtable.c: Likewise.
28423 * sunrpc/rpc_prot.c: Likewise.
28424 * sunrpc/rpc_thread.c: Likewise.
28425 * sunrpc/rtime.c: Likewise.
28426 * sunrpc/svc.c: Likewise.
28427 * sunrpc/svc_auth.c: Likewise.
28428 * sunrpc/svc_authux.c: Likewise.
28429 * sunrpc/svc_raw.c: Likewise.
28430 * sunrpc/svc_run.c: Likewise.
28431 * sunrpc/svc_simple.c: Likewise.
28432 * sunrpc/svc_tcp.c: Likewise.
28433 * sunrpc/svc_udp.c: Likewise.
28434 * sunrpc/svc_unix.c: Likewise.
28435 * sunrpc/svcauth_des.c: Likewise.
28436 * sunrpc/xcrypt.c: Likewise.
28437 * sunrpc/xdr.c: Likewise.
28438 * sunrpc/xdr_array.c: Likewise.
28439 * sunrpc/xdr_float.c: Likewise.
28440 * sunrpc/xdr_intXX_t.c: Likewise.
28441 * sunrpc/xdr_mem.c: Likewise.
28442 * sunrpc/xdr_rec.c: Likewise.
28443 * sunrpc/xdr_ref.c: Likewise.
28444 * sunrpc/xdr_sizeof.c: Likewise.
28445 * sunrpc/xdr_stdio.c: Likewise.
28446
e6c61494
UD
284472011-04-10 Ulrich Drepper <drepper@gmail.com>
28448
28449 [BZ #12650]
28450 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
28451 * sysdeps/ia64/dl-tls.h: Likewise.
28452 * sysdeps/powerpc/dl-tls.h: Likewise.
28453 * sysdeps/s390/dl-tls.h: Likewise.
28454 * sysdeps/sh/dl-tls.h: Likewise.
28455 * sysdeps/sparc/dl-tls.h: Likewise.
28456 * sysdeps/x86_64/dl-tls.h: Likewise.
28457 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
28458
34fe483e
AS
284592011-03-14 Andreas Schwab <schwab@redhat.com>
28460
28461 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
28462 rpath element also skip the following colon.
28463 (expand_dynamic_string_token): Add is_path parameter and pass
28464 down to DL_DST_REQUIRED and _dl_dst_substitute.
28465 (decompose_rpath): Call expand_dynamic_string_token with
28466 non-zero is_path. Ignore empty rpaths.
28467 (_dl_map_object_from_fd): Call expand_dynamic_string_token
28468 with zero is_path.
28469
f12a32e6
AS
284702011-04-08 Andreas Schwab <schwab@linux-m68k.org>
28471
28472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28473 Make cancelable.
28474
38a7d692
UD
284752011-04-09 Ulrich Drepper <drepper@gmail.com>
28476
28477 [BZ #12655]
28478 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
28479 Patch by Filipe David Manana <fdmanana@apache.org>.
28480
e451d22b
AS
284812011-04-07 Andreas Schwab <schwab@redhat.com>
28482
28483 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
28484 Maintain aligned stack.
28485 (CHECK_RSP): Remove unused macro.
28486
dedc7c7b
UD
284872011-04-03 Ulrich Drepper <drepper@gmail.com>
28488
28489 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
28490 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
28491
94521213
UD
284922011-04-02 Ulrich Drepper <drepper@gmail.com>
28493
28494 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
28495
8cb700c0 28496 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 28497
0354e355
L
284982011-03-26 H.J. Lu <hongjiu.lu@intel.com>
28499
28500 [BZ #12518]
28501 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
28502 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
28503 * sysdeps/x86_64/memmove.c: New file.
28504 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
28505 (memcpy): Renamed to ...
28506 (__new_memcpy): This.
28507 (memcpy): Provide GLIBC_2_14 memcpy.
28508 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
28509 (memcpy): Provide GLIBC_2_2_5 memcpy.
28510
8593482f
UD
285112011-04-01 Ulrich Drepper <drepper@gmail.com>
28512
28513 [BZ #12631]
28514 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
28515
81a5726b
AS
285162011-03-30 Andreas Schwab <schwab@redhat.com>
28517
28518 * misc/syncfs.c: New file.
28519 * misc/Makefile (routines): Add syncfs.
28520 * posix/unistd.h: Declare syncfs.
28521 * sysdeps/unix/syscalls.list: Add syncfs.
28522
00e5419f
AS
285232011-04-01 Andreas Schwab <schwab@redhat.com>
28524
28525 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
28526 open_by_handle_at.
28527 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28528 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28529 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28530 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28531 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28532 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
28533 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28534
748876bf
UD
285352011-04-01 Ulrich Drepper <drepper@gmail.com>
28536
658e451d
UD
28537 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
28538 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28539 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
28540 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28541 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28542 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28543 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28544
748876bf
UD
28545 * io/Makefile: Compile fallocate.c, fallocate64.c, and
28546 sync_file_range.c with -fexceptions.
28547 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
28548 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
28549 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
28550 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
28551 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
28552 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28553 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
28554 sync_file_range as cancellation point
28555 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
28556 now a wrapper around __call_sync_file_range with cancellation handling.
28557 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
28558 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
28559 function name to __call_sync_file_range.
28560 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
28561 Add call_sync_file_range.
748876bf 28562
6e63d5e1
AS
285632011-04-01 Andreas Schwab <schwab@redhat.com>
28564
28565 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 28566 bits/timex.h.
6e63d5e1 28567
46998f74
UD
285682011-04-01 Ulrich Drepper <drepper@gmail.com>
28569
4c1423ed
UD
28570 * iconv/iconv.h: Fix typo in comment.
28571 * io/fcntl.h: Likewise.
28572 * libio/stdio.h: Likewise.
28573 * posix/spawn.h: Likewise.
28574 * posix/unistd.h: Likewise.
28575 * stdlib/stdlib.h: Likewise.
28576 * time/time.h: Likewise.
28577 * wcsmbs/wchar.h: Likewise.
28578
158648c0
UD
28579 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
28580 open_by_handle): Add.
28581 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
28582 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
28583 Augment a few comments.
28584 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28585 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28586 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28587 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28588 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28589 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
28590 open_by_handle.
28591
46998f74
UD
28592 * io/fcntl.h (AT_EMPTY_PATH): Define.
28593
83fe108b
UD
285942011-03-30 Ulrich Drepper <drepper@gmail.com>
28595
28596 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
28597 * sysdeps/unix/sysv/linux/bits/time.h: New file.
28598 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
28599 to...
28600 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
28601 * Versions.def: Add GLIBC_2.14.
28602 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
28603 Export.
83fe108b 28604
bb242059
UD
286052011-03-22 Ulrich Drepper <drepper@gmail.com>
28606
28607 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
28608 round counter.
28609 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28610
c97a1282
L
286112011-03-20 H.J. Lu <hongjiu.lu@intel.com>
28612
28613 [BZ #12597]
28614 * string/test-strncmp.c (do_page_test): New function.
28615 (check2): Likewise.
28616 (test_main): Call check2.
28617 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
28618
2a115601
UD
286192011-03-20 Ulrich Drepper <drepper@gmail.com>
28620
28621 [BZ #12587]
28622 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
28623 Handle cache information in CPU leaf 4.
28624 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28625
8126d904
UD
286262011-03-18 Ulrich Drepper <drepper@gmail.com>
28627
042c49c6 28628 [BZ #12583]
8126d904
UD
28629 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
28630 character representation.
28631 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
28632
ccfe366e
RA
286332011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
28634
28635 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
28636 END(__isnan) to END(__isnanf) to match function entry point/label
28637 EALIGN(__isnanf,...).
28638
c6e13027
JJ
286392011-03-10 Jakub Jelinek <jakub@redhat.com>
28640
28641 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
28642
33f85a3f
UD
286432011-03-10 Ulrich Drepper <drepper@gmail.com>
28644
028478fa
UD
28645 [BZ #12510]
28646 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
28647 copy from the symbol referenced in the relocation to initialize the
28648 used variable.
28649 Patch by Piotr Bury <pbury@goahead.com>.
28650 * elf/Makefile: Add rules to build and tst-unique3.
28651 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
28652 * elf/tst-unique3.cc: New file.
28653 * elf/tst-unique3.h: New file.
28654 * elf/tst-unique3lib.cc: New file.
28655 * elf/tst-unique3lib2.cc: New file.
28656
33f85a3f
UD
28657 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
28658
03592fc7
MF
286592011-03-10 Mike Frysinger <vapier@gentoo.org>
28660
28661 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
28662 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
28663 to _start.
03592fc7 28664
6a5ee102
UD
286652011-03-06 Ulrich Drepper <drepper@gmail.com>
28666
28667 * elf/dl-load.c (_dl_map_object): If we are looking for the first
28668 to-be-loaded object along a path to loader is ld.so.
28669
7e4ba49c
HJ
286702011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28671 Ulrich Drepper <drepper@gmail.com>
28672
28673 * sysdeps/x86_64/memset.S: After aligning destination, code
28674 branches to different locations depending on the value of
28675 misalignment, when multiarch is enabled. Fix this.
28676
286772011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28678
28679 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
28680 Set _x86_64_preferred_memory_instruction for AMD processsors.
28681 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28682 Set bit_Prefer_SSE_for_memop for AMD processors.
28683
13a804de
UD
286842011-03-04 Ulrich Drepper <drepper@gmail.com>
28685
28686 * libio/fmemopen.c (fmemopen): Optimize a bit.
28687
9d25c392
AS
286882011-03-03 Andreas Schwab <schwab@redhat.com>
28689
28690 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
28691
a5543c6a
RM
286922011-03-03 Roland McGrath <roland@redhat.com>
28693
28694 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
28695
012d35f7
DM
286962011-02-28 Aurelien Jarno <aurelien@aurel32.net>
28697
7e4ba49c 28698 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
28699 __bzero_ultra1 instead of __memset_ultra1.
28700
4bff6e01
AS
287012011-02-23 Andreas Schwab <schwab@redhat.com>
28702 Ulrich Drepper <drepper@gmail.com>
28703
28704 [BZ #12509]
28705 * include/link.h (struct link_map): Add l_orig_initfini.
28706 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
28707 returning unsuccessfully.
28708 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
28709 close of a file loaded at startup, restore the original l_initfini
28710 list.
28711 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
28712 list, store the pointer.
28713 * elf/Makefile ($(objpfx)noload-mem): New rule.
28714 (noload-ENV): Define.
28715 (tests): Add $(objpfx)noload-mem.
28716 * elf/noload.c: Include <memcheck.h>.
28717 (main): Call mtrace. Close all opened handles.
28718
f2092faf
AS
287192011-02-17 Andreas Schwab <schwab@redhat.com>
28720
28721 [BZ #12454]
28722 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
28723 dependencies are missing.
28724
6c8a2e88
ST
287252011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
28726
f2092faf 28727 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
28728 Hurd needs munmap.
28729 * sysdeps/mach/hurd/ifreq.h: New file.
28730
84a42118
PB
287312011-01-27 Petr Baudis <pasky@suse.cz>
28732 Ulrich Drepper <drepper@gmail.com>
28733
071f805e 28734 [BZ 12445]#
84a42118
PB
28735 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
28736 to extend_alloca().
28737 * stdio-common/bug23.c: New file.
28738 * stdio-common/Makefile (tests): Add bug23.
28739
e23fe25b
AS
287402010-09-28 Andreas Schwab <schwab@redhat.com>
28741 Ulrich Drepper <drepper@gmail.com>
28742
28743 [BZ #12489]
28744 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
28745 before performing relro protection. At old place add assertion
28746 to make sure nothing changed.
28747
d3f02e10
NS
287482011-02-17 Nathan Sidwell <nathan@codesourcery.com>
28749 Glauber de Oliveira Costa <glommer@gmail.com>
28750
28751 * elf/elf.h: Add new ARM TLS relocs.
28752
d55fd7a5
RA
287532011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
28754
28755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28756 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
28757 cast from r3.
28758 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
28759 'tests' variable.
28760 * sysdeps/wordsize-64/tst-writev.c: New file.
28761
2206397e
RA
287622011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
28763
28764 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
28765 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
28766 insns in _dl_start to prevent a TOC reference before relocs are
28767 resolved.
28768
e9433893
UD
287692011-02-15 Ulrich Drepper <drepper@gmail.com>
28770
28771 [BZ #12469]
28772 * Makeconfig: Remove RANLIB definition.
28773 * Makerules: Don't use RANLIB.
28774 * aclocal.m4: Remove ranlib test.
28775 * configure.in: No need to check for ranlib.
28776 * elf/rtld-Rules: Don't use RANLIB.
28777
f75286c6
ST
287782011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
28779
8e31c82d
ST
28780 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
28781 protection macro.
28782 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
28783 inclusion protection macro.
28784
f75286c6
ST
28785 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
28786 SIGRTMIN and SIGRTMAX and print information in that case only when
28787 SIGRTMIN is defined.
28788
c1d0e639
JJ
287892011-02-11 Jakub Jelinek <jakub@redhat.com>
28790
28791 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
28792 arginfo fn returning -1.
28793
28794 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
28795 and thousands string is zero terminated.
28796
edf9294e
AS
287972011-02-03 Andreas Schwab <schwab@redhat.com>
28798
28799 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
28800 sysdeps/unix/sysv/linux/bits/socket.h.
28801
2b7e92df
ST
288022011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
28803
edf9294e
AS
28804 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
28805 (__CPU_COUNT): Remove old macros.
28806 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
28807 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
28808 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
28809 (__sched_cpualloc, __sched_cpufree): Add declarations.
28810
a4c7ea7b
UD
288112011-02-05 Ulrich Drepper <drepper@gmail.com>
28812
28813 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
28814 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
28815 * nscd/aicache.c (addhstaiX): Return timeout of added value.
28816 (readdhstai): Return value of addhstaiX call.
28817 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
28818 (addgrbyX): Return value returned by cache_addgr.
28819 (readdgrbyname): Return value returned by addgrbyX.
28820 (readdgrbygid): Likewise.
28821 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
28822 (addpwbyX): Return value returned by cache_addpw.
28823 (readdpwbyname): Return value returned by addhstbyX.
28824 (readdpwbyuid): Likewise.
28825 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
28826 (addservbyX): Return value returned by cache_addserv.
28827 (readdservbyname): Return value returned by addservbyX:
28828 (readdservbyport): Likewise.
28829 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
28830 (addhstbyX): Return value returned by cache_addhst.
28831 (readdhstbyname): Return value returned by addhstbyX.
28832 (readdhstbyaddr): Likewise.
28833 (readdhstbynamev6): Likewise.
28834 (readdhstbyaddrv6): Likewise.
28835 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
28836 (readdinitgroups): Return value returned by addinitgroupsX.
28837 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
28838 (prune_cache): Keep track of timeout value of re-added entries.
28839 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
28840 * nscd/nscd.h: Adjust prototypes of readd* functions.
28841
a0bf67cc
RM
288422011-02-04 Roland McGrath <roland@redhat.com>
28843
28844 * nis/nis_server.c (nis_servstate): Use the right name for 0.
28845 (nis_stats): Likewise.
28846 * nis/nis_modify.c (nis_modify): Likewise.
28847 * nis/nis_remove.c (nis_remove): Likewise.
28848 * nis/nis_add.c (nis_add): Likewise.
28849
28850 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
28851
28852 * posix/fnmatch_loop.c: Add some consts.
28853
28854 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
28855
435b95eb
L
288562011-02-02 H.J. Lu <hongjiu.lu@intel.com>
28857
28858 [BZ #12460]
28859 * config.make.in (config-cflags-novzeroupper): Define.
28860 * configure.in: Substitute libc_cv_cc_novzeroupper.
28861 * elf/Makefile (AVX-CFLAGS): Define.
28862 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
28863 (CFLAGS-tst-auditmod4a.c): Likewise.
28864 (CFLAGS-tst-auditmod4b.c): Likewise.
28865 (CFLAGS-tst-auditmod6b.c): Likewise.
28866 (CFLAGS-tst-auditmod6c.c): Likewise.
28867 (CFLAGS-tst-auditmod7b.c): Likewise.
28868 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
28869
8517b15e
UD
288702011-02-02 Ulrich Drepper <drepper@gmail.com>
28871
28872 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
28873 function to the callback.
28874 Patch partly by Jiri Olsa <jolsa@redhat.com>.
28875
10a656fe
AS
288762011-02-02 Andreas Schwab <schwab@redhat.com>
28877
28878 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
28879 of errno.
28880
968dad0a
UD
288812011-01-19 Ulrich Drepper <drepper@gmail.com>
28882
9f94d2ea 28883 [BZ #11724]
968dad0a
UD
28884 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
28885 of constructors.
28886 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
28887 of destructors.
28888 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
28889
28890 [BZ #11724]
28891 * elf/Makefile: Add rules to build and run new test.
28892 * elf/tst-initorder.c: New file.
28893 * elf/tst-initorder.exp: New file.
28894 * elf/tst-initordera1.c: New file.
28895 * elf/tst-initordera2.c: New file.
28896 * elf/tst-initordera3.c: New file.
28897 * elf/tst-initordera4.c: New file.
28898 * elf/tst-initorderb1.c: New file.
28899 * elf/tst-initorderb2.c: New file.
28900 * elf/tst-order-a1.c: New file.
28901 * elf/tst-order-a2.c: New file.
28902 * elf/tst-order-a3.c: New file.
28903 * elf/tst-order-a4.c: New file.
28904 * elf/tst-order-b1.c: New file.
28905 * elf/tst-order-b2.c: New file.
28906 * elf/tst-order-main.c: New file.
28907 New test case by George Gensure <werkt0@gmail.com>.
28908
86e92359
UD
289092010-10-01 Andreas Schwab <schwab@redhat.com>
28910
28911 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28912 decoding ACE if AI_CANONIDN.
28913
5d5732b0
UD
289142011-01-18 Ulrich Drepper <drepper@gmail.com>
28915
28916 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
28917
a77e8cbc
UD
289182011-01-17 Ulrich Drepper <drepper@gmail.com>
28919
6392473f
UD
28920 * version.h (RELEASE): Bump for 2.13 release.
28921 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
28922
620a0529
UD
28923 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
28924
18ba70a5
UD
28925 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
28926 MADV_NOHUGEPAGE.
32465c3e
UD
28927 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
28928 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28929 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28930 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28931 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28932 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
28933
c0dafcf1
UD
28934 * posix/getconf.c: Update copyright year.
28935 * catgets/gencat.c: Likewise.
28936 * csu/version.c: Likewise.
28937 * debug/catchsegv.sh: Likewise.
28938 * debug/xtrace.sh: Likewise.
28939 * elf/ldconfig.c: Likewise.
28940 * elf/ldd.bash.in: Likewise.
28941 * elf/sprof.c (print_version): Likewise.
28942 * iconv/iconv_prog.c: Likewise.
28943 * iconv/iconvconfig.c: Likewise.
28944 * locale/programs/locale.c: Likewise.
28945 * locale/programs/localedef.c: Likewise.
28946 * malloc/memusage.sh: Likewise.
28947 * malloc/mtrace.pl: Likewise.
28948 * nscd/nscd.c (print_version): Likewise.
28949 * nss/getent.c: Likewise.
28950
a77e8cbc
UD
28951 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
28952 PF_CAIF, and PF_ALG.
28953 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28954
77e8bddf
AS
289552011-01-16 Andreas Schwab <schwab@linux-m68k.org>
28956
1f20b93a
AS
28957 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
28958 (modules-names): Use them.
28959 (ifunc-test-modules, ifunc-pie-tests): Define.
28960 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
28961 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
28962 (test-extras): Likewise.
28963 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
28964 $(compile-command.c).
28965 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
28966 (all-built-dso): Define.
28967 (check-textrel.out, check-execstack.out): Depend on it.
28968
77e8bddf
AS
28969 * configure.in: Don't override --enable-multi-arch.
28970
bc425b33
UD
289712011-01-15 Ulrich Drepper <drepper@gmail.com>
28972
28973 [BZ #6812]
28974 * nscd/hstcache.c (tryagain): Define.
28975 (cache_addhst): Return tryagain not notfound for temporary errors.
28976 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
28977 failed.
28978
794c3ad3
UD
289792011-01-14 Ulrich Drepper <drepper@gmail.com>
28980
70181fdd
UD
28981 [BZ #10563]
28982 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
28983 to make the syscall.
28984 * sysdeps/unix/sysv/linux/setgroups.c: New file.
28985
794c3ad3
UD
28986 [BZ #12378]
28987 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
28988 and fall back to matching as normal character if the string ends before
28989 the matching ']' is found. This is what POSIX requires.
28990 * posix/testfnm.c: Adjust test result.
28991 * posix/globtest.sh: Adjust test result. Add new test.
28992 * posix/tst-fnmatch.input: Likewise.
28993 * posix/tst-fnmatch2.c: Add new test.
28994
68dc9497
AS
289952010-12-28 Andreas Schwab <schwab@linux-m68k.org>
28996
28997 * elf/Makefile (check-execstack): Revert last change. Depend on
28998 check-execstack.h.
28999 (check-execstack.h): New target.
29000 (generated): Add check-execstack.h.
29001 * elf/check-execstack.c: Include "check-execstack.h".
29002 (main): Revert last change.
29003 (handle_file): Return zero if GNU_STACK is absent and
29004 DEFAULT_STACK_PERMS doesn't include PF_X.
29005
451f001b
UD
290062011-01-13 Ulrich Drepper <drepper@gmail.com>
29007
cfa28e56
UD
29008 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
29009 in child fails because the descriptor is already closed.
8cf8ce17
UD
29010 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
29011 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
29012 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 29013
1086d70d
UD
29014 [BZ #12397]
29015 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
29016 syscall.
29017
451f001b
UD
29018 [BZ #10484]
29019 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
29020 temporary buffer used to handle multi lookups locally.
a85b5cb4 29021 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 29022
08769175
UD
290232011-01-12 Ulrich Drepper <drepper@gmail.com>
29024
29025 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
29026 loader is ld.so.
29027
5e49c52e
UD
290282011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
29029
29030 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
29031 alignment for SSE2.
29032
60522a5f
UD
290332011-01-12 Ulrich Drepper <drepper@gmail.com>
29034
29035 [BZ #12394]
29036 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
29037 characters. When rounding increased number of integer digits recompute
29038 number of groups.
29039 * stdio-common/tst-grouping.c: New file.
29040 * stdio-common/Makefile: Add rules to build and run tst-grouping.
29041
f257bbd7
UD
290422011-01-09 Ulrich Drepper <drepper@gmail.com>
29043
29044 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
29045 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
29046
29047 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
29048 void.
29049 * bits/select.h: Likewise.
29050
fa9c15cb
UD
290512011-01-08 Ulrich Drepper <drepper@gmail.com>
29052
29053 * po/ja.po: Update from translation team.
29054
16c2895f
DM
290552011-01-04 David S. Miller <davem@sunset.davemloft.net>
29056
29057 [BZ #11155]
29058 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
29059 implementation just like for lxstat, fxstatat, et al.
29060
2543fef2
JM
290612010-12-27 Jim Meyering <meyering@redhat.com>
29062
29063 [BZ #12348]
29064 * posix/regexec.c (build_trtable): Return failure indication upon
29065 calloc failure. Otherwise, re_search_internal could infloop on OOM.
29066
98727dbe
UD
290672010-12-25 Ulrich Drepper <drepper@gmail.com>
29068
5bd6dc5c
UD
29069 [BZ #12201]
29070 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
29071 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
29072 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
29073 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
29074
97983464
UD
29075 [BZ #12207]
29076 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
29077
98727dbe
UD
29078 [BZ #12204]
29079 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
29080 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
29081
4a531bb0
L
290822010-12-15 H.J. Lu <hongjiu.lu@intel.com>
29083
29084 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
29085 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
29086 script has SORT_BY_INIT_PRIORITY.
29087 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
29088 NO_CTORS_DTORS_SECTIONS is defined.
29089 * elf/soinit.c: Likewise.
29090 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
29091 NO_CTORS_DTORS_SECTIONS is defined.
29092 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
29093 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
29094 * sysdeps/sh/init-first.c: Likewise.
29095 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
29096
07eb4b71
UD
290972010-12-24 Ulrich Drepper <drepper@gmail.com>
29098
29099 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
29100 always use the slow path.
29101
30950a5f
RA
291022010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
29103
29104 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
29105 similar rule which adds the sysdep directories to the header search in
29106 order to pick up the correct platform stackinfo.h.
29107 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
29108 perform test if it is, otherwise return successfully without testing.
29109 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
29110 DEFAULT_STACK_PERMS define in stackinfo.h.
29111 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
29112 defined in stackinfo.h.
29113 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
29114 DEFAULT_STACK_PERMS defined in stackinfo.h.
29115 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
29116 * sysdeps/ia64/stackinfo.h: Likewise.
29117 * sysdeps/s390/stackinfo.h: Likewise.
29118 * sysdeps/sh/stackinfo.h: Likewise.
29119 * sysdeps/sparc/stackinfo.h: Likewise.
29120 * sysdeps/x86_64/stackinfo.h: Likewise.
29121 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
29122 PF_X for powerpc64. Retain PF_X for powerpc32.
29123
db753e2c
UD
291242010-12-19 Ulrich Drepper <drepper@gmail.com>
29125
14b697f7
UD
29126 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
29127 accurately.
db753e2c
UD
29128 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
29129 GETDENTS_64BIT_ALIGNED.
29130
28300719
UD
291312010-12-14 Ulrich Drepper <dreper@gmail.com>
29132
14b697f7 29133 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 29134
4f197237
AS
291352010-12-10 Andreas Schwab <schwab@redhat.com>
29136
dbb0472f
AS
29137 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
29138 _GNU_SOURCE.
29139
4f197237
AS
29140 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
29141 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
29142 Remove __restrict.
29143 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
29144 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
29145
fb88ac72
UD
291462010-12-09 Ulrich Drepper <drepper@gmail.com>
29147
29148 [BZ #11655]
29149 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
29150 are initialized.
29151
42acbb92
JJ
291522010-12-09 Jakub Jelinek <jakub@redhat.com>
29153
29154 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
29155
c038d98d
UD
291562010-12-03 Ulrich Drepper <drepper@gmail.com>
29157
29158 * po/it.po: Update from translation team.
29159
3a4a2499
L
291602010-12-01 H.J. Lu <hongjiu.lu@intel.com>
29161
29162 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
29163 unused codes.
29164
1e24cf6e
UD
291652010-11-30 Ulrich Drepper <drepper@gmail.com>
29166
29167 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
29168
a7690819
AS
291692010-11-24 Andreas Schwab <schwab@redhat.com>
29170
29171 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
29172 specially.
29173 (gaih_getanswer_slice): Likewise.
29174
3bf8d1b1
JJ
291752010-10-20 Jakub Jelinek <jakub@redhat.com>
29176
29177 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
29178
6db52fbb
PB
291792010-05-31 Petr Baudis <pasky@suse.cz>
29180
29181 [BZ #11149]
29182 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
29183 silently even in the chroot mode.
29184
eaca7569
UD
291852010-11-22 Ulrich Drepper <drepper@gmail.com>
29186
29187 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
29188 last patch a bit. Pretty printing
29189
3056dcdb
UD
291902010-05-31 Petr Baudis <pasky@suse.cz>
29191
29192 [BZ #10085]
29193 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
29194 initialization of skip_initgroups_dyn.
29195
cf7c9078
UD
291962010-11-19 Ulrich Drepper <drepper@gmail.com>
29197
29198 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
29199 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29200
a1fb5e3e
UD
292012010-11-16 Ulrich Drepper <drepper@gmail.com>
29202
29203 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
29204
3540d66b
AS
292052010-11-11 Andreas Schwab <schwab@redhat.com>
29206
29207 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
29208 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
29209 (tst-fnmatch-ENV): Set MALLOC_TRACE.
29210 ($(objpfx)tst-fnmatch-mem): New rule.
29211 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
29212 * posix/tst-fnmatch.c (main): Call mtrace.
29213
13b69574
L
292142010-11-11 H.J. Lu <hongjiu.lu@intel.com>
29215
29216 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29217 Support Intel processor model 6 and model 0x2c.
29218
da93d214
LM
292192010-11-10 Luis Machado <luisgpm@br.ibm.com>
29220
29221 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
29222 signed comparison.
29223
8ca52c6e
L
292242010-11-09 H.J. Lu <hongjiu.lu@intel.com>
29225
29226 [BZ #12205]
29227 * string/test-strncasecmp.c (check_result): New function.
29228 (do_one_test): Use it.
29229 (check1): New function.
29230 (test_main): Use it.
29231 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
29232 Support strcasecmp and strncasecmp.
29233
69da074d
UD
292342010-11-08 Ulrich Drepper <drepper@gmail.com>
29235
29236 [BZ #12194]
29237 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
29238 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29239
ff02d528
L
292402010-11-07 H.J. Lu <hongjiu.lu@intel.com>
29241
29242 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
29243 IFUNC support.
29244 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29245 memset-x86-64.
29246 * sysdeps/x86_64/multiarch/bzero.S: New file.
29247 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
29248 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
29249 * sysdeps/x86_64/multiarch/memset.S: New file.
29250 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
29251 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29252 Set bit_Prefer_SSE_for_memop for Intel processors.
29253 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
29254 Define.
29255 (index_Prefer_SSE_for_memop): Define.
29256 (HAS_PREFER_SSE_FOR_MEMOP): Define.
29257
344d0b54
LM
292582010-11-04 Luis Machado <luisgpm@br.ibm.com>
29259
29260 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
29261 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
29262
c0dde15b
UD
292632010-11-03 H.J. Lu <hongjiu.lu@intel.com>
29264
29265 [BZ #12191]
29266 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29267 (__x86_64_raw_data_cache_size_half): Likewise.
29268 (__x86_64_raw_shared_cache_size): Likewise.
29269 (__x86_64_raw_shared_cache_size_half): Likewise.
29270
29271 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29272 (__x86_64_raw_data_cache_size_half): Likewise.
29273 (__x86_64_raw_shared_cache_size): Likewise.
29274 (__x86_64_raw_shared_cache_size_half): Likewise.
29275 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
29276 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
29277 and __x86_64_raw_shared_cache_size_half. Round
29278 __x86_64_data_cache_size_half, __x86_64_data_cache_size
29279 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
29280 to multiple of 256 bytes.
29281
0e516e0e
MS
292822010-11-03 Ulrich Drepper <drepper@gmail.com>
29283
29284 [BZ #12167]
29285 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
29286 of inacessible symlinks. Verify result of symlink before returning it.
29287 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
29288 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
29289
0e012e87
ER
292902010-10-28 Erich Ritz <erichritz@gmail.com>
29291
29292 * math/math.h (isinf): Fix typo in comment.
29293
de0ff7bc
UD
292942010-11-01 Ulrich Drepper <drepper@gmail.com>
29295
29296 * po/da.po: Update from translation team.
29297
fa41c84d
UD
292982010-10-26 Ulrich Drepper <drepper@gmail.com>
29299
29300 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
29301 is added to the list.
29302
f0967738
AK
293032010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29304 Ulrich Drepper <drepper@gmail.com>
29305
29306 * elf/dl-object.c (_dl_new_object): Don't append the new object to
29307 the global list here. Move code to...
29308 (_dl_add_to_namespace_list): ...here. New function.
29309 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
29310 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
29311 * elf/dl-load.c (lose): Don't remove the element from the list.
29312 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
29313 (_dl_map_object): Likewise.
29314
293152010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
29316
29317 [BZ #12159]
29318 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
29319 into all bytes of SSE register.
29320 Patch by Richard Li <richardpku@gmail.com>.
29321
f0967738 293222010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
29323
29324 [BZ #12140]
29325 * malloc/malloc.c (_int_free): Fill correct number of bytes when
29326 perturbing.
29327
d0b9e94f
MB
293282010-10-20 Michael B. Brutman <brutman@us.ibm.com>
29329
29330 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
29331 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
29332 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
29333 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
29335 submachine.
29336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
29337
8e9f92e9
AS
293382010-10-22 Andreas Schwab <schwab@redhat.com>
29339
29340 * include/dlfcn.h (__RTLD_SECURE): Define.
29341 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
29342 mode & __RTLD_SECURE instead.
29343 (open_path): Rename preloaded parameter to secure.
29344 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
29345 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
29346 * elf/dl-deps.c (openaux): Likewise.
29347 * elf/rtld.c (struct map_args): Remove is_preloaded.
29348 (map_doit): Don't use it.
29349 (dl_main): Likewise.
29350 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
29351 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
29352
bc96fbda
AS
293532010-09-09 Andreas Schwab <schwab@redhat.com>
29354
29355 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
29356 (sysd-rules-targets): Remove duplicates.
29357 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
29358 rtld-%.$o dependency.
29359
22cd1c9b
AS
293602010-10-18 Andreas Schwab <schwab@redhat.com>
29361
29362 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
29363 _dl_map_object do it.
29364
18edac48
UD
293652010-10-19 Ulrich Drepper <drepper@gmail.com>
29366
29367 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
29368 fast fma builtins, define the macros in the C99 standard.
29369 (FP_FAST_FMAF): Likewise.
29370 (FP_FAST_FMAL): Likewise.
29371 * sysdeps/x86_64/bits/mathdef.h: Likewise.
29372
29373 * bits/mathdef.h: Update copyright year.
29374 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29375
d2050124
MM
293762010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
29377
29378 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
29379 builtins, define the macros in the C99 standard.
29380 (FP_FAST_FMAF): Likewise.
29381 (FP_FAST_FMAL): Likewise.
29382 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
29383 multiply/add.
29384 (FP_FAST_FMAF): Likewise.
29385
475facd1
JJ
293862010-10-15 Jakub Jelinek <jakub@redhat.com>
29387
29388 [BZ #3268]
29389 * math/libm-test.inc (fma_test): Some new testcases.
29390 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
29391 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
29392 y and infinite z. Do multiplication by C already in long double.
29393 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
29394 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
29395 y and infinite z. Do bitwise or of inexact bit into u.d.
29396 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
29397 * sysdeps/i386/fpu/s_fmaf.S: Removed.
29398 * sysdeps/i386/fpu/s_fma.S: Removed.
29399 * sysdeps/i386/fpu/s_fmal.S: Removed.
29400
7c08a05c
JJ
294012010-10-16 Jakub Jelinek <jakub@redhat.com>
29402
29403 [BZ #3268]
29404 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
29405 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
29406 computation is not scheduled after fetestexcept. Fix value
29407 of minimum denormal long double.
29408
f3f7372d
JJ
294092010-10-14 Jakub Jelinek <jakub@redhat.com>
29410
29411 [BZ #3268]
29412 * math/libm-test.inc (fma_test): Add some more tests.
29413 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
29414 correctly.
29415
14d43591
AS
294162010-10-15 Andreas Schwab <schwab@redhat.com>
29417
29418 * scripts/data/localplt-s390-linux-gnu.data: New file.
29419 * scripts/data/localplt-s390x-linux-gnu.data: New file.
29420
5e908464
JJ
294212010-10-13 Jakub Jelinek <jakub@redhat.com>
29422
29423 [BZ #3268]
29424 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
29425 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
29426 instead of dbl-64.
29427 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
29428 inlines.
29429 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
29430 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
29431 if one of x and y is very large and the other is subnormal.
29432 * sysdeps/s390/fpu/s_fmaf.c: New file.
29433 * sysdeps/s390/fpu/s_fma.c: New file.
29434 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
29435 * sysdeps/powerpc/fpu/s_fma.S: New file.
29436 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
29437 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
29438 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
29439
294402010-10-12 Jakub Jelinek <jakub@redhat.com>
29441
29442 [BZ #3268]
29443 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
29444 fma tests.
29445 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
29446 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
29447 * sysdeps/i386/i686/multiarch/s_fma.c: Include
29448 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
29449 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
29450 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
29451 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
29452
b833d51f
UD
294532010-10-12 Ulrich Drepper <drepper@redhat.com>
29454
29455 [BZ #12078]
29456 * posix/regcomp.c (parse_branch): One more memory leak plugged.
29457 * posix/bug-regex31.input: Add test case.
29458
1751705d
UD
294592010-10-11 Ulrich Drepper <drepper@gmail.com>
29460
e9b9cbf5
UD
29461 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
29462 * posix/bug-regex31.input: New file.
29463
29464 [BZ #12078]
29465 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
29466 (parse_sub_exp): Fix last change, use postorder.
29467
ef06edbe
UD
29468 * posix/bug-regex31.c: New file.
29469 * posix/Makefile: Add rules to build and run bug-regex31.
29470
a129c80d
UD
29471 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
29472
29473 [BZ #12078]
29474 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
29475
b76b818e
UD
29476 [BZ #12108]
29477 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
29478 to have entries in sys_siglist.
29479
1751705d
UD
29480 [BZ #12093]
29481 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
29482 be NULL.
29483
9ff8d36f
JJ
294842010-10-07 Jakub Jelinek <jakub@redhat.com>
29485
29486 [BZ #3268]
29487 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
29488 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
29489 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
29490 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
29491 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29492 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
29493 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
29494 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
29495 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
29496 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
29497 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
29498 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
29499 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29500 * math/ftestexcept.c (fetestexcept): Likewise.
29501 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
29502 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
29503 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
29504 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
29505 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
29506 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
29507 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29508
af325969
UD
295092010-10-11 Ulrich Drepper <drepper@gmail.com>
29510
c579b202 29511 [BZ #12107]
af325969
UD
29512 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
29513 newline.
29514
67a67b95
UD
295152010-10-06 Ulrich Drepper <drepper@gmail.com>
29516
29517 * string/bug-strstr1.c: New file.
29518 * string/Makefile: Add rules to build and run bug-strstr1.
29519
5fb308bc
EB
295202010-10-05 Eric Blake <eblake@redhat.com>
29521
29522 [BZ #12092]
29523 * string/str-two-way.h (two_way_long_needle): Always clear memory
29524 when skipping input due to the shift table.
29525
45db99c7
UD
295262010-10-03 Ulrich Drepper <drepper@gmail.com>
29527
3b111893
UD
29528 [BZ #12005]
29529 * malloc/mcheck.c: Handle large requests.
29530
45db99c7
UD
29531 [BZ #12077]
29532 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
29533 for strncmp and strncasecmp.
29534 * string/stratcliff.c: Add tests for strcmp and strncmp.
29535 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
29536
cf7a1eb8
NI
295372010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29538
29539 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
29540 __set_fpscr.
29541
6484ba5e
AJ
295422010-09-30 Andreas Jaeger <aj@suse.de>
29543
29544 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
29545 (CGROUP_SUPER_MAGIC): Define.
29546 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29547 Handle btrfs and cgroup file systems.
29548 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29549 Likewise.
29550
91c42559
LM
295512010-09-27 Luis Machado <luisgpm@br.ibm.com>
29552
29553 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
29554 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
29555
87a97932
AK
295562010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29557
29558 [BZ #12067]
29559 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
29560 trying to locate the ELF header.
29561
c21cc9bc
AS
295622010-09-27 Andreas Schwab <schwab@redhat.com>
29563
29564 [BZ #11611]
29565 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
29566 Mask out sign-bit copies when constructing f_fsid.
29567
315970f6
PB
295682010-09-24 Petr Baudis <pasky@suse.cz>
29569
29570 * debug/stack_chk_fail_local.c: Add missing licence exception.
29571 * debug/warning-nop.c: Likewise.
29572
1ac7a2c7
JM
295732010-09-15 Joseph Myers <joseph@codesourcery.com>
29574
29575 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
29576 implementing getdents64 using getdents syscall, set d_type if
29577 __ASSUME_GETDENTS32_D_TYPE.
29578
56801c50
AS
295792010-09-16 Andreas Schwab <schwab@redhat.com>
29580
29581 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
29582 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
29583
dda51327
UD
295842010-09-21 Ulrich Drepper <drepper@redhat.com>
29585
29586 [BZ #12037]
29587 * posix/unistd.h: Undo change of feature selection for ftruncate from
29588 2010-01-11.
29589
8ffcee4a
UD
295902010-09-20 Ulrich Drepper <drepper@redhat.com>
29591
a545ecd9 29592 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
29593 detection.
29594
e24f0a8b
AS
295952010-09-20 Andreas Schwab <schwab@redhat.com>
29596
29597 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
29598 fanotify_mark.
29599 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
29600
7291c56f
AS
296012010-09-14 Andreas Schwab <schwab@redhat.com>
29602
29603 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
29604 variables after CHECK_SP call.
29605 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
29606
bc5fb037
AS
296072010-09-13 Andreas Schwab <schwab@redhat.com>
29608 Ulrich Drepper <drepper@redhat.com>
29609
29610 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
29611 re-relocationg ld.so.
29612 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
29613 _dl_init_paths call.
29614 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
29615 here anymore.
29616
e66e7419
UD
296172010-09-14 Ulrich Drepper <drepper@redhat.com>
29618
29619 * resolv/res_init.c (__res_vinit): Count the default server we added.
29620
c044aa75
CLT
296212010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
29622 Ulrich Drepper <drepper@redhat.com>
29623
29624 [BZ #11968]
29625 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29626 (____longjmp_chk): Use %ebx for saving value across system call.
29627 Add unwind info.
29628
32cf4069
AS
296292010-09-06 Andreas Schwab <schwab@redhat.com>
29630
29631 * manual/Makefile: Don't mix pattern rules with normal rules.
29632
817328ee
AS
296332010-09-05 Andreas Schwab <schwab@linux-m68k.org>
29634
29635 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
29636 operation.
29637 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
29638 * libio/iofopncook.c (_IO_cookie_init): Likewise.
29639 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
29640 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
29641 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29642 Likewise.
29643
29fddf61
UD
296442010-09-04 Ulrich Drepper <drepper@redhat.com>
29645
29646 [BZ #11979]
29647 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
29648 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
29649
0959ffc9
UD
296502010-09-02 Ulrich Drepper <drepper@redhat.com>
29651
29652 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
29653 * sysdeps/x86_64/addmul_1.S: Likewise.
29654 * sysdeps/x86_64/lshift.S: Likewise.
29655 * sysdeps/x86_64/mul_1.S: Likewise.
29656 * sysdeps/x86_64/rshift.S: Likewise.
29657 * sysdeps/x86_64/sub_n.S: Likewise.
29658 * sysdeps/x86_64/submul_1.S: Likewise.
29659
ece29840
ST
296602010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
29661
0959ffc9
UD
29662 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
29663 Define __sched_param instead of SCHED_* and sched_param when
ece29840 29664 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 29665 * bits/sched.h [__need_schedparam]
ece29840 29666 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
29667 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
29668 (__defined_schedparam): Define to 1.
ece29840
ST
29669 (__sched_param): New structure, identical to sched_param.
29670 (__need_schedparam): Undefine.
29671
e53a31fe
MF
296722010-08-31 Mike Frysinger <vapier@gentoo.org>
29673
fdc0c10d
MF
29674 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
29675 (epoll_create1): Declare.
29676
e53a31fe
MF
29677 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
29678
a726d796
AS
296792010-08-31 Andreas Schwab <schwab@redhat.com>
29680
29681 [BZ #7066]
29682 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
29683 shifting retval into place.
29684
2f3e3dc7
UD
296852010-09-01 Ulrich Drepper <drepper@redhat.com>
29686
f2933da9
UD
29687 * nis/rpcsvc/nis.h: Update copyright notice.
29688 * nis/rpcsvc/nis.x: Likewise.
29689 * nis/rpcsvc/nis_callback.h: Likewise.
29690 * nis/rpcsvc/nis_callback.x: Likewise.
29691 * nis/rpcsvc/nis_object.x: Likewise.
29692 * nis/rpcsvc/nis_tags.h: Likewise.
29693 * nis/rpcsvc/yp.h: Likewise.
29694 * nis/rpcsvc/yp.x: Likewise.
29695 * nis/rpcsvc/ypupd.h: Likewise.
29696 * nis/yp_xdr.c: Likewise.
29697 * nis/ypupdate_xdr.c: Likewise.
29698
2f3e3dc7
UD
29699 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
29700 mainly the body of pmap_getport. Add parameters to specify timeouts.
29701 (pmap_getport): Use __libc_rpc_getport.
29702 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
29703 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
29704 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
29705
f3dcc2f9
AS
297062010-08-31 Andreas Schwab <schwab@linux-m68k.org>
29707
29708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
29709 fanotify_mark.
29710
6d34eb5b
RM
297112010-08-27 Roland McGrath <roland@redhat.com>
29712
29713 * sysdeps/i386/i686/multiarch/Makefile
29714 (CFLAGS-varshift.c): New variable.
29715
9ea3de11
UD
297162010-08-27 Ulrich Drepper <drepper@redhat.com>
29717
c96d23fc
UD
29718 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
29719 * sysdeps/i386/i686/multiarch/varshift.c: New file.
29720
9ea3de11
UD
29721 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
29722
29723 * sysdeps/x86_64/strlen.S: Minimal code improvement.
29724
623aac7f
L
297252010-08-26 H.J. Lu <hongjiu.lu@intel.com>
29726
29727 * sysdeps/x86_64/strlen.S: Unroll the loop.
29728 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29729 strlen-sse2 strlen-sse2-bsf.
29730 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
29731 __strlen_no_bsf if bit_Slow_BSF is set.
29732 (__strlen_sse42): Removed.
29733 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
29734 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
29735
8b2b7715
RM
297362010-08-25 Roland McGrath <roland@redhat.com>
29737
29738 * sysdeps/x86_64/multiarch/varshift.S: File removed.
29739 * sysdeps/x86_64/multiarch/varshift.c: New file.
29740 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
29741 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
29742 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
29743 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29744
e73015f2
L
297452010-08-25 H.J. Lu <hongjiu.lu@intel.com>
29746
29747 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29748 strlen-sse2 strlen-sse2-bsf.
29749 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
29750 __strlen_sse2_bsf if bit_Slow_BSF is unset.
29751 (__strlen_sse2): Removed.
29752 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
29753 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
29754 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29755 bit_Slow_BSF for Atom.
29756 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
29757 (index_Slow_BSF): Define.
29758 (HAS_SLOW_BSF): Define.
29759
df24a73e
UD
297602010-08-25 Ulrich Drepper <drepper@redhat.com>
29761
29762 [BZ #10851]
29763 * resolv/res_init.c (__res_vinit): When no server address at all
29764 is given default to loopback.
29765
f2ac4868
RM
297662010-08-24 Roland McGrath <roland@redhat.com>
29767
09055553
RM
29768 * configure.in: Remove config-name.h generation.
29769 * configure: Regenerated.
29770 * config-name.in: File removed.
29771 * scripts/config-uname.sh: New file.
29772 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
29773 ($(objdir)config-name.h): New target.
29774
f2ac4868
RM
29775 * sunrpc/rpc_parse.h: Avoid nested comment.
29776
73f27d5e
RH
297772010-08-24 Richard Henderson <rth@redhat.com>
29778 Ulrich Drepper <drepper@redhat.com>
29779 H.J. Lu <hongjiu.lu@intel.com>
29780
29781 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
29782 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
29783 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
29784 Replace _mm_srli_si128 with __m128i_shift_right. Replace
29785 _mm_alignr_epi8 with _mm_loadu_si128.
29786 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
29787 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
29788 (__m128i_shift_right): Removed.
29789 * sysdeps/i386/i686/multiarch/varshift.h: New file.
29790 * sysdeps/i386/i686/multiarch/varshift.S: New file.
29791 * sysdeps/x86_64/multiarch/varshift.h: New file.
29792 * sysdeps/x86_64/multiarch/varshift.S: New file.
29793
84b9230c
MF
297942010-08-21 Mike Frysinger <vapier@gentoo.org>
29795
29796 * configure.in: Move assembler checks to before sysdep dir checking.
29797
9bbd0ddc
PB
297982010-08-20 Petr Baudis <pasky@suse.cz>
29799
29800 * LICENSES: Sync the sunrpc license.
29801
9da4bb31
UD
298022010-08-19 Ulrich Drepper <drepper@redhat.com>
29803
a7ab6ec8
UD
29804 * sunrpc/auth_des.c: Update copyright notice once again.
29805 * sunrpc/auth_none.c: Likewise.
29806 * sunrpc/auth_unix.c: Likewise.
29807 * sunrpc/authdes_prot.c: Likewise.
29808 * sunrpc/authuxprot.c: Likewise.
29809 * sunrpc/bindrsvprt.c: Likewise.
29810 * sunrpc/clnt_gen.c: Likewise.
29811 * sunrpc/clnt_perr.c: Likewise.
29812 * sunrpc/clnt_raw.c: Likewise.
29813 * sunrpc/clnt_simp.c: Likewise.
29814 * sunrpc/clnt_tcp.c: Likewise.
29815 * sunrpc/clnt_udp.c: Likewise.
29816 * sunrpc/clnt_unix.c: Likewise.
29817 * sunrpc/des_crypt.c: Likewise.
29818 * sunrpc/des_soft.c: Likewise.
29819 * sunrpc/get_myaddr.c: Likewise.
29820 * sunrpc/getrpcport.c: Likewise.
29821 * sunrpc/key_call.c: Likewise.
29822 * sunrpc/key_prot.c: Likewise.
29823 * sunrpc/openchild.c: Likewise.
29824 * sunrpc/pm_getmaps.c: Likewise.
29825 * sunrpc/pm_getport.c: Likewise.
29826 * sunrpc/pmap_clnt.c: Likewise.
29827 * sunrpc/pmap_prot.c: Likewise.
29828 * sunrpc/pmap_prot2.c: Likewise.
29829 * sunrpc/pmap_rmt.c: Likewise.
29830 * sunrpc/rpc/auth.h: Likewise.
29831 * sunrpc/rpc/auth_unix.h: Likewise.
29832 * sunrpc/rpc/clnt.h: Likewise.
29833 * sunrpc/rpc/des_crypt.h: Likewise.
29834 * sunrpc/rpc/key_prot.h: Likewise.
29835 * sunrpc/rpc/netdb.h: Likewise.
29836 * sunrpc/rpc/pmap_clnt.h: Likewise.
29837 * sunrpc/rpc/pmap_prot.h: Likewise.
29838 * sunrpc/rpc/pmap_rmt.h: Likewise.
29839 * sunrpc/rpc/rpc.h: Likewise.
29840 * sunrpc/rpc/rpc_des.h: Likewise.
29841 * sunrpc/rpc/rpc_msg.h: Likewise.
29842 * sunrpc/rpc/svc.h: Likewise.
29843 * sunrpc/rpc/svc_auth.h: Likewise.
29844 * sunrpc/rpc/types.h: Likewise.
29845 * sunrpc/rpc/xdr.h: Likewise.
29846 * sunrpc/rpc_clntout.c: Likewise.
29847 * sunrpc/rpc_cmsg.c: Likewise.
29848 * sunrpc/rpc_common.c: Likewise.
29849 * sunrpc/rpc_cout.c: Likewise.
29850 * sunrpc/rpc_dtable.c: Likewise.
29851 * sunrpc/rpc_hout.c: Likewise.
29852 * sunrpc/rpc_main.c: Likewise.
29853 * sunrpc/rpc_parse.c: Likewise.
29854 * sunrpc/rpc_parse.h: Likewise.
29855 * sunrpc/rpc_prot.c: Likewise.
29856 * sunrpc/rpc_sample.c: Likewise.
29857 * sunrpc/rpc_scan.c: Likewise.
29858 * sunrpc/rpc_scan.h: Likewise.
29859 * sunrpc/rpc_svcout.c: Likewise.
29860 * sunrpc/rpc_tblout.c: Likewise.
29861 * sunrpc/rpc_util.c: Likewise.
29862 * sunrpc/rpc_util.h: Likewise.
29863 * sunrpc/rpcinfo.c: Likewise.
29864 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
29865 * sunrpc/rpcsvc/key_prot.x: Likewise.
29866 * sunrpc/rpcsvc/klm_prot.x: Likewise.
29867 * sunrpc/rpcsvc/mount.x: Likewise.
29868 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
29869 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
29870 * sunrpc/rpcsvc/rex.x: Likewise.
29871 * sunrpc/rpcsvc/rstat.x: Likewise.
29872 * sunrpc/rpcsvc/rusers.x: Likewise.
29873 * sunrpc/rpcsvc/sm_inter.x: Likewise.
29874 * sunrpc/rpcsvc/spray.x: Likewise.
29875 * sunrpc/rpcsvc/yppasswd.x: Likewise.
29876 * sunrpc/rtime.c: Likewise.
29877 * sunrpc/svc.c: Likewise.
29878 * sunrpc/svc_auth.c: Likewise.
29879 * sunrpc/svc_authux.c: Likewise.
29880 * sunrpc/svc_raw.c: Likewise.
29881 * sunrpc/svc_run.c: Likewise.
29882 * sunrpc/svc_simple.c: Likewise.
29883 * sunrpc/svc_tcp.c: Likewise.
29884 * sunrpc/svc_udp.c: Likewise.
29885 * sunrpc/svc_unix.c: Likewise.
29886 * sunrpc/svcauth_des.c: Likewise.
29887 * sunrpc/xcrypt.c: Likewise.
29888 * sunrpc/xdr.c: Likewise.
29889 * sunrpc/xdr_array.c: Likewise.
29890 * sunrpc/xdr_float.c: Likewise.
29891 * sunrpc/xdr_mem.c: Likewise.
29892 * sunrpc/xdr_rec.c: Likewise.
29893 * sunrpc/xdr_ref.c: Likewise.
29894 * sunrpc/xdr_sizeof.c: Likewise.
29895 * sunrpc/xdr_stdio.c: Likewise.
29896
9da4bb31
UD
29897 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
29898 handling.
29899
bdaa77bc
AS
299002010-08-19 Andreas Schwab <schwab@redhat.com>
29901
29902 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
29903
fe2f79db
LM
299042010-08-19 Luis Machado <luisgpm@br.ibm.com>
29905
29906 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
29907 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
29908 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
29909 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
29910 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
29911 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
29912 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
29913 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
29914 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
29915 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
29916 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
29917 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
29918 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
29919 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
29920
b9b42ee0
AB
299212010-07-26 Anton Blanchard <anton@samba.org>
29922
29923 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
29924 * malloc/arena.c (heap_trim): Likewise.
29925
1c06ba31
UD
299262010-08-16 Ulrich Drepper <drepper@redhat.com>
29927
29928 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
29929 here. Not...
29930 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
29931 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
29932
f8392f40
L
299332010-08-12 H.J. Lu <hongjiu.lu@intel.com>
29934
29935 * sysdeps/i386/elf/Makefile: New file.
29936
3162f12e
AS
299372010-08-14 Andreas Schwab <schwab@linux-m68k.org>
29938
29939 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
29940 from fanotify_init.
29941 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
29942 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
29943
28c90b2c
UD
299442010-08-15 Ulrich Drepper <drepper@redhat.com>
29945
29946 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
29947 of strncasecmp_l.
1feccb6c 29948 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 29949
ca6bb004
UD
299502010-08-14 Ulrich Drepper <drepper@redhat.com>
29951
e9f82e0d
UD
29952 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
29953 strncase_l-nonascii.
29954 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
29955 Add strncase_l-ssse3.
29956 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
29957 * sysdeps/x86_64/strcmp.S: Likewise.
29958 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
29959 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
29960 * sysdeps/x86_64/strncase.S: New file.
29961 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
29962 * sysdeps/x86_64/strncase_l.S: New file.
29963 * string/Makefile (strop-tests): Add strncasecmp.
29964 * string/test-strncasecmp.c: New file.
29965
29966 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
29967 warning.
29968
ca6bb004
UD
29969 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
29970 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
29971
052fa7b3
AS
299722010-08-14 Andreas Schwab <schwab@linux-m68k.org>
29973
29974 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
29975
962dba78
UD
299762010-08-12 Ulrich Drepper <drepper@redhat.com>
29977
29978 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
29979 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
29980 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
29981
bebff237
AM
299822010-05-01 Alan Modra <amodra@gmail.com>
29983
29984 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
29985 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
29986 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
29987 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
29988 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
29989 tidying. Don't tail-call __sigjmp_save for static lib.
29990 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
29991 save location.
29992 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
29993 (CALL_MCOUNT): Add eh info, and nop after bl.
29994 (TAIL_CALL_SYSCALL_ERROR): New macro.
29995 (PSEUDO_RET): Use it.
29996 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29997 Correct save location of integer regs and cr.
29998 (_dl_profile_resolve): Correct cr save location. Delete nops
29999 after bl when SHARED. Reduce cfi size a little by better
30000 placement of cfi directives.
30001 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
30002 make a stack frame. Instead use parm save area as a temp.
30003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
30004 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
30005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30006 Don't make a stack frame for parent, use parm save area.
30007 Increase child stack frame to 112 bytes. Don't save unused reg,
30008 and adjust reg usage. Set up cfi on error recovery and
30009 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
30010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30011 (__makecontext): Add dummy nop after jump to exit.
30012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
30013 Use correct parm save area and cr save, reduce stack frame.
30014 Correct cfi for possible PSEUDO_RET frame setup.
30015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
30016 Branch to local label emitted by PSEUDO_RET rather than
30017 __syscall_error.
30018
02637374
AS
300192010-08-12 Andreas Schwab <schwab@redhat.com>
30020
30021 [BZ #11904]
30022 * locale/programs/locale.c (print_assignment): New function.
30023 (show_locale_vars): Use it.
30024
c3e2f19b
UD
300252010-08-11 Ulrich Drepper <drepper@redhat.com>
30026
3cdaa6ad
UD
30027 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
30028 field.
30029 (struct statfs64): Likewise.
30030 (_STATFS_F_FLAGS): Define.
30031 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
30032 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30033 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
30034 (ST_VALID): Define locally.
30035 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
30036 __statvfs_getflags, use the provided value.
30037 * sysdeps/unix/sysv/linux/kernel-features.h: Define
30038 __ASSUME_STATFS_F_FLAGS.
30039
754f7da3
UD
30040 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
30041
10b3bedc
UD
30042 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
30043 Add sys/fanotify.h.
30044 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
30045 fanotify_mask for GLIBC_2.13.
30046 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
30047 fanotify_init and fanotify_mark.
30048 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30049 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
30050
c08fb0d7
UD
30051 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
30052 Add prlimit.
30053 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
30054 prlimit64 for GLIBC_2.13.
30055 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
30056 prlimit64.
30057 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
30058 syscall.
30059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
30060 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30061 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
30062 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
30063 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
30064 add prlimit alias.
30065 * sysdeps/unix/sysv/linux/prlimit.c: New file.
30066
15bac72b
UD
30067 [BZ #11903]
30068 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
30069 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
30070
c3e2f19b
UD
30071 * nss/Makefile: Add rules to build and run tst-nss-test1.
30072 * shlib-versions: Add entry for libnss_test1.
30073 * nss/nss_test1.c: New file.
30074 * nss/tst-nss-test1.c: New file.
30075
30076 * nss/nsswitch.c (__nss_database_custom): Define new variable.
30077 (__nss_configure_lookup): Set appropriate entry in
30078 __nss_configure_lookup to true.
30079 * nss/nsswitch.h: Define enum with indeces of databases in
30080 databases and __nss_database_custom arrays. Declare
30081 __nss_database_custom.
30082 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
30083 to avoid using nscd when custom rules are installed.
30084 * nss/getXXbyYY_r.c: Likewise.
30085 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30086
30087 * nss/nss_files/files-parse.c: Whitespace fixes.
30088
f15ce4d8
UD
300892010-08-09 Ulrich Drepper <drepper@redhat.com>
30090
30091 [BZ #11883]
30092 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
30093 * posix/fnmatch_loop.c: Likewise.
30094
d22e4cc9
AK
300952010-07-17 Andi Kleen <ak@linux.intel.com>
30096
30097 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
30098 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
30099 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
30100 * Versions.def [GLIBC_2.13]: Add.
30101
805bc17d
UD
301022010-08-06 Ulrich Drepper <drepper@redhat.com>
30103
30104 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30105 Also fail if tpwd after pwuid call is NULL.
30106
5a42321d
ST
301072010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
30108
30109 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
30110 when converting to ms.
30111
fd3ebeda
ST
301122010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30113
30114 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
30115 EOPNOTSUPP errors with ENOTTY.
30116 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
30117 EOPNOTSUPP errors with ENOTTY.
30118
73507d3a
UD
301192010-07-31 Ulrich Drepper <drepper@redhat.com>
30120
30121 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30122 Add strcasecmp_l-ssse3.
30123 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
30124 strcasecmp.
30125 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
30126 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
30127 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
30128
fe36dd02
UD
301292010-07-30 Ulrich Drepper <drepper@redhat.com>
30130
66f6765a
UD
30131 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
30132
42e08a54
UD
30133 * string/Makefile (strop-tests): Add strcasecmp.
30134 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30135 strcasecmp_l-nonascii.
30136 (gen-as-const-headers): Add locale-defines.sym.
30137 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
30138 * sysdeps/x86_64/strcasecmp.S: New file.
30139 * sysdeps/x86_64/strcasecmp_l.S: New file.
30140 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
30141 * sysdeps/x86_64/locale-defines.sym: New file.
30142 * string/test-strcasecmp.c: New file.
30143
fe36dd02
UD
30144 * string/test-strcasestr.c: Test both ends of the range of characters.
30145 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
30146
48cbc0d6
RM
301472010-07-29 Roland McGrath <roland@redhat.com>
30148
76e6d6bc 30149 [BZ #11856]
48cbc0d6
RM
30150 * manual/locale.texi (Yes-or-No Questions): Fix example code.
30151
880113d9
UD
301522010-07-27 Ulrich Drepper <drepper@redhat.com>
30153
30154 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
30155 for ld.so.
30156
deb9cabb
AS
301572010-07-27 Andreas Schwab <schwab@redhat.com>
30158
30159 * manual/memory.texi (Malloc Tunable Parameters): Document
30160 M_PERTURB.
30161
1c7570ff
RM
301622010-07-26 Roland McGrath <roland@redhat.com>
30163
30164 [BZ #11840]
30165 * configure.in (-fgnu89-inline check): Set and substitute
30166 gnu89_inline, not libc_cv_gnu89_inline.
30167 * configure: Regenerated.
30168 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
30169
24fb0f88
UD
301702010-07-26 Ulrich Drepper <drepper@redhat.com>
30171
30172 * string/test-strnlen.c: New file.
30173 * string/Makefile (strop-tests): Add strnlen.
30174 * string/tester.c (test_strnlen): Add a few more test cases.
30175 * string/tst-strlen.c: Better error reporting.
30176
30177 * sysdeps/x86_64/strnlen.S: New file.
30178
8e96b93a
UD
301792010-07-24 Ulrich Drepper <drepper@redhat.com>
30180
30181 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
30182 lower-latency instructions.
30183
dbc676d4
UD
301842010-07-23 Ulrich Drepper <drepper@redhat.com>
30185
30186 * string/test-strcasestr.c: New file.
30187 * string/test-strstr.c: New file.
30188 * string/Makefile (strop-tests): Add strstr and strcasestr.
30189 * string/str-two-way.h: Don't undefine MAX.
30190 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
30191
f6a31e0e
AS
301922010-07-21 Andreas Schwab <schwab@redhat.com>
30193
30194 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30195 strcasestr-nonascii.
30196 (CFLAGS-strcasestr-nonascii.c): Define.
30197 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
30198 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
30199 Remove unused attribute.
30200
5dbc3b6c
RM
302012010-07-20 Roland McGrath <roland@redhat.com>
30202
30203 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
30204 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
30205 ld.so.cache was broken. With it, there is no way to disable dsocaps
30206 like LD_HWCAP_MASK can disable hwcaps.
30207
23d101d8
EPM
302082010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30209
30210 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
30211
cc9f2e47
UD
302122010-07-16 Ulrich Drepper <drepper@redhat.com>
30213
30214 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
30215 call in strcasestr.
30216 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
30217 __strcasestr_sse42_nonascii.
30218 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
30219 strcasestr-nonascii.c.
30220 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
30221
77c1b069
LM
302222010-06-15 Luis Machado <luisgpm@br.ibm.com>
30223
30224 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
30225 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
30226 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
30227 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
30228
440566c3
UD
302292010-07-09 Ulrich Drepper <drepper@redhat.com>
30230
30231 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
30232 fcntl.
30233
5be9d05d
AS
302342010-07-06 Andreas Schwab <schwab@redhat.com>
30235
c30b7ee2 30236 [BZ #11577]
5be9d05d
AS
30237 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
30238 dl_signal_cerror.
30239
8a492a67
UD
302402010-07-06 Ulrich Drepper <drepper@redhat.com>
30241
30242 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
30243 _PC_PIPE_BUF using F_GETPIPE_SZ.
30244
713df3d5
RM
302452010-07-05 Roland McGrath <roland@redhat.com>
30246
30247 * manual/arith.texi (Rounding Functions): Fix rint description
30248 implicit in round description.
30249
702e8f14
UD
302502010-07-02 Ulrich Drepper <drepper@redhat.com>
30251
30252 * elf/Makefile: Fix linking for a few tests to make recent linker
30253 happy.
30254
52ed8be9
AS
302552010-06-30 Andreas Schwab <schwab@redhat.com>
30256
30257 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30258 $(common-objpfx)libc_nonshared.a.
30259
f47c9a11
LM
302602010-06-21 Luis Machado <luisgpm@br.ibm.com>
30261
30262 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
30263 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
30264 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30265 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30266 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
30267 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
30268 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30269 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
30271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
30272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
30273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
30275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
30277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
30278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
30279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
30280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
30282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
30284 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
30285 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
30286 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
30287 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
30288 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
30289 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
30290 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
30291 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
30292 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
30293 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
30294 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
30295 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
30296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
30297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
30298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
30299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
30300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
30301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
30302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
30303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
30304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
30305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
30306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
30307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
30308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
30309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
30310
6fb8cbcb
L
303112010-06-25 H.J. Lu <hongjiu.lu@intel.com>
30312
30313 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
30314 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
30315 * string/memmove.c (memmove): Renamed to ...
30316 (MEMMOVE): ...this. Default to memmove.
30317 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
30318 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
30319 (END_CHK): Define.
30320 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30321 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
30322 mempcpy-ssse3-back memmove-ssse3-back.
30323 * sysdeps/x86_64/multiarch/bcopy.S: New file .
30324 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
30325 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
30326 * sysdeps/x86_64/multiarch/memcpy.S: New file.
30327 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
30328 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
30329 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
30330 * sysdeps/x86_64/multiarch/memmove.c: New file.
30331 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
30332 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
30333 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
30334 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
30335 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
30336 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
30337 Define.
30338 (index_Fast_Copy_Backward): Define.
30339 (HAS_ARCH_FEATURE): Define.
30340 (HAS_FAST_REP_STRING): Define.
30341 (HAS_FAST_COPY_BACKWARD): Define.
30342
4e733bac 303432010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
30344
30345 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30346 Restore proper fallback handling.
30347
63c4ed22
UD
303482010-06-19 Ulrich Drepper <drepper@redhat.com>
30349
ac2b484c
UD
30350 [BZ #11701]
30351 * posix/group_member.c (__group_member): Correct checking loop.
30352
63c4ed22
UD
30353 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
30354 OOM in getpwuid_r correctly. Return error number when the caller
30355 should return, otherwise -1.
30356 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
30357 call returning > 0 value.
30358 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
30359
765ade4b
AS
303602010-06-07 Andreas Schwab <schwab@redhat.com>
30361
30362 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
30363 libc_nonshared.a from targets in modules-names.
30364
80da2e09
KS
303652010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
30366
30367 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
30368 requires it.
30369
158db122
LM
303702010-06-10 Luis Machado <luisgpm@br.ibm.com>
30371
30372 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
30373 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
30374 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
30375 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
30376
caa78cf8
AS
303772010-06-02 Andreas Schwab <schwab@redhat.com>
30378
30379 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
30380
b2ef2c01
UD
303812010-06-14 Ulrich Drepper <drepper@redhat.com>
30382
30383 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
30384 and F_GETPIPE_SZ.
30385 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30386 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30387 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30388 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30389 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30390 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
30391
fbd643b6
RM
303922010-06-14 Roland McGrath <roland@redhat.com>
30393
30394 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
30395
f32f2869
JJ
303962010-06-07 Jakub Jelinek <jakub@redhat.com>
30397
30398 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
30399 __REDIRECT followed by __THROW.
30400 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
30401 * posix/getopt.h (getopt): Likewise.
30402
2a50c078
EPM
304032010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30404
30405 * hurd/lookup-at.c (__file_name_lookup_at): Accept
30406 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
30407 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
30408 in AT_FLAGS.
30409 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
30410 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
30411
eb5ad2eb
LM
304122010-05-28 Luis Machado <luisgpm@br.ibm.com>
30413
30414 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
30415
3c88fe1e
L
304162010-05-26 H.J. Lu <hongjiu.lu@intel.com>
30417
30418 [BZ #11640]
30419 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30420 Properly check family and model.
30421
d2f73151
TY
304222010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
30423
30424 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
30425
ebd2e13d
LM
304262010-05-24 Luis Machado <luisgpm@br.ibm.com>
30427
30428 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
30429
b32b8b45
UD
304302010-05-21 Ulrich Drepper <drepper@redhat.com>
30431
30432 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
30433 symbol reference.
30434
9acbe24d
AS
304352010-05-19 Andreas Schwab <schwab@redhat.com>
30436
30437 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
30438 symbol reference.
30439
f0ccf6ea
AS
304402010-05-21 Andreas Schwab <schwab@redhat.com>
30441
3d04ff3a
AS
30442 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
30443 and internal_recvmmsg.
30444 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
30445 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
30446 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
30447 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
30448
f0ccf6ea
AS
30449 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
30450 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30451 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30452
5b08ac57
AS
304532010-05-20 Andreas Schwab <schwab@redhat.com>
30454
30455 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
30456
4828935d
LM
304572010-05-17 Luis Machado <luisgpm@br.ibm.com>
30458
30459 POWER7 optimizations.
30460 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
30461 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
30462
373d545e
UD
304632010-05-19 Ulrich Drepper <drepper@redhat.com>
30464
30465 * version.h: Update for 2.13 development version.
30466
21a2b1ae
AS
304672010-05-12 Andrew Stubbs <ams@codesourcery.com>
30468
30469 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
30470 exceptions. Return 0.
30471
3f7dcb2b
RM
304722010-05-07 Roland McGrath <roland@redhat.com>
30473
30474 * elf/ldconfig.c (main): Add a const.
30475
5f24d53a 304762010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 30477
a160f8d8
UD
30478 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
30479 (args_options): Add no-idn option.
30480 (ahosts_keys_int): Add idn_flags to ai_flags.
30481 (parse_option): Handle 'i' option to clear idn_flags.
30482
5f24d53a
UD
30483 * malloc/malloc.c (_int_free): Possible race in the most recently
30484 added check. Only act on the data if no current modification
30485 happened.
265bb1ce
UD
30486
30487See ChangeLog.17 for earlier changes.