]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
* manual/platform.texi: Add missing @end deftypefun.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
2b66ef5d
TS
12013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2
3 * manual/platform.texi: Add missing @end deftypefun.
4
4f8dfe27
JM
52013-05-24 Joseph Myers <joseph@codesourcery.com>
6
0323d086
JM
7 [BZ #15529]
8 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
9 bit of mantissa of 2^16382.
10 * math/libm-test.inc (hypot_test_data): Add more tests.
11
dd4259b9
JM
12 * math/libm-test.inc: Add drem and pow10 to list of tested
13 functions.
14 (pow10_test): New function.
15 (drem_test): Likewise.
16 (drem_test_tonearest): Likewise.
17 (drem_test_towardzero): Likewise.
18 (drem_test_downward): Likewise.
19 (drem_test_upward): Likewise.
20 (main): Call the new functions.
21
4f8dfe27
JM
22 * math/libm-test.inc (finite_test_data): Remove.
23 (finite_test): Run tests from isfinite_test_data.
24 (gamma_test_data): Remove.
25 (gamma_test): Run tests from lgamma_test_data.
26 * sysdeps/i386/fpu/libm-test-ulps: Update.
27 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28
d116b7c4
AZ
292013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30
31 * manual/platform.texi: Add PowerPC PPR function set documentation.
32 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
33 implementation.
34
e96e3767
CD
352013-05-24 Carlos O'Donell <carlos@redhat.com>
36
37 * math/libm-test.inc (MAX_EXP): Define.
38 (ULPDIFF): Define.
39 (ulp): New function.
40 (check_float_internal): Use ULPDIFF.
41 (cpow_test): Disable failing test.
42 (check_ulp): Test ulp() implemetnation.
43 (main): Call check_ulp before starting tests.
44
b679a606
JM
452013-05-24 Joseph Myers <joseph@codesourcery.com>
46
e8bdba36
JM
47 * math/gen-libm-test.pl (generate_testfile): Do not handle
48 START_DATA and END_DATA.
49 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
50 END_DATA.
51 (acos_tonearest_test_data): Likewise.
52 (acos_towardzero_test_data): Likewise.
53 (acos_downward_test_data): Likewise.
54 (acos_upward_test_data): Likewise.
55 (acosh_test_data): Likewise.
56 (asin_test_data): Likewise.
57 (asin_tonearest_test_data): Likewise.
58 (asin_towardzero_test_data): Likewise.
59 (asin_downward_test_data): Likewise.
60 (asin_upward_test_data): Likewise.
61 (asinh_test_data): Likewise.
62 (atan_test_data): Likewise.
63 (atanh_test_data): Likewise.
64 (atan2_test_data): Likewise.
65 (cabs_test_data): Likewise.
66 (cacos_test_data): Likewise.
67 (cacosh_test_data): Likewise.
68 (carg_test_data): Likewise.
69 (casin_test_data): Likewise.
70 (casinh_test_data): Likewise.
71 (catan_test_data): Likewise.
72 (catanh_test_data): Likewise.
73 (cbrt_test_data): Likewise.
74 (ccos_test_data): Likewise.
75 (ccosh_test_data): Likewise.
76 (ceil_test_data): Likewise.
77 (cexp_test_data): Likewise.
78 (cimag_test_data): Likewise.
79 (clog_test_data): Likewise.
80 (clog10_test_data): Likewise.
81 (conj_test_data): Likewise.
82 (copysign_test_data): Likewise.
83 (cos_test_data): Likewise.
84 (cos_tonearest_test_data): Likewise.
85 (cos_towardzero_test_data): Likewise.
86 (cos_downward_test_data): Likewise.
87 (cos_upward_test_data): Likewise.
88 (cosh_test_data): Likewise.
89 (cosh_tonearest_test_data): Likewise.
90 (cosh_towardzero_test_data): Likewise.
91 (cosh_downward_test_data): Likewise.
92 (cosh_upward_test_data): Likewise.
93 (cpow_test_data): Likewise.
94 (cproj_test_data): Likewise.
95 (creal_test_data): Likewise.
96 (csin_test_data): Likewise.
97 (csinh_test_data): Likewise.
98 (csqrt_test_data): Likewise.
99 (ctan_test_data): Likewise.
100 (ctan_tonearest_test_data): Likewise.
101 (ctan_towardzero_test_data): Likewise.
102 (ctan_downward_test_data): Likewise.
103 (ctan_upward_test_data): Likewise.
104 (ctanh_test_data): Likewise.
105 (ctanh_tonearest_test_data): Likewise.
106 (ctanh_towardzero_test_data): Likewise.
107 (ctanh_downward_test_data): Likewise.
108 (ctanh_upward_test_data): Likewise.
109 (erf_test_data): Likewise.
110 (erfc_test_data): Likewise.
111 (exp_test_data): Likewise.
112 (exp_tonearest_test_data): Likewise.
113 (exp_towardzero_test_data): Likewise.
114 (exp_downward_test_data): Likewise.
115 (exp_upward_test_data): Likewise.
116 (exp10_test_data): Likewise.
117 (exp2_test_data): Likewise.
118 (expm1_test_data): Likewise.
119 (fabs_test_data): Likewise.
120 (fdim_test_data): Likewise.
121 (finite_test_data): Likewise.
122 (floor_test_data): Likewise.
123 (fma_test_data): Likewise.
124 (fma_towardzero_test_data): Likewise.
125 (fma_downward_test_data): Likewise.
126 (fma_upward_test_data): Likewise.
127 (fmax_test_data): Likewise.
128 (fmin_test_data): Likewise.
129 (fmod_test_data): Likewise.
130 (fpclassify_test_data): Likewise.
131 (frexp_test_data): Likewise.
132 (gamma_test_data): Likewise.
133 (hypot_test_data): Likewise.
134 (ilogb_test_data): Likewise.
135 (isfinite_test_data): Likewise.
136 (isgreater_test_data): Likewise.
137 (isgreaterequal_test_data): Likewise.
138 (isinf_test_data): Likewise.
139 (isless_test_data): Likewise.
140 (islessequal_test_data): Likewise.
141 (islessgreater_test_data): Likewise.
142 (isnan_test_data): Likewise.
143 (isnormal_test_data): Likewise.
144 (issignaling_test_data): Likewise.
145 (isunordered_test_data): Likewise.
146 (j0_test_data): Likewise.
147 (j1_test_data): Likewise.
148 (jn_test_data): Likewise.
149 (ldexp_test_data): Likewise.
150 (lgamma_test_data): Likewise.
151 (lrint_test_data): Likewise.
152 (lrint_tonearest_test_data): Likewise.
153 (lrint_towardzero_test_data): Likewise.
154 (lrint_downward_test_data): Likewise.
155 (lrint_upward_test_data): Likewise.
156 (llrint_test_data): Likewise.
157 (llrint_tonearest_test_data): Likewise.
158 (llrint_towardzero_test_data): Likewise.
159 (llrint_downward_test_data): Likewise.
160 (llrint_upward_test_data): Likewise.
161 (log_test_data): Likewise.
162 (log10_test_data): Likewise.
163 (log1p_test_data): Likewise.
164 (log2_test_data): Likewise.
165 (logb_test_data): Likewise.
166 (logb_downward_test_data): Likewise.
167 (lround_test_data): Likewise.
168 (llround_test_data): Likewise.
169 (modf_test_data): Likewise.
170 (nearbyint_test_data): Likewise.
171 (nextafter_test_data): Likewise.
172 (nexttoward_test_data): Likewise.
173 (pow_test_data): Likewise.
174 (pow_tonearest_test_data): Likewise.
175 (pow_towardzero_test_data): Likewise.
176 (pow_downward_test_data): Likewise.
177 (pow_upward_test_data): Likewise.
178 (remainder_test_data): Likewise.
179 (remainder_tonearest_test_data): Likewise.
180 (remainder_towardzero_test_data): Likewise.
181 (remainder_downward_test_data): Likewise.
182 (remainder_upward_test_data): Likewise.
183 (remquo_test_data): Likewise.
184 (rint_test_data): Likewise.
185 (rint_tonearest_test_data): Likewise.
186 (rint_towardzero_test_data): Likewise.
187 (rint_downward_test_data): Likewise.
188 (rint_upward_test_data): Likewise.
189 (round_test_data): Likewise.
190 (scalb_test_data): Likewise.
191 (scalbn_test_data): Likewise.
192 (scalbln_test_data): Likewise.
193 (signbit_test_data): Likewise.
194 (sin_test_data): Likewise.
195 (sin_tonearest_test_data): Likewise.
196 (sin_towardzero_test_data): Likewise.
197 (sin_downward_test_data): Likewise.
198 (sin_upward_test_data): Likewise.
199 (sincos_test_data): Likewise.
200 (sinh_test_data): Likewise.
201 (sinh_tonearest_test_data): Likewise.
202 (sinh_towardzero_test_data): Likewise.
203 (sinh_downward_test_data): Likewise.
204 (sinh_upward_test_data): Likewise.
205 (sqrt_test_data): Likewise.
206 (tan_test_data): Likewise.
207 (tan_tonearest_test_data): Likewise.
208 (tan_towardzero_test_data): Likewise.
209 (tan_downward_test_data): Likewise.
210 (tan_upward_test_data): Likewise.
211 (tanh_test_data): Likewise.
212 (tgamma_test_data): Likewise.
213 (trunc_test_data): Likewise.
214 (y0_test_data): Likewise.
215 (y1_test_data): Likewise.
216 (yn_test_data): Likewise.
217 (significand_test_data): Likewise.
218
b679a606
JM
219 * math/gen-libm-test.pl (@functions): Remove variable.
220 (generate_testfile): Don't handle START and END lines.
221 * math/libm-test.inc (START): New macro.
222 (END): Likewise.
223 (END_COMPLEX): Likewise.
224 (acos_test): Use END macro without arguments.
225 (acos_test_tonearest): Likewise.
226 (acos_test_towardzero): Likewise.
227 (acos_test_downward): Likewise.
228 (acos_test_upward): Likewise.
229 (acosh_test): Likewise.
230 (asin_test): Likewise.
231 (asin_test_tonearest): Likewise.
232 (asin_test_towardzero): Likewise.
233 (asin_test_downward): Likewise.
234 (asin_test_upward): Likewise.
235 (asinh_test): Likewise.
236 (atan_test): Likewise.
237 (atanh_test): Likewise.
238 (atan2_test): Likewise.
239 (cabs_test): Likewise.
240 (cacos_test): Use END_COMPLEX macro without arguments.
241 (cacosh_test): Likewise.
242 (carg_test): Use END macro without arguments.
243 (casin_test): Use END_COMPLEX macro without arguments.
244 (casinh_test): Likewise.
245 (catan_test): Likewise.
246 (catanh_test): Likewise.
247 (cbrt_test): Use END macro without arguments.
248 (ccos_test): Use END_COMPLEX macro without arguments.
249 (ccosh_test): Likewise.
250 (ceil_test): Use END macro without arguments.
251 (cexp_test): Use END_COMPLEX macro without arguments.
252 (cimag_test): Use END macro without arguments.
253 (clog_test): Use END_COMPLEX macro without arguments.
254 (clog10_test): Likewise.
255 (conj_test): Likewise.
256 (copysign_test): Use END macro without arguments.
257 (cos_test): Likewise.
258 (cos_test_tonearest): Likewise.
259 (cos_test_towardzero): Likewise.
260 (cos_test_downward): Likewise.
261 (cos_test_upward): Likewise.
262 (cosh_test): Likewise.
263 (cosh_test_tonearest): Likewise.
264 (cosh_test_towardzero): Likewise.
265 (cosh_test_downward): Likewise.
266 (cosh_test_upward): Likewise.
267 (cpow_test): Use END_COMPLEX macro without arguments.
268 (cproj_test): Likewise.
269 (creal_test): Use END macro without arguments.
270 (csin_test): Use END_COMPLEX macro without arguments.
271 (csinh_test): Likewise.
272 (csqrt_test): Likewise.
273 (ctan_test): Likewise.
274 (ctan_test_tonearest): Likewise.
275 (ctan_test_towardzero): Likewise.
276 (ctan_test_downward): Likewise.
277 (ctan_test_upward): Likewise.
278 (ctanh_test): Likewise.
279 (ctanh_test_tonearest): Likewise.
280 (ctanh_test_towardzero): Likewise.
281 (ctanh_test_downward): Likewise.
282 (ctanh_test_upward): Likewise.
283 (erf_test): Use END macro without arguments.
284 (erfc_test): Likewise.
285 (exp_test): Likewise.
286 (exp_test_tonearest): Likewise.
287 (exp_test_towardzero): Likewise.
288 (exp_test_downward): Likewise.
289 (exp_test_upward): Likewise.
290 (exp10_test): Likewise.
291 (exp2_test): Likewise.
292 (expm1_test): Likewise.
293 (fabs_test): Likewise.
294 (fdim_test): Likewise.
295 (finite_test): Likewise.
296 (floor_test): Likewise.
297 (fma_test): Likewise.
298 (fma_test_towardzero): Likewise.
299 (fma_test_downward): Likewise.
300 (fma_test_upward): Likewise.
301 (fmax_test): Likewise.
302 (fmin_test): Likewise.
303 (fmod_test): Likewise.
304 (fpclassify_test): Likewise.
305 (frexp_test): Likewise.
306 (gamma_test): Likewise.
307 (hypot_test): Likewise.
308 (ilogb_test): Likewise.
309 (isfinite_test): Likewise.
310 (isgreater_test): Likewise.
311 (isgreaterequal_test): Likewise.
312 (isinf_test): Likewise.
313 (isless_test): Likewise.
314 (islessequal_test): Likewise.
315 (islessgreater_test): Likewise.
316 (isnan_test): Likewise.
317 (isnormal_test): Likewise.
318 (issignaling_test): Likewise.
319 (isunordered_test): Likewise.
320 (j0_test): Likewise.
321 (j1_test): Likewise.
322 (jn_test): Likewise.
323 (ldexp_test): Likewise.
324 (lgamma_test): Likewise.
325 (lrint_test): Likewise.
326 (lrint_test_tonearest): Likewise.
327 (lrint_test_towardzero): Likewise.
328 (lrint_test_downward): Likewise.
329 (lrint_test_upward): Likewise.
330 (llrint_test): Likewise.
331 (llrint_test_tonearest): Likewise.
332 (llrint_test_towardzero): Likewise.
333 (llrint_test_downward): Likewise.
334 (llrint_test_upward): Likewise.
335 (log_test): Likewise.
336 (log10_test): Likewise.
337 (log1p_test): Likewise.
338 (log2_test): Likewise.
339 (logb_test): Likewise.
340 (logb_test_downward): Likewise.
341 (lround_test): Likewise.
342 (llround_test): Likewise.
343 (modf_test): Likewise.
344 (nearbyint_test): Likewise.
345 (nextafter_test): Likewise.
346 (nexttoward_test): Likewise.
347 (pow_test): Likewise.
348 (pow_test_tonearest): Likewise.
349 (pow_test_towardzero): Likewise.
350 (pow_test_downward): Likewise.
351 (pow_test_upward): Likewise.
352 (remainder_test): Likewise.
353 (remainder_test_tonearest): Likewise.
354 (remainder_test_towardzero): Likewise.
355 (remainder_test_downward): Likewise.
356 (remainder_test_upward): Likewise.
357 (remquo_test): Likewise.
358 (rint_test): Likewise.
359 (rint_test_tonearest): Likewise.
360 (rint_test_towardzero): Likewise.
361 (rint_test_downward): Likewise.
362 (rint_test_upward): Likewise.
363 (round_test): Likewise.
364 (scalb_test): Likewise.
365 (scalbn_test): Likewise.
366 (scalbln_test): Likewise.
367 (signbit_test): Likewise.
368 (sin_test): Likewise.
369 (sin_test_tonearest): Likewise.
370 (sin_test_towardzero): Likewise.
371 (sin_test_downward): Likewise.
372 (sin_test_upward): Likewise.
373 (sincos_test): Likewise.
374 (sinh_test): Likewise.
375 (sinh_test_tonearest): Likewise.
376 (sinh_test_towardzero): Likewise.
377 (sinh_test_downward): Likewise.
378 (sinh_test_upward): Likewise.
379 (sqrt_test): Likewise.
380 (tan_test): Likewise.
381 (tan_test_tonearest): Likewise.
382 (tan_test_towardzero): Likewise.
383 (tan_test_downward): Likewise.
384 (tan_test_upward): Likewise.
385 (tanh_test): Likewise.
386 (tgamma_test): Likewise.
387 (trunc_test): Likewise.
388 (y0_test): Likewise.
389 (y1_test): Likewise.
390 (yn_test): Likewise.
391 (significand_test): Likewise.
392
bae143d2
OB
3932013-05-24 Ondřej Bílka <neleai@seznam.cz>
394
395 [BZ #15381]
396 * libio/genops.c (_IO_no_init): Initialize wide struct info.
397
9323d39b
EM
3982013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
399
d4ea44a0 400 [BZ #14894]
9323d39b
EM
401 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
402 __ppc_mdoio and __ppc_mdoom.
403 * manual/platform.texi: Document new functions __ppc_yield,
404 __ppc_mdoio and __ppc_mdoom.
405
13e23af7
CD
4062013-05-22 Carlos O'Donell <carlos@redhat.com>
407
408 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
409 (main): Mention "tls" pseudo-hwcap is legacy.
410 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
411
351fe550
JM
4122013-05-22 Joseph Myers <joseph@codesourcery.com>
413
414 * math/gen-libm-test.pl (parse_args): Output only string of
415 arguments as text for test name, not full call or descriptions of
416 tests for extra outputs.
417 (generate_testfile): Do not pass function name to parse_args.
418 Generate this_func variable from START.
419 * math/libm-test.inc (struct test_f_f_data): Rename test_name
420 field to arg_str.
421 (struct test_ff_f_data): Likewise.
422 (test_ff_f_data_nexttoward): Likewise.
423 (struct test_fi_f_data): Likewise.
424 (struct test_fl_f_data): Likewise.
425 (struct test_if_f_data): Likewise.
426 (struct test_fff_f_data): Likewise.
427 (struct test_c_f_data): Likewise.
428 (struct test_f_f1_data): Likewise. Remove field extra_name.
429 (struct test_fF_f1_data): Likewise.
430 (struct test_ffI_f1_data): Likewise.
431 (struct test_c_c_data): Rename test_name field to arg_str.
432 (struct test_cc_c_data): Likewise.
433 (struct test_f_i_data): Likewise.
434 (struct test_ff_i_data): Likewise.
435 (struct test_f_l_data): Likewise.
436 (struct test_f_L_data): Likewise.
437 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
438 and extra2_name.
439 (COMMON_TEST_SETUP): New macro.
440 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
441 (COMMON_TEST_CLEANUP): Likewise.
442 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
443 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
444 macros.
445 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
446 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
447 macros.
448 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
449 (RUN_TEST_fff_f): Take argument string. Call new setup and
450 cleanup macros.
451 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
452 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
453 macros.
454 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
455 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
456 macros.
457 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
458 (RUN_TEST_fF_f1): Take argument string. Call new setup and
459 cleanup macros.
460 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
461 (RUN_TEST_fI_f1): Take argument string. Call new setup and
462 cleanup macros.
463 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
464 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
465 cleanup macros.
466 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
467 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
468 macros.
469 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
470 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
471 macros.
472 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
473 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
474 macros.
475 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
476 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
477 cleanup macros.
478 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
479 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
480 cleanup macros.
481 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
482 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
483 macros.
484 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
485 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
486 cleanup macros.
487 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
488 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
489 macros.
490 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
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_fFF_11): Take argument string. Call new setup and
495 cleanup macros.
496 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
497
85118d4d
EBM
4982013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
499
500 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
501 to _sifields.sigfault.
502 (si_addr_lsb): Define new macro.
503 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
504 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
505 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
506
7a44c18f
CD
5072013-05-03 Carlos O'Donell <carlos at redhat.com>
508
509 [BZ #15441]
510 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
511 returns -1.
512 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
513 null return -1.
514 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
515 loading the domain.
516
b50a7181
JM
5172013-05-22 Joseph Myers <joseph@codesourcery.com>
518
519 * math/gen-libm-test.pl (parse_args): Do not include expected
520 result in test name.
521 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
522 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
523 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
524 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
525 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
527
051063c8
SP
5282013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
529
3ce9e010
SP
530 * benchtests/Makefile: Sort function entries.
531
051063c8
SP
532 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
533 tanh, asinh, acosh, atanh.
534 * benchtests/acos-inputs: New file.
535 * benchtests/acosh-inputs: New file.
536 * benchtests/asin-inputs: New file.
537 * benchtests/asinh-inputs: New file.
538 * benchtests/atanh-inputs: New file.
539 * benchtests/cosh-inputs: New file.
540 * benchtests/log-inputs: New file.
541 * benchtests/sinh-inputs: New file.
542 * benchtests/tanh-inputs: New file.
543
47c22455
DL
5442013-05-21 Dmitry V. Levin <ldv@altlinux.org>
545
546 [BZ #15339]
547 * posix/tst-getaddrinfo4.c: New test.
548 * posix/Makefile (tests): Add it.
549
3d04f5db
SP
5502013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
551
552 [BZ #15339]
553 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
554 when no services were used.
555 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
556 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
557
d5dd6189
AS
5582013-05-21 Andreas Schwab <schwab@suse.de>
559
560 [BZ #15014]
561 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
562 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
563 successful.
564 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
565 redundant variable declarations and reallocation of buffer when
566 parsing as IPv6 address. Always set NSS status when called from
567 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
568 buffer too small. Correct computation of needed size.
569 * nss/Makefile (tests): Add test-digits-dots.
570 * nss/test-digits-dots.c: New test.
571
fef94eab
SP
5722013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
573
574 * benchtests/Makefile: Remove instructions for adding
575 benchmark tests.
576 * benchtests/README: New file to explain how to execute and
577 enhance the benchmark tests.
578
e39adf43
AS
5792013-05-21 Andreas Schwab <schwab@suse.de>
580
581 [BZ #15493]
582 * setjmp/Makefile (tests): Add tst-sigsetjmp.
583 * setjmp/tst-sigsetjmp.c: New test.
584
b2b671b6
OB
5852013-05-20 Ondřej Bílka <neleai@seznam.cz>
586
587 * sysdeps/x86_64/memset.S (memset): New implementation.
588 (__bzero): Likewise.
589 (__memset_tail): New function.
590
2d48b41c
OB
5912013-05-20 Ondřej Bílka <neleai@seznam.cz>
592
593 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
594 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
595 __memcpy_sse2_unaligned ifunc selection.
596 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
597 Add memcpy-sse2-unaligned.S.
598 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
599 Add: __memcpy_sse2_unaligned.
600
f16cc3eb
JM
6012013-05-19 Joseph Myers <joseph@codesourcery.com>
602
3e694268
JM
603 [BZ #15490]
604 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
605 math_force_eval before restoring floating-point envrionment.
606 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
607 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
608 Likewise.
609 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
610 <math_private.h>.
611 (__nearbyintl): Use math_force_eval before restoring
612 floating-point environment.
613 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
614
db62a907
JM
615 * math/gen-libm-test.pl (special_functions): Remove.
616 (parse_args): Don't handle TEST_extra. Handle functions with no
617 return value.
618 * math/libm-test.inc (struct test_sincos_data): Replace with
619 struct test_fFF_11_data.
620 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
621 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
622 (sincos_test_data): Change element type to struct
623 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
624 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
625 RUN_TEST_LOOP_sincos.
626 * math/README.libm-test: Don't mention special handling of
627 individual functions.
628 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
629 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
630 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
631 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
632 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
634
f16cc3eb
JM
635 * math/gen-libm-test.pl (get_variable): Remove function.
636 (parse_args): Don't show pointer parameters to call in test
637 names. Use "extra output N" in test names for extra outputs
638 rather than naming variables.
639
3779b5b6
JM
6402013-05-18 Joseph Myers <joseph@codesourcery.com>
641
2ee094ff
JM
642 [BZ #15488]
643 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
644 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
645 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
646 double tests.
647 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
648 disable.
649 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
650 check_long_double.
651
3779b5b6
JM
652 * math/gen-libm-test.pl (@tests): Remove variable.
653 ($count): Likewise.
654 (new_test): Remove function.
655 (show_exceptions): New function.
656 (special_functions): Use show_exceptions instead of new_test.
657 (parse_args): Likewise.
658 (generate_testfile): Pass only function name in generated call to
659 print_max_error or print_complex_max_error.
660 (get_ulps): Do not handle complex tests specially.
661 (output_test): Rename to ...
662 (get_all_ulps_for_test): ... this. Return a string rather than
663 printing to a file. Require ulps to be present.
664 (output_ulps): Generate arrays rather than #defines.
665 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
666 (struct ulp_data): New type.
667 (BUILD_COMPLEX_ULP): Remove macro.
668 (compare_ulp_data): New function.
669 (find_ulps): Likewise.
670 (find_test_ulps): Likewise.
671 (find_function_ulps): Likewise.
672 (find_complex_function_ulps): Likewise.
673 (print_max_error): Determine allowed ulps using
674 find_function_ulps.
675 (print_complex_max_error): Determine allowed ulps using
676 find_complex_function_ulps.
677 (check_float_internal): Determine max ulps using find_test_ulps.
678 (check_float): Do not take max_ulp parameter. Update call to
679 check_float_internal.
680 (check_complex): Likewise.
681 (check_int): Do not take max_ulp parameter.
682 (check_long): Likewise.
683 (check_bool): Likewise.
684 (check_longlong): Likewise.
685 (struct test_f_f_data): Remove max_ulp field.
686 (struct test_ff_f_data): Likewise.
687 (struct test_ff_f_data_nexttoward): Likewise.
688 (struct test_fi_f_data): Likewise.
689 (struct test_fl_f_data): Likewise.
690 (struct test_if_f_data): Likewise.
691 (struct test_fff_f_data): Likewise.
692 (struct test_c_f_data): Likewise.
693 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
694 (struct test_fF_f1_data): Likewise.
695 (struct test_ffI_f1_data): Likewise.
696 (struct test_c_c_data): Remove max_ulp field.
697 (struct test_cc_c_data): Likewise.
698 (struct test_f_i_data): Likewise.
699 (struct test_ff_i_data): Likewise.
700 (struct test_f_l_data): Likewise.
701 (struct test_f_L_data): Likewise.
702 (struct test_sincos_data): Likewise.
703 (RUN_TEST_f_f): Do not handle ulps.
704 (RUN_TEST_LOOP_f_f): Likewise.
705 (RUN_TEST_2_f): Likewise.
706 (RUN_TEST_LOOP_2_f): Likewise.
707 (RUN_TEST_fff_f): Likewise.
708 (RUN_TEST_LOOP_fff_f): Likewise.
709 (RUN_TEST_c_f): Likewise.
710 (RUN_TEST_LOOP_c_f): Likewise.
711 (RUN_TEST_f_f1): Likewise.
712 (RUN_TEST_LOOP_f_f1): Likewise.
713 (RUN_TEST_fF_f1): Likewise.
714 (RUN_TEST_LOOP_fF_f1): Likewise.
715 (RUN_TEST_fI_f1): Likewise.
716 (RUN_TEST_LOOP_fI_f1): Likewise.
717 (RUN_TEST_ffI_f1): Likewise.
718 (RUN_TEST_LOOP_ffI_f1): Likewise.
719 (RUN_TEST_c_c): Likewise.
720 (RUN_TEST_LOOP_c_c): Likewise.
721 (RUN_TEST_cc_c): Likewise.
722 (RUN_TEST_LOOP_cc_c): Likewise.
723 (RUN_TEST_f_i): Likewise.
724 (RUN_TEST_LOOP_f_i): Likewise.
725 (RUN_TEST_f_i_tg): Likewise.
726 (RUN_TEST_LOOP_f_i_tg): Likewise.
727 (RUN_TEST_ff_i_tg): Likewise.
728 (RUN_TEST_LOOP_ff_i_tg): Likewise.
729 (RUN_TEST_f_b): Likewise.
730 (RUN_TEST_LOOP_f_b): Likewise.
731 (RUN_TEST_f_b_tg): Likewise.
732 (RUN_TEST_LOOP_f_b_tg): Likewise.
733 (RUN_TEST_f_l): Likewise.
734 (RUN_TEST_LOOP_f_l): Likewise.
735 (RUN_TEST_f_L): Likewise.
736 (RUN_TEST_LOOP_f_L): Likewise.
737 (RUN_TEST_sincos): Likewise.
738 (RUN_TEST_LOOP_sincos): Likewise.
739
8269107f
JM
7402013-05-17 Joseph Myers <joseph@codesourcery.com>
741
bb38759d
JM
742 [BZ #15480]
743 [BZ #15485]
744 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
745 main case of finite arguments, set rounding mode to FE_TONEAREST
746 and discard exceptions.
747 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
748 exceptions.
749 (remainder_tonearest_test_data): New variable.
750 (remainder_test_tonearest): New function.
751 (remainder_towardzero_test_data): New variable.
752 (remainder_test_towardzero): New function.
753 (remainder_downward_test_data): New variable.
754 (remainder_test_downward): New function.
755 (remainder_upward_test_data): New variable.
756 (remainder_test_upward): New function.
757 (main): Call the new test functions.
758
a00bdcf0
JM
759 * math/libm-test.inc (struct test_f_f1_data): Remove field
760 extra_init.
761 (struct test_fF_f1_data): Likewise.
762 (struct test_ffI_f1_data): Likewise.
763 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
764 based on value of EXTRA_EXPECTED.
765 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
766 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
767 EXTRA_VAR based on value of EXTRA_EXPECTED.
768 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
769 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
770 EXTRA_VAR based on value of EXTRA_EXPECTED.
771 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
772 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
773 EXTRA_VAR based on value of EXTRA_EXPECTED.
774 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
775 * math/gen-libm-test.pl (parse_args): Don't output initializers
776 for extra output values.
777
de407f79
JM
778 * math/libm-test.inc (check_int): Expect result to be exactly
779 equal to expected value and do not handle ulps.
780 (check_long): Likewise.
781 (check_longlong): Likewise.
782
8269107f
JM
783 * math/libm-test.inc (ceil_test_data): Test for "inexact"
784 exceptions.
785 (cimag_test_data): Likewise.
786 (conj_test_data): Likewise.
787 (copysign_test_data): Likewise.
788 (cproj_test_data): Likewise.
789 (creal_test_data): Likewise.
790 (fabs_test_data): Likewise.
791 (fdim_test_data): Likewise.
792 (finite_test_data): Likewise.
793 (floor_test_data): Likewise.
794 (fmax_test_data): Likewise.
795 (fmin_test_data): Likewise.
796 (fmod_test_data): Likewise.
797 (fpclassify_test_data): Likewise.
798 (frexp_test_data): Likewise.
799 (ilogb_test_data): Likewise.
800 (isfinite_test_data): Likewise.
801 (isgreater_test_data): Likewise.
802 (isgreaterequal_test_data): Likewise.
803 (isinf_test_data): Likewise.
804 (isless_test_data): Likewise.
805 (islessequal_test_data): Likewise.
806 (islessgreater_test_data): Likewise.
807 (isnan_test_data): Likewise.
808 (isnormal_test_data): Likewise.
809 (issignaling_test_data): Likewise.
810 (isunordered_test_data): Likewise.
811 (ldexp_test_data): Likewise.
812 (lrint_test_data): Likewise.
813 (lrint_test_data) [TEST_FLOAT]: Disable one test.
814 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
815 (lrint_tonearest_test_data): Test for "inexact" exceptions.
816 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
817 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
818 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
819 test input.
820 (lrint_towardzero_test_data): Test for "inexact" exceptions.
821 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
822 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
823 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
824 that test input.
825 (lrint_downward_test_data): Test for "inexact" exceptions.
826 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
827 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
828 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
829 test input.
830 (lrint_upward_test_data): Test for "inexact" exceptions.
831 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
832 test input.
833 (llrint_test_data): Test for "inexact" exceptions.
834 (llrint_test_data) [TEST_FLOAT]: Disable one test.
835 (llrint_tonearest_test_data): Test for "inexact" exceptions.
836 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
837 (llrint_towardzero_test_data): Test for "inexact" exceptions.
838 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
839 (llrint_downward_test_data): Test for "inexact" exceptions.
840 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
841 (llrint_upward_test_data): Test for "inexact" exceptions.
842 (logb_test_data): Likewise.
843 (logb_downward_test_data): Likewise.
844 (nextafter_test_data): Likewise.
845 (nexttoward_test_data): Likewise.
846 (remainder_test_data): Likewise.
847 (remquo_test_data): Likewise.
848 (scalbn_test_data): Likewise.
849 (scalbln_test_data): Likewise.
850 (signbit_test_data): Likewise.
851 (sqrt_test_data): Likewise.
852 (significand_test_data): Likewise.
853
48a18de1
SP
8542013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
855
856 [BZ #15424]
857 * benchtests/bench-modf.c (struct args): Mark arg0 as
858 volatile.
859 * scripts/bench.pl: Mark members of struct args as volatile.
860
13d3b41a
AZ
8612013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
862
68191c1d 863 [BZ # 15497]
13d3b41a
AZ
864 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
865 negative infinity on POWER6 or lower.
866 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
867
2848b105
MR
8682013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
869
870 [BZ #15442]
871 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
872 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
873 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
874 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
875 (_FP_SETQNAN): New macro.
876 (_FP_SETQNAN_SEMIRAW): Likewise.
877 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
878 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
879 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
880 (FP_EXTEND): Use _FP_FRAC_SNANP.
881 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
882 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
883 into account.
884 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
885 New macro.
886 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
887 Likewise.
888
323e5cb7
JM
8892013-05-16 Joseph Myers <joseph@codesourcery.com>
890
c58b274f
JM
891 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
892 with DIVIDE_BY_ZERO_EXCEPTION.
893 (gamma_test_data): Likewise.
894 (lgamma_test_data): Likewise.
895 (log_test_data): Likewise.
896 (log10_test_data): Likewise.
897 (log2_test_data): Likewise.
898 (tgamma_test_data): Likewise.
899
0ab34904
JM
900 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
901 (acos_test_tonearest): Likewise.
902 (acos_test_towardzero): Likewise.
903 (acos_test_downward): Likewise.
904 (acos_test_upward): Likewise.
905 (acosh_test): Likewise.
906 (asin_test): Likewise.
907 (asin_test_tonearest): Likewise.
908 (asin_test_towardzero): Likewise.
909 (asin_test_downward): Likewise.
910 (asin_test_upward): Likewise.
911 (asinh_test): Likewise.
912 (atan_test): Likewise.
913 (atanh_test): Likewise.
914 (atan2_test): Likewise.
915 (cabs_test): Likewise.
916 (cacos_test): Likewise.
917 (cacosh_test): Likewise.
918 (casin_test): Likewise.
919 (casinh_test): Likewise.
920 (catan_test): Likewise.
921 (catanh_test): Likewise.
922 (cbrt_test): Likewise.
923 (ccos_test): Likewise.
924 (ccosh_test): Likewise.
925 (cexp_test): Likewise.
926 (clog_test): Likewise.
927 (clog10_test): Likewise.
928 (cos_test): Likewise.
929 (cos_test_tonearest): Likewise.
930 (cos_test_towardzero): Likewise.
931 (cos_test_downward): Likewise.
932 (cos_test_upward): Likewise.
933 (cosh_test): Likewise.
934 (cosh_test_tonearest): Likewise.
935 (cosh_test_towardzero): Likewise.
936 (cosh_test_downward): Likewise.
937 (cosh_test_upward): Likewise.
938 (cpow_test): Likewise.
939 (csin_test): Likewise.
940 (csinh_test): Likewise.
941 (csqrt_test): Likewise.
942 (ctan_test): Likewise.
943 (ctan_test_tonearest): Likewise.
944 (ctan_test_towardzero): Likewise.
945 (ctan_test_downward): Likewise.
946 (ctan_test_upward): Likewise.
947 (ctanh_test): Likewise.
948 (ctanh_test_tonearest): Likewise.
949 (ctanh_test_towardzero): Likewise.
950 (ctanh_test_downward): Likewise.
951 (ctanh_test_upward): Likewise.
952 (erf_test): Likewise.
953 (erfc_test): Likewise.
954 (exp_test): Likewise.
955 (exp_test_tonearest): Likewise.
956 (exp_test_towardzero): Likewise.
957 (exp_test_downward): Likewise.
958 (exp_test_upward): Likewise.
959 (exp10_test): Likewise.
960 (exp2_test): Likewise.
961 (expm1_test): Likewise.
962 (fmod_test): Likewise.
963 (gamma_test): Likewise.
964 (hypot_test): Likewise.
965 (j0_test): Likewise.
966 (j1_test): Likewise.
967 (jn_test): Likewise.
968 (lgamma_test): Likewise.
969 (log_test): Likewise.
970 (log10_test): Likewise.
971 (log1p_test): Likewise.
972 (log2_test): Likewise.
973 (logb_test_downward): Likewise.
974 (pow_test): Likewise.
975 (pow_test_tonearest): Likewise.
976 (pow_test_towardzero): Likewise.
977 (pow_test_downward): Likewise.
978 (pow_test_upward): Likewise.
979 (remainder_test): Likewise.
980 (remquo_test): Likewise.
981 (sin_test): Likewise.
982 (sin_test_tonearest): Likewise.
983 (sin_test_towardzero): Likewise.
984 (sin_test_downward): Likewise.
985 (sin_test_upward): Likewise.
986 (sincos_test): Likewise.
987 (sinh_test): Likewise.
988 (sinh_test_tonearest): Likewise.
989 (sinh_test_towardzero): Likewise.
990 (sinh_test_downward): Likewise.
991 (sinh_test_upward): Likewise.
992 (sqrt_test): Likewise.
993 (tan_test): Likewise.
994 (tan_test_tonearest): Likewise.
995 (tan_test_towardzero): Likewise.
996 (tan_test_downward): Likewise.
997 (tan_test_upward): Likewise.
998 (tanh_test): Likewise.
999 (tgamma_test): Likewise.
1000 (y0_test): Likewise.
1001 (y1_test): Likewise.
1002 (yn_test): Likewise.
1003
323e5cb7
JM
1004 * math/gen-libm-test.pl (adjust_arg): Remove function.
1005 (special_function): Remove argument $in_func. Only handle
1006 generating output for tables of tests, not inside functions.
1007 (parse_args): Likewise.
1008 (generate_testfile): Remove variable $in_func. Update call to
1009 parse_args.
1010 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
1011 (MINUS_ZERO_INIT): Rename macro to minus_zero.
1012 (PLUS_INFTY_INIT): Rename macro to plus_infty.
1013 (MINUS_INFTY_INIT): Rename macro to minus_infty.
1014 (QNAN_VALUE_INIT): Rename macro to qnan_value.
1015 (MAX_VALUE_INIT): Rename macro to max_value.
1016 (MIN_VALUE_INIT): Rename macro to min_value.
1017 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
1018 (plus_zero): Remove variable.
1019 (minus_zero): Likewise.
1020 (plus_infty): Likewise.
1021 (minus_infty): Likewise.
1022 (qnan_value): Likewise.
1023 (max_value): Likewise.
1024 (min_value): Likewise.
1025 (min_subnorm_value): Likewise.
1026
e054f494
RA
10272013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1028
1029 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
1030 uint64_t or uint32_t usage.
1031 * crypt/sha256-block.c: Likewise.
1032 * crypt/sha256-crypt.c: Likewise.
1033 * crypt/sha256.c: Likewise.
1034 * crypt/sha512-block.c: Likewise.
1035 * crypt/sha512-crypt.c: Likewise.
1036 * crypt/sha512.c: Likewise.
1037 * debug/backtrace-tst.c: Likewise.
1038 * debug/pcprofiledump.c: Likewise.
1039 * elf/cache.c: Likewise.
1040 * elf/dl-cache.c: Likewise.
1041 * elf/dl-misc.c: Likewise.
1042 * elf/dl-profile.c: Likewise.
1043 * elf/dl-support.c: Likewise.
1044 * elf/ldconfig.c: Likewise.
1045 * elf/sprof.c: Likewise.
1046 * iconv/dummy-repertoire.c: Likewise.
1047 * iconv/iconv_charmap.c: Likewise.
1048 * iconv/skeleton.c: Likewise.
1049 * iconvdata/8bit-generic.c: Likewise.
1050 * iconvdata/cp737.h: Likewise.
1051 * iconvdata/cp775.h: Likewise.
1052 * iconvdata/ibm1008.h: Likewise.
1053 * iconvdata/ibm1025.h: Likewise.
1054 * iconvdata/ibm1046.h: Likewise.
1055 * iconvdata/ibm1097.h: Likewise.
1056 * iconvdata/ibm1112.h: Likewise.
1057 * iconvdata/ibm1122.h: Likewise.
1058 * iconvdata/ibm1123.h: Likewise.
1059 * iconvdata/ibm1124.h: Likewise.
1060 * iconvdata/ibm1129.h: Likewise.
1061 * iconvdata/ibm1130.h: Likewise.
1062 * iconvdata/ibm1132.h: Likewise.
1063 * iconvdata/ibm1133.h: Likewise.
1064 * iconvdata/ibm1137.h: Likewise.
1065 * iconvdata/ibm1140.h: Likewise.
1066 * iconvdata/ibm1141.h: Likewise.
1067 * iconvdata/ibm1142.h: Likewise.
1068 * iconvdata/ibm1143.h: Likewise.
1069 * iconvdata/ibm1144.h: Likewise.
1070 * iconvdata/ibm1145.h: Likewise.
1071 * iconvdata/ibm1146.h: Likewise.
1072 * iconvdata/ibm1147.h: Likewise.
1073 * iconvdata/ibm1148.h: Likewise.
1074 * iconvdata/ibm1149.h: Likewise.
1075 * iconvdata/ibm1153.h: Likewise.
1076 * iconvdata/ibm1154.h: Likewise.
1077 * iconvdata/ibm1155.h: Likewise.
1078 * iconvdata/ibm1156.h: Likewise.
1079 * iconvdata/ibm1157.h: Likewise.
1080 * iconvdata/ibm1158.h: Likewise.
1081 * iconvdata/ibm1160.h: Likewise.
1082 * iconvdata/ibm1161.h: Likewise.
1083 * iconvdata/ibm1162.h: Likewise.
1084 * iconvdata/ibm1163.h: Likewise.
1085 * iconvdata/ibm1164.h: Likewise.
1086 * iconvdata/ibm1166.h: Likewise.
1087 * iconvdata/ibm1167.h: Likewise.
1088 * iconvdata/ibm12712.h: Likewise.
1089 * iconvdata/ibm1390.h: Likewise.
1090 * iconvdata/ibm1399.h: Likewise.
1091 * iconvdata/ibm16804.h: Likewise.
1092 * iconvdata/ibm4517.h: Likewise.
1093 * iconvdata/ibm4899.h: Likewise.
1094 * iconvdata/ibm4909.h: Likewise.
1095 * iconvdata/ibm4971.h: Likewise.
1096 * iconvdata/ibm5347.h: Likewise.
1097 * iconvdata/ibm803.h: Likewise.
1098 * iconvdata/ibm856.h: Likewise.
1099 * iconvdata/ibm901.h: Likewise.
1100 * iconvdata/ibm902.h: Likewise.
1101 * iconvdata/ibm9030.h: Likewise.
1102 * iconvdata/ibm9066.h: Likewise.
1103 * iconvdata/ibm921.h: Likewise.
1104 * iconvdata/ibm922.h: Likewise.
1105 * iconvdata/ibm9448.h: Likewise.
1106 * iconvdata/isiri-3342.h: Likewise.
1107 * iconvdata/jis0201.h: Likewise.
1108 * include/link.h: Likewise.
1109 * include/netdb.h: Likewise.
1110 * inet/check_native.c: Likewise.
1111 * inet/check_pf.c: Likewise.
1112 * inet/getipv4sourcefilter.c: Likewise.
1113 * inet/getnameinfo.c: Likewise.
1114 * inet/getsourcefilter.c: Likewise.
1115 * inet/htonl.c: Likewise.
1116 * inet/setipv4sourcefilter.c: Likewise.
1117 * inet/setsourcefilter.c: Likewise.
1118 * inet/test-inet6_opt.c: Likewise.
1119 * inet/tst-network.c: Likewise.
1120 * locale/C-collate.c: Likewise.
1121 * locale/C-ctype.c: Likewise.
1122 * locale/C-time.c: Likewise.
1123 * locale/C-translit.h: Likewise.
1124 * locale/loadarchive.c: Likewise.
1125 * locale/programs/3level.h: Likewise.
1126 * locale/programs/charmap.c: Likewise.
1127 * locale/programs/charmap.h: Likewise.
1128 * locale/programs/ld-address.c: Likewise.
1129 * locale/programs/ld-collate.c: Likewise.
1130 * locale/programs/ld-ctype.c: Likewise.
1131 * locale/programs/ld-identification.c: Likewise.
1132 * locale/programs/ld-measurement.c: Likewise.
1133 * locale/programs/ld-messages.c: Likewise.
1134 * locale/programs/ld-monetary.c: Likewise.
1135 * locale/programs/ld-name.c: Likewise.
1136 * locale/programs/ld-numeric.c: Likewise.
1137 * locale/programs/ld-paper.c: Likewise.
1138 * locale/programs/ld-telephone.c: Likewise.
1139 * locale/programs/ld-time.c: Likewise.
1140 * locale/programs/linereader.c: Likewise.
1141 * locale/programs/locale.c: Likewise.
1142 * locale/programs/locarchive.c: Likewise.
1143 * locale/programs/locfile.h: Likewise.
1144 * locale/programs/repertoire.c: Likewise.
1145 * locale/programs/simple-hash.c: Likewise.
1146 * locale/programs/simple-hash.h: Likewise.
1147 * malloc/memusage.c: Likewise.
1148 * malloc/memusagestat.c: Likewise.
1149 * nis/nis_defaults.c: Likewise.
1150 * nis/nis_hash.c: Likewise.
1151 * nis/nis_print.c: Likewise.
1152 * nis/nis_xdr.c: Likewise.
1153 * nscd/connections.c: Likewise.
1154 * nscd/hstcache.c: Likewise.
1155 * nscd/nscd_gethst_r.c: Likewise.
1156 * nscd/nscd_getserv_r.c: Likewise.
1157 * nscd/nscd_helper.c: Likewise.
1158 * nscd/servicescache.c: Likewise.
1159 * nss/makedb.c: Likewise.
1160 * nss/nss_db/db-XXX.c: Likewise.
1161 * nss/nss_db/db-initgroups.c: Likewise.
1162 * nss/nss_db/db-netgrp.c: Likewise.
1163 * nss/nss_files/files-network.c: Likewise.
1164 * nss/nss_files/files-parse.c: Likewise.
1165 * posix/bug-regex5.c: Likewise.
1166 * posix/fnmatch_loop.c: Likewise.
1167 * posix/regcomp.c: Likewise.
1168 * posix/regexec.c: Likewise.
1169 * posix/tst-rfc3484-2.c: Likewise.
1170 * posix/tst-rfc3484-3.c: Likewise.
1171 * posix/tst-rfc3484.c: Likewise.
1172 * resolv/nss_dns/dns-canon.c: Likewise.
1173 * resolv/nss_dns/dns-network.c: Likewise.
1174 * resolv/res_init.c: Likewise.
1175 * resolv/res_mkquery.c: Likewise.
1176 * resolv/tst-aton.c: Likewise.
1177 * stdlib/cxa_atexit.c: Likewise.
1178 * stdlib/cxa_finalize.c: Likewise.
1179 * stdlib/gen-fpioconst.c: Likewise.
1180 * stdlib/strtol_l.c: Likewise.
1181 * string/tst-endian.c: Likewise.
1182 * sunrpc/auth_des.c: Likewise.
1183 * sunrpc/clnt_udp.c: Likewise.
1184 * sunrpc/rtime.c: Likewise.
1185 * sunrpc/svcauth_des.c: Likewise.
1186 * sunrpc/xdr.c: Likewise.
1187 * sunrpc/xdr_intXX_t.c: Likewise.
1188 * sunrpc/xdr_rec.c: Likewise.
1189 * sysdeps/generic/ldconfig.h: Likewise.
1190 * sysdeps/generic/ldsodefs.h: Likewise.
1191 * sysdeps/generic/memusage.h: Likewise.
1192 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1193 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
1194 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
1195 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1196 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1197 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1198 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1199 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1200 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1201 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1202 * sysdeps/posix/getaddrinfo.c: Likewise.
1203 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1204 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1205 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
1206 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1207 * sysdeps/powerpc/test-gettimebase.c: Likewise.
1208 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1209 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
1210 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
1211 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1212 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
1213 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1214 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1215 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
1216 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
1217 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
1218 * sysdeps/x86_64/dl-tls.h: Likewise.
1219 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
1220 * time/alt_digit.c: Likewise.
1221 * time/era.c: Likewise.
1222 * wcsmbs/tst-c16c32-1.c: Likewise.
1223
8c75f674
JM
12242013-05-16 Joseph Myers <joseph@codesourcery.com>
1225
1226 * math/libm-test.inc (struct test_sincos_data): New type.
1227 (RUN_TEST_LOOP_sincos): New macro.
1228 (sincos_test_data): New variable.
1229 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
1230
e6e49e59
RH
12312013-05-16 Richard Henderson <rth@redhat.com>
1232
1233 * math/atest-exp2.c (LIMB64): New macro.
1234 (CONSTSZ): New macro.
1235 (mp_exp1, mp_exp_m1, mp_log2): New variables.
1236 (hexdig): Move ...
1237 (print_mpn_fp): ... to function scope.
1238 (read_mpn_hex): Remove.
1239 (get_log2): Remove.
1240 (exp2_mpn): Use mp_log2.
1241 (main): Use mp_exp1.
1242
15c7c18d
JM
12432013-05-16 Joseph Myers <joseph@codesourcery.com>
1244
105a07df
JM
1245 * math/libm-test.inc: Remove comment about not testing "inexact"
1246 exceptions.
1247 (INEXACT_EXCEPTION): New macro.
1248 (NO_INEXACT_EXCEPTION): Likewise.
1249 (INVALID_EXCEPTION_OK): Update value.
1250 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1251 (OVERFLOW_EXCEPTION_OK): Likewise.
1252 (UNDERFLOW_EXCEPTION_OK): Likewise.
1253 (IGNORE_ZERO_INF_SIGN): Likewise.
1254 (ERRNO_UNCHANGED): Likewise.
1255 (ERRNO_EDOM): Likewise.
1256 (ERRNO_ERANGE): Likewise.
1257 (test_exceptions): Handle testing "inexact" exceptions.
1258 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
1259 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
1260 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
1261 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
1262 INEXACT_EXCEPTION.
1263 (rint_towardzero_test_data): Likewise.
1264 (rint_downward_test_data): Likewise.
1265 (rint_upward_test_data): Likewise.
1266
e9eee333
JM
1267 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
1268 with OVERFLOW_EXCEPTION.
1269 (exp10_test_data): Likewise.
1270 (exp2_test_data): Likewise.
1271 (expm1_test_data): Likewise.
1272 (lgamma_test_data): Likewise.
1273 (pow_test_data): Likewise.
1274 (tgamma_test_data): Likewise.
1275 (yn_test_data): Remove duplicate test of overflow.
1276
1c38ff73
JM
1277 * math/libm-test.inc (struct test_cc_c_data): New type.
1278 (RUN_TEST_LOOP_cc_c): New macro.
1279 (cpow_test_data): New variable.
1280 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
1281
15c7c18d
JM
1282 * math/libm-test.inc (struct test_f_L_data): New type.
1283 (RUN_TEST_LOOP_f_L): New macro.
1284 (llrint_test_data): New variable.
1285 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
1286 (llrint_tonearest_test_data): New variable.
1287 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
1288 (llrint_towardzero_test_data): New variable.
1289 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
1290 (llrint_downward_test_data): New variable.
1291 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
1292 (llrint_upward_test_data): New variable.
1293 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
1294 (llround_test_data): New variable.
1295 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
1296
f137ff13
PC
12972013-05-13 Peter Collingbourne <pcc@google.com>
1298
1299 * math/atest-exp2.c (get_log2): Remove const attribute.
1300
3608cb24
JM
13012013-05-15 Joseph Myers <joseph@codesourcery.com>
1302
1303 * math/libm-test.inc (struct test_f_l_data): New type.
1304 (RUN_TEST_LOOP_f_l): New macro.
1305 (lrint_test_data): New variable.
1306 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
1307 (lrint_tonearest_test_data): New variable.
1308 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
1309 (lrint_towardzero_test_data): New variable.
1310 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
1311 (lrint_downward_test_data): New variable.
1312 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
1313 (lrint_upward_test_data): New variable.
1314 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
1315 (lround_test_data): New variable.
1316 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
1317
39b1f617
PC
13182013-05-15 Peter Collingbourne <pcc@google.com>
1319
1deff3dc
PC
1320 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
1321 (EXTRACT_WORDS64) Use where appropriate.
1322 (INSERT_WORDS64) Likewise.
1323
791f3ba0
PC
1324 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
1325 constraints with x constraints.
1326 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
1327
39b1f617
PC
1328 * malloc/obstack.c (_obstack_compat): Add initializer.
1329
12fba011
EM
13302013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
1331
1332 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
1333 si_trapno and add si_addr_lsb to _sifields.sigfault.
1334 (si_trapno): Remove macro.
1335 (si_addr_lsb): Define new macro.
1336 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1337
d369f531
JM
13382013-05-15 Joseph Myers <joseph@codesourcery.com>
1339
b861c6c4
JM
1340 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
1341 instead of TEST_f_l.
1342 (llrint_test_tonearest): Likewise.
1343 (llrint_test_towardzero): Likewise.
1344 (llrint_test_downward): Likewise.
1345 (llrint_test_upward): Likewise.
1346 (llround_test): Likewise.
1347
7abeee12
JM
1348 * math/libm-test.inc (struct test_f_i_data): Add comment.
1349 (RUN_TEST_LOOP_f_b): New macro.
1350 (RUN_TEST_LOOP_f_b_tg): Likewise.
1351 (finite_test_data): New variable.
1352 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
1353 (isfinite_test_data): New variable.
1354 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1355 (isinf_test_data): New variable.
1356 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1357 (isnan_test_data): New variable.
1358 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1359 (isnormal_test_data): New variable.
1360 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1361 (issignaling_test_data): New variable.
1362 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1363 (signbit_test_data): New variable.
1364 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1365
cbe8c4d3
JM
1366 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
1367 with INVALID_EXCEPTION.
1368 (acosh_test_data): Likewise.
1369 (asin_test_data): Likewise.
1370 (atanh_test_data): Likewise.
1371 (fmod_test_data): Likewise.
1372 (log_test_data): Likewise.
1373 (log10_test_data): Likewise.
1374 (log2_test_data): Likewise.
1375 (pow_test_data): Likewise.
1376 (sqrt_test_data): Likewise.
1377 (y0_test_data): Likewise.
1378 (y1_test_data): Likewise.
1379 (yn_test_data): Likewise.
1380
5575c0e5
JM
1381 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
1382 function contents.
1383
d369f531
JM
1384 * math/libm-test.inc (struct test_ff_i_data): New type.
1385 (RUN_TEST_LOOP_ff_i_tg): New macro.
1386 (isgreater_test_data): New variable.
1387 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1388 (isgreaterequal_test_data): New variable.
1389 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1390 (isless_test_data): New variable.
1391 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1392 (islessequal_test_data): New variable.
1393 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1394 (islessgreater_test_data): New variable.
1395 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1396 (isunordered_test_data): New variable.
1397 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1398
781fd748
DM
13992013-05-14 David S. Miller <davem@davemloft.net>
1400
1401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1402
87aa21df
JM
14032013-05-14 Joseph Myers <joseph@codesourcery.com>
1404
5e908270
JM
1405 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
1406
f71172e5
JM
1407 * math/libm-test.inc (struct test_fF_f1_data): Change type of
1408 extra_test to int.
1409 (struct test_f_i_data): Change type of max_ulp to int.
1410
8cfa635a
JM
1411 * math/libm-test.inc (test_ffI_f1_data): New type.
1412 (RUN_TEST_LOOP_ffI_f1): New macro.
1413 (remquo_test_data): New variable.
1414 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
1415
2bcb36b2
JM
1416 * setjmp/tst-setjmp-fp.c: New file.
1417 * setjmp/Makefile (tests): Add tst-setjmp-fp.
1418 (link-libm): New variable.
1419 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
1420
acbd839a
JM
1421 * math/libm-test.inc (struct test_f_i_data): New type.
1422 (RUN_TEST_LOOP_f_i): New macro.
1423 (RUN_TEST_LOOP_f_i_tg): Likewise.
1424 (fpclassify_test_data): New variable.
1425 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
1426 (ilogb_test_data): New variable.
1427 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
1428
e414d745
JM
1429 * math/libm-test.inc (scalbln_test): Correct function name in END
1430 call.
1431
d9c2a0fd
JM
1432 * math/libm-test.inc (struct test_f_f1_data): Add comment.
1433 (RUN_TEST_LOOP_fI_f1): New macro.
1434 (frexp_test_data): New variable.
1435 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
1436
9dc9095d
JM
1437 * math/libm-test.inc (struct test_fF_f1_data): New type.
1438 (RUN_TEST_LOOP_fF_f1): New macro.
1439 (modf_test_data): New variable.
1440 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
1441
87aa21df
JM
1442 * math/libm-test.inc (struct test_f_f1_data): New type.
1443 (RUN_TEST_LOOP_f_f1): New macro.
1444 (gamma_test_data): New variable.
1445 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
1446 (lgamma_test_data): New variable.
1447 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
1448
141af660
CD
14492013-05-13 Carlos O'Donell <carlos@redhat.com>
1450
1451 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
1452 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
1453 (main): Comment "tls" pseudo-hwcap.
1454
6d33265c
JM
14552013-05-13 Joseph Myers <joseph@codesourcery.com>
1456
68fc074c
JM
1457 * math/libm-test.inc (struct test_fl_f_data): New type.
1458 (RUN_TEST_LOOP_fl_f): New variable.
1459 (scalbln_test_data): New variable.
1460 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
1461
243216e1
JM
1462 * math/libm-test.inc (struct test_fi_f_data): New type.
1463 (RUN_TEST_LOOP_fi_f): New macro.
1464 (ldexp_test_data): New variable.
1465 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
1466 (scalbn_test_data): New variable.
1467 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
1468
6a1992e2
JM
1469 * math/libm-test.inc (struct test_c_f_data): New type.
1470 (RUN_TEST_LOOP_c_f): New macro.
1471 (cabs_test_data): New variable.
1472 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
1473 (carg_test_data): New variable.
1474 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
1475 (cimag_test_data): New variable.
1476 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
1477 (creal_test_data): New variable.
1478 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
1479
0e400df5
JM
1480 * math/libm-test.inc (struct test_if_f_data): New type.
1481 (RUN_TEST_LOOP_if_f): New macro.
1482 (jn_test_data): New variable.
1483 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
1484 (yn_test_data): New variable.
1485 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
1486
6d33265c
JM
1487 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
1488
f98ece5f
AZ
14892013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1490
1491 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
1492 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
1493
0f7d347b
SP
14942013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1495
43fe811b
SP
1496 * benchtests/Makefile (CPPFLAGS-nonlib): Add
1497 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
1498 (bench-deps): Add bench-timing.h.
1499 * benchtests-bench-skeleton.c: Include bench-timing.h.
1500 (main): Use TIMING_* macros instead of clock_gettime.
1501 * benchtests/bench-timing.h: New file.
1502
0f7d347b
SP
1503 [BZ #14582]
1504 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
1505 Renamed from _LIB_VERSION.
1506 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
1507
601a3a5f
JM
15082013-05-12 Joseph Myers <joseph@codesourcery.com>
1509
4f184d30
JM
1510 * math/libm-test.inc (struct test_fff_f_data): New type.
1511 (RUN_TEST_LOOP_fff_f): New macro.
1512 (fma_test_data): New variable.
1513 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
1514 (fma_towardzero_test_data): New variable.
1515 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
1516 (fma_downward_test_data): New variable.
1517 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
1518 (fma_upward_test_data): New variable.
1519 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
1520
08198877
JM
1521 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
1522 (struct test_c_c_data): New type.
1523 (RUN_TEST_LOOP_c_c): New macro.
1524 (cacos_test_data): New variable.
1525 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
1526 (cacosh_test_data): New variable.
1527 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
1528 (casin_test_data): New variable.
1529 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
1530 (casinh_test_data): New variable.
1531 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
1532 (catan_test_data): New variable.
1533 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
1534 (catanh_test_data): New variable.
1535 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
1536 (ccos_test_data): New variable.
1537 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
1538 (ccosh_test_data): New variable.
1539 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
1540 (cexp_test_data): New variable.
1541 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
1542 (clog_test_data): New variable.
1543 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
1544 (clog10_test_data): New variable.
1545 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
1546 (conj_test_data): New variable.
1547 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
1548 (cproj_test_data): New variable.
1549 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
1550 (csin_test_data): New variable.
1551 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
1552 (csinh_test_data): New variable.
1553 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
1554 (csqrt_test_data): New variable.
1555 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
1556 (ctan_test_data): New variable.
1557 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
1558 (ctan_tonearest_test_data): New variable.
1559 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1560 (ctan_towardzero_test_data): New variable.
1561 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1562 (ctan_downward_test_data): New variable.
1563 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1564 (ctan_upward_test_data): New variable.
1565 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1566 (ctanh_test_data): New variable.
1567 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
1568 (ctanh_tonearest_test_data): New variable.
1569 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1570 (ctanh_towardzero_test_data): New variable.
1571 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1572 (ctanh_downward_test_data): New variable.
1573 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1574 (ctanh_upward_test_data): New variable.
1575 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1576 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
1577 of BUILD_COMPLEX.
1578
601a3a5f
JM
1579 * math/libm-test.inc (struct test_ff_f_data): New type.
1580 (struct test_ff_f_data_nexttoward): Likewise.
1581 (RUN_TEST_LOOP_2_f): New macro.
1582 (RUN_TEST_LOOP_ff_f): Likewise.
1583 (atan2_test_data): New variable.
1584 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
1585 (copysign_test_data): New variable.
1586 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
1587 (fdim_test_data): New variable.
1588 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
1589 (fmax_test_data): New variable.
1590 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
1591 (fmin_test_data): New variable.
1592 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
1593 (fmod_test_data): New variable.
1594 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
1595 (hypot_test_data): New variable.
1596 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
1597 (nextafter_test_data): New variable.
1598 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
1599 (nexttoward_test_data): New variable.
1600 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
1601 (pow_test_data): New variable.
1602 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
1603 (pow_tonearest_test_data): New variable.
1604 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
1605 (pow_towardzero_test_data): New variable.
1606 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
1607 (pow_downward_test_data): New variable.
1608 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
1609 (pow_upward_test_data): New variable.
1610 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
1611 (remainder_test_data): New variable.
1612 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
1613 (scalb_test_data): New variable.
1614 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
1615 * sysdeps/i386/fpu/libm-test-ulps: Update.
1616
74c57478
JM
16172013-05-11 Joseph Myers <joseph@codesourcery.com>
1618
8329e4da
JM
1619 * math/libm-test.inc (fma_test): Use max_value instead of local
1620 variable fltmax.
1621 (nextafter_test): Likewise.
1622
74c57478
JM
1623 * math/libm-test.inc (acos_towardzero_test_data): New variable.
1624 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1625 (acos_downward_test_data): New variable.
1626 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1627 (acos_upward_test_data): New variable.
1628 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1629 (acosh_test_data): New variable.
1630 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
1631 (asin_test_data): New variable.
1632 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
1633 (asin_tonearest_test_data): New variable.
1634 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1635 (asin_towardzero_test_data): New variable.
1636 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1637 (asin_downward_test_data): New variable.
1638 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1639 (asin_upward_test_data): New variable.
1640 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1641 (asinh_test_data): New variable.
1642 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
1643 (atan_test_data): New variable.
1644 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
1645 (atanh_test_data): New variable.
1646 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
1647 (cbrt_test_data): New variable.
1648 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
1649 (ceil_test_data): New variable.
1650 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
1651 (cos_test_data): New variable.
1652 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
1653 (cos_tonearest_test_data): New variable.
1654 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1655 (cos_towardzero_test_data): New variable.
1656 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1657 (cos_downward_test_data): New variable.
1658 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1659 (cos_upward_test_data): New variable.
1660 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1661 (cosh_test_data): New variable.
1662 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
1663 (cosh_tonearest_test_data): New variable.
1664 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1665 (cosh_towardzero_test_data): New variable.
1666 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1667 (cosh_downward_test_data): New variable.
1668 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1669 (cosh_upward_test_data): New variable.
1670 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1671 (erf_test_data): New variable.
1672 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
1673 (erfc_test_data): New variable.
1674 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
1675 (exp_test_data): New variable.
1676 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
1677 (exp_tonearest_test_data): New variable.
1678 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1679 (exp_towardzero_test_data): New variable.
1680 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1681 (exp_downward_test_data): New variable.
1682 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1683 (exp_upward_test_data): New variable.
1684 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1685 (exp10_test_data): New variable.
1686 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
1687 (exp2_test_data): New variable.
1688 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
1689 (expm1_test_data): New variable.
1690 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
1691 (fabs_test_data): New variable.
1692 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
1693 (floor_test_data): New variable.
1694 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
1695 (j0_test_data): New variable.
1696 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
1697 (j1_test_data): New variable.
1698 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
1699 (log_test_data): New variable.
1700 (log_test): Run tests with RUN_TEST_LOOP_f_f.
1701 (log10_test_data): New variable.
1702 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
1703 (log1p_test_data): New variable.
1704 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
1705 (log2_test_data): New variable.
1706 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
1707 (logb_test_data): New variable.
1708 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
1709 (logb_downward_test_data): New variable.
1710 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1711 (nearbyint_test_data): New variable.
1712 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
1713 (rint_test_data): New variable.
1714 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
1715 (rint_tonearest_test_data): New variable.
1716 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1717 (rint_towardzero_test_data): New variable.
1718 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1719 (rint_downward_test_data): New variable.
1720 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1721 (rint_upward_test_data): New variable.
1722 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1723 (round_test_data): New variable.
1724 (round_test): Run tests with RUN_TEST_LOOP_f_f.
1725 (sin_test_data): New variable.
1726 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
1727 (sin_tonearest_test_data): New variable.
1728 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1729 (sin_towardzero_test_data): New variable.
1730 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1731 (sin_downward_test_data): New variable.
1732 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1733 (sin_upward_test_data): New variable.
1734 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1735 (sinh_test_data): New variable.
1736 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
1737 (sinh_tonearest_test_data): New variable.
1738 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1739 (sinh_towardzero_test_data): New variable.
1740 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1741 (sinh_downward_test_data): New variable.
1742 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1743 (sinh_upward_test_data): New variable.
1744 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1745 (sqrt_test_data): New variable.
1746 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
1747 (tan_test_data): New variable.
1748 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
1749 (tan_tonearest_test_data): New variable.
1750 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1751 (tan_towardzero_test_data): New variable.
1752 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1753 (tan_downward_test_data): New variable.
1754 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1755 (tan_upward_test_data): New variable.
1756 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1757 (tanh_test_data): New variable.
1758 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
1759 (tgamma_test_data): New variable.
1760 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
1761 (trunc_test_data): New variable.
1762 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
1763 (y0_test_data): New variable.
1764 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
1765 (y1_test_data): New variable.
1766 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
1767 (significand_test_data): New variable.
1768 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
1769
7187d844
CG
17702013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
1771
1772 [BZ #12387]
1773 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
1774
f63fae73
PT
17752013-05-10 Pino Toscano <toscano.pino@tiscali.it>
1776
1777 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
1778
8a67a4b3
AJ
17792013-05-10 Andreas Jaeger <aj@suse.de>
1780
1781 [BZ #15448]
1782 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
1783 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
1784
51df539d
JM
17852013-05-10 Joseph Myers <joseph@codesourcery.com>
1786
1787 * math/gen-libm-test.pl (adjust_arg): New function.
1788 (special_functions): Handle generating output in both functions
1789 and arrays.
1790 (parse_args): Likewise.
1791 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
1792 $in_func argument to parse_args.
1793 * math/libm-test.inc (struct test_f_f_data): New type.
1794 (IF_ROUND_INIT_): New macro.
1795 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
1796 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1797 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1798 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1799 (ROUND_RESTORE_): Likewise.
1800 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
1801 (ROUND_RESTORE_FE_TONEAREST): Likewise.
1802 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
1803 (ROUND_RESTORE_FE_UPWARD): Likewise.
1804 (RUN_TEST_LOOP_f_f): New macro.
1805 (acos_test_data): New variable.
1806 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
1807 (acos_tonearest_test_data): New variable.
1808 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1809
5c637fe5
SP
18102013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1811
1812 * benchtests/bench-skeleton.c (startup): Fix coding style.
1813
ab2b9461
JM
18142013-05-10 Joseph Myers <joseph@codesourcery.com>
1815
1816 [BZ #6809]
1817 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
1818 negative infinity argument.
1819 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
1820 negative infinity argument.
1821 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
1822 negative infinity argument.
1823 * math/libm-test.inc (tgamma_test): Expect errno to be set for
1824 domain errors.
1825
4c0fe6fe
FW
18262013-05-10 Florian Weimer <fweimer@redhat.com>
1827
1828 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
1829 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
1830 * iconv/iconv_prog.c (main): Likewise.
1831 * locale/programs/charmap-dir.c (charmap_readdir)
1832 (fopen_uncompressed): Likewise.
1833 * locale/programs/locfile.c (siblings_uncached)
1834 (write_locale_data): Use lstat64 instead of lstat.
1835 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
1836 stat.
1837
a3375d29
AJ
18382013-05-10 Andreas Jaeger <aj@suse.de>
1839
1840 [BZ #15395]
1841 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
1842 localization.
1843 Include <locale.h>.
1844
36129722
CD
18452013-05-09 Carlos O'Donell <carlos@redhat.com>
1846
1847 * elf/dl-close.c (_dl_close_worker): Add comments.
1848
faa7f811
JM
18492013-05-09 Joseph Myers <joseph@codesourcery.com>
1850
ed41ffef
JM
1851 [BZ #15359]
1852 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
1853 high part of pi/2.
1854 (__ieee754_rem_pio2l): Update comments.
1855
d0213cd0
JM
1856 [BZ #15429]
1857 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
1858 high part of pi/2.
1859 (__ieee754_rem_pio2l): Update comments.
1860
0d3e777a
JM
1861 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
1862 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
1863
24f56066
JM
1864 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
1865 M_PI_4l.
1866
faa7f811
JM
1867 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
1868 (M_PI_34_LOG10El): Likewise.
1869 (M_PI2_LOG10El): Likewise.
1870 (M_PI4_LOG10El): Likewise.
1871 (M_PI_LOG10El): Likewise.
1872
e9a5e0fd
AZ
18732013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1874
1875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1876
d8cd06db
JM
18772013-05-08 Joseph Myers <joseph@codesourcery.com>
1878
a0d9f9d7
JM
1879 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
1880 (MINUS_ZERO_INIT): Likewise.
1881 (PLUS_INFTY_INIT): Likewise.
1882 (MINUS_INFTY_INIT): Likewise.
1883 (QNAN_VALUE_INIT): Likewise.
1884 (MAX_VALUE_INIT): Likewise.
1885 (MIN_VALUE_INIT): Likewise.
1886 (MIN_SUBNORM_VALUE_INIT): Likewise.
1887 (plus_zero): Initialize with PLUS_ZERO_INIT.
1888 (minus_zero): Initialize with MINUS_ZERO_INIT.
1889 (plus_infty): Initialize with PLUS_INFTY_INIT.
1890 (minus_infty): Initialize with MINUS_INFTY_INIT.
1891 (qnan_value): Initialize with QNAN_VALUE_INIT.
1892 (max_value): Initialize with MAX_VALUE_INIT.
1893 (min_value): Initialize with MIN_VALUE_INIT.
1894 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
1895
ae08db3b
JM
1896 * math/libm-test.inc (RUN_TEST_if_f): New macro.
1897 (jn_test): Use TEST_if_f instead of TEST_ff_f.
1898 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
1899 (yn_test): Use TEST_if_f instead of TEST_ff_f.
1900
f44bf14a
JM
1901 * math/libm-test.inc (RUN_TEST_f_f): New macro.
1902 (RUN_TEST_2_f): Likewise.
1903 (RUN_TEST_ff_f): Likewise.
1904 (RUN_TEST_fi_f): Likewise.
1905 (RUN_TEST_fl_f): Likewise.
1906 (RUN_TEST_fff_f): Likewise.
1907 (RUN_TEST_c_f): Likewise.
1908 (RUN_TEST_f_f1): Likewise.
1909 (RUN_TEST_fF_f1): Likewise.
1910 (RUN_TEST_fI_f1): Likewise.
1911 (RUN_TEST_ffI_f1): Likewise.
1912 (RUN_TEST_c_c): Likewise.
1913 (RUN_TEST_cc_c): Likewise.
1914 (RUN_TEST_f_i): Likewise.
1915 (RUN_TEST_f_i_tg): Likewise.
1916 (RUN_TEST_ff_i_tg): Likewise.
1917 (RUN_TEST_f_b): Likewise.
1918 (RUN_TEST_f_b_tg): Likewise.
1919 (RUN_TEST_f_l): Likewise.
1920 (RUN_TEST_f_L): Likewise.
1921 (RUN_TEST_sincos): Likewise.
1922 * math/gen-libm-test.pl (new_test): Take new argument to indicate
1923 whether to show exceptions. Do not include ");\n" in return
1924 value.
1925 (special_functions): Output call to RUN_TEST_sincos instead of
1926 check_float calls. Update calls to new_test.
1927 (parse_args): Output call to single RUN_TEST_* macro instead of
1928 check_* calls and other assignments. Update calls to new_test.
1929
d8cd06db
JM
1930 [BZ #2546]
1931 [BZ #2560]
1932 [BZ #5159]
1933 [BZ #15426]
1934 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
1935 input to result for tgamma overflow.
1936 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
1937 (gamma_coeff): New variable.
1938 (NCOEFF): New macro.
1939 (gamma_positive): New function.
1940 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
1941 underflow here. Use gamma_positive instead of exp (lgamma) for
1942 other arguments.
1943 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
1944 (gamma_coeff): New variable.
1945 (NCOEFF): New macro.
1946 (gammaf_positive): New function.
1947 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
1948 underflow here. Use gamma_positive instead of exp (lgamma) for
1949 other arguments.
1950 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
1951 (gamma_coeff): New variable.
1952 (NCOEFF): New macro.
1953 (gammal_positive): New function.
1954 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
1955 underflow here. Use gamma_positive instead of exp (lgamma) for
1956 other arguments.
1957 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
1958 (gamma_coeff): New variable.
1959 (NCOEFF): New macro.
1960 (gammal_positive): New function.
1961 (__ieee754_gammal_r): Handle positive infinity, overflow and
1962 underflow here. Handle NaN the same as positive infinity. Remove
1963 check x < 0xffffffff for negative integers. Use gamma_positive
1964 instead of exp (lgamma) for other arguments.
1965 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
1966 (gamma_coeff): New variable.
1967 (NCOEFF): New macro.
1968 (gammal_positive): New function.
1969 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
1970 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
1971 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1972 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
1973 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1974 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
1975 * sysdeps/generic/math_private.h (__gamma_productf): New
1976 prototype.
1977 (__gamma_product): Likewise.
1978 (__gamma_productl): Likewise.
1979 * math/Makefile (libm-calls): Add gamma_product.
1980 * math/libm-test.inc (tgamma_test): Add more tests.
1981 * sysdeps/i386/fpu/libm-test-ulps: Update.
1982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1983
bb7cf681
OB
19842013-05-08 Ondřej Bílka <neleai@seznam.cz>
1985
1986 * benchtests/bench-skeleton.c (main): Preheat CPU.
1987
ba853947
AJ
19882013-05-07 Aurelien Jarno <aurelien@aurel32.net>
1989
1990 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
1991
8347c74c
RM
19922013-05-07 Roland McGrath <roland@hack.frob.com>
1993
1994 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
1995 and _dl_skip_args_internal.
1996
e8dd4791
CD
19972013-05-07 Carlos O'Donell <carlos@redhat.com>
1998
1999 * manual/message.texi (Message Translation): Talk about users.
2000 Message to key mapping impacts design.
2001
c7405830
RM
20022013-05-06 Roland McGrath <roland@hack.frob.com>
2003
a9173057
RM
2004 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
2005
976e2f03
RM
2006 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
2007
9723ffc5
RM
2008 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
2009 * sysdeps/wordsize-64/glob64.c: ... here.
2010
962e6658
RM
2011 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
2012 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
2013 New macros.
2014
ee586a6d
RM
2015 * debug/getlogin_r_chk.c: Moved to ...
2016 * login/getlogin_r_chk.c: ... here.
2017 * debug/Makefile (routines): Move getlogin_r_chk to ...
2018 * login/Makefile (routines): ... here.
2019 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
2020 * login/Versions (libc: GLIBC_2.4): ... here.
2021
355f9165
RM
2022 * io/poll.c (__poll): Renamed from poll.
2023 Add libc_hidden_def.
2024 (poll): Define as weak alias.
2025
bd9ffde6
RM
2026 * debug/ptsname_r_chk.c: Moved to ...
2027 * login/ptsname_r_chk.c: ... here.
2028 * debug/Makefile (routines): Move ptsname_r_chk to ...
2029 * login/Makefile (routines): ... here.
2030 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
2031 * login/Versions (libc: GLIBC_2.4): ... here.
2032
8fb16a04
RM
2033 * posix/getlogin.c: Moved to ...
2034 * login/getlogin.c: ... here.
2035 * posix/getlogin_r.c: Moved to ...
2036 * login/getlogin_r.c: ... here.
2037 * posix/getlogin_r.c: Moved to ...
2038 * login/getlogin_r.c: ... here.
2039 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
2040 * login/Makefile (routines): ... here.
2041 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
2042 * login/Versions (libc: GLIBC_2.0): ... here.
2043
b99b892f
RM
2044 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
2045 (setrlimit): Define as weak alias.
2046
c7405830
RM
2047 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
2048 Call __ names for open, ftruncate, and close.
2049 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
2050 (truncate): Define as weak alias.
2051
5bf96de5
JM
20522013-05-06 Joseph Myers <joseph@codesourcery.com>
2053
9ea3513c
JM
2054 * math/gen-libm-test.pl (parse_args): Initialize x before each
2055 test of frexp, modf and remquo.
2056
5bf96de5
JM
2057 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
2058 test signgam value.
2059
16e616a7
AZ
20602013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2061
2062 [BZ #15418]
2063 [BZ #15419]
2064 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
2065 internal tests.
2066 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2067
d5e82754
RM
20682013-05-06 Roland McGrath <roland@hack.frob.com>
2069
2070 * elf/dl-writev.h: New file.
2071 * elf/dl-misc.c: Include it.
2072 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
2073 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
2074
a7548d41
JM
20752013-05-04 Joseph Myers <joseph@codesourcery.com>
2076
b7dab1e4
JM
2077 * math/libm-test.inc (noXFails): Remove variable.
2078 (noXPasses): Likewise.
2079 (BUILD_COMPLEX_INT): Remove macro.
2080 (print_screen): Remove xfail argument.
2081 (print_screen_max_error): Likewise.
2082 (update_stats): Likewise.
2083 (print_max_error): Likewise. Update calls to other affected
2084 functions.
2085 (print_complex_max_error): Likewise.
2086 (test_single_exception): Update calls to print_screen.
2087 (test_single_errno): Likewise.
2088 (check_float_internal): Remove xfail argument. Update calls to
2089 other affected functions.
2090 (check_float): Likewise.
2091 (check_complex): Likewise.
2092 (check_int): Likewise.
2093 (check_long): Likewise.
2094 (check_bool): Likewise.
2095 (check_longlong): Likewise.
2096 (main): Don't print noXFails and noXPasses.
2097 * math/gen-libm-test.pl (top level): Don't mention expected
2098 failure handling in comment.
2099 (new_test): Don't handle expected failures.
2100 (parse_args): Don't mention expected failure handling in comment.
2101 (generate_testfile): Don't handle expected failures.
2102 (parse_ulps): Likewise.
2103 (print_ulps_file): Likewise.
2104 (get_failure): Remove function.
2105 (output_test): Don't handle expected failures.
2106 * make/README.libm-test: Don't mention expected failure handling.
2107
a7548d41
JM
2108 * math/libm-test.inc (plus_zero): Make const. Add initializer.
2109 (minus_zero): Likewise.
2110 (plus_infty): Likewise.
2111 (minus_infty): Likewise.
2112 (qnan_value): Likewise.
2113 (max_value): Likewise.
2114 (min_value): Likewise.
2115 (min_subnorm_value): Likewise.
2116 (initialize): Do not initialize those variables dynamically.
2117
60bfd54c
RM
21182013-05-03 Roland McGrath <roland@hack.frob.com>
2119
cc0e6ed8
RM
2120 * io/open.c (__open_2): Moved to ...
2121 * io/open_2.c: ... this new file.
2122 * io/open64.c (__open64_2): Moved to ...
2123 * io/open64_2.c: ... this new file.
2124 * io/openat.c (__openat_2): Moved to ...
2125 * io/openat_2.c: ... this new file.
2126 * io/openat64.c (__openat64_2): Moved to ...
2127 * io/openat64_2.c: ... this new file.
2128 * io/Makefile (routines): Add them.
2129 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
2130 * sysdeps/unix/sysv/linux/open_2.c: File removed.
2131 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
2132 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
2133 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
2134 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
2135 (__openat64): Add hidden_ver.
2136 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
2137 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
2138
60bfd54c
RM
2139 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
2140 Separately conditionalize setting of GLRO(dl_sysinfo) so
2141 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
2142 as well, but the actual setting is only under [NEED_DL_SYSINFO].
2143
83e7640f
AZ
21442013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2145
2146 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
2147 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
2148 definition.
2149 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
2150 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2151 (_libc_vdso_platform_setup): Add __vdso_time initialization.
2152 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
2153 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
2154
d5dc2af3
JM
21552013-05-03 Joseph Myers <joseph@codesourcery.com>
2156
c31a5b1e
JM
2157 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
2158 test signgam value.
2159
d5dc2af3
JM
2160 * math/libm-test.inc (hypot_test): Do not use
2161 IGNORE_ZERO_INF_SIGN.
2162
164fd39d
AJ
21632013-05-03 Andreas Jaeger <aj@suse.de>
2164
2165 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
2166 Linux 3.9.
2167 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
2168 (PF_MAX): Adjust for VSOCK change.
2169
8237f48c
AZ
21702013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2171
2172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2173
9df02941
CD
21742013-05-02 Carlos O'Donell <carlos@redhat.com>
2175
2176 [BZ #15264]
2177 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
2178 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
2179 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
2180
d422395e
DM
21812013-05-02 David S. Miller <davem@davemloft.net>
2182
2183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2184
a07c5731
OB
21852013-05-01 Ondřej Bílka <neleai@seznam.cz>
2186
2187 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
2188
1324e37f
RM
21892013-05-01 Roland McGrath <roland@hack.frob.com>
2190
2191 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
2192
0695940b
RS
21932013-05-01 Richard Smith <richard@metafoo.co.uk>
2194
bb5f27ad 2195 [BZ #14952]
0695940b
RS
2196 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
2197 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2198 Use __attribute__ ((__gnu_inline__)).
2199 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2200 Don't use __attribute__ ((__gnu_inline__)).
2201
10de07f5
JM
22022013-05-01 Joseph Myers <joseph@codesourcery.com>
2203
2204 [BZ #15423]
2205 * math/s_catan.c (__catan): Handle small real or imaginary part of
2206 input specially to avoid spurious underflow.
2207 * math/s_catanf.c (__catanf): Likewise.
2208 * math/s_catanh.c (__catanh): Likewise.
2209 * math/s_catanhf.c (__catanhf): Likewise.
2210 * math/s_catanhl.c (__catanhl): Likewise.
2211 * math/s_catanl.c (__catanl): Likewise.
2212 * math/libm-test.inc (catan_test): Add more tests.
2213 (catanh_test): Likewise.
2214 * sysdeps/i386/fpu/libm-test-ulps: Update.
2215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2216
cb4d5414
AZ
22172013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2218
2219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2220
caf84319
JM
22212013-04-30 Joseph Myers <joseph@codesourcery.com>
2222
2223 [BZ #15416]
2224 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
2225 accurately for denominator in atan2.
2226 * math/s_catanf.c (__catanf): Likewise.
2227 * math/s_catanh.c (__catanh): Likewise.
2228 * math/s_catanhf.c (__catanhf): Likewise.
2229 * math/s_catanhl.c (__catanhl): Likewise.
2230 * math/s_catanl.c (__catanl): Likewise.
2231 * math/libm-test.inc (catan_test): Add more tests.
2232 (catanh_test): Likewise.
2233 * sysdeps/i386/fpu/libm-test-ulps: Update.
2234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2235
d569c6ee
SP
22362013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2237
6dbe713d
SP
2238 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
2239
f0ee064b
SP
2240 * benchtests/Makefile (bench): Remove slow benchmarks.
2241 * benchtests/atan-inputs: Add slow benchmark inputs.
2242 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
2243 (BENCH_FUNC): Accept variant offset.
2244 (VARIANT): Define.
2245 * benchtests/bench-skeleton.c (main): Run benchmark for each
2246 variant.
2247 * benchtests/cos-inputs: Add slow benchmark inputs.
2248 * benchtests/exp-inputs: Likewise.
2249 * benchtests/pow-inputs: Likewise.
2250 * benchtests/sin-inputs: Likewise.
2251 * benchtests/slowatan-inputs: Remove.
2252 * benchtests/slowatan.c: Remove.
2253 * benchtests/slowcos-inputs: Remove.
2254 * benchtests/slowcos.c: Remove.
2255 * benchtests/slowexp-inputs: Remove.
2256 * benchtests/slowexp.c: Remove.
2257 * benchtests/slowpow-inputs: Remove.
2258 * benchtests/slowpow.c: Remove.
2259 * benchtests/slowsin-inputs: Remove.
2260 * benchtests/slowsin.c: Remove.
2261 * benchtests/slowtan-inputs: Remove.
2262 * benchtests/slowtan.c: Remove.
2263 * benchtests/tan-inputs: Add slow benchmark inputs.
2264 * scripts/bench.pl: Parse comments and directives.
2265
d569c6ee
SP
2266 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
2267 in CPPFLAGS.
2268 ($(objpfx)bench-%.c): Remove *-ITER.
2269 * benchtests/bench-modf.c: Remove definition of ITER.
2270 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
2271 (main): Loop for DURATION seconds instead of fixed number of
2272 iterations.
2273 * scripts/bench.pl: Don't expect iterations in parameters.
2274
a6a242fe
RM
22752013-04-29 Roland McGrath <roland@hack.frob.com>
2276
2277 * io/fchdir.c (__fchdir): Renamed from fchdir.
2278 (fchdir): Define as weak alias.
2279
f2da7793
JM
22802013-04-29 Joseph Myers <joseph@codesourcery.com>
2281
2282 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
2283 (ERRNO_EDOM): Likewise.
2284 (ERRNO_ERANGE): Likewise.
2285 (noErrnoTests): New variable.
2286 (init_max_error): Set errno to 0.
2287 (test_single_errno): New function.
2288 (test_errno): Likewise.
2289 (check_float_internal): Call test_errno. Set errno to 0.
2290 (check_complex): Refer to errno tests in comment.
2291 (check_int): Call test_errno. Set errno to 0.
2292 (check_long): Likewise.
2293 (check_bool): Likewise.
2294 (check_longlong): Likewise.
2295 (cos_test): Use ERRNO_* flags for errno tests instead of
2296 check_int.
2297 (expm1_test): Likewise.
2298 (fmod_test): Likewise.
2299 (ilogb_test): Likewise.
2300 (lgamma_test): Likewise.
2301 (pow_test): Likewise.
2302 (remainder_test): Likewise.
2303 (sin_test): Likewise.
2304 (tan_test): Likewise.
2305 (yn_test): Likewise.
2306 (initialize): Set errno to 0.
2307 (main): Print number of errno tests.
2308 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
2309
b1a36ceb
AJ
23102013-04-29 Andreas Jaeger <aj@suse.de>
2311
c3ed8088
AJ
2312 [BZ #15084]
2313 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
2314 and RES_USEVC.
2315
f1a24198
AJ
2316 [BZ #15085]
2317 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
2318 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
2319 unimplemented.
2320
9ce3b2cb
AJ
2321 [BZ #15380]
2322 * stdlib/random.c (__initstate): Return NULL if
2323 __initstate fails.
2324
f1a24198 2325 [BZ #15086]
b1a36ceb
AJ
2326 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
2327 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
2328 RES_SNGLKUPREOP.
2329
7e7b6f36
AZ
23302013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2331
2332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2333
4d14f449
JM
23342013-04-29 Joseph Myers <joseph@codesourcery.com>
2335
2336 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
2337 of individual tests.
2338 (casin_test): Likewise.
2339 (casinh_test): Likewise.
2340
5b4217d7
JM
23412013-04-27 Joseph Myers <joseph@codesourcery.com>
2342
2343 [BZ #15409]
2344 * math/s_catan.c (__catan): Handle arguments with large real or
2345 imaginary part separately without squaring.
2346 * math/s_catanf.c (__catanf): Likewise.
2347 * math/s_catanh.c (__catanh): Likewise.
2348 * math/s_catanhf.c (__catanhf): Likewise.
2349 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2350 and redefine.
2351 (__catanhl): Handle arguments with large real or imaginary part
2352 separately without squaring.
2353 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2354 and redefine.
2355 (__catanl): Handle arguments with large real or imaginary part
2356 separately without squaring.
2357 * math/libm-test.inc (catan_test): Add more tests.
2358 (catanh_test): Likewise.
2359 * sysdeps/i386/fpu/libm-test-ulps: Update.
2360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2361
4220c3ef
AJ
23622013-04-27 Andreas Jaeger <aj@suse.de>
2363
2364 [BZ #15007]
2365 * stdlib/stdlib.h: Update guards for qecvt.
2366 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
2367 <stdlib.h>.
2368
4721b2d1
AM
23692013-04-27 Allan McRae <allan@archlinux.org>
2370
2371 * sysdeps/i386/fpu/libm-test-ulps: Update.
2372
f0302940
JM
23732013-04-26 Joseph Myers <joseph@codesourcery.com>
2374
9457fd95
JM
2375 [BZ #15406]
2376 * math/s_catan.c: Include <float.h>.
2377 (__catan): Ensure underflow exception occurs for underflowed
2378 result.
2379 * math/s_catanf.c: Include <float.h>.
2380 (__catanf): Ensure underflow exception occurs for underflowed
2381 result.
2382 * math/s_catanh.c: Include <float.h>.
2383 (__catanh): Ensure underflow exception occurs for underflowed
2384 result.
2385 * math/s_catanhf.c: Include <float.h>.
2386 (__catanhf): Ensure underflow exception occurs for underflowed
2387 result.
2388 * math/s_catanhl.c: Include <float.h>.
2389 (__catanhl): Ensure underflow exception occurs for underflowed
2390 result.
2391 * math/s_catanl.c: Include <float.h>.
2392 (__catanl): Ensure underflow exception occurs for underflowed
2393 result.
2394 * math/libm-test.inc (catan_test): Add more tests.
2395 (catanh_test): Likewise.
2396
f0302940
JM
2397 [BZ #15405]
2398 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
2399 underflowed result.
2400 * math/s_ccoshf.c (__ccoshf): Likewise.
2401 * math/s_ccoshl.c (__ccoshl): Likewise.
2402 * math/s_csin.c (__csin): Likewise.
2403 * math/s_csinf.c (__csinf): Likewise.
2404 * math/s_csinh.c (__csinh): Likewise.
2405 * math/s_csinhf.c (__csinhf): Likewise.
2406 * math/s_csinhl.c (__csinhl): Likewise.
2407 * math/s_csinl.c (__csinl): Likewise.
2408 * math/libm-test.inc (ccos_test): Add more tests.
2409 (ccosh_test): Likewise.
2410 (csin_test): Likewise.
2411 (csinh_test): Likewise.
2412
aa630f59
AZ
24132013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2414
2415 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
2416 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
2417 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
2418 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
2419 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
2420 powerpc/power5+/fpu folders.
2421 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
2422
2423
1b835983
MT
24242013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2425
2426 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2427
73709b26
JM
24282013-04-25 Joseph Myers <joseph@codesourcery.com>
2429
2430 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
2431 additions to variable.
2432 [$(config-machine) = x86_64] (modules-names): Likewise.
2433 ($(objpfx)tst-audit3): Remove dependency.
2434 ($(objpfx)tst-audit3.out): Likewise.
2435 ($(objpfx)tst-audit4): Likewise.
2436 ($(objpfx)tst-audit4.out): Likewise.
2437 ($(objpfx)tst-audit5): Likewise.
2438 ($(objpfx)tst-audit5.out): Likewise.
2439 ($(objpfx)tst-audit6): Likewise.
2440 ($(objpfx)tst-audit6.out): Likewise.
2441 ($(objpfx)tst-audit7): Likewise.
2442 ($(objpfx)tst-audit7.out): Likewise.
2443 (tst-audit3-ENV): Remove variable.
2444 (tst-audit4-ENV): Likewise.
2445 (tst-audit5-ENV): Likewise.
2446 (tst-audit6-ENV): Likewise.
2447 (tst-audit7-ENV): Likewise.
2448 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
2449 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
2450 addition to variable.
2451 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
2452 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
2453 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
2454 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
2455 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
2456 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
2457 tst-audit3, tst-audit4 and tst-audit5.
2458 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
2459 tst-audit6 and tst-audit7.
2460 [$(subdir) = elf] (modules-names): Add audit modules for those
2461 tests.
2462 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
2463 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
2464 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
2465 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
2466 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
2467 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
2468 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
2469 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
2470 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
2471 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
2472 [$(subdir) = elf] (tst-audit3-ENV): New variable.
2473 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
2474 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
2475 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
2476 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
2477 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
2478 Likewise.
2479 [$(subdir) = elf && $(config-cflags-avx) = yes]
2480 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
2481 [$(subdir) = elf && $(config-cflags-avx) = yes]
2482 (CFLAGS-tst-auditmod4a.c): Likewise.
2483 [$(subdir) = elf && $(config-cflags-avx) = yes]
2484 (CFLAGS-tst-auditmod4b.c): Likewise.
2485 [$(subdir) = elf && $(config-cflags-avx) = yes]
2486 (CFLAGS-tst-auditmod6b.c): Likewise.
2487 [$(subdir) = elf && $(config-cflags-avx) = yes]
2488 (CFLAGS-tst-auditmod6c.c): Likewise.
2489 [$(subdir) = elf && $(config-cflags-avx) = yes]
2490 (CFLAGS-tst-auditmod7b.c): Likewise.
2491 * elf/tst-audit3.c: Move to ...
2492 * sysdeps/x86_64/tst-audit3.c: ... here.
2493 * elf/tst-audit4.c: Move to ...
2494 * sysdeps/x86_64/tst-audit4.c: ... here.
2495 * elf/tst-audit5.c: Move to ...
2496 * sysdeps/x86_64/tst-audit5.c: ... here.
2497 * elf/tst-audit6.c: Move to ...
2498 * sysdeps/x86_64/tst-audit6.c: ... here.
2499 * elf/tst-audit7.c: Move to ...
2500 * sysdeps/x86_64/tst-audit7.c: ... here.
2501 * elf/tst-auditmod3a.c: Move to ...
2502 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
2503 * elf/tst-auditmod3b.c: Move to ...
2504 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
2505 * elf/tst-auditmod4a.c: Move to ...
2506 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
2507 * elf/tst-auditmod4b.c: Move to ...
2508 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
2509 * elf/tst-auditmod5a.c: Move to ...
2510 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
2511 * elf/tst-auditmod5b.c: Move to ...
2512 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
2513 * elf/tst-auditmod6a.c: Move to ...
2514 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
2515 * elf/tst-auditmod6b.c: Move to ...
2516 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
2517 * elf/tst-auditmod6c.c: Move to ...
2518 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
2519 * elf/tst-auditmod7a.c: Move to ...
2520 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
2521 * elf/tst-auditmod7b.c: Move to ...
2522 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
2523
1ef74943
PP
25242013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
2525
2526 [BZ #15366]
2527 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
2528 define unconditionally.
2529 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
2530 define unconditionally.
2531 (INT8_C, INT16_C, etc.): Likewise.
2532
93fd48c5
MR
25332013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
2534
ae9552cf
MR
2535 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
2536 __ehdr_start with hidden visibility.
2537
93fd48c5
MR
2538 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
2539
418601aa
CD
25402013-04-24 Carlos O'Donell <carlos@redhat.com>
2541
2542 * math/libm-test.inc (cos_test): Use accurate hex constants.
2543 (sincost_test): Likewise.
2544
2f38fbfe
JM
25452013-04-24 Joseph Myers <joseph@codesourcery.com>
2546
5e221800
JM
2547 * math/libm-test.inc (catan_test): Add more tests.
2548 (catanh_test): Likewise.
2549
77f143fd
JM
2550 * math/s_catanf.c (__catanf): Use suffixed floating-point
2551 constants.
2552 * math/s_catanhf.c (__catanhf): Likewise.
2553 * math/s_catanhl.c (__catanhl): Likewise.
2554 * math/s_catanl.c (__catanl): Likewise.
2555
2f38fbfe
JM
2556 [BZ #15394]
2557 * math/s_catan.c (__catan): Calculate imaginary part of result
2558 with log1p not log unless computing log of number close to 0.
2559 * math/s_catanf.c (__catanf): Likewise.
2560 * math/s_catanl.c (__catanl): Likewise.
2561 * math/s_catanh.c (__catanh): Calculate real part of result with
2562 log1p not log unless computing log of number close to 0.
2563 * math/s_catanhf.c (__catanhf): Likewise.
2564 * math/s_catanhl.c (__catanhl): Likewise.
2565 * math/libm-test.inc (catan_test): Add more tests.
2566 (catanh_test): Likewise.
2567 * sysdeps/i386/fpu/libm-test-ulps: Update.
2568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2569
45d69176
SP
25702013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2571
2572 * benchtests/Makefile: Mention files in which fast and slow
2573 paths of math functions are implemented.
2574
87f51853
RM
25752013-04-23 Roland McGrath <roland@hack.frob.com>
2576
2577 * sysdeps/posix/timespec_get.c: New file.
2578
3c026539
AZ
25792013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2580
2581 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
2582 POWER.
2583 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
2584 for POWER.
2585 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
2586 powerpc/power5/fpu folders.
2587 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
2588 * benchtests/Makefile: Add modf testcase.
2589 * benchtests/bench-modf.c: New file: Benchmark test for mo
2590
ff491d14
SP
25912013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2592
2593 [BZ #14888]
2594 * time/Makefile (tests): Add tst-strptime-whitespace.
2595 * time/strptime_l.c (get_number): Use ISSPACE.
2596 (__strptime_internal): Likewise.
2597 * time/tst-strptime-whitespace.c: New test case.
2598
7ed3f4e8
AS
25992013-04-23 Andreas Schwab <schwab@linux-m68k.org>
2600
2601 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
2602 member.
2603 (_nss_files_init): Set it here.
2604
5c95f7b6
HC
26052013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
2606
2607 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
2608 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
2609 unsigned.
2610
d34c9158
JBG
26112013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
2612
2613 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
2614
2169712d
SP
26152013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2616
2617 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
2618 size just once.
2619
29c5de99
DM
26202013-04-21 David S. Miller <davem@davemloft.net>
2621
2622 * po/ru.po: Update Russion translation from translation project.
2623
ccdad15d
AC
26242013-04-17 Adam Conrad <adconrad@0c3.net>
2625
2626 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
2627 and setfsgid.
2628
0f122b8d
CD
26292013-04-17 Carlos O'Donell <carlos@redhat.com>
2630
5c5b07da 2631 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 2632 * configure: Regenerate.
5c5b07da 2633 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
2634 Add example to error message.
2635 * sysdeps/i386/configure: Regenerate.
2636
037714dd
SP
26372013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2638
2639 * benchtests/Makefile (bench): Add cos, tan, slowcos and
2640 slowtan.
2641 * benchtests/cos-inputs: New file.
2642 * benchtests/slowcos-inputs: New file.
2643 * benchtests/slowcos.c: New file.
2644 * benchtests/slowtan-inputs: New file.
2645 * benchtests/slowtan.c: New file.
2646 * benchtests/tan-inputs: New file.
2647
e913141d
RM
26482013-04-16 Roland McGrath <roland@hack.frob.com>
2649
2650 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
2651 considered kosher.
2652
a2964074
SP
26532013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2654
4856bcd2
SP
2655 * benchtests/Makefile: Include cppflags-iterator.mk to add
2656 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
2657
a2964074
SP
2658 * Makefile.in (bench-clean): New target.
2659 * benchtests/Makefile (bench-clean): Likewise.
2660
9fbf9aca
DH
26612013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
2662
2663 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
2664
207d1e2a
TS
26652013-04-15 Thomas Schwinge <thomas@codesourcery.com>
2666
2667 * stdio-common/tstdiomisc.c: Fix coding-style violation.
2668
306dfba9
AS
26692013-04-15 Andreas Schwab <schwab@suse.de>
2670
2671 * nscd/grpcache.c (cache_addgr): Properly check for short write.
2672 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2673 * nscd/pwdcache.c (cache_addpw): Likewise.
2674 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
2675 more than recsize.
2676
206a6699
SP
26772013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2678
2679 * benchtests/Makefile (bench): Write all output to
2680 bench-out.tmp together.
2681
0582f6b3
AS
26822013-04-15 Andreas Schwab <schwab@suse.de>
2683
2684 * nscd/nscd.c (main): Don't fork again after closing files.
2685
acb4325f
SP
26862013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2687
5cb26d0a
SP
2688 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
2689
acb4325f
SP
2690 * benchtests/Rules (bench-deps): Collect dependencies into a
2691 single variable. Add Makefile to dependencies.
2692 ($(objpfx)bench-%.c): Depend on bench-deps.
2693
47792506
RM
26942013-04-12 Roland McGrath <roland@hack.frob.com>
2695 Xavier Roche <roche+kml2@exalead.com>
2696
2697 [BZ #15361]
2698 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
2699 just that it's a file descriptor.
2700 * manual/llio.texi (Synchronizing AIO Operations): Update description
2701 for EBADF error from aio_fsync.
2702
8fc1bee5
SP
27032013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2704
2705 * Rules (bench): Move target definition...
2706 * benchtests/Makefile: ... here.
2707
aba5e333
CD
27082013-04-11 Carlos O'Donell <carlos@redhat.com>
2709
2710 * math/libm-test.inc (cos_test): Fix PI/2 test.
2711 (sincos_test): Likewise.
2712 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2713 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2714
273cdee8
AS
27152013-04-11 Andreas Schwab <schwab@suse.de>
2716
6ecec3b6
AS
2717 [BZ #13988]
2718 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
2719 accept exponent character only when digits were seen.
2720 * stdio-common/Makefile (tests): Add bug26.
2721 * stdio-common/bug26.c: New file.
2722
273cdee8
AS
2723 [BZ #14293]
2724 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
2725 non-freeable.
2726
8da491f5
SP
27272013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2728
01dc6df9
SP
2729 * Makeconfig (rtld-prefix): Define built linker prefix.
2730 * Rules (run-bench): Use it.
2731 * math/Makefile (run-regen-ulps): Likewise.
2732
8da491f5
SP
2733 * Rules (bench): Remove eval.
2734
abe7f530
SP
27352013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2736 Roland McGrath <roland@hack.frob.com>
2737 Ondrej Bilka <neleai@seznam.cz>
2738
2739 [BZ #15346]
2740 * time/getdate.c: Include ctype.h and alloca.h.
2741 (__getdate_r): Trim leading and trailing spaces of input.
2742 * time/tst-getdate.c (tests): Add tests with leading and
2743 trailing spaces.
2744
61c23e62
RM
27452013-04-08 Roland McGrath <roland@hack.frob.com>
2746
2747 [BZ #14280]
2748 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
2749 when computing value.
2750
7208a313
CD
27512013-04-06 Carlos O'Donell <carlos@redhat.com>
2752
085b2d41
CD
2753 * math/README.libm-test (How can I generate "libm-test-ulps"?):
2754 Use testrun.sh to run libm tests.
2755
7208a313
CD
2756 [BZ #15309]
2757 * elf/dl-open.c (dl_open_worker): memset all of seen array.
2758
872c0acd
MM
27592013-04-06 Marko Myllynen <myllynen@redhat.com>
2760
2761 [BZ #15264]
2762 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
2763
26510bdd
CD
27642013-04-06 Carlos O'Donell <carlos@redhat.com>
2765
2766 * Makefile.in (regen-ulps): New target.
2767 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
2768 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
2769 [ifneq (no,$(PERL)] (regen-ulps): New target.
2770 [ifeq (no,$(PERL)] (regen-ulps): New target.
2771 * math/libm-test.inc (ulps_file_name): Define.
2772 (output_dir): New variable.
2773 (options): Add "output-dir" option.
2774 (parse_opt): Handle 'o' case.
2775 (main): If output_dir is non-NULL use it as a prefix
2776 otherwise use "".
2777 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
2778
a01f19c8
CD
27792013-04-06 Carlos O'Donell <carlos@redhat.com>
2780
2781 [BZ #10060, #10062]
2782 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
2783 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
2784 fail configure if __sync_val_compare_and_swap is not inlined.
2785 * sysdeps/i386/configure: Regenerate.
2786 * configure.in: Build for i686 when configured for i386.
2787 * configure: Regenerate.
2788 * README: Remove i386 reference.
2789
b7a329a5
CD
27902013-04-06 Carlos O'Donell <carlos@redhat.com>
2791
2792 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
2793 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2794
bf0f50df
TS
27952013-04-05 Thomas Schwinge <thomas@codesourcery.com>
2796
ee091edf
TS
2797 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
2798 (lmsnanval): New variables.
2799 (F): Add conversion tests.
2800 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
2801 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
2802
a8b792d6
TS
2803 * stdio-common/tstdiomisc.c (F): Properly collect individual
2804 tests' results.
2805
a1cbf437
TS
2806 [BZ #14686, #15336]
2807 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
2808 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2809 Instead, use input NaN values or generate a qNaN by arithmetic
2810 operation. Also fix bugs to comply with the standard.
2811 * math/libm-test.inc (remainder_test): Add more tests.
2812
8b43a0c9
TS
2813 [BZ #15335, #15342]
2814 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
2815 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
2816 input NaN values or generate a qNaN by arithmetic operation.
2817
d91da4ce
TS
2818 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
2819 unreachable code.
2820
bf0f50df
TS
2821 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
2822 definitions.
2823
05e166c8
JM
28242013-04-03 Joseph Myers <joseph@codesourcery.com>
2825
2826 [BZ #14478]
2827 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
2828 underflowed result.
2829 * math/s_cexpf.c (__cexpf): Likewise.
2830 * math/s_cexpl.c (__cexpl): Likewise.
2831 * math/libm-test.inc (cexp_test): Add more tests.
2832
1cef1b19
AS
28332013-04-03 Andreas Schwab <schwab@suse.de>
2834
2835 [BZ #15330]
2836 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
2837 order arrays from heap if bigger than alloca cutoff.
2838
74d87055
TS
28392013-04-03 Thomas Schwinge <thomas@codesourcery.com>
2840
2841 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
2842 (SNAN_TESTS_double): Refer to GCC PR56831.
2843 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
2844 GCC PR56828.
2845
d755bba4
SP
28462013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2847
90d5d5bb
SP
2848 * Rules (bench): Move bench.out after the run is complete.
2849
73e0cd5d
SP
2850 * Rules (bench): Echo currently running benchmark.
2851
64aabd4b
SP
2852 * benchtests/Makefile (bench): Add atan and slowatan.
2853 * benchtests/atan-inputs: New file.
2854 * benchtests/slowatan-inputs: New file.
2855 * benchtests/slowatan.c: New file.
2856
c871eccd
SP
2857 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
2858 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
2859 its value.
2860
d755bba4
SP
2861 [BZ #15305]
2862 * sysdeps/unix/sysv/linux/kernel-features.h
2863 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
2864 __ASSUME_XFS_RESTRICTED_CHOWN.
2865 * sysdeps/unix/sysv/linux/pathconf.c
2866 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2867 Save and restore errno.
2868
52ce4860
JM
28692013-04-02 Joseph Myers <joseph@codesourcery.com>
2870
2871 [BZ #15327]
2872 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
2873 arguments using __kernel_casinh.
2874 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
2875 arguments using __kernel_casinhf.
2876 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
2877 arguments using __kernel_casinhl.
2878 * math/libm-test.inc (cacosh_test): Add more tests.
2879 * sysdeps/i386/fpu/libm-test-ulps: Update.
2880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2881
81f311c2
SP
28822013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2883
e7906a47
SP
2884 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
2885 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
2886
92e3664b
SP
2887 * bench/Makefile (bench): Add sin and slowsin.
2888 * benchtests/sin-inputs: New file.
2889 * benchtests/slowsin-inputs: New file.
2890 * benchtests/slowsin.c: New file.
2891
81f311c2
SP
2892 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
2893 (bench): Add slowexp and slowpow.
2894 (exp-ITER): Increase iterations.
2895 (pow-ITER): Likewise.
2896 * benchtests/exp-inputs: Change input.
2897 * benchtests/pow-inputs: Likewise.
2898 * benchtests/slowexp-inputs: New file.
2899 * benchtests/slowexp.c: New file.
2900 * benchtests/slowpow-inputs: New file.
2901 * benchtests/slowpow.c: New file.
2902
ab0f1aa9
AZ
29032013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2904
2905 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
2906 instructions.
2907 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2908 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2909 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2910 * benchtests/Makefile: Add rint benchtest.
2911 * benchtests/rint-inputs: Input for rint benchtest.
2912
57267616
TS
29132013-04-02 Thomas Schwinge <thomas@codesourcery.com>
2914
2915 * Versions.def (libm): Add GLIBC_2.18.
2916 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
2917 hidden libm prototypes.
2918 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
2919 * math/Makefile (libm-calls): Add s_issignaling.
2920 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
2921 __issignalingf, __issignalingl. Adjust all libm.abilist files.
2922 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
2923 declaration.
2924 * math/math.h [__USE_GNU] (issignaling): New macro.
2925 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
2926 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
2927 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
2928 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
2929 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2930 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
2931 * manual/arith.texi (issignaling): New section.
2932 * manual/libm-err-tab.pl (@all_functions): Update comment.
2933 * math/gen-libm-test.pl (parse_args): Apply special handling for
2934 issignaling.
2935 * math/libm-test.inc (print_float, issignaling_test): New
2936 functions.
2937 (check_float_internal): Add issignaling checks.
2938 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
2939 default definition.
2940 * sysdeps/powerpc/math-tests.h: New file.
2941 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
2942 tests.
2943 * math/test-snan.c (TEST_FUNC): Likewise.
2944
6142896d
DM
29452013-03-30 David S. Miller <davem@davemloft.net>
2946
2947 * po/de.po: Update from translation team.
2948
ccc8cadf
JM
29492013-03-30 Joseph Myers <joseph@codesourcery.com>
2950
2951 [BZ #10357]
2952 * math/k_casinh.c (__kernel_casinh): Handle arguments with
2953 imaginary part less than 1.0 and real part less than 0.5
2954 specially.
2955 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2956 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2957 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
2958 (cacos_test): Add more tests.
2959 (casin_test): Likewise.
2960 (casinh_test): Likewise.
2961 * sysdeps/i386/fpu/libm-test-ulps: Update.
2962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2963
0f6a8d4b
SP
29642013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2965
0d1029de
SP
2966 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
2967 ONE with its value.
2968
c2d94018
SP
2969 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
2970 (__pow_mp): Replace ONE and MONE with their values.
2971 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2972 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
2973 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2974 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
2975 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2976 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2977
27ec37f1
SP
2978 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
2979
a64d7e0e
SP
2980 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
2981 (__pow_mp): Replace ZERO and MZERO with their values.
2982 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
2983 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2984 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2985 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2986 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2987 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
2988 (__sqr): Likewise.
2989
d26dd3eb
SP
2990 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
2991
0f6a8d4b
SP
2992 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
2993
e57b0c61
RM
29942013-03-28 Roland McGrath <roland@hack.frob.com>
2995
2996 * include/stdlib.h [!SHARED] (__call_tls_dtors):
2997 Declare with __attribute__ ((weak)).
2998 * stdlib/exit.c (__libc_atexit) [!SHARED]:
2999 Call __call_tls_dtors only if it's not NULL.
3000
356b3480
RM
30012013-03-28 Roland McGrath <roland@hack.frob.com>
3002
288f7d79
RM
3003 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
3004 didn't do it already, then set _dl_phdr and _dl_phnum based on the
3005 magic __ehdr_start linker symbol if it's defined.
3006 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
3007 them up here if it was already done.
3008
dc0a0263
RM
3009 * elf/dl-support.c (_dl_phdr): Make pointer to const.
3010 (_dl_aux_init): Use const in cast when setting it.
3011 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
3012 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
3013 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
3014
3d3436ae
RM
3015 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
3016 Declare them here.
3017 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
3018 * csu/libc-tls.c: Nor here.
3019 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
3020
356b3480
RM
3021 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
3022 (__libc_message): Never call vsyslog.
3023
b0f1246a
AM
30242013-03-28 Alan Modra <amodra@gmail.com>
3025
3026 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
3027 Define as empty.
3028 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
3029 Likewise.
3030
fbbe2b9a
AZ
30312013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3032
3033 [BZ #15214]
3034 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
3035 underflow.
3036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3037
1728ab37
SP
30382013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3039
7a86be6e
SP
3040 [BZ #15304]
3041 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3042 Don't add gid passed as argument.
3043
1728ab37
SP
3044 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
3045
3a7182a1
JM
30462013-03-27 Joseph Myers <joseph@codesourcery.com>
3047
3048 [BZ #15307]
3049 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3050 imaginary part between 1.0 and 1.5 and real part less than 0.5
3051 specially.
3052 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3053 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3054 * math/libm-test.inc (cacos_test): Add more tests.
3055 (casin_test): Likewise.
3056 (casinh_test): Likewise.
3057 * sysdeps/i386/fpu/libm-test-ulps: Update.
3058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3059
6f2e90e7
SP
30602013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3061
5739f705
SP
3062 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
3063 constants.
3064 (norm): Likewise.
3065 (denorm): Likewise.
3066 (__dbl_mp): Likewise.
3067 (add_magnitudes): Likewise.
3068 (sub_magnitudes): Likewise.
3069 (__add): Likewise.
3070 (__sub): Likewise.
3071 (__mul): Likewise.
3072 (__sqr): Likewise.
3073 (__inv): Likewise.
3074 (__dvd): Likewise.
3075
e375e83d
SP
3076 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
3077 commented code.
3078 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
3079 (__dubcos): Likewise.
3080 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
3081 (__ieee754_acos): Likewise.
3082 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3083 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
3084 (__exp1): Likewise.
3085 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3086 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3087 (log1): Likewise.
3088 (my_log2): Likewise.
3089 (checkint): Likewise.
3090 * sysdeps/ieee754/dbl-64/e_remainder.c
3091 (__ieee754_remainder): Likewise.
3092 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3093 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3094 (bsloww): Likewise.
3095 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3096
6f2e90e7
SP
3097 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3098 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
3099 MANTISSA_STORE_T to store computations on mantissa. Use
3100 macros for rounding and division.
3101 (denorm): Likewise.
3102 (__dbl_mp): Likewise.
3103 (add_magnitudes): Likewise.
3104 (sub_magnitudes): Likewise.
3105 (__mul): Likewise.
3106 (__sqr): Likewise.
3107 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3108 powers of two in terms of TWOPOW macro.
3109 (mp_no): Make type of mantissa as MANTISSA_T.
3110 [!RADIXI]: Define RADIXI.
3111 [!TWO52]: Define TWO52.
3112 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3113
fce14d4e
AZ
31142013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3115
3116 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
3117 llroundl symbol when building for PPC32.
3118
9ad027fb
MW
31192013-03-24 Mark H Weaver <mhw@netris.org>
3120
3121 * manual/arith.texi (Normalization Functions): Fix prototypes for
3122 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
3123
e42a38dd
AZ
31242013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3125
3126 [BZ #13889]
3127 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
3128 high value to check if expl overflow.
3129 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
3130 to check for underflow and overflow.
3131 * math/libm-test.inc: Add exp test.
3132
2e0fb521
DL
31332013-03-21 Dmitry V. Levin <ldv@altlinux.org>
3134
3135 [BZ #11120]
3136 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
3137 with NOT_IN_libc.
3138
b5784d95
AZ
31392013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3140
3141 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
3142 symbol.
3143
5aa4a1a1
TS
31442013-03-21 Thomas Schwinge <thomas@codesourcery.com>
3145
bdef0be7
TS
3146 * math/gen-libm-test.pl (parse_args, special_functions): Properly
3147 wrap blocks consisting of several statements.
3148
5aa4a1a1
TS
3149 * sysdeps/generic/math-tests.h: New file.
3150 * sysdeps/i386/fpu/math-tests.h: Likewise.
3151 * math/test-snan.c: Include it.
3152 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
3153
98c48fe5
JM
31542013-03-21 Joseph Myers <joseph@codesourcery.com>
3155
3156 [BZ #15285]
3157 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
3158 (__ieee754_j0l): Do not improve calculations using cos of twice
3159 input for inputs above LDBL_MAX / 2.0L.
3160 (__ieee754_y0l): Likewise.
3161 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
3162 (__ieee754_j1l): Do not improve calculations using cos of twice
3163 input for inputs above LDBL_MAX / 2.0L.
3164 (__ieee754_y1l): Likewise.
3165 * math/libm-test.inc (j0_test): Add another test.
3166 (j1_test): Likewise.
3167 (y0_test): Likewise.
3168 (y1_test): Likewise.
3169 * sysdeps/i386/fpu/libm-test-ulps: Update.
3170
3775a8bc
SP
31712013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3172
3173 * Rules ($(objpfx)bench-%.c): Include code from a C source
3174 file.
3175
0a1b2ae6
JM
31762013-03-21 Joseph Myers <joseph@codesourcery.com>
3177
3178 [BZ #15287]
3179 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3180 imaginary part 1.0 and real part less than 0.5 specially.
3181 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3182 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3183 * math/libm-test.inc (cacos_test): Add more tests.
3184 (casin_test): Likewise.
3185 (casinh_test): Likewise.
3186 * sysdeps/i386/fpu/libm-test-ulps: Update.
3187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3188
b33d4ce4
SP
31892013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3190
3191 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
3192 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
3193
bef0b507
JM
31942013-03-20 Joseph Myers <joseph@codesourcery.com>
3195
3196 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
3197 * config.make.in (config-cflags-sse4): Remove variable.
3198 (config-cflags-avx): Likewise.
3199 (config-cflags-sse2avx): Likewise.
3200 (config-cflags-novzeroupper): Likewise.
3201 (config-asflags-i686): Likewise.
3202 (have-mfma4): Likewise.
3203 (have-as-vis3): Likewise.
3204 (MIG): Likewise.
3205 * configure.in (MIG): Do not AC_SUBST.
3206 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
3207 (libc_cv_cc_sse4): Do not AC_SUBST.
3208 (libc_cv_cc_avx): Likewise.
3209 (libc_cv_cc_sse2avx): Likewise.
3210 (libc_cv_cc_novzeroupper): Likewise.
3211 (libc_cv_cc_fma4): Likewise.
3212 (libc_cv_as_i686): Likewise.
3213 (libc_cv_sparc_as_vis3): Likewise.
3214 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
3215 LIBC_CONFIG_VAR.
3216 (config-asflags-i686): Likewise.
3217 (config-cflags-avx): Likewise.
3218 (config-cflags-sse2avx): Likewise.
3219 (have-mfma4): Likewise.
3220 (config-cflags-novzeroupper): Likewise.
3221 * sysdeps/mach/configure.in (MIG): Likewise.
3222 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
3223 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
3224 LIBC_CONFIG_VAR.
3225 (config-cflags-avx): Likewise.
3226 (config-cflags-sse2avx): Likewise.
3227 (have-mfma4): Likewise.
3228 (config-cflags-novzeroupper): Likewise.
3229 * configure: Regenerated.
3230 * sysdeps/i386/configure: Likewise.
3231 * sysdeps/mach/configure: Likewise.
3232 * sysdeps/sparc/configure: Likewise.
3233 * sysdeps/x86_64/configure: Likewise.
3234
912cc4b3
RM
32352013-03-20 Roland McGrath <roland@hack.frob.com>
3236
3237 [BZ #14812]
3238 * locale/programs/localedef.c (options): Put N_ translation marker
3239 on argument names, not just descriptions.
3240
04eed2b0
MS
32412013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3242
3243 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
3244
a065ceff
OB
32452013-03-20 Ondřej Bílka <neleai@seznam.cz>
3246
9bb2a810 3247 [BZ #14176]
a065ceff
OB
3248 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
3249
a600e5ce
RM
32502013-03-19 Roland McGrath <roland@hack.frob.com>
3251
3252 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
3253 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
3254 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
3255 [!BEFORE_ABORT] (before_abort): New function.
3256 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
3257 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
3258 (writev_for_fatal): New function.
3259 (WRITEV_FOR_FATAL): New macro; call that.
3260 (backtrace_and_maps): New function.
3261 (BEFORE_ABORT): New macro; call that.
3262 (struct str_list): Type removed.
3263 (__libc_message, __libc_fatal): Functions removed.
3264 Include <sysdeps/posix/libc_fatal.c> instead.
3265
6b18bea6
JM
32662013-03-19 Joseph Myers <joseph@codesourcery.com>
3267
3268 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
3269 constants.
3270 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
3271 double constants.
3272
aaa8cb4b
AS
32732013-03-19 Andreas Schwab <schwab@suse.de>
3274
44673770
AS
3275 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
3276 * sysdeps/gnu/configure: Regenerate.
3277
aaa8cb4b
AS
3278 * configure.in: Substitute libc_cv_rtlddir.
3279 * configure: Regenerate.
3280 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
3281 * Makeconfig (rtlddir, inst_rtlddir): New variables.
3282 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
3283 * elf/Makefile (install-others, CFLAGS-interp.c)
3284 (ldso_install, common-ldd-rewrite): Likewise.
3285 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
3286 $(inst_slibdir)/$(rtld-installed-name).
3287 * scripts/rellns-sh: Add -p option.
3288 * Makerules (make-shlib-link): Use rellns-sh to get relative name
3289 for source.
3290
d3cfc668
SP
32912013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3292
3293 * manual/nptl.texi: Renamed to ...
3294 * manual/threads.texi: ... this.
3295 * manual/Makefile (chapters): Update.
3296
0e2b9cdd
RM
32972013-03-18 Roland McGrath <roland@hack.frob.com>
3298
3299 [BZ #14812]
3300 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
3301 on argument names, not just descriptions.
0e2b9cdd
RM
3302 * malloc/memusagestat.c (options): Likewise.
3303 * nss/getent.c (options): Likewise.
63270c24
RM
3304
33052013-03-18 Benno Schulenberg <bensberg@justemail.net>
3306
3307 [BZ #14812]
3308 * iconv/iconv_prog.c (options): Put N_ translation marker
3309 on argument names, not just descriptions.
3310 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 3311
b2e1393c
OB
33122013-03-18 Ondrej Bilka <neleai@seznam.cz>
3313
3314 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
3315 implementation which is faster on all x86_64 architectures.
3316 Tested on AMD, Intel Nehalem, SNB, IVB.
3317 * sysdeps/x86_64/strnlen.S: Likewise.
3318
3319 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3320 Remove all multiarch strlen and strnlen versions.
3321 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
3322 Remove strlen and strnlen related parts.
3323
3324 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
3325 Inline strlen part.
3326 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3327
3328 * sysdeps/x86_64/multiarch/strlen.S: Remove.
3329 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
3330 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
3331 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
3332 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3333 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
3334
ec4ff04d
CD
33352013-03-17 Carlos O'Donell <carlos@redhat.com>
3336
3337 * manual/memory.texi (Malloc Tunable Parameters):
3338 Sort parameters alphabetically. Add comments for missing entries.
3339
cd18e90a
DM
33402013-03-17 David S. Miller <davem@davemloft.net>
3341
3342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3343
2a185d32
JM
33442013-03-16 Joseph Myers <joseph@codesourcery.com>
3345
d2f9799e
JM
3346 [BZ #15283]
3347 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
3348 for arguments at most half maximum finite value.
3349 * math/libm-test.inc (j0_test): Add more tests.
3350 (j1_test): Likewise.
3351 (y0_test): Likewise.
3352 (y1_test): Likewise.
3353 * sysdeps/i386/fpu/libm-test-ulps: Update.
3354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3355
2a185d32
JM
3356 [BZ #14155]
3357 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
3358 1 / x and functions P and Q for arguments above 0x1p256L.
3359 (__ieee754_y0l): Likewise.
3360 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
3361 (__ieee754_y1l): Likewise.
3362 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
3363 (j1_test): Likewise.
3364 (y0_test): Likewise.
3365 (y1_test): Likewise.
3366
6cbec759
TS
33672013-03-16 Thomas Schwinge <thomas@codesourcery.com>
3368
3369 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
3370 variable.
3371
bc16e260
RM
33722013-03-15 Roland McGrath <roland@hack.frob.com>
3373
aefc9b8c
RM
3374 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
3375 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
3376 zero since it's initialized to EXEC_PAGESIZE.
3377
bc16e260
RM
3378 * sysdeps/unix/sysv/linux/ldsodefs.h
3379 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
3380 * sysdeps/generic/ldsodefs.h: ... here.
3381
a57da955
TS
33822013-03-15 Thomas Schwinge <thomas@codesourcery.com>
3383
af00a34d
TS
3384 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
3385
495ded2c
TS
3386 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
3387 math/test-snan.c.
3388 * math/test-snan.c: Renamed from
3389 sysdeps/powerpc/fpu/test-powerpc-snan.c.
3390 * math/Makefile (tests): Add test-snan.
3391 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
3392 test-powerpc-snan.
3393
777b0332
TS
3394 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
3395 SUFFIX. Initialize qNaN_var with __builtin_nan family of
3396 functions.
3397 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
3398 __builtin_nan family of functions.
3399 * math/libm-test.inc (initialize): Initialize qnan_value with
3400 __builtin_nan family of functions.
3401 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
3402 Remove variables.
3403 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
3404 Remove functions.
3405 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
3406 storage class. Initialize qNaN_var and sNaN_var with
3407 __builtin_nan and __builtin_nans families of functions,
3408 respectively.
3409
64d063b8
TS
3410 * math/libm-test.inc (acosh_test): Also test with qNaN input.
3411 (sqrt_test): Remove duplicate test with qNaN input.
3412 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
3413 (round_test, signbit_test, significand_test): Note missing +/-Inf
3414 as well as qNaN tests.
3415
67e971f1
TS
3416 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
3417 qNaN_var. Fix a few strings, too.
3418 * math/libm-test.inc (nan_value): Rename to qnan_value.
3419 * math/gen-libm-test.pl (%beautify): Adjust to that.
3420 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
3421 * math/test-misc.c (main): Likewise.
3422 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
3423 to __qnan_bytes, and __qnan_union, respectively.
3424 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
3425 Likewise.
3426 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
3427 and lqnanval, respectively.
3428 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
3429 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
3430 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
3431 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
3432
64487e12
TS
3433 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
3434 * math/test-misc.c (main) [__x86_64__]: Enable test for long
3435 doubles.
3436
e015e27b
TS
3437 * math/test-misc.c (main): Fix copy'n'pastos.
3438 * misc/tst-efgcvt.c (special): Likewise.
3439
a57da955
TS
3440 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
3441 Remove declarations.
3442
1e380345
SP
34432013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3444
3445 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
3446 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
3447 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
3448 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
3449
ef26eece
AZ
34502013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3451
3452 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
3453 macro to return vdso values correctly in IFUNC implementations.
3454 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3455 Optimization by using IFUNC.
3456
8cfdb7e0
SP
34572013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3458 Richard Henderson <rth@redhat.com>
3459 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3460
3461 * Makefile.in (bench): New target.
3462 * NEWS: Mention the benchmark framework.
3463 * Rules (bench): Likewise.
3464 (binaries-bench): Generate binaries for functions to
3465 benchmark.
3466 * benchtests/Makefile: New makefile for benchmark tests.
3467 * benchtests/bench-skeleton.c: New skeleton file for benchmark
3468 programs.
3469 * benchtests/exp-inputs: New input file for EXP function.
3470 * benchtests/pow-inputs: New input file for POW function.
3471 * scripts/bench.pl: New script to generate source files for
3472 benchmark programs.
3473
bcda9880
SP
34742013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3475
d22ca8cd
SP
3476 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3477 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
3478 computations on mantissa. Use macros for rounding and
3479 division.
3480 (denorm): Likewise.
3481 (__dbl_mp): Likewise.
3482 (add_magnitudes): Likewise.
3483 (sub_magnitudes): Likewise.
3484 (__mul): Likewise.
3485 (__sqr): Likewise.
3486 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3487 powers of two in terms of TWOPOW macro.
3488 (mp_no): Make type of mantissa as MANTISSA_T.
3489 [!RADIXI]: Define RADIXI.
3490 [!TWO52]: Define TWO52.
3491 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3492
bcda9880
SP
3493 * manual/nptl.texi (cindex): Modify threads to pthreads.
3494
06d5adfb
JM
34952013-03-15 Joseph Myers <joseph@codesourcery.com>
3496
3497 * sysdeps/x86_64/preconfigure: Regenerated.
3498
41c7328e
JM
34992013-03-14 Joseph Myers <joseph@codesourcery.com>
3500
3501 [BZ #14155]
3502 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
3503 0x1p28 and above.
3504 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
3505 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
3506 0x1p28 and above.
3507 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
3508 * math/libm-test.inc (j0_test): Do not allow one spurious
3509 underflow exception.
3510 (y1_test): Likewise.
3511
e25cfa60
SP
35122013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3513
0409959c
SP
3514 * manual/Makefile (chapters): Add nptl.
3515 * manual/debug.texi (Debugging Support): Add link to Threads
3516 chapter.
3517 * manual/nptl.texi: New file.
3518
e25cfa60
SP
3519 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
3520
58a1335e
PB
35212013-03-14 Petr Baudis <pasky@ucw.cz>
3522
3523 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
3524 for non-NULL pointer before the memory validity test. Pointed
3525 out by Holger Brunck <holger.brunck@keymile.com>.
3526
9dc7c64f
AS
35272013-03-13 Andreas Schwab <schwab@suse.de>
3528
3529 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
3530 instead of .os.
3531
54206aa6
JM
35322013-03-13 Joseph Myers <joseph@codesourcery.com>
3533
3534 * timezone/zic.c: Update from tzcode 2013b.
3535
e98cdb38
CD
35362013-03-12 Carlos O'Donell <carlos@redhat.com>
3537
3538 * manual/install.texi (Configuring and compiling):
3539 Mention i686 and i586.
3540 * INSTALL: Regenerate.
3541
9967e003
RM
35422013-03-12 Roland McGrath <roland@hack.frob.com>
3543
3544 * sysdeps/init_array/elf-init.c: New file.
3545 * csu/elf-init.c
3546 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
3547 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
3548
3549 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
3550 __gmon_start__ as global, but as static with a .preinit_array pointer.
3551 * sysdeps/init_array/gmon-start.c: New file. Use that.
3552 * sysdeps/init_array/crti.S: New file, empty except for comments.
3553 * sysdeps/init_array/crtn.S: Likewise.
3554
e6b5a293 35552013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
3556
3557 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
3558 definining bcopy.
80f844c9
OB
3559 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3560 Remove Prefer_SSE_for_memop.
3561 * sysdeps/x86_64/multiarch/init-arch.h: Remove
3562 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
3563 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
3564 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3565 memset-x86-64.
80f844c9 3566 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 3567 Remove bzero, memset ifunc support.
80f844c9
OB
3568 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
3569 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
3570 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3571 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3572
fb6b0fcb
AS
35732013-03-11 Andreas Schwab <schwab@suse.de>
3574
3575 [BZ #15234]
3576 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
3577 by SHLIB_COMPAT.
3578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
3579 (GLIBC_2.16): Remove pthread_atfork.
3580
3e6bd4b1
PP
35812013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3582
3583 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
3584 (ptestcases.h): Likewise.
3585
222d7f00
RM
35862013-03-08 Roland McGrath <roland@hack.frob.com>
3587
3588 * Makeconfig ($(common-objpfx)config.status): Depend on
3589 sysdeps/*/preconfigure{,.in} too.
3590
1ba4f030
JM
35912013-03-08 Joseph Myers <joseph@codesourcery.com>
3592
a222d91a
JM
3593 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
3594 (__free_hook): Use void * instead of __malloc_ptr_t.
3595 (__malloc_hook): Likewise.
3596 (__realloc_hook): Likewise.
3597 (__memalign_hook): Likewise.
3598 (__after_morecore_hook): Likewise.
3599 * malloc/arena.c (save_malloc_hook): Likewise.
3600 (save_free_hook): Likewise.
3601 * malloc/hooks.c (malloc_hook_ini): Likewise.
3602 (realloc_hook_ini): Likewise.
3603 (memalign_hook_ini): Likewise.
3604 * malloc/malloc.c (malloc_hook_ini): Likewise.
3605 (realloc_hook_ini): Likewise.
3606 (memalign_hook_ini): Likewise.
3607 (__free_hook): Likewise.
3608 (__malloc_hook): Likewise.
3609 (__realloc_hook): Likewise.
3610 (__memalign_hook): Likewise.
3611 (__libc_malloc): Likewise.
3612 (__libc_free): Likewise.
3613 (__libc_realloc): Likewise.
3614 (__libc_memalign): Likewise.
3615 (__libc_valloc): Likewise.
3616 (__libc_pvalloc): Likewise.
3617 (__libc_calloc): Likewise.
3618 (__posix_memalign): Likewise.
3619 * malloc/morecore.c (__sbrk): Likewise.
3620 (__default_morecore): Likewise.
3621
5cc45e10
JM
3622 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
3623
dd54b864
JM
3624 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
3625 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
3626 __malloc_ptrdiff_t.
3627
1ba4f030
JM
3628 * malloc/malloc.h (__malloc_size_t): Remove macro.
3629 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
3630 __malloc_size_t.
3631 (old_memalign_hook): Likewise.
3632 (old_realloc_hook): Likewise.
3633 (struct hdr): Likewise.
3634 (flood): Likewise.
3635 (mallochook): Likewise.
3636 (memalignhook): Likewise.
3637 (reallochook): Likewise.
3638 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
3639 (tr_old_realloc_hook): Likewise.
3640 (tr_old_memalign_hook): Likewise.
3641 (tr_mallochook): Likewise.
3642 (tr_reallochook): Likewise.
3643 (tr_memalignhook): Likewise.
3644
edf66e57
AZ
36452013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3646
3647 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
3648 default_ldbl_pack and using as default implementation.
3649 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
3650 implementation.
3651 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
3652 redundant definition.
3653 (ldbl_insert_mantissa): Likewise.
3654 (ldbl_canonicalize): Likewise.
3655 (ldbl_nearbyint): Likewise.
3656 (ldbl_pack): Rename to ldbl_pack_ppc.
3657 (ldbl_unpack): Rename to ldbl_unpack_ppc.
3658 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
3659 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
3660
6d9145d8
SP
36612013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3662
3663 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
3664 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
3665 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
3666 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
3667 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
3668 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
3669 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
3670 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
3671
4dd4e157
AJ
36722013-03-07 Andreas Jaeger <aj@suse.de>
3673
3674 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3675 bits/mman-linux.h.
3676
adbb8027
SP
36772013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3678
ce544b5b
SP
3679 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
3680 Include mpa.h and declare __MPEXP.
3681 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
3682 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3683 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3684 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
3685 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3686 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3687 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
3688
4cc149fd
SP
3689 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
3690 (__slowpow): Use long double EXPL and LOGL functions to
3691 compute POW.
3692 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3693 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3694 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
3695 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3696 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3697 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
3698
e6ebd4a7
SP
3699 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
3700 intermediate variable to calculate exponent.
3701 (__sqr): Likewise.
3702 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3703 Likewise.
3704 (__sqr): Likewise.
3705
82a9811d
SP
3706 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
3707 [!NO__SQR]: Define __sqr.
3708 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
3709 and NO__SQR. Remove all code except __mul and __sqr. Include
3710 sysdeps/ieee754/dbl-64/mpa.c.
3711 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3712
adbb8027
SP
3713 [BZ #12723]
3714 * posix/Makefile (tests): Add tst-pathconf.
3715 * posix/tst-pathconf.c: New test case.
3716 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
3717 _PC_PIPE_BUF.
3718 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
3719
39120df9
PF
37202013-03-06 Patsy Franklin <pfrankli@redhat.com>
3721
3722 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
3723
67525cb8
AJ
37242013-03-06 Andreas Jaeger <aj@suse.de>
3725
664a9ce4
AJ
3726 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
3727 definition via __MAP_ANONYMOUS.
3728
8e39047d
AJ
3729 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
3730 it's not part of Linux headers.
3731
67525cb8
AJ
3732 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
3733 (MAP_HUGE_MASK): Define.
3734
3735 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3736 Define.
3737 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3738 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3739 Define.
3740 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3741 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3742 Define.
3743 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3744 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
3745 Define.
3746 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3747
3748 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
3749 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
3750 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
3751 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
3752 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
3753 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
3754
3755 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
3756 Handle f2fs.
3757
3758 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3759 Handle f2fs and efivarfs.
3760
3761 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
3762 f2fs.
3763
3764 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
3765 (EFIVARFS_MAGIC): Add.
3766 (F2FS_LINK_MAX): Add.
3767
e1b42695
PP
37682013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3769
3770 * stdio-common/vfprintf.c: Replace __builtin_expect with
3771 __glibc_unlikely.
3772
2d67d91a
JM
37732013-03-06 Joseph Myers <joseph@codesourcery.com>
3774
3775 [BZ #13550]
3776 * sysdeps/generic/bp-sym.h: Remove file.
3777 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
3778 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
3779 <bp-sym.h> and <bp-asm.h>.
3780 (__longjmp): Don't use BP_SYM.
3781 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
3782 and <bp-asm.h>.
3783 (memcpy): Don't use BP_SYM.
3784 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
3785 <bp-sym.h> and <bp-asm.h>.
3786 (memcpy): Don't use BP_SYM.
3787 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
3788 <bp-asm.h>.
3789 (memcpy): Don't use BP_SYM.
3790 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
3791 <bp-asm.h>.
3792 (memset): Don't use BP_SYM.
3793 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3794 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3795 (__bzero): Don't use BP_SYM.
3796 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3797 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3798 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
3799 <bp-sym.h> and <bp-asm.h>.
3800 (memcmp): Don't use BP_SYM. Remove comment about bounded
3801 pointers.
3802 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
3803 <bp-sym.h> and <bp-asm.h>.
3804 (memcpy): Don't use BP_SYM.
3805 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
3806 <bp-sym.h> and <bp-asm.h>.
3807 (memset): Don't use BP_SYM.
3808 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3809 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3810 (__bzero): Don't use BP_SYM.
3811 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3812 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3813 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
3814 <bp-sym.h> and <bp-asm.h>.
3815 (strncmp): Don't use BP_SYM. Remove comment about bounded
3816 pointers.
3817 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
3818 <bp-sym.h> and <bp-asm.h>.
3819 (memcpy): Don't use BP_SYM.
3820 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
3821 <bp-sym.h> and <bp-asm.h>.
3822 (memset): Don't use BP_SYM.
3823 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3824 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3825 (__bzero): Don't use BP_SYM.
3826 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3827 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3828 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
3829 <bp-sym.h> and <bp-asm.h>.
3830 (__memchr): Don't use BP_SYM.
3831 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
3832 <bp-sym.h> and <bp-asm.h>.
3833 (memcmp): Don't use BP_SYM. Remove comment about bounded
3834 pointers.
3835 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
3836 <bp-sym.h> and <bp-asm.h>.
3837 (memcpy): Don't use BP_SYM.
3838 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
3839 <bp-sym.h> and <bp-asm.h>.
3840 (__mempcpy): Don't use BP_SYM.
3841 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
3842 <bp-sym.h> and <bp-asm.h>.
3843 (__memrchr): Don't use BP_SYM.
3844 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
3845 <bp-sym.h> and <bp-asm.h>.
3846 (memset): Don't use BP_SYM.
3847 (__bzero): Likewise.
3848 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
3849 <bp-sym.h> and <bp-asm.h>.
3850 (__rawmemchr): Don't use BP_SYM.
3851 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
3852 <bp-sym.h> and <bp-asm.h>.
3853 (__STRCMP): Don't use BP_SYM.
3854 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
3855 <bp-sym.h> and <bp-asm.h>.
3856 (strchr): Don't use BP_SYM.
3857 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
3858 <bp-sym.h> and <bp-asm.h>.
3859 (__strchrnul): Don't use BP_SYM.
3860 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
3861 <bp-sym.h> and <bp-asm.h>.
3862 (strlen): Don't use BP_SYM.
3863 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
3864 <bp-sym.h> and <bp-asm.h>.
3865 (strncmp): Don't use BP_SYM. Remove comment about bounded
3866 pointers.
3867 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
3868 <bp-sym.h> and <bp-asm.h>.
3869 (__strnlen): Don't use BP_SYM.
3870 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
3871 <bp-sym.h> and <bp-asm.h>.
3872 (__GI__setjmp): Don't use BP_SYM.
3873 (_setjmp): Likewise.
3874 (__sigsetjmp): Likewise.
3875 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
3876 (L(start_addresses)): Don't use BP_SYM.
3877 (_start): Likewise.
3878 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
3879 <bp-asm.h>.
3880 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
3881 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
3882 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3883 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3884 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
3885 <bp-asm.h>.
3886 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
3887 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
3888 about bounded pointers.
3889 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3890 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3891 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
3892 <bp-asm.h>.
3893 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3894 about bounded pointers. Remove GKM FIXME comments.
3895 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3896 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
3897 <bp-asm.h>.
3898 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
3899 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
3900 Remove GKM FIXME comments.
3901 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3902 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3903 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
3904 <bp-asm.h>.
3905 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3906 about bounded pointers. Remove GKM FIXME comment.
3907 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
3908 and <bp-asm.h>.
3909 (strncmp): Don't use BP_SYM. Remove comment about bounded
3910 pointers.
3911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
3912 <bp-sym.h> and <bp-asm.h>.
3913 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
3914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
3915 <bp-sym.h> and <bp-asm.h>.
3916 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
3917 comment.
3918
cdcf361f
PP
39192013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3920
3921 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
3922 call free(NULL).
3923
3c4a2b15
DM
39242013-03-05 David S. Miller <davem@davemloft.net>
3925
3926 * po/es.po: Update from translation team.
3927
cdcf361f 39282013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
3929
3930 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
3931 <bits/mman-linux.h>.
3932 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3933 is fine.
3934 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
3935 <bits/mman-linux.h> to end of file.
3936 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3937 is fine.
3938 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
3939 <bits/mman-linux.h> to end of file.
3940 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3941 is fine.
3942 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
3943 <bits/mman-linux.h> to end of file.
3944
3945 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
3946 (MCL_CURRENT, MCL_FUTURE): Define here.
3947
5f67c04f
AK
39482013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3949
8a4473cc 3950 [BZ #15232]
5f67c04f
AK
3951 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
3952 attribute_hidden.
3953 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3954
c3e94a95
AK
39552013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3956
3957 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
3958 fourth parameter needed for rt_sigprocmask syscall.
3959 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3960 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3961 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3962 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3963 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3964 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
3965
cfb6382a
JM
39662013-03-04 Joseph Myers <joseph@codesourcery.com>
3967
3968 [BZ #13550]
3969 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
3970 comment about bounded pointers.
3971 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
3972 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
3973
539d8e01
AJ
39742013-03-04 Andreas Jaeger <aj@suse.de>
3975
3976 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
3977 common definitions.
3978
3979 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
3980 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
3981 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
3982 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3983 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
3984 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3985
2e167a70 39862013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
3987
3988 [BZ #15055]
3989 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3990 __ieee754_sqrl instead of __sqrl.
3991
68508633
JM
39922013-03-01 Joseph Myers <joseph@codesourcery.com>
3993
3994 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
3995 * sysdeps/powerpc/fpu_control.h: ... here.
3996 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
3997 * sysdeps/powerpc/bits/fenvinline.h: ... here.
3998 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
3999 * sysdeps/powerpc/bits/mathinline.h: ... here.
4000
7775448e
RM
40012013-03-01 Roland McGrath <roland@hack.frob.com>
4002
4003 * elf/dl-hwcaps.c (_dl_important_hwcaps):
4004 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
4005 to just [NEED_DL_SYSINFO_DSO].
4006 * elf/dl-support.c: Likewise.
4007 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4008 * elf/rtld.c (dl_main): Likewise.
4009 * elf/setup-vdso.h (setup_vdso): Likewise.
4010 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
4011 * sysdeps/unix/sysv/linux/dl-sysdep.c
4012 (_dl_discover_osversion): Likewise.
4013
4e9b5995
CD
40142013-03-01 Carlos O'Donell <carlos@redhat.com>
4015
4016 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
4017 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4018
e23872c8
SP
40192013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4020
e5c74c63
SP
4021 * NEWS: Mention libm performance improvements and non-x86 PI
4022 futex support.
4023
e23872c8
SP
4024 * csu/libc-start.c (__pthread_initialize_minimal): Change
4025 function arguments.
4026 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4027
b5510883
JM
40282013-02-28 Joseph Myers <joseph@codesourcery.com>
4029
4030 [BZ #13550]
4031 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
4032 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
4033 <bp-sym.h> and <bp-asm.h>.
4034 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4035 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
4036 and <bp-asm.h>.
4037 (memcpy): Don't use BP_SYM.
4038 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
4039 <bp-asm.h>.
4040 (__mpn_add_n): Don't use BP_SYM.
4041 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
4042 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
4043 and <bp-asm.h>.
4044 (__mpn_addmul_1): Don't use BP_SYM.
4045 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4046 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
4047 <bp-sym.h>.
4048 (_setjmp): Don't use BP_SYM.
4049 (__novmx_setjmp): Likewise.
4050 (__GI__setjmp): Likewise.
4051 (__vmx_setjmp): Likewise.
4052 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
4053 <bp-sym.h>.
4054 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
4055 (__bzero): Don't use BP_SYM.
4056 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4057 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4058 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
4059 <bp-sym.h> and <bp-asm.h>.
4060 (memcpy): Don't use BP_SYM.
4061 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
4062 <bp-sym.h> and <bp-asm.h>.
4063 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4064 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
4065 <bp-sym.h> and <bp-asm.h>.
4066 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4067 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
4068 <bp-asm.h>.
4069 (__mpn_lshift): Don't use BP_SYM.
4070 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4071 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
4072 <bp-asm.h>.
4073 (memset): Don't use BP_SYM.
4074 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4075 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4076 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
4077 <bp-asm.h>.
4078 (__mpn_mul_1): Don't use BP_SYM.
4079 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4080 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
4081 <bp-sym.h> and <bp-asm.h>.
4082 (memcmp): Don't use BP_SYM.
4083 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
4084 <bp-sym.h> and <bp-asm.h>.
4085 (memcpy): Don't use BP_SYM.
4086 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
4087 <bp-sym.h> and <bp-asm.h>.
4088 (memset): Don't use BP_SYM.
4089 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
4090 <bp-sym.h> and <bp-asm.h>.
4091 (strncmp): Don't use BP_SYM.
4092 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
4093 <bp-sym.h> and <bp-asm.h>.
4094 (memcpy): Don't use BP_SYM.
4095 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
4096 <bp-sym.h> and <bp-asm.h>.
4097 (memset): Don't use BP_SYM.
4098 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
4099 <bp-sym.h> and <bp-asm.h>.
4100 (__memchr): Don't use BP_SYM.
4101 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
4102 <bp-sym.h> and <bp-asm.h>.
4103 (memcmp): Don't use BP_SYM.
4104 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
4105 <bp-sym.h> and <bp-asm.h>.
4106 (memcpy): Don't use BP_SYM.
4107 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
4108 <bp-sym.h> and <bp-asm.h>.
4109 (__mempcpy): Don't use BP_SYM.
4110 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
4111 <bp-sym.h> and <bp-asm.h>.
4112 (__memrchr): Don't use BP_SYM.
4113 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
4114 <bp-sym.h> and <bp-asm.h>.
4115 (memset): Don't use BP_SYM.
4116 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
4117 <bp-sym.h> and <bp-asm.h>.
4118 (__rawmemchr): Don't use BP_SYM.
4119 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
4120 <bp-sym.h> and <bp-asm.h>.
4121 (__STRCMP): Don't use BP_SYM.
4122 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
4123 <bp-sym.h> and <bp-asm.h>.
4124 (strchr): Don't use BP_SYM.
4125 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
4126 <bp-sym.h> and <bp-asm.h>.
4127 (__strchrnul): Don't use BP_SYM.
4128 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
4129 <bp-sym.h> and <bp-asm.h>.
4130 (strlen): Don't use BP_SYM.
4131 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
4132 <bp-sym.h> and <bp-asm.h>.
4133 (strncmp): Don't use BP_SYM.
4134 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
4135 <bp-sym.h> and <bp-asm.h>.
4136 (__strnlen): Don't use BP_SYM.
4137 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
4138 <bp-asm.h>.
4139 (__mpn_rshift): Don't use BP_SYM.
4140 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4141 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
4142 <bp-sym.h> and <bp-asm.h>.
4143 (__sigsetjmp): Don't use BP_SYM.
4144 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
4145 (L(start_addresses)): Don't use BP_SYM.
4146 (_start): Likewise.
4147 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
4148 <bp-asm.h>.
4149 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
4150 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4151 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4152 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
4153 <bp-asm.h>.
4154 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
4155 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4156 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4157 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
4158 <bp-asm.h>.
4159 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4160 comments.
4161 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4162 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
4163 <bp-asm.h>.
4164 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
4165 FIXME comments.
4166 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4167 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4168 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
4169 <bp-asm.h>.
4170 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4171 comment.
4172 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
4173 and <bp-asm.h>.
4174 (strncmp): Don't use BP_SYM,
4175 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
4176 <bp-asm.h>.
4177 (__mpn_sub_n): Don't use BP_SYM.
4178 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4179 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
4180 and <bp-asm.h>.
4181 (__mpn_submul_1): Don't use BP_SYM.
4182 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
4184 <bp-sym.h> and <bp-asm.h>.
4185 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
4187 <bp-sym.h> and <bp-asm.h>.
4188 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4189 comment.
4190
8d19fe64
SP
41912013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4192
4193 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
4194 Use ZK to minimize writes to Z.
4195 (sub_magnitudes): Simplify code a bit.
4196 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
4197 Use ZK to minimize writes to Z.
4198 (sub_magnitudes): Simplify code a bit.
4199
85bd816a
RM
42002013-02-27 Roland McGrath <roland@hack.frob.com>
4201
4202 * csu/gmon-start.c: Add special exception to license text.
4203
b5977bf2
RH
42042013-02-27 Richard Henderson <rth@redhat.com>
4205
4206 * scripts/config.guess: Update from config.git.
4207 * scripts/config.sub: Likewise.
4208
11d6e2f2
SP
42092013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4210
09c14ed2
SP
4211 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
4212
a688864e
SP
4213 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
4214
6295157a
SP
4215 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
4216
b8de2202
SP
4217 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
4218
11d6e2f2
SP
4219 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
4220
7e80ddb8
RM
42212013-02-26 Roland McGrath <roland@hack.frob.com>
4222
4223 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
4224 [$(build-shared = yes].
7e80ddb8 4225
7da6d9ed
SP
42262013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4227
45f05884
SP
4228 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
4229 (__mul): Reduce iterations for calculating mantissa.
4230
2236d359
SP
4231 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
4232 MPTWO.
4233 (__mpranred): Likewise.
4234
7da6d9ed
SP
4235 [BZ #15160]
4236 * malloc/memusagestat.c (main): Draw graphs for heap and stack
4237 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
4238
b7688c42
PE
42392013-02-26 Paul Eggert <eggert@cs.ucla.edu>
4240
4241 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
4242 Define __attribute__.
4243
53a5c423
SP
42442013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4245
4246 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
4247 unused.
4248 * posix/regex_internal.h (__attribute): Remove.
4249 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
4250 (re_string_context_at): Likewise.
4251 (bitset_not): Use __attribute__ and mark function as possibly
4252 unused.
4253 (bitset_merge): Likewise.
4254 (bitset_mask): Likewise.
4255 (re_string_char_size_at): Likewise.
4256 (re_string_wchar_at): Likewise.
4257 (re_string_elem_size_at): Likewise.
4258
60f5a8b5
SP
42592013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4260
2a983a2e
SP
4261 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
4262 code.
4263 (cc32): Likewise.
4264
e69804d1
SP
4265 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
4266 (__acr): Likewise.
4267 (__cpy): Likewise.
4268 (norm): Likewise.
4269 (denorm): Likewise.
4270 (__dbl_mp): Likewise.
4271 (add_magnitudes): Likewise.
4272 (sub_magnitudes): Likewise.
4273 (__mul): Likewise.
4274 (__inv): Likewise.
4275
2f22a1e8
SP
4276 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
4277 style.
4278
8930ddc7
SP
4279 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
4280 style.
4281
dc60cb11
SP
4282 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
4283 code.
4284
60f5a8b5
SP
4285 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
4286 up changes with default code.
4287 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
4288 Likewise.
4289
b4d1fd33
AM
42902013-02-24 Allan McRae <allan@archlinux.org>
4291
faf6f8bc
AM
4292 * manual/socket.texi (The Internet Namespace): Order menu items
4293 to match that in the file.
4294
b4d1fd33
AM
4295 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
4296 node listing of the info page menu.
4297
2366713d
JM
42982013-02-21 Joseph Myers <joseph@codesourcery.com>
4299
4300 [BZ #13550]
4301 * sysdeps/i386/bp-asm.h: Remove file.
4302 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4303 (PARMS): Do not use macros from bp-asm.h.
4304 (S1): Likewise.
4305 (S2): Likewise.
4306 (SIZE): Likewise.
4307 (__mpn_add_n): Do not use BP_SYM
4308 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
4309 "bp-asm.h".
4310 (PARMS): Do not use macros from bp-asm.h.
4311 (S1): Likewise.
4312 (SIZE): Likewise.
4313 (__mpn_addmul_1): Do not use BP_SYM
4314 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
4315 "bp-asm.h".
4316 (PARMS): Do not use macros from bp-asm.h.
4317 (SIGMSK): Likewise.
4318 (_setjmp): Likewise. Do not use BP_SYM.
4319 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
4320 "bp-asm.h".
4321 (PARMS): Do not use macros from bp-asm.h.
4322 (SIGMSK): Likewise.
4323 (setjmp): Likewise. Do not use BP_SYM.
4324 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
4325 "bp-asm.h".
4326 (PARMS): Do not use macros from bp-asm.h.
4327 (__frexp): Do not use BP_SYM.
4328 (frexp): Likewise.
4329 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
4330 "bp-asm.h".
4331 (PARMS): Do not use macros from bp-asm.h.
4332 (__frexpf): Do not use BP_SYM.
4333 (frexpf): Likewise.
4334 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
4335 "bp-asm.h".
4336 (PARMS): Do not use macros from bp-asm.h.
4337 (__frexpl): Do not use BP_SYM.
4338 (frexpl): Likewise.
4339 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
4340 "bp-asm.h".
4341 (PARMS): Do not use macros from bp-asm.h.
4342 (__remquo): Do not use BP_SYM.
4343 (remquo): Likewise.
4344 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
4345 "bp-asm.h".
4346 (PARMS): Do not use macros from bp-asm.h.
4347 (__remquof): Do not use BP_SYM.
4348 (remquof): Likewise.
4349 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
4350 "bp-asm.h".
4351 (PARMS): Do not use macros from bp-asm.h.
4352 (__remquol): Do not use BP_SYM.
4353 (remquol): Likewise.
4354 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
4355 "bp-asm.h".
4356 (PARMS): Do not use macros from bp-asm.h.
4357 (DEST): Likewise.
4358 (SRC): Likewise.
4359 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
4360 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
4361 "bp-asm.h".
4362 (PARMS): Do not use macros from bp-asm.h.
4363 (strlen): Do not use BP_SYM.
4364 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
4365 "bp-asm.h".
4366 (PARMS): Do not use macros from bp-asm.h.
4367 (S1): Likewise.
4368 (S2): Likewise.
4369 (SIZE): Likewise.
4370 (__mpn_add_n): Do not use BP_SYM.
4371 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
4372 "bp-asm.h".
4373 (PARMS): Do not use macros from bp-asm.h.
4374 (S1): Likewise.
4375 (SIZE): Likewise.
4376 (__mpn_addmul_1): Do not use BP_SYM.
4377 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
4378 weak_alias.
4379 (bzero): Likewise.
4380 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
4381 "bp-asm.h".
4382 (PARMS): Do not use macros from bp-asm.h.
4383 (S): Likewise.
4384 (SIZE): Likewise.
4385 (__mpn_lshift): Do not use BP_SYM.
4386 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
4387 "bp-asm.h".
4388 (PARMS): Do not use macros from bp-asm.h.
4389 (DEST): Likewise.
4390 (SRC): Likewise.
4391 (LEN): Likewise.
4392 (memcpy): Likewise. Do not use BP_SYM.
4393 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
4394 libc_hidden_def and weak_alias.
4395 (mempcpy): Do not use BP_SYM in weak_alias.
4396 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
4397 "bp-asm.h".
4398 (PARMS): Do not use macros from bp-asm.h.
4399 (DEST): Likewise.
4400 (LEN): Likewise.
4401 [!BZERO_P] (CHR): Likewise.
4402 (memset): Likewise. Do not use BP_SYM.
4403 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
4404 "bp-asm.h".
4405 (PARMS): Do not use macros from bp-asm.h.
4406 (S1): Likewise.
4407 (SIZE): Likewise.
4408 (__mpn_mul_1): Do not use BP_SYM.
4409 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
4410 "bp-asm.h".
4411 (PARMS): Do not use macros from bp-asm.h.
4412 (S): Likewise.
4413 (SIZE): Likewise.
4414 (__mpn_rshift): Do not use BP_SYM.
4415 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
4416 "bp-asm.h".
4417 (PARMS): Do not use macros from bp-asm.h.
4418 (STR): Likewise.
4419 (CHR): Likewise.
4420 (strchr): Likewise. Do not use BP_SYM.
4421 (index): Do not use BP_SYM in weak_alias.
4422 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
4423 "bp-asm.h".
4424 (PARMS): Do not use macros from bp-asm.h.
4425 (DEST): Likewise.
4426 (SRC): Likewise.
4427 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
4428 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
4429 "bp-asm.h".
4430 (PARMS): Do not use macros from bp-asm.h.
4431 (strlen): Do not use BP_SYM.
4432 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
4433 "bp-asm.h".
4434 (PARMS): Do not use macros from bp-asm.h.
4435 (S1): Likewise.
4436 (S2): Likewise.
4437 (SIZE): Likewise.
4438 (__mpn_sub_n): Do not use BP_SYM.
4439 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
4440 "bp-asm.h".
4441 (PARMS): Do not use macros from bp-asm.h.
4442 (S1): Likewise.
4443 (SIZE): Likewise.
4444 (__mpn_submul_1): Do not use BP_SYM.
4445 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
4446 "bp-asm.h".
4447 (PARMS): Do not use macros from bp-asm.h.
4448 (S1): Likewise.
4449 (S2): Likewise.
4450 (SIZE): Likewise.
4451 (__mpn_add_n): Do not use BP_SYM.
4452 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
4453 weak_alias.
4454 (bzero): Likewise.
4455 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
4456 "bp-asm.h".
4457 (PARMS): Do not use macros from bp-asm.h.
4458 (BLK2): Likewise.
4459 (LEN): Likewise.
4460 (memcmp): Do not use BP_SYM.
4461 (bcmp): Do not use BP_SYM in weak_alias.
4462 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
4463 "bp-asm.h".
4464 (PARMS): Do not use macros from bp-asm.h.
4465 (DEST): Likewise.
4466 (SRC): Likewise.
4467 (LEN): Likewise.
4468 (memcpy): Likewise. Do not use BP_SYM.
4469 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
4470 "bp-asm.h".
4471 (PARMS): Do not use macros from bp-asm.h.
4472 (DEST): Likewise.
4473 (SRC): Likewise.
4474 (LEN): Likewise.
4475 (memmove): Likewise. Do not use BP_SYM.
4476 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
4477 "bp-asm.h".
4478 (PARMS): Do not use macros from bp-asm.h.
4479 (DEST): Likewise.
4480 (SRC): Likewise.
4481 (LEN): Likewise.
4482 (__mempcpy): Likewise. Do not use BP_SYM.
4483 (mempcpy): Do not use BP_SYM in weak_alias.
4484 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
4485 "bp-asm.h".
4486 (PARMS): Do not use macros from bp-asm.h.
4487 (DEST): Likewise.
4488 (LEN): Likewise.
4489 [!BZERO_P] (CHR): Likewise.
4490 (memset): Likewise. Do not use BP_SYM.
4491 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
4492 "bp-asm.h".
4493 (PARMS): Do not use macros from bp-asm.h.
4494 (STR2): Likewise.
4495 (strcmp): Do not use BP_SYM.
4496 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
4497 "bp-asm.h".
4498 (PARMS): Do not use macros from bp-asm.h.
4499 (STR): Likewise.
4500 (DELIM): Likewise.
4501 [USE_AS_STRTOK_R] (SAVE): Likewise.
4502 (FUNCTION): Likewise. Do not use BP_SYM.
4503 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
4504 aliases.
4505 (strtok_r): Likewise.
4506 (__GI___strtok_r): Likewise.
4507 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4508 (PARMS): Do not use macros from bp-asm.h.
4509 (S): Likewise.
4510 (SIZE): Likewise.
4511 (__mpn_lshift): Do not use BP_SYM.
4512 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4513 (PARMS): Do not use macros from bp-asm.h.
4514 (STR): Likewise.
4515 (CHR): Likewise.
4516 (__memchr): Do not use BP_SYM.
4517 (memchr): Do not use BP_SYM in weak_alias.
4518 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4519 (PARMS): Do not use macros from bp-asm.h.
4520 (BLK2): Likewise.
4521 (LEN): Likewise.
4522 (memcmp): Do not use BP_SYM.
4523 (bcmp): Do not use BP_SYM in weak_alias.
4524 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
4525 (PARMS): Do not use macros from bp-asm.h.
4526 (S1): Likewise.
4527 (SIZE): Likewise.
4528 (__mpn_mul_1): Do not use BP_SYM.
4529 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
4530 "bp-asm.h".
4531 (PARMS): Do not use macros from bp-asm.h.
4532 (STR): Likewise.
4533 (CHR): Likewise.
4534 (__rawmemchr): Do not use BP_SYM.
4535 (rawmemchr): Do not use BP_SYM in weak_alias.
4536 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4537 (PARMS): Do not use macros from bp-asm.h.
4538 (S): Likewise.
4539 (SIZE): Likewise.
4540 (__mpn_rshift): Do not use BP_SYM.
4541 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4542 (PARMS): Do not use macros from bp-asm.h.
4543 (SIGMSK): Likewise.
4544 (__sigsetjmp): Likewise. Do not use BP_SYM.
4545 * sysdeps/i386/start.S: Do not include "bp-sym.h".
4546 (_start): Do not use BP_SYM.
4547 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
4548 (PARMS): Do not use macros from bp-asm.h.
4549 (DEST): Likewise.
4550 (SRC): Likewise.
4551 (__stpcpy): Likewise. Do not use BP_SYM.
4552 (stpcpy): Do not use BP_SYM in weak_alias.
4553 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
4554 "bp-asm.h".
4555 (PARMS): Do not use macros from bp-asm.h.
4556 (DEST): Likewise.
4557 (SRC): Likewise.
4558 (LEN): Likewise.
4559 (__stpncpy): Likewise. Do not use BP_SYM.
4560 (stpncpy): Do not use BP_SYM in weak_alias.
4561 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4562 (PARMS): Do not use macros from bp-asm.h.
4563 (STR): Likewise.
4564 (CHR): Likewise.
4565 (strchr): Likewise. Do not use BP_SYM.
4566 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
4567 "bp-asm.h".
4568 (PARMS): Do not use macros from bp-asm.h.
4569 (STR): Likewise.
4570 (CHR): Likewise.
4571 (__strchrnul): Likewise. Do not use BP_SYM.
4572 (strchrnul): Do not use BP_SYM in weak_alias.
4573 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
4574 "bp-asm.h".
4575 (PARMS): Do not use macros from bp-asm.h.
4576 (STOP): Likewise.
4577 (strcspn): Do not use BP_SYM.
4578 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
4579 "bp-asm.h".
4580 (PARMS): Do not use macros from bp-asm.h.
4581 (STR): Likewise.
4582 (STOP): Likewise.
4583 (strpbrk): Likewise. Do not use BP_SYM.
4584 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
4585 "bp-asm.h".
4586 (PARMS): Do not use macros from bp-asm.h.
4587 (STR): Likewise.
4588 (CHR): Likewise.
4589 (strrchr): Likewise. Do not use BP_SYM.
4590 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
4591 (PARMS): Do not use macros from bp-asm.h.
4592 (SKIP): Likewise.
4593 (strspn): Do not use BP_SYM.
4594 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
4595 (PARMS): Do not use macros from bp-asm.h.
4596 (STR): Likewise.
4597 (DELIM): Likewise.
4598 (SAVE): Likewise.
4599 (FUNCTION): Likewise. Do not use BP_SYM.
4600 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
4601 aliases.
4602 (strtok_r): Likewise.
4603 (__GI___strtok_r): Likewise.
4604 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4605 (PARMS): Do not use macros from bp-asm.h.
4606 (S1): Likewise.
4607 (S2): Likewise.
4608 (SIZE): Likewise.
4609 (__mpn_sub_n): Do not use BP_SYM.
4610 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
4611 "bp-asm.h".
4612 (PARMS): Do not use macros from bp-asm.h.
4613 (S1): Likewise.
4614 (SIZE): Likewise.
4615 (__mpn_submul_1): Do not use BP_SYM.
4616 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
4617 <bp-sym.h>.
4618 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
4619 and <bp-asm.h>.
4620 (PARMS): Do not use macros from bp-asm.h.
4621 (FLAGS): Likewise.
4622 (PTID): Likewise.
4623 (TLS): Likewise.
4624 (CTID): Likewise.
4625 (__clone): Do not use BP_SYM.
4626 (clone): Do not use BP_SYM in weak_alias.
4627 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
4628 and <bp-asm.h>.
4629 (PARMS): Do not use macros from bp-asm.h.
4630 (LEN): Likewise.
4631 (__mmap64): Do not use BP_SYM.
4632 (mmap64): Do not use BP_SYM in weak_alias.
4633 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4634 <bp-sym.h> and <bp-asm.h>.
4635 (PARMS): Do not use macros from bp-asm.h.
4636 (__posix_fadvise64_l64): Do not use BP_SYM.
4637 * sysdeps/unix/sysv/linux/i386/semtimedop.S
4638 (PARMS): Do not use macros from bp-asm.h.
4639 (NSOPS): Likewise.
4640 (semtimedop): Do not use BP_SYM.
4641 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
4642 and <bp-asm.h>.
4643
582a3cff
AM
46442013-02-21 Allan McRae <allan@archlinux.org>
4645
4646 * manual/message.texi (Charset conversion in gettext):
4647 Move @end statement to beginning of line.
4648
bab8a695
SP
46492013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4650
80945231
SP
4651 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
4652 static.
4653 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4654 Likewise.
4655
bab8a695
SP
4656 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
4657 (denorm): Likewise.
4658 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
4659 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
4660
e21d7aa7
AK
46612013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4662
4663 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
4664 tail-call to the resolved function if pltexit isn't needed.
4665
4c7a4263
SP
46662013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4667
4668 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
4669 or Y being zero as being unlikely.
4670 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4671 Likewise.
4672
41f49342
CD
46732013-02-20 Carlos O'Donell <carlos@redhat.com>
4674
4675 * manual/nss.texi (System Databases and Name Service Switch):
4676 Remove frobnicate @pxref.
4677
50022a93
TS
46782013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4679
4680 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4681 __attribute__ ((unused)) to __attribute__ ((__unused__)).
4682
08cbd996
PM
46832013-02-20 Petr Machata <pmachata@redhat.com>
4684
4685 * elf/elf.h (R_ARM_TARGET1): New macro.
4686 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
4687 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
4688 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
4689 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
4690 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
4691 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
4692 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
4693 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
4694 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
4695 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
4696 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
4697 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
4698 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
4699 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
4700 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
4701 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
4702 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
4703 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
4704 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
4705 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
4706 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
4707 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
4708 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
4709 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
4710 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
4711 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
4712 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
4713 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
4714 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
4715 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
4716 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
4717 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
4718 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
4719 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
4720 (R_ARM_THM_GOT_BREL12): Likewise.
4721 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
4722 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
4723 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
4724 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
4725 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
4726 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
4727 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
4728 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
4729 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
4730
c7b275d6
TS
47312013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4732
4733 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4734 __attribute_used__ to __attribute__ ((unused)).
4735
20cd7fb3
SP
47362013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4737
4738 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
4739 powerpc mpa.c.
4740 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
4741 comment formatting.
4742 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
4743
92945b52
JM
47442013-02-19 Joseph Myers <joseph@codesourcery.com>
4745
4746 [BZ #13550]
4747 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
4748 Remove macro.
4749 (ENTER): Remove both macro definitions.
4750 (LEAVE): Likewise.
4751 (CHECK_BOUNDS_LOW): Likewise.
4752 (CHECK_BOUNDS_HIGH): Likewise.
4753 (CHECK_BOUNDS_BOTH): Likewise.
4754 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
4755 (RETURN_BOUNDED_POINTER): Likewise.
4756 (RETURN_NULL_BOUNDED_POINTER): Likewise.
4757 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
4758 (POP_ERRNO_LOCATION_RETURN): Likewise.
4759 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
4760 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4761 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
4762 macros.
4763 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4764 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
4765 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
4766 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
4767 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
4768 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
4769 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
4770 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
4771 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
4772 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
4773 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
4774 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
4775 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4776 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
4777 removed macros.
4778 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4779 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
4780 macros.
4781 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4782 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
4783 * sysdeps/i386/i586/memset.S (memset): Likewise.
4784 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
4785 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4786 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
4787 macros.
4788 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4789 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
4790 Change uses of L(2) to L(out).
4791 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
4792 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
4793 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
4794 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4795 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
4796 removed macros.
4797 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4798 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
4799 macros.
4800 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4801 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
4802 (RETURN): Do not use macro LEAVE.
4803 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
4804 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
4805 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
4806 * sysdeps/i386/i686/memset.S (memset): Likewise.
4807 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
4808 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
4809 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4810 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
4811 Likewise.
4812 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4813 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
4814 L(1_2) and L(1_3) into L(1).
4815 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4816 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
4817 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4818 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
4819 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4820 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
4821 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
4822 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4823 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
4824 macros.
4825 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
4826 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4827 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
4828 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
4829 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
4830 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4831 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
4832 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
4833 * sysdeps/i386/strcspn.S (strcspn): Likewise.
4834 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
4835 * sysdeps/i386/strrchr.S (strrchr): Likewise.
4836 * sysdeps/i386/strspn.S (strspn): Likewise.
4837 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
4838 conditional code.
4839 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4840 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
4841 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4842 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
4843 L(1_3) into L(1_1).
4844 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
4845 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4846 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
4847 macros.
4848 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4849
2389741a
JJ
48502013-02-19 Jakub Jelinek <jakub@redhat.com>
4851
4852 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
4853 macro.
4854
2016b3cd
SP
48552013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4856
e4f22324
SP
4857 * math/atest-exp.c (exp_mpn): Remove ROUND.
4858 * math/atest-exp2.c (exp_mpn): Likewise.
4859 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
4860
2016b3cd
SP
4861 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
4862 * stdlib/tst-tls-atexit-lib.c: Likewise.
4863 * stdlib/tst-tls-atexit.c: Likewise.
4864
4be9b544
MF
48652013-02-18 Mike Frysinger <vapier@gentoo.org>
4866
4867 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
4868 and __attribute_alloc_size__.
4869
2f62b9ee
MF
48702013-02-18 Mike Frysinger <vapier@gentoo.org>
4871
4872 * include/programs/xmalloc.h: Change __attribute_alloc_size to
4873 __attribute_alloc_size__.
4874 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
4875 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
4876
6ff444c4
MF
48772013-02-18 Mike Frysinger <vapier@gentoo.org>
4878
4879 * include/programs/xmalloc.h: New file.
4880 * catgets/gencat.c: Include it.
4881 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
4882 * elf/pldd.c: Likewise.
4883 * iconv/iconv_charmap.c: Likewise.
4884 * iconv/iconvconfig.c: Likewise.
4885 * iconv/strtab.c: Likewise.
4886 * locale/programs/locale.c: Likewise.
4887 * locale/programs/localedef.h: Likewise.
4888 * locale/programs/simple-hash.c: Likewise.
4889 * nscd/nscd.h: Likewise.
4890 * nss/makedb.c: Likewise.
4891 * sysdeps/generic/ldconfig.h: Likewise.
4892
be179c8a
SP
48932013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4894
ba384f6e
SP
4895 * Versions.def: Add GLIBC_2.18.
4896 * include/link.h (struct link_map): New member l_tls_dtor_count.
4897 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
4898 (__call_tls_dtors): Likewise.
4899 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
4900 __cxa_thread_atexit_impl.
4901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4902 Likewise.
4903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4904 Likewise.
4905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4906 Likewise.
4907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4908 Likewise.
4909 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4910 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
4911 Likewise.
4912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
4913 Likewise.
4914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4916 Likewise.
4917 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
4918 (tests): Add test case tst-tls-atexit.
4919 (modules-names): Add shared library for tst-tls-atexit.
4920 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
4921 (GLIBC_PRIVATE): Add __call_tls_dtors.
4922 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
4923 for libstdc++.
4924 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
4925 * stdlib/tst-tls-atexit.c: New test case.
4926 * stdlib/tst-tls-atexit-lib.c: New test case.
4927
ffaa74cf 4928 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 4929
be179c8a
SP
4930 * elf/Versions (ld): Add _dl_find_dso_for_object.
4931 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
4932 * elf/dl-open.c (_dl_find_dso_for_object): New function.
4933 (dl_open_worker): Use _dl_find_dso_for_object.
4934 * elf/dl-sym.c (do_sym): Likewise.
4935 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
4936
f78b5caa
AK
49372013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4938
4939 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
4940 Syntactic changes only.
4941 (_dl_runtime_profile): Do a tail-call to the resolved function.
4942
29691210
JM
49432013-02-17 Joseph Myers <joseph@codesourcery.com>
4944
4945 [BZ #13550]
4946 * sysdeps/x86_64/bp-asm.h: Remove file.
4947 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
4948 <bp-sym.h> and <bp-asm.h>.
4949 (__clone): Do not use BP_SYM.
4950 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
4951 <bp-sym.h> and <bp-asm.h>.
4952 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4953 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
4954 "bp-asm.h".
4955 (_setjmp): Do not use BP_SYM.
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/mempcpy.S (__mempcpy): Do not use BP_SYM in
4960 libc_hidden_def.
4961 (mempcpy): Do not use BP_SYM in weak_alias.
4962 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
4963 "bp-asm.h".
4964 (strchr): Do not use BP_SYM.
4965 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
4966 "bp-asm.h".
4967 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
4968 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
4969 (_start): Do not use BP_SYM.
4970 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
4971 "bp-asm.h".
4972 (strcat): Do not use BP_SYM.
4973 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
4974 "bp-asm.h".
4975 (STRCMP): Do not use BP_SYM.
4976 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
4977 "bp-asm.h".
4978 (STRCPY): Do not use BP_SYM.
4979 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
4980 "bp-asm.h".
4981 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
4982 "bp-asm.h".
4983 (FUNCTION): Do not use BP_SYM.
4984 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
4985 weak_alias.
4986 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
4987
f238fd19
AJ
49882013-02-17 Andreas Jaeger <aj@suse.de>
4989
4990 * time/Versions: Sort entries.
4991 * string/Versions: Likewise.
4992 * resolv/Versions: Likewise.
4993 * posix/Versions: Likewise.
4994 * iconv/Versions: Likewise.
4995 * elf/Versions: Likewise.
4996 * wcsmbs/Versions: Likewise.
4997
bd07f23c 49982013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 4999
22af19f9
SP
5000 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
5001 loop termination condition.
5002
4709fe76
SP
5003 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
5004 variable to calculate EZ.
5005 (__sqr): Likewise.
2d0e0f29
SP
5006
5007 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
5008 the lower precision input.
5009
daaa7713
JM
50102013-02-15 Joseph Myers <joseph@codesourcery.com>
5011
5012 [BZ #13550]
5013 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
5014 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
5015 (run-via-rtld-prefix): Do not handle %-bp tests.
5016 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
5017 (all-object-suffixes): Remove .ob.
5018 (bppfx): Remove variable.
5019 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
5020 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
5021 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
5022 [$(build-bounded) = yes] (libtype.ob): Likewise.
5023 * Makerules (elide-routines.ob): Remove variable.
5024 (do-tests-clean): Do not handle *-bp.out.
5025 (common-mostlyclean): Do not handle *-bp and *-bp.out.
5026 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
5027 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
5028 (tests): Do not include $(tests-bp.out).
5029 (xtests): Do not include $(xtests-bp.out).
5030 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
5031 [$(build-bounded) = yes] ($(addprefix
5032 $(objpfx),$(binaries-bounded))): Remove rule.
5033 ($(objpfx)%-bp.out): Remove rule.
5034 * config.make.in (build-bounded): Remove variable.
5035 * crypt/Makefile [$(build-bounded) = yes]
5036 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
5037 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
5038 append to variable.
5039 [$(build-bounded) = yes] (install-lib): Likewise.
5040 [$(build-bounded) = yes] (generated): Likewise.
5041 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
5042 Remove rule.
5043 * intl/Makefile [$(build-bounded) = yes]
5044 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
5045 * math/Makefile [$(build-bounded) = yes]
5046 ($(tests:%=$(objpfx)%-bp): Likewise.
5047 * misc/Makefile [$(build-bounded) = yes]
5048 ($(objpfx)tst-tsearch-bp): Likewise.
5049 * nptl/Makeconfig (bounded-thread-library): Remove variable.
5050 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
5051 Remove dependency.
5052 * string/Makefile (o-objects.ob): Remove variable.
5053 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
5054 (CFLAGS-.ob): Remove variable.
5055 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
5056 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
5057 both definitions of variable.
5058 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
5059 (ASFLAGS-.ob): Remove variable.
5060
e97ed6dd
JM
50612013-02-14 Joseph Myers <joseph@codesourcery.com>
5062
2bdd4ca6
JM
5063 [BZ #13550]
5064 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
5065 Remove __BOUNDED_POINTERS__ from condition.
5066 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
5067 * string/bits/string2.h [!__NO_STRING_INLINES &&
5068 !__BOUNDED_POINTERS__]: Likewise.
5069 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
5070 Likewise.
5071 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
5072 Remove conditional code.
5073 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
5074 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
5075 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
5076 condition.
5077
e97ed6dd
JM
5078 [BZ #13550]
5079 * csu/libc-start.c: Do not include <bp-sym.h>.
5080 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
5081 * elf/dl-open.c: Do not include <bp-sym.h>.
5082 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
5083 * math/fegetenv.c: Do not include <bp-sym.h>.
5084 (fegetenv): Do not use BP_SYM in versioned symbols.
5085 * nptl/sysdeps/pthread/bits/libc-lockP.h
5086 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
5087 <bp-sym.h>.
5088 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5089 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
5090 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5091 (__pthread_mutex_destroy): Likewise.
5092 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5093 (__pthread_mutex_lock): Likewise.
5094 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5095 (__pthread_mutex_trylock): Likewise.
5096 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5097 (__pthread_mutex_unlock): Likewise.
5098 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5099 (__pthread_mutexattr_init): Likewise.
5100 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5101 (__pthread_mutexattr_destroy): Likewise.
5102 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5103 (__pthread_mutexattr_settype): Likewise.
5104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5105 (__pthread_rwlock_init): Likewise.
5106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5107 (__pthread_rwlock_destroy): Likewise.
5108 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5109 (__pthread_rwlock_rdlock): Likewise.
5110 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5111 (__pthread_rwlock_tryrdlock): Likewise.
5112 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5113 (__pthread_rwlock_wrlock): Likewise.
5114 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5115 (__pthread_rwlock_trywrlock): Likewise.
5116 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5117 (__pthread_rwlock_unlock): Likewise.
5118 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5119 (__pthread_key_create): Likewise.
5120 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5121 (__pthread_setspecific): Likewise.
5122 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5123 (__pthread_getspecific): Likewise.
5124 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
5125 Likewise.
5126 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5127 (_pthread_cleanup_push_defer): Likewise.
5128 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5129 (_pthread_cleanup_pop_restore): Likewise.
5130 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5131 (pthread_setcancelstate): Likewise.
5132 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
5133 <bp-sym.h>.
5134 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
5135 (memchr): Do not use BP_SYM in weak_alias.
5136 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
5137 (fegetenv): Do not use BP_SYM in versioned symbols.
5138 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
5139 (fesetenv): Do not use BP_SYM in versioned symbols.
5140 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5141 (feupdateenv): Do not use BP_SYM in versioned symbols.
5142 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5143 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5144 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
5145 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
5146 (open64): Do not use BP_SYM in weak_alias.
5147 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
5148 (fegetenv): Do not use BP_SYM in versioned symbols.
5149 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
5150 (fesetenv): Do not use BP_SYM in versioned symbols.
5151 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5152 (feupdateenv): Do not use BP_SYM in versioned symbols.
5153 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
5154 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
5155 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
5156 (feraiseexcept): Do not use BP_SYM in versioned symbols.
5157 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5158 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5159 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
5160 <bp-sym.h>.
5161 (__libc_start_main): Do not use BP_SYM.
5162
d6752ccd
SP
51632013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5164
cb57ce60
SP
5165 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
5166 redundant return line.
5167 (norm): Likewise.
5168 (denorm): Likewise.
5169 (dbl_mp): Likewise.
5170 (sub_magnitudes): Likewise.
5171 (__add): Likewise.
5172 (__sub): Likewise.
5173 (__mul): Likewise.
5174 (__inv): Likewise.
5175 (__dvd): Likewise.
5176 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
5177 (norm): Likewise.
5178 (denorm): Likewise.
5179 (dbl_mp): Likewise.
5180 (sub_magnitudes): Likewise.
5181 (__add): Likewise.
5182 (__sub): Likewise.
5183 (__mul): Likewise.
5184 (__inv): Likewise.
5185 (__dvd): Likewise.
5186
f414520d
SP
5187 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
5188 instead of __mul.
5189 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5190 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
5191 (cc32): Likewise.
5192
d6752ccd
SP
5193 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
5194 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
5195 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
5196 of __mul for squares.
5197 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
5198 function
5199 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
5200 Likewise.
5201 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
5202 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5203
70d9946a
JM
52042013-02-13 Joseph Myers <joseph@codesourcery.com>
5205
5206 [BZ #13550]
5207 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
5208 code.
5209 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
5210 prototype or function definition. Rename ubp_* variables and
5211 parameters. Remove argv definitions conditional on
5212 [__BOUNDED_POINTERS__].
5213 * debug/backtrace.c (__backtrace): Do not use __unbounded.
5214 * elf/dl-runtime.c (_dl_fixup): Likewise.
5215 * include/set-hooks.h (RUN_HOOK): Likewise.
5216 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
5217 definition.
5218 * string/strcpy.c (strcpy): Do not use __unbounded.
5219 * sysdeps/generic/frame.h (struct layout): Likewise.
5220 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
5221 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
5222 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
5223 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
5224 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
5225 (__backtrace): Likewise.
5226 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
5227 use __ptrvalue.
5228 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5229 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5230 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5231 Likewise.
5232 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
5233 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
5234 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5235 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5236 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
5237 Do not use __unbounded.
5238 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
5239 Rename __unboundedrlimits parameter to rlimits in prototype.
5240 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
5241 Do not use __unbounded.
5242 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
5243 not use __ptrvalue.
5244 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5245 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
5246 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5247 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
5248 __ptrvalue or __unbounded.
5249 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
5250 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
5251 use __unbounded.
5252 (__new_msgctl): Do not use __ptrvalue.
5253 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
5254 __unbounded.
5255 (__libc_msgrcv): Do not use __ptrvalue.
5256 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
5257 startup_info): Do not use __unbounded.
5258 (__libc_start_main): Likewise. Rename ubp_* variables and
5259 parameters. Remove argv definitions conditional on
5260 [__BOUNDED_POINTERS__].
5261 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
5262 __ptrvalue.
5263 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
5264 use __unbounded.
5265 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
5266 or __ptrvalue.
5267 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
5268 use __unbounded.
5269 (__new_shmctl): Do not use __ptrvalue.
5270 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5271 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5272 Likewise.
5273 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5274 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
5275 (__libc_sigaction): Likewise.
5276 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
5277 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
5278 Likewise.
5279 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5280
cc7834d6
OB
52812013-02-13 Ondřej Bílka <neleai@seznam.cz>
5282
ffb1ec7b 5283 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
5284
5285 * string/mempcpy.c: Implement by calling memcpy.
5286
bdf02814
SP
52872013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5288
c2af38aa
SP
5289 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
5290
4e92d59e
SP
5291 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
5292 evaluation.
5293
909279a5
SP
5294 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
5295 values in the mantissa.
5296
bdf02814
SP
5297 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
5298 minimize writes to Z.
5299 (sub_magnitudes): Simplify code a bit.
5300
cd525923
RM
53012013-02-12 Roland McGrath <roland@hack.frob.com>
5302
5303 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
5304 from the message. The linker prefixes all warnings with that already.
5305
7e2f0d2d
AS
53062013-02-12 Andreas Schwab <schwab@suse.de>
5307
a445af0b
AS
5308 [BZ #15078]
5309 * posix/regexec.c (extend_buffers): Add parameter min_len.
5310 (check_matching): Pass minimum needed length.
5311 (clean_state_log_if_needed): Likewise.
5312 (get_subexp): Likewise.
5313 * posix/Makefile (tests): Add bug-regex34.
5314 (bug-regex34-ENV): Define.
5315 * posix/bug-regex34.c: New file.
5316
7e2f0d2d
AS
5317 [BZ #11561]
5318 * posix/regcomp.c (parse_bracket_exp): When looking up collating
5319 elements compare against the byte sequence of it, not its name.
5320 * posix/Makefile (tests): Add bug-regex35.
5321 (bug-regex35-ENV): Define.
5322 * posix/bug-regex35.c: New file.
5323
a175b684
TV
53242013-02-11 Tom de Vries <tom@codesourcery.com>
5325
5326 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
5327 comment.
5328 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
5329 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
5330 (CHECK_EOL): Add undef.
5331
310998fe 53322013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
5333
5334 * bits/stdlib-bsearch.h: New file.
5335 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 5336 * stdlib/stdlib.h: Likewise.
41eda41d 5337
8ded91fb
RM
53382013-02-11 Roland McGrath <roland@hack.frob.com>
5339
5340 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
5341 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
5342 declaration.
5343 * manual/search.texi (Array Search Function): Add missing const in
5344 lfind prototype.
5345 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
5346 declaration to use rlim_t.
5347 (Basic Scheduling Functions): Remove erroneous const from
5348 sched_getparam prototype. Remove erroneous * from
5349 sched_get_priority_max and sched_get_priority_min prototypes.
5350 (Resource Usage): Fix summary @comment on vtimes to refer to
5351 sys/vtimes.h rather than vtimes.h.
5352 Add missing *s in vtimes prototype.
5353 (Limits on Resources): Fix ulimit prototype to return long int.
5354 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
5355 prototypes to use long int rather than double.
5356 (BSD Random): Fix initstate and setstate to use char *, not void *.
5357 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
5358 prototype to make second argument 'struct aiocb64 *const[]'.
5359 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
5360 (Status of AIO Operations): Remove erroneous const in aio_return and
5361 aio_return64 prototypes.
5362 (Synchronizing I/O): Fix sync prototype to return void.
5363 * manual/startup.texi (Suboptions): Remove an erroneous const in
5364 getsubopt prototype.
5365 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
5366 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
5367 use size_t rather than int.
5368 (Scanning All Users): Likewise for getpwent_r.
5369 (Setting Groups): Add missing const to setgroups prototype.
5370 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
5371 * manual/socket.texi (Host Names): Fix gethostbyaddr and
5372 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
5373 'const void *' rather than 'const char *'.
5374 (Host Address Functions): Likewise for inet_ntop.
5375 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
5376 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
5377 ssize_t for return value.
5378 (Sending Data): Likewise for send, sendto, sendmsg.
5379 (Socket Option Functions): Add a missing const in setsockopt prototype.
5380 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
5381 use wchar_t for the argument.
5382 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
5383 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
5384 take no arguments.
5385 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
5386 double/float/long double for second argument.
5387 Fix return types of significand, significandf, significandl.
5388 * manual/filesys.texi (Setting Permissions): Use mode_t for second
5389 argument in fchmod prototype.
5390 (File Owner): Use uid_t and gid_t in fchown prototype.
5391 (File Times): Add const to utimes, futimes, and lutimes prototypes.
5392 (Making Special Files): Use mode_t and dev_t in mknod prototype.
5393 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
5394 use 'const struct dirent **' as argument types to CMP function pointer
5395 argument.
5396 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
5397 (File Times): Fix summary magic @comment for struct utimbuf and utime
5398 to refer to utime.h, not time.h.
5399 * manual/string.texi (Argz Functions): Add missing const in
5400 argz_extract and argz_next prototypes.
5401 (Finding Tokens in a String): Likewise for basename.
5402 (String/Array Comparison): Fix typo in wcscasecmp prototype.
5403 (Copying and Concatenation): Fix typo in wmemmove prototype.
5404 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
5405 (Signal Stack): Remove erroneous const in sigstack prototype.
5406 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
5407 prototype.
5408 (Simple Calendar Time): Likewise for stime.
5409 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
5410 prototype.
5411 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
5412 say sys/sysctl.h instead.
5413 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
5414 and vsyslog prototypes.
5415
fe77fe6d
TV
54162013-02-11 Tom de Vries <tom@codesourcery.com>
5417
5418 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
5419 Remove.
5420
3a09b620
RM
54212013-02-11 Roland McGrath <roland@hack.frob.com>
5422
5423 * misc/sys/mman.h: Fix typo in mremap comment.
5424
550a0b89
RM
54252013-02-08 Roland McGrath <roland@hack.frob.com>
5426
5427 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
5428 the '\0' terminator.
5429
a2da1673
JM
54302013-02-08 Joseph Myers <joseph@codesourcery.com>
5431
5432 [BZ #13550]
5433 * debug/segfault.c: Don't include <bp-checks.h>.
5434 * sysdeps/generic/bp-checks.h: Remove file.
5435 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
5436 (__GETDENTS): Don't use CHECK_N.
5437 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
5438 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5439 (__getgroups): Don't use CHECK_N.
5440 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5441 (setgroups): Don't use CHECK_N.
5442 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
5443 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
5444 (__libc_msgrcv): Don't use CHECK_N.
5445 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
5446 (__libc_msgsnd): Don't use CHECK_N.
5447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
5448 <bp-checks.h>.
5449 (__libc_pread): Don't use CHECK_N.
5450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
5451 include <bp-checks.h>.
5452 (__libc_pread64): Don't use CHECK_N.
5453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
5454 include <bp-checks.h>.
5455 (__libc_pwrite): Don't use CHECK_N.
5456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
5457 include <bp-checks.h>.
5458 (__libc_pwrite64): Don't use CHECK_N.
5459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
5460 <bp-checks.h>.
5461 (__libc_pread): Don't use CHECK_N.
5462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
5463 include <bp-checks.h>.
5464 (__libc_pread64): Don't use CHECK_N.
5465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
5466 include <bp-checks.h>.
5467 (__libc_pwrite): Don't use CHECK_N.
5468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
5469 include <bp-checks.h>.
5470 (__libc_pwrite64): Don't use CHECK_N.
5471 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
5472 (do_pread): Don't use CHECK_N.
5473 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
5474 (do_pread64): Don't use CHECK_N.
5475 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
5476 (do_pwrite): Don't use CHECK_N.
5477 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
5478 (do_pwrite64): Don't use CHECK_N.
5479 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
5480 (__libc_readv): Don't use CHECK_N.
5481 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
5482 (semop): Don't use CHECK_N.
5483 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
5484 <bp-checks.h>.
5485 (semtimedop): Don't use CHECK_N.
5486 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
5487 (__libc_pread): Don't use CHECK_N.
5488 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
5489 <bp-checks.h>.
5490 (__libc_pread64): Don't use CHECK_N.
5491 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
5492 <bp-checks.h>.
5493 (__libc_pwrite): Don't use CHECK_N.
5494 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
5495 <bp-checks.h>.
5496 (__libc_pwrite64): Don't use CHECK_N.
5497 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
5498 <bp-checks.h>.
5499 (__libc_msgrcv): Don't use CHECK_N.
5500 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
5501 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
5502 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
5503 (__libc_writev): Don't use CHECK_N.
5504
b84660a8
RM
55052013-02-08 Roland McGrath <roland@hack.frob.com>
5506
7f3e75f8
RM
5507 * string/strcpy.c: Removed unused variable.
5508
b84660a8
RM
5509 * Makeconfig (+sysdep-includes): Define with := rather than =.
5510 Use an existing include/ subdir of each sysdeps dir before it.
5511
471514d3
CD
55122013-02-08 Carlos O'Donell <carlos@redhat.com>
5513
5514 * nscd/connection.c (register_traced_file): Comment function.
5515 [HAVE_INOTIFY] (union __inev): Define.
5516 [HAVE_INOTIFY] (inotify_check_files): New function.
5517 [HAVE_INOTIFY] (clear_db_cache): Likewise.
5518 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
5519 clear_db_cache.
5520 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
5521
b2d3c3be
CD
55222013-02-08 Carlos O'Donell <carlos@redhat.com>
5523
5524 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
5525 loaded if not already and that a failure is permanent.
5526
b39949d2
CD
55272013-02-08 Carlos O'Donell <carlos@redhat.com>
5528
ddacd1db 5529 [BZ #15006]
b39949d2
CD
5530 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
5531 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
5532
b2c9eff4
JM
55332013-02-08 Joseph Myers <joseph@codesourcery.com>
5534
f3aae3f3
JM
5535 [BZ #13550]
5536 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
5537 (CHECK_1_NULL_OK): Likewise.
5538 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
5539 (__fxstat): Do not use CHECK_1.
5540 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5541 <bp-checks.h>.
5542 (___fxstat64): Do not use CHECK_1.
5543 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5544 <bp-checks.h>.
5545 (__fxstatat): Do not use CHECK_1.
5546 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5547 <bp-checks.h>.
5548 (__fxstatat64): Do not use CHECK_1.
5549 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
5550 <bp-checks.h>.
5551 (__fxstat): Do not use CHECK_1.
5552 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5553 <bp-checks.h>.
5554 (__fxstatat): Do not use CHECK_1.
5555 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5556 <bp-checks.h>.
5557 (__getresgid): Do not use CHECK_1.
5558 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5559 <bp-checks.h>.
5560 (__getresuid): Do not use CHECK_1.
5561 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
5562 <bp-checks.h>.
5563 (__lxstat): Do not use CHECK_1.
5564 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5565 <bp-checks.h>.
5566 (__old_msgctl): Do not use CHECK_1.
5567 (__new_msgctl): Likewise.
5568 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
5569 <bp-checks.h>.
5570 (__new_setrlimit): Do not use CHECK_1.
5571 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5572 <bp-checks.h>.
5573 (__old_shmctl): Do not use CHECK_1.
5574 (__new_shmctl): Likewise.
5575 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
5576 <bp-checks.h>.
5577 (__xstat): Do not use CHECK_1.
5578 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
5579 (__lxstat): Do not use CHECK_1.
5580 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5581 <bp-checks.h>.
5582 (___lxstat64): Do not use CHECK_1.
5583 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
5584 (__old_msgctl): Do not use CHECK_1.
5585 (__new_msgctl): Likewise.
5586 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
5587 <bp-checks.h>.
5588 (__gettimeofday): Do not use CHECK_1.
5589 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
5590 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
5591 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
5592 <bp-checks.h>.
5593 (__gettimeofday): Do not use CHECK_1.
5594 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
5595 (__old_shmctl): Do not use CHECK_1_NULL_OK.
5596 (__new_shmctl): Do not use CHECK_1.
5597 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
5598 <bp-checks.h>.
5599 (do_sigtimedwait): Do not use CHECK_1.
5600 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
5601 <bp-checks.h>.
5602 (do_sigwaitinfo): Do not use CHECK_1.
5603 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
5604 <bp-checks.h>.
5605 (msgctl): Do not use CHECK_1.
5606 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
5607 <bp-checks.h>.
5608 (shmctl): Do not use CHECK_1.
5609 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
5610 (ustat): Do not use CHECK_1.
5611 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
5612 <bp-checks.h>.
5613 (__fxstat): Do not use CHECK_1.
5614 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5615 <bp-checks.h>.
5616 (__fxstatat): Do not use CHECK_1.
5617 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
5618 <bp-checks.h>.
5619 (__lxstat): Do not use CHECK_1.
5620 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
5621 <bp-checks.h>.
5622 (__xstat): Do not use CHECK_1.
5623 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
5624 (__xstat): Do not use CHECK_1.
5625 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
5626 (___xstat64): Do not use CHECK_1.
5627
b2c9eff4
JM
5628 [BZ #13550]
5629 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
5630 definitions.
5631 (CHECK_BOUNDS_HIGH): Likewise.
5632 * string/strcpy.c: Do not include <bp-checks.h>.
5633 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
5634
f1d70dad
RM
56352013-02-07 Roland McGrath <roland@hack.frob.com>
5636
5637 * nscd/nscd-client.h (__nscd_drop_map_ref):
5638 Add __attribute__ ((unused)).
5639 * nis/nss-nisplus.h (niserr2nss): Likewise.
5640
5641 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
5642 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
5643
5644 * csu/libc-tls.c (init_static_tls, init_slotinfo):
5645 Remove inline keyword.
5646 * include/rounding-mode.h (round_away): Likewise.
5647 * libio/wfileops.c (adjust_wide_data): Likewise.
5648 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
5649 (__m128i_strloadu_tolower): Likewise.
5650 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
5651 (__m128i_strloadu_tolower): Likewise.
5652 * time/mktime.c (ydhms_diff): Likewise.
5653 * locale/elem-hash.h (elem_hash): Likewise.
5654 * locale/setlocale.c (setdata): Likewise.
5655 * posix/regex_internal.h (re_string_char_size_at): Likewise.
5656 (re_string_wchar_at): Likewise.
5657 (bitset_not, bitset_merge, bitset_mask): Likewise.
5658 [!(__GNUC__ > 3)] (inline): Remove macro.
5659 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
5660 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
5661 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5662 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
5663 * string/memcmp.c (memcmp_bytes): Likewise.
5664 * locale/programs/locarchive.c (compute_hashval): Likewise.
5665 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
5666 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
5667 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
5668 * nss/getent.c (print_rpc, print_protocols): Likewise.
5669 (print_passwd, print_group, print_aliases): Likewise.
5670 * nis/nss-nisplus.h (niserr2nss): Likewise.
5671 * nscd/connections.c (restart_p): Likewise.
5672 Change return type to bool.
5673
eab55bfb
RM
56742013-02-05 Roland McGrath <roland@hack.frob.com>
5675
7bd642f5
RM
5676 * Makeconfig (all-Depend-files): Add existing
5677 $(sorted-subdirs:=/Depend) files.
5678 (all-subdirs): Remove nss.
5679 * sysdeps/unix/inet/Subdirs: Add it here instead.
5680 * hesiod/Depend: New file.
5681
573c29b2
RM
5682 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
5683 instead of calling alloca.
5684
b2e25af0
RM
5685 * io/lseek.c (__lseek): Rename to __libc_lseek.
5686 Define __lseek as an alias.
5687
eab55bfb
RM
5688 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
5689
9a0d1941
CD
56902013-02-04 Carlos O'Donell <carlos@redhat.com>
5691
5692 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
5693 else clause and remove check for non-standard endianness.
5694
b83bbec4
DM
56952013-02-04 David S. Miller <davem@davemloft.net>
5696
5697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5698
6277fdab
JM
56992013-02-04 Joseph Myers <joseph@codesourcery.com>
5700
5701 [BZ #13550]
5702 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
5703 (__ubp_memchr): Remove prototype.
5704 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
5705 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5706 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
5707 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5708 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
5709 Remove alias.
5710 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
5711 (__ubp_memchr): Likewise.
5712 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
5713 (__ubp_memchr): Likewise.
5714 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
5715 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
5716 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
5717 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
5718 CHECK_STRING.
5719 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5720 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
5721 (__getcwd): Do not use CHECK_STRING.
5722 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5723 <bp-checks.h>.
5724 (__real_chown): Do not use CHECK_STRING.
5725 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
5726 <bp-checks.h>.
5727 (fchownat): Do not use CHECK_STRING.
5728 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
5729 CHECK_STRING.
5730 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5731 <bp-checks.h>.
5732 (__lchown): Do not use CHECK_STRING.
5733 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5734 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5735 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5736 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5738 include <bp-checks.h>.
5739 (truncate64): Do not use CHECK_STRING.
5740 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5741 <bp-checks.h>.
5742 (__real_chown): Do not use CHECK_STRING.
5743 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5744 <bp-checks.h>.
5745 (__lchown): Do not use CHECK_STRING.
5746 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5747 <bp-checks.h>.
5748 (__chown): Do not use CHECK_STRING.
5749 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
5750 <bp-checks.h>.
5751 (truncate64): Do not use CHECK_STRING.
5752 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
5753 Likewise.
5754 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
5755 (__xmknod): Do not use CHECK_STRING.
5756 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5757 <bp-checks.h>.
5758 (__xmknodat): Do not use CHECK_STRING.
5759 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5760 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5761
903ae060
AS
57622013-02-04 Andreas Schwab <schwab@suse.de>
5763
5764 [BZ #14142]
5765 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
5766 * include/netdb.h: Likewise for h_errno.
5767 * elf/tst-stackguard1.c: Include <tls.h>.
5768
542f9466
JK
57692013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5770
5771 * elf/link.h (struct link_map): Extend the l_addr comment.
5772 * include/link.h (struct link_map): Likewise.
5773
e782a927
JM
57742013-02-01 Joseph Myers <joseph@codesourcery.com>
5775
5776 [BZ #13550]
5777 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
5778 (BOUNDED_1): Remove macro.
5779 * debug/backtrace.c: Don't include <bp-checks.h>.
5780 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
5781 (__backtrace): Likewise.
5782 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
5783 <bp-checks.h>.
5784 (__backtrace): Don't use BOUNDED_1.
5785 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
5786 <bp-checks.h>.
5787 (__backtrace): Don't use BOUNDED_1.
5788 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
5789 (__backtrace): Don't use BOUNDED_1.
5790 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
5791 (shmat): Don't use BOUNDED_N.
5792
8cf28c5e
JM
57932013-01-31 Joseph Myers <joseph@codesourcery.com>
5794
3a7ac8a0
JM
5795 [BZ #13550]
5796 * sysdeps/generic/bp-start.h: Remove file.
5797 * csu/libc-start.c: Don't include <bp-start.h>.
5798 (LIBC_START_MAIN): Set up __environ directly instead of using
5799 INIT_ARGV_and_ENVIRON.
5800 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
5801 <bp-start.h>.
5802
f3499f95
JM
5803 [BZ #13550]
5804 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
5805 definitions.
5806 (CHECK_FCNTL): Likewise.
5807 (CHECK_N_PAGES): Likewise.
5808
32a45bea
JM
5809 [BZ #13550]
5810 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
5811 definitions.
5812 (CHECK_SIGSET_NULL_OK): Likewise.
5813 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
5814 <bp-checks.h>.
5815 (sigpending): Don't use CHECK_SIGSET.
5816 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
5817 <bp-checks.h>.
5818 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5819 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
5820 <bp-checks.h>.
5821 (do_sigsuspend): Don't use CHECK_SIGSET.
5822 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
5823 use CHECK_SIGSET.
5824 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
5825 (do_sigwait): Don't use CHECK_SIGSET.
5826 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
5827 use CHECK_SIGSET.
5828 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
5829 include <bp-checks.h>.
5830 (sigpending): Don't use CHECK_SIGSET.
5831 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
5832 include <bp-checks.h>.
5833 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5834 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
5835 <bp-checks.h>.
5836 (sigpending): Don't use CHECK_SIGSET.
5837 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
5838 <bp-checks.h>.
5839 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5840
2e8a5c8c
JM
5841 [BZ #13550]
5842 * sysdeps/generic/bp-semctl.h: Remove file.
5843 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
5844 <bp-checks.h> and <bp-semctl.h>.
5845 (__old_semctl): Don't use CHECK_SEMCTL.
5846 (__new_semctl): Likewise.
5847 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
5848 and <bp-semctl.h>.
5849 (__old_semctl): Don't use CHECK_SEMCTL.
5850 (__new_semctl): Likewise.
5851 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
5852 <bp-checks.h> and <bp-semctl.h>.
5853 (__old_semctl): Don't use CHECK_SEMCTL.
5854 (__new_semctl): Likewise.
5855 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
5856 <bp-checks.h> and <bp-semctl.h>.
5857 (semctl): Don't use CHECK_SEMCTL.
5858
c2d54929
JM
5859 [BZ #13550]
5860 * Makerules (elide-bp-thunks): Remove variable.
5861 (elide-routines.oS): Don't use $(elide-bp-thunks).
5862 (elide-routines.os): Likewise.
5863 (elide-routines.o): Likewise.
5864 (elide-routines.op): Likewise.
5865 (elide-routines.og): Likewise.
5866 (objects): Don't use $(bp-thunks).
5867 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
5868 include.
5869 (common-generated): Do not add s-proto-bp.d.
5870 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
5871 (int): Likewise.
5872 (typ): Likewise.
5873 Do not generate makefile rules for bounded-pointer thunks.
5874 * sysdeps/generic/bp-thunks.h: Remove file.
5875 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
5876 * sysdeps/unix/s-proto-bp.S: Likewise.
5877
8cf28c5e
JM
5878 [BZ #15062]
5879 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
5880 parts of result separately when argument is not close to line from
5881 -i to i and one part of argument is small.
5882 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5883 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5884 * math/libm-test.inc (cacos_test): Add more tests.
5885 (casin_test): Likewise.
5886 (casinh_test): Likewise.
5887 * sysdeps/i386/fpu/libm-test-ulps: Update.
5888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5889
c4e33b8d
DM
58902013-01-31 David S. Miller <davem@davemloft.net>
5891
5892 * po/de.po: Update from translation team.
5893
3b60b421
MK
58942013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
5895
5896 * time/tzfile.c: Include stdint.h for SIZE_MAX.
5897
bb931195
TS
58982013-01-25 Thomas Schwinge <thomas@codesourcery.com>
5899
b5a5da23
TS
5900 * configure.in (_AC_PROG_CC_C89): New definition.
5901 * configure: Regenerate.
5902
bb931195
TS
5903 * configure.in (AC_PROG_CPP): New definition.
5904 * configure: Regenerate.
5905
8c53a12c
JM
59062013-01-23 Joseph Myers <joseph@codesourcery.com>
5907
5908 * debug/tst-backtrace.h: New file.
5909 * debug/tst-backtrace2.c: Include tst-backtrace.h.
5910 (ret): Remove variable.
5911 (x): Likewise.
5912 (FAIL): Remove macro.
5913 (NO_INLINE): Likewise.
5914 (fn1): Use match function instead of strstr.
5915 * debug/tst-backtrace3.c: Include tst-backtrace.h.
5916 (ret): Remove variable.
5917 (x): Likewise.
5918 (FAIL): Remove macro.
5919 (NO_INLINE): Likewise.
5920 (fn): Use match function instead of strstr.
5921 * debug/tst-backtrace4.c: Include tst-backtrace.h.
5922 (ret): Remove variable.
5923 (x): Likewise.
5924 (FAIL): Remove macro.
5925 (NO_INLINE): Likewise.
5926 (handle_signal): Use match function instead of strstr.
5927 * debug/tst-backtrace5.c: Include tst-backtrace.h.
5928 (ret): Remove variable.
5929 (x): Likewise.
5930 (FAIL): Remove macro.
5931 (NO_INLINE): Likewise.
5932 (handle_signal): Use match function instead of strstr.
5933
4858fa2a
RM
59342013-01-23 Roland McGrath <roland@hack.frob.com>
5935
5936 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
5937
bae8e7f5
DM
59382013-01-23 David S. Miller <davem@davemloft.net>
5939
5940 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
5941 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
5942 argument of CAS if possible.
5943 * sysdeps/sparc/sparc64/bits/atomic.h
5944 (__arch_compare_and_exchange_val_32_acq): Likewise.
5945 (__arch_compare_and_exchange_val_64_acq): Likewise.
5946
9cbbc4ae
PT
59472013-01-23 Pino Toscano <toscano.pino@tiscali.it>
5948
5949 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
5950 * sysdeps/posix/ulimit.c: ... this.
92a601b8 5951 Include <limits.h>.
67b3f58c 5952 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 5953
5655a0b5
AC
59542013-01-23 Adam Conrad <adconrad@0c3.net>
5955
5956 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
5957 (LDFLAGS-tst-array5): Likewise.
5958
052aff95
JM
59592013-01-23 Joseph Myers <joseph@codesourcery.com>
5960
5961 [BZ #15036]
5962 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
5963 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
5964 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
5965 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
5966
7c1e01aa
DM
59672013-01-21 David S. Miller <davem@davemloft.net>
5968
5969 * sysdeps/sparc/backtrace.c: New file.
5970 * sysdeps/sparc/sparc32/backtrace.h: New file.
5971 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
5972 * sysdeps/sparc/sparc64/backtrace.h: New file.
5973 * sysdeps/sparc/sparc64/backtrace.c: Delete.
5974 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
5975 -funwind-tables.
5976
ab087e0a
AS
59772013-01-21 Andreas Schwab <schwab@suse.de>
5978
5979 [BZ #15020]
5980 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
5981 closed its stdout.
5982
ed689c2f
AS
59832013-01-20 Andreas Schwab <schwab@linux-m68k.org>
5984
5985 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
5986 "mpa2.h".
5987 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5988
31d470ac
JM
59892013-01-18 Joseph Myers <joseph@codesourcery.com>
5990 Mark Mitchell <mark@codesourcery.com>
5991 Tom de Vries <tom@codesourcery.com>
5992 Paul Pluzhnikov <ppluzhnikov@google.com>
5993
5994 * debug/tst-backtrace2.c: New file.
5995 * debug/tst-backtrace3.c: Likewise.
5996 * debug/tst-backtrace4.c: Likewise.
5997 * debug/tst-backtrace5.c: Likewise.
5998 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
5999 (CFLAGS-tst-backtrace3.c): Likewise.
6000 (CFLAGS-tst-backtrace4.c): Likewise.
6001 (CFLAGS-tst-backtrace5.c): Likewise.
6002 (LDFLAGS-tst-backtrace2): Likewise.
6003 (LDFLAGS-tst-backtrace3): Likewise.
6004 (LDFLAGS-tst-backtrace4): Likewise.
6005 (LDFLAGS-tst-backtrace5): Likewise.
6006 (tests): Add new tests tst-backtrace2, tst-backtrace3,
6007 tst-backtrace4 and tst-backtrace5.
6008
90567f30 60092013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
6010 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6011
6012 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
6013 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
6014 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
6015 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
6016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6017 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
6018 "+r" and remove output regs list as redundant. Add explicit inline
6019 asm to specify register of return val to work around compiler codegen
6020 bug. Remove (int) cast on return value. Add return type parameter to
6021 use in macro so that this macro does not truncate return value for
6022 64-bit values.
6023 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
6024 pass to INTERNAL_VSYSCALL_NCS.
6025 (INLINE_VSYSCALL): Add 'long int' as return type to
6026 INTERNAL_VSYSCALL_NCS macro invocation.
6027 (INTERNAL_VSYSCALL): Add 'long int' as return type to
6028 INTERNAL_VSYSCALL_NCS macro invocation.
6029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6030
d3b9ea61
SP
60312013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6032
0b57daeb
SP
6033 [BZ #14496]
6034 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
6035 Fix application of SIMD FP exception mask.
6036
caa99d06
SP
6037 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
6038 mp_no from a power of two.
6039 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
6040 __mpexp_twomm1. Use __pow_mp.
6041
d3b9ea61
SP
6042 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
6043 multiplication.
6044
1dbaee3c
DM
60452013-01-17 David S. Miller <davem@davemloft.net>
6046
6047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6048
728d7b43
JM
60492013-01-17 Joseph Myers <joseph@codesourcery.com>
6050
6051 [BZ #15023]
6052 * include/complex.h: Condition contents on [!_COMPLEX_H].
6053 (__kernel_casinhf): New prototype.
6054 (__kernel_casinh): Likewise.
6055 (__kernel_casinhl): Likewise.
6056 * math/Makefile (libm_calls): Add k_casinh.
6057 * math/k_casinh.c: New file.
6058 * math/k_casinhf.c: Likewise.
6059 * math/k_casinhl.c: Likewise.
6060 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
6061 finite nonzero arguments.
6062 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
6063 finite nonzero arguments.
6064 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
6065 finite nonzero arguments.
6066 * math/s_casinh.c: Do not include <float.h>.
6067 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
6068 * math/s_casinhf.c: Do not include <float.h>.
6069 (__casinhf): Move code for finite nonzero arguments to
6070 k_casinhf.c.
6071 * math/s_casinhl.c: Do not include <float.h>.
6072 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
6073 redefine.
6074 (__casinhl): Move code for finite nonzero arguments to
6075 k_casinhl.c.
6076 * math/libm-test.inc (cacos_test): Add more tests.
6077 * sysdeps/i386/fpu/libm-test-ulps: Update.
6078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6079
2a26ef3a
PT
60802013-01-17 Pino Toscano <toscano.pino@tiscali.it>
6081
6082 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
6083 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
6084 [!HAVE_MREMAP]: Remove [defined linux] case.
6085 * malloc/arena.c: Do not include <malloc-sysdep.h>.
6086
a897655d
SP
60872013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6088
6089 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
6090
881ebe89 60912013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
6092
6093 * elf/elf.h (R_386_SIZE32): New relocation.
6094 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
6095 R_386_SIZE32.
6096 (elf_machine_rela): Likewise.
6097 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6098 R_X86_64_SIZE64 and R_X86_64_SIZE32.
6099
59981e9b
JM
61002013-01-17 Joseph Myers <joseph@codesourcery.com>
6101
6102 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
6103 (FP_FAST_FMA): Do not define.
6104 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
6105 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
6106 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
6107 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
6108 !_SOFT_FLOAT]: Likewise.
6109 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
6110 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
6111 value.
6112 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
6113 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
6114 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
6115 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
6116 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
6117 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
6118 file.
6119
cfa8054f
AS
61202013-01-16 Andreas Schwab <schwab@suse.de>
6121
6122 [BZ #14327]
6123 * include/stdlib.h (__mktemp): Add declaration.
6124 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
6125 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
6126
dd930cc5
SP
61272013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6128
881ebe89
SP
6129 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
6130 definitions.
6131 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6132 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
6133 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
6134 definitions here.
6135 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
6136 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
6137 definitions.
6138 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
6139 and ONE.
6140 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
6141 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
6142 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
6143 definitions.
6144 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
6145 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
6146 definitions.
6147 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 6148
dd930cc5
SP
6149 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
6150
c19a9f89
DM
61512013-01-15 David S. Miller <davem@davemloft.net>
6152
1aa61767
DM
6153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6154 trunc{,f} to libm-sysdep_routes.
6155 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
6157 file.
6158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
6159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
6160 file.
6161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
6162 file.
6163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
6164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
6165 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
6166 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
6167 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
6168 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
6169 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
6170 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
6171
c42d5e98
DM
6172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6173 nearbyint{,f} to libm-sysdep_routes.
6174 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
6176 New file.
6177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
6178 file.
6179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
6180 New file.
6181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
6182 file.
6183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
6184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
6185 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
6186 file.
6187 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
6188 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
6189 file.
6190 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
6191 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
6192 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
6193
c19a9f89
DM
6194 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6195 libc_feholdexcept and libc_fesetenv.
6196
357679d2
MF
61972013-01-15 Mike Frysinger <vapier@gentoo.org>
6198
6199 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
6200
65a82e3d
DM
62012013-01-14 David S. Miller <davem@davemloft.net>
6202
8b954ab9
DM
6203 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
6204 (SPARC_ASM_VIS2_IFUNC): Likewise.
6205 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
6206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
6207 use of 'siam' instruction.
6208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
6209 Likewise.
6210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
6211 Likewise.
6212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
6213 Likewise.
6214 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
6215 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6216 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
6217 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
6218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
6219 file.
6220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
6221 file.
6222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
6223 file.
6224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
6225 file.
6226 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
6227 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
6228 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
6229 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
6230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
6231 new VIS2 routines.
6232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6235 Likewise.
6236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6237 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6238 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6239 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
6241 routines to libm-sysdep_routines.
6242 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6243
65a82e3d
DM
6244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6245 fdim/fdimf to libm-sysdep_routines.
6246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
6247 file.
6248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
6249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
6250 file.
6251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
6252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
6253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
6254 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
6255 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
6256 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
6257 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
6258
e34ab705
SP
62592013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6260
2a91b573
SP
6261 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
6262 to optimize copies.
6263
1066a534
SP
6264 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
6265 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6266 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6267
e34ab705
SP
6268 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
6269 local variable MPTWO.
6270 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6271 Likewise.
6272
aba5e596
MF
62732013-01-13 Mike Frysinger <vapier@gentoo.org>
6274
6275 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
6276 GLOB_NOESCAPE.
6277
e557e9e5
MF
62782013-01-13 Mike Frysinger <vapier@gentoo.org>
6279
6280 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
6281
0428cec9
MF
62822013-01-13 Mike Frysinger <vapier@gentoo.org>
6283
6284 * manual/pattern.texi (glob_t): Document gl_flags.
6285 (glob64_t): Likewise.
6286
8794a964
DM
62872013-01-11 David S. Miller <davem@davemloft.net>
6288
66438c3f
RM
6289 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
6290 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
6291 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
6292 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
6293 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
6294 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
6295 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
6296 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
6297 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
6298 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
6299 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
6300 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
6301 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
6302
4ae4244d
DM
6303 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6304 sparc V9 rather than using V8 code.
6305 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6306 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6307
8794a964
DM
6308 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6309 Move to...
6310 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
6311 Here.
6312
6270516e
RM
63132013-01-11 Roland McGrath <roland@hack.frob.com>
6314
6315 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
6316 not in the main loop.
6317 * configure: Regenerated.
6318
6a57d931
JM
63192013-01-11 Joseph Myers <joseph@codesourcery.com>
6320
6321 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
6322 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
6323 to just #else.
6324 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
6325 [!__GLIBC_HAVE_LONG_LONG] case.
6326 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
6327 condition to just #else.
6328 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
6329 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
6330 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
6331 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
6332 unconditional.
6333 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
6334 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6335 #elif condition to just #else.
6336 * sysdeps/unix/sysv/linux/sys/sysmacros.h
6337 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
6338 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6339 #elif condition to just #else.
6340
0e8529e9
SE
63412013-01-11 Steve Ellcey <sellcey@mips.com>
6342
6343 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
6344 (EF_MIPS_ARCH_64): Fix value.
6345 (EF_MIPS_ARCH_32R2): New.
6346 (EF_MIPS_ARCH_64R2): New.
6347
740b3dbe
L
63482013-01-11 H.J. Lu <hongjiu.lu@intel.com>
6349
6350 * Makeconfig (+link-pie-before-libc): New.
6351 (+link-pie-after-libc): Likewise.
6352 (+link-pie-tests): Likewise.
6353 (+link-pie): Rewritten.
6354 (link-before-libc): Remove $(config-LDFLAGS).
6355 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
6356 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
6357 (config-LDFLAGS): Renamed to ...
6358 (rtld-LDFLAGS): This.
6359 (rtld-tests-LDFLAGS): New macro.
6360 (link-libc-rpath-link): Likewise.
6361 (link-libc-tests-rpath-link): Likewise.
6362 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
6363 (link-libc): Prepand $(link-libc-rpath-link).
6364 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
6365 (test-program-prefix): New macro.
6366 (test-via-rtld-prefix): Likewise.
6367 (test-program-cmd): Likewise.
6368 (host-test-program-cmd): Likewise.
6369 * Makefile ($(common-objpfx)testrun.sh): Replace
6370 $(run-program-prefix) with $(test-program-prefix).
6371 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
6372 $(rtld-LDFLAGS).
6373 ($(common-objpfx)shlib.lds): Likewise.
6374 (build-module-helper): Likewise.
6375 ($(common-objpfx)format.lds): Likewise.
6376 * Rules (binaries-pie-tests): New.
6377 (binaries-pie-notests): Likewise.
6378 (binaries-pie): Rewritten.
6379 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
6380 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
6381 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
6382 (make-test-out): Replace $(host-built-program-cmd) with
6383 $(host-test-program-cmd).
6384 * config.make.in (build-hardcoded-path-in-tests): New variable.
6385 * configure.in (--enable-hardcoded-path-in-tests): New configure
6386 option.
6387 (hardcoded_path_in_tests): New AC_SUBST.
6388 * configure: Regenerated.
6389 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
6390 $(built-program-cmd) with $(test-program-cmd).
6391 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
6392 (test_program_cmd): This.
6393 * elf/Makefile ($(objpfx)order.out): Run test with
6394 $(test-program-prefix).
6395 ($(objpfx)order2.out): Likewise.
6396 ($(objpfx)tst-initorder.out): Likewise.
6397 ($(objpfx)tst-initorder2.out): Likewise.
6398 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
6399 $(test-program-cmd).
6400 ($(objpfx)tst-array1-static.out): Likewise.
6401 ($(objpfx)tst-array2.out): Likewise.
6402 ($(objpfx)tst-array3.out): Likewise.
6403 ($(objpfx)tst-array4.out): Likewise.
6404 ($(objpfx)tst-array5.out): Likewise.
6405 ($(objpfx)tst-array5-static.out): Likewise.
6406 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
6407 $(test-program-cmd).
6408 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
6409 $(run-program-prefix) with $(test-program-prefix).
6410 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
6411 (test_program_prefix): This.
6412 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
6413 $(run-program-prefix) with $(test-program-prefix).
6414 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
6415 (test_program_prefix): This.
6416 * iconvdata/tst-tables.sh: Likewise.
6417 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
6418 $(run-program-prefix) with $(test-program-prefix).
6419 ($(objpfx)tst-translit.out): Likewise.
6420 ($(objpfx)tst-gettext2.out): Likewise.
6421 ($(objpfx)tst-gettext4.out): Likewise.
6422 ($(objpfx)tst-gettext6.out): Likewise.
6423 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
6424 (test_program_prefix): This.
6425 * intl/tst-gettext2.sh: Likewise.
6426 * intl/tst-gettext4.sh Likewise.
6427 * intl/tst-gettext6.sh: Likewise.
6428 * intl/tst-translit.sh: Likewise.
6429 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
6430 with $(test-program-cmd).
6431 * libio/Makefile ($(objpfx)test-freopen.out): Replace
6432 $(run-program-prefix) with $(test-program-prefix).
6433 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
6434 (test_program_prefix): This.
6435 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
6436 $(run-program-prefix) with $(test-program-prefix).
6437 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
6438 (test_program_prefix): This.
6439 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
6440 * posix/Makefile ($(objpfx)globtest.out): Replace
6441 $(run-via-rtld-prefix) and $(test-wrapper) with
6442 $(test-program-prefix) and $(test-via-rtld-prefix).
6443 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
6444 $(test-program-prefix).
6445 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
6446 $(host-test-program-cmd).
6447 (tst-spawn-ARGS): Likewise.
6448 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
6449 $(test-program-prefix).
6450 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
6451 (test_via_rtld_prefix): This.
6452 (test_wrapper): Renamed to ...
6453 (test_program_prefix): This.
6454 (run_program_prefix): Replaced by test_program_prefix.
6455 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
6456 (test_program_prefix): This.
6457 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
6458 with $(host-test-program-cmd).
6459 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
6460 $(run-program-prefix) with $(test-program-prefix).
6461 ($(objpfx)tst-printf.out): Likewise.
6462 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
6463 $(test-program-cmd).
6464 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
6465 (test_program_prefix): This.
6466 * stdio-common/tst-unbputc.sh: Likewise.
6467 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
6468 $(run-program-prefix) with $(test-program-prefix).
6469 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
6470 (test_program_prefix): This.
6471 * string/Makefile ($(objpfx)tst-svc.out): Replace
6472 $(built-program-cmd) with $(test-program-cmd).
6473
c6fe55cf
AJ
64742013-01-11 Andreas Jaeger <aj@suse.de>
6475
6476 [BZ #15003]
6477 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
6478 value. Sync with Linux 3.7.
6479
9e6919c8
DM
64802013-01-10 David S. Miller <davem@davemloft.net>
6481
6482 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
6483 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6484 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6485
1c9f1a02
RM
64862013-01-10 Roland McGrath <roland@hack.frob.com>
6487
6488 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
6489 never set.
6490 * configure: Regenerated.
6491
b9de2dde
DM
64922013-01-10 David S. Miller <davem@davemloft.net>
6493
6494 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6495 sparc V9 rather than using V8 code.
6496 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6497 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6498
e7f68ef4
RM
64992013-01-10 Roland McGrath <roland@hack.frob.com>
6500
6501 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
6502 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
6503 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
6504 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
6505 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
6506 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
6507 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
6508 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
6509 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
6510 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
6511 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
6512 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
6513 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
6514 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
6515 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
6516 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
6517 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
6518 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
6519 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
6520 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
6521 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
6522 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
6523 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
6524 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
6525 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
6526 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
6527 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
6528
5a47cc9c
DM
65292013-01-10 David S. Miller <davem@davemloft.net>
6530
6531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6532
4cf8f209
L
65332013-01-10 H.J. Lu <hongjiu.lu@intel.com>
6534
6535 * posix/Makefile (tests-static): New variable.
6536 (tests): Add $(tests-static).
6537 (tst-exec-static-ARGS): New variable.
6538 (tst-spawn-static-ARGS): Likewise.
6539 * posix/tst-exec-static.c: New file.
6540 * posix/tst-spawn-static.c: Likewise.
6541 * posix/tst-exec.c: Support run directly.
6542 * posix/tst-spawn.c: Likewise.
6543
fed0faa1
JM
65442013-01-10 Joseph Myers <joseph@codesourcery.com>
6545
828beb13
JM
6546 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
6547 long.
6548 * math/bits/mathcalls.h (llrint): Likewise.
6549 (llround): Likewise.
6550 * stdlib/stdlib.h (struct drand48_data): Likewise.
6551 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
6552 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
6553 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
6554 Likewise.
6555 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
6556 Likewise.
6557 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
6558 (elf_greg_t): Likewise.
6559 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
6560 (__jmp_buf): Likewise.
6561 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
6562 definitions.
6563 (llrint): Likewise, for all definitions.
6564 (llrintl): Likewise.
6565
fed0faa1
JM
6566 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
6567 Remove [__GNUC__] condition.
6568 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
6569 condition to just [__USE_ISOC99].
6570 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
6571
1a20cb20
L
65722013-01-10 H.J. Lu <hongjiu.lu@intel.com>
6573
6574 [BZ #14200]
6575 * sysdeps/unix/sysv/linux/x86/bits/environments.h
6576 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
6577 defined.
6578 (_POSIX_V6_ILP32_OFF32): Likewise.
6579 (_XBS5_ILP32_OFF32): Likewise.
6580 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
6581 (__ILP32_OFFBIG_LDFLAGS): Likewise.
6582
751b85f7
SP
65832013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6584
7490eb81
SP
6585 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
6586
751b85f7
SP
6587 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
6588 doubles __mpexp_twomm1. Adjust usage.
6589 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
6590 Remove.
6591
988197f0
AS
65922013-01-10 Andreas Schwab <schwab@suse.de>
6593
6594 [BZ #14964]
6595 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
6596 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
6597
e83d7298
DM
65982013-01-09 David S. Miller <davem@davemloft.net>
6599
034ed64b 6600 [BZ #15003]
e83d7298
DM
6601 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
6602 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
6603 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
6604 TCP_FASTOPEN): Define.
6605 (tcp_repair_opt): New structure.
6606 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
6607 enum values.
6608 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
6609 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
6610 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
6611 (tcp_cookie_transactions): New structure.
6612
d5e0b9bd
AB
66132013-01-09 Anton Blanchard <anton@samba.org>
6614
6615 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
6616 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
6617 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
6618 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6619
0c07e3ea
JM
66202013-01-09 Joseph Myers <joseph@codesourcery.com>
6621
6622 * include/features.h (__USE_ANSI): Remove.
6623
232f7002
RM
66242013-01-09 Roland McGrath <roland@hack.frob.com>
6625
ad98e30c
RM
6626 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
6627
232f7002
RM
6628 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
6629
950c99ca
SP
66302013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6631
b5792741
SP
6632 * sysdeps/s390/fpu/libm-test-ulps: Update.
6633
47cf2278
SP
6634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6635
950c99ca
SP
6636 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
6637 (__acr): Likewise.
6638 (__cpy): Likewise.
6639 (norm): Likewise.
6640 (denorm): Likewise.
6641 (__mp_dbl): Likewise.
6642 (__dbl_mp): Likewise.
6643 (add_magnitudes): Likewise.
6644 (sub_magnitudes): Likewise.
6645 (__add): Likewise.
6646 (__sub): Likewise.
6647 (__mul): Likewise.
6648 (__inv): Likewise.
6649 (__dvd): Likewise.
6650 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
6651 (__acr): Likewise.
6652 (__cpy): Likewise.
6653 (norm): Likewise.
6654 (denorm): Likewise.
6655 (__mp_dbl): Likewise.
6656 (__dbl_mp): Likewise.
6657 (add_magnitudes): Likewise.
6658 (sub_magnitudes): Likewise.
6659 (__add): Likewise.
6660 (__sub): Likewise.
6661 (__mul): Likewise.
6662 (__inv): Likewise.
6663 (__dvd): Likewise.
6664 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
6665 (__acr): Likewise.
6666 (__cpy): Likewise.
6667 (norm): Likewise.
6668 (denorm): Likewise.
6669 (__mp_dbl): Likewise.
6670 (__dbl_mp): Likewise.
6671 (add_magnitudes): Likewise.
6672 (sub_magnitudes): Likewise.
6673 (__add): Likewise.
6674 (__sub): Likewise.
6675 (__mul): Likewise.
6676 (__inv): Likewise.
6677 (__dvd): Likewise.
6678
eede9df9
JM
66792013-01-08 Joseph Myers <joseph@codesourcery.com>
6680
6681 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
6682 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
6683 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
6684 2 && __USE_EXTERN_INLINES]: Likewise.
6685
c40ea3d9
AJ
66862013-01-08 Andreas Jaeger <aj@suse.de>
6687
6688 [BZ# 14985]
6689 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
6690 Remove.
6691 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6692 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6693
2ccdea26
AB
66942013-01-07 Anton Blanchard <anton@samba.org>
6695
6696 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
6697 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6698 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
6699 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6700 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6701 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6702 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
6703 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
6704 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6705 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6706 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6707 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6708 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6709 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6710 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6711 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6712 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6713 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6714 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6715 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6716 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6717 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
6718 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6719 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6720 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
6721 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6722 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6723 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6724 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
6725 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6726 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6727 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6728 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6729 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6730 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6731 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6732 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6733 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6734 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6735 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6736 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
6737 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6738 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6739
a9708fed
JM
67402013-01-07 Joseph Myers <joseph@codesourcery.com>
6741
375607b9
JM
6742 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
6743 (__MALLOC_PMT): Likewise.
6744 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
6745 [__GNUC__], only on [_LIBC].
6746 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6747 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
6748 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6749 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
6750 forward declaration.
6751 (realloc_hook_ini): Likewise.
6752 (memalign_hook_ini): Likewise.
6753 (__libc_memalign): Do not use __MALLOC_PMT in variable
6754 declaration.
6755 (__libc_valloc): Likewise.
6756 (__libc_pvalloc): Likewise.
6757 (__libc_calloc): Likewise.
6758 (__posix_memalign): Likewise.
6759
a9708fed
JM
6760 [BZ #14996]
6761 * math/s_casinh.c: Include <float.h>.
6762 (__casinh): Do not do computation with squaring and square root
6763 for large arguments.
6764 * math/s_casinhf.c: Include <float.h>.
6765 (__casinhf): Do not do computation with squaring and square root
6766 for large arguments.
6767 * math/s_casinhl.c: Include <float.h>.
6768 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
6769 (__casinhl): Do not do computation with squaring and square root
6770 for large arguments.
6771 * math/libm-test.inc (casin_test): Add more tests.
6772 (casinh_test): Likewise.
6773 * sysdeps/i386/fpu/libm-test-ulps: Update.
6774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6775
afec409a
L
67762013-01-04 H.J. Lu <hongjiu.lu@intel.com>
6777
6778 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
6779 (__x86_64_raw_data_cache_size): Likewise.
6780 (__x86_64_data_cache_size_half): Likewise.
6781 (__x86_64_raw_data_cache_size_half): Likewise.
6782 (__x86_64_shared_cache_size): Likewise.
6783 (__x86_64_raw_shared_cache_size): Likewise.
6784 (__x86_64_shared_cache_size_half): Likewise.
6785 (__x86_64_raw_shared_cache_size_half): Likewise.
6786 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
6787 to ...
6788 (__x86_data_cache_size): This.
6789 (__x86_64_raw_data_cache_size): Renamed to ...
6790 (__x86_raw_data_cache_size): This.
6791 (__x86_64_data_cache_size_half): Renamed to ...
6792 (__x86_data_cache_size_half): This.
6793 (__x86_64_raw_data_cache_size_half): Renamed to ...
6794 (__x86_raw_data_cache_size_half): This.
6795 (__x86_64_shared_cache_size): Renamed to ...
6796 (__x86_shared_cache_size): This.
6797 (__x86_64_raw_shared_cache_size): Renamed to ...
6798 (__x86_raw_shared_cache_size): This.
6799 (__x86_64_shared_cache_size_half): Renamed to ...
6800 (__x86_shared_cache_size_half): This.
6801 (__x86_64_raw_shared_cache_size_half): Renamed to ...
6802 (__x86_raw_shared_cache_size_half): This.
6803 * sysdeps/x86_64/memcpy.S: Updated.
6804 * sysdeps/x86_64/memset.S: Likewise.
6805 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6806 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6807 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6808
0b3986d0
DM
68092013-01-04 David S. Miller <davem@davemloft.net>
6810
6811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6812
e47686e9
AS
68132013-01-04 Andreas Schwab <schwab@linux-m68k.org>
6814
d643bac1
AS
6815 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
6816 1 to avoid redefinition warning.
6817 (__USE_GNU): Don't define.
6818 (init_signaling_nan): Protoize.
6819
e47686e9
AS
6820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6821
b18decba
SP
68222013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6823
fffb407f
SP
6824 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
6825 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
6826 (__cpymn): Likewise.
6827 (norm): Remove commented code.
6828 (denorm): Likewise.
6829 (__mp_dbl): Likewise.
6830 (__inv): Likewise.
6831 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
6832 (__cpymn): Likewise.
6833 (norm): Remove commented code.
6834 (denorm): Likewise.
6835 (__mp_dbl): Likewise.
6836 (__inv): Likewise.
6837
b18decba
SP
6838 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
6839 mp_no value for 1.0 and 2.0.
6840 (norm): Use RADIXI instead of radixi.d.
6841 (denorm): Likewise.
6842 (__mul): Use 0.0 instead of zero.d.
6843 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
6844 mp_no value for 1.0 and 2.0.
6845 (norm): Use RADIXI instead of radixi.d.
6846 (denorm): Likewise.
6847 (__mul): Use 0.0 instead of zero.d.
6848
cdc1c96f
JM
68492013-01-04 Joseph Myers <joseph@codesourcery.com>
6850
6851 [BZ #14994]
6852 * math/s_casinh.c (__casinh): Reduce finite argument to first
6853 quadrant then set signs of results at the end.
6854 * math/s_casinhf.c (__casinhf): Likewise.
6855 * math/s_casinhl.c (__casinhl): Likewise.
6856 * math/libm-test.inc (casin_test): Add more tests.
6857 (casinh_test): Likewise.
6858 * sysdeps/i386/fpu/libm-test-ulps: Update.
6859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6860
302913e1
SP
68612013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6862
6420d207
SP
6863 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
6864
a9e48ab4
SP
6865 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
6866
b7837264
SP
6867 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
6868 declarations.
6869 (denorm): Likewise.
6870 (__mp_dbl): Likewise.
6871 (__inv): Likewise.
6872
f8af25d2
SP
6873 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
6874 and adjust the header comment.
6875
302913e1
SP
6876 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
6877 variable name from declaration.
6878
5d7dd1ca
L
68792013-01-03 H.J. Lu <hongjiu.lu@intel.com>
6880
6881 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6882 Initialize COMMON_CPUID_INDEX_7 element.
6883 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
6884 (CPUID_RTM): Likewise.
6885 (HAS_RTM): Likewise.
6886 (COMMON_CPUID_INDEX_7): New enum.
6887
2f5f40f4
AS
68882013-01-03 Andreas Schwab <schwab@linux-m68k.org>
6889
6890 [BZ #14981]
6891 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
6892 size is zero, record memory as freed.
6893
4056f4a0
AJ
68942013-01-03 Andreas Jaeger <aj@suse.de>
6895
6896 * po/ia.po: Add new Interlingua translation.
6897
ab15736f 68982012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
6899
6900 * locale/programs/localedef.c: Fix description of '--posix' flag.
6901
568035b7
JM
69022013-01-02 Joseph Myers <joseph@codesourcery.com>
6903
e6898b8d
JM
6904 * NEWS: Update dates in second copyright notice.
6905 * README: Update copyright dates in example.
6906 * manual/libc.texinfo: Update copyright dates.
6907 * scripts/test-installation.pl: Update copyright date in --version
6908 output.
6909
0e2f9562
JM
6910 * hurd/ctty-input.c: Fix copyright notice formatting.
6911 * hurd/ctty-output.c: Likewise.
6912 * hurd/dtable.c: Likewise.
6913 * hurd/hurd-raise.c: Likewise.
6914 * hurd/hurdprio.c: Likewise.
6915 * hurd/msgportdemux.c: Likewise.
6916 * misc/sys/file.h: Likewise.
6917 * misc/sys/ioctl.h: Likewise.
6918 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6919 * sysdeps/mach/hurd/chdir.c: Likewise.
6920 * sysdeps/mach/hurd/fchdir.c: Likewise.
6921 * sysdeps/mach/hurd/rename.c: Likewise.
6922 * sysdeps/mach/hurd/rmdir.c: Likewise.
6923 * sysdeps/mach/hurd/seekdir.c: Likewise.
6924 * sysdeps/mach/hurd/setsid.c: Likewise.
6925 * sysdeps/posix/wait3.c: Likewise.
6926
568035b7
JM
6927 * All files with FSF copyright notices: Update copyright dates
6928 using scripts/update-copyrights.
6929 * intl/plural.c: Regenerated.
6930 * locale/programs/charmap-kw.h: Likewise.
6931 * locale/programs/locfile-kw.h: Likewise.
6932
da08f647
SP
69332013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6934
0f5477af
SP
6935 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
6936 four values.
6937
44e0d4c2
SP
6938 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
6939 calculation loop and add branch prediction.
6940
4d55b4e5
SP
6941 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
6942 check access beyond bounds of m1np.
6943
da08f647
SP
6944 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
6945 MPTWO.
6946 (__inv): Remove local variable MPTWO to use the global
6947 constant.
6948 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
6949 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
6950 variable MPTWO.
6951 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
6952 MP3HALFS static const.
6953
8e051029
DM
69542013-01-01 David S. Miller <davem@davemloft.net>
6955
6956 * po/ca.po: Update from translation team.
6957
f4cf5f2d
JM
69582013-01-01 Joseph Myers <joseph@codesourcery.com>
6959
6960 * scripts/update-copyrights: New file.
6961 * Makeconfig: Reformat copyright notice.
6962 * ctype/ctype.h: Likewise.
6963 * debug/swprintf_chk.c: Likewise.
6964 * elf/dl-cache.c: Likewise.
6965 * elf/dl-debug.c: Likewise.
6966 * elf/dl-object.c: Likewise.
6967 * grp/initgroups.c: Likewise.
6968 * hurd/Makefile: Likewise.
6969 * hurd/hurd/signal.h: Likewise.
6970 * hurd/hurdfault.c: Likewise.
6971 * hurd/hurdioctl.c: Likewise.
6972 * hurd/hurdlookup.c: Likewise.
6973 * hurd/intr-msg.c: Likewise.
6974 * iconv/gconv_open.c: Likewise.
6975 * libio/swprintf.c: Likewise.
6976 * locale/lc-ctype.c: Likewise.
6977 * locale/nl_langinfo.c: Likewise.
6978 * mach/Machrules: Likewise.
6979 * mach/Makefile: Likewise.
6980 * malloc/obstack.h: Likewise.
6981 * manual/Makefile: Likewise.
6982 * manual/tsort.awk: Likewise.
6983 * misc/bits/stab.def: Likewise.
6984 * nis/nis_print_group_entry.c: Likewise.
6985 * nis/nis_table.c: Likewise.
6986 * nis/nss_compat/compat-pwd.c: Likewise.
6987 * nis/nss_compat/compat-spwd.c: Likewise.
6988 * po/Makefile: Likewise.
6989 * posix/fnmatch.c: Likewise.
6990 * posix/regex.h: Likewise.
6991 * resolv/Makefile: Likewise.
6992 * resolv/nss_dns/dns-network.c: Likewise.
6993 * resolv/res_hconf.c: Likewise.
6994 * scripts/gen-sorted.awk: Likewise.
6995 * soft-fp/soft-fp.h: Likewise.
6996 * stdio-common/printf.h: Likewise.
6997 * stdlib/monetary.h: Likewise.
6998 * stdlib/random.c: Likewise.
6999 * stdlib/random_r.c: Likewise.
7000 * sysdeps/generic/Makefile: Likewise.
7001 * sysdeps/gnu/Makefile: Likewise.
7002 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7003 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7004 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7005 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7006 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7007 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7008 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7009 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7010 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7011 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7012 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7013 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7014 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7015 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7016 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
7017 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7018 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7019 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7020 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7021 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7022 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7023 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7024 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7025 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7026 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
7027 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7028 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7029 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
7030 * sysdeps/mach/hurd/errnos.awk: Likewise.
7031 * sysdeps/mach/hurd/fork.c: Likewise.
7032 * sysdeps/mach/hurd/getcwd.c: Likewise.
7033 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
7034 * sysdeps/mach/hurd/mmap.c: Likewise.
7035 * sysdeps/mach/hurd/utimes.c: Likewise.
7036 * sysdeps/mach/hurd/xmknod.c: Likewise.
7037 * sysdeps/posix/profil.c: Likewise.
7038 * sysdeps/posix/readdir_r.c: Likewise.
7039 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7040 * sysdeps/powerpc/bits/setjmp.h: Likewise.
7041 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
7042 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7043 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7044 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7045 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7046 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7047 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7048 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7049 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7050 * sysdeps/pthread/lio_listio.c: Likewise.
7051 * sysdeps/sparc/dl-procinfo.h: Likewise.
7052 * sysdeps/unix/i386/sysdep.S: Likewise.
7053 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
7054 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
7055 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7056 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
7057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7058 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7059 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7060 * sysdeps/unix/sysv/linux/speed.c: Likewise.
7061 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7062 * sysdeps/wordsize-32/divdi3.c: Likewise.
7063 * time/sys/time.h: Likewise.
7064 * wcsmbs/Makefile: Likewise.
7065
0549fbba
DM
70662013-01-01 David S. Miller <davem@davemloft.net>
7067
a141f1a7
DM
7068 * po/fr.po: Update from translation team.
7069
0549fbba
DM
7070 * catgets/gencat.c: Update copyright year.
7071 * csu/version.c: Likewise.
7072 * debug/catchsegv.sh: Likewise.
7073 * debug/pcprofiledump.c: Likewise.
7074 * debug/xtrace.sh: Likewise.
7075 * elf/ldconfig.c: Likewise.
7076 * elf/ldd.bash.in: Likewise.
7077 * elf/pldd.c: Likewise.
7078 * elf/sotruss.ksh: Likewise.
7079 * elf/sprof.c: Likewise.
7080 * iconv/iconv_prog.c: Likewise.
7081 * iconv/iconvconfig.c: Likewise.
7082 * locale/programs/locale.c: Likewise.
7083 * locale/programs/localedef.c: Likewise.
7084 * login/programs/pt_chown.c: Likewise.
7085 * malloc/memusage.sh: Likewise.
7086 * malloc/memusagestat.c: Likewise.
7087 * malloc/mtrace.pl: Likewise.
7088 * nscd/nscd.c: Likewise.
7089 * nss/getent.c: Likewise.
7090 * nss/makedb.c: Likewise.
7091 * posix/getconf.c: Likewise.
7092
18ea052c
SP
70932012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7094
7095 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
7096 numbers.
7097
9c89fca6
MF
70982012-12-30 Mike Frysinger <vapier@gentoo.org>
7099
7100 * math/bits/mathcalls.h (modf): Use __nonnull.
7101
085ec079
SP
71022012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7103
7104 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
7105 (split): Use macro CN instead of the bare value.
7106 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
7107 could be used.
7108 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
7109 instead of the bare value.
7110 (power1): Likewise.
7111
6d9f97e1
SP
71122012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7113
d63f73be
SP
7114 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
7115 __ATAN_TWOM.
7116 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7117
6d9f97e1
SP
7118 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
7119 their values.
7120 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7121 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7122 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
7123 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7124
4c4febf5
AJ
71252012-12-28 Andreas Jaeger <aj@suse.de>
7126
af5843ef
AJ
7127 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
7128 values are from Linux 3.7.
7129
4c4febf5
AJ
7130 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
7131 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
7132
99136f82
SP
71332012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7134
2f216c3c 7135 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
7136 TRUE case.
7137
99136f82
SP
7138 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
7139 (norm): Likewise.
7140 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
7141 variables with preprocessor constants.
7142 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7143 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7144 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7145
7fffbdff
BH
71462012-12-27 Bruno Haible <bruno@clisp.org>
7147
7148 [BZ #14317]
7149 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
7150 only if needed.
7151
b76eb5f0
SP
71522012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7153
31a7fe5c
SP
7154 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
7155 and use variable directly.
7156 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
7157
b76eb5f0
SP
7158 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7159 MPONE.
7160 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
7161 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7162 variable MPONE.
7163 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7164 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7165 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
7166 include directive. Remove local variable MPONE.
7167 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
7168 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
7169 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7170
2c8bfe7d
DM
71712012-12-25 David S. Miller <davem@davemloft.net>
7172
7173 * version.h (RELEASE): Set to "development".
7174 (VERSION): Set to "2.17.90".
7175 * NEWS: Add 2.18 section.
7176
147d03b0
DM
71772012-12-21 David S. Miller <davem@davemloft.net>
7178
7179 * po/hr.po: Update from translation team.
7180
a8ebb2b9
AK
71812012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7182
7183 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
7184
95b4f1b6
SE
71852012-12-19 Steve Ellcey <sellcey@mips.com>
7186
b2d94007 7187 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 7188
cedb2a90
MS
71892012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7190
7191 * manual/contrib.texi (Contributors): Spelling correction.
7192
bbf527d6
DM
71932012-12-15 David S. Miller <davem@davemloft.net>
7194
7195 * po/ru.po: Update from translation team.
7196
bc38c906
DM
71972012-12-13 David S. Miller <davem@davemloft.net>
7198
85429b1a
DM
7199 * NEWS: Mention IFUNC testsuite enhancements.
7200
d283e353
DM
7201 * po/pl.po: Update from translation team.
7202 * po/bg.po: Likewise.
7203
bc38c906
DM
7204 * manual/contrib.texi (Contributors): Update entries for Hongjiu
7205 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
7206
a181b0d7
DM
72072012-12-11 David S. Miller <davem@davemloft.net>
7208
4641d57e
DM
7209 * po/sv.po: Update from translation team.
7210
f7bc6495
DM
7211 * po/vi.po: Update from translation team.
7212
6fc9048f
DM
7213 * po/cs.po: Update from translation team.
7214
a181b0d7
DM
7215 * po/de.po: Update from translation team.
7216 * po/eo.po: Likewise.
7217 * po/nl.po: Likewise.
7218
f70bfe80
SP
72192012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7220
3c8b4190
SP
7221 [BZ #14246]
7222 * manual/argp.texi (Argp Helper Functions): Move node to follow
7223 Argp Parsing State.
7224
f70bfe80
SP
7225 [BZ #14872]
7226 * manual/conf.texi (Limits on File System Capacity): Mention if
7227 terminating null is included in the max size.
7228
188f0adf
AJ
72292012-12-10 Andreas Jaeger <aj@suse.de>
7230
7231 * po/cs.po: Update from translation team.
7232
56e7d3ad
SP
72332012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7234
7235 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
7236 void pointer and cast to uintptr_t.
7237 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
7238 path.
7239 * sysdeps/s390/s390-64/memcpy.S: Likewise.
7240 * sysdeps/s390/s390-64/memset.S: Likewise.
7241
76f2d2ea 72422012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
7243
7244 [BZ #14833]
7245 * menual/message.texi (Message Translation): Fix typos.
7246 (Helper programs for gettext): Likewise.
7247
67cbf9a2
AS
72482012-12-07 Andreas Schwab <schwab@linux-m68k.org>
7249
7250 [BZ #14898]
7251 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
7252 Change to -1.
7253
682d0e9a
DM
72542012-12-07 David S. Miller <davem@davemloft.net>
7255
7256 * po/libc.pot: Update.
7257
573cd484
RH
72582012-12-07 Richard Henderson <rth@redhat.com>
7259
7e9da188 7260 [BZ #10114]
573cd484
RH
7261 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
7262 normal/normal case to before the switch.
7263 (_FP_DIV): Likewise.
7264
e933a943
MF
72652012-12-06 Carlos O'Donell <carlos@systemhalted.org>
7266 Mike Frysinger <vapier@gentoo.org>
7267
7268 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
7269 check for __NR_fadvise64_64.
7270
82123268
CM
72712012-12-06 Chris Metcalf <cmetcalf@tilera.com>
7272
7273 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
7274 0, not just to plain "0" as a statement.
7275 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
7276 with cw.
7277
d9814526
JM
72782012-12-06 Joseph Myers <joseph@codesourcery.com>
7279
7280 * NEWS: Use sourceware.org in Bugzilla URL.
7281
7728c574
SP
72822012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7283
f16946dd
SP
7284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7285 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7286
5704bbcb
SP
7287 * stdio-common/tst-put-error.c (do_test): Add newline to the
7288 padded test to ensure flush.
7289
17aa0516
JL
72902012-12-05 Jeff Law <law@redhat.com>
7291
7292 * sunrpc/etc.rpc (fedfs_admin): Add entry.
7293
363313b5
JM
72942012-12-05 Joseph Myers <joseph@codesourcery.com>
7295
effbd42a
JM
7296 * README: Don't refer to ports add-on as distributed separately.
7297 Mention AArch64 in list of systems supported in the ports add-on.
7298
87600365
JM
7299 * LICENSES: Add more non-FSF copyright and license notices.
7300
a0d7066a
JM
7301 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
7302 ((unused)).
7303
66ca5a5b
JM
7304 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
7305
363313b5
JM
7306 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
7307 10000 as width of padded output.
7308
b37984ad
JM
73092012-12-04 Joseph Myers <joseph@codesourcery.com>
7310
9003570a
JM
7311 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
7312
b37984ad
JM
7313 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
7314 variable LX with __attribute__ ((unused)).
7315 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7316 Likewise.
7317 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
7318 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7319 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
7320 with __attribute__ ((unused)).
7321
c8df52ec
DM
73222012-12-04 David S. Miller <davem@abraco.davemloft.net>
7323
7324 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
7325
b3b099af
JM
73262012-12-04 Joseph Myers <joseph@codesourcery.com>
7327
c33aa6e3
JM
7328 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
7329 (CFLAGS-nldbl-acos.c): New variable.
7330 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
7331 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
7332 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
7333 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
7334 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
7335 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
7336 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
7337 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
7338 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
7339 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
7340 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
7341 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
7342 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
7343 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
7344 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
7345 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
7346 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
7347 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
7348 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
7349 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
7350 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
7351 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
7352 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
7353 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
7354 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
7355 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
7356 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
7357 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
7358 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
7359 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
7360 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
7361 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
7362 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
7363 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
7364 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
7365 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
7366 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
7367 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
7368 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
7369 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
7370 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
7371 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
7372 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
7373 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
7374 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
7375 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
7376 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
7377 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
7378 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
7379 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
7380 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
7381 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
7382 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
7383 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
7384 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
7385 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
7386 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
7387 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
7388 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
7389 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
7390 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
7391 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
7392 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
7393 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
7394 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
7395 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
7396 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
7397 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
7398 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
7399 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
7400 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
7401 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
7402 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
7403 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
7404 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
7405 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
7406 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
7407 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
7408 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
7409 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
7410 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
7411 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
7412 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
7413 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
7414 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
7415 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
7416 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
7417 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
7418 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
7419 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
7420 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
7421 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
7422 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
7423 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
7424 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
7425 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
7426 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
7427
20f0018d
JM
7428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7429 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7430
b3b099af
JM
7431 [BZ #14914]
7432 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
7433 whole low double instead of just low 47 bits when splitting values
7434 into two parts.
7435
029264d1
AM
74362012-12-03 Allan McRae <allan@archlinux.org>
7437
7438 * manual/stdio.texi (Predefined Printf Handlers): Remove
7439 @hsep and @vsep usage.
7440
c9d6789e
MF
74412012-12-03 Mike Frysinger <vapier@gentoo.org>
7442
7443 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
7444 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
7445
4b7634a5
JL
74462012-12-03 Jeff Law <law@redhat.com>
7447
7448 * time/sys/time.h (settimeofday): Do not mark TV argument
7449 as __nonnull.
7450
eb6cbd24
MF
74512012-12-01 Mike Frysinger <vapier@gentoo.org>
7452
7453 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
7454 when currently writing and seek to current position when not.
7455 * libio/Makefile (tests): Remove bug-fclose1.
7456 * libio/bug-fclose1.c: Delete.
7457
f638872a
JM
74582012-12-01 Joseph Myers <joseph@codesourcery.com>
7459
7460 * manual/arith.texi (feenableexcept): Fix typo.
7461 (fedisableexcept): Likewise.
7462
48085d14
RM
74632012-11-30 Roland McGrath <roland@hack.frob.com>
7464
7465 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
7466 second, differently-typed declaration, rather than a cast.
7467
1a538b9f
SP
74682012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7469
7470 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
7471 * include/rpc/svc.h: ... here.
7472
d07f2ff1 74732012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
7474
7475 [BZ #13013]
7476 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
7477 depending n and resplen2 to catch cases where answer
7478 equals answerp2.
7479
c93ec1f0
CD
74802012-11-29 Carlos O'Donell <carlos@systemhalted.org>
7481
7482 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
7483 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
7484
37db69de
MF
74852012-11-29 Mike Frysinger <vapier@gentoo.org>
7486
7487 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
7488
e10c4e4f
RM
74892012-11-29 Roland McGrath <roland@hack.frob.com>
7490
7491 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
7492
2af1b328
JL
74932012-11-28 Jeff Law <law@redhat.com>
7494
7495 [BZ #13761]
7496 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
7497 dataset_temporary. Track alloca usage into alloca_used.
7498 If dataset is large allocate and release it via malloc/free.
7499
111db5b1
FW
75002012-06-04 Florian Weimer <fweimer@redhat.com>
7501
f06cc227 7502 [BZ #14197]
111db5b1
FW
7503 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
7504
dd694abd
DM
75052012-11-28 David S. Miller <davem@davemloft.net>
7506
7507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7508
9984dd01
JM
75092012-11-28 Joseph Myers <joseph@codesourcery.com>
7510
7511 [BZ #14803]
7512 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
7513 of pi/2 rounded to nearest to 64 bits.
7514 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
7515 nearest to 64 bits.
7516 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
7517 bits.
7518
14bc93a9
JL
75192012-11-28 Jeff Law <law@redhat.com>
7520 Martin Osvald <mosvald@redhat.com>
7521
7522 [BZ #14889]
7523 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
7524 * sunrpc/svc.c: Include time.h.
7525 (__svc_accept_failed): New function.
7526 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
7527 any reason other than EINTR, call __svc_accept_failed.
7528 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
7529 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
7530
e3c6aa3a
AS
75312012-11-28 Andreas Schwab <schwab@suse.de>
7532
7533 * scripts/abilist.awk: Also handle indirect functions in .opd
7534 section.
7535
1bead169
JM
75362012-11-28 Joseph Myers <joseph@codesourcery.com>
7537
7538 [BZ #13881]
7539 * sysdeps/x86/fpu/powl_helper.c: New file.
7540 * sysdeps/x86/fpu/Makefile: Likewise.
7541 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
7542 (p3): New object.
7543 (__ieee754_powl): Use __powl_helper for finite arguments except
7544 integer exponents below 8.
7545 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
7546 (p3): New object.
7547 (__ieee754_powl): Use __powl_helper for finite arguments except
7548 integer exponents below 8.
7549 * math/libm-test.inc (pow_test): Add more tests and enable some
7550 previously disabled tests.
7551 * sysdeps/i386/fpu/libm-test-ulps: Update.
7552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7553
0817d63d
SP
75542012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7555 Carlos O'Donell <carlos_odonell@mentor.com>
7556
7557 * nss/makedb.c (is_prime): Assert that input is odd and greater
7558 than 4. Note that fact in a comment too.
7559 (next_prime): Add 4 to input.
7560
de2fd463
SP
75612012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7562
7563 [BZ #11741]
7564 * libio/Makefile (tests): Add test case tst-fwrite-error.
7565 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
7566 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
7567 * libio/tst-fwrite-error.c: New test case.
7568
c515fb51
L
75692012-11-26 H.J. Lu <hongjiu.lu@intel.com>
7570
7571 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
7572 before casting to void *.
7573 * include/libc-internal.h (__pointer_type): New macro.
7574 (__integer_if_pointer_type_sub): Likewise.
7575 (__integer_if_pointer_type): Likewise.
7576 (cast_to_integer): Likewise.
7577 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
7578 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
7579 before casting to atomic64_t.
7580 (atomic_exchange_acq): Likewise.
7581 (__arch_exchange_and_add_body): Likewise.
7582 (__arch_add_body): Likewise.
7583 (atomic_add_negative): Likewise.
7584 (atomic_add_zero): Likewise.
7585
4cf77aa9
JM
75862012-11-26 Joseph Myers <joseph@codesourcery.com>
7587
7588 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
7589 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
7590 (add_fdes): Likewise.
7591 (linear_search_fdes): Likewise.
7592 (binary_search_unencoded_fdes): Likewise.
7593
d260b3b4
AS
75942012-11-26 Andreas Schwab <schwab@linux-m68k.org>
7595
7596 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
7597
67060746
AC
75982012-11-24 Adam Conrad <adconrad@0c3.net>
7599
7600 * configure.in: Autodetect C++ header directories.
7601 * configure: Regenerated.
7602
800938a1
MF
76032012-11-23 Mike Frysinger <vapier@gentoo.org>
7604
7605 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
7606
4e6e34e6
AS
76072012-11-23 Andreas Schwab <schwab@linux-m68k.org>
7608
7609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7610
7c7feb47
JM
76112012-11-22 Joseph Myers <joseph@codesourcery.com>
7612
7184dcdf
JM
7613 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
7614 LDBL_MANT_DIG == 106]: Disable some tests.
7615 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7616 Likewise.
7617 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7618 Likewise.
7619
0a42601f
JM
7620 [BZ #14871]
7621 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
7622 input for small inputs. Return +/- pi/2 for large inputs.
7623 * math/libm-test.inc (atan_test): Add more tests.
7624
79c9b9fe
JM
7625 * sysdeps/generic/unwind-dw2-fde-glibc.c
7626 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
7627 __attribute__ ((unused)).
7628
c60d3bf2
JM
7629 [BZ #14645]
7630 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
7631 x * y if x and y are nonzero and z is zero.
7632
ef1e0867
JM
7633 [BZ #14811]
7634 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
7635 nonzero exponents with absolute value below 0x1p-117 to +/-
7636 0x1p-117.
7637
1468ded3
JM
7638 [BZ #14869]
7639 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
7640 up arguments below 2**-450, not just those below 2**-500.
7641 * math/libm-test.inc (hypot_test): Add another test.
7642
8e27e3cc
JM
7643 [BZ #14868]
7644 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7645 Return a+b for ratio over 2**120, not 2**60.
7646 * math/libm-test.inc (hypot_test): Add another test.
7647
c9c0279b
JM
7648 * math/libm-test.inc (clog_test): Use
7649 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
7650 (clog10_test): Likewise.
7651
7c7feb47
JM
7652 [BZ #6778]
7653 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
7654
fff1530e
AS
76552012-11-22 Andreas Schwab <schwab@suse.de>
7656
7657 * sysdeps/i386/fpu/libm-test-ulps: Update.
7658
94558d30
PT
76592012-11-22 Pino Toscano <toscano.pino@tiscali.it>
7660
7661 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
7662 printf output with newline.
7663
7e1be741
L
76642012-11-21 H.J. Lu <hongjiu.lu@intel.com>
7665
6bfea974
L
7666 [BZ #14865]
7667 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
7668 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
7669 -z nodlopen, -z initfirst and -z execstack support.
7670 * configure: Regenerated.
7671
7e1be741
L
7672 * elf/elf.h (DF_1_NODIRECT): New macro.
7673 (DF_1_IGNMULDEF): Likewise.
7674 (DF_1_NOKSYMS): Likewise.
7675 (DF_1_NOHDR): Likewise.
7676 (DF_1_EDITED): Likewise.
7677 (DF_1_NORELOC): Likewise.
7678 (DF_1_SYMINTPOSE): Likewise.
7679 (DF_1_GLOBAUDIT): Likewise.
7680 (DF_1_SINGLETON): Likewise.
7681 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
7682 DT_1_SUPPORTED_MASK bits.
7683 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
7684
105ce2ce
CD
76852012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
7686
7687 * sysdeps/unix/make-syscalls.sh: Document prefixes.
7688
123be9de
TS
76892012-11-20 Thomas Schwinge <thomas@codesourcery.com>
7690
d072f3f7
TS
7691 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
7692 macro.
7693
123be9de
TS
7694 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
7695 (sendmmsg): Move declarations...
7696 * socket/sys/socket.h: ... here.
7697 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
7698 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
7699 include it from...
7700 * socket/recvmmsg.c: ... this new file.
7701 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
7702 (sendmmsg): Rename to __sendmmsg, create weak alias and make
7703 definition of __sendmmsg hidden.
7704 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
7705 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
7706 Move ENOSYS stub into and include it from...
7707 * socket/sendmmsg.c: ... this new file.
7708 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
7709 (sysdep_routines): Move recvmmsg and sendmmsg...
7710 * socket/Makefile (routines): ... here.
7711 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
7712 (GLIBC_PRIVATE): Add __sendmmsg.
7713 * include/sys/socket.h (__sendmmsg): Add declarations.
7714 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
7715 sendmmsg.
7716
cf9a5d18
JM
77172012-11-20 Joseph Myers <joseph@codesourcery.com>
7718
7719 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
7720 variable I1 with __attribute__ ((unused)).
7721 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7722
ecd4caf9
JM
77232012-11-19 Joseph Myers <joseph@codesourcery.com>
7724
be14d48f
JM
7725 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
7726 DUMMY variables with __attribute__ ((unused)).
7727
ecd4caf9
JM
7728 * bits/byteswap.h: Include <bits/types.h>.
7729 (__bswap_64): Use __uint64_t instead of unsigned long long int.
7730
986cab95
PT
77312012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7732
7733 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
7734 string_t. Do not manually set errno.
7735 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
7736 length with __strnlen. Make sure to both set errno and return it on
7737 failure.
7738
6d33cc9d
DM
77392012-11-19 David S. Miller <davem@davemloft.net>
7740
7741 With help from Joseph Myers.
7742 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
7743 very large arguments properly.
7744 * math/libm-test.inc (atan_test): New tests.
7745 (atan2_test): New tests.
7746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7747 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7748
ee663277
JM
77492012-11-19 Joseph Myers <joseph@codesourcery.com>
7750
877f2d8e
JM
7751 [BZ #14856]
7752 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
7753 Define to 3.
7754
116fc08a
JM
7755 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
7756 [POSIX] (EADDRNOTAVAIL): Likewise.
7757 [POSIX] (EAFNOSUPPORT): Likewise.
7758 [POSIX] (EALREADY): Likewise.
7759 [POSIX] (ECONNABORTED): Likewise.
7760 [POSIX] (ECONNREFUSED): Likewise.
7761 [POSIX] (ECONNRESET): Likewise.
7762 [POSIX] (EDESTADDRREQ): Likewise.
7763 [POSIX] (EDQUOT): Likewise.
7764 [POSIX] (EHOSTUNREACH): Likewise.
7765 [POSIX] (EIDRM): Likewise.
7766 [POSIX] (EISCONN): Likewise.
7767 [POSIX] (ELOOP): Likewise.
7768 [POSIX] (EMULTIHOP): Likewise.
7769 [POSIX] (ENETDOWN): Likewise.
7770 [POSIX] (ENETUNREACH): Likewise.
7771 [POSIX] (ENOBUFS): Likewise.
7772 [POSIX] (ENODATA): Likewise.
7773 [POSIX] (ENOLINK): Likewise.
7774 [POSIX] (ENOMSG): Likewise.
7775 [POSIX] (ENOPROTOOPT): Likewise.
7776 [POSIX] (ENOSR): Likewise.
7777 [POSIX] (ENOSTR): Likewise.
7778 [POSIX] (ENOTCONN): Likewise.
7779 [POSIX] (ENOTSOCK): Likewise.
7780 [POSIX] (EOPNOTSUPP): Likewise.
7781 [POSIX] (EOVERFLOW): Likewise.
7782 [POSIX] (EPROTO): Likewise.
7783 [POSIX] (EPROTONOSUPPORT): Likewise.
7784 [POSIX] (EPROTOTYPE): Likewise.
7785 [POSIX] (ESTALE): Likewise.
7786 [POSIX] (ETIME): Likewise.
7787 [POSIX] (ETXTBSY): Likewise.
7788 [POSIX] (EWOULDBLOCK): Likewise.
7789 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
7790 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
7791 [POSIX] (SEEK_CUR): Likewise.
7792 [POSIX] (SEEK_END): Likewise.
7793 [POSIX || UNIX98] (mode_t): Do not require.
7794 [POSIX] (off_t): Likewise.
7795 [POSIX] (pid_t): Likewise.
7796 [POSIX] (sys/stat.h): Do not allow header.
7797 [POSIX] (unistd.h): Likewise.
7798 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
7799 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
7800 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
7801 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
7802 require.
7803 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
7804 sigevent): Specify elements.
7805 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
7806 entry.
7807 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
7808 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
7809
a483863f
JM
7810 * conform/data/cpio.h-data [POSIX]: Disable whole file.
7811 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
7812 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
7813 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
7814 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
7815 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
7816 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
7817 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
7818 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
7819 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
7820 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
7821 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
7822 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
7823 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
7824 Likewise.
7825 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
7826 Likewise.
7827 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
7828 Likewise.
7829 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
7830 Likewise.
7831 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
7832 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
7833 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
7834 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
7835 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
7836 Specify lower bound on value.
7837 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
7838 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
7839 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
7840 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
7841 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
7842 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
7843 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
7844 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
7845 value.
7846 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
7847 as optional.
7848 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
7849 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
7850 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
7851 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
7852 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
7853 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
7854 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
7855 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
7856 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
7857 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
7858 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
7859 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
7860 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
7861 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
7862 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
7863 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
7864 entry.
7865 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
7866 optional.
7867 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
7868 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
7869 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
7870 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
7871 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
7872 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
7873 Likewise.
7874 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
7875 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
7876 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
7877 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
7878 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
7879 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
7880 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
7881 as optional.
7882 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
7883 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
7884 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
7885 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
7886 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
7887 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
7888 specify as optional.
7889 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
7890 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
7891 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
7892 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
7893 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
7894 [XPG3] (NL_LANGMAX): Likewise.
7895 [POSIX || XPG3] (NL_MSGMAX): Likewise.
7896 [POSIX || XPG3] (NL_NMAX): Likewise.
7897 [POSIX || XPG3] (NL_SETMAX): Likewise.
7898 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
7899 [XPG3] (NZERO): Likewise.
7900 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
7901 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
7902 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
7903 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
7904 (REG_ERANGE): Expect.
7905 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
7906 optional-constant.
7907 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
7908 Use (void) in prototype.
7909 [POSIX] (*_t): Allow.
7910 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
7911 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
7912 (WRDE_BADVAL): Expect.
7913
5ba924e3
JM
7914 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
7915 expect.
7916 [XPG3 || XPG4] (O_RSYNC): Likewise.
7917 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
7918 Likewise.
7919 [XPG3 || XPG4] (pthread_sigmask): Likewise.
7920 [XPG3 || XPG4] (sigqueue): Likewise.
7921 [XPG3 || XPG4] (sigtimedwait): Likewise.
7922 [XPG3 || XPG4] (sigwaitinfo): Likewise.
7923 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
7924 [XPG3 || XPG4] (vsnprintf): Likewise.
7925 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
7926 Likewise.
7927 [XPG3 || XPG4] (blksize_t): Likewise.
7928 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
7929 Likewise.
7930 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
7931 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7932 [XPG3 || XPG4] (struct itimerspec): Likewise.
7933 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
7934 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
7935 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
7936 [XPG3 || XPG4] (clockid_t): Likewise.
7937 [XPG3 || XPG4] (timer_t): Likewise.
7938 [XPG3 || XPG4] (clock_getres): Likewise.
7939 [XPG3 || XPG4] (clock_gettime): Likewise.
7940 [XPG3 || XPG4] (clock_settime): Likewise.
7941 [XPG3 || XPG4] (nanosleep): Likewise.
7942 [XPG3 || XPG4] (timer_create): Likewise.
7943 [XPG3 || XPG4] (timer_delete): Likewise.
7944 [XPG3 || XPG4] (timer_gettime): Likewise.
7945 [XPG3 || XPG4] (timer_getoverrun): Likewise.
7946 [XPG3 || XPG4] (timer_settime): Likewise.
7947 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
7948 [XPG3 || XPG4] (getlogin_r): Likewise.
7949 [XPG3 || XPG4] (pread): Likewise.
7950 [XPG3 || XPG4] (pthread_atfork): Likewise.
7951 [XPG3 || XPG4] (pwrite): Likewise.
7952
ee663277
JM
7953 [BZ #14835]
7954 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
7955 <bits/siginfo.h>.
7956
942caa16
PT
79572012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7958
e19af380
PT
7959 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
7960 finalizing MALLSTREAM.
7961
942caa16
PT
7962 * sysdeps/mach/hurd/syncfs.c: New file.
7963
cfde9b46
SP
79642012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7965
7966 [BZ #14719]
7967 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
7968 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
7969 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
7970 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
7971 (_nss_dns_gethostbyname4_r): Likewise.
7972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
7973 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
7974
f6da27e5
PH
79752012-11-19 Peng Haitao <penght@cn.fujitsu.com>
7976
7977 [BZ #13763]
7978 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
7979
6665d4a2
SM
79802012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
7981
1f51ee92
SM
7982 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
7983 * elf/cache.c (print_entry): Print ",AArch64" for
7984 FLAG_AARCH64_LIB64
7985
6665d4a2
SM
7986 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
7987 * elf/cache.c (print_entry): Print ",hard-float" for
7988 FLAG_ARM_LIBHF.
7989
05b227bd
DM
79902012-11-18 David S. Miller <davem@davemloft.net>
7991
7992 With help from Joseph Myers.
7993 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
7994 cutoff to 2**-13.
7995 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
7996 cutoff to 2**-25.
7997 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
7998 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
7999 small.
8000 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8001 * math/libm-test.inc (y0_test): New tests.
8002 (y1_test): New tests.
8003 * sysdeps/i386/fpu/libm-test-ulps: Update.
8004 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8006
786b0b67
AS
80072012-11-18 Andreas Schwab <schwab@linux-m68k.org>
8008
8009 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
8010 64-bit targets.
8011 * configure: Regenerated.
8012
8e18b86d
DM
80132012-11-17 David S. Miller <davem@davemloft.net>
8014
8015 [BZ #14811]
8016 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
8017 nonzero exponents with absolute value below 0x1p-128 to +/-
8018 0x1p-128.
8019
531f1ae0
JM
80202012-11-17 Joseph Myers <joseph@codesourcery.com>
8021
12df29e2
JM
8022 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
8023
150dc1a0
JM
8024 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
8025
531f1ae0
JM
8026 * posix/getconf-speclist.c: New file.
8027 * posix/posix-envs.def: Likewise.
8028 * posix/confstr.c (START_ENV_GROUP): New macro.
8029 (END_ENV_GROUP): Likewise.
8030 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8031 (KNOWN_PRESENT_ENV_STRING): Likewise.
8032 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8033 (UNKNOWN_ENVIRONMENT): Likewise.
8034 (confstr): Include posix-envs.def instead of handling
8035 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
8036 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
8037 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
8038 (END_ENV_GROUP): Likewise.
8039 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8040 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8041 (UNKNOWN_ENVIRONMENT): Likewise.
8042 (__sysconf): Include posix-envs.def instead of handling associated
8043 cases directly here.
8044 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
8045 preprocessing getconf-speclist.c rather than running getconf or
8046 generating empty file.
8047
a93f9cbc
PT
80482012-11-16 Pino Toscano <toscano.pino@tiscali.it>
8049
8050 * scripts/check-local-headers.sh: Ignore 'mach' headers.
8051
d64d9f87
AL
80522012-11-16 Andrej Lajovic <natrij@gmail.com>
8053
8054 [BZ #14672]
8055 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
8056
447885eb
DM
80572012-11-16 David S. Miller <davem@davemloft.net>
8058
8059 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
8060 smaller than LDBL_EPSILON/2.0L, just return xm1.
8061
bcbf9830
L
80622012-11-16 H.J. Lu <hongjiu.lu@intel.com>
8063
8064 * elf/tst-array1.c (init): Set constructor priority to 1000.
8065 (fini): Set destructor priority to 1000.
8066 * elf/tst-array2dep.c: Likewise.
8067
2b766585
SP
80682012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8069
8070 [BZ #11741]
8071 * libio/fileops.c (_IO_new_file_write): Correctly return error.
8072 (_IO_new_file_xsputn): Also return EOF if none of the input
8073 data was written when overflow failed.
8074 * libio/iopadn.c (_IO_padn): Likewise.
8075 * libio/iowpadn.c (_IO_wpadn): Likewise.
8076 * stdio-common/tst-put-error.c: Add copyright notice.
8077 (do_test): Add case for printing padded string.
8078 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
8079 _IO_padn returned error.
8080 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
8081 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
8082 return EOF.
8083
b1848fde
SP
80842012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8085
8086 * libio/libioP.h: Add comment note that the references to C++
8087 bits are now obsolete.
8088
2fd89785
MS
80892012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8090
8091 * math/libm-test.inc (check_complex): Use asprintf.
8092
e3ea5409
JM
80932012-11-14 Joseph Myers <joseph@codesourcery.com>
8094
8095 * debug/pcprofiledump.c (print_version): Update copyright year.
8096 * malloc/memusagestat.c (print_version): Likewise.
8097
2e64d265
L
80982012-11-14 H.J. Lu <hongjiu.lu@intel.com>
8099
8100 [BZ #14831]
8101 * elf/Makefile (tests): Add tst-audit8.
8102 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
8103 ($(objpfx)tst-audit8.out): New target.
8104 (tst-audit8-ENV): New variable.
8105 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
8106 audit if l_reloc_result is NULL.
8107 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
8108 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
8109 * elf/tst-audit8.c: New file.
8110
c485e4d2
MS
81112012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8112
8113 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
8114 * misc/Makefile (CFLAGS-select.c): Define.
8115 * posix/Makefile (CFLAGS-pause.c): Define.
8116
3a0d900a
DM
81172012-11-13 David S. Miller <davem@davemloft.net>
8118
8119 * crypt/Makefile: Move test targets after toplevel Rules
8120 inclusion. Grab any necessary sysdep routines when linking.
8121 * crypt/md5.c (md5_process_block): Remove define, we will always
8122 name it __md5_process_block.
8123 (md5_finish_ctx): Update md5_process_block call.
8124 (md5_stream): Likewise.
8125 (md5_process_bytes): Likewise.
8126 (md5_process_block): Rename to __md5_process_block and move to ...
8127 * crypt/md5-block.c: ... here.
8128 * crypt/sha256.c (sha256_process_block): Move to ...
8129 * crypt/sha256-block.c: ... here.
8130 * crypt/sha512.c (sha512_process_block): Move to ...
8131 * crypt/sha512-block.c: ... here.
8132 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
8133 path.
8134 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
8135 * sysdeps/sparc/sparc64/multiarch/Makefile
8136 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
8137 crypt subdir.
8138 (localedef-aux): Add md5 crypto assembler when in locale subdir.
8139 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
8140 multiarch changes.
8141 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
8142 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
8143 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
8144 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
8145 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
8146 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
8147 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
8148 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
8149 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
8150 file.
8151 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
8152 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
8153 file.
8154 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
8155
8ca89318
JM
81562012-11-13 Joseph Myers <joseph@codesourcery.com>
8157
e27d476a
JM
8158 * timezone/tzselect.ksh: Update from tzcode git revision
8159 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
8160 * timezone/zdump.c: Likewise.
8161 * timezone/zic.c: Likewise.
8162 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
8163 in TZVERSION setting, not $(PKGVERSION).
8164 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
8165 REPORT_BUGS_TO settings.
8166
8ca89318
JM
8167 [BZ #14838]
8168 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
8169 macro.
8170
47594329
MS
81712012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8172
8173 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
8174 detection to immediately after _FP_ROUND().
8175 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
8176 bits are 0.
8177
640ac3f1
DM
81782012-11-11 David S. Miller <davem@davemloft.net>
8179
8180 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
8181 inttypes.h
8182 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
8183 __close rather than their public counterparts.
8184
3d2577bb
JM
81852012-11-10 Joseph Myers <joseph@codesourcery.com>
8186
8187 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
8188 file.
8189 [UNIX98] (sem_timedwait): Do not expect.
8190 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
8191 [XPG4 || UNIX98] (sockatmark): Do not expect.
8192 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
8193 (clock_getcpuclockid): Do not expect.
8194 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
8195 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
8196 Do not expect.
8197 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
8198 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
8199 [UNIX98] (vwscanf): Likewise.
8200 [UNIX98] (vswscanf): Likewise.
8201
fb1ae1ee
JM
82022012-11-09 Joseph Myers <joseph@codesourcery.com>
8203
9ec6f8bd
JM
8204 * timezone/version.h: Remove file.
8205 * timezone/README: Do not refer to version.h.
8206 * timezone/Makefile ($(objpfx)zic.o): New dependency on
8207 $(objpfx)version.h.
8208 ($(objpfx)zdump.o): Likewise.
c3f81911 8209 ($(objpfx)version.h): New target.
9ec6f8bd 8210
0aa8f8a1
JM
8211 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
8212 2012i.
8213 * timezone/README: Don't mention modification to tzselect.ksh.
8214 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
8215 work on unmodified tzselect.ksh. Substitute version numbers in
8216 tzselect.ksh.
8217
4e87147f
JM
8218 * Makefile (format-me): Remove.
8219 (INSTALL): Adjust indentation. Use commands directly instead of
8220 using $(format-me).
8221
8b748aed
JM
8222 * aclocal.m4 (ACX_PKGVERSION): New macro.
8223 (ACX_BUGURL): Likewise.
8224 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
8225 (PKGVERSION): New AC_DEFINE_UNQUOTED.
8226 (REPORT_BUGS_TO): Likewise.
8227 * configure: Regenerated.
8228 * config.h.in (PKGVERSION): New macro.
8229 (REPORT_BUGS_TO): Likewise.
8230 * config.make.in (PKGVERSION): New variable.
8231 (PKGVERSION_TEXI): Likewise.
8232 (REPORT_BUGS_TO): Likewise.
8233 (REPORT_BUGS_TEXI): Likewise.
8234 * Makefile (format-me): Use -I$(common-objpfx)manual.
8235 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
8236 ($(common-objpfx)manual/%): New target.
8237 (manual/%): Remove target.
8238 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
8239 (print_version): Use PKGVERSION.
8240 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
8241 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
8242 and REPORT_BUGS_TO.
8243 ($(objpfx)xtrace): Likewise.
8244 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
8245 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
8246 (print_version): Use PKGVERSION.
8247 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
8248 (do_version): Use PKGVERSION.
8249 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
8250 REPORT_BUGS_TO.
8251 (common-ldd-rewrite): Likewise.
8252 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
8253 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
8254 (print_version): Use PKGVERSION.
8255 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
8256 * elf/pldd.c (argp_program_bug_address): Remove variable.
8257 (more_help): New function.
8258 (argp): Use more_help.
8259 (print_version): Use PKGVERSION.
8260 * elf/sln.c (main): Use PKGVERSION.
8261 (usage): Use REPORT_BUGS_TO.
8262 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
8263 (top level): Use PKGVERSION.
8264 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
8265 (print_version): Use PKGVERSION.
8266 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
8267 (print_version): Use PKGVERSION.
8268 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
8269 (print_version): Use PKGVERSION.
8270 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
8271 (print_version): Use PKGVERSION.
8272 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
8273 (print_version): Use PKGVERSION.
8274 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
8275 (print_version): Use PKGVERSION.
8276 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
8277 and BUGURL.
8278 ($(objpfx)memusage): Likewise.
8279 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
8280 (do_version): Use PKGVERSION.
8281 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
8282 (print_version): Use PKGVERSION.
8283 * malloc/mtrace.pl ($PACKAGE): Remove variable.
8284 ($PKGVERSION): New variable.
8285 ($REPORT_BUGS_TO): Likewise.
8286 (usage): Use $REPORT_BUGS_TO.
8287 (top level): Use $PKGVERSION.
8288 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
8289 ($(objpfx)pkgvers.texi): New rule.
8290 ($(objpfx)stamp-pkgvers): Likewise.
8291 * manual/install.texi: Include pkgvers.texi.
8292 (--with-pkgversion): Document new configure option.
8293 (--with-bugurl): Likewise.
8294 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
8295 than necessarily for this particular distribution. Use
8296 REPORT_BUGS_TO for where to report bugs.
8297 * INSTALL: Regenerated.
8298 * manual/libc.texinfo: Include pkgvers.texi.
8299 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
8300 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
8301 (print_version): Use PKGVERSION.
8302 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
8303 (print_version): Use PKGVERSION.
8304 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
8305 (print_version): Use PKGVERSION.
8306 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
8307 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
8308 macro.
8309 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
8310 (print_version): Use PKGVERSION.
8311 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
8312 (print_version): Use PKGVERSION.
8313 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
8314 and PKGVERSION.
8315
92e4b6a9
JM
8316 * timezone/checktab.awk: Update from tzcode 2012i.
8317 * timezone/ialloc.c: Likewise.
8318 * timezone/private.h: Likewise.
8319 * timezone/scheck.c: Likewise.
8320 * timezone/tzfile.h: Likewise.
8321 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
8322 (TZVERSION): Hardcode tzcode version number.
8323 * timezone/zdump.c: Update from tzcode 2012i.
8324 * timezone/zic.c: Likewise.
8325 * timezone/version.h: New file.
8326 * timezone/README: Describe version.h. Update upstream location.
8327
9bde902c
JM
8328 [BZ #14824]
8329 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
8330 (mktemp): Enable declaration.
8331 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
8332 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
8333 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
8334 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
8335 Likewise.
8336 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
8337 Likewise.
8338 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
8339 Likewise.
8340 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
8341 Likewise.
8342 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
8343 Likewise.
8344 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
8345 Likewise.
8346
fb1ae1ee
JM
8347 [BZ #14821]
8348 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
8349 offset in buffer as u_int32_t not u_long. Consistently use memcpy
8350 for copies of such integer values.
8351 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
8352 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
8353
2c1adbcb
AJ
83542012-11-09 Andreas Jaeger <aj@suse.de>
8355
8356 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
8357 definitions and declarations that are provided by
8358 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8359
d0f8457e
AK
83602012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8361
3a235abb 8362 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
8363 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
8364 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
8365 definition.
8366
57241e26
MS
83672012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8368
8369 * elf/elf.h: Update comment before AArch64 relocations.
8370
60e8270d
DM
83712012-11-07 David S. Miller <davem@davemloft.net>
8372
8373 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
8374 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8375 (__start_context): Declare.
8376 (__makecontext_ret): Delete.
8377 (__makecontext): Hook up __start_context instead of
8378 __makecontext_ret.
8379 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8380 (sysdep_routines): Add __start_context when in stdlib.
8381
0fbb0fbc
JM
83822012-11-07 Joseph Myers <joseph@codesourcery.com>
8383
8384 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
8385 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
8386 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
8387 hardcoded "nm".
8388 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
8389 (READELF): New variable. Use it instead of hardcoded "readelf".
8390
eb48db7e
L
83912012-11-07 H.J. Lu <hongjiu.lu@intel.com>
8392
8393 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
8394 * sysdeps/x86/Makefile: Here.
8395 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
8396 * sysdeps/x86/tst-xmmymm.sh: This.
8397
05bcf62a
JM
83982012-11-07 Joseph Myers <joseph@codesourcery.com>
8399
c4b6cf53
JM
8400 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
8401 expectations.
8402 [UNIX98] (pthread_barrier_t): Do not expect.
8403 [UNIX98] (pthread_barrierattr_t): Likewise.
8404 [UNIX98] (pthread_spinlock_t): Likewise.
8405 [UNIX98] (pthread_barrier_destroy): Likewise.
8406 [UNIX98] (pthread_barrier_init): Likewise.
8407 [UNIX98] (pthread_barrier_wait): Likewise.
8408 [UNIX98] (pthread_barrierattr_destroy): Likewise.
8409 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
8410 [UNIX98] (pthread_barrierattr_init): Likewise.
8411 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
8412 [UNIX98] (pthread_getcpuclockid): Likewise.
8413 [UNIX98] (pthread_mutex_timedlock): Likewise.
8414 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
8415 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
8416 [UNIX98] (pthread_sigmask): Likewise.
8417 [UNIX98] (pthread_spin_destroy): Likewise.
8418 [UNIX98] (pthread_spin_init): Likewise.
8419 [UNIX98] (pthread_spin_lock): Likewise.
8420 [UNIX98] (pthread_spin_trylock): Likewise.
8421 [UNIX98] (pthread_spin_unlock): Likewise.
8422 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
8423 Do not expect.
8424 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
8425 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
8426 [XPG3 || XPG4] (pthread_cond_t): Likewise.
8427 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
8428 [XPG3 || XPG4] (pthread_key_t): Likewise.
8429 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
8430 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
8431 [XPG3 || XPG4] (pthread_once_t): Likewise.
8432 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
8433 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
8434 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
8435 [XPG3 || XPG4] (pthread_t): Likewise.
8436
cbe6e120
JM
8437 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
8438 not expect.
8439 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
8440
1b126443
JM
8441 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
8442 Change function return type to int.
8443
b961a573
JM
8444 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
8445 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
8446 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
8447 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
8448 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
8449 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
8450 [!POSIX] (posix_madvise): Likewise.
8451 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
8452 && !UNIX98].
8453 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
8454 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
8455 (mode_t): Likewise.
8456 (posix_mem_offset): Likewise.
8457 (posix_typed_mem_get_info): Likewise.
8458 (posix_typed_mem_open): Likewise.
8459
9e188909
JM
8460 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
8461 Change condition to [XOPEN2K8].
8462
05bcf62a
JM
8463 * conform/conformtest.pl: Preprocess allow-header data with -x c
8464 instead of from stdin.
8465 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
8466 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
8467 [C99-based standards] (cerfc): Likewise.
8468 [C99-based standards] (cexp2): Likewise.
8469 [C99-based standards] (cexpm1): Likewise.
8470 [C99-based standards] (clog10): Likewise.
8471 [C99-based standards] (clog1p): Likewise.
8472 [C99-based standards] (clog2): Likewise.
8473 [C99-based standards] (clgamma): Likewise.
8474 [C99-based standards] (ctgamma): Likewise.
8475 [C99-based standards] (cerff): Likewise.
8476 [C99-based standards] (cerfcf): Likewise.
8477 [C99-based standards] (cexp2f): Likewise.
8478 [C99-based standards] (cexpm1f): Likewise.
8479 [C99-based standards] (clog10f): Likewise.
8480 [C99-based standards] (clog1pf): Likewise.
8481 [C99-based standards] (clog2f): Likewise.
8482 [C99-based standards] (clgammaf): Likewise.
8483 [C99-based standards] (ctgammaf): Likewise.
8484 [C99-based standards] (cerfl): Likewise.
8485 [C99-based standards] (cerfcl): Likewise.
8486 [C99-based standards] (cexp2l): Likewise.
8487 [C99-based standards] (cexpm1l): Likewise.
8488 [C99-based standards] (clog10l): Likewise.
8489 [C99-based standards] (clog1pl): Likewise.
8490 [C99-based standards] (clog2l): Likewise.
8491 [C99-based standards] (clgammal): Likewise.
8492 [C99-based standards] (ctgammal): Likewise.
8493 * conform/data/inttypes.h-data [C99-based standards]: Include
8494 stdint.h-data. Remove all expectations for stdint.h contents.
8495 [C99-based standards] (PRI*): Do not allow.
8496 [C99-based standards] (SCN*): Likewise.
8497 [C99-based standards] (*_t): Likewise.
8498 [C99-based-standards] (PRId8): Expect macro.
8499 [C99-based-standards] (PRIi8): Likewise.
8500 [C99-based-standards] (PRIo8): Likewise.
8501 [C99-based-standards] (PRIu8): Likewise.
8502 [C99-based-standards] (PRIx8): Likewise.
8503 [C99-based-standards] (PRIX8): Likewise.
8504 [C99-based-standards] (SCNd8): Likewise.
8505 [C99-based-standards] (SCNi8): Likewise.
8506 [C99-based-standards] (SCNo8): Likewise.
8507 [C99-based-standards] (SCNu8): Likewise.
8508 [C99-based-standards] (SCNx8): Likewise.
8509 [C99-based-standards] (PRIdLEAST8): Likewise.
8510 [C99-based-standards] (PRIiLEAST8): Likewise.
8511 [C99-based-standards] (PRIoLEAST8): Likewise.
8512 [C99-based-standards] (PRIuLEAST8): Likewise.
8513 [C99-based-standards] (PRIxLEAST8): Likewise.
8514 [C99-based-standards] (PRIXLEAST8): Likewise.
8515 [C99-based-standards] (SCNdLEAST8): Likewise.
8516 [C99-based-standards] (SCNiLEAST8): Likewise.
8517 [C99-based-standards] (SCNoLEAST8): Likewise.
8518 [C99-based-standards] (SCNuLEAST8): Likewise.
8519 [C99-based-standards] (SCNxLEAST8): Likewise.
8520 [C99-based-standards] (PRIdFAST8): Likewise.
8521 [C99-based-standards] (PRIiFAST8): Likewise.
8522 [C99-based-standards] (PRIoFAST8): Likewise.
8523 [C99-based-standards] (PRIuFAST8): Likewise.
8524 [C99-based-standards] (PRIxFAST8): Likewise.
8525 [C99-based-standards] (PRIXFAST8): Likewise.
8526 [C99-based-standards] (SCNdFAST8): Likewise.
8527 [C99-based-standards] (SCNiFAST8): Likewise.
8528 [C99-based-standards] (SCNoFAST8): Likewise.
8529 [C99-based-standards] (SCNuFAST8): Likewise.
8530 [C99-based-standards] (SCNxFAST8): Likewise.
8531 [C99-based-standards] (PRId16): Likewise.
8532 [C99-based-standards] (PRIi16): Likewise.
8533 [C99-based-standards] (PRIo16): Likewise.
8534 [C99-based-standards] (PRIu16): Likewise.
8535 [C99-based-standards] (PRIx16): Likewise.
8536 [C99-based-standards] (PRIX16): Likewise.
8537 [C99-based-standards] (SCNd16): Likewise.
8538 [C99-based-standards] (SCNi16): Likewise.
8539 [C99-based-standards] (SCNo16): Likewise.
8540 [C99-based-standards] (SCNu16): Likewise.
8541 [C99-based-standards] (SCNx16): Likewise.
8542 [C99-based-standards] (PRIdLEAST16): Likewise.
8543 [C99-based-standards] (PRIiLEAST16): Likewise.
8544 [C99-based-standards] (PRIoLEAST16): Likewise.
8545 [C99-based-standards] (PRIuLEAST16): Likewise.
8546 [C99-based-standards] (PRIxLEAST16): Likewise.
8547 [C99-based-standards] (PRIXLEAST16): Likewise.
8548 [C99-based-standards] (SCNdLEAST16): Likewise.
8549 [C99-based-standards] (SCNiLEAST16): Likewise.
8550 [C99-based-standards] (SCNoLEAST16): Likewise.
8551 [C99-based-standards] (SCNuLEAST16): Likewise.
8552 [C99-based-standards] (SCNxLEAST16): Likewise.
8553 [C99-based-standards] (PRIdFAST16): Likewise.
8554 [C99-based-standards] (PRIiFAST16): Likewise.
8555 [C99-based-standards] (PRIoFAST16): Likewise.
8556 [C99-based-standards] (PRIuFAST16): Likewise.
8557 [C99-based-standards] (PRIxFAST16): Likewise.
8558 [C99-based-standards] (PRIXFAST16): Likewise.
8559 [C99-based-standards] (SCNdFAST16): Likewise.
8560 [C99-based-standards] (SCNiFAST16): Likewise.
8561 [C99-based-standards] (SCNoFAST16): Likewise.
8562 [C99-based-standards] (SCNuFAST16): Likewise.
8563 [C99-based-standards] (SCNxFAST16): Likewise.
8564 [C99-based-standards] (PRId32): Likewise.
8565 [C99-based-standards] (PRIi32): Likewise.
8566 [C99-based-standards] (PRIo32): Likewise.
8567 [C99-based-standards] (PRIu32): Likewise.
8568 [C99-based-standards] (PRIx32): Likewise.
8569 [C99-based-standards] (PRIX32): Likewise.
8570 [C99-based-standards] (SCNd32): Likewise.
8571 [C99-based-standards] (SCNi32): Likewise.
8572 [C99-based-standards] (SCNo32): Likewise.
8573 [C99-based-standards] (SCNu32): Likewise.
8574 [C99-based-standards] (SCNx32): Likewise.
8575 [C99-based-standards] (PRIdLEAST32): Likewise.
8576 [C99-based-standards] (PRIiLEAST32): Likewise.
8577 [C99-based-standards] (PRIoLEAST32): Likewise.
8578 [C99-based-standards] (PRIuLEAST32): Likewise.
8579 [C99-based-standards] (PRIxLEAST32): Likewise.
8580 [C99-based-standards] (PRIXLEAST32): Likewise.
8581 [C99-based-standards] (SCNdLEAST32): Likewise.
8582 [C99-based-standards] (SCNiLEAST32): Likewise.
8583 [C99-based-standards] (SCNoLEAST32): Likewise.
8584 [C99-based-standards] (SCNuLEAST32): Likewise.
8585 [C99-based-standards] (SCNxLEAST32): Likewise.
8586 [C99-based-standards] (PRIdFAST32): Likewise.
8587 [C99-based-standards] (PRIiFAST32): Likewise.
8588 [C99-based-standards] (PRIoFAST32): Likewise.
8589 [C99-based-standards] (PRIuFAST32): Likewise.
8590 [C99-based-standards] (PRIxFAST32): Likewise.
8591 [C99-based-standards] (PRIXFAST32): Likewise.
8592 [C99-based-standards] (SCNdFAST32): Likewise.
8593 [C99-based-standards] (SCNiFAST32): Likewise.
8594 [C99-based-standards] (SCNoFAST32): Likewise.
8595 [C99-based-standards] (SCNuFAST32): Likewise.
8596 [C99-based-standards] (SCNxFAST32): Likewise.
8597 [C99-based-standards] (PRId64): Likewise.
8598 [C99-based-standards] (PRIi64): Likewise.
8599 [C99-based-standards] (PRIo64): Likewise.
8600 [C99-based-standards] (PRIu64): Likewise.
8601 [C99-based-standards] (PRIx64): Likewise.
8602 [C99-based-standards] (PRIX64): Likewise.
8603 [C99-based-standards] (SCNd64): Likewise.
8604 [C99-based-standards] (SCNi64): Likewise.
8605 [C99-based-standards] (SCNo64): Likewise.
8606 [C99-based-standards] (SCNu64): Likewise.
8607 [C99-based-standards] (SCNx64): Likewise.
8608 [C99-based-standards] (PRIdLEAST64): Likewise.
8609 [C99-based-standards] (PRIiLEAST64): Likewise.
8610 [C99-based-standards] (PRIoLEAST64): Likewise.
8611 [C99-based-standards] (PRIuLEAST64): Likewise.
8612 [C99-based-standards] (PRIxLEAST64): Likewise.
8613 [C99-based-standards] (PRIXLEAST64): Likewise.
8614 [C99-based-standards] (SCNdLEAST64): Likewise.
8615 [C99-based-standards] (SCNiLEAST64): Likewise.
8616 [C99-based-standards] (SCNoLEAST64): Likewise.
8617 [C99-based-standards] (SCNuLEAST64): Likewise.
8618 [C99-based-standards] (SCNxLEAST64): Likewise.
8619 [C99-based-standards] (PRIdFAST64): Likewise.
8620 [C99-based-standards] (PRIiFAST64): Likewise.
8621 [C99-based-standards] (PRIoFAST64): Likewise.
8622 [C99-based-standards] (PRIuFAST64): Likewise.
8623 [C99-based-standards] (PRIxFAST64): Likewise.
8624 [C99-based-standards] (PRIXFAST64): Likewise.
8625 [C99-based-standards] (SCNdFAST64): Likewise.
8626 [C99-based-standards] (SCNiFAST64): Likewise.
8627 [C99-based-standards] (SCNoFAST64): Likewise.
8628 [C99-based-standards] (SCNuFAST64): Likewise.
8629 [C99-based-standards] (SCNxFAST64): Likewise.
8630 [C99-based-standards] (PRIdMAX): Likewise.
8631 [C99-based-standards] (PRIiMAX): Likewise.
8632 [C99-based-standards] (PRIoMAX): Likewise.
8633 [C99-based-standards] (PRIuMAX): Likewise.
8634 [C99-based-standards] (PRIxMAX): Likewise.
8635 [C99-based-standards] (PRIXMAX): Likewise.
8636 [C99-based-standards] (SCNdMAX): Likewise.
8637 [C99-based-standards] (SCNiMAX): Likewise.
8638 [C99-based-standards] (SCNoMAX): Likewise.
8639 [C99-based-standards] (SCNuMAX): Likewise.
8640 [C99-based-standards] (SCNxMAX): Likewise.
8641 [C99-based-standards] (PRIdPTR): Likewise.
8642 [C99-based-standards] (PRIiPTR): Likewise.
8643 [C99-based-standards] (PRIoPTR): Likewise.
8644 [C99-based-standards] (PRIuPTR): Likewise.
8645 [C99-based-standards] (PRIxPTR): Likewise.
8646 [C99-based-standards] (PRIXPTR): Likewise.
8647 [C99-based-standards] (SCNdPTR): Likewise.
8648 [C99-based-standards] (SCNiPTR): Likewise.
8649 [C99-based-standards] (SCNoPTR): Likewise.
8650 [C99-based-standards] (SCNuPTR): Likewise.
8651 [C99-based-standards] (SCNxPTR): Likewise.
8652 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
8653 allow.
8654 * conform/data/stdint.h-data: Update comments to clarify
8655 requirements.
8656 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
8657 type.
8658 [C99-based standards] (INT8_MAX): Likewise.
8659 [C99-based standards] (INT16_MIN): Likewise.
8660 [C99-based standards] (INT16_MAX): Likewise.
8661 [C99-based standards] (INT32_MIN): Likewise.
8662 [C99-based standards] (INT32_MAX): Likewise.
8663 [C99-based standards] (INT64_MIN): Likewise.
8664 [C99-based standards] (INT64_MAX): Likewise.
8665 [C99-based standards] (UINT8_MAX): Likewise.
8666 [C99-based standards] (UINT16_MAX): Likewise.
8667 [C99-based standards] (UINT32_MAX): Likewise.
8668 [C99-based standards] (UINT64_MAX): Likewise.
8669 [C99-based standards] (INT_LEAST8_MIN): Likewise.
8670 [C99-based standards] (INT_LEAST8_MAX): Likewise.
8671 [C99-based standards] (INT_LEAST16_MIN): Likewise.
8672 [C99-based standards] (INT_LEAST16_MAX): Likewise.
8673 [C99-based standards] (INT_LEAST32_MIN): Likewise.
8674 [C99-based standards] (INT_LEAST32_MAX): Likewise.
8675 [C99-based standards] (INT_LEAST64_MIN): Likewise.
8676 [C99-based standards] (INT_LEAST64_MAX): Likewise.
8677 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
8678 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
8679 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
8680 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
8681 [C99-based standards] (INT_FAST8_MIN): Likewise.
8682 [C99-based standards] (INT_FAST8_MAX): Likewise.
8683 [C99-based standards] (INT_FAST16_MIN): Likewise.
8684 [C99-based standards] (INT_FAST16_MAX): Likewise.
8685 [C99-based standards] (INT_FAST32_MIN): Likewise.
8686 [C99-based standards] (INT_FAST32_MAX): Likewise.
8687 [C99-based standards] (INT_FAST64_MIN): Likewise.
8688 [C99-based standards] (INT_FAST64_MAX): Likewise.
8689 [C99-based standards] (UINT_FAST8_MAX): Likewise.
8690 [C99-based standards] (UINT_FAST16_MAX): Likewise.
8691 [C99-based standards] (UINT_FAST32_MAX): Likewise.
8692 [C99-based standards] (UINT_FAST64_MAX): Likewise.
8693 [C99-based standards] (INTPTR_MIN): Likewise.
8694 [C99-based standards] (INTPTR_MAX): Likewise.
8695 [C99-based standards] (UINTPTR_MAX): Likewise.
8696 [C99-based standards] (INTMAX_MIN): Likewise.
8697 [C99-based standards] (INTMAX_MAX): Likewise.
8698 [C99-based standards] (UINTMAX_MAX): Likewise.
8699 [C99-based standards] (PTRDIFF_MIN): Likewise.
8700 [C99-based standards] (PTRDIFF_MAX): Likewise.
8701 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
8702 [C99-based standards] (SIZE_MAX): Likewise.
8703 [C99-based standards] (WCHAR_MAX): Likewise.
8704 [C99-based standards] (WINT_MAX): Likewise.
8705 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
8706 constraint on value.
8707 [C99-based standards] (WCHAR_MIN): Likewise.
8708 [C99-based standards] (WINT_MIN): Likewise.
8709 [C99-based standards] (*_t): Allow.
8710 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
8711 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
8712 Include math.h-data and complex.h-data. Remove all expectations
8713 of math.h and complex.h contents.
8714 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
8715 at end of line.
8716 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
8717 (struct tm): Expect tag.
8718 [C99-based-standards] (wcstof): Expect function.
8719 [C99-based-standards] (wcstold): Likewise.
8720 [C99-based-standards] (wcstoll): Likewise.
8721 [C99-based-standards] (wcstoull): Likewise.
8722 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
8723 macro-int-constant. Specify type.
8724 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
8725 constraint on value.
8726 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8727 Specify type.
8728 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
8729 Specify value.
8730 [ISO C standards]: Do not allow headers.
8731 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
8732 wcs[abcdefghijklmnopqrstuvwxyz]*.
8733 [ISO C standards] (*_t): Do not allow.
8734 * conform/data/wctype.h-data [C99-based standards] (iswblank):
8735 Expect function.
8736 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
8737 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8738 Specify type.
8739 [ISO C standards]: Do not allow headers.
8740 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
8741 is[abcdefghijklmnopqrstuvwxyz]*.
8742 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
8743 to[abcdefghijklmnopqrstuvwxyz]*.
8744 [ISO C standards] (*_t): Do not allow.
8745 * conform/data/stdalign.h-data: New file.
8746 * conform/data/stdbool.h-data: Likewise.
8747 * conform/data/stdnoreturn.h-data: Likewise.
8748
7514feb8
RM
87492012-11-07 Roland McGrath <roland@hack.frob.com>
8750
8751 [BZ #14815]
8752 * manual/filesys.texi (Directory Entries): Typo fix.
8753 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
8754
19b2ecfc
MS
87552012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8756
8757 * elf/elf.h (EM_AARCH64): New macro.
8758 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
8759 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
8760 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
8761 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
8762 (R_AARCH64_TLSDESC): Likewise.
8763 (NT_ARM_TLS): Likewise.
8764 (NT_ARM_HW_BREAK): Likewise.
8765 (NT_ARM_HW_WATCH): Likewise.
8766
60e235ee
JM
87672012-11-07 Joseph Myers <joseph@codesourcery.com>
8768
8769 [BZ #14811]
8770 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
8771 (__ieee754_powl): Saturate nonzero exponents with absolute value
8772 below 0x1p-79 to +/- 0x1p-79.
8773 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
8774 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
8775 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
8776 nonzero exponents with absolute value below 0x1p-32 to +/-
8777 0x1p-32.
8778 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
8779 (__ieee754_powl): Saturate nonzero exponents with absolute value
8780 below 0x1p-79 to +/- 0x1p-79.
8781 * math/libm-test.inc (pow_test): Add more tests.
8782
0ab234b7
AK
87832012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8784
8785 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
8786 _dl_s390_cap_flags with kernel. Increase string length.
8787 (_dl_s390_platforms): Add z196 and zEC12.
8788
45832f74
JM
87892012-11-07 Joseph Myers <joseph@codesourcery.com>
8790
8791 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
8792 Change XOPEN21K to XOPEN2K.
8793
19218757
MK
87942012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
8795
8796 * string/memmove.c: Use memcpy when possible.
8797
c5f45721
AJ
87982012-11-06 Andreas Jaeger <aj@suse.de>
8799
8800 * po/eo.po: Update from translation team.
8801
82477c28
JM
88022012-11-06 Joseph Myers <joseph@codesourcery.com>
8803
8804 [BZ #14793]
8805 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
8806 exponent and small x and y exponents, scale x or y up. Increase
8807 by 2 the exponent used in scaling up.
8808 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8809 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8810 * math/libm-test.inc (fma_test): Add more tests.
8811 (fma_test_towardzero): Likewise.
8812 (fma_test_downward): Likewise.
8813 (fma_test_upward): Likewise.
8814
99252c8c
JM
88152012-11-05 Joseph Myers <joseph@codesourcery.com>
8816
acfa885f
JM
8817 [BZ #14805]
8818 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
8819 fenv_t *.
8820
99252c8c
JM
8821 [BZ #14801]
8822 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
8823 namespace for names of struct fields.
8824 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
8825 fenv_t fields.
8826 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8827 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
8828
d6d98dea
ST
88292012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8830
8831 [BZ #3665]
8832 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
8833
e10bb107
TS
88342012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8835
8836 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
8837 PTR_DEMANGLE.
8838
8839 [BZ #5246]
8840 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
8841 PTR_DEMANGLE.
8842
a0c2940d
JM
88432012-11-04 Joseph Myers <joseph@codesourcery.com>
8844
8845 [BZ #14797]
8846 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
8847 definitely overflow as x * y not x * y + z.
8848 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8849 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8850 * math/libm-test.inc (fma_test): Add more tests.
8851 (fma_test_towardzero): Likewise.
8852 (fma_test_downward): Likewise.
8853 (fma_test_upward): Likewise.
8854
b830319d
TS
88552012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8856
8857 [BZ #157]
8858
8859 * include/stub-tag.h: Remove file.
8860 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
8861 '#include' of it.
8862 * manual/maint.texi (Porting): Don't reference it.
8863 * Makerules ($(objpfx)stubs): Likewise.
8864 * dirent/closedir.c: Don't include <stub-tag.h>.
8865 * dirent/dirfd.c: Likewise.
8866 * dirent/fdopendir.c: Likewise.
8867 * dirent/getdents.c: Likewise.
8868 * dirent/getdents64.c: Likewise.
8869 * dirent/opendir.c: Likewise.
8870 * dirent/readdir.c: Likewise.
8871 * dirent/readdir64.c: Likewise.
8872 * dirent/readdir64_r.c: Likewise.
8873 * dirent/readdir_r.c: Likewise.
8874 * dirent/rewinddir.c: Likewise.
8875 * dirent/seekdir.c: Likewise.
8876 * dirent/telldir.c: Likewise.
8877 * gmon/profil.c: Likewise.
8878 * grp/setgroups.c: Likewise.
8879 * inet/if_index.c: Likewise.
8880 * io/access.c: Likewise.
8881 * io/chdir.c: Likewise.
8882 * io/chmod.c: Likewise.
8883 * io/chown.c: Likewise.
8884 * io/close.c: Likewise.
8885 * io/dup.c: Likewise.
8886 * io/dup2.c: Likewise.
8887 * io/dup3.c: Likewise.
8888 * io/euidaccess.c: Likewise.
8889 * io/faccessat.c: Likewise.
8890 * io/fchdir.c: Likewise.
8891 * io/fchmod.c: Likewise.
8892 * io/fchmodat.c: Likewise.
8893 * io/fchown.c: Likewise.
8894 * io/fchownat.c: Likewise.
8895 * io/fcntl.c: Likewise.
8896 * io/flock.c: Likewise.
8897 * io/fstatfs.c: Likewise.
8898 * io/fstatfs64.c: Likewise.
8899 * io/fstatvfs.c: Likewise.
8900 * io/fstatvfs64.c: Likewise.
8901 * io/futimens.c: Likewise.
8902 * io/fxstat.c: Likewise.
8903 * io/fxstat64.c: Likewise.
8904 * io/fxstatat.c: Likewise.
8905 * io/fxstatat64.c: Likewise.
8906 * io/getcwd.c: Likewise.
8907 * io/isatty.c: Likewise.
8908 * io/lchmod.c: Likewise.
8909 * io/lchown.c: Likewise.
8910 * io/link.c: Likewise.
8911 * io/linkat.c: Likewise.
8912 * io/lseek.c: Likewise.
8913 * io/lseek64.c: Likewise.
8914 * io/lxstat64.c: Likewise.
8915 * io/mkdir.c: Likewise.
8916 * io/mkdirat.c: Likewise.
8917 * io/mkfifo.c: Likewise.
8918 * io/mkfifoat.c: Likewise.
8919 * io/open.c: Likewise.
8920 * io/open64.c: Likewise.
8921 * io/openat.c: Likewise.
8922 * io/openat64.c: Likewise.
8923 * io/pipe.c: Likewise.
8924 * io/pipe2.c: Likewise.
8925 * io/poll.c: Likewise.
8926 * io/posix_fadvise.c: Likewise.
8927 * io/posix_fadvise64.c: Likewise.
8928 * io/posix_fallocate.c: Likewise.
8929 * io/posix_fallocate64.c: Likewise.
8930 * io/read.c: Likewise.
8931 * io/readlink.c: Likewise.
8932 * io/readlinkat.c: Likewise.
8933 * io/rmdir.c: Likewise.
8934 * io/sendfile.c: Likewise.
8935 * io/sendfile64.c: Likewise.
8936 * io/statfs.c: Likewise.
8937 * io/statfs64.c: Likewise.
8938 * io/statvfs.c: Likewise.
8939 * io/statvfs64.c: Likewise.
8940 * io/symlink.c: Likewise.
8941 * io/symlinkat.c: Likewise.
8942 * io/ttyname.c: Likewise.
8943 * io/ttyname_r.c: Likewise.
8944 * io/umask.c: Likewise.
8945 * io/unlink.c: Likewise.
8946 * io/unlinkat.c: Likewise.
8947 * io/utime.c: Likewise.
8948 * io/utimensat.c: Likewise.
8949 * io/write.c: Likewise.
8950 * io/xmknod.c: Likewise.
8951 * io/xmknodat.c: Likewise.
8952 * io/xstat.c: Likewise.
8953 * io/xstat64.c: Likewise.
8954 * login/getpt.c: Likewise.
8955 * login/grantpt.c: Likewise.
8956 * login/unlockpt.c: Likewise.
8957 * math/e_acoshl.c: Likewise.
8958 * math/e_acosl.c: Likewise.
8959 * math/e_asinl.c: Likewise.
8960 * math/e_atan2l.c: Likewise.
8961 * math/e_atanhl.c: Likewise.
8962 * math/e_coshl.c: Likewise.
8963 * math/e_expl.c: Likewise.
8964 * math/e_fmodl.c: Likewise.
8965 * math/e_gammal_r.c: Likewise.
8966 * math/e_hypotl.c: Likewise.
8967 * math/e_j0l.c: Likewise.
8968 * math/e_j1l.c: Likewise.
8969 * math/e_jnl.c: Likewise.
8970 * math/e_lgammal_r.c: Likewise.
8971 * math/e_log10l.c: Likewise.
8972 * math/e_log2l.c: Likewise.
8973 * math/e_logl.c: Likewise.
8974 * math/e_powl.c: Likewise.
8975 * math/e_rem_pio2l.c: Likewise.
8976 * math/e_sinhl.c: Likewise.
8977 * math/e_sqrtl.c: Likewise.
8978 * math/fclrexcpt.c: Likewise.
8979 * math/fedisblxcpt.c: Likewise.
8980 * math/feenablxcpt.c: Likewise.
8981 * math/fegetenv.c: Likewise.
8982 * math/fegetexcept.c: Likewise.
8983 * math/fegetround.c: Likewise.
8984 * math/feholdexcpt.c: Likewise.
8985 * math/fesetenv.c: Likewise.
8986 * math/fesetround.c: Likewise.
8987 * math/feupdateenv.c: Likewise.
8988 * math/fgetexcptflg.c: Likewise.
8989 * math/fraiseexcpt.c: Likewise.
8990 * math/fsetexcptflg.c: Likewise.
8991 * math/ftestexcept.c: Likewise.
8992 * math/k_cosl.c: Likewise.
8993 * math/k_rem_pio2l.c: Likewise.
8994 * math/k_sinl.c: Likewise.
8995 * math/k_tanl.c: Likewise.
8996 * math/s_asinhl.c: Likewise.
8997 * math/s_atanl.c: Likewise.
8998 * math/s_cbrtl.c: Likewise.
8999 * math/s_erfl.c: Likewise.
9000 * math/s_expm1l.c: Likewise.
9001 * math/s_log1pl.c: Likewise.
9002 * math/s_tanhl.c: Likewise.
9003 * misc/acct.c: Likewise.
9004 * misc/brk.c: Likewise.
9005 * misc/chflags.c: Likewise.
9006 * misc/chroot.c: Likewise.
9007 * misc/fchflags.c: Likewise.
9008 * misc/fgetxattr.c: Likewise.
9009 * misc/flistxattr.c: Likewise.
9010 * misc/fremovexattr.c: Likewise.
9011 * misc/fsetxattr.c: Likewise.
9012 * misc/fsync.c: Likewise.
9013 * misc/ftruncate.c: Likewise.
9014 * misc/futimes.c: Likewise.
9015 * misc/futimesat.c: Likewise.
9016 * misc/getdomain.c: Likewise.
9017 * misc/getdtsz.c: Likewise.
9018 * misc/gethostid.c: Likewise.
9019 * misc/gethostname.c: Likewise.
9020 * misc/getloadavg.c: Likewise.
9021 * misc/getpagesize.c: Likewise.
9022 * misc/getsysstats.c: Likewise.
9023 * misc/getxattr.c: Likewise.
9024 * misc/gtty.c: Likewise.
9025 * misc/ioctl.c: Likewise.
9026 * misc/lgetxattr.c: Likewise.
9027 * misc/listxattr.c: Likewise.
9028 * misc/llistxattr.c: Likewise.
9029 * misc/lremovexattr.c: Likewise.
9030 * misc/lsetxattr.c: Likewise.
9031 * misc/lutimes.c: Likewise.
9032 * misc/madvise.c: Likewise.
9033 * misc/mincore.c: Likewise.
9034 * misc/mlock.c: Likewise.
9035 * misc/mlockall.c: Likewise.
9036 * misc/mmap.c: Likewise.
9037 * misc/mprotect.c: Likewise.
9038 * misc/msync.c: Likewise.
9039 * misc/munlock.c: Likewise.
9040 * misc/munlockall.c: Likewise.
9041 * misc/munmap.c: Likewise.
9042 * misc/preadv.c: Likewise.
9043 * misc/preadv64.c: Likewise.
9044 * misc/ptrace.c: Likewise.
9045 * misc/pwritev.c: Likewise.
9046 * misc/pwritev64.c: Likewise.
9047 * misc/readv.c: Likewise.
9048 * misc/reboot.c: Likewise.
9049 * misc/remap_file_pages.c: Likewise.
9050 * misc/removexattr.c: Likewise.
9051 * misc/revoke.c: Likewise.
9052 * misc/select.c: Likewise.
9053 * misc/setdomain.c: Likewise.
9054 * misc/setegid.c: Likewise.
9055 * misc/seteuid.c: Likewise.
9056 * misc/sethostid.c: Likewise.
9057 * misc/sethostname.c: Likewise.
9058 * misc/setregid.c: Likewise.
9059 * misc/setreuid.c: Likewise.
9060 * misc/setxattr.c: Likewise.
9061 * misc/sstk.c: Likewise.
9062 * misc/stty.c: Likewise.
9063 * misc/swapoff.c: Likewise.
9064 * misc/swapon.c: Likewise.
9065 * misc/sync.c: Likewise.
9066 * misc/syncfs.c: Likewise.
9067 * misc/syscall.c: Likewise.
9068 * misc/truncate.c: Likewise.
9069 * misc/ualarm.c: Likewise.
9070 * misc/usleep.c: Likewise.
9071 * misc/ustat.c: Likewise.
9072 * misc/utimes.c: Likewise.
9073 * misc/vhangup.c: Likewise.
9074 * misc/writev.c: Likewise.
9075 * posix/_exit.c: Likewise.
9076 * posix/alarm.c: Likewise.
9077 * posix/execve.c: Likewise.
9078 * posix/fexecve.c: Likewise.
9079 * posix/fork.c: Likewise.
9080 * posix/fpathconf.c: Likewise.
9081 * posix/getaddrinfo.c: Likewise.
9082 * posix/getegid.c: Likewise.
9083 * posix/geteuid.c: Likewise.
9084 * posix/getgid.c: Likewise.
9085 * posix/getgroups.c: Likewise.
9086 * posix/getlogin.c: Likewise.
9087 * posix/getlogin_r.c: Likewise.
9088 * posix/getpgid.c: Likewise.
9089 * posix/getpid.c: Likewise.
9090 * posix/getppid.c: Likewise.
9091 * posix/getresgid.c: Likewise.
9092 * posix/getresuid.c: Likewise.
9093 * posix/getsid.c: Likewise.
9094 * posix/getuid.c: Likewise.
9095 * posix/glob64.c: Likewise.
9096 * posix/nanosleep.c: Likewise.
9097 * posix/pathconf.c: Likewise.
9098 * posix/pause.c: Likewise.
9099 * posix/posix_madvise.c: Likewise.
9100 * posix/pread.c: Likewise.
9101 * posix/pread64.c: Likewise.
9102 * posix/pwrite.c: Likewise.
9103 * posix/pwrite64.c: Likewise.
9104 * posix/sched_getaffinity.c: Likewise.
9105 * posix/sched_getp.c: Likewise.
9106 * posix/sched_gets.c: Likewise.
9107 * posix/sched_primax.c: Likewise.
9108 * posix/sched_primin.c: Likewise.
9109 * posix/sched_rr_gi.c: Likewise.
9110 * posix/sched_setaffinity.c: Likewise.
9111 * posix/sched_setp.c: Likewise.
9112 * posix/sched_sets.c: Likewise.
9113 * posix/sched_yield.c: Likewise.
9114 * posix/setgid.c: Likewise.
9115 * posix/setlogin.c: Likewise.
9116 * posix/setpgid.c: Likewise.
9117 * posix/setresgid.c: Likewise.
9118 * posix/setresuid.c: Likewise.
9119 * posix/setsid.c: Likewise.
9120 * posix/setuid.c: Likewise.
9121 * posix/sleep.c: Likewise.
9122 * posix/spawni.c: Likewise.
9123 * posix/sysconf.c: Likewise.
9124 * posix/times.c: Likewise.
9125 * posix/wait.c: Likewise.
9126 * posix/wait3.c: Likewise.
9127 * posix/wait4.c: Likewise.
9128 * posix/waitpid.c: Likewise.
9129 * resolv/gai_sigqueue.c: Likewise.
9130 * resource/getpriority.c: Likewise.
9131 * resource/getrlimit.c: Likewise.
9132 * resource/getrusage.c: Likewise.
9133 * resource/nice.c: Likewise.
9134 * resource/setpriority.c: Likewise.
9135 * resource/setrlimit.c: Likewise.
9136 * resource/ulimit.c: Likewise.
9137 * rt/aio_cancel.c: Likewise.
9138 * rt/aio_fsync.c: Likewise.
9139 * rt/aio_read.c: Likewise.
9140 * rt/aio_sigqueue.c: Likewise.
9141 * rt/aio_suspend.c: Likewise.
9142 * rt/aio_write.c: Likewise.
9143 * rt/clock_getres.c: Likewise.
9144 * rt/clock_gettime.c: Likewise.
9145 * rt/clock_nanosleep.c: Likewise.
9146 * rt/clock_settime.c: Likewise.
9147 * rt/lio_listio.c: Likewise.
9148 * rt/mq_close.c: Likewise.
9149 * rt/mq_getattr.c: Likewise.
9150 * rt/mq_notify.c: Likewise.
9151 * rt/mq_open.c: Likewise.
9152 * rt/mq_receive.c: Likewise.
9153 * rt/mq_send.c: Likewise.
9154 * rt/mq_setattr.c: Likewise.
9155 * rt/mq_timedreceive.c: Likewise.
9156 * rt/mq_timedsend.c: Likewise.
9157 * rt/mq_unlink.c: Likewise.
9158 * rt/shm_open.c: Likewise.
9159 * rt/shm_unlink.c: Likewise.
9160 * rt/timer_create.c: Likewise.
9161 * rt/timer_delete.c: Likewise.
9162 * rt/timer_getoverr.c: Likewise.
9163 * rt/timer_gettime.c: Likewise.
9164 * rt/timer_settime.c: Likewise.
9165 * setjmp/__longjmp.c: Likewise.
9166 * setjmp/setjmp.c: Likewise.
9167 * signal/kill.c: Likewise.
9168 * signal/killpg.c: Likewise.
9169 * signal/raise.c: Likewise.
9170 * signal/sigaction.c: Likewise.
9171 * signal/sigaltstack.c: Likewise.
9172 * signal/sigblock.c: Likewise.
9173 * signal/sigignore.c: Likewise.
9174 * signal/sigintr.c: Likewise.
9175 * signal/signal.c: Likewise.
9176 * signal/sigpause.c: Likewise.
9177 * signal/sigpending.c: Likewise.
9178 * signal/sigqueue.c: Likewise.
9179 * signal/sigreturn.c: Likewise.
9180 * signal/sigset.c: Likewise.
9181 * signal/sigsetmask.c: Likewise.
9182 * signal/sigstack.c: Likewise.
9183 * signal/sigsuspend.c: Likewise.
9184 * signal/sigtimedwait.c: Likewise.
9185 * signal/sigvec.c: Likewise.
9186 * signal/sigwait.c: Likewise.
9187 * signal/sigwaitinfo.c: Likewise.
9188 * signal/sysv_signal.c: Likewise.
9189 * socket/accept.c: Likewise.
9190 * socket/accept4.c: Likewise.
9191 * socket/bind.c: Likewise.
9192 * socket/connect.c: Likewise.
9193 * socket/getpeername.c: Likewise.
9194 * socket/getsockname.c: Likewise.
9195 * socket/getsockopt.c: Likewise.
9196 * socket/isfdtype.c: Likewise.
9197 * socket/listen.c: Likewise.
9198 * socket/recv.c: Likewise.
9199 * socket/recvfrom.c: Likewise.
9200 * socket/recvmsg.c: Likewise.
9201 * socket/send.c: Likewise.
9202 * socket/sendmsg.c: Likewise.
9203 * socket/sendto.c: Likewise.
9204 * socket/setsockopt.c: Likewise.
9205 * socket/shutdown.c: Likewise.
9206 * socket/sockatmark.c: Likewise.
9207 * socket/socket.c: Likewise.
9208 * socket/socketpair.c: Likewise.
9209 * stdio-common/ctermid.c: Likewise.
9210 * stdio-common/cuserid.c: Likewise.
9211 * stdio-common/remove.c: Likewise.
9212 * stdio-common/rename.c: Likewise.
9213 * stdio-common/renameat.c: Likewise.
9214 * stdio-common/tempname.c: Likewise.
9215 * stdlib/getcontext.c: Likewise.
9216 * stdlib/makecontext.c: Likewise.
9217 * stdlib/setcontext.c: Likewise.
9218 * stdlib/swapcontext.c: Likewise.
9219 * stdlib/system.c: Likewise.
9220 * streams/fattach.c: Likewise.
9221 * streams/fdetach.c: Likewise.
9222 * streams/getmsg.c: Likewise.
9223 * streams/getpmsg.c: Likewise.
9224 * streams/putmsg.c: Likewise.
9225 * streams/putpmsg.c: Likewise.
9226 * sysdeps/unix/bsd/getpt.c: Likewise.
9227 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
9228 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
9229 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9231 Likewise.
9232 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
9233 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9234 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9235 * sysvipc/msgctl.c: Likewise.
9236 * sysvipc/msgget.c: Likewise.
9237 * sysvipc/msgrcv.c: Likewise.
9238 * sysvipc/msgsnd.c: Likewise.
9239 * sysvipc/semctl.c: Likewise.
9240 * sysvipc/semget.c: Likewise.
9241 * sysvipc/semop.c: Likewise.
9242 * sysvipc/semtimedop.c: Likewise.
9243 * sysvipc/shmat.c: Likewise.
9244 * sysvipc/shmctl.c: Likewise.
9245 * sysvipc/shmdt.c: Likewise.
9246 * sysvipc/shmget.c: Likewise.
9247 * termios/tcdrain.c: Likewise.
9248 * termios/tcflow.c: Likewise.
9249 * termios/tcflush.c: Likewise.
9250 * termios/tcgetattr.c: Likewise.
9251 * termios/tcgetpgrp.c: Likewise.
9252 * termios/tcsendbrk.c: Likewise.
9253 * termios/tcsetattr.c: Likewise.
9254 * termios/tcsetpgrp.c: Likewise.
9255 * time/adjtime.c: Likewise.
9256 * time/clock.c: Likewise.
9257 * time/getitimer.c: Likewise.
9258 * time/gettimeofday.c: Likewise.
9259 * time/setitimer.c: Likewise.
9260 * time/settimeofday.c: Likewise.
9261 * time/stime.c: Likewise.
9262 * time/time.c: Likewise.
9263
92642012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 9265
a20492cf
PT
9266 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
9267 /usr/old/bin.
9268
72e182e3
PT
9269 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
9270 instead of spaces.
9271 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
9272
fbeafede
JM
92732012-11-03 Joseph Myers <joseph@codesourcery.com>
9274
5b5b04d6
JM
9275 [BZ #14796]
9276 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
9277 FE_TONEAREST before applying Dekker multiplication and Knuth
9278 addition. Clear inexact exceptions and check for exact zero
9279 results afterwards.
9280 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9281 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9282 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9283 * math/libm-test.inc (fma_test): Add more tests.
9284 (fma_test_towardzero): Likewise.
9285 (fma_test_downward): Likewise.
9286 (fma_test_upward): Likewise.
9287 * sysdeps/generic/math_private.h (default_libc_fesetround): New
9288 function.
9289 (libc_fesetround): New macro.
9290 (libc_fesetroundf): Likewise.
9291 (libc_fesetroundl): Likewise.
9292 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
9293 function.
9294 (libc_fesetround_387): Likewise.
9295 (libc_fesetroundf): New macro.
9296 (libc_fesetround): Likewise.
9297 (libc_fesetroundl): Likewise.
9298 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
9299 function.
9300 (libc_fesetroundf): New macro.
9301 (libc_fesetround): Likewise.
9302 (libc_fesetroundl): Likewise.
9303 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
9304 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
9305 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
9306 libm_hidden_ver.
9307 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
9308 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
9309 libm_hidden_def.
9310 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
9311 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
9312 libm_hidden_ver.
9313 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
9314 libm_hidden_def.
9315
fbeafede
JM
9316 [BZ #3439]
9317 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
9318 integer constant usable in #if and use that to give value to enum
9319 constant.
9320 (FE_DIVBYZERO): Likewise.
9321 (FE_UNDERFLOW): Likewise.
9322 (FE_OVERFLOW): Likewise.
9323 (FE_INVALID): Likewise.
9324 (FE_INVALID_SNAN): Likewise.
9325 (FE_INVALID_ISI): Likewise.
9326 (FE_INVALID_IDI): Likewise.
9327 (FE_INVALID_ZDZ): Likewise.
9328 (FE_INVALID_IMZ): Likewise.
9329 (FE_INVALID_COMPARE): Likewise.
9330 (FE_INVALID_SOFTWARE): Likewise.
9331 (FE_INVALID_SQRT): Likewise.
9332 (FE_INVALID_INTEGER_CONVERSION): Likewise.
9333 (FE_TONEAREST): Likewise.
9334 (FE_TOWARDZERO): Likewise.
9335 (FE_UPWARD): Likewise.
9336 (FE_DOWNWARD): Likewise.
9337 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
9338 (FE_DIVBYZERO): Likewise.
9339 (FE_OVERFLOW): Likewise.
9340 (FE_UNDERFLOW): Likewise.
9341 (FE_INEXACT): Likewise.
9342 (FE_TONEAREST): Likewise.
9343 (FE_DOWNWARD): Likewise.
9344 (FE_UPWARD): Likewise.
9345 (FE_TOWARDZERO): Likewise.
9346 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
9347 (FE_UNDERFLOW): Likewise.
9348 (FE_OVERFLOW): Likewise.
9349 (FE_DIVBYZERO): Likewise.
9350 (FE_INVALID): Likewise.
9351 (FE_TONEAREST): Likewise.
9352 (FE_TOWARDZERO): Likewise.
9353 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
9354 (FE_OVERFLOW): Likewise.
9355 (FE_UNDERFLOW): Likewise.
9356 (FE_DIVBYZERO): Likewise.
9357 (FE_INEXACT): Likewise.
9358 (FE_TONEAREST): Likewise.
9359 (FE_TOWARDZERO): Likewise.
9360 (FE_UPWARD): Likewise.
9361 (FE_DOWNWARD): Likewise.
9362 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
9363 (FE_DIVBYZERO): Likewise.
9364 (FE_OVERFLOW): Likewise.
9365 (FE_UNDERFLOW): Likewise.
9366 (FE_INEXACT): Likewise.
9367 (FE_TONEAREST): Likewise.
9368 (FE_DOWNWARD): Likewise.
9369 (FE_UPWARD): Likewise.
9370 (FE_TOWARDZERO): Likewise.
9371
105ca950
CM
93722012-11-02 Chris Metcalf <cmetcalf@tilera.com>
9373
9374 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
9375
a542b389
AS
93762012-11-03 Andreas Schwab <schwab@linux-m68k.org>
9377
9378 * scripts/cross-test-ssh.sh (command): Use newlines to separate
9379 commands. Quote $PWD.
9380 (blacklist_exports): Don't use remove_newlines. Replace "declare
9381 -x" by "export".
9382 (remove_newlines): Remove.
9383
f62c8abc
L
93842012-11-02 H.J. Lu <hongjiu.lu@intel.com>
9385
9386 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
9387 * stdlib/stdlib.h (atof): Moved to ...
9388 * include/bits/stdlib-float.h: Here. New file.
9389 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
9390 * stdlib/bits/stdlib-float.h: New file.
9391 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
9392 -mno-sse -mno-mmx.
9393 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
9394 <xmmintrin.h>.
9395
0155d5b2
JM
93962012-11-02 Joseph Myers <joseph@codesourcery.com>
9397
a68d0680
JM
9398 * conform/conformtest.pl (@headers): Add fenv.h.
9399 * conform/data/fenv.h-data: New file.
9400 * include/fenv.h [_ISOMAC]: Disable all contents of file except
9401 include of <math/fenv.h>.
9402
caf7f573
JM
9403 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
9404 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
9405 && !UNIX98]. Enables tests for XOPEN2K8.
9406 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
9407 POSIX2008]: Likewise.
9408
6c073ad6
JM
9409 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
9410 (struct rusage): Do not expect type or its members.
9411
0155d5b2
JM
9412 [BZ #3439]
9413 * math/math.h (FP_NAN): Define macro to integer constant usable in
9414 #if and use that to give value to enum constant.
9415 (FP_INFINITE): Likewise.
9416 (FP_ZERO): Likewise.
9417 (FP_SUBNORMAL): Likewise.
9418 (FP_NORMAL): Likewise.
9419
b5dcacb4
AS
94202012-11-02 Andreas Schwab <schwab@linux-m68k.org>
9421
9422 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
9423 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
9424 arguments.
9425
f7934be8
RM
94262012-11-02 Roland McGrath <roland@hack.frob.com>
9427
9428 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
9429 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
9430 autoconf-time if not.
9431 * configure.in: Remove AC_PREREQ.
9432
d7d08bde
TMQMF
94332012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9434
9435 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
9436 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
9437 of the internal implementation.
9438
dcdae19a
JM
94392012-11-02 Joseph Myers <joseph@codesourcery.com>
9440
9441 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
9442 except include of <misc/sys/syslog.h>.
9443
d6cffd3e
AS
94442012-11-01 Andreas Schwab <schwab@linux-m68k.org>
9445
9446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
9447 function returns with a NULL context exit with zero.
9448
b3563932
TMQMF
94492012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9450
9451 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
9452
b288a93d
L
94532012-11-01 H.J. Lu <hongjiu.lu@intel.com>
9454
9455 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
9456 (run_program_cmd): This.
9457 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
9458 (tst_langinfo): New variable. Use it.
9459
a2421a68
SAS
94602012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
9461
9462 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
9463 floating point opcodes.
9464
6f796e1b
TS
94652012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9466
7402596b
TS
9467 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
9468 variable.
9469
d0d4f868
TS
9470 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
9471
6f796e1b
TS
9472 * sysdeps/mach/hurd/powerpc: Remove directory.
9473 * sysdeps/mach/powerpc: Likewise.
9474
4da224a2
AS
94752012-11-01 Andreas Schwab <schwab@linux-m68k.org>
9476
9477 * scripts/check-local-headers.sh: Ignore c++ headers.
9478
341dd673
TS
94792012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9480
9481 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
9482 __libc_cleanup_region_start argument.
9483
473611b2
JM
94842012-11-01 Joseph Myers <joseph@codesourcery.com>
9485
9486 [BZ #14784]
9487 [BZ #14785]
9488 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
9489 x * y using scaling, not as x * y + z.
9490 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9491 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9492 * math/libm-test.inc (fma_test): Add more tests.
9493 (fma_test_towardzero): Likewise.
9494 (fma_test_downward): Likewise.
9495 (fma_test_upward): Likewise.
9496
4078da3d
TS
94972012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9498
9499 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
9500
903252aa
JM
95012012-10-31 Joseph Myers <joseph@codesourcery.com>
9502
9503 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
9504 New variable.
9505
cbc818d0
TS
95062012-10-31 Thomas Schwinge <thomas@codesourcery.com>
9507
9508 * rt/tst-shm.c (worker): Correct checking for mmap failure.
9509
5a03cb1e
AS
95102012-10-31 Andreas Schwab <schwab@linux-m68k.org>
9511
9512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9513 Fix sort order.
9514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9515 Likewise.
9516
90aff2ff
TMQMF
95172012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9518
9519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9520 Fix the order of the list for glibc 2.17.
9521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9522 Likewise.
9523
1818fcb7
AS
95242012-10-31 Andreas Schwab <schwab@linux-m68k.org>
9525
9526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9527
ef82f4da
JM
95282012-10-31 Joseph Myers <joseph@codesourcery.com>
9529
16a0e2ec
JM
9530 [BZ #14610]
9531 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
9532 for low part of x being zero before using __atanl (y).
9533 * math/libm-test.inc (atan2_test): Add another test.
9534
0eb69512
JM
9535 * manual/install.texi (Configuring and compiling): Document
9536 general use of test-wrapper and test-wrapper-env.
9537 * INSTALL: Regenerated.
9538
ef82f4da
JM
9539 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
9540 (__fma): Do not extract and scale down low bits on after-rounding
9541 systems when result rounded to normal precision would have normal
9542 exponent.
9543 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
9544 (__fmal): Do not extract and scale down low bits on after-rounding
9545 systems when result rounded to normal precision would have normal
9546 exponent.
9547 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
9548 (__fmal): Do not extract and scale down low bits on after-rounding
9549 systems when result rounded to normal precision would have normal
9550 exponent.
9551 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
9552 macro.
9553 (fma_test): Add more tests.
9554 (fma_test_towardzero): Likewise.
9555 (fma_test_downward): Likewise.
9556 (fma_test_upward): Likewise.
9557
954ef0d9
L
95582012-10-30 H.J. Lu <hongjiu.lu@intel.com>
9559
9560 * sysdeps/i386/tininess.h: Renamed to ...
9561 * sysdeps/x86/tininess.h: This.
9562 * sysdeps/x86_64/tininess.h: Removed.
9563
df61ffb2
JM
95642012-10-30 Joseph Myers <joseph@codesourcery.com>
9565
9566 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
9567 input. Use $(build-program-cmd).
9568 ($(objpfx)tst-array1-static.out): Likewise.
9569 ($(objpfx)tst-array2.out): Likewise.
9570 ($(objpfx)tst-array3.out): Likewise.
9571 ($(objpfx)tst-array4.out): Likewise.
9572 ($(objpfx)tst-array5.out): Likewise.
9573 ($(objpfx)tst-array5-static.out): Likewise.
9574
01767843
CM
95752012-10-30 Chris Metcalf <cmetcalf@tilera.com>
9576
47cc1490
CM
9577 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
9578 if defined.
9579
01767843
CM
9580 * nss/nsswitch.h (nss_interface_function): Provide new
9581 macro for use with NSS functions.
9582 * grp/initgroups.c: Use new macro.
9583 * nss/getXXbyYY.c: Likewise.
9584 * nss/getXXbyYY_r.c: Likewise.
9585 * nss/getXXent.c: Likewise.
9586 * nss/getXXent_r.c: Likewise.
9587 * sysdeps/posix/getaddrinfo.c: Likewise.
9588
8321aa97
AJ
95892012-10-30 Andreas Jaeger <aj@suse.de>
9590
9591 * po/ru.po: Update Russion translation from translation project.
9592
2a27fd6d
JM
95932012-10-30 Joseph Myers <joseph@codesourcery.com>
9594
8627a232
JM
9595 [BZ #14152]
9596 [BZ #14783]
9597 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
9598 result and shift together with sticky bit instead of replicating
9599 round-to-nearest rounding.
9600 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9601 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9602 * math/libm-test.inc (fma_test): Add more tests. Do not permit
9603 missing underflow exceptions.
9604 (fma_test_towardzero): Add more tests.
9605 (fma_test_downward): Likewise.
9606 (fma_test_upward): Likewise.
9607
2a27fd6d
JM
9608 [BZ #14047]
9609 * sysdeps/generic/tininess.h: New file.
9610 * sysdeps/i386/tininess.h: Likewise.
9611 * sysdeps/sh/tininess.h: Likewise.
9612 * sysdeps/x86_64/tininess.h: Likewise.
9613 * stdlib/tst-strtod-underflow.c: Likewise.
9614 * stdlib/tst-tininess.c: Likewise.
9615 * stdlib/strtod_l.c: Include <tininess.h>.
9616 (round_and_return): Do not set errno for exact underflow cases.
9617 Force an underflow exception when setting errno for underflow.
9618 Determine underflow based on rounding to normal precision if
9619 TININESS_AFTER_ROUNDING.
9620 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
9621 ERANGE for exact underflow cases.
9622 * stdlib/Makefile (tests): Add tst-tininess and
9623 tst-strtod-underflow.
9624 ($(objpfx)tst-tininess): Use $(link-libm).
9625 ($(objpfx)tst-strtod-underflow): Likewise.
9626
e7170363
AJ
96272012-10-30 Andreas Jaeger <aj@suse.de>
9628
e5088dc6
AJ
9629 [BZ#14767]
9630 * elf/Makefile (tests): Remove conditional for have-initfini-array
9631 since this is now always required and the variable does not exist
9632 anymore.
9633 (tests-static): Likewise.
9634 (modules-names): Likewise.
9635
e7170363 9636 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
9637
9638 * elf/tst-array1.c (fini_array): Make writeable so that it can be
9639 merged with constructor/destructor.
9640 (init_array): Likewise.
9641 * elf/tst-array2dep.c (fini_array): Likewise.
9642 (init_array): Likewise.
9643
60457d8a
MF
96442012-10-29 Mike Frysinger <vapier@gentoo.org>
9645
9646 * manual/message.texi: Delete @cartouche tags.
9647
8bece752
PT
96482012-10-29 Pino Toscano <toscano.pino@tiscali.it>
9649
94ce799f
PT
9650 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
9651 EOPNOTSUPP.
9652 * sysdeps/mach/hurd/fsync.c: Likewise.
9653
8bece752
PT
9654 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
9655 [_POSIX_REALTIME_SIGNALS]: Change condition to
9656 [_POSIX_REALTIME_SIGNALS > 0].
9657
86ebe6b1
AJ
96582012-10-27 Andreas Jaeger <aj@suse.de>
9659
9660 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
9661 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
9662 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
9663 [__WORDSIZE != 64]: Likewise.
9664
54399c08
L
96652012-10-26 H.J. Lu <hongjiu.lu@intel.com>
9666
9667 * iconvdata/tst-table.sh: Remove ${SHELL}.
9668 * iconvdata/tst-tables.sh: Likewise.
9669
e2211bed
DM
96702012-10-25 David S. Miller <davem@davemloft.net>
9671
9672 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9673 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
9674 of strtoull.
9675
f303f97c
DM
9676 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
9677 ifunc-impl-list.c
9678 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9679 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
9680 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
9681 file.
9682
1e9d84cd
RM
96832012-10-25 Roland McGrath <roland@hack.frob.com>
9684
9685 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9686 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
9687 __getdirentries.
9688
df381762
JM
96892012-10-25 Joseph Myers <joseph@codesourcery.com>
9690 Jim Blandy <jimb@codesourcery.com>
9691
9692 * scripts/cross-test-ssh.sh: New file.
9693 * manual/install.texi (Configuring and compiling): Document use of
9694 cross-test-ssh.sh.
9695 * INSTALL: Regenerated.
9696
bff64913
PT
96972012-10-25 Pino Toscano <toscano.pino@tiscali.it>
9698
9699 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
9700 EOPNOTSUPP.
9701
25fe8932
JM
97022012-10-25 Joseph Myers <joseph@codesourcery.com>
9703
9704 * Makeconfig (run-program-prefix): Fix comment.
9705
cc1290d0
JM
97062012-10-24 Joseph Myers <joseph@codesourcery.com>
9707 Jim Blandy <jimb@codesourcery.com>
9708
9709 * Makeconfig (test-wrapper): New variable,
9710 (test-wrapper-env): Likewise.
9711 [$(cross-compiling) = yes && $(test-wrapper) != ""]
9712 (run-built-tests): Define to yes.
9713 (run-program-prefix): Use $(test-wrapper).
9714 (built-program-cmd): Likewise.
9715 * Rules (make-test-out): Use $(test-wrapper-env) and
9716 $(host-built-program-cmd).
9717 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
9718 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
9719 tst-pathopt.sh.
9720 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
9721 $(test-wrapper-env) to tst-rtld-load-self.sh.
9722 ($(objpfx)order2.out): Use $(test-wrapper).
9723 ($(objpfx)tst-initorder.out): Likewise.
9724 ($(objpfx)tst-initorder2.out): Likewise.
9725 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
9726 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
9727 (test_wrapper_env): New variable. Use it to run ld.so.
9728 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
9729 Use it to run ld.so.
9730 (test_wrapper_env): Likewise.
9731 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
9732 $(test-wrapper) to run-iconv-test.sh.
9733 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
9734 (ICONV): Use $test_wrapper.
9735 * posix/Makefile ($(objpfx)globtest.out): Pass
9736 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
9737 globtest.sh, not $(run-program-prefix).
9738 * posix/globtest.sh (run_via_rtld_prefix): New variable.
9739 (test_wrapper): Likewise.
9740 (test_wrapper_env): Likewise. Use it to run globtest with HOME
9741 set together with run_via_rtld_prefix.
9742 (run_program_prefix): Define in terms of test_wrapper and
9743 run_via_rtld_prefix.
9744
6e6249d0
RM
97452012-10-24 Roland McGrath <roland@hack.frob.com>
9746
9747 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
9748 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
9749 Targets removed.
9750
9751 [BZ #14743]
9752 * include/time.h: Remove librt_hidden_proto (clock_gettime).
9753 Declare __clock_getres, __clock_gettime, __clock_settime,
9754 __clock_nanosleep, and __clock_getcpuclockid.
9755 * rt/clock_gettime.c: Define __clock_gettime as an alias.
9756 Remove librt_hidden_def (clock_gettime).
9757 * sysdeps/unix/clock_gettime.c: Likewise.
9758 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
9759 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9760 * rt/clock_getres.c: Define __clock_getres as an alias.
9761 * sysdeps/posix/clock_getres.c: Likewise.
9762 * rt/clock_settime.c: Define __clock_settime as an alias.
9763 * sysdeps/unix/clock_settime.c: Likewise.
9764 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
9765 * sysdeps/unix/clock_nanosleep.c: Likewise.
9766 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9767 * rt/clock-compat.c: New file.
9768 * rt/Makefile (librt-routines): Add clock-compat and move
9769 $(clock-routines) to ...
9770 (routines): ... here, new variable.
9771 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
9772 Don't add get_clockfreq here.
9773 * rt/Versions (libc: GLIBC_2.17): New version set.
9774 Add clock_* symbols here.
9775 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
9776 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
9777 (GLIBC_2.17): Add clock_* symbols.
9778 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9779 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9780 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9782 Likewise.
9783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9784 Likewise.
9785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9786 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9789 * NEWS: Mention the move.
9790
9791 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9792 Use __open, __read, __close rather than their public counterparts.
9793 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9794 (__get_clockfreq_via_cpuinfo): Likewise.
9795 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
9796 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
9797
9798 * config.h.in (HAVE_IFUNC): New #undef.
9799 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
9800 was successful.
9801 * configure: Regenerated.
9802
0cae3f4b
MF
98032012-10-24 Mike Frysinger <vapier@gentoo.org>
9804
9805 * configure.in: Move READELF check to start of file.
9806 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
9807 libc_cv_asm_gnu_indirect_function in the process.
9808 * configure: Regenerated.
9809
8175a253
MF
98102012-10-24 Mike Frysinger <vapier@gentoo.org>
9811
9812 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
9813 send the output to /dev/null.
9814 (libc_cv_cc_with_libunwind): Likewise.
9815 (libc_cv_as_noexecstack): Likewise.
9816 * configure: Regenerate.
9817
0708a7d1
JM
98182012-10-24 Joseph Myers <joseph@codesourcery.com>
9819
10b40d85
JM
9820 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
9821
0708a7d1
JM
9822 * posix/globtest.sh (TMPDIR): Do not set.
9823 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
9824 (testout): Likewise.
9825
9fddec1a
AJ
98262012-10-24 Andreas Jaeger <aj@suse.de>
9827
3a8db22f
AJ
9828 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
9829 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
9830 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
9831 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
9832 posix_fadvise64, posix_fallocate64.
9833
9fddec1a
AJ
9834 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
9835 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
9836 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
9837 Likewise.
9838 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
9839 Likewise.
9840 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
9841
9842 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
9843 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
9844 <bits/fcntl-linux.h>.
9845 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
9846
9847 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
9848 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
9849 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
9850 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
9851 [__WORDSIZE != 64]: Likewise.
9852
ebfd1bbd
JM
98532012-10-23 Joseph Myers <joseph@codesourcery.com>
9854
03ac099f
JM
9855 * Makeconfig (run-built-tests): New variable.
9856 * Rules [$(cross-compiling) = yes]: Change condition to
9857 [$(run-built-tests) = no].
9858 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
9859 to [$(run-built-tests) = yes].
9860 * elf/Makefile [$(cross-compiling) = no]: Likewise
9861 * grp/Makefile [$(cross-compiling) = no]: Likewise.
9862 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
9863 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
9864 * intl/Makefile [$(cross-compiling) = no]: Likewise.
9865 * io/Makefile [$(cross-compiling) = no]: Likewise.
9866 * libio/Makefile [$(cross-compiling) = no]: Likewise.
9867 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
9868 * misc/Makefile [$(cross-compiling) = no]: Likewise.
9869 * posix/Makefile [$(cross-compiling) = no]: Likewise.
9870 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
9871 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
9872 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
9873 * string/Makefile [$(cross-compiling) = no]: Likewise.
9874
ebfd1bbd
JM
9875 * posix/Makefile ($(objpfx)globtest.out): Pass
9876 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
9877 $(rtld-installed-name).
9878 * posix/globtest.sh (elf_objpfx): Remove variable.
9879 (rtld_installed_name): Likewise.
9880 (library_path): Likewise.
9881 (run_program_prefix): New variable. Use for running globtest
9882 binary.
9883
166bca24
JB
98842012-10-23 Jim Blandy <jimb@codesourcery.com>
9885 Joseph Myers <joseph@codesourcery.com>
9886
9887 * Makeconfig (host-built-program-cmd): New variable.
9888 * elf/Makefile (tst-stackguard1-ARGS): Use
9889 $(host-built-program-cmd).
9890 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
9891 (tst-spawn-ARGS): Likewise.
9892 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
9893
88866099
JM
98942012-10-23 Joseph Myers <joseph@codesourcery.com>
9895 Jim Blandy <jimb@codesourcery.com>
9896
9897 * Makeconfig (run-via-rtld-prefix): New variable.
9898 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
9899 (built-program-cmd): Likewise.
9900
b4b4c296
AJ
99012012-10-22 Andreas Jaeger <aj@suse.de>
9902
9903 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
9904 __O_RSYNC if it exists, otherwise to O_SYNC.
9905
6fb54a22
JB
99062012-10-22 Jim Blandy <jimb@codesourcery.com>
9907 Joseph Myers <joseph@codesourcery.com>
9908
9909 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
9910 /dev/null.
9911 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
9912 from /dev/null
9913 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
9914 /dev/null.
9915
481b90b9
AJ
99162012-10-22 Andreas Jaeger <aj@suse.de>
9917
2a0e2669
AJ
9918 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
9919 Define always.
9920 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
9921
76e38f9a
AJ
9922 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9923 bits/fcntl-linux.h.
9924
7cd37b43
AJ
9925 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
9926 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
9927
481b90b9
AJ
9928 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
9929 to __O_LARGEFILE.
9930 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
9931 to __O_LARGEFILE.
9932
aba75984
JB
99332012-10-21 Jim Blandy <jimb@codesourcery.com>
9934 Joseph Myers <joseph@codesourcery.com>
9935
9936 * config.make.in (NM): New variable.
9937
88d4247f
AJ
99382012-10-21 Andreas Jaeger <aj@suse.de>
9939
9940 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
9941 definitions and declarations that are provided by
9942 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9943
f2eed205
L
99442012-10-20 H.J. Lu <hongjiu.lu@intel.com>
9945
9946 [BZ #14683]
9947 * elf/Makefile (tests-static): Add tst-leaks1-static.
9948 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
9949 ($(objpfx)tst-leaks1-static): New rule.
9950 ($(objpfx)tst-leaks1-static-mem): Likewise.
9951 (tst-leaks1-static-ENV): New macro.
9952 * elf/dl-open.c (dl_open_worker): Check the main application
9953 only if SHARED is defined.
9954 * elf/tst-leaks1-static.c: New file.
9955
335e6931
AJ
99562012-10-20 Andreas Jaeger <aj@suse.de>
9957
9958 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
9959 generic values for Linux.
9960 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
9961 and declarations that are provided by <bits/fcntl-linux.h> and
9962 include <bits/fcntl-linux.h>.
9963 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9964 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9965
ac5c94d3
RM
99662012-10-20 Roland McGrath <roland@hack.frob.com>
9967
9968 * io/fcntl.h: Move include of <bits/types.h> to the top and
9969 include it unconditionally.
9970
de54b33a
L
99712012-10-20 H.J. Lu <hongjiu.lu@intel.com>
9972
228cfb01
L
9973 * wcsmbs/Makefile (tests-ifunc): New variable.
9974 (tests): Add $(tests-ifunc).
9975 * wcsmbs/test-wcschr-ifunc.c: New file.
9976 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9977 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9978 * wcsmbs/test-wcslen-ifunc.c: Likewise.
9979 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9980 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9981
69f07e5f
L
9982 * string/Makefile (tests-ifunc): New variable.
9983 (tests): Add $(tests-ifunc).
9984 * string/test-memccpy.c (TEST_NAME): New macro.
9985 * string/test-memchr.c (TEST_NAME): Likewise.
9986 * string/test-memcmp.c (TEST_NAME): Likewise.
9987 * string/test-memcpy.c (TEST_NAME): Likewise.
9988 * string/test-memmem.c (TEST_NAME): Likewise.
9989 * string/test-memmove.c (TEST_NAME): Likewise.
9990 * string/test-memset.c (TEST_NAME): Likewise.
9991 * string/test-rawmemchr.c (TEST_NAME): Likewise.
9992 * string/test-stpcpy.c (TEST_NAME): Likewise.
9993 * string/test-stpncpy.c (TEST_NAME): Likewise.
9994 * string/test-strcasecmp.c (TEST_NAME): Likewise.
9995 * string/test-strcasestr.c (TEST_NAME): Likewise.
9996 * string/test-strcat.c (TEST_NAME): Likewise.
9997 * string/test-strchr.c (TEST_NAME): Likewise.
9998 * string/test-strcmp.c(TEST_NAME): Likewise.
9999 * string/test-strcpy.c (TEST_NAME): Likewise.
10000 * string/test-strcspn.c (TEST_NAME): Likewise.
10001 * string/test-strlen.c (TEST_NAME): Likewise.
10002 * string/test-strncasecmp.c (TEST_NAME): Likewise.
10003 * string/test-strncmp.c (TEST_NAME): Likewise.
10004 * string/test-strncpy.c (TEST_NAME): Likewise.
10005 * string/test-strnlen.c (TEST_NAME): Likewise.
10006 * string/test-strpbrk.c (TEST_NAME): Likewise.
10007 * string/test-strrchr.c (TEST_NAME): Likewise.
10008 * string/test-strspn.c (TEST_NAME): Likewise.
10009 * string/test-strstr.c (TEST_NAME): Likewise.
10010 * string/test-bcopy-ifunc.c: New file.
10011 * string/test-bzero-ifunc.c: Likewise.
10012 * string/test-memccpy-ifunc.c: Likewise.
10013 * string/test-memchr-ifunc.c: Likewise.
10014 * string/test-memcmp-ifunc.c: Likewise.
10015 * string/test-memcpy-ifunc.c: Likewise.
10016 * string/test-memmem-ifunc.c: Likewise.
10017 * string/test-memmove-ifunc.c: Likewise.
10018 * string/test-mempcpy-ifunc.c: Likewise.
10019 * string/test-memset-ifunc.c: Likewise.
10020 * string/test-rawmemchr-ifunc.c: Likewise.
10021 * string/test-stpcpy-ifunc.c: Likewise.
10022 * string/test-stpncpy-ifunc.c: Likewise.
10023 * string/test-strcasecmp-ifunc.c: Likewise.
10024 * string/test-strcasestr-ifunc.c: Likewise.
10025 * string/test-strcat-ifunc.c: Likewise.
10026 * string/test-strchr-ifunc.c: Likewise.
10027 * string/test-strchrnul-ifunc.c: Likewise.
10028 * string/test-strcmp-ifunc.c: Likewise.
10029 * string/test-strcpy-ifunc.c: Likewise.
10030 * string/test-strcspn-ifunc.c: Likewise.
10031 * string/test-strlen-ifunc.c: Likewise.
10032 * string/test-strncasecmp-ifunc.c: Likewise.
10033 * string/test-strncat-ifunc.c: Likewise.
10034 * string/test-strncmp-ifunc.c: Likewise.
10035 * string/test-strncpy-ifunc.c: Likewise.
10036 * string/test-strnlen-ifunc.c: Likewise.
10037 * string/test-strpbrk-ifunc.c: Likewise.
10038 * string/test-strrchr-ifunc.c: Likewise.
10039 * string/test-strspn-ifunc.c: Likewise.
10040 * string/test-strstr-ifunc.c: Likewise.
10041
de54b33a
L
10042 * debug/Makefile (tests-ifunc): New variable.
10043 (tests): Add $(tests-ifunc).
10044 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
10045 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
10046 * debug/test-stpcpy_chk-ifunc.c: New file.
10047 * debug/test-strcpy_chk-ifunc.c: Likewise.
10048
88481c16
SP
100492012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10050
10051 [BZ #13601]
10052 * elf/dl-load.c (open_verify): Retry read if the entire ELF
10053 header is not read in.
10054
135948bd
JM
100552012-10-19 Joseph Myers <joseph@codesourcery.com>
10056
89f1c388
JM
10057 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
10058 script to $(SHELL) as $<. Pass $(common-objpfx) to script
10059 directly. Pass built executable to script as
10060 $(built-program-cmd).
10061 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
10062 $testprogram without using LD_LIBRARY_PATH and $ldso.
10063
e40a0d21
JM
10064 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
10065 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
10066 $(rtld-installed-name).
10067 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
10068 (rtld_installed_name): Likewise.
10069 (library_path): Likewise.
10070 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
10071 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
10072 $(run-program-prefix) to tst-tables.sh.
10073 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
10074 it to run tst-table-from and tst-table-to.
10075 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
10076 Pass it to tst-table.sh.
10077 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
10078 $(run-program-prefix) to tst-gettext.sh.
10079 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
10080 tst-translit.sh.
10081 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
10082 tst-gettext2.sh.
10083 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
10084 to run tst-gettext.
10085 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
10086 to run tst-gettext2.
10087 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
10088 to run tst-translit.
10089 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
10090 $(run-program-prefix) to tst-mtrace.sh.
10091 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
10092 to run tst-mtrace.
10093 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
10094 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
10095 $(rtld-installed-name).
10096 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
10097 (rtld_installed_name): Likewise.
10098 (run_program_prefix): New variable. Use it to run wordexp-test.
10099
728e272a
JM
10100 * Makeconfig (ARCH): Remove all definitions.
10101 (machine): Likewise.
10102 [ARCH]: Remove conditional code.
10103 [!objdir]: Give error.
10104 [!objdir] (objpfx): Remove.
10105 [!objdir] (common-objpfx): Likewise.
10106 [!objdir] (common-objdir): Likewise.
10107 * configure.in (config_makefile): Remove. Hardcode Makefile in
10108 AC_CONFIG_FILES call.
10109 * configure: Regenerated.
10110
d528cdcf
JM
10111 [BZ #13888]
10112 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
10113 or TMPDIR.
10114 (testout): Likewise.
10115
135948bd
JM
10116 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
10117 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
10118 $(rtld-installed-name).
10119 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
10120 (rtld_installed_name): Likwise.
10121 (runit): Remove function.
10122 (run_getconf): New variable, Use it for running getconf binary.
10123
38c78296
L
101242012-10-18 H.J. Lu <hongjiu.lu@intel.com>
10125
10126 [BZ #14716]
10127 * string/test-memmem.c (check_result): New function.
10128 (do_one_test): Use it.
10129 (check1): New function.
10130 (test_main): Use it.
10131
d077f65f
MT
101322012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
10133
10134 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
10135
ced52c71
JM
101362012-10-18 Joseph Myers <joseph@codesourcery.com>
10137
10138 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
10139 (_G_LSEEK64): Likewise.
10140 (_G_MMAP64): Likewise.
10141 (_G_FSTAT64): Likewise.
10142 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
10143 (_G_LSEEK64): Likewise.
10144 (_G_MMAP64): Likewise.
10145 (_G_FSTAT64): Likewise.
10146 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
10147 unconditional. Call __mmap64 directly.
10148 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
10149 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
10150 __lseek64 directly.
10151 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
10152 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
10153 __mmap64 directly.
10154 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
10155 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
10156 __lseek64 directly.
10157 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
10158 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
10159 __lseek64 directly.
10160 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
10161 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
10162 __lseek64 directly.
10163 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
10164 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
10165 __fxstat64 directly.
10166 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
10167 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
10168 unconditional.
10169 (freopen64) [!_G_OPEN64]: Remove conditional code.
10170 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
10171 unconditional.
10172 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
10173 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
10174 unconditional.
10175 (ftello64) [!_G_LSEEK64]: Remove conditional code.
10176 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
10177 unconditional.
10178 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10179 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
10180 unconditional.
10181 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
10182 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
10183 unconditional.
10184 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10185 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
10186 unconditional.
10187 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10188 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
10189 unconditional.
10190 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10191
b741de23
SP
101922012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10193
10194 [BZ #12140]
10195 * manual/memory.texi (Malloc Tunable Parameters): Add note
10196 about free list pointers overwriting some perturb bytes.
10197 Wording suggested by Roland McGrath.
10198
f9b9d9c9
JM
101992012-10-17 Joseph Myers <joseph@codesourcery.com>
10200
10201 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
10202 (lgamma_test): Likewise.
10203 (tgamma_test): Likewise.
10204
172a631a
FW
102052012-10-16 Florian Weimer <fweimer@redhat.com>
10206
10207 [BZ #14700]
10208 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
10209 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
10210
e9f37252
MK
102112012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
10212
10213 * NEWS: Mention BZ #14716.
10214 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
10215 when removing AVAILABLE1_USES_J macro.
10216
d394eb74
L
102172012-10-12 H.J. Lu <hongjiu.lu@intel.com>
10218
10219 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
10220 (__bswap_64): __uint64_t for unsigned 64-bit int.
10221
ca38dc17
AS
102222012-10-12 Andreas Schwab <schwab@linux-m68k.org>
10223
10224 * include/string.h (memmem): Declare libc hidden alias.
10225 * string/memmem.c (memmem): Define libc hidden alias.
10226 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
10227 __read, __close instead of open, read, close.
10228
9a387d1f
L
102292012-10-11 H.J. Lu <hongjiu.lu@intel.com>
10230
ac49ecaf
L
10231 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
10232 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
10233 global and hidden.
10234 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
10235 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
10236 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
10237 Likewise.
10238 (__rawmemchr_sse2): Likewise.
10239 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
10240 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
10241 (__strchr_sse2): Likewise.
10242 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
10243 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
10244 (__strcasecmp_sse2): Likewise.
10245 (__strncasecmp_sse2): Likewise.
10246 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
10247 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
10248 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
10249 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
10250 (__strrchr_sse2): Likewise.
10251 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
10252 ifunc-impl-list.c.
10253 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10254 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10255 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10256 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10257 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10258 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10259 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10260 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10261 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
10262 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
10263 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
10264 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
10265 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
10266 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10267 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10268 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10269 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10270 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10271 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
10272 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
10273 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
10274 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
10275 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
10276 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10277 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
10278 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10279 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10280 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10281 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10282 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10283
b090e8ea
L
10284 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
10285 global and hidden.
10286 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
10287 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
10288 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
10289 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
10290 Likewise.
10291 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
10292 Likewise.
10293 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
10294 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
10295 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
10296 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
10297 ifunc-impl-list.c.
10298 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10299 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10300 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10301 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10302 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10303 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10304 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10305 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10306 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10307 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10308 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10309 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10310 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10311 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
10312 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
10313 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10314 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
10315 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
10316 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10317 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10318 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10319 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10320 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10321 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10322 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10323 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
10324 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
10325 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
10326 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
10327 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10328 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
10329 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10330 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10331 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
10332 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10333 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10334 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10335 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10336 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10337 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10338 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
10339
11dd4af6
L
10340 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
10341 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
10342 * include/ifunc-impl-list.h: New file.
10343 * misc/ifunc-impl-list.c: Likewise.
10344 * misc/Makefile (routines): Add ifunc-impl-list.
10345 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
10346 * string/test-string.h: Include <ifunc-impl-list.h>.
10347 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
10348 impl_array): New variables.
10349 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
10350 are defined.
10351 (test_init): Call __libc_ifunc_impl_list to initialize
10352 func_list if TEST_IFUNC and TEST_NAME are defined.
10353
9a387d1f
L
10354 * string/Makefile (strop-tests): Add bcopy and bzero.
10355 * string/test-bcopy.c: New file.
10356 * string/test-bzero.c: Likewise.
10357 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
10358 defined.
10359 * string/test-memset.c: Support bzero test if TEST_BZERO is
10360 defined.
10361 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
10362 __libc_memmove.
10363 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
10364 __libc_memset.
10365 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
10366 of memset.
10367
472371b9
JM
103682012-10-10 Joseph Myers <joseph@codesourcery.com>
10369
1e4a9536
JM
10370 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
10371 * configure: Regenerated.
10372
d173d12e
JM
10373 * Makeconfig (+link-static-before-libc): Don't include
10374 $(link-static-libc).
10375
472371b9
JM
10376 * libio/libio.h (_IO_pos_t): Remove.
10377
89a3ad0b
AO
103782012-10-10 Alexandre Oliva <aoliva@redhat.com>
10379
10380 * NEWS: Add note about FIPS mode. Wording suggested by Roland
10381 McGrath.
10382
e7451425
AO
103832012-10-10 Alexandre Oliva <aoliva@redhat.com>
10384
10385 * crypt/crypt-entry.c: Include fips-private.h.
10386 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
10387 * crypt/md5c-test.c (main): Tolerate disabled MD5.
10388 * sysdeps/unix/sysv/linux/fips-private.h: New file.
10389 * sysdeps/generic/fips-private.h: New file, dummy fallback.
10390
4ba74a35
AO
103912012-10-10 Alexandre Oliva <aoliva@redhat.com>
10392
10393 * crypt/crypt-private.h: Include stdbool.h.
10394 (_ufc_setup_salt_r): Return bool.
10395 * crypt/crypt-entry.c: Include errno.h.
10396 (__crypt_r): Return NULL with EINVAL for bad salt.
10397 * crypt/crypt_util.c (bad_for_salt): New.
10398 (_ufc_setup_salt_r): Check that salt is long enough and within
10399 the specified alphabet.
10400 * crypt/badsalttest.c: New file.
10401 * crypt/Makefile (tests): Add it.
10402 ($(objpfx)badsalttest): New.
10403
f96f1242
MK
104042012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
10405
10406 * NEWS: Add entry for BZ #14602.
10407
0e8e0c1c
JM
104082012-10-09 Joseph Myers <joseph@codesourcery.com>
10409
10410 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
10411 type-generic.
10412 * math/libm-test.inc: Update comment listing what functions and
10413 macros are tested.
10414 (isgreater_test): New function.
10415 (isgreaterequal_test): Likewise.
10416 (isless_test): Likewise.
10417 (islessequal_test): Likewise.
10418 (islessgreater_test): Likewise.
10419 (isunordered_test): Likewise.
10420 (main): Call the new functions.
10421
273edc5e
RM
104222012-10-09 Roland McGrath <roland@hack.frob.com>
10423
b8493de0
RM
10424 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
10425 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
10426 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
10427 * sysdeps/i386/configure: Regenerated.
10428 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
10429 * sysdeps/mach/configure: Regenerated.
10430 * sysdeps/mach/hurd/configure: Regenerated.
10431 * sysdeps/powerpc/configure: Regenerated.
10432 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10433 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10434 * sysdeps/s390/s390-32/configure: Regenerated.
10435 * sysdeps/s390/s390-64/configure: Regenerated.
10436 * sysdeps/sh/configure: Regenerated.
10437 * sysdeps/sparc/configure: Regenerated.
10438 * sysdeps/unix/sysv/linux/configure: Regenerated.
10439 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10440 * sysdeps/x86_64/configure: Regenerated.
10441
273edc5e
RM
10442 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
10443 defined. Don't check if MAP is NULL.
10444
c8450f70
JM
104452012-10-09 Joseph Myers <joseph@codesourcery.com>
10446
10447 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
10448 (_G_stat64): Likewise.
10449 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
10450 (_G_stat64): Likewise.
10451 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
10452 instead of struct _G_stat64.
10453 * libio/fileops.c (mmap_remap_check): Likewise.
10454 (decide_maybe_mmap): Likewise.
10455 (_IO_new_file_seekoff): Likewise.
10456 (_IO_file_stat): Likewise.
10457 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
10458 _G_off64_t.
10459 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
10460 instead of struct _G_stat64.
10461 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10462
57e605ba
MK
104632012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
10464
10465 [BZ #14602]
10466 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10467 Replace with ...
10468 (CHECK_EOL): New macro.
10469 (two_way_short_needle): Check beginning of haystack for EOL. Use
10470 CHECK_EOL.
10471 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10472 Replace with CHECK_EOL.
10473 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10474 Replace with CHECK_EOL.
10475
ef1bb361
JM
104762012-10-08 Joseph Myers <joseph@codesourcery.com>
10477
10478 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
10479 type-generic.
10480 * math/libm-test.inc: Update comment listing what functions and
10481 macros are tested.
10482 (finite_test): New function.
10483 (isinf_test): Likewise.
10484 (isnan_test): Likewise.
10485 (fpclassify_test): Test subnormal input.
10486 (isfinite_test): Likewise.
10487 (isnormal_test): Likewise.
10488 (main): Call the new functions.
10489
55f11534
JN
104902012-10-08 Jonathan Nieder <jrnieder@gmail.com>
10491
10492 [BZ #14660]
10493 * Makerules (%.dynsym): Force C locale when running
10494 $(OBJDUMP) --dynamic-syms.
10495
1ab29350
AS
104962012-10-08 Andreas Schwab <schwab@linux-m68k.org>
10497
10498 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
10499 <stdint.h>.
10500
f1ecb7ef
DM
105012012-10-06 David S. Miller <davem@davemloft.net>
10502
10503 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
10504 upper 32-bits of the length value in %o2 since we use branch-on-register
10505 tests which consider the entire 64-bit register.
10506
5d41d91a
L
105072012-10-06 H.J. Lu <hongjiu.lu@intel.com>
10508
10509 * string/test-strstr.c (check2): Add a test for page boundary.
10510
3baddb72
DM
105112012-10-05 David S. Miller <davem@davemloft.net>
10512
10513 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
10514 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
10515 file.
10516 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10517 sysdep_routines.
10518 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10519 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
10520 and bzero when HWCAP_SPARC_CRYPTO is present.
10521
9cee5585
L
105222012-10-05 H.J. Lu <hongjiu.lu@intel.com>
10523
d7e0dab9
L
10524 [BZ #14602]
10525 * string/test-strstr.c (check2): New function.
10526 (test_main): Call check2.
10527
03759f47
L
10528 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
10529 and bug-strchr1.
10530 * string/bug-strcasestr1.c (do_test): Moved to ...
10531 * string/test-strcasestr.c (check1): Here. New function.
10532 (do_one_test): Break out result checking code into ...
10533 (check_result): This. New function.
10534 (do_one_test): Call check_result.
10535 (test_main): Call check1.
10536 * string/bug-strchr1.c (do_test): Moved to ...
10537 * string/test-strchr.c (check1): Here. New function.
10538 (do_one_test): Break out result checking code into ...
10539 (check_result): This. New function.
10540 (do_one_test): Call check_result.
10541 (test_main): Call check1.
10542 * string/bug-strstr1.c (main): Moved to ...
046f153e 10543 * string/test-strstr.c (check1): Here. New function.
03759f47
L
10544 (do_one_test): Break out result checking code into ...
10545 (check_result): This. New function.
10546 (do_one_test): Call check_result.
10547 (test_main): Call check1.
10548 * string/bug-strcasestr1.c: Removed.
10549 * string/bug-strchr1.c: Likewise.
10550 * string/bug-strstr1.c: Likewise.
10551
53cea63e
L
10552 * elf/Makefile (dl-routines): Add hwcaps.
10553 * elf/dl-support.c (_dl_important_hwcaps): Removed.
10554 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
10555 (_dl_important_hwcaps): Moved to ...
10556 * elf/dl-hwcaps.c: Here. New file.
10557 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
10558
9cee5585 10559 [BZ #14557]
bb859b06
L
10560 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
10561 if IS_IN_rtld isn't defined.
10562
9cee5585
L
10563 * elf/dl-support.c (_dl_sysinfo_map): New.
10564 Include "get-dynamic-info.h" and "setup-vdso.h".
10565 (_dl_non_dynamic_init): Call setup_vdso.
10566 * elf/dynamic-link.h: Don't include <assert.h>.
10567 (elf_get_dynamic_info): Moved to ...
10568 * elf/get-dynamic-info.h: Here. New file.
10569 * elf/dynamic-link.h: Include "get-dynamic-info.h".
10570 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
10571 * elf/setup-vdso.h: Here. New file.
10572 * elf/rtld.c: Include "setup-vdso.h".
10573 (dl_main): Call setup_vdso.
10574
23c31b76
JM
105752012-10-05 Joseph Myers <joseph@codesourcery.com>
10576
28234b07
JM
10577 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
10578 creal in comment listing functions tested. List finite, isinf,
10579 isnan, isless, islessequal, isgreater, isgreaterequal,
10580 islessgreater, isunordered, lgamma_r and pow10 as functions and
10581 macros not tested. Mention which functions not tested are aliases
10582 for other functions. Fix typo. Note that signs of NaNs are not
10583 tested.
10584
23c31b76
JM
10585 * scripts/config.guess: Update from config.git.
10586 * scripts/config.sub: Likewise.
10587
9043e228
RM
105882012-10-04 Roland McGrath <roland@hack.frob.com>
10589
10590 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
10591 * misc/madvise.c (madvise): Renamed to __madvise.
10592 Make madvise a weak alias.
10593 * include/sys/mman.h: Declare __madvise.
10594 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
10595 * sysdeps/unix/syscalls.list
10596 (madvise): Make __madvise the strong name, and madvise a weak alias.
10597 * sysdeps/unix/sysv/linux/syscalls.list
10598 (madvise, mmap): Remove redundant entries.
10599 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
10600 * malloc/malloc.c (mtrim): Likewise.
10601 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
10602
f57f8055
RM
106032012-10-03 Roland McGrath <roland@hack.frob.com>
10604
10605 * sysdeps/mach/hurd/dl-cache.c: File removed.
10606 * config.h.in (USE_LDCONFIG): New #undef.
10607 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
10608 * configure: Regenerated.
10609 * elf/Makefile (dl-routines): Add dl-cache only under
10610 [$(use-ldconfig) = yes].
10611 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
10612 cache on [USE_LDCONFIG].
10613 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
10614 [USE_LDCONFIG].
10615 * elf/rtld.c (dl_main): Likewise.
10616
5bb0c10a
PT
106172012-10-03 Pino Toscano <toscano.pino@tiscali.it>
10618
10619 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
10620 _SC_LEVEL4_CACHE_LINESIZE.
10621
010188c6
RM
106222012-10-03 Roland McGrath <roland@hack.frob.com>
10623
10624 * sysdeps/unix/bsd/confstr.h: File removed.
10625
b6c5ec07
AO
106262012-10-02 Alexandre Oliva <aoliva@redhat.com>
10627
10628 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
10629 sys/sdt-config.h.
10630
408223d4
RM
106312012-10-02 Roland McGrath <roland@hack.frob.com>
10632
10633 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
10634 Make 'mapoff' field ElfW(Off) rather than off_t.
10635
bb9510dc
DL
106362012-10-02 Dmitry V. Levin <ldv@altlinux.org>
10637
fc997c6e
DL
10638 * nscd/Makefile: Remove nscd-cflags and all its users.
10639 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
10640 (CFLAGS-nonlib): Add compiler flags for nscd modules.
10641
bb9510dc
DL
10642 [BZ #10631]
10643 * malloc.c (malloc_printerr): Clarify error message.
10644
05699367
L
106452012-10-02 H.J. Lu <hongjiu.lu@intel.com>
10646
10647 [BZ #14648]
10648 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10649 Set bit_FMA_Usable if FMA is supported.
10650 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
10651 macro.
10652 (bit_FMA4_Usable): Updated.
10653 (index_FMA_Usable): New macro.
10654 (CPUID_FMA): Likewise
10655 (HAS_FMA): Defined with bit_FMA_Usable.
10656
51367701
RM
106572012-10-01 Roland McGrath <roland@hack.frob.com>
10658
10659 * bits/types.h (__swblk_t): Type removed.
10660 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
10661 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
10662 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10663 (__SWBLK_T_TYPE): Likewise.
10664 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10665 (__SWBLK_T_TYPE): Likewise.
10666 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10667 (__SWBLK_T_TYPE): Likewise.
10668 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10669 (__SWBLK_T_TYPE): Likewise.
10670
4d57bf63 106712012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 10672 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
10673
10674 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
10675 (xdr_mapname): Use YPMAXMAP as maxsize.
10676 (xdr_peername): Use YPMAXPEER as maxsize.
10677 (xdr_keydat): Use YPAXRECORD as maxsize.
10678 (xdr_valdat): Use YPMAXRECORD as maxsize.
10679
93c65d43
RM
106802012-10-01 Roland McGrath <roland@hack.frob.com>
10681
497a03d6
RM
10682 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
10683
93c65d43
RM
10684 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
10685 * csu/init-first.c: ... here.
10686 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
10687 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
10688 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10689 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10690 * sysdeps/i386/init-first.c: File removed.
10691 * sysdeps/sh/init-first.c: File removed.
10692
bec749fd
JM
106932012-10-01 Joseph Myers <joseph@codesourcery.com>
10694
10695 [BZ #14645]
10696 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
10697 if x * y might underflow to zero and z is zero.
10698 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10699 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10700 * math/libm-test.inc (min_subnorm_value): New variable.
10701 (fma_test): Add more tests.
10702 (fma_test_towardzero): Likewise.
10703 (fma_test_downward): Likewise
10704 (fma_test_upward): Likewise.
10705 (initialize): Set min_subnorm_value.
10706
8ec5b013
JM
107072012-09-29 Joseph Myers <joseph@codesourcery.com>
10708
10709 [BZ #14638]
10710 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
10711 0 + 0.
10712 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
10713 mode for addition resulting in exact zero.
10714 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
10715 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
10716 exact 0 + 0.
10717 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10718 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10719 * math/libm-test.inc (fma_test): Add more tests.
10720 (fma_test_towardzero): New function.
10721 (fma_test_downward): Likewise.
10722 (fma_test_upward): Likewise.
10723 (main): Call the new functions.
10724
b1fa802e
DM
107252012-09-28 David S. Miller <davem@davemloft.net>
10726
10727 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
10728
d3b9fd9e
RM
107292012-09-28 Roland McGrath <roland@hack.frob.com>
10730
ea4d37b3
RM
10731 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
10732 instead of SIGALRM.
10733
ac51c949
RM
10734 * sysdeps/gnu/_G_config.h: Moved to ...
10735 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
10736 * sysdeps/mach/hurd/_G_config.h: Moved to ...
10737 * sysdeps/generic/_G_config.h: ... here.
10738
28c195f7
RM
10739 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
10740
848917f9
RM
10741 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
10742
6bacf05b
RM
10743 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
10744 Conditionalize target on [libnss_test1.so-version].
10745
91363dbb
RM
10746 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
10747
cc87f7d8
RM
10748 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
10749 (elfobjdir): Move out of conditionals.
10750
b1c608fe
RM
10751 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
10752 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
10753 (__nss_lookup_function): Conditionalize label remove_from_tree on
10754 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 10755
1d9a6d96
DM
107562012-09-28 David S. Miller <davem@davemloft.net>
10757
10758 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
10759 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
10760 file.
10761 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10762 sysdep_routines.
10763 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10764 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
10765 when HWCAP_SPARC_CRYPTO is present.
10766
72581615
PT
107672012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10768
10769 * io/tst-mknodat.c: Create a FIFO instead of a socket.
10770
715a900c
JL
107712012-09-28 Andreas Schwab <schwab@linux-m68k.org>
10772
10773 [BZ #6530]
10774 * stdio-common/vfprintf.c (process_string_arg): Revert
10775 2000-07-22 change.
10776
107772011-09-28 Jonathan Nieder <jrnieder@gmail.com>
10778
10779 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
10780 for testcase.
10781 * stdio-common/tst-sprintf.c: Include <locale.h>
10782 (main): Test sprintf's handling of incomplete multibyte
10783 characters.
10784
9bac1d86
L
107852012-09-28 H.J. Lu <hongjiu.lu@intel.com>
10786
10787 * elf/dl-runtime.c (VERSYMIDX): Removed.
10788 * elf/dl-version.c (VERSYMIDX): Likewise.
10789 * elf/do-rel.h (VERSYMIDX): Likewise.
10790 (VALIDX): Likewise.
10791 * elf/dynamic-link.h (VERSYMIDX): Likewise.
10792 * elf/rtld.c (VALIDX): Likewise.
10793 (ADDRIDX): Likewise.
9bac1d86
L
10794 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
10795 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
10796 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
10797 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
10798 (VALIDX): Likewise.
10799 (ADDRIDX): Likewise.
9bac1d86 10800
b31606c0
PT
108012012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10802
10803 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
10804
11541177
JL
108052012-09-28 Dmitry V. Levin <ldv@altlinux.org>
10806
10807 [BZ #11438]
10808 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
10809 to global scope.
10810 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
10811 addresses are in the same scope as 192.0.2/24.
10812 * posix/gai.conf: Document new scope table defaults.
10813
adb26fae
SP
108142012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10815
10816 [BZ #5298]
10817 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
10818 for ftell. Compute offsets from write pointers instead.
10819 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10820
4573c6b0
SP
108212012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10822
10823 [BZ #14543]
10824 * libio/Makefile (tests): New test case tst-fseek.
10825 * libio/tst-fseek.c: New test case to verify that fseek/ftell
10826 combination works in wide mode.
10827 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
10828 state when the external buffer state changes.
10829
aa9bbfe6
DM
108302012-09-27 David S. Miller <davem@davemloft.net>
10831
10832 [BZ #14376]
10833 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
10834 pass reloc->r_addend in as the 'high' argument to
10835 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
10836
784421e7
DM
10837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10838
c39bc8b8
PT
108392012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10840
10841 * rt/tst-aio2.c: Include <pthread.h>.
10842 * rt/tst-aio3.c: Likewise.
10843
1ccc2399
SE
108442012-09-27 Steve Ellcey <sellcey@mips.com>
10845
10846 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
10847
31ed4153
L
108482012-09-27 H.J. Lu <hongjiu.lu@intel.com>
10849
25f5f885
L
10850 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
10851 contents on [SHARED].
31ed4153 10852
b7bfe116
MP
108532012-09-26 Marek Polacek <polacek@redhat.com>
10854
10855 [BZ #14530]
10856 [BZ #13741]
10857 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
10858 for C++ and GCC <4.3 as well as for non GCC compilers.
10859
43c4edba
MT
108602012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10861
10862 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10863
6a1bf82f
RM
108642012-09-25 Roland McGrath <roland@hack.frob.com>
10865
10866 * Makefile.in (all, install): Declare with .PHONY.
10867 Reported by Michael Hope <michael.hope@linaro.org>.
10868
8ad11b9a
TMQMF
108692012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10870
10871 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
10872 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
10873 system header.
10874 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
10875 Likewise.
10876 (sydep_routines): Add the new and the internal functions.
10877 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
10878 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
10879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
10880 (GLIBC_2.17): Add the new function.
10881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10882 (GLIBC_2.17): Likewise.
10883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
10884 (GLIBC_2.17): Likewise.
10885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
10886 (GLIBC_2.17): Likewise.
10887 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
10888
7e2fca8d
AM
108892012-09-25 Alan Modra <amodra@gmail.com>
10890
10891 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
10892 Add release barrier before setting once_control to say
10893 initialisation is done. Add hints on lwarx. Use macro in
10894 place of isync.
10895 (clear_once_control): Add release barrier.
10896
b87c4b24
JM
108972012-09-25 Joseph Myers <joseph@codesourcery.com>
10898
d032e0d2
JM
10899 [BZ #13629]
10900 * math/s_clog.c (__clog): Handle more values close to |z| = 1
10901 specially.
10902 * math/s_clog10.c (__clog10): Likewise.
10903 * math/s_clog10f.c (__clog10f): Likewise.
10904 * math/s_clog10l.c (__clog10l): Likewise.
10905 * math/s_clogf.c (__clogf): Likewise.
10906 * math/s_clogl.c (__clogl): Likewise.
10907 * math/Makefile (libm-calls): Add x2y2m1.
10908 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
10909 (__x2y2m1): Likewise.
10910 (__x2y2m1l): Likewise.
10911 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
10912 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
10913 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10914 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10915 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
10916 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10917 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
10918 * sysdeps/i386/fpu/libm-test-ulps: Update.
10919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10920
b87c4b24
JM
10921 [BZ #14621]
10922 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
10923 int as type of variable DEPTH.
10924 (glob): Use size_t instead of int as type of variables NEWCOUNT
10925 and OLD_PATHC.
10926
6d3bf199
LD
109272012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10928
22bf5c17
LD
10929 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10930 Add s_sincosf-sse2.
10931 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
10932 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
10933 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
10934 macros for using routine as __sincosf_ia32.
10935 Use macro for function declaration and weak_alias.
10936 * sysdeps/i386/fpu/libm-test-ulps: Update.
10937
10938 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
10939 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10940
10941 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
10942 subnormal argument.
10943 * math/s_cexpf.c (__cexpf): Likewise.
10944 * math/s_csinf.c (__csinf): Likewise.
10945 * math/s_csinhf.c (__csinhf): Likewise.
10946 * math/s_ctanf.c (__ctanf): Likewise.
10947 * math/s_ctanhf.c (__ctanhf): Likewise.
10948 * math/s_ccosh.c (__ccoshf): Likewise.
10949 * math/s_cexp.c (__cexpl): Likewise.
10950 * math/s_csin.c (__csin): Likewise.
10951 * math/s_csinh.c (__csinh): Likewise.
10952 * math/s_ctan.c (__ctan): Likewise.
10953 * math/s_ctanh.c (ctanh): Likewise.
10954 * math/s_ccoshl.c (__ccoshl): Likewise.
10955 * math/s_cexpl.c (__cexpl): Likewise.
10956 * math/s_csinl.c (__csinl): Likewise.
10957 * math/s_csinhl.c (__csinhl): Likewise.
10958 * math/s_ctanl.c (__ctanl): Likewise.
10959 * math/s_ctanhl.c (__ctanhl): Likewise.
10960
203e5603
JM
109612012-09-25 Joseph Myers <joseph@codesourcery.com>
10962
10963 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
10964 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
10965 (_IO_off_t): Define to __off_t, not _G_off_t.
10966 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
10967 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
10968 (_IO_wint_t): Define to wint_t, not _G_wint_t.
10969 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
10970 type of __dummy and __dummy2 fields.
10971 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
10972 (_G_ssize_t): Likewise.
10973 (_G_off_t): Likewise.
10974 (_G_pid_t): Likewise.
10975 (_G_uid_t): Likewise.
10976 (_G_wchar_t): Likewise.
10977 (_G_wint_t): Likewise.
10978 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
10979 (_G_ssize_t): Likewise.
10980 (_G_off_t): Likewise.
10981 (_G_pid_t): Likewise.
10982 (_G_uid_t): Likewise.
10983 (_G_wchar_t): Likewise.
10984 (_G_wint_t): Likewise.
10985 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
10986 (_G_ssize_t): Likewise.
10987 (_G_off_t): Likewise.
10988 (_G_pid_t): Likewise.
10989 (_G_uid_t): Likewise.
10990 (_G_wchar_t): Likewise.
10991 (_G_wint_t): Likewise.
10992
9fab36eb
SP
109932012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10994
10995 * malloc/arena.c: Include malloc-sysdep.h.
10996 (shrink_heap): Use check_may_shrink_heap to decide if madvise
10997 is sufficient to shrink the heap or an unmap is needed.
10998 * sysdeps/generic/malloc-sysdep.h: New file. Define
10999 new function check_may_shrink_heap.
11000 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
11001 new function check_may_shrink_heap.
11002
2b4f00d1
SP
110032012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11004
11005 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
11006 comments.
11007
9a9028b1
DL
110082012-09-24 Dmitry V. Levin <ldv@altlinux.org>
11009
57c69bef
DL
11010 * catgets/test-gencat.sh: Add "set -e".
11011 * elf/tst-pathopt.sh: Likewise.
11012 * grp/tst_fgetgrent.sh: Likewise.
11013 * iconvdata/run-iconv-test.sh: Likewise.
11014 * intl/tst-gettext.sh: Likewise.
11015 * intl/tst-gettext2.sh: Likewise.
11016 * intl/tst-gettext4.sh: Likewise.
11017 * intl/tst-gettext6.sh: Likewise.
11018 * intl/tst-translit.sh: Likewise.
11019 * io/ftwtest-sh: Likewise.
11020 * libio/test-freopen.sh: Likewise.
11021 * malloc/tst-mtrace.sh: Likewise.
11022 * posix/globtest.sh: Likewise.
11023 * posix/tst-getconf.sh: Likewise.
11024 * posix/wordexp-tst.sh: Likewise.
11025 * stdio-common/tst-printf.sh: Likewise.
11026 * stdio-common/tst-unbputc.sh: Likewise.
11027 * stdlib/tst-fmtmsg.sh: Likewise.
11028 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11029 * catgets/Makefile: Do not specify -e option when running
11030 testsuite shell scripts.
11031 * elf/Makefile: Likewise.
11032 * grp/Makefile: Likewise.
11033 * iconvdata/Makefile: Likewise.
11034 * intl/Makefile: Likewise.
11035 * io/Makefile: Likewise.
11036 * libio/Makefile: Likewise.
11037 * malloc/Makefile: Likewise.
11038 * posix/Makefile: Likewise.
11039 * stdio-common/Makefile: Likewise.
11040 * stdlib/Makefile: Likewise.
11041 * sysdeps/x86_64/Makefile: Likewise.
11042
9a9028b1
DL
11043 * io/ftwtest-sh: Add copyright header.
11044 * posix/globtest.sh: Likewise.
11045 * posix/tst-getconf.sh: Likewise.
11046 * posix/wordexp-tst.sh: Likewise.
11047 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11048
ced6f16e
L
110492012-09-24 H.J. Lu <hongjiu.lu@intel.com>
11050
94b32c39
L
11051 [BZ #13679]
11052 * Makeconfig (+link): Defined as $(+link-static) if
11053 $(build-shared) isn't yes.
11054 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
11055 isn't yes.
11056 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
11057
189e935b
L
11058 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
11059
ced6f16e
L
11060 [BZ #14562]
11061 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
11062 new chunk size with MALLOC_ALIGN_MASK.
11063
a9f8e53a
JM
110642012-09-24 Joseph Myers <joseph@codesourcery.com>
11065
11066 [BZ #5044]
11067 * stdio-common/printf_fphex.c: Include <stdbool.h> and
11068 <rounding-mode.h>.
11069 (__printf_fphex): Determine rounding using get_rounding_mode and
11070 round_away.
11071 * stdio-common/tst-printf-round.c (struct hex_test): New
11072 structure.
11073 (hex_tests): New variable.
11074 (test_hex_in_one_mode): New function.
11075 (do_test): Also run tests for hex float output.
11076
43153109
JM
110772012-09-21 Joseph Myers <joseph@codesourcery.com>
11078
11079 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11080 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11081 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
11082 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11083 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11084 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
11085 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11086 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11087
8a26625d
JM
110882012-09-20 Joseph Myers <joseph@codesourcery.com>
11089
11090 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
11091 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
11092 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
11093 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
11094
f3fd569c
DL
110952012-09-19 Dmitry V. Levin <ldv@altlinux.org>
11096
11097 [BZ #14579]
11098 * elf/rtld.c (dl_main): Limit the check for self loading to normal
11099 mode only.
11100 * elf/tst-rtld-load-self.sh: New test.
11101 * elf/Makefile: Run it.
11102
63bbedd4
JM
111032012-09-18 Joseph Myers <joseph@codesourcery.com>
11104
11105 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
11106 (tst-writev-ENV): Remove.
11107 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
11108
626f8b6a
CM
111092012-09-17 Chris Metcalf <cmetcalf@tilera.com>
11110
11111 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
11112
b7aaa4d6
JM
111132012-09-17 Joseph Myers <joseph@codesourcery.com>
11114
11115 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
11116 unconditional.
11117 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
11118 Likewise.
11119 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
11120 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
11121 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
11122 Likewise.
11123
65513990
L
111242012-09-14 H.J. Lu <hongjiu.lu@intel.com>
11125
11126 [BZ #14587]
11127 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
11128 * config.make.in (have-cpp-asm-debuginfo): Removed.
11129 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
11130 * configure: Regenerated.
11131
784761be
JM
111322012-09-14 Joseph Myers <joseph@codesourcery.com>
11133
11134 [BZ #5044]
11135 * stdio-common/printf_fp.c: Include <stdbool.h> and
11136 <rounding-mode.h>.
11137 (___printf_fp): Determine rounding using get_rounding_mode and
11138 round_away.
11139 * stdio-common/tst-printf-round.c: New file.
11140 * stdio-common/Makefile (tests): Add tst-printf-round.
11141 (link-libm): New variable.
11142 ($(objpfx)tst-printf-round): Depend in $(link-libm).
11143
9503345f
L
111442012-09-13 H.J. Lu <hongjiu.lu@intel.com>
11145
11146 [BZ #14576]
11147 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
11148 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
11149 Likewise.
11150 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
11151 Likewise.
11152
ad35fc00
JM
111532012-09-13 Joseph Myers <joseph@codesourcery.com>
11154
11155 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
11156 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11157 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11158 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11159
6c9b0f68
JM
111602012-09-12 Joseph Myers <joseph@codesourcery.com>
11161
11162 [BZ #14518]
11163 * include/rounding-mode.h: New file.
11164 * sysdeps/generic/get-rounding-mode.h: Likewise.
11165 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
11166 * stdlib/strtod_l.c: Include <rounding-mode.h>.
11167 (MAX_VALUE): New macro.
11168 (MIN_VALUE): Likewise.
11169 (overflow_value): New function.
11170 (underflow_value): Likewise.
11171 (round_and_return): Use overflow_value and underflow_value to
11172 determine return values in overflow and underflow cases. Use
11173 round_away to determine rounding depending on rounding mode.
11174 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
11175 determine return values in overflow and underflow cases.
11176 * stdlib/tst-strtod-round.c: Include <fenv.h>.
11177 (struct test_results): New structure.
11178 (struct test): Use struct test_results to store expected results
11179 for all rounding modes.
11180 (TEST): Include expected results for all rounding modes.
11181 (test_in_one_mode): New function.
11182 (do_test): Use test_in_one_mode to compute and check results.
11183 Check results for all rounding modes.
11184 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
11185 $(link-libm).
11186
19fcedd5
AM
111872012-12-09 Allan McRae <allan@archlinux.org>
11188
1e9d84cd 11189 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 11190
8bbfd2f1
JM
111912012-09-11 Joseph Myers <joseph@codesourcery.com>
11192
11193 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
11194 (_G_int32_t): Likewise.
11195 (_G_uint16_t): Likewise.
11196 (_G_uint32_t): Likewise.
11197 (_G_HAVE_BOOL): Likewise.
11198 (_G_HAVE_ATEXIT): Likewise.
11199 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11200 (_G_HAVE_IO_FILE_OPEN): Likewise.
11201 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
11202 (_G_int32_t): Likewise.
11203 (_G_uint16_t): Likewise.
11204 (_G_uint32_t): Likewise.
11205 (_G_HAVE_BOOL): Likewise.
11206 (_G_HAVE_ATEXIT): Likewise.
11207 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11208 (_G_HAVE_IO_FILE_OPEN): Likewise.
11209 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
11210 (_G_int32_t): Likewise.
11211 (_G_uint16_t): Likewise.
11212 (_G_uint32_t): Likewise.
11213 (_G_HAVE_BOOL): Likewise.
11214 (_G_HAVE_ATEXIT): Likewise.
11215 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11216 (_G_HAVE_IO_FILE_OPEN): Likewise.
11217
b1dc5912
L
112182012-09-11 H.J. Lu <hongjiu.lu@intel.com>
11219
11220 * csu/libc-tls.c: Update copyright years.
11221
0e886ef9
JM
112222012-09-10 Joseph Myers <joseph@codesourcery.com>
11223
28361c5e
JM
11224 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
11225 [!_G_USING_THUNKS]: Remove conditional code.
11226 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
11227 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
11228
0e886ef9
JM
11229 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
11230 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
11231 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11232 (_G_VTABLE_LABEL_PREFIX): Likewise.
11233 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11234 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11235 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11236 (_G_VTABLE_LABEL_PREFIX): Likewise.
11237 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11238 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11239 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11240 (_G_VTABLE_LABEL_PREFIX): Likewise.
11241 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11242
bcba7aa2
L
112432012-09-10 H.J. Lu <hongjiu.lu@intel.com>
11244
11245 * libio/Makefile: Include ../Makeconfig before tests.
11246 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
11247 only if $(build-shared) is yes.
11248
06585ee8
L
11249 * iconv/gconv_db.c: Update copyright years.
11250
80ccd52c
LD
112512012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11252
11253 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
11254 unwind info if defined PIC. Fix special cases description.
11255 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
11256
11257 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
11258 DP_HI_MASK entry.
11259 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
11260
691bc9c1
L
112612012-09-07 H.J. Lu <hongjiu.lu@intel.com>
11262
3d9b46b3
L
11263 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
11264
de2139a9
L
11265 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
11266 is NULL.
11267
5ca78dd0
L
11268 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
11269 (LDLIBS-tst-chk4): This.
11270 (LDFLAGS-tst-chk5): Renamed to ...
11271 (LDLIBS-tst-chk5): This.
11272 (LDFLAGS-tst-chk6): Renamed to ...
11273 (LDLIBS-tst-chk6): This.
11274 (LDFLAGS-tst-lfschk4): Renamed to ...
11275 (LDLIBS-tst-lfschk4): This.
11276 (LDFLAGS-tst-lfschk5): Renamed to ...
11277 (LDLIBS-tst-lfschk5): This.
11278 (LDFLAGS-tst-lfschk6): Renamed to ...
11279 (LDLIBS-tst-lfschk6): This.
11280
691bc9c1
L
11281 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
11282 on $(common-objpfx)soversions.mk.
11283
65cafb1c
JM
112842012-09-07 Joseph Myers <joseph@codesourcery.com>
11285
11286 [BZ #10014]
11287 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
11288 example host name.
11289
c78ab094
SP
112902012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11291
11292 * malloc/arena.c (arena_get_retry): New function that gets
11293 another arena for the caller to try its request on.
11294 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
11295 current arena cannot fulfill the request.
11296 (__libc_memalign): Likewise.
11297 (__libc_memalign): Likewise.
11298 (__libc_pvalloc): Likewise.
11299 (__libc_calloc): Likewise.
11300
01f49f59
JT
113012012-09-05 John Tobey <john.tobey@gmail.com>
11302
11303 [BZ #13542]
11304 * manual/arith.texi (Operations on Complex): Fix description
11305 of carg branch cut.
11306
4c23fed5
JM
113072012-09-06 Joseph Myers <joseph@codesourcery.com>
11308
1d3c8572
JM
11309 [BZ #10014]
11310 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
11311 host name.
11312
4c23fed5
JM
11313 [BZ #10038]
11314 * manual/memory.texi (Memory): Make order of menu items match
11315 order of sections.
11316
04570aaa
L
113172012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11318
11319 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
11320 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
11321 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
11322
b80af2f4
L
113232012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11324
11325 * csu/libc-tls.c (static_dtv): Renamed to ...
11326 (_dl_static_dtv): This. Make it global.
11327 (_dl_initial_dtv): Removed.
11328 (__libc_setup_tls): Updated.
11329 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
11330 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
11331 DL_INITIAL_DTV.
11332
2abe9f15
PM
113332012-09-06 Petr Machata <pmachata@redhat.com>
11334
11335 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
11336 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
11337 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
11338 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
11339
0948c3af
L
113402012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11341
11342 [BZ #14545]
11343 * csu/libc-tls.c (_dl_initial_dtv): New variable.
11344 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
11345 freeing dtv[-1].
11346
a5055ad1
L
113472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11348
11349 [BZ #14544]
11350 * Makeconfig (link-static-before-libc): Replace $(+prector)
11351 with $(+prectorT).
11352 (link-static-after-libc): Replace $(+postctor) with
11353 $(+postctorT).
11354 (link-bounded): Replace $(+prector)/$(+postctor) with
11355 $(+prectorT)/$(+postctorT).
11356 (+prectorT): New macro.
11357 (+postctorT): Likewise.
11358
ed8c2ecd
JM
113592012-09-06 Joseph Myers <joseph@codesourcery.com>
11360
11361 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
11362 (round_str): Handle values above the maximum for IBM long double
11363 as inexact.
11364 * stdlib/tst-strtod-round.c (tests): Regenerated.
11365
14c996c8
AK
113662012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11367
11368 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
11369 assembler flag.
11370 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
11371 zarch_nohighgprs around the zarch optimized routines.
11372 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11373 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11374 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
11375 for zarch.
11376
430d6ce6
DM
113772012-09-05 David S. Miller <davem@davemloft.net>
11378
11379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11380
ff04dda4
DM
11381 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
11382 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
11383 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
11384 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11385 entries.
11386
24d4e01b
AO
113872012-09-05 Alexandre Oliva <aoliva@redhat.com>
11388
11389 * malloc/arena.c: Fold copyright years.
11390 * malloc/mcheck.c, malloc/memusage.c: Likewise.
11391
61d58174
AO
113922012-09-05 Alexandre Oliva <aoliva@redhat.com>
11393
11394 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
11395
20196a5e
AO
113962012-09-05 Alexandre Oliva <aoliva@redhat.com>
11397
11398 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
11399
5c447383
AO
114002012-09-05 Alexandre Oliva <aoliva@redhat.com>
11401
11402 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
11403 change internal state upon failure.
11404
fad64255
AO
114052012-09-05 Alexandre Oliva <aoliva@redhat.com>
11406
11407 * malloc/mcheck.c (mcheck_check_all): Fix typo.
11408 * malloc/memusage.c (mmap): Likewise.
11409 (mmap64, mremap): Likewise. Adjust name in comment.
11410
1ffb8c90
SP
114112012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11412
11413 * libio/fileops.c: Fix typos in comments.
11414 * libio/oldfileops.c: Likewise.
11415 * libio/wfileops.c: Likewise.
11416
6ef9cc37
SP
114172012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11418
11419 [BZ #1349]
11420 * malloc/Makefile (tests): Add tst-malloc-usable test case.
11421 (tst-malloc-usable-ENV): Set environment for test case.
11422 * malloc/hooks.c (malloc_check_get_size): New function to get
11423 requested size.
11424 * malloc/malloc.c (musable): Use malloc_check_get_size.
11425 * malloc/tst-malloc-usable.c: New test case.
11426
4d038ae3
AS
114272012-09-05 Andreas Schwab <schwab@linux-m68k.org>
11428
11429 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
11430
c4e85184
AM
114312012-09-05 Allan McRae <allan@archlinux.org>
11432
b9dafc56 11433 [BZ #13966]
c4e85184
AM
11434 * configure.in (CXX_SYSINCLUDES): Use compiler output to
11435 determine header location.
11436 * configure: Regenerated.
11437
e1343020
AS
114382012-09-05 Andreas Schwab <schwab@linux-m68k.org>
11439
11440 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
11441 float format.
11442 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
11443 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
11444 format.
e1343020
AS
11445 (test): Regenerate.
11446
0a9f1987
DM
114472012-09-04 David S. Miller <davem@davemloft.net>
11448
11449 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
11450 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
11451 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
11452
29237804
FW
114532012-09-04 Florian Weimer <fweimer@redhat.com>
11454
11455 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
11456 failures.
11457
edb3cb88
FW
11458 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
11459
60160d83
JM
114602012-09-04 Joseph Myers <joseph@codesourcery.com>
11461
11462 [BZ #9914]
11463 * libio/iogetdelim.c: Include <limits.h>.
11464 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
11465 + len + 1 would overflow.
11466
bcd6c8dc
AJ
114672012-09-03 Andreas Jaeger <aj@suse.de>
11468
11469 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11470 * sysdeps/i386/fpu/libm-test-ulps: Update.
11471
4ffffbd2
LD
114722012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11473
11474 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11475 Add s_sinf-sse2, s_conf-sse2.
11476
11477 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
11478 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
11479 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
11480 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
11481
11482 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
11483 for using routine as __sinf_ia32.
11484 Use macro for function declaration and weak_alias.
11485 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
11486 for using routine as __cosf_ia32.
11487 Use macro for function declaration and weak_alias.
11488
11489 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
11490 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
11491
11492 * sysdeps/x86_64/fpu/s_sinf.S: New file.
11493 * sysdeps/x86_64/fpu/s_cosf.S: New file.
11494 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11495
11496 * math/libm-test.inc (cos_test): Add more test cases.
11497 (sin_test): Likewise.
11498 (sincos_test): Likewise.
11499
511fa286
AK
115002012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11501
11502 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
11503 (IFUNC_RESOLVE): Make pointers to the specialized implementations
11504 hidden.
11505 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11506
5f30cfec
L
115072012-09-02 H.J. Lu <hongjiu.lu@intel.com>
11508
11509 [BZ #14538]
11510 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
11511 first element of the GOT.
11512 (elf_machine_load_address): Return the difference between
11513 the runtime address of _DYNAMIC and elf_machine_dynamic ().
11514
0786794f
AM
115152012-09-01 Allan McRae <allan@archlinux.org>
11516
5f30cfec
L
11517 [BZ #13412]
11518 * configure.in (AWK): Require gawk version 3.0 or later.
11519 * configure: Regenerated.
0786794f 11520
26889eac
JM
115212012-09-01 Joseph Myers <joseph@codesourcery.com>
11522
11523 * sysdeps/unix/sysv/linux/kernel-features.h
11524 (__ASSUME_POSIX_CPU_TIMERS): Remove.
11525 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11526 [__NR_clock_getres]: Make code unconditional.
11527 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
11528 (clock_getcpuclockid): Remove code left unreachable by removal of
11529 conditionals.
11530 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
11531 code unconditional.
11532 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11533 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11534 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
11535 Make code unconditional.
11536 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11537 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11538 * sysdeps/unix/sysv/linux/clock_settime.c
11539 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
11540 conditional code.
11541 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
11542 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11543
d22e28b0
L
115442012-08-29 H.J. Lu <hongjiu.lu@intel.com>
11545
11546 [BZ #14476]
11547 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
11548 scripts/test-installation.pl.
11549
11550 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
11551 and $ld_so_version if it is set.
11552
050af9c4
SP
115532012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11554
11555 [BZ #14516]
11556 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
11557 failure if reading from procfs failed.
11558 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
11559
ad845c0b
JM
115602012-08-27 Joseph Myers <joseph@codesourcery.com>
11561
11562 * sysdeps/unix/sysv/linux/kernel-features.h
11563 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
11564 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11565 Remove conditional code.
11566 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11567 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
11568 Remove conditional code.
11569 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11570 * sysdeps/unix/sysv/linux/i386/fxstat.c
11571 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11572 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11573 * sysdeps/unix/sysv/linux/i386/fxstatat.c
11574 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11575 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11576 * sysdeps/unix/sysv/linux/i386/lxstat.c
11577 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11578 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11579 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
11580 Remove conditional code.
11581 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11582 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11583 Remove conditional code.
11584 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11585 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
11586 <kernel-features.h>.
11587 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
11588 Remove.
11589 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
11590 Remove conditional code.
11591 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11592 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
11593 Remove conditional.
11594
5dbf56af
MF
115952012-08-27 Mike Frysinger <vapier@gentoo.org>
11596
11597 [BZ #5400]
11598 * NEWS: Add fixed bug number.
11599
d6e70f43
JM
116002012-08-27 Joseph Myers <joseph@codesourcery.com>
11601
7efb4737
JM
11602 [BZ #14519]
11603 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
11604 underflowing exponent in case of negative sign.
11605 * stdlib/tst-strtod-round-data: Add more tests.
11606 * stdlib/tst-strtod-round.c (tests): Regenerated.
11607
af92131a
JM
11608 [BZ #3479]
11609 * stdlib/strtod_l.c (NDIG): Remove.
11610 (HEXNDIG): Likewise.
11611 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
11612 smallest representable value.
11613 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
11614 lie within an exact representation of 1/2 ulp of the result.
11615 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
11616 unconditionally.
11617 (TENS_P9_IDX): Define unconditionally.
11618 (TENS_P9_SIZE): Likewise.
11619 (TENS_P10_IDX): Likewise.
11620 (TENS_P10_SIZE): Likewise.
11621 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
11622 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
11623 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
11624 entries for 10^2^13 and 10^2^14.
11625 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
11626 (TENS_P13_IDX): Define.
11627 (TENS_P13_SIZE): Likewise.
11628 (TENS_P14_IDX): Likewise.
11629 (TENS_P14_SIZE): Likewise.
11630 (_fpioconst_pow10): Change array size to
11631 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
11632 unconditional.
11633 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
11634 1024]: Add entries for 10^2^13 and 10^2^14.
11635 [LAST_POW10 > _LAST_POW10]: Remove #error.
11636 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
11637 (_fpioconst_pow10): Change array size to
11638 FPIOCONST_POW10_ARRAY_SIZE.
11639 * stdlib/gen-fpioconst.c: New file.
11640 * stdlib/gen-tst-strtod-round.c: Likewise.
11641 * stdlib/tst-strtod-round-data: Likewise.
11642 * stdlib/tst-strtod-round.c: Likewise.
11643 * stdlib/Makefile (tests): Add tst-strtod-round.
11644
d6e70f43
JM
11645 [BZ #14459]
11646 * stdlib/strtod_l.c: Include <stdint.h>.
11647 (NDEBUG): Do not define.
11648 (round_and_return): Change EXPONENT parameter to type intmax_t.
11649 Rearrange calculations to avoid internal overflow possibilities.
11650 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
11651 Rearrange calculations to avoid internal overflow possibilities.
11652 Assert that number fits inside MPNSIZE limbs.
11653 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
11654 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
11655 calculations and add assertions to avoid internal overflow
11656 possibilities. Add casts to avoid signed/unsigned operations.
11657 * stdlib/tst-strtod-overflow.c: New file.
11658 * stdlib/Makefile (tests): Add tst-strtod-overflow.
11659
1f529f7d
MP
116602012-08-25 Marek Polacek <polacek@redhat.com>
11661
11662 * time/time.h: Fix some typos in comments.
11663
59a629f1
RM
116642012-08-23 Roland McGrath <roland@hack.frob.com>
11665
11666 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
11667 * posix/tst-rfc3484-2.c: Likewise.
11668 * posix/tst-rfc3484-3.c: Likewise.
11669
d3bafbc9
SM
116702012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
11671
11672 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
11673 (EF_ARM_ABI_FLOAT_HARD): Likewise.
11674
4efcc022
JM
116752012-08-23 Joseph Myers <joseph@codesourcery.com>
11676
11677 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
11678 #include of fxstatat64.c.
11679
3cc3ef96
RM
116802012-08-22 Roland McGrath <roland@hack.frob.com>
11681
f04e2132
RM
11682 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
11683 * shadow/getspent_r.c: Likewise.
11684 * shadow/getspnam.c: Likewise.
11685 * shadow/getspnam_r.c: Likewise.
11686 * gshadow/getsgent.c: Likewise.
11687 * gshadow/getsgent_r.c: Likewise.
11688 * gshadow/getsgnam.c: Likewise.
11689 * gshadow/getsgnam_r.c: Likewise.
11690 * inet/getnetbyad.c: Likewise.
11691 * inet/getnetbyad_r.c: Likewise.
11692 * inet/getnetbynm.c: Likewise.
11693 * inet/getnetbynm_r.c: Likewise.
11694 * inet/getnetent.c: Likewise.
11695 * inet/getnetent_r.c: Likewise.
11696 * inet/getproto.c: Likewise.
11697 * inet/getproto_r.c: Likewise.
11698 * inet/getprtent.c: Likewise.
11699 * inet/getprtent_r.c: Likewise.
11700 * inet/getprtname.c: Likewise.
11701 * inet/getprtname_r.c: Likewise.
11702 * inet/getrpcbyname.c: Likewise.
11703 * inet/getrpcbyname_r.c: Likewise.
11704 * inet/getrpcbynumber.c: Likewise.
11705 * inet/getrpcbynumber_r.c: Likewise.
11706 * inet/getrpcent.c: Likewise.
11707 * inet/getrpcent_r.c: Likewise.
11708 * inet/getaliasent.c: Likewise.
11709 * inet/getaliasent_r.c: Likewise.
11710 * inet/getaliasname.c: Likewise.
11711 * inet/getaliasname_r.c: Likewise.
11712 * nscd/getgrgid_r.c: Likewise.
11713 * nscd/getgrnam_r.c: Likewise.
11714 * nscd/gethstbyad_r.c: Likewise.
11715 * nscd/gethstbynm3_r.c: Likewise.
11716 * nscd/getpwnam_r.c: Likewise.
11717 * nscd/getpwuid_r.c: Likewise.
11718 * nscd/getsrvbynm_r.c: Likewise.
11719 * nscd/getsrvbypt_r.c: Likewise.
11720 * nscd/gai.c: Likewise.
11721
c53d909c
RM
11722 * configure.in (build_nscd): New substituted variable, set
11723 by --disable-build-nscd and defaults to $use_nscd.
11724 * configure: Regenerated.
11725 * config.make.in (build-nscd): New substituted variable.
11726 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
11727 Change conditional to require [$(build-nscd) = yes] as well.
11728 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
11729
3cc3ef96
RM
11730 [BZ# 13696]
11731 * configure.in (use_nscd): New substituted variable, set by
11732 --disable-nscd. If enabled, define USE_NSCD.
11733 * configure: Regenerated.
11734 * config.h.in: Add USE_NSCD.
11735 * config.make.in (use-nscd): New substituted variable.
11736 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
11737 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
11738 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
11739 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
11740 (CFLAGS-getgrnam_r.c): Likewise.
11741 (CFLAGS-initgroups.c): Likewise.
11742 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
11743 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
11744 Variables removed.
11745 * inet/getnetgrent_r.c
11746 (nscd_setnetgrent): New function, broken out of ...
11747 (setnetgrent): ... here. Call it.
11748 (innetgr): Conditionalize nscd bits on [USE_NSCD].
11749 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
11750 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
11751 * nscd/Makefile (routines, aux): Move definitions after include of
11752 Makeconfig. Conditionalize on [$(use-nscd) != no].
11753 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
11754 Conditionalize on [USE_NSCD].
11755 (is_nscd, nscd_init_cb): Likewise.
11756 (nss_load_library): Conditionalize init callback on [USE_NSCD].
11757 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
11758 * nss/nss_db/db-init.c: Likewise.
11759 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
11760 [USE_NSCD].
11761 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
11762 (make_request): Use it.
11763 (cache_valid_p): New function.
11764 (__check_pf): Use it.
11765 * NEWS: Add item for --disable-nscd.
11766
07e51550
DL
117672012-08-22 Dmitry V. Levin <ldv@altlinux.org>
11768
11769 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
11770 to support sed >= 4.2.1-20-ga9bf076.
11771 * configure: Regenerated.
11772
35a5b08b
RM
117732012-08-22 Roland McGrath <roland@hack.frob.com>
11774
11775 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
11776 Conditionalize whole body on [IREL].
11777
8479f23a
JL
117782012-08-22 Jeff Law <law@redhat.com>
11779
11780 [BZ #14505]
11781 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
11782 if the family is PF_UNSPEC.
11783
48da0b21
MF
117842012-08-22 Mike Frysinger <vapier@gentoo.org>
11785
11786 * Makerules (lib-version): Rename from V.
11787 (install-lib-nosubdir): Change V to lib-version.
11788
15d0da8c
WS
117892012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
11790
11791 [BZ #14252]
11792 * powerpc32/power6/wcschr.c: New file.
11793 * powerpc32/power6/wcscpy.c: New file.
11794 * powerpc32/power6/wcsrchr.c: New file.
11795 * powerpc64/power6/wcschr.c: New file.
11796 * powerpc64/power6/wcscpy.c: New file.
11797 * powerpc64/power6/wcsrchr.c: New file.
11798
bcca0895
MK
117992012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11800
11801 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
11802 (two_way_short_needle): Use it.
5a4aaa33
RM
11803 * string/strstr.c (AVAILABLE1_USES_J): Define.
11804 * string/strcasestr.c: Likewise.
99677e57
MK
11805
11806 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
11807 array references.
11808 * string/strcasestr.c (TOLOWER): Make side-effect safe.
11809
400726de
MK
11810 [BZ #11607]
11811 * NEWS: Add an entry.
11812 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
11813 define their defaults.
11814 (two_way_short_needle): Detect end-of-string on-the-fly.
11815 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
11816 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
11817 * string/bug-strcasestr1.c: New test.
11818 * string/Makefile: Run it.
11819
20a71f2c
MK
118202012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11821
11822 [BZ #11607]
11823 * string/str-two-way.h (two_way_short_needle): Optimize matching of
11824 the first character.
11825
21ad0558
RM
118262012-08-21 Roland McGrath <roland@hack.frob.com>
11827
11828 * csu/elf-init.c (__libc_csu_irel): Function removed.
11829 * csu/libc-start.c (apply_irel): New function.
11830 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
11831
0e1d9911
JM
118322012-08-21 Joseph Myers <joseph@codesourcery.com>
11833
11834 * sysdeps/unix/sysv/linux/kernel-features.h
11835 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
11836 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11837 <kernel-features.h>.
11838 [__NR_fadvise64_64]: Make code unconditional.
11839 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
11840 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11841 !__NR_fadvise64_64)]: Likewise.
11842 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11843 !__NR_fadvise64_64))]: Likewise.
11844 [__NR_fadvise64]: Make code unconditional.
11845 [!__NR_fadvise64]: Remove conditional code.
11846 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
11847 <kernel-features.h>.
11848 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11849 unconditional.
11850 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11851 conditional code.
11852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
11853 not include <kernel-features.h>.
11854 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11855 unconditional.
11856 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11857 conditional code.
11858 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
11859 include <kernel-features.h>.
11860 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11861 unconditional.
11862 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11863 conditional code.
11864
14a50c9d
WS
118652012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11866
11867 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
11868 slight instruction rearrangements per scrollpipe analysis.
11869 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11870
c0f4faf0
RM
118712012-08-20 Roland McGrath <roland@hack.frob.com>
11872
696da859
RM
11873 * manual/syslog.texi (syslog; vsyslog, closelog):
11874 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
11875 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
11876
c0f4faf0
RM
11877 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
11878 DSOCAPS to match condition on defining it.
11879
348363b2
JM
118802012-08-20 Joseph Myers <joseph@codesourcery.com>
11881
a35cbf28
JM
11882 * sysdeps/unix/sysv/linux/kernel-features.h
11883 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
11884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
11885 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11886 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
11888 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11889 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
11891 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11892 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11893
445f7ecd
JM
11894 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
11895 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
11896
348363b2
JM
11897 * sysdeps/unix/sysv/linux/kernel-features.h
11898 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
11899 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
11900 unconditional.
11901 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11902 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
11903 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11904 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11905 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
11906 Make code unconditional.
11907 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11908 (__mmap64) [!__NR_mmap2]: Likewise.
11909 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
11910 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11911 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11912 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
11913 [__NR_mmap2]: Make code unconditional.
11914 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11915 (__mmap64) [!__NR_mmap2]: Likewise.
11916
bc5bc0e5
AK
119172012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11918
11919 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
11920
88d506de
AJ
119212012-08-18 Andreas Jaeger <aj@suse.de>
11922
11923 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
11924
493387d2
MF
119252012-08-18 Mike Frysinger <vapier@gentoo.org>
11926
11927 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
11928 * include/unistd.h (__have_sock_cloexec): Likewise.
11929 (__have_pipe2): Likewise.
11930 (__have_dup3): Likewise.
11931
a277af22
MF
119322012-08-18 Mike Frysinger <vapier@gentoo.org>
11933
11934 [BZ #9685]
11935 * include/unistd.h (__have_pipe2): Change define into an extern int.
11936 (__have_dup3): Likewise.
11937 * socket/have_sock_cloexec.c: Include fcntl.h.
11938 (__have_pipe2): New variable.
11939 (__have_dup3): Likewise.
11940
fdab8fd3
MF
119412012-08-17 Mike Frysinger <vapier@gentoo.org>
11942
11943 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
11944
31035e80
MP
119452012-08-17 Marek Polacek <polacek@redhat.com>
11946
11947 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
11948 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
11949
3bd9e993
RM
119502012-08-17 Roland McGrath <roland@hack.frob.com>
11951
c91c505f
RM
11952 * configure.in: Add AC_SUBST for sysheaders.
11953 * configure: Regenerated.
11954 * config.make.in (sysheaders): New substituted variable.
11955
7c6f9d53
RM
11956 * sysdeps/unix/mkfifo.c: Moved ...
11957 * sysdeps/posix/mkfifo.c: ... here.
11958 * sysdeps/unix/mkfifoat.c: Moved ...
11959 * sysdeps/posix/mkfifoat.c: ... here.
11960
11961 * sysdeps/unix/utime.c: Moved ...
11962 * sysdeps/posix/utime.c: ... here.
11963
11964 * sysdeps/unix/time.c: Moved ...
11965 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
11966 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
11967 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
11968
11969 * sysdeps/unix/nice.c: Moved ...
11970 * sysdeps/posix/nice.c: ... here.
11971
11972 * sysdeps/unix/alarm.c: Moved ...
11973 * sysdeps/posix/alarm.c: ... here.
11974
3bd9e993
RM
11975 * intl/Makefile ($(codeset_mo)): Depend on the input file.
11976
d1f09384
JL
119772012-08-17 Jeff Law <law@redhat.com>
11978
11979 * intl/Makefile (codeset_mo): New variable.
11980 ($(codeset_mo)): New target.
11981 (tst-codeset.out): Depend on that. Remove explicit rule.
11982 (tst-gettext3.out, tst-gettext5.out): Likewise.
11983 (LOCPATH-ENV, tst-codeset-ENV): New variables.
11984 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
11985 * intl/tst-codeset.sh: Remove.
11986 * intl/tst-gettext3.sh: Likewise.
11987 * intl/tst-gettext5.sh: Likewise.
11988
2ae1ae5c
RM
119892012-08-17 Roland McGrath <roland@hack.frob.com>
11990
c31fdb83
RM
11991 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
11992 * sysdeps/unix/syscalls.list: ... here.
11993
a0844057
RM
11994 * sysdeps/posix/getaddrinfo.c
11995 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
11996 (gaiconf_init, gaiconf_reload): Use them.
11997 [!_STATBUF_ST_NSEC]
11998 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
11999 Define using time_t rather than struct timespec.
12000
750c1f2a
RM
12001 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
12002 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
12003 Macros removed.
12004 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
12005 [!NO_THREADS].
12006 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
12007 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
12008 Likewise.
12009
2ae1ae5c
RM
12010 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
12011 __libc_cleanup_push argument.
12012
e66a42f5
RM
12013 * bits/param.h: New file.
12014 * misc/sys/param.h: New file.
12015 * include/sys/param.h: New file.
12016 * misc/Makefile (headers): Add bits/param.h.
12017 * sysdeps/generic/sys/param.h: File removed.
12018 * sysdeps/unix/sysv/linux/bits/param.h: New file.
12019 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
12020 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 12021 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 12022
b7c08a66
RM
12023 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
12024 last change.
12025
b2e1c562
RM
12026 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
12027 [_IO_MTSAFE_IO].
12028 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
12029 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
12030 New macros.
12031
c75ccd4c
RM
12032 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
12033 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
12034 rather than -D_IO_MTSAFE_IO conditionally.
12035 * stdio-common/Makefile (CPPFLAGS): Likewise.
12036 * wcsmbs/Makefile (CPPFLAGS): Likewise.
12037 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
12038 Use $(libio-mtsafe).
12039 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
12040 of -D_IO_MTSAFE_IO.
12041 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
12042 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
12043 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
12044 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
12045 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
12046 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
12047 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
12048 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
12049 (CFLAGS-fread_u_chk.c): Likewise.
12050 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
12051 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
12052 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
12053 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
12054 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
12055 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
12056 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
12057 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
12058 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
12059
12060 * libio/Makefile: Test [$(libc-reentrant) = yes]
12061 instead of [$(filter %REENTRANT, $(defines)) nonempty].
12062
12063 * Makeconfig
12064 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
12065 * sysdeps/pthread/configure: File removed.
12066 * sysdeps/pthread/Makeconfig: New file.
12067 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
12068 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
12069
d9195db8
GB
120702012-08-16 Gary Benson <gbenson@redhat.com>
12071
12072 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
12073 unmapping the first object in a namespace.
12074
86466cd9
RM
120752012-08-16 Roland McGrath <roland@hack.frob.com>
12076
12077 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
12078 (__internal_setnetgrent): ... this. Add internal_function to
12079 definition. Add libc_hidden_def.
12080 (setnetgrent): Update caller.
12081 (internal_endnetgrent): Renamed to ...
12082 (__internal_endnetgrent): ... this. Add internal_function to
12083 definition. Add libc_hidden_def.
12084 (endnetgrent): Update caller.
12085 (internal_getnetgrent_r): Renamed to ...
12086 (__internal_getnetgrent_r): ... this. Add internal_function to
12087 definition. Add libc_hidden_def.
12088 (__getnetgrent_r): Update caller.
12089 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
12090
c3c8283c
JM
120912012-08-16 Joseph Myers <joseph@codesourcery.com>
12092
12093 * stdlib/longlong.h: Update from GCC.
12094
db1ee0a8
RM
120952012-08-16 Roland McGrath <roland@hack.frob.com>
12096
12097 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
12098 on _QL, which is set by umul_ppmm but never used.
12099 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
12100 variables, which are set by GMP macros but never used.
12101 * stdio-common/_itowa.c (_itowa): Likewise.
12102 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
12103 * stdlib/mod_1.c (mpn_mod_1): Likewise.
12104
30f69637
CD
121052012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
12106
12107 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
12108 struct La_sh_regs is not constant.
12109 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
12110 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
12111 and struct La_sparc64_regs are not constant.
12112
93a78ac4
JM
121132012-08-16 Joseph Myers <joseph@codesourcery.com>
12114
12115 * sysdeps/unix/sysv/linux/kernel-features.h
12116 (__ASSUME_POSIX_TIMERS): Remove.
12117 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12118 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12119 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
12120 Make code unconditional.
12121 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12122 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
12123 Make code unconditional.
12124 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12125 * sysdeps/unix/sysv/linux/clock_nanosleep.c
12126 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
12127 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12128 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
12129 Make code unconditional.
12130 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12131 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
12132 (__libc_missing_posix_timers): Remove.
12133
dd924cd7
RM
121342012-08-15 Roland McGrath <roland@hack.frob.com>
12135
4b4f2771
RM
12136 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
12137 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
12138
601c888b
RM
12139 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
12140
176790a7
RM
12141 * elf/dl-sym.c: Include <stdlib.h>.
12142
329bc018
RM
12143 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
12144 constants, which avoids warnings in 32-bit builds.
12145
e04e272d
RM
12146 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
12147 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
12148
952bf94a
RM
12149 * misc/lseek.c: File moved to ...
12150 * io/lseek.c: ... here.
12151
7c99b50a
RM
12152 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
12153
dd924cd7
RM
12154 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
12155 shifting LEN more than 31 bits at once.
12156
b3f479a8
LD
121572012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12158
12159 [BZ #14195]
8c4ae0d4
RM
12160 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
12161 segmentation fault for a case of two empty input strings.
b3f479a8
LD
12162 * string/test-strncasecmp.c (check1): Renamed to...
12163 (bz12205): ...this.
12164 (bz14195): Add new testcase for two empty input strings and N > 0.
12165 (test_main): Call new testcase, adapt for renamed function.
12166
9c55864e
AJ
121672012-08-15 Andreas Jaeger <aj@suse.de>
12168
12169 [BZ #14090]
12170 * crypt/md5test2.c: New test, based on test supplied by Serge
12171 Belyshev <belyshev@depni.sinp.msu.ru>.
12172 * crypt/Makefile (xtests): Add md5test-giant..
12173 * crypt/Makefile ($(objpfx)md5test-giant): Add.
12174
02dcb6c5
PE
121752012-08-15 Paul Eggert <eggert@cs.ucla.edu>
12176
12177 [BZ #14090]
12178 * crypt/md5.c (md5_process_block): Don't assume the buffer
12179 length is less than 2**32.
12180 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
12181 length is less than 2**64.
12182
a3f95dcc
RM
121832012-08-15 Roland McGrath <roland@hack.frob.com>
12184
be75d758
RM
12185 * string/str-two-way.h: Include <sys/param.h>.
12186 (MAX): Macro removed.
12187
7312ca90
RM
12188 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
12189 Move #define and #undef of memmove to just before and after
12190 including <string.h>.
12191
9a0a5486
RM
12192 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
12193 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
12194 and after including <string.h>. Move declarations of
12195 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
12196 to before #include "string/memmove.c".
12197
67cc348d
RM
12198 * include/dirent.h: Declare __getdirentries.
12199
a3f95dcc
RM
12200 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
12201 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
12202
ca98e171
MF
122032012-08-14 Mike Frysinger <vapier@gentoo.org>
12204
12205 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
12206 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
12207 * sysdeps/i386/configure: Regenerated.
12208 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
12209 STABS_CURRENT_FILE, and STABS_FUN.
12210 (END): Remove call to STABS_FUN_END.
12211 (STABS_CURRENT_FILE1): Delete.
12212 (STABS_CURRENT_FILE): Likewise.
12213 (STABS_FUN): Likewise.
12214 (STABS_FUN_END): Likewise.
12215 (STABS_FUN2): Likewise.
12216 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
12217 * sysdeps/x86_64/configure: Regenerated.
12218
5908bf46
RM
122192012-08-14 Roland McGrath <roland@hack.frob.com>
12220
12221 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 12222 * elf/dl-lookup.c: Likewise.
5908bf46 12223
f2c05b9e
JM
122242012-08-14 Joseph Myers <joseph@codesourcery.com>
12225
12226 * sysdeps/unix/sysv/linux/kernel-features.h
12227 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
12228 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
12229 unconditionally.
12230 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
12231 unconditionally.
12232 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
12233 condition on __ASSUME_CLONE_THREAD_FLAGS.
12234
e11f5155
AJ
122352012-08-14 Andreas Jaeger <aj@suse.de>
12236
12237 * sysdeps/i386/fpu/libm-test-ulps: Update.
12238
51a9ba86
MK
122392012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
12240
2fdd4f78
AJ
12241 * include/atomic.h (atomic_exchange_and_add): Split into ...
12242 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
12243 New atomic macros.
51a9ba86 12244
ba6cba9e
MT
122452012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
12246
12247 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12248
42443a47
JL
122492012-08-13 Jeff Law <law@redhat.com>
12250
12251 * manual/stdio.texi (snprintf): Clarify handling of the trailing
12252 null byte in the output string.
12253
121dce05
JM
122542012-08-10 Joseph Myers <joseph@codesourcery.com>
12255
12256 * sysdeps/unix/sysv/linux/kernel-features.h
12257 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
12258 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
12259 (__ASSUME_ARG_MAX_STACK_BASED): Define.
12260 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12261 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
12262 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
12263 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
12264
bf51f568
JL
122652012-08-09 Jeff Law <law@redhat.com>
12266
12267 [BZ #13939]
12268 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
12269 When avoid_arena is set, don't retry in the that arena. Pick the
12270 next one, whatever it might be.
12271 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
12272 (arena_lock): Pass in new parameter to arena_get2.
12273 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
12274 arena_get2.
12275 (__libc_malloc): Unify retrying after main arena failure with
12276 __libc_memalign version.
12277 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
12278
f85fa270
L
122792012-08-09 H.J. Lu <hongjiu.lu@intel.com>
12280
12281 [BZ #14166]
12282 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
12283 to __redirect_strstr.
12284 (__strstr_sse42): Use typeof __redirect_strstr.
12285 (__strstr_ia32): Likewise.
12286 (__libc_strstr): New prototype.
12287 (strstr): Renamed to ...
12288 (__libc_strstr): This.
12289 (strstr): New strong alias of __libc_strstr.
12290 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12291 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
12292 __redirect_time.
12293 Include <time.h>.
12294 (__libc_time): New prototype.
12295 (time_ifunc): Replace time with __libc_time.
12296 (time): New strong alias and hidden definition of __libc_time.
12297 (__GI_time): Remove strong alias.
12298 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
12299 Include <stddef.h>.
12300 (memmove): Redefined to __redirect_memmove.
12301 (__memmove_sse2): Use typeof __redirect_memmove.
12302 (__memmove_ssse3): Likewise.
12303 (__memmove_ssse3_back): Likewise.
12304 (__libc_memmove): New prototype.
12305 (memmove): Renamed to ...
12306 (__libc_memmove): This.
12307 (memmove): New strong alias of __libc_memmove.
12308
33b4a91e
MS
123092012-08-08 Mark Salter <msalter@redhat.com>
12310
12311 * elf/elf.h
12312 (R_MN10300_TLS_GD): Define.
12313 (R_MN10300_TLS_LD): Likewise.
12314 (R_MN10300_TLS_LDO): Likewise.
12315 (R_MN10300_TLS_GOTIE): Likewise.
12316 (R_MN10300_TLS_IE): Likewise.
12317 (R_MN10300_TLS_LE): Likewise.
12318 (R_MN10300_TLS_DTPMOD): Likewise.
12319 (R_MN10300_TLS_DTPOFF): Likewise.
12320 (R_MN10300_TLS_TPOFF): Likewise.
12321 (R_MN10300_SYM_DIFF): Likewise.
12322 (R_MN10300_ALIGN): Likewise.
12323 (R_MN10300_NUM): Update.
12324
b36137f1
JM
123252012-08-08 Joseph Myers <joseph@codesourcery.com>
12326
12327 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
12328 Remove.
12329
cdd915fd
RM
123302012-08-08 Roland McGrath <roland@hack.frob.com>
12331
a2433aac
RM
12332 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
12333
cdd915fd
RM
12334 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
12335 sysdeps/unix -> sysdeps/posix move.
12336 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12337
bf9b740a
AM
123382012-08-07 Allan McRae <allan@archlinux.org>
12339
12340 [BZ #14303]
12341 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
12342 (SUNOS_CPP): Likewise.
12343 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
12344 not found.
12345 (open_input): Call CPP using execvp.
12346
93df14ee
JM
123472012-08-07 Joseph Myers <joseph@codesourcery.com>
12348
12349 * sysdeps/unix/sysv/linux/kernel-features.h
12350 (__ASSUME_PROT_GROWSUPDOWN): Remove.
12351 (__ASSUME_NO_CLONE_DETACHED): Likewise.
12352 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12353 (__ASSUME_WAITID_SYSCALL): Likewise.
12354 * sysdeps/unix/sysv/linux/dl-execstack.c
12355 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
12356 code unconditional.
12357 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
12358 conditional code.
12359 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
12360 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
12361 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
12362 code.
12363 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
12364 unconditional.
12365 [__ASSUME_WAITID_SYSCALL]: Likewise.
12366 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
12367
d34689de
RM
123682012-08-07 Roland McGrath <roland@hack.frob.com>
12369
a281decc
RM
12370 * sysdeps/unix/closedir.c: Renamed to ...
12371 * sysdeps/posix/closedir.c: ... here.
12372 * sysdeps/unix/dirfd.c: Renamed to ...
12373 * sysdeps/posix/dirfd.c: ... here.
12374 * sysdeps/unix/dirstream.h: Renamed to ...
12375 * sysdeps/posix/dirstream.h: ... here.
12376 * sysdeps/unix/fdopendir.c: Renamed to ...
12377 * sysdeps/posix/fdopendir.c: ... here.
12378 * sysdeps/unix/opendir.c: Renamed to ...
12379 * sysdeps/posix/opendir.c: ... here.
12380 * sysdeps/unix/readdir.c: Renamed to ...
12381 * sysdeps/posix/readdir.c: ... here.
12382 * sysdeps/unix/readdir_r.c: Renamed to ...
12383 * sysdeps/posix/readdir_r.c: ... here.
12384 * sysdeps/unix/rewinddir.c: Renamed to ...
12385 * sysdeps/posix/rewinddir.c: ... here.
12386 * sysdeps/unix/seekdir.c: Renamed to ...
12387 * sysdeps/posix/seekdir.c: ... here.
12388 * sysdeps/unix/telldir.c: Renamed to ...
12389 * sysdeps/posix/telldir.c: ... here.
12390 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
12391 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
12392 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12393 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12394
22895b47
RM
12395 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
12396 * bits/fcntl.h: ... here.
12397
707a53b6
RM
12398 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
12399 not 0.
12400 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
12401 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
12402 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
12403 (struct flock): Move l_start, l_len to the beginning.
12404 Use __pid_t for l_pid.
12405 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
12406 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
12407 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
12408 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
12409 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
12410 [__USE_LARGEFILE64] (struct flock64): New type.
12411 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
12412
f0bd3e25
RM
12413 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
12414 * bits/dirent.h: ... here.
12415
d34689de
RM
12416 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
12417 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
12418
6dad2c06
JM
124192012-08-07 Joseph Myers <joseph@codesourcery.com>
12420
12421 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12422 Change from 2.6.0 to 2.6.16.
12423 * sysdeps/unix/sysv/linux/configure: Regenerated.
12424 * sysdeps/unix/sysv/linux/kernel-features.h
12425 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
12426 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
12427 version.
12428 (__ASSUME_UTIMES): Likewise.
12429 (__ASSUME_CLONE_STOPPED): Remove.
12430 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
12431 architectures, not kernel version.
12432 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
12433 (__ASSUME_NO_CLONE_DETACHED): Likewise.
12434 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12435 (__ASSUME_WAITID_SYSCALL): Likewise.
12436 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
12437 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
12438 * README: State 2.6.16 as minimum Linux kernel version. Do not
12439 refer to older versions.
12440
03af9520
RM
124412012-08-06 Roland McGrath <roland@hack.frob.com>
12442
8e49df1d
RM
12443 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
12444 Define alphasort64 as an alias.
12445 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
12446 Define versionsort64 as an alias.
12447 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
12448 Define scandir64 as an alias.
12449 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
12450 Define scandirat64 as an alias.
12451 * dirent/alphasort64.c (alphasort64):
12452 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
12453 * dirent/versionsort64.c: Likewise.
12454 * dirent/scandir64.c: Likewise.
12455 * dirent/scandirat64.c: Likewise.
12456 * sysdeps/wordsize-64/alphasort.c: File removed.
12457 * sysdeps/wordsize-64/alphasort64.c: File removed.
12458 * sysdeps/wordsize-64/scandir.c: File removed.
12459 * sysdeps/wordsize-64/scandir64.c: File removed.
12460 * sysdeps/wordsize-64/scandirat.c: File removed.
12461 * sysdeps/wordsize-64/scandirat64.c: File removed.
12462 * sysdeps/wordsize-64/versionsort.c: File removed.
12463 * sysdeps/wordsize-64/versionsort64.c: File removed.
12464 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
12465 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
12466 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
12467 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
12468 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
12469 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
12470 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
12471 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
12472
12473 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
12474 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
12475 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
12476 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12477 [defined __arch64__ || defined __sparcv9]
12478 (__INO_T_MATCHES_INO64_T): New macro.
12479 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12480 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
12481 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
12482 * sysdeps/unix/sysv/linux/bits/dirent.h
12483 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
12484 (_DIRENT_MATCHES_DIRENT64): New macro.
12485
03af9520
RM
12486 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
12487 Define lockf64 as an alias.
12488 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
12489 Define fseeko64 as an alias.
12490 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
12491 Define ftello64 as an alias.
12492 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
12493 Define _IO_fgetpos64 and fgetpos64 as aliases.
12494 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
12495 Define _IO_fsetpos64 and fsetpos64 as aliases.
12496 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
12497 Conditionalize body on this.
12498 * libio/fseeko64.c: Likewise.
12499 * libio/ftello64.c: Likewise.
12500 * libio/iofgetpos64.c: Likewise.
12501 * libio/iofsetpos64.c: Likewise.
12502 * sysdeps/wordsize-64/lockf.c: File removed.
12503 * sysdeps/wordsize-64/lockf64.c: File removed.
12504 * sysdeps/wordsize-64/fseeko.c: File removed.
12505 * sysdeps/wordsize-64/fseeko64.c: File removed.
12506 * sysdeps/wordsize-64/ftello.c: File removed.
12507 * sysdeps/wordsize-64/ftello64.c: File removed.
12508 * sysdeps/wordsize-64/iofgetpos.c: File removed.
12509 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
12510 * sysdeps/wordsize-64/iofsetpos.c: File removed.
12511 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
12512 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
12513 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
12514 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
12515 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
12516 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
12517 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
12518 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
12519 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
12520 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
12521 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
12522
12523 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12524 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
12525 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
12526 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12527 [defined __arch64__ || defined __sparcv9]
12528 (__OFF_T_MATCHES_OFF64_T): New macro.
12529 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12530 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12531 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12532 (__OFF_T_MATCHES_OFF64_T): New macro.
12533
c5757acd
L
125342012-08-06 H.J. Lu <hongjiu.lu@intel.com>
12535
12536 * stdlib/secure-getenv.c (__secure_getenv): Replace
12537 GLIBC_2_16 with GLIBC_2_17.
12538
3a31811e
L
125392012-08-06 H.J. Lu <hongjiu.lu@intel.com>
12540
12541 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
12542 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12543
faa2bccb
DM
125442012-08-03 David S. Miller <davem@davemloft.net>
12545
12546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12547
85fe1997
JM
125482012-08-03 Joseph Myers <joseph@codesourcery.com>
12549
12550 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
12551 Remove.
12552 (__ASSUME_CORRECT_SI_PID): Likewise.
12553 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
12554 (__ASSUME_TMPFS_NAME): Likewise.
12555 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
12556 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
12557 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
12558 (HAVE_AUX_SECURE): Make definition unconditional.
12559 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
12560 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
12561
4f75b7a0
RM
125622012-08-03 Roland McGrath <roland@hack.frob.com>
12563
12564 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
12565 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
12566 * sysdeps/mach/hurd/eloop-threshold.h: New file.
12567 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12568 __eloop_threshold instead of SYMLOOP_MAX.
12569
12570 * sysdeps/generic/eloop-threshold.h: New file.
12571 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
12572 of MAXSYMLINKS.
12573 * elf/chroot_canon.c (chroot_canon): Likewise.
12574
7aab07e4
JM
125752012-08-03 Joseph Myers <joseph@codesourcery.com>
12576
12577 [BZ #13717]
12578 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12579 Change to 2.6.0 everywhere.
12580 * sysdeps/unix/sysv/linux/configure: Regenerated.
12581 * sysdeps/unix/sysv/linux/kernel-features.h
12582 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
12583 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
12584 kernel versions.
12585 (__ASSUME_POSIX_TIMERS): Define unconditionally.
12586 (__ASSUME_FUTEX_REQUEUE): Remove.
12587 (__ASSUME_STATFS64): Define unconditionally.
12588 (__ASSUME_AT_SECURE): Likewise.
12589 (__ASSUME_CORRECT_SI_PID): Likewise.
12590 (__ASSUME_TGKILL): Define without depending on kernel version for
12591 i386.
12592 (__ASSUME_UTIMES): Likewise.
12593 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
12594 kernel version.
12595 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
12596 (__ASSUME_TMPFS_NAME): Likewise.
12597 * README: Update reference to Linux kernel versions.
12598
b67e9372
MP
125992012-08-02 Marek Polacek <polacek@redhat.com>
12600
1f529f7d 12601 [BZ# 14150]
b67e9372
MP
12602 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
12603 libc_cv_asm_type_prefix with %.
12604 * configure: Regenerated.
d2441631
RM
12605 * include/libc-symbols.h: Remove comment about
12606 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
12607 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
12608 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
12609 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
12610 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
12611 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12612 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
12613 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
12614 * elf/tst-unique2mod1.c: Likewise.
12615 * elf/tst-unique1mod2.c: Likewise.
12616 * elf/tst-unique1mod1.c: Likewise.
12617 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
12618 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
12619 Replace ASM_TYPE_DIRECTIVE with .type.
12620 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12621 * sysdeps/i386/sysdep.h: Likewise.
12622 * sysdeps/x86_64/sysdep.h: Likewise.
12623 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
12624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12625 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 12626 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
12627 * sysdeps/powerpc/powerpc32/sysdep.h:
12628 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
12629 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12630 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12631 * sysdeps/i386/fpu/e_powf.S: Likewise.
12632 * sysdeps/i386/fpu/e_expl.S: Likewise.
12633 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12634 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12635 * sysdeps/i386/fpu/e_pow.S: Likewise.
12636 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12637 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12638 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12639 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12640 * sysdeps/i386/fpu/e_log2.S: Likewise.
12641 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12642 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12643 * sysdeps/i386/fpu/e_powl.S: Likewise.
12644 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12645 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12646 * sysdeps/i386/fpu/e_logl.S: Likewise.
12647 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12648 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12649 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12650 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12651 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12652 * sysdeps/i386/fpu/e_log.S: Likewise.
12653 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12654 * sysdeps/i386/fpu/e_logf.S: Likewise.
12655 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12656 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12657 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12658 * sysdeps/i386/fpu/e_log10.S: Likewise.
12659 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12660 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12661 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12662 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12663 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12664 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
12665 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12666 * sysdeps/i386/i686/strtok.S: Likewise.
12667 * sysdeps/i386/i386-mcount.S: Likewise.
12668 * sysdeps/i386/strtok.S: Likewise.
12669 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
12670 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12671 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12672 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12673 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12674 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12675 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12676 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12677 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12678 * sysdeps/x86_64/_mcount.S: Likewise.
12679 * sysdeps/x86_64/strtok.S: Likewise.
12680 * sysdeps/sh/_mcount.S: Likewise.
12681
2747bf9a
RM
126822012-08-01 Roland McGrath <roland@hack.frob.com>
12683
12684 * libio/iofopen.c: Include <fcntl.h>.
12685 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
12686 (_IO_fopen64, fopen64): Define as aliases.
12687 * libio/iofopen64.c: Include <fcntl.h>.
12688 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
12689 Conditionalize body on this.
12690 * sysdeps/wordsize-64/iofopen.c: File removed.
12691 * sysdeps/wordsize-64/iofopen64.c: File removed.
12692
3fb791b8
MP
126932012-08-01 Marek Polacek <polacek@redhat.com>
12694
12695 * libc/Makeconfig: Use elf in place of binfmt-subdir.
12696 Use dlfcn directly instead of a variable.
12697 (binfmt-subdir): Do not define.
12698 (dlfcn): Likewise.
12699
a9f1039f
JM
127002012-08-01 Joseph Myers <joseph@codesourcery.com>
12701
23bddc06
JM
12702 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
12703 Remove all definitions.
12704 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
12705 <kernel-features.h>.
12706 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12707 (miss_F_GETOWN_EX): Remove all definitions.
12708 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
12709 macro definition.
12710 [!__ASSUME_FCNTL64]: Remove conditional code.
12711 [__ASSUME_FCNTL64]: Make code unconditional.
12712 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
12713 <kernel-features.h>.
12714 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12715 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
12716 (lockf64) [__NR_fcntl64]: Make code unconditional.
12717 (lockf64) [__ASSUME_FCNTL64]: Likewise.
12718
a9f1039f
JM
12719 * sysdeps/unix/sysv/linux/kernel-features.h
12720 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
12721 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
12722 Make code unconditional.
12723 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12724 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
12726 [__NR_vfork]: Make code unconditional.
12727 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12728 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
12730 [__NR_vfork]: Make code unconditional.
12731 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12732 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12733
09c0ee5f
RM
127342012-08-01 Roland McGrath <roland@hack.frob.com>
12735
48aec5b9
RM
12736 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
12737 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
12738
cd97c966
RM
12739 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12740 Define mkstemp64 as an alias.
3f55550c
RM
12741 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12742 Define mkstemps64 as an alias.
cd97c966
RM
12743 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12744 Define mkostemp64 as an alias.
b8625cfc
RM
12745 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12746 Define mkostemps64 as an alias.
cd97c966
RM
12747 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
12748 Conditionalize body on this.
12749 * misc/mkostemp64.c: Likewise.
b8625cfc 12750 * misc/mkostemps64.c: Likewise.
3f55550c 12751 * misc/mkstemps64.c: Likewise.
cd97c966
RM
12752 * sysdeps/wordsize-64/mkstemp64.c: File removed.
12753 * sysdeps/wordsize-64/mkostemp64.c: File removed.
12754 * sysdeps/wordsize-64/mkostemp.c: File removed.
12755 * sysdeps/wordsize-64/mkstemp.c: File removed.
12756 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
12757 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
12758 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
12759 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
12760
09c0ee5f
RM
12761 [BZ #14138]
12762 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
12763 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
12764 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
12765 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
12766
12767 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
12768 compat_symbol macros from <shlib-compat.h> rather than the underlying
12769 default_symbol_version and symbol_version macros, so that DEFAULT
12770 lines in shlib-versions are respected.
12771 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
12772
7e66ee51
FW
127732012-08-01 Florian Weimer <fweimer@redhat.com>
12774
12775 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
12776 Declare with warn_unused_result.
12777 (setgid, setregid, setegid, setresgid): Likewise.
12778 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
12779 Likewise.
12780 * WUR-REPORT: Remove set*id functions.
12781
d2a54255
PT
127822012-07-31 Pino Toscano <toscano.pino@tiscali.it>
12783
12784 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
12785
7ecdb005
RM
127862012-07-31 Roland McGrath <roland@hack.frob.com>
12787
b4180a5e 12788 [BZ #10191]
789bd351
RM
12789 * include/sys/socket.h (__libc_accept, __libc_accept4):
12790 Add attribute_hidden.
12791 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
12792
40ce302d
RM
12793 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
12794 use of PTR_MANGLE.
12795 * inet/getnetgrent_r.c (setup): Likewise.
12796
7ecdb005
RM
12797 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
12798
e2eabb2c
DM
127992012-07-31 David S. Miller <davem@davemloft.net>
12800
12801 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12802
d0419dbf
JM
128032012-07-31 Joseph Myers <joseph@codesourcery.com>
12804
12805 [BZ #13629]
12806 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
12807 value between 1.0 and 2.0 and smaller part has absolute value less
12808 than 1.0.
12809 * math/s_clog10.c (__clog10): Likewise.
12810 * math/s_clog10f.c (__clog10f): Likewise.
12811 * math/s_clog10l.c (__clog10l): Likewise.
12812 * math/s_clogf.c (__clogf): Likewise.
12813 * math/s_clogl.c (__clogl): Likewise.
12814 * math/libm-test.inc (clog_test): Add more tests.
12815 (clog10_test): Likewise.
12816 * sysdeps/i386/fpu/libm-test-ulps: Update.
12817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12818
2bc13872
FW
128192012-07-31 Florian Weimer <fweimer@redhat.com>
12820
12821 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
12822 Exit with zero in case no suitable GID is found, and write a
12823 message to standard error.
12824
bea9b193
RM
128252012-07-30 Roland McGrath <roland@hack.frob.com>
12826
12827 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
12828 rather than to 1.
12829 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
12830 (MAXPATHLEN): Removed.
12831 (NOGROUP, NODEV): New macros.
12832 (setbit, clrbit, isset, isclr): New macros.
12833 (howmany, roundup, powerof2): New macros.
12834 (DEV_BSIZE): New macro.
12835
12836 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
12837 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
12838
12839 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
12840 definition on [!__NO_LONG_DOUBLE_MATH].
12841
12842 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
12843 PTR_MANGLE and PTR_DEMANGLE.
12844
12845 * socket/accept4.c (accept4): Rename to __libc_accept4.
12846 Define accept4 as a weak alias.
12847
12848 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
12849 on [_DIRENT_HAVE_D_TYPE].
12850 * io/ftw.c (ftw_dir): Likewise.
12851
12852 * io/xmknod.c (__xmknod): Don't check PATH for being null.
12853
12854 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
12855
12856 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
12857 Use the BSD numbers rather than the arbitrary ones we had.
12858 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
12859 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
12860 (SIGXCPU, SIGXFSZ): New macros.
12861 (_NSIG): Now 32.
12862
12863 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
12864 initializer on [_LIBC_REENTRANT].
12865
12866 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
12867 definitions inside [_POSIX_MAPPED_FILES].
12868
12869 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
12870
12871 * dirent/opendir.c: Include <fcntl.h>.
12872
12873 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
12874 (__libc_getspecific): Likewise.
12875 (__libc_key_create): Likewise.
12876
12877 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
12878 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
12879 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
12880 (tmpfile64): Define as alias.
12881 * sysdeps/wordsize-64/tmpfile.c: File removed.
12882 * sysdeps/wordsize-64/tmpfile64.c: File removed.
12883 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
12884 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
12885
12886 * stdio-common/vfscanf.c: Include <stdbool.h>.
12887 * nss/makedb.c: Likewise.
12888 * stdio-common/_i18n_number.h: Likewise.
12889 * argp/argp-help.c: Likewise.
12890 * posix/wordexp.c: Likewise.
12891 * sysdeps/posix/spawni.c: Likewise.
12892 * nss/nss_files/files-initgroups.c: Likewise.
12893 * stdio-common/reg-modifier.c: Include <stdlib.h>.
12894 * nss/nss_files/files-initgroups.c: Likewise.
12895 * nss/nss_db/db-netgrp.c: Likewise.
12896 * nss/nss_db/db-initgroups.c: Likewise.
12897 * io/fchmodat.c: Include <sys/stat.h>.
12898
12899 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
12900 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
12901
12902 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
12903 [HAVE_MMAP].
12904
12905 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
12906 Add multiple inclusion protection.
12907
e5abc686
DM
129082012-07-27 David S. Miller <davem@davemloft.net>
12909
12910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12911
815e6fa3
GB
129122012-07-27 Gary Benson <gbenson@redhat.com>
12913
12914 [BZ #14298]
12915 * elf/rtld.c: Include <stap-probe.h>.
12916 (dl_main): Added static probes "init_start" and "init_complete".
12917 * elf/dl-load.c: Include <stap-probe.h>.
12918 (lose): Take new parameter "nsid".
12919 Added static probe "map_failed".
12920 (_dl_map_object_from_fd): Pass namespace id to lose.
12921 Added static probe "map_start".
12922 (open_verify): Pass namespace id to lose.
12923 * elf/dl-open.c: Include <stap-probe.h>.
12924 (dl_open_worker) Added static probes "map_complete", "reloc_start"
12925 and "reloc_complete".
12926 * elf/dl-close.c: Include <stap-probe.h>.
12927 (_dl_close_worker): Added static probes "unmap_start" and
12928 "unmap_complete".
12929 * elf/rtld-debugger-interface.txt: New file documenting the above.
12930
9f98c16c
RM
129312012-07-26 Roland McGrath <roland@hack.frob.com>
12932
12933 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
12934 rather than a string variable.
12935 * sunrpc/rpc_main.c (h_output): Likewise.
12936 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
12937
f3c22df3
PT
129382012-07-26 Pino Toscano <toscano.pino@tiscali.it>
12939
12940 * inet/check_native.c: New file.
12941
3129cfc6
JM
129422012-07-26 Joseph Myers <joseph@codesourcery.com>
12943
da865e95
JM
12944 [BZ #13629]
12945 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
12946 if larger part has absolute value 1.0.
12947 * math/s_clog10.c (__clog10): Likewise.
12948 * math/s_clog10f.c (__clog10f): Likewise.
12949 * math/s_clog10l.c (__clog10l): Likewise.
12950 * math/s_clogf.c (__clogf): Likewise.
12951 * math/s_clogl.c (__clogl): Likewise.
12952 * math/libm-test.inc (clog_test): Add more tests.
12953 (clog10_test): Likewise.
12954 * sysdeps/i386/fpu/libm-test-ulps: Update.
12955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12956
3129cfc6
JM
12957 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
12958 (pltexit): Likewise.
12959 (La_regs): Likewise.
12960 (La_retval): Likewise.
12961 (int_retval): Likewise.
12962 Update #error for removed macros to refer only to definitions in
12963 tst-audit.h.
12964 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
12965 macro.
12966 (pltexit): Likewise.
12967 (La_regs): Likewise.
12968 (La_retval): Likewise.
12969 (int_retval): Likewise.
12970 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
12971 macro.
12972 (pltexit): Likewise.
12973 (La_regs): Likewise.
12974 (La_retval): Likewise.
12975 (int_retval): Likewise.
12976 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
12977 macro.
12978 (pltexit): Likewise.
12979 (La_regs): Likewise.
12980 (La_retval): Likewise.
12981 (int_retval): Likewise.
12982 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
12983 macro.
12984 (pltexit): Likewise.
12985 (La_regs): Likewise.
12986 (La_retval): Likewise.
12987 (int_retval): Likewise.
12988 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
12989 macro.
12990 (pltexit): Likewise.
12991 (La_regs): Likewise.
12992 (La_retval): Likewise.
12993 (int_retval): Likewise.
12994 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
12995 macro.
12996 (pltexit): Likewise.
12997 (La_regs): Likewise.
12998 (La_retval): Likewise.
12999 (int_retval): Likewise.
13000 * sysdeps/generic/tst-audit.h: Update comment to refer only to
13001 macro definitions in tst-audit.h.
13002 * sysdeps/i386/tst-audit.h: New file.
13003 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
13004 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
13005 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
13006 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
13007 * sysdeps/sh/tst-audit.h: Likewise.
13008 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
13009 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
13010 * sysdeps/x86_64/tst-audit.h: Likewise.
13011
bfc07087
AJ
130122012-07-26 Andreas Jaeger <aj@suse.de>
13013
b1b2aaf8
AJ
13014 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
13015 ptrace.
13016
13017 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
13018 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
13019 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
13020 PTRACE_O_MASK.
13021 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
13022 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
13023 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
13024
bfc07087
AJ
13025 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
13026 value.
13027
13028 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
13029 _sigsys.
13030 (si_call_addr, si_syscall, si_arch): Define new macro.
13031 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
13032 _sigsys.
13033 (si_call_addr, si_syscall, si_arch): Define new marcro.
13034 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
13035 _sigsys.
13036 (si_call_addr, si_syscall, si_arch): Define new macro.
13037 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
13038 _sigsys.
13039 (si_call_addr, si_syscall, si_arch): Define new macro.
13040
89b4b02f
JM
130412012-07-25 Joseph Myers <joseph@codesourcery.com>
13042
13043 [BZ #13717]
13044 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13045 Change to 2.4.21 where previously 2.4.1.
13046 * sysdeps/unix/sysv/linux/configure: Regenerated.
13047 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
13048 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
13049 Linux kernel version.
13050 (__ASSUME_STD_AUXV): Remove.
13051 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
13052 kernel version.
13053 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
13054 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
13055 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
13056 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
13057 (__ASSUME_NETLINK_SUPPORT): Likewise.
13058 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
13059 (__no_netlink_support): Remove conditional definition.
13060 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
13061 Remove.
13062 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13063 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
13064 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
13065 (if_nameindex_ioctl): Remove.
13066 (if_nameindex_netlink): Do not handle __no_netlink_support.
13067 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13068 code.
13069 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
13070 Remove conditional code.
13071 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13072 code.
13073 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
13074 unconditional.
13075 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13076 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
13077 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
13078 Remove.
13079 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
13080 [!__ASSUME_STD_AUXV]: Remove conditional code.
13081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
13082 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
13083 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
13084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
13085 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
13086 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13087 code.
13088 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13090 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
13091 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13092 conditional code.
13093 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13095 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13096 code.
13097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13098 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13099 conditional code.
13100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
13101 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13102 code unconditional.
13103 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13104 conditional code.
13105 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13106 unconditional.
13107 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13108 conditional code.
13109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13110 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13111 unconditional.
13112 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13113 conditional code.
13114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13115 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13116 code unconditional.
13117 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13118 conditional code.
13119 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13120 unconditional.
13121 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13122 conditional code.
13123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13124 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13125 code unconditional.
13126 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13127 conditional code.
13128 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13129 unconditional.
13130 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13131 conditional code.
13132
842a39cd
AS
131332012-07-25 Andreas Schwab <schwab@linux-m68k.org>
13134
13135 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
13136 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
13137 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13138 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
13139 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
13140 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13141 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13142 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13143 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
13144 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13145 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
13146 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
13147 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
13148 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13149 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13150 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
13151 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
13152 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
13153 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
13154 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
13155 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
13156 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13157 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13158
84b3fd84
FW
131592012-07-25 Florian Weimer <fweimer@redhat.com>
13160
13161 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
13162 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
13163 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
13164 Introduce __libc_secure_getenv.
0c7936d5
FW
13165 * stdlib/Versions (2.17): Add secure_getenv
13166 (GLIBC_PRIVATE): Add __libc_secure_getenv.
13167 * stdlib/secure-getenv.c: Rename __secure_getenv to
13168 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
13169 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
13170 * stdlib/tst-secure-getenv.c: New.
13171 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
13172 * manual/startup.texi (Environment Access): Document
13173 secure_getenv.
84b3fd84
FW
13174 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
13175 __libc_secure_getenv.
13176 * inet/ruserpass.c (ruserpass): Likewise.
13177 * malloc/mtrace.c (mtrace): Likewise.
13178 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 13179 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
13180 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
13181 * sysdeps/posix/tempname.c: Likewise. Evaluate
13182 HAVE_SECURE_GETENV.
13183 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 13184 __secure_getenv to __libc_secure_getenv.
84b3fd84 13185 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
13186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13187 Likewise.
13188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13189 Likewise.
13190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13192 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 13197
56e49b71
JM
131982012-07-25 Joseph Myers <joseph@codesourcery.com>
13199
13200 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
13201 (struct La_i86_retval): Likewise.
13202 (struct La_x86_64_regs): Likewise.
13203 (struct La_x86_64_retval): Likewise.
13204 (struct La_x32_regs): Likewise.
13205 (struct La_x32_retval): Likewise.
13206 (struct La_ppc32_regs): Likewise.
13207 (struct La_ppc32_retval): Likewise.
13208 (struct La_ppc64_regs): Likewise.
13209 (struct La_ppc64_retval): Likewise.
13210 (struct La_sh_regs): Likewise.
13211 (struct La_sh_retval): Likewise.
13212 (struct La_s390_32_regs): Likewise.
13213 (struct La_s390_32_retval): Likewise.
13214 (struct La_s390_64_regs): Likewise.
13215 (struct La_s390_64_retval): Likewise.
13216 (struct La_sparc32_regs): Likewise.
13217 (struct La_sparc32_retval): Likewise.
13218 (struct La_sparc64_regs): Likewise.
13219 (struct La_sparc64_retval): Likewise.
13220 (struct audit_ifaces): Remove architecture-specific pltenter and
13221 pltexit members.
13222 * sysdeps/i386/ldsodefs.h: New file.
13223 * sysdeps/powerpc/ldsodefs.h: Likewise.
13224 * sysdeps/s390/ldsodefs.h: Likewise.
13225 * sysdeps/sh/ldsodefs.h: Likewise.
13226 * sysdeps/sparc/ldsodefs.h: Likewise.
13227 * sysdeps/x86_64/ldsodefs.h: Likewise.
13228
354691b7
MP
132292012-07-25 Marek Polacek <polacek@redhat.com>
13230
13231 [BZ #6808]
13232 * math/libm-test.inc (yn_test): Add another test.
13233 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
13234 to ERANGE when the result is +-Inf.
13235 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13236 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
13237 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
13238 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
13239
bf9e2071
JM
132402012-07-24 Joseph Myers <joseph@codesourcery.com>
13241
13242 * conform/data/time.h-data (NULL): Use macro-constant. Require
13243 equal to 0.
13244 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
13245 clock_t.
13246 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
13247
57633811
TS
132482012-07-23 Thomas Schwinge <thomas@codesourcery.com>
13249
13250 * configure.in <sysdeps resolving>: Correct printing
13251 Implies_before.
13252 * configure: Regenerate.
13253
c23c33b0
TS
132542012-07-22 Thomas Schwinge <thomas@codesourcery.com>
13255
13256 * math/w_ilogb.c: Include <limits.h>.
13257 * math/w_ilogbl.c: Likewise.
13258
b5982523
JM
132592012-07-20 Joseph Myers <joseph@codesourcery.com>
13260
13261 * manual/lang.texi (__va_copy): Document primarily as ISO C99
13262 va_copy. Document allowing for unavailable va_copy only as
13263 pre-C99 compatibility.
13264 * manual/string.texi (Copying and Concatenation): Use va_copy
13265 instead of __va_copy in concat example.
13266
ac4ea442
PT
132672012-07-20 Pino Toscano <toscano.pino@tiscali.it>
13268
13269 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
13270 (__sendto): Use create_address_port. Initialize APORT and deallocate
13271 it if not null.
13272
f98eafbd
PT
13273 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
13274 with O_NOLINK passed to __file_name_lookup.
13275
898c7aab
PT
13276 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
13277 with O_NOLINK passed to __file_name_lookup.
13278
0ced335a
PT
13279 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
13280 negative N or less than NGIDS.
13281
b3404dbd
PT
13282 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
13283 type to string_t. Set ERANGE as errno and return it if NAME is not big
13284 enough. Use memcpy instead of strncpy.
13285
0f48659e
JM
132862012-07-20 Joseph Myers <joseph@codesourcery.com>
13287
13288 * elf/Makefile (check-data): Remove.
13289 (localplt.data): New vpath directive.
13290 ($(objpfx)check-localplt.out): Use localplt.data from vpath
13291 instead of $(check-data).
13292 * scripts/data/localplt-generic.data: Move to ...
13293 * sysdeps/generic/localplt.data: ... here.
13294 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
13295 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
13296 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
13297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13298 ... here.
13299 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
13300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13301 ... here.
13302 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
13303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
13304 ... here.
13305 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
13306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13307 ... here.
13308 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
13309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
13310 ... here.
13311 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
13312 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
13313 ... here.
13314
d37cbdaa
AZ
133152012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13316
13317 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
13318 PPC32 and PPC64 files.
13319 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
13320 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
13321
46f85fc2
AK
133222012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13323
13324 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
13325 __makecontext_ret to ...
13326 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
13327 ... here and call exit if uc_link is NULL. New file.
13328 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
13329 __makecontext_ret.S.
13330 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
13331 __makecontext_ret to ...
13332 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
13333 ... here and call exit if uc_link is NULL. New file.
13334 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
13335 __makecontext_ret.S.
13336
08f43f9b
AK
133372012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13338
13339 * elf/elf.h (R_390_IRELATIVE): New definition.
13340 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
13341 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
13342 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
13343 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13344 (elf_machine_lazy_rel): Likewise.
13345 * sysdeps/s390/dl-irel.h: New file.
13346 * sysdeps/s390/s390-64/memcpy.S: New asm code.
13347 * sysdeps/s390/s390-64/memset.S: New asm code.
13348 * sysdeps/s390/s390-64/memcmp.S: New asm code.
13349 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
13350 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
13351 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
13352 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
13353 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
13354 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
13355 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
13356 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
13357 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
13358 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
13359 * sysdeps/s390/s390-32/memcpy.S: New asm code.
13360 * sysdeps/s390/s390-32/memset.S: New asm code.
13361 * sysdeps/s390/s390-32/memcmp.S: New asm code.
13362
3b05db33
MP
133632012-07-17 Marek Polacek <polacek@redhat.com>
13364
13365 [BZ #14349]
13366 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
13367 * sysdeps/s390/s390-64/configure.in: Likewise.
13368 * sysdeps/sparc/configure.in: Likewise.
13369 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
13370 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
13371 * sysdeps/i386/configure.in: Likewise.
13372 * sysdeps/x86_64/configure.in: Likewise.
13373 * sysdeps/sh/configure.in: Likewise.
13374 * sysdeps/s390/s390-32/configure: Regenerated.
13375 * sysdeps/s390/s390-64/configure: Likewise.
13376 * sysdeps/x86_64/configure: Likewise.
13377 * sysdeps/sh/configure: Likewise.
13378 * sysdeps/powerpc/powerpc64/configure: Likewise.
13379 * sysdeps/powerpc/powerpc32/configure: Likewise.
13380 * sysdeps/sparc/configure: Likwise.
13381 * sysdeps/i386/configure: Likewise.
13382
a66877c6
MP
13383 * elf/dl-open.c: Comment fixes.
13384
cfc82fd8
JM
133852012-07-17 Joseph Myers <joseph@codesourcery.com>
13386
bd29910a
JM
13387 * Makefile [CXX] (check-data): Remove.
13388 [CXX] (c++-types.data): New vpath directive.
13389 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
13390 vpath. Do not allow for C++ type data being missing.
13391 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
13392 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
13393 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
13394 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
13395 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
13396 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
13397 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
13398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13399 ... here.
13400 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
13401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13402 ... here.
13403 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
13404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
13405 ... here.
13406 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
13407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
13408 ... here.
13409 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
13410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
13411 ... here.
13412 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
13413 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
13414 ... here.
13415 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
13416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
13417 ... here.
13418 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
13419 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
13420
cfc82fd8
JM
13421 * elf/tls-macros.h (TLS_LE): Move architecture-specific
13422 definitions to architecture-specific files.
13423 (TLS_IE): Likewise.
13424 (TLS_LD): Likewise.
13425 (TLS_GD): Likewise.
13426 * sysdeps/i386/tls-macros.h: New file.
13427 * sysdeps/powerpc/tls-macros.h: Likewise.
13428 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
13429 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
13430 * sysdeps/sh/tls-macros.h: Likewise.
13431 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
13432 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
13433 * sysdeps/x86_64/tls-macros.h: Likewise.
13434
f7db3170
TS
134352012-07-17 Thomas Schwinge <thomas@codesourcery.com>
13436
07cbfc23
TS
13437 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
13438 zero value for regular exit case.
13439
f7db3170
TS
13440 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13441 (__start_context): Preserve zero value for regular exit case.
13442
dc97c227
TS
134432012-07-17 Thomas Schwinge <thomas@codesourcery.com>
13444 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13445
13446 * manual/setjmp.texi (setcontext): Clarify normal process
13447 termination when uc_link is the null pointer.
13448 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
13449 exit call.
13450
d0cd7d02
AS
134512012-07-16 Andreas Schwab <schwab@linux-m68k.org>
13452
13453 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
13454 preprocessor. Test for each exception mask separately.
13455
dd318934
AJ
134562012-07-16 Andreas Jaeger <aj@suse.de>
13457
13458 * po/ru.po: Update from translation team.
13459
8048311a
JM
134602012-07-15 Joseph Myers <joseph@codesourcery.com>
13461
13462 * conform/data/string.h-data (NULL): Use macro-constant. Require
13463 equal to 0.
13464 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13465 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13466 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
13467 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
13468 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13469
b637d46e
AJ
134702012-07-13 Andreas Jaeger <aj@suse.de>
13471
13472 * po/fr.po: Update from translation team.
13473
541428fe
MP
134742012-07-12 Marek Polacek <polacek@redhat.com>
13475
13476 [BZ #14173]
13477 * math/libm-test.inc (yn_test): Add test for BZ #14173.
13478 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
13479 loop condition.
13480
ec332e94
JM
134812012-07-12 Joseph Myers <joseph@codesourcery.com>
13482
13483 [BZ #13717]
13484 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13485 Change to 2.4.1 where previously 2.4.0.
13486 * sysdeps/unix/sysv/linux/configure: Regenerated.
13487 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
13488 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
13489 version.
13490 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
13491 (__ASSUME_AT_CLKTCK): Remove.
13492 (__ASSUME_AT_PAGESIZE): Likewise.
13493 (__ASSUME_AT_XID): Likewise.
13494 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
13495 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
13496 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
13497 unconditionally.
13498 (HAVE_AUX_PAGESIZE): Likewise.
13499 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
13500 [__ASSUME_AT_CLKTCK]: Make code unconditional.
13501 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
13502
7b6e99be
JB
135032012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
13504
13505 [BZ #14307]
13506 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
13507 the temporary buffer used to invoke __gethostbyname2_r,
13508 __gethostbyaddr_r and gethostbyname4_r to make room for struct
13509 host_data / struct gaih_addrtuple.
13510 * resolv/nss_dns/dns-host.c (global scope): Move definition of
13511 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
13512 header file nss/nsswitch.h.
13513 * nss/nsswitch.h (global scope): Add definition of implementation
13514 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
13515 resolv/nss_dns/dns-host.c).
13516
608404eb
AJ
135172012-07-11 Andreas Jaeger <aj@suse.de>
13518
13519 * po/fr.po: Update from translation team.
13520
71220aca
AJ
13521 * po/sv.po: Update from translation team
13522 * po/fr.po: Another update from translation team.
13523
28cfe843
AZ
135242012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13525
13526 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
13527 for subnormals or multiply small sinh result by itself.
13528 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13530
6b90f981
DM
135312012-07-11 David S. Miller <davem@davemloft.net>
13532
13533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13534
c6825772
AS
135352012-07-10 Andreas Schwab <schwab@linux-m68k.org>
13536
13537 [BZ #14347]
13538 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
13539 (INTERNAL_MARK): Shift it here.
13540
7b8e0d49
MP
135412012-07-10 Marek Polacek <polacek@redhat.com>
13542
13543 [BZ #14151]
13544 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
13545 libc_cv_asm_global_directive with .globl.
13546 * configure: Regenerated.
13547 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
13548 with .globl.
13549 * sysdeps/i386/configure: Regenerated.
13550 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
13551 with .globl.
13552 * sysdeps/x86_64/configure: Regenerated.
13553 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
13554 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
13555 * elf/tst-unique2mod2.c: Likewise.
13556 * elf/tst-unique2mod1.c: Likewise.
13557 * elf/tst-unique1mod2.c: Likewise.
13558 * elf/tst-unique1mod1.c: Likewise.
13559 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13560 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13561 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13562 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13563 * sysdeps/mach/sysdep.h: Likewise.
13564 * sysdeps/i386/sysdep.h: Likewise.
13565 * sysdeps/i386/i386-mcount.S: Likewise.
13566 * sysdeps/x86_64/_mcount.S: Likewise.
13567 * sysdeps/x86_64/sysdep.h: Likewise.
13568 * sysdeps/sh/_mcount.S: Likewise.
13569 * sysdeps/sh/sysdep.h: Likewise.
13570 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
13571 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
13572 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
13573 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13574 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
13575 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
13576 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
13577 * locale/localeinfo.h: Likewise.
13578 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
13579 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
13580
6c55cda3
RM
135812012-07-09 Roland McGrath <roland@hack.frob.com>
13582
13583 [BZ #14336]
13584 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
13585 system".
13586 * manual/message.texi (The Uniforum approach): Likewise.
13587 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
13588 (glibc iconv Implementation): Likewise.
13589
638a572e
JM
135902012-07-09 Joseph Myers <joseph@codesourcery.com>
13591
13592 [BZ #14337]
13593 * math/s_clog.c (__clog): Avoid scaling a value down where that
13594 could result in underflow.
13595 * math/s_clog10.c (__clog10): Likewise.
13596 * math/s_clog10f.c (__clog10f): Likewise.
13597 * math/s_clog10l.c (__clog10l): Likewise.
13598 * math/s_clogf.c (__clogf): Likewise.
13599 * math/s_clogl.c (__clogl): Likewise.
13600 * math/libm-test.inc (clog_test): Add more tests.
13601 (clog10_test): Likewise.
13602 * sysdeps/i386/fpu/libm-test-ulps: Update.
13603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13604
261f4859
AS
136052012-07-06 Andreas Schwab <schwab@linux-m68k.org>
13606
0abaf3e4
AS
13607 [BZ #14283]
13608 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
13609 by 7 not 8 to examine high bit of fractional part.
13610
261f4859
AS
13611 [BZ #14042]
13612 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
13613 for call to __mcount_internal.
13614 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
13615 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
13616 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
13617
f17ac40d
JM
136182012-07-06 Joseph Myers <joseph@codesourcery.com>
13619
9ad63c23
JM
13620 [BZ #14154]
13621 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
13622 approximation for values within 0x1p-13f of an odd multiple of
13623 pi/4.
13624 * math/libm-test.inc (tan_test): Do not allow spurious underflow
13625 exception. Add more tests.
13626 * sysdeps/i386/fpu/libm-test-ulps: Update.
13627
f17ac40d
JM
13628 [BZ #6778]
13629 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
13630 inputs and return -1 for them. Do not check for +Inf in case not
13631 reachable for +Inf.
13632 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13633 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
13634 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13635 and return -1 for them. Do not check for +Inf in case not
13636 reachable for +Inf.
13637 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
13638 define.
13639 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13640 and return -1 for them. Do not check for +Inf in case not
13641 reachable for +Inf.
13642 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
13643 spurious underflow.
13644 * sysdeps/i386/fpu/libm-test-ulps: Update.
13645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13646
fb21f89b
MF
136472012-07-06 Mike Frysinger <vapier@gentoo.org>
13648
13649 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
13650
cdfe2c5e
JM
136512012-07-05 Joseph Myers <joseph@codesourcery.com>
13652
13653 [BZ #14157]
13654 [BZ #14331]
13655 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
13656 could result in spurious underflow. Scale down values above
13657 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
13658 * math/s_csqrtf.c (__csqrtf): Likewise.
13659 * math/s_csqrtl.c (__csqrtl): Likewise.
13660 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
13661 spurious underflow.
13662 * sysdeps/i386/fpu/libm-test-ulps: Update.
13663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13664
70d35b67
AS
136652012-07-04 Andreas Schwab <schwab@linux-m68k.org>
13666
704bc459
AS
13667 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
13668 xopen-msg.sed.
13669 * catgets/xopen-msg.awk: New file.
13670 * catgets/xopen-msg.sed: Removed.
13671
70d35b67
AS
13672 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
13673 po2text.sed.
13674 * intl/po2test.awk: New file.
13675 * intl/po2test.sed: Removed.
13676
ca61cf32
JM
136772012-07-04 Joseph Myers <joseph@codesourcery.com>
13678
13679 [BZ #14328]
13680 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
13681 or multiply small sinh result by itself.
13682 * math/s_ctanf.c (__ctanf): Likewise.
13683 * math/s_ctanh.c (__ctanh): Likewise.
13684 * math/s_ctanhf.c (__ctanhf): Likewise.
13685 * math/s_ctanhl.c (__ctanhl): Likewise.
13686 * math/s_ctanl.c (__ctanl): Likewise.
13687 * math/libm-test.inc (ctan_test_tonearest): New function.
13688 (ctan_test_towardzero): Likewise.
13689 (ctan_test_downward): Likewise.
13690 (ctan_test_upward): Likewise.
13691 (ctanh_test_tonearest): Likewise.
13692 (ctanh_test_towardzero): Likewise.
13693 (ctanh_test_downward): Likewise.
13694 (ctanh_test_upward): Likewise.
13695 (main): Call these new functions.
13696 * sysdeps/i386/fpu/libm-test-ulps: Update.
13697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13698
ca48a46a
MF
136992012-07-03 Mike Frysinger <vapier@gentoo.org>
13700
13701 * .gitignore: Delete /ports entry.
13702
9d63d37d
AJ
137032012-07-03 Andreas Jaeger <aj@suse.de>
13704
13705 * po/bg.po: Update from translation team.
13706 * po/cs.po: Likewise.
13707 * po/de.po: Likewise.
13708 * po/hr.po: Likewise.
13709 * po/nl.pl: Likewise.
13710 * po/pl.po: Likewise.
13711 * po/vi.po: Likewise.
13712
370ca3d2
JM
137132012-07-03 Joseph Myers <joseph@codesourcery.com>
13714
95f5a9a8
JM
13715 * Makeconfig [!+link] (+link-before-libc): New variable.
13716 [!+link] (+link-after-libc): Likewise.
13717 [!+link] (+link-tests): Likewise.
13718 [!+link] (+link): Define in terms of $(+link-before-libc) and
13719 $(+link-after-libc).
13720 [!+link-static] (+link-static-before-libc): New variable.
13721 [!+link-static] (+link-static-after-libc): Likewise.
13722 [!+link-static] (+link-static-tests): Likewise.
13723 [!+link-static] (+link-static): Define in terms of
13724 $(+link-static-before-libc) and $(+link-static-after-libc).
13725 [build-shared] (link-libc-before-gnulib): New variable.
13726 [build-shared] (link-libc-tests): Likewise.
13727 [build-shared] (link-libc): Define in terms of
13728 $(link-libc-before-gnulib).
13729 [!build-shared] (link-libc-tests): New variable.
13730 (link-libc-static-tests): New variable.
13731 [!gnulib] (gnulib-arch): New variable.
13732 [!gnulib] (gnulib-tests): Likewise.
13733 [!gnulib] (static-gnulib-arch): Likewise.
13734 [!gnulib] (static-gnulib-tests): Likewise.
13735 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
13736 Define with "=" instead of ":=".
13737 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
13738 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
13739 * Rules (binaries-all-notests): New variable.
13740 (binaries-all-tests): Likewise.
13741 (binaries-static-notests): Likewise.
13742 (binaries-static-tests): Likewise.
13743 (binaries-all): Define using $(binaries-all-notests) and
13744 $(binaries-all-tests).
13745 (binaries-static): Define using $(binaries-static-notests) and
13746 $(binaries-static-tests).
13747 (binaries-shared-tests): New variable.
13748 (binaries-shared-notests): Likewise.
13749 (binaries-shared): Remove variable.
13750 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
13751 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
13752 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
13753 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
13754 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
13755 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
13756 * elf/Makefile (sln-modules): New variable.
13757 (extra-objs): Add $(sln-modules:=.o).
13758 (ldconfig-modules): Add static-stubs.
13759 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
13760 * elf/static-stubs.c: New file.
13761
7a845b2c
JM
13762 [BZ #14283]
13763 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
13764 by 7 not 8 to examine high bit of fractional part. Use volatile
13765 variables when splitting into final array of floats if
13766 __FLT_EVAL_METHOD__ != 0.
13767 * math/libm-test.inc (cos_test): Add another test.
13768 (sin_test): Likewise.
13769 * sysdeps/i386/fpu/libm-test-ulps: Update.
13770
e2283f38
JM
13771 [BZ #14273]
13772 * math/libm-test.inc (cosh_test): Add more tests.
13773
370ca3d2
JM
13774 * version.h (RELEASE): Set to "development".
13775 (VERSION): Set to "2.16.90".
13776
ee9247c3
CD
137772012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
13778
13779 * NEWS: Update copyright. Remove last-updated date.
13780 Mention math library bug fixes and timezone data changes.
13781 * README: Mention GNU/Hurd, x32, and HPPA support status.
13782
4648c381
TS
137832012-06-28 Thomas Schwinge <thomas@codesourcery.com>
13784
13785 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
13786
aac78a43
AJ
137872012-06-27 Andreas Jaeger <aj@suse.de>
13788
13789 * manual/contrib.texi (Contributors): Add Samuel Thibault.
13790
ed3dbfad
AJ
137912012-06-25 Andreas Jaeger <aj@suse.de>
13792
13793 * sysdeps/s390/fpu/libm-test-ulps: Update.
13794
4d0ee855
AS
137952012-06-23 Andreas Schwab <schwab@linux-m68k.org>
13796 Thomas Schwinge <thomas@codesourcery.com>
13797
13798 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
13799 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
13800 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
13801 fanotify_mark.
13802
af1bce34
TS
138032012-06-23 Thomas Schwinge <thomas@codesourcery.com>
13804
a9fa33ba
TS
13805 * sysdeps/mach/start.c: Remove file.
13806 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
13807 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
13808 * sysdeps/sh/init-first.c: Likewise.
13809
58f902b8
TS
13810 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
13811 registers for frame unwinding purposes, add CFI directives.
13812 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13813 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
13814 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
13815 Likewise.
13816
1518f58b
TS
13817 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
13818 __fortify_fail returning.
13819 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13820
db9b5059
TS
13821 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
13822 sysdeps/sh/____longjmp_chk.S.
13823 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
13824 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
13825 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
13826 (gen-as-const-headers): Append sigaltstack-offsets.sym.
13827
967705fe
TS
13828 * sysdeps/sh/abort-instr.h: New file.
13829 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
13830 process in case exit returns.
13831
a9def8c4
TS
13832 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
13833 initialize the GOT register before use.
13834
2a649725
TS
13835 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
13836 calculation of ARGC > 4.
13837
af1bce34
TS
13838 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
13839 meaningful names to some local labels.
13840
d230f50a
KK
138412012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13842 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13843
13844 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
13845 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
13846 (__arch_compare_and_exchange_val_16_acq): Likewise.
13847 (__arch_compare_and_exchange_val_32_acq): Likewise.
13848 (atomic_exchange_and_add): Fix gUSA sequence.
13849 (atomic_add): Likewise.
13850 (atomic_add_negative): Likewise.
13851 (atomic_add_zero): Likewise.
13852 (atomic_bit_test_set): Likewise.
13853
0479b305
AS
138542012-06-22 Andreas Schwab <schwab@redhat.com>
13855
13856 [BZ #13579]
13857 * include/link.h (struct link_map): Add l_free_initfini.
13858 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
13859 l_initfini.
13860 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
13861 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
13862 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
13863 set.
13864
0e3933b9
CD
138652012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
13866
13867 * configure.in: Use AC_LANG_SOURCE.
13868 * configure: Regenerate.
13869
4248b1b1
RM
138702012-06-22 Roland McGrath <roland@hack.frob.com>
13871
13872 * configure.in (libc_cv_localstatedir): New substituted variable.
13873 * configure: Regenerated.
13874 * config.make.in (localstatedir): New variable, substituted from
13875 libc_cv_localstatedir.
13876 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
13877 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
13878 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
13879 * sysdeps/gnu/configure: Regenerated.
13880
006dd861
JL
138812012-06-21 Jeff Law <law@redhat.com>
13882
13883 [BZ #14277]
13884 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
13885 free. Simplify list management for _LIBC case.
13886
79662d42
JM
138872012-06-21 Joseph Myers <joseph@codesourcery.com>
13888
b7abb4bf
JM
13889 [BZ #14273]
13890 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
13891 Clear sign bit of 64-bit integer value before comparing against
13892 overflow value.
13893
79662d42
JM
13894 * sysdeps/mach/configure: Regenerated.
13895
1f150908
L
138962012-06-21 H.J. Lu <hongjiu.lu@intel.com>
13897
13898 [BZ #14278]
13899 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
13900
28363bbf
JL
139012012-06-21 Jeff Law <law@redhat.com>
13902
13903 [BZ #13882]
13904 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
13905 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 13906 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
13907 * elf/dl-open.c (dl_open_worker): Likewise.
13908
09615db4
CD
139092012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
13910
13911 * scripts/list-sources.sh: Scan PORTS for translations.
13912 * po/libc.pot: Regenerated.
13913
2174c6dd
AJ
139142012-06-21 Andreas Jaeger <aj@suse.de>
13915
13916 [BZ #12194]
13917 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
13918 warning.
13919 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
13920 * bits/byteswap-16.h (__bswap_16): Likewise.
13921 * bits/byteswap.h (__bswap_constant_16): Likewise.
13922
3ee947b1
L
139232012-06-18 H.J. Lu <hongjiu.lu@intel.com>
13924
13925 [BZ #14117]
a2f34833
L
13926 * sysdeps/i386/fpu_control.h: Removed.
13927 * sysdeps/x86_64/fpu_control.h: Moved to ...
13928 * sysdeps/x86/fpu_control.h: Here.
13929
3ee947b1
L
13930 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
13931 (_FPU_SETCW): Likewise.
13932
ed1825f8
L
139332012-06-15 H.J. Lu <hongjiu.lu@intel.com>
13934
25f1282a
L
13935 [BZ #14117]
13936 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
13937 * sysdeps/x86/fpu/bits/mathinline.h: This.
13938 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
13939
ed1825f8
L
13940 [BZ #14050]
13941 [BZ #14117]
13942 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
13943 functions if __x86_64__ is defined.
13944
36d54b74
CLT
139452012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
13946
13947 * string/endian.h: Add !__ASSEMBLER__ condition for including
13948 conversion interfaces.
13949
10285c21
JM
139502012-06-15 Joseph Myers <joseph@codesourcery.com>
13951
13952 [BZ #14241]
13953 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
13954 of ABS(x) in calculating zero to negative powers other than odd
13955 integers.
13956 * math/libm-test.inc (pow_test): Add more tests.
13957
06c5abbd
AJ
139582012-06-15 Andreas Jaeger <aj@suse.de>
13959
13960 * manual/contrib.texi (Contributors): Update entry of Liubov
13961 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
13962 Machado Filho.
13963
a3aeac40
CH
139642012-06-15 Cyril Hrubis <metan@ucw.cz>
13965
13966 * string/string.h: Add __wur to GNU version of strerror_r.
13967
49bdf4c1
L
139682012-06-14 H.J. Lu <hongjiu.lu@intel.com>
13969
13970 [BZ #14229]
13971 * string/Makefile (tests): Add tst-strtok_r.
13972 * string/tst-strtok_r.c: New file.
13973 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
13974 RAX_LP/RDX_LP on SAVE_PTR.
13975
834f9b8d
RM
139762012-06-14 Roland McGrath <roland@hack.frob.com>
13977
13978 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
13979
75fa1921
JM
139802012-06-14 Joseph Myers <joseph@codesourcery.com>
13981
13982 * libm_test.inc (csqrt_test): Allow more spurious underflow
13983 exceptions.
13984 (j0_test): Likewise.
13985 (j1_test): Likewise.
13986 (y0_test): Likewise.
13987 (y1_test): Likewise.
13988
771766df
CD
139892012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
13990
13991 * po/Makefile (libc.pot): Use UTF-8 charset.
13992
ceb9e56b
PP
139932012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
13994
13995 [BZ #14210]
13996 Suppress sign-conversion warning from FD_SET.
13997 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
13998 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
13999 not unsigned long int.
14000 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
14001
ddb28975
L
140022012-06-12 H.J. Lu <hongjiu.lu@intel.com>
14003
14004 [BZ #14050]
14005 [BZ #14117]
14006 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
14007 __extern_always_inline instead of __extern_inline.
14008 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
14009 (__signbit): Likewise.
14010 (__signbitl): Support C++ namespace.
14011 (lrintf): New inline function.
14012 (lrint): Likewise.
14013 (llrintf): Likewise.
14014 (llrint): Likewise.
14015 (fmaxf): Likewise.
14016 (fmax): Likewise.
14017 (fminf): Likewise.
14018 (fmin): Likewise.
14019 (rint): Likewise.
14020 (rintf): Likewise.
14021 (ceil): Likewise.
14022 (ceilf): Likewise.
14023 (floor): Likewise.
14024 (floorf): Likewise.
14025 (nearbyint): Likewise.
14026 (nearbyintf): Likewise.
14027
d7b4fb26
TS
140282012-06-12 Thomas Schwinge <thomas@codesourcery.com>
14029
14030 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
14031 non-default versions.
14032
eb55f5c2
RM
140332012-06-11 Roland McGrath <roland@hack.frob.com>
14034
14035 [BZ #14218]
14036 * manual/argp.texi (Argp): Reword argp_parse description slightly.
14037
366af02c
TS
140382012-06-09 Thomas Schwinge <thomas@codesourcery.com>
14039
99ff6e5c
TS
14040 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
14041 (FE_UPWARD, FE_DOWNWARD): Don't define.
14042 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
14043 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14044
366af02c
TS
14045 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
14046 reading it.
14047 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14048 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14049
793ea851
KK
140502012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14051
14052 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14053 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
14054 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
14055 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
14056
a728a38f
L
140572012-06-06 H.J. Lu <hongjiu.lu@intel.com>
14058
14059 [BZ #14117]
c08010c7
L
14060 * sysdeps/i386/fpu/bits/fenv.h: Removed.
14061 * sysdeps/i386/fpu/Implies: New file.
14062 * sysdeps/x86_64/fpu/Implies: Likewise.
14063 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
14064 * sysdeps/x86/fpu/bits/fenv.h: This.
14065
a728a38f
L
14066 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
14067 __SSE_MATH__.
14068
6e230d11
SP
140692012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14070
14071 [BZ #14134]
14072 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
14073 character 0xffff that matches the last element of the
14074 conversion table.
14075
1b671feb
AZ
140762012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14077
14078 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
14079 fmodl commit.
14080
6043738b
AZ
140812012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14082
14083 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
14084 values higher than 25.6283.
14085
34ae0b32
AZ
140862012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14087
14088 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
14089 subnormal exponent extraction and add some __builtin_expect.
14090 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
14091 Fix for subnormal mantissa calculation.
14092
1214ec8f
MF
140932012-06-04 Mike Frysinger <vapier@gentoo.org>
14094
14095 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
14096 cpu2 is -1 and errno is not ENOSYS.
14097
f3d1f93c
L
140982012-06-04 H.J. Lu <hongjiu.lu@intel.com>
14099
14100 [BZ #14117]
0e4a3cd7
L
14101 * sysdeps/i386/i486/bits/string.h: Renamed to ...
14102 * sysdeps/x86/bits/string.h: This.
14103 * sysdeps/x86_64/bits/string.h: Removed.
14104
6704c645
L
14105 * sysdeps/i386/i486/bits/string.h: Define inline functions only
14106 if not compiling for x86-64, but compiling for >= i486.
14107
48495318
L
14108 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
14109 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
14110
14adcbfc
L
14111 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
14112 New macro from Linux kernel 3.4.0.
14113 (FP_XSTATE_MAGIC2): Likewise.
14114 (FP_XSTATE_MAGIC2_SIZE): Likewise.
14115 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
14116 (struct _fpx_sw_bytes): New struct.
14117 (struct _xsave_hdr): Likewise.
14118 (struct _ymmh_state): Likewise.
14119 (struct _xstate): Likewise.
14120
68e408ab
L
14121 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
14122 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
14123 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
14124 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
14125 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
14126 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
14127
f3d1f93c
L
14128 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
14129 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
14130 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
14131 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
14132 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
14133 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
14134
d9dc34cd
TMQMF
141352012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14136
14137 [BZ #13743]
14138 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
14139 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
14140 (sysdep_headers): Include sys/platform/ppc.h.
14141 * sysdeps/powerpc/test-gettimebase.c: Test for
14142 __ppc_get_timebase() to catch future ISA opcode/insn changes.
14143 * manual/Makefile (appendices): Include platform.texi.
14144 * manual/contrib.texi (Contributors): Update @node pointers.
14145 * manual/maint.texi (Maintenance): Likewise.
14146 (Platform): New node.
14147 * manual/platform.texi: New file. Document the new features.
14148
4af3879c
SP
141492012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14150 Jakub Jelinek <jakub@redhat.com>
14151
14152 [BZ #14188]
14153 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
14154 where __builtin_expect is unavailable.
14155
2fd6ff13
DM
141562012-06-03 David S. Miller <davem@davemloft.net>
14157
14158 * stdlib/longlong.h: Updated from GCC.
14159
173f7220
AS
141602012-06-02 Andreas Schwab <schwab@linux-m68k.org>
14161
14162 [BZ #14042]
14163 * sysdeps/powerpc/powerpc32/mcount.c: New file.
14164 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
14165 __mcount_internal.
14166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14167 (GLIBC_2.16): Likewise.
14168
f34a1c6f
L
141692012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14170
14171 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
14172
88a4576f
JM
141732012-06-01 Joseph Myers <joseph@codesourcery.com>
14174
ea32bcdd
JM
14175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14176 (default-abi): New variable.
14177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
14178 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
14179 variable.
14180 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
14181 Likewise.
14182 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
14183 Likewise.
14184 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
14185 Likewise.
14186
88a4576f
JM
14187 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
14188 definition. Document in comment.
14189
402fe938
DM
141902012-06-01 David S. Miller <davem@davemloft.net>
14191
14192 * stdlib/longlong.h: Updated from GCC.
14193
3553723f
L
141942012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14195
14196 [BZ #14117]
3bd872c4
L
14197 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
14198 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
14199 sys/debugreg.h sys/io.h here.
14200 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
14201 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
14202 sys/io.h.
14203 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
14204 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
14205 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
14206 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
14207 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
14208 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
14209
3553723f
L
14210 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
14211 Define only if __x86_64__ is defined.
14212
4842e4fe
JM
142132012-06-01 Joseph Myers <joseph@codesourcery.com>
14214
c5bfe3d5
JM
14215 [BZ #14048]
14216 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
14217 Use int64_t for variable i.
14218 * math/libm-test.inc (fmod_test): Add more tests.
14219
4842e4fe
JM
14220 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
14221 z computation is not scheduled after fetestexcept.
14222 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
14223 Use math_force_eval instead of asm to ensure calculation scheduled
14224 before exception test.
14225 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
14226 Ensure a1 + u.d computation is not scheduled after fetestexcept.
14227
efb73488
AJ
142282012-06-01 Aurelien Jarno <aurelien@aurel32.net>
14229
14230 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
14231 computation is not scheduled after fetestexcept.
14232
29bcce7c
L
142332012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14234
14235 [BZ #14117]
14236 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
14237 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
14238
73a68f94
AZ
142392012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14240
14241 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
14242 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14243
67b6df78
L
142442012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14245
edf2933a 14246 [BZ #14117]
ebc64a18
L
14247 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
14248 <bits/wordsize.h>.
14249 (__WCHAR_MIN): Support __WORDSIZE == 64.
14250 (__WCHAR_MAX): Likewise.
14251
edf2933a
L
14252 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
14253 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
14254
57c6cf40
L
14255 [BZ #14183]
14256 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
14257 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
14258
67b6df78 14259 [BZ #14117]
8eb6281e
L
14260 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
14261 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
14262
aac639f4
L
14263 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
14264 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
14265
67b6df78
L
14266 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
14267 Defined to 1 if __x86_64__ isn't defined.
14268 (_STAT_VER_LINUX_OLD): New.
14269 (st_atime): Remove duplicate.
14270 (st_mtime): Likewise.
14271 (st_ctime): Likewise.
14272
1c2cfe81
DM
142732012-05-31 David S. Miller <davem@davemloft.net>
14274
14275 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
14276 entries.
14277
5be8418c
AS
142782012-06-01 Andreas Schwab <schwab@linux-m68k.org>
14279
e7725326
AS
14280 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
14281 gen-libm-test.pl.
14282
5be8418c
AS
14283 [BZ #14132]
14284 * elf/dl-reloc.c: Include <_itoa.h>.
14285 (_dl_reloc_bad_type): Remove use of INTUSE.
14286 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
14287 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
14288 * stdio-common/psiginfo.c (psiginfo): Likewise.
14289 * stdio-common/psignal.c (psignal): Likewise.
14290 * string/strsignal.c (strsignal): Likewise.
14291 * include/signal.h (_sys_siglist): Declare hidden proto.
14292 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
14293 INTVARDEF with libc_hidden_data_def.
14294 * stdio-common/itoa-udigits.c: Likewise.
14295 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
14296 (_itoa_lower_digits_internal): Remove declaration.
14297 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
14298 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
14299 (_sys_sigabbrev_internal): Remove aliases.
14300 (_sys_siglist): Define hidden alias.
14301
507352f1
MT
143022012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
14303
14304 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14305 bits/sysctl.h.
14306
42bbb1c3
L
143072012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14308
14309 [BZ #14117]
6bd784b6
L
14310 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
14311 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
14312
8bca20f0
L
14313 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
14314 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
14315 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
14316 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
14317 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
14318 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
14319
f9e890a9
L
14320 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
14321 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
14322 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
14323
471101a1
L
14324 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
14325 with __addr.
14326 (insw): Likewise.
14327 (insl): Likewise.
14328 (outsb): Likewise.
14329 (outsw): Likewise.
14330 (outsl): Likewise.
14331
6451c862
L
14332 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
14333 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
14334 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
14335
a254b8c9
L
14336 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
14337 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
14338 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
14339 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
14340 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
14341 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
14342
b8dfdd92
L
14343 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
14344 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
14345
578cd270
L
14346 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
14347 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
14348
de662f5f
L
14349 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
14350 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
14351 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
14352
25653439
L
14353 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
14354 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
14355 to ...
14356 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
14357
6bad24a0
L
14358 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
14359 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
14360 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
14361
42bbb1c3
L
14362 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
14363 for x86-64.
14364 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
14365
2d10d547
JM
143662012-05-31 Joseph Myers <joseph@codesourcery.com>
14367
14368 * math/math.h (M_El): Use two more decimal places.
14369 (M_LOG2El): Likewise.
14370 (M_LOG10El): Likewise.
14371 (M_LN2l): Likewise.
14372 (M_LN10l): Likewise.
14373 (M_PIl): Likewise.
14374 (M_PI_2l): Likewise.
14375 (M_PI_4l): Likewise.
14376 (M_1_PIl): Likewise.
14377 (M_2_PIl): Likewise.
14378 (M_2_SQRTPIl): Likewise.
14379 (M_SQRT2l): Likewise.
14380 (M_SQRT1_2l): Likewise.
14381
f230c29b
DM
143822012-05-31 David S. Miller <davem@davemloft.net>
14383
14384 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
14385 values between float registers.
14386 * sysdeps/sparc/sparc64/memset.S: Likewise.
14387 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14388
fed806c3
MF
143892012-05-31 Mike Frysinger <vapier@gentoo.org>
14390
14391 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
14392 -D_FORTIFY_SOURCE=1.
14393 (CPPFLAGS-tst-longjmp_chk.c): Define.
14394 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
14395 (CPPFLAGS-tst-longjmp_chk2.c): Define.
14396 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
14397 CFLAGS-tst-wchar-h.c.
14398
30917259
MP
143992012-05-31 Marek Polacek <polacek@redhat.com>
14400
14401 [BZ #14132]
14402 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
14403 __endmntent_internal): Remove declaration.
14404 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
14405 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
14406 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
14407
1c58d5dc
DM
144082012-05-30 David S. Miller <davem@davemloft.net>
14409
14410 * sysdeps/sparc/sparc32/soft-fp/q_util.c
14411 (___Q_simulate_exceptions): Use real FP ops rather than writing
14412 into the %fsr.
14413 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
14414 Likewise.
14415
7dc00e0d
L
144162012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14417
14418 [BZ #14117]
0bd53985
L
14419 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
14420 * sysdeps/x86/bits/xtitypes.h: This.
14421
3a257e66
L
14422 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
14423 * sysdeps/x86/bits/wordsize.h: This.
14424
62f62904
L
14425 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
14426 * sysdeps/x86/bits/huge_vall.h: This.
14427
404fe9d9
L
14428 * sysdeps/i386/bits/select.h: Removed.
14429 * sysdeps/x86_64/bits/select.h: Renamed to ...
14430 * sysdeps/x86/bits/select.h: This.
14431
d48d0446
L
14432 * sysdeps/i386/bits/setjmp.h: Removed.
14433 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
14434 * sysdeps/x86/bits/setjmp.h: This.
14435
7dc00e0d
L
14436 * sysdeps/i386/bits/mathdef.h: Removed.
14437 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
14438 * sysdeps/x86/bits/mathdef.h: This.
14439
03277f8f
AS
144402012-05-30 Andreas Schwab <schwab@linux-m68k.org>
14441
14442 [BZ #14132]
14443 * include/sys/socket.h (__connect_internal)
14444 (__libc_sa_len_internal): Remove declaration.
14445 (__connect, __libc_sa_len): Declare hidden_proto.
14446 (SA_LEN): Remove use of INTUSE.
14447 * socket/connect.c: Add libc_hidden_def.
14448 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
14449 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
14450 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
14451 alias.
14452 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14453 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
14454 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
14455 of adding _internal alias.
14456
13764867
L
144572012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14458
14459 [BZ #14117]
6bd97696
L
14460 * sysdeps/i386/bits/link.h: Removed.
14461 * sysdeps/i386/bits/linkmap.h: Likewise.
14462 * sysdeps/x86_64/bits/link.h: Renamed to ...
14463 * sysdeps/x86/bits/link.h: This.
14464 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
14465 * sysdeps/x86/bits/linkmap.h: This.
14466
f726f0bb
L
14467 * sysdeps/i386/bits/endian.h: Removed.
14468 * sysdeps/x86_64/bits/endian.h: Renamed to ...
14469 * sysdeps/x86/bits/endian.h: This.
14470
13764867
L
14471 * sysdeps/i386/bits/byteswap.h: Removed.
14472 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14473 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
14474 * sysdeps/x86/bits/byteswap.h: This.
14475 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
14476 * sysdeps/x86/bits/byteswap-16.h: This.
14477 * sysdeps/i386/Implies: Add x86.
14478 * sysdeps/x86_64/Implies: Likewise.
14479
ae251b0b
DM
144802012-05-30 David S. Miller <davem@davemloft.net>
14481
14482 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
14483 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
14484 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14485 (FP_TRAPPING_EXCEPTIONS): Define.
14486 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14487 (FP_TRAPPING_EXCEPTIONS): Define.
14488 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
14489 subnormals only when inexact has been signalled or underflow
14490 exceptions are enabled.
14491 (_FP_PACK_CANONICAL): Likewise.
14492
d5c90867
L
144932012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14494
14495 [BZ #14183]
14496 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
14497 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
14498
63f1549e
RH
144992012-05-30 Richard Henderson <rth@twiddle.net>
14500
8d8f2279
RH
14501 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
14502 with #ifndef NOT_IN_libc.
14503
63f1549e
RH
14504 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
14505 marked to avoid plt entry.
14506
0ab0291b
L
145072012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14508
14509 [BZ #14112]
14510 * Makeconfig (default-abi): New macro.
14511 (abi-includes): Likewise.
14512 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
14513 $(abi-$(default-abi)-lib-soname) for soname if defined.
14514 ($(common-objpfx)gnu/lib-names.stmp): Generate from
14515 abi-variants.
14516 * Makefile (installed-stubs): Likewise.
14517 * include/stubs-biarch.h: Removed.
14518 * scripts/lib-names.awk: Only handle one library at a time.
14519 * scripts/soversions.awk: Remove WORDSIZE support.
14520 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
14521 entries.
14522 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
14523 Removed.
14524 (syscall-list-default-condition): Likewise.
14525 (syscall-list-default-condition): Likewise.
14526 (syscall-list-includes): Likewise.
14527 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
14528 syscall-list-* with abi-*. Handle undefined abi-variants.
14529 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
14530 * sysdeps/unix/sysv/linux/i386/Implies: New file.
14531 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
14532 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
14533 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
14534 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
14535 Removed.
14536 (syscall-list-32-options): Likewise.
14537 (syscall-list-32-condition): Likewise.
14538 (syscall-list-64-options): Likewise.
14539 (syscall-list-64-condition): Likewise.
14540 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
14541 macro.
14542 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
14543 Renamed to ...
14544 (abi-*): This.
14545 (abi-64-ld-soname): New macro.
14546 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
14547 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
14548 Renamed to ...
14549 (abi-*): This.
14550 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
14551 * sysdeps/x86_64/x32/shlib-versions: Likewise.
14552
4da0431d
JM
145532012-05-30 Joseph Myers <joseph@codesourcery.com>
14554
3a85279c
JM
14555 * sysdeps/unix/sysv/linux/kernel-features.h
14556 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
14557 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
14558 include <kernel-features.h>.
14559 [!__NR_ftruncate64]: Remove conditional code.
14560 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14561 [__NR_ftruncate64]: Make code unconditional.
14562 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14563 * sysdeps/unix/sysv/linux/truncate64.c: Do not
14564 include <kernel-features.h>.
14565 [!__NR_ftruncate64]: Remove conditional code.
14566 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14567 [__NR_ftruncate64]: Make code unconditional.
14568 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
14570 include <kernel-features.h>.
14571 [!__NR_ftruncate64]: Remove conditional code.
14572 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14573 [__NR_ftruncate64]: Make code unconditional.
14574 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14576 include <kernel-features.h>.
14577 [!__NR_ftruncate64]: Remove conditional code.
14578 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14579 [__NR_ftruncate64]: Make code unconditional.
14580 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14581
4da0431d
JM
14582 * configure.in (libc_cv_fpie): Weaken to a compile test using
14583 LIBC_TRY_CC_OPTION.
14584 * configure: Regenerated.
14585
11ef492c
AK
145862012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14587
14588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
14589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
14590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
14591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14592 Refreshed.
14593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
14594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
14595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
14596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
14597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
14598 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14599 Refreshed.
14600
d66ef399
DM
146012012-05-27 David S. Miller <davem@davemloft.net>
14602
14603 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
14604 (___Q_zero): New.
14605 (__Q_simulate_exceptions): Return void. Change to simulate
14606 exceptions by writing into the %fsr.
14607 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
14608 (__Qp_handle_exceptions): Likewise.
14609 (numbers): Delete.
14610 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
14611 __Qp_handle_exceptions.
14612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
14613 __Qp_handle_exceptions.
14614 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14615 as unused and give dummy FP_RND_NEAREST initializer.
14616 (FP_INHIBIT_RESULTS): Define.
14617 (___Q_simulate_exceptions): Update declaration.
14618 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
14619 formatting.
14620 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14621 as unused and give dummy FP_RND_NEAREST initializer.
14622 (__Qp_handle_exceptions): Update declaration.
14623 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
14624 formatting.
14625
04fb54b5
TS
146262012-05-27 Thomas Schwinge <thomas@codesourcery.com>
14627
14628 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
14629 the temporary FPU control word.
14630 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14631 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
14632 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
14633 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14634 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14635 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
14636 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
14637 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14638 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14639 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14640 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14641
3f99608f
KK
146422012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14643
14644 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
14645 fields.
14646
65a4de4e
CLT
146472012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
14648
14649 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
14650 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
14651 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
14652 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
14653 Likewise.
14654 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
14655 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
14656 Likewise.
14657
15749d40
UD
146582012-05-27 Ulrich Drepper <drepper@gmail.com>
14659
14660 * po/h.po: Update from translation team.
14661
25dbcb27
AS
146622012-05-26 Andreas Schwab <schwab@linux-m68k.org>
14663
3d3f8e55
AS
14664 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
14665
25dbcb27
AS
14666 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
14667 handling of denormals.
14668 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14669 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14670 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14671 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14672 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14673 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
14674 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
14675 Likewise.
14676
7ad47a80 146772012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
14678
14679 [BZ #14152]
14680 * math/libm-test.inc (fma_test): Don't always expect underflow
14681 exception.
14682
9c6ea9fa
SP
146832012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14684
14685 [BZ #12416]
14686 * elf/tst-execstack.c: Include stackinfo.h.
14687 (do_test): Adjust test case to ensure that pthread_getattr_np
14688 behaviour remains the same after marking stack executable.
14689
a8239222
JM
146902012-05-25 Joseph Myers <joseph@codesourcery.com>
14691
14692 * sysdeps/unix/sysv/linux/kernel-features.h
14693 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
14694 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
14695 kernel-features.h.
14696 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14697 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14698 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
14699 kernel-features.h.
14700 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14701 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14702
918b5606
L
147032012-05-25 H.J. Lu <hongjiu.lu@intel.com>
14704
14705 * configure.in: Define the default includes to being none.
14706 * configure: Regenerated.
14707
3a097cc7
RM
147082012-05-25 Roland McGrath <roland@hack.frob.com>
14709
8422c9a5
RM
14710 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
14711 * sysdeps/x86_64/setjmp.S: Likewise.
14712 * sysdeps/i386/bsd-setjmp.S: Likewise.
14713 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14714 * sysdeps/i386/setjmp.S: Likewise.
14715 * sysdeps/i386/__longjmp.S: Likewise.
14716 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14717 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
14718
3a097cc7
RM
14719 * include/stap-probe.h: New file.
14720 * configure.in: Handle --enable-systemtap.
14721 * configure: Regenerated.
14722 * config.h.in (USE_STAP_PROBE): New #undef.
14723 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
14724 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
14725 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
14726
21708942
JM
147272012-05-25 Joseph Myers <joseph@codesourcery.com>
14728
14729 [BZ #13717]
14730 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14731 to 2.4.0 where earlier.
14732 * sysdeps/unix/sysv/linux/configure: Regenerated.
14733 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14734 <kernel-features.h>.
14735 [__ASSUME_32BITUIDS]: Make code unconditional.
14736 [!__ASSUME_32BITUIDS]: Remove conditional code.
14737 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
14738 <kernel-features.h>.
14739 [__ASSUME_32BITUIDS]: Make code unconditional.
14740 [!__ASSUME_32BITUIDS]: Remove conditional code.
14741 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
14742 [__ASSUME_32BITUIDS]: Make code unconditional.
14743 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
14744 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
14745 <kernel-features.h>.
14746 [__ASSUME_32BITUIDS]: Make code unconditional.
14747 [!__ASSUME_32BITUIDS]: Remove conditional code.
14748 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
14749 <kernel-features.h>.
14750 [__ASSUME_32BITUIDS]: Make code unconditional.
14751 [!__ASSUME_32BITUIDS]: Remove conditional code.
14752 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
14753 <kernel-features.h>.
14754 [__ASSUME_32BITUIDS]: Make code unconditional.
14755 [!__ASSUME_32BITUIDS]: Remove conditional code.
14756 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
14757 <kernel-features.h>.
14758 [__ASSUME_32BITUIDS]: Make code unconditional.
14759 [!__ASSUME_32BITUIDS]: Remove conditional code.
14760 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14761 <kernel-features.h>.
14762 [__ASSUME_32BITUIDS]: Make code unconditional.
14763 [!__ASSUME_32BITUIDS]: Remove conditional code.
14764 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14765 <kernel-features.h>.
14766 [__ASSUME_32BITUIDS]: Make code unconditional.
14767 [!__ASSUME_32BITUIDS]: Remove conditional code.
14768 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
14769 <kernel-features.h>.
14770 [__ASSUME_32BITUIDS]: Make code unconditional.
14771 [!__ASSUME_32BITUIDS]: Remove conditional code.
14772 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14773 <kernel-features.h>.
14774 [__ASSUME_32BITUIDS]: Make code unconditional.
14775 [!__ASSUME_32BITUIDS]: Remove conditional code.
14776 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14777 <kernel-features.h>.
14778 [__ASSUME_32BITUIDS]: Make code unconditional.
14779 [!__ASSUME_32BITUIDS]: Remove conditional code.
14780 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
14781 <kernel-features.h>.
14782 [__ASSUME_32BITUIDS]: Make code unconditional.
14783 [!__ASSUME_32BITUIDS]: Remove conditional code.
14784 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
14785 <kernel-features.h>.
14786 [__NR_setresgid] (__setresgid): Do not declare.
14787 [__ASSUME_32BITUIDS]: Make code unconditional.
14788 [!__ASSUME_32BITUIDS]: Remove conditional code.
14789 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
14790 <kernel-features.h>.
14791 [__NR_setresuid] (__setresuid): Do not declare.
14792 [__ASSUME_32BITUIDS]: Make code unconditional.
14793 [!__ASSUME_32BITUIDS]: Remove conditional code.
14794 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
14795 <kernel-features.h>.
14796 [__ASSUME_32BITUIDS]: Make code unconditional.
14797 [!__ASSUME_32BITUIDS]: Remove conditional code.
14798 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
14799 <kernel-features.h>.
14800 [__ASSUME_32BITUIDS]: Make code unconditional.
14801 [!__ASSUME_32BITUIDS]: Remove conditional code.
14802 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
14803 <kernel-features.h>.
14804 [__ASSUME_32BITUIDS]: Make code unconditional.
14805 [!__ASSUME_32BITUIDS]: Remove conditional code.
14806 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
14807 <kernel-features.h>.
14808 [__ASSUME_32BITUIDS]: Make code unconditional.
14809 [!__ASSUME_32BITUIDS]: Remove conditional code.
14810 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
14811 <kernel-features.h>.
14812 [__ASSUME_32BITUIDS]: Make code unconditional.
14813 [!__ASSUME_32BITUIDS]: Remove conditional code.
14814 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
14815 <kernel-features.h>.
14816 [__ASSUME_32BITUIDS]: Make code unconditional.
14817 [!__ASSUME_32BITUIDS]: Remove conditional code.
14818 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
14819 <kernel-features.h>.
14820 [__ASSUME_32BITUIDS]: Make code unconditional.
14821 [!__ASSUME_32BITUIDS]: Remove conditional code.
14822 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
14823 <kernel-features.h>.
14824 [__ASSUME_32BITUIDS]: Make code unconditional.
14825 [!__ASSUME_32BITUIDS]: Remove conditional code.
14826 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
14827 <kernel-features.h>.
14828 [__ASSUME_32BITUIDS]: Make code unconditional.
14829 [!__ASSUME_32BITUIDS]: Remove conditional code.
14830 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14831 <kernel-features.h>.
14832 [__ASSUME_32BITUIDS]: Make code unconditional.
14833 [!__ASSUME_32BITUIDS]: Remove conditional code.
14834 * sysdeps/unix/sysv/linux/kernel-features.h
14835 (__ASSUME_SETRESUID_SYSCALL): Remove.
14836 (__ASSUME_SETRESGID_SYSCALL): Likewise.
14837 (__ASSUME_32BITUIDS): Likewise.
14838 (__ASSUME_LDT_WORKS): Likewise.
14839 (__ASSUME_O_DIRECTORY): Likewise.
14840 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
14841 architecture but not kernel version.
14842 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14843 (__ASSUME_MMAP2_SYSCALL): Likewise.
14844 (__ASSUME_STAT64_SYSCALL): Likewise.
14845 (__ASSUME_IPC64): Likewise.
14846 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
14847 <kernel-features.h>.
14848 [__ASSUME_32BITUIDS]: Make code unconditional.
14849 [!__ASSUME_32BITUIDS]: Remove conditional code.
14850 * sysdeps/unix/sysv/linux/opendir.c: Do not include
14851 <kernel-features.h>.
14852 [__ASSUME_O_DIRECTORY]: Make code unconditional.
14853 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
14854 132096]: Remove conditional code.
14855 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
14856 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14857 <kernel-features.h>.
14858 [__ASSUME_32BITUIDS]: Make code unconditional.
14859 [!__ASSUME_32BITUIDS]: Remove conditional code.
14860 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14861 <kernel-features.h>.
14862 [__ASSUME_32BITUIDS]: Make code unconditional.
14863 [!__ASSUME_32BITUIDS]: Remove conditional code.
14864 * sysdeps/unix/sysv/linux/setegid.c: Do not include
14865 <kernel-features.h>.
14866 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
14867 unconditional.
14868 (__setresgid): Do not declare.
14869 [__ASSUME_32BITUIDS]: Make code unconditional.
14870 [!__ASSUME_32BITUIDS]: Remove conditional code.
14871 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
14872 <kernel-features.h>.
14873 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
14874 unconditional.
14875 (__setresuid): Do not declare.
14876 [__ASSUME_32BITUIDS]: Make code unconditional.
14877 [!__ASSUME_32BITUIDS]: Remove conditional code.
14878 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14879 <kernel-features.h>.
14880 [__ASSUME_32BITUIDS]: Make code unconditional.
14881 [!__ASSUME_32BITUIDS]: Remove conditional code.
14882 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
14883 <kernel-features.h>.
14884 [__ASSUME_32BITUIDS]: Make code unconditional.
14885 [!__ASSUME_32BITUIDS]: Remove conditional code.
14886
a386f1cc
RH
148872012-05-25 Richard Henderson <rth@twiddle.net>
14888
14889 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
14890 dl_hwcap to ifunc resolver.
14891 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
14892 elf_ifunc_invoke.
14893 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
14894 dl_hwcap to ifunc resolver.
14895 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
14896
b6550497
JM
148972012-05-24 Joseph Myers <joseph@codesourcery.com>
14898
14899 [BZ #14153]
14900 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
14901 for |x| <= 2**-26, not 2**-57.
14902 * math/libm-test.inc (acos_test): Do not allow spurious underflow
14903 exception.
14904
b0bc23a1
JL
149052012-05-24 Jeff Law <law@redhat.com>
14906
14907 * stdio-common/Makefile (tests): Add bug25.
14908 * stdio-common/bug25.c: New test.
14909
347c92e9
L
149102012-05-24 H.J. Lu <hongjiu.lu@intel.com>
14911
14912 [BZ #13576]
14913 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
14914 multiple of MALLOC_ALIGNMENT in size.
14915 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
14916
6bcc8b3f
JM
149172012-05-24 Joseph Myers <joseph@codesourcery.com>
14918
14919 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
14920 Require >= 256.
14921 (FILENAME_MAX): Use macro-int-constant.
14922 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
14923 (_IOFBF): Use macro-int-constant.
14924 (_IOLBF): Likewise.
14925 (_IONBF): Likewise.
14926 (SEEK_CUR): Likewise.
14927 (SEEK_END): Likewise.
14928 (SEEK_SET): Likewise.
14929 (TMP_MAX): Likewise.
14930 (EOF): Use macro-int-constant. Require < 0.
14931 (NULL): Use macro-constant. Require == 0.
14932 (stdin): Require type to be FILE *.
14933 (stdout): Likewise.
14934 (stderr): Likewise.
14935 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
14936 macro-int-constant.
14937 (EXIT_SUCCESS): Likewise.
14938 (NULL): Use macro-constant. Require == 0.
14939 (RAND_MAX): Use macro-int-constant.
14940 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
14941 [C99-based standards] (strtof): Require function.
14942 [C99-based standards] (strtold): Likewise.
14943 [C99-based standards] (strtoll): Likewise.
14944 [C99-based standards] (strtoull): Likewise.
14945 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14946 [ISO || ISO99 || ISO11] (limits.h): Likewise.
14947 [ISO || ISO99 || ISO11] (math.h): Likewise.
14948 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
14949 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14950 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14951
d18ea0c5
AS
149522012-05-24 Andreas Schwab <schwab@linux-m68k.org>
14953
14954 [BZ #14132]
56d25bb8
AS
14955 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
14956 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
14957 * intl/dgettext.c (DCGETTEXT): Likewise.
14958 * intl/gettext.c (DCGETTEXT): Likewise.
14959 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
14960 * posix/regex_internal.h (gettext): Likewise.
14961 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
14962 Remove declaration.
14963 * include/argz.h (__argz_count_internal)
14964 (__argz_stringify_internal): Remove declaration.
14965 (__argz_count, __argz_stringify): Declare hidden proto.
14966 * intl/dcgettext.c: Remove use of INTDEF.
14967 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
14968 * string/argz-stringify.c: Likewise.
14969 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14970 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14971 Declare hidden proto.
d18ea0c5
AS
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.
14975 * include/stdio.h (__asprintf_internal): Don't declare.
14976 (__asprintf): Don't define as macro. Declare hidden proto.
14977 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
14978 (__fsetlocking): Declare hidden proto.
14979 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
14980 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
14981 hidden proto.
14982 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
14983 (_IO_setlinebuf): Remove use of INTUSE.
14984 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
14985 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
14986 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
14987 Remove declaration.
14988 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
14989 (_IO_do_flush): Remove use of INTUSE.
14990 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
14991 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
14992 (_IO_adjust_column, _IO_least_wmarker)
14993 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
14994 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
14995 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
14996 (_IO_default_doallocate, _IO_wdefault_doallocate)
14997 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
14998 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
14999 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
15000 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
15001 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
15002 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
15003 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
15004 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
15005 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
15006 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
15007 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
15008 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
15009 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
15010 proto.
15011 (_IO_flush_all_internal, _IO_adjust_column_internal)
15012 (_IO_default_uflow_internal, _IO_default_finish_internal)
15013 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
15014 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
15015 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
15016 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
15017 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
15018 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
15019 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
15020 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
15021 (_IO_file_close_internal, _IO_file_close_it_internal)
15022 (_IO_file_underflow_internal, _IO_file_overflow_internal)
15023 (_IO_file_init_internal, _IO_file_attach_internal)
15024 (_IO_file_fopen_internal, _IO_file_read_internal)
15025 (_IO_file_sync_internal, _IO_file_seek_internal)
15026 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
15027 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
15028 (_IO_str_underflow_internal, _IO_str_overflow_internal)
15029 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
15030 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
15031 (_IO_list_all_internal, _IO_link_in_internal)
15032 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
15033 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
15034 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
15035 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
15036 (_IO_do_write_internal, _IO_padn_internal)
15037 (_IO_getline_info_internal, _IO_getline_internal)
15038 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
15039 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
15040 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
15041 (_IO_vfscanf_internal, _IO_vfprintf_internal)
15042 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
15043 (_IO_init_internal, _IO_un_link_internal): Don't declare.
15044 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
15045 with libc_hidden_ver, remove use of INTUSE.
15046 * libio/genops.c: Likewise.
15047 * libio/freopen.c: Likewise.
15048 * libio/freopen64.c: Likewise.
15049 * libio/iofclose.c: Likewise.
15050 * libio/iofdopen.c: Likewise.
15051 * libio/iofflush.c: Likewise.
15052 * libio/iofflush_u.c: Likewise.
15053 * libio/iofgets.c: Likewise.
15054 * libio/iofgets_u.c: Likewise.
15055 * libio/iofopen.c: Likewise.
15056 * libio/iofopncook.c: Likewise.
15057 * libio/iofread.c: Likewise.
15058 * libio/iofread_u.c: Likewise.
15059 * libio/ioftell.c: Likewise.
15060 * libio/iofwrite.c: Likewise.
15061 * libio/iogetline.c: Likewise.
15062 * libio/iogets.c: Likewise.
15063 * libio/iogetwline.c: Likewise.
15064 * libio/iopadn.c: Likewise.
15065 * libio/iopopen.c: Likewise.
15066 * libio/ioseekoff.c: Likewise.
15067 * libio/ioseekpos.c: Likewise.
15068 * libio/iosetbuffer.c: Likewise.
15069 * libio/iosetvbuf.c: Likewise.
15070 * libio/ioungetc.c: Likewise.
15071 * libio/ioungetwc.c: Likewise.
15072 * libio/iovdprintf.c: Likewise.
15073 * libio/iovsprintf.c: Likewise.
15074 * libio/iovsscanf.c: Likewise.
15075 * libio/memstream.c: Likewise.
15076 * libio/obprintf.c: Likewise.
15077 * libio/oldfileops.c: Likewise.
15078 * libio/oldiofclose.c: Likewise.
15079 * libio/oldiofdopen.c: Likewise.
15080 * libio/oldiofopen.c: Likewise.
15081 * libio/oldiopopen.c: Likewise.
15082 * libio/oldstdfiles.c: Likewise.
15083 * libio/putc.c: Likewise.
15084 * libio/setbuf.c: Likewise.
15085 * libio/setlinebuf.c: Likewise.
15086 * libio/stdfiles.c: Likewise.
15087 * libio/strops.c: Likewise.
15088 * libio/vasprintf.c: Likewise.
15089 * libio/vscanf.c: Likewise.
15090 * libio/vsnprintf.c: Likewise.
15091 * libio/vswprintf.c: Likewise.
15092 * libio/wfiledoalloc.c: Likewise.
15093 * libio/wfileops.c: Likewise.
15094 * libio/wgenops.c: Likewise.
15095 * libio/wmemstream.c: Likewise.
15096 * libio/wstrops.c: Likewise.
15097 * libio/__fpurge.c: Likewise.
15098 * libio/__fsetlocking.c: Likewise.
15099 * assert/assert.c: Likewise.
15100 * debug/fgets_chk.c: Likewise.
15101 * debug/fgets_u_chk.c: Likewise.
15102 * debug/fread_chk.c: Likewise.
15103 * debug/fread_u_chk.c: Likewise.
15104 * debug/gets_chk.c: Likewise.
15105 * debug/obprintf_chk.c: Likewise.
15106 * debug/vasprintf_chk.c: Likewise.
15107 * debug/vdprintf_chk.c: Likewise.
15108 * debug/vsnprintf_chk.c: Likewise.
15109 * debug/vsprintf_chk.c: Likewise.
15110 * malloc/mtrace.c: Likewise.
15111 * misc/error.c: Likewise.
15112 * misc/syslog.c: Likewise.
15113 * stdio-common/asprintf.c: Likewise.
15114 * stdio-common/fxprintf.c: Likewise.
15115 * stdio-common/getw.c: Likewise.
15116 * stdio-common/isoc99_fscanf.c: Likewise.
15117 * stdio-common/isoc99_scanf.c: Likewise.
15118 * stdio-common/isoc99_vfscanf.c: Likewise.
15119 * stdio-common/isoc99_vscanf.c: Likewise.
15120 * stdio-common/isoc99_vsscanf.c: Likewise.
15121 * stdio-common/printf-prs.c: Likewise.
15122 * stdio-common/printf_fp.c: Likewise.
15123 * stdio-common/printf_fphex.c: Likewise.
15124 * stdio-common/printf_size.c: Likewise.
15125 * stdio-common/putw.c: Likewise.
15126 * stdio-common/scanf.c: Likewise.
15127 * stdio-common/sprintf.c: Likewise.
15128 * stdio-common/tmpfile.c: Likewise.
15129 * stdio-common/vfprintf.c: Likewise.
15130 * stdio-common/vfscanf.c: Likewise.
15131 * stdlib/strfmon_l.c: Likewise.
15132 * sunrpc/openchild.c: Likewise.
15133 * sunrpc/xdr_stdio.c: Likewise.
15134 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15135 * sysdeps/mach/hurd/tmpfile.c: Likewise.
15136
d6c33fda
RM
151372012-05-24 Roland McGrath <roland@hack.frob.com>
15138
c1487492
RM
15139 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15140
15141 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
15142 in the third column, to generate for the shared library an IFUNC
15143 that uses _dl_vdso_vsym.
15144 * Makerules (COMPILE.c, compile-stdin.c): New variables.
15145 * Makeconfig (object-suffixes-noshared): New variable.
15146
15147 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
15148 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
15149 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
15150 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
15151
d6c33fda
RM
15152 [BZ #14132]
15153 * include/sys/time.h (__gettimeofday): Remove macro.
15154 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
15155 * time/gettimeofday.c (__gettimeofday): Remove #undef.
15156 Remove INTDEF.
15157 (__gettimeofday): Add libc_hidden_def.
15158 (gettimeofday): Add libc_hidden_weak.
15159 * sysdeps/mach/gettimeofday.c: Likewise.
15160 * sysdeps/posix/gettimeofday.c: Likewise.
15161 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15162 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15163 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
15164 (__gettimeofday_internal): Remove strong_alias.
15165 (__gettimeofday): Add libc_hidden_def.
15166 (gettimeofday): Add libc_hidden_weak.
15167 * sysdeps/unix/syscalls.list (gettimeofday):
15168 Remove __gettimeofday_internal alias.
15169
b5a2bbe6
L
151702012-05-24 Daniel Jacobowitz <drow@false.org>
15171 H.J. Lu <hongjiu.lu@intel.com>
15172
15173 [BZ #12495]
15174 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
15175 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
15176 (largebin_index_32_big): New.
15177 (largebin_index): Use it for 16-byte alignment.
15178 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
15179 correction with front_misalign.
15180
cfba4fda
L
151812012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15182
7f907421
L
15183 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
15184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15185 Likewise.
15186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
15187 Likewise.
15188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15189 Likewise.
15190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
15191 Likewise.
15192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
15193 Likewise.
15194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
15195 Likewise.
15196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
15197 Likewise.
15198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15199 Likewise.
15200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
15201 Likewise.
15202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
15203 Likewise.
15204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15205 Likewise.
15206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
15207 Likewise.
15208
cfba4fda
L
15209 * scripts/data/c++-types-x32-linux-gnu.data: New file.
15210 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
15211
80bad0cc
JM
152122012-05-24 Joseph Myers <joseph@codesourcery.com>
15213
7a25eb06
JM
15214 [BZ #10846]
15215 [BZ #14036]
15216 * math/libm-test.inc (exp_test): Add test from bug 14036.
15217 (pow_test): Add test from bug 10846.
15218
795405f9
JM
15219 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
15220 and other flags.
15221 (special_function): Do not include flags in test name.
15222 (parse_args): Likewise.
15223 * sysdeps/i386/fpu/libm-test-ulps: Update.
15224 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15225 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15226 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15228
80bad0cc
JM
15229 * math/gen-libm-test.pl (%beautify): Add entries for underflow
15230 exceptions.
15231 * math/libm-test.inc ("Philosophy"): Update comment about
15232 exception testing.
15233 (UNDERFLOW_EXCEPTION): New macro.
15234 (UNDERFLOW_EXCEPTION_OK): Likewise.
15235 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
15236 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
15237 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
15238 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
15239 (INVALID_EXCEPTION_OK): Update value.
15240 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15241 (OVERFLOW_EXCEPTION_OK): Likewise.
15242 (IGNORE_ZERO_INF_SIGN): Likewise.
15243 (test_exceptions): Handle underflow exceptions.
15244 (acos_test): Update for underflow exception expectations.
15245 (cexp_test): Likewise.
15246 (clog_test): Likewise.
15247 (clog10_test): Likewise.
15248 (csqrt_test): Likewise.
15249 (ctan_test): Likewise.
15250 (ctanh_test): Likewise.
15251 (exp_test): Likewise.
15252 (exp10_test): Likewise.
15253 (exp2_test): Likewise.
15254 (expm1_test): Likewise.
15255 (fma_test): Likewise.
15256 (j0_test): Likewise.
15257 (jn_test): Likewise.
15258 (nexttoward_test): Likewise.
15259 (pow_test): Likewise.
15260 (scalbn_test): Likewise.
15261 (scalbln_test): Likewise.
15262 (tan_test): Likewise.
15263 (y1_test): Likewise.
15264 * sysdeps/i386/fpu/libm-test-ulps: Update.
15265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15266
9e0e3d0b
DM
152672012-05-23 David S. Miller <davem@davemloft.net>
15268
15269 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15270 (__libc_sigaction): Remove unused local variables.
15271
ccd0a08f
L
152722012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15273
15274 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
15275
62bdf9a6
PE
152762012-05-23 Paul Eggert <eggert@cs.ucla.edu>
15277
f8591f80
PE
15278 mktime: avoid signed integer overflow
15279 * time/mktime.c (__mktime_internal): Do not mishandle the case
15280 where diff == INT_MIN.
15281
94c7d826
PE
15282 mktime: simplify computation of average
15283 * time/mktime.c (ranged_convert): Use new time_t_avg function
15284 instead of rolling our own (probably-slower) code.
15285
ce73d683
PE
15286 mktime: do not assume signed right shift propagates sign bit
15287 * time/mktime.c (isdst_differ): New static function.
15288 (__mktime_internal): No need to normalize tm_isdst now.
15289 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
15290 tm_isdst values.
15291
72a22e59
PE
15292 mktime: merge another wrapv change from gnulib
15293 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
15294 from some compilers.
15295
68605433
PE
15296 mktime: remove incorrect attempt at unusual arithmetics
15297 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
15298 The code didn't really work on such machines anyway.
15299 (TYPE_MINIMUM): Assume two's complement.
15300 (twos_complement_arithmetic): Verify that long_int and time_t
15301 are two's complement (or unsigned, in the latter case).
15302
03cf7fe3
PE
15303 mktime: check signed shifts on long_int and time_t, too
15304 * time/mktime.c (SHR): Check that shifts work as desired
15305 on the types long_int and time_t too, as SHR is used on
15306 such types.
15307
f04dfbc2
PE
15308 mktime: do not assume 'long' is wide enough
15309 * time/mktime.c (verify): Move decl up.
15310 (long_int): New type.
15311 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
15312 to remove assumption in the code that 'long' is wide enough to
15313 store year values. This assumption is not true on x32 and on
15314 some non-glibc platforms.
15315
62bdf9a6
PE
15316 mktime: merge wrapv change from gnulib
15317 * time/mktime.c (WRAPV): New macro.
15318 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
15319 (guess_time_tm, __mktime_internal): Do not assume that signed
15320 integer overflow wraps around; modern compilers generate code
15321 where this assumption is no longer valid.
15322
5e292e4f
L
153232012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15324
15325 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15326 Replace "jmp L(pseudo_end)" with "ret".
15327 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
15328 Likewise.
15329
8caf8c87
AJ
153302012-05-23 Andreas Jaeger <aj@suse.de>
15331
15332 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
15333 * sysdeps/unix/sysv/linux/poll.c: Remove file.
15334
1a09dc56
AJ
153352012-05-23 Andreas Jaeger <aj@suse.de>
15336 Maximilian Attems <max@stro.at>
15337
15338 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
15339 New macros.
15340
1c87aba0
L
153412012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15342
15343 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
15344 code so that pseudo_end is just ret and the stack pointer is
15345 correct also for static library in error case.
15346
40e45bd5
JM
153472012-05-23 Joseph Myers <joseph@codesourcery.com>
15348
c2670533
JM
15349 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
15350 move to syscalls.list.
15351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15355
40e45bd5
JM
15356 * manual/install.texi (Running make install): Do not mention Linux
15357 kernel version for which pt_chown is not needed.
15358 (Linux): Do not mention problems with nscd with 2.0 kernels.
15359 * INSTALL: Regenerated.
15360
be08eda5
AJ
153612012-05-23 Andreas Jaeger <aj@suse.de>
15362
15363 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
15364 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
15365 macro.
15366 * sysdeps/unix/sysv/linux/s390/bits/mman.h
15367 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15368 * sysdeps/unix/sysv/linux/sh/bits/mman.h
15369 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15370 * sysdeps/unix/sysv/linux/i386/bits/mman.h
15371 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15372 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
15373 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15374 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
15375 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15376 * sysdeps/unix/sysv/linux/bits/in.h
15377 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
15378
a6a056bb
RM
153792012-05-22 Roland McGrath <roland@hack.frob.com>
15380
15381 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
15382 (PREPARE_VERSION): Just use assert instead, it will be elided
15383 under [NDEBUG] anyway.
15384
c9009328
L
153852012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15386
15387 * sysdeps/unix/sysv/linux/Makefile: Include
15388 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 15389 (sysdep_routines): Remove sysctl.
c9009328
L
15390 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
15391 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
15392 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
15393 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
15394 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
15395
73338355
AJ
153962012-05-22 Andreas Jaeger <aj@suse.de>
15397
15398 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
15399 that pseudo_end is just ret and the stack pointer is correct also
15400 for static library in error case.
15401
d44638b0
PP
154022012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
15403
15404 [BZ #14122]
15405 * nss/nsswitch.c (defconfig_entries): New variable.
15406 (__nss_database_lookup): Don't leak defconfig entries.
15407 (nss_parse_service_list): Don't leak on error paths.
15408 (free_database_entries): New function.
15409 (free_defconfig): New function.
15410 (free_mem): Move common code to free_database_entries.
15411
31a39bd8
L
154122012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15413
da0331a8
L
15414 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
15415 Add arch_prctl.
15416 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
15417
31a39bd8
L
15418 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15419 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
15420 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
15421 New macro.
15422 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
15423 (INTERNAL_SYSCALL_TYPES): Likewise.
15424 (LOAD_ARGS_TYPES_[1-6]): Likewise.
15425 (LOAD_REGS_TYPES_[1-6]): Likewise.
15426 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
15427 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
15428
45470df3
AZ
154292012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15430
15431 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
15432 copysignl for GLIBC_2_0.
15433 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
15434 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
15435 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
15436 logbl for GLIBC_2_0.
15437 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
15438 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
15439
98a61bcb
L
154402012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15441
a4f6e481
L
15442 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
15443 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
15444
f63d5db6
L
15445 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15446 Use "neg %eax".
15447
98a61bcb
L
15448 * time/mktime.c: Update copyright years.
15449
95770f14
PE
154502012-05-22 Paul Eggert <eggert@cs.ucla.edu>
15451
6226efbd
PE
15452 mktime: merge comment-quoting-style change from gnulib
15453 * time/mktime.c: Quote 'like this' in comments.
15454 The GNU coding standards suggest that we no longer quote `like this',
15455 as "`" and "'" are typically rendered asymmetrically nowadays.
15456 The typical gnulib style is to quote 'like this' when quoting
15457 code, and "like this" when quoting English.
15458
b99e4f78
PE
15459 * time/mktime.c (compile-command): Add "-I.".
15460
643e01e6
PE
15461 mktime: merge mktime-internal.h change from gnulib
15462 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
15463
2554247d
PE
15464 mktime: merge time_r change from gnulib
15465 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
15466
826dd0ab
PE
15467 mktime: merge DEBUG change from gnulib
15468 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
15469 case system <time.h> has a #define.
15470
bd83aabe
PE
15471 mktime: merge <sys/types.h> change from gnulib
15472 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
15473 since <time.t> is now guaranteed to define time_t.
15474
95770f14
PE
15475 mktime: merge HAVE_CONFIG_H change from gnulib
15476 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
15477
5e1a27a9
L
154782012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15479
0e44a77e
L
15480 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15481 Use "neg %eax".
15482
5e1a27a9
L
15483 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
15484 __rlim_t cast.
15485 (struct rusage): Use anonymous union to pad each field to
15486 __syscall_slong_t.
15487
46259bec
DM
154882012-05-21 David S. Miller <davem@davemloft.net>
15489
15490 * Makefules (o-iterator): Remove .s cases.
15491 (compile-command.s): Delete.
15492 (COMPILE.s): Delete.
15493 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
15494
59f0c22e
JM
154952012-05-21 Joseph Myers <joseph@codesourcery.com>
15496
15497 * configure.in (libc_cv_predef_stack_protector): Only consider
15498 "foobar" and "__stack_chk_fail" lines in libc_undefs.
15499 * configure: Regenerated.
15500
20c07380
L
155012012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15502
bbb3154b
L
15503 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15504 New macro. Use R*LP on int and pointer.
15505 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
15506 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
15507 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
15508 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
15509
20c07380
L
15510 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
15511 [__WORDSIZE_TIME64_COMPAT32] instead of
15512 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
15513 (struct utmp): Likewise.
15514 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
15515 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
15516 Renamed to ...
15517 (__WORDSIZE_TIME64_COMPAT32): This.
15518 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
15519 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
15520 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
15521 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
15522 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
15523 (__WORDSIZE_TIME64_COMPAT32): New macro.
15524
d8d1017e
AJ
155252012-05-21 Andreas Jaeger <aj@suse.de>
15526
15527 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
15528 only if [SHARED]. Add prototype for __wcschr_ia32.
15529
6c7fb145
RM
155302012-05-21 Roland McGrath <roland@hack.frob.com>
15531
15532 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
15533 of %rbp unmolested in the jmp_buf while mangling the low bits.
15534 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
15535 unmolested high bits of %rbp while demangling the low bits.
15536 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15537
66274218
AJ
155382012-05-21 Andreas Jaeger <aj@suse.de>
15539
07c58f8f
AJ
15540 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
15541 * sunrpc/svc_simple.c: Use it for registerrpc.
15542 * sunrpc/xcrypt.c: Use it for passwd2des.
15543
66274218
AJ
15544 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
15545
61f65140
L
155462012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15547
15548 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
15549 Don't define if [__SYSCALL_WORDSIZE != 32].
15550 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
15551 New macro.
15552
5fefb436
AJ
155532012-05-21 Bruno Haible <bruno@clisp.org>
15554 Andreas Jaeger <aj@suse.de>
15555
15556 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
15557 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
15558 inptr and inend for must_buffer_ch.
15559 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
15560 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
15561 * stdio-common/Makefile (tests): Remove bug15.
15562 (bug15-ENV): Remove macro.
15563 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
15564 anymore.
15565
d8e272ab
AJ
155662012-05-19 Andreas Jaeger <aj@suse.de>
15567 Roland McGrath <roland@hack.frob.com>
15568
15569 * manual/contrib.texi: Completely rewritten. It contains now an
15570 alphabetical list of contributors and their contributions.
15571
4a56a162
RH
155722012-05-21 Richard Henderson <rth@twiddle.net>
15573
15574 * misc/getauxval.c (__getauxval): Use unsigned long int.
15575 * misc/sys/auxv.h: Include <sys/cdefs.h>.
15576 (getauxval): Use unsigned long int.
15577
d024d23c
L
155782012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15579
15580 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15581
cbc00a03
RM
155822012-05-21 Roland McGrath <roland@hack.frob.com>
15583
15584 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
15585 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
15586 __alignof__ (long double).
15587
478143fa
AZ
155882012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15589
15590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15591
c7683a6d
RH
155922012-05-20 Richard Henderson <rth@twiddle.net>
15593
15594 * misc/getauxval.c: New file.
15595 * misc/sys/auxv.h: New file.
15596 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
15597 (routines): Add getauxval.
15598 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
15599 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
15600 * elf/dl-sysdep.c (_dl_auxv): Remove.
15601 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
15602 * elf/dl-support.c (_dl_auxv): New variable.
15603 (_dl_aux_init): Initialize it.
15604 * manual/startup.texi (Auxiliary Vector): New node.
15605 * sysdeps/generic/bits/hwcap.h: New file.
15606 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
15607 * sysdeps/powerpc/sysdep.h: ... here. Include it.
15608 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
15609 * sysdeps/sparc/sysdep.h: ... here. Include it.
15610 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
15611 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
15612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15613 Update.
c7683a6d
RH
15614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
15615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
15616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
15617 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
15618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
15621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
15622
a6f1845d
AZ
156232012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15624
15625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15626
cbcbe830
DM
156272012-05-19 David S. Miller <davem@davemloft.net>
15628
15629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15630
e0b16cc2
JM
156312012-05-19 Joseph Myers <joseph@codesourcery.com>
15632
15633 [BZ #14123]
15634 * math/s_ccosh.c: Include <float.h>
15635 (__ccosh): Avoid internal overflow calculating sinh and cosh
15636 values before multiplying by sin and cos values.
15637 * math/s_ccoshf.c: Likewise.
15638 * math/s_ccoshl.c: Likewise.
15639 * math/s_csin.c: Likewise.
15640 * math/s_csinf.c: Likewise.
15641 * math/s_csinl.c: Likewise.
15642 * math/s_csinh.c: Likewise.
15643 * math/s_csinhf.c: Likewise.
15644 * math/s_csinhl.c: Likewise.
15645 * math/libm-test.inc (ccos_test): Add more tests.
15646 (ccosh_test): Likewise.
15647 (csin_test): Likewise.
15648 (csinh_test): Likewise.
15649 * sysdeps/i386/fpu/libm-test-ulps: Update.
15650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15651
6ad13e08
L
156522012-05-19 H.J. Lu <hongjiu.lu@intel.com>
15653
f66f0ce8
L
15654 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
15655 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
15656
6ad13e08
L
15657 * sysdeps/x86_64/x32/_itoa.h: Add comment.
15658
b1d072a7
JM
156592012-05-19 Joseph Myers <joseph@codesourcery.com>
15660
15661 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
15662 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
15663 * sysdeps/powerpc/soft-fp/Versions: Likewise.
15664 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
15665 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
15666 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
15667 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
15668 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
15669 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
15670 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
15671 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
15672 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
15673 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
15674 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
15675 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
15676 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
15677 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
15678 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
15679 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
15680 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
15681 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
15682 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
15683 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
15684 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
15685 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
15686 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
15687 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
15688 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
15689 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
15690 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
15691 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
15692
9eae47cb
AJ
156932012-05-18 Andreas Jaeger <aj@suse.de>
15694
15695 * csu/.gitignore: Delete.
15696
bb07f69f
L
156972012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15698
15699 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
15700 (timex): Use __syscall_slong_t.
15701
e6bdb741
AJ
157022012-05-18 Andreas Jaeger <aj@suse.de>
15703 Carlos O'Donell <carlos_odonell@mentor.com>
15704
15705 * manual/install.texi (Configuring and compiling): Update
15706 description about files modified in the source directory.
d6c33fda 15707 * INSTALL: Regenerated.
e6bdb741 15708
1b74487e
L
157092012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15710
15711 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
15712 value. Use "or" to set return value to -1.
15713 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
15714 negate return value.
15715
a88b64b9
TMQMF
157162012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15717
15718 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
15719 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
15720 failure if the compiler has Graphite support disabled.
15721 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
15722 Likewise.
15723 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
15724 CFLAGS-memmove.c): Likewise.
15725 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
15726 Likewise.
15727
3707636e
L
157282012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15729
610b8622
L
15730 * sysdeps/x86_64/x32/_itoa.h: New file.
15731
7cd195df
L
15732 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
15733 getdents system call only if kernel and user dirents have the
15734 same d_ino and d_off.
15735
94b07d20
L
15736 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15737 LLONG_MAX != LONG_MAX.
15738 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15739 (_fitoa_word): Likewise.
15740
18298070
L
15741 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
15742 years.
15743 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
15744 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
15745 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
15746
553c7ea4
L
15747 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
15748 include <bits/wordsize.h>. Check __x86_64__ instead of
15749 __WORDSIZE.
15750 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
15751 if __x86_64__ is defined. Use anonymous union on fpstate.
15752
3707636e
L
15753 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
15754 anonymous union.
15755
b53ef01a
AS
157562012-05-18 Andreas Schwab <schwab@linux-m68k.org>
15757
37fb1dc0
AS
15758 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
15759 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
15760 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
15761 Refer to _rtld_local_ro instead of _rtld_global_ro.
15762 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
15763 Likewise.
15764 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
15765 Likewise.
15766 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
15767 Likewise.
15768 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
15769 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
15770 of _rtld_global, and rtld_progname instead of _dl_argv[0].
15771
b53ef01a
AS
15772 * sysdeps/powerpc/powerpc32/dl-machine.c
15773 (__elf_machine_runtime_setup) [PROF]: Don't reference
15774 _dl_prof_resolve.
15775
7a185db2
AJ
157762012-05-18 Andreas Jaeger <aj@suse.de>
15777
15778 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
15779 function only available for GCCs before 3.4 since GCC 3.4
15780 introduced a builtin.
15781 (lrint): Likewise.
15782 (llrintf): Likewise.
15783 (llrint): Likewise.
15784 (fmaxf): Likewise.
15785 (fmax): Likewise.
15786 (fminf): Likewise.
15787 (fmin): Likewise.
15788 (rint): Likewise.
15789 (rintf): Likewise.
15790 (nearbyint): Likewise.
15791 (nearbyintf): Likewise.
15792 (ceil): Likewise.
15793 (ceilf): Likewise.
15794 (floor): Likewise.
15795 (floorf): Likewise.
15796
3e5aef87
L
157972012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15798
428bd707
L
15799 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
15800 on both fields and cast pointer to __syscall_ulong_t.
15801
3e5aef87
L
15802 * bits/types.h (__fsword_t): New type.
15803 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
15804 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
15805 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15806 (__FSWORD_T_TYPE): Likewise.
15807 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15808 (__FSWORD_T_TYPE): Likewise.
15809 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15810 (__FSWORD_T_TYPE): Likewise.
15811 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
15812 (__FSWORD_T_TYPE): Likewise.
15813 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
15814 __SWORD_TYPE with __fsword_t.
15815 (statfs64): Likewise.
15816
1ba7c3dc
DM
158172012-05-17 David S. Miller <davem@davemloft.net>
15818
15819 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
15820
59910343
AJ
158212012-05-17 Andreas Jaeger <aj@suse.de>
15822
15823 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
15824 warning.
15825
2e4c1e9e
L
158262012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15827
15828 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
15829
de7f5ce7
AJ
158302012-05-17 Andreas Jaeger <aj@suse.de>
15831
15832 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
15833 when it is used.
15834
286abc3d
CM
158352012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15836
15837 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
15838
477cc68e
L
158392012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15840
15841 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
15842 * sysdeps/x86_64/tst-mallocalign1.c: New file.
15843
1a0994f5
CD
158442012-05-17 Andreas Jaeger <aj@suse.de>
15845 Carlos O'Donell <carlos_odonell@mentor.com>
15846
15847 [BZ #14059]
15848 * sysdeps/x86_64/multiarch/init-arch.h
15849 (bit_YMM_Usable): Rename to...
15850 (bit_AVX_Usable): ... this.
15851 (bit_FMA4_Usable): New macro.
15852 (bit_XMM_state): New macro.
15853 (bit_YMM_state): New macro.
15854 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
15855 [__ASSEMBLER__] (index_AVX_Usable): ... this.
15856 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
15857 (CPUID_OSXSAVE): New macro.
15858 (CPUID_AVX): New macro.
15859 (CPUID_FMA4): New macro.
15860 (index_YMM_Usable): Rename to...
15861 (index_AVX_Usable): ... this.
15862 (HAS_AVX): Use HAS_ARCH_FEATURE.
15863 (HAS_FMA4): Likewise.
15864 (HAS_YMM_USABLE): Remove.
15865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15866 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
15867 are present.
15868 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
15869 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
15870 * sysdeps/x86_64/multiarch/Makefile: Likewise.
15871 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
15872 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
15873
0af797de
CM
158742012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15875
15876 * math/libm-test.c: Support platforms without multiple rounding modes.
15877 * math/bug-nextafter.c: Support platforms without FP exceptions.
15878 * math/bug-nexttoward.c: Likewise.
15879 * math/test-fenv.c: Likewise.
15880 * math/test-misc.c: Likewise.
15881 * stdlib/bug-getcontext.c: Likewise.
15882
e39745ff
AJ
158832012-05-17 Andreas Jaeger <aj@suse.de>
15884
15885 * manual/examples/search.c (critter_cmp): Change signature to
15886 avoid warnings.
15887 * manual/string.texi (Collation Functions): Likewise.
15888
48970aba
L
158892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15890
15891 * bits/types.h: Fold copyright years.
15892 * bits/typesizes.h: Likewise.
15893 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
15894 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15895 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
15896 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
15897 * time/time.h: Likewise.
15898
bedee953
PP
158992012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
15900
15901 [BZ #208]
15902 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
15903 in instead of returning them. Return void.
15904 (__libc_mallinfo): Accumulate over all arenas.
15905 (__malloc_stats): Adjust for change in int_mallinfo interface.
15906
61653dfb
RM
159072012-05-16 Roland McGrath <roland@hack.frob.com>
15908
30b99d79
RM
15909 [BZ #10375]
15910 * configure.in (NM): Add AC_CHECK_TOOL for it.
15911 (libc_extra_cflags): New substituted variable.
15912 Check for -fstack-protector being used implicitly.
15913 * configure: Regenerated.
15914 * config.make.in (config-extra-cflags): New variable,
15915 gets @libc_extra_cflags@.
15916 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
15917
61653dfb
RM
15918 [BZ #10375]
15919 * configure.in: Check for _FORTIFY_SOURCE being predefined.
15920 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
15921 * configure: Regenerated.
15922 * config.make.in (CPPUNDEFS): New substituted variable.
15923 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
15924 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
15925 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
15926
661768bb
L
159272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15928
15929 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
15930 (mq_attr): Use __syscall_slong_t.
15931
d4261567
L
159322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15933
15934 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
15935 Check __x86_64__ instead of __WORDSIZE.
15936 (_STAT_VER_LINUX): Likewise.
15937 (stat): Check __x86_64__ instead of __WORDSIZE. Use
15938 __syscall_ulong_t and __syscall_slong_t.
15939 (stat64): Likewise.
15940
cf3ff365
L
159412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15942
15943 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
15944
76cf3e4d
L
159452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15946
15947 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
15948
a637753a
L
159492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15950
15951 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
15952 __syscall_ulong_t.
15953
d5e05119
L
15954 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
15955 include <bits/wordsize.h>. Check __x86_64__ instead of
15956 __WORDSIZE.
15957 (greg_t): Use "__extension__ long long int" if __x86_64__ is
15958 defined.
15959 (mcontext_t): Replace "unsigned long" with "unsigned long long".
15960
f62ee380
L
15961 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
15962 include <bits/wordsize.h>. Check __x86_64__ instead of
15963 __WORDSIZE.
15964 (user_regs_struct): Use "__extension__ unsigned long long"
15965 instead of "unsigned long" if __x86_64__ is defined.
15966 (user): Likewise. Pad after pointer field if __ILP32__ is
15967 defined.
15968
4e124ced
JM
159692012-05-16 Joseph Myers <joseph@codesourcery.com>
15970
6a3951a0
JM
15971 * configure.in (makeinfo): Require version 4.5 or later. Allow
15972 versions 5 to 9.
15973 * configure: Regenerated.
15974 * manual/install.texi (texinfo): Increase version requirement to
15975 4.5 or later.
15976 * INSTALL: Regenerated.
15977
4e124ced
JM
15978 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
15979
953ca31a
L
159802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15981
15982 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
15983
617aca05
L
15984 * sysdeps/x86_64/x32/ffs.c: New file.
15985
5762f7ae
L
15986 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
15987 __syscall_ulong_t.
15988 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
15989 defined. Use __syscall_ulong_t.
15990 (shminfo): Use __syscall_ulong_t.
15991 (shm_info): Likewise.
15992
a26b6856
L
15993 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
15994 __syscall_ulong_t.
15995
cb2b9ef7
L
15996 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
15997 <bits/wordsize.h>.
15998 (msgqnum_t): Use __syscall_ulong_t.
15999 (msglen_t): Likewise.
16000 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
16001 __syscall_ulong_t.
16002
34683bb0
L
16003 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
16004 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16005
84a68786
L
16006 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
16007
48baa5f1
L
16008 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
16009 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
16010
180be88b
L
16011 * sysvipc/sys/msg.h (msgbuf): Replace long int with
16012 __syscall_slong_t.
16013
5e90c8ad
L
16014 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
16015 include <bits/wordsize.h>. Check __x86_64__ instead of
16016 __WORDSIZE.
16017
23dfb58b
L
16018 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
16019 "unsigned long long int" if __x86_64__ is defined.
16020 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
16021
ce5d54b0
L
16022 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
16023 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16024 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
16025
13dc9eac
L
16026 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
16027 <stdint.h>.
16028 (GET_PC): Cast to uintptr_t first.
16029 (GET_FRAME): Likewise.
16030 (GET_STACK): Likewise.
16031
a7895d15
L
16032 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
16033 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
16034 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
16035 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
16036 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
16037 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
16038 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
16039 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
16040 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
16041 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
16042 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
16043 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
16044 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16045 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
16046 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
16047 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
16048 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
16049 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
16050 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
16051 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
16052 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
16053 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
16054 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
16055 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
16056 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
16057 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
16058 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
16059 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
16060 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
16061
656416c9
AS
160622012-05-16 Andreas Schwab <schwab@linux-m68k.org>
16063
5bd66283
AS
16064 * Makerules (+depfiles): Also collect depfiles from .oS in
16065 $(extra-objs).
16066 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
16067 .oS, $(libnldbl-routines)).
16068
656416c9
AS
16069 * Makerules (native-compile-mkdep-flags): Define.
16070 * sunrpc/Makefile (extra-objs): Add $(addprefix
16071 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
16072 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
16073 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
16074 calling $(make-target-directory).
16075
a46f2169
L
160762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16077
16078 * bits/types.h (__snseconds_t): Removed.
16079 * time/time.h (struct timespec): Replace __snseconds_t with
16080 __syscall_slong_t.
16081 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
16082 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
16083 Likewise.
16084 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16085 (__SNSECONDS_T_TYPE): Likewise.
16086 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16087 (__SNSECONDS_T_TYPE): Likewise.
16088 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16089 (__SNSECONDS_T_TYPE): Likewise.
16090
6af6528b
L
160912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16092
16093 * sysdeps/mach/hurd/bits/typesizes.h
16094 (__SYSCALL_SLONG_TYPE): New macro.
16095 (__SYSCALL_ULONG_TYPE): Likewise.
16096
de986b56
L
160972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16098
16099 * bits/types.h (__syscall_slong_t): New type.
16100 (__syscall_ulong_t): Likewise.
16101
16102 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
16103 (__SYSCALL_ULONG_TYPE): Likewise.
16104 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16105 (__SYSCALL_SLONG_TYPE): Likewise.
16106 (__SYSCALL_ULONG_TYPE): Likewise.
16107 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16108 (__SYSCALL_SLONG_TYPE): Likewise.
16109 (__SYSCALL_ULONG_TYPE): Likewise.
16110 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16111 (__SYSCALL_SLONG_TYPE): Likewise.
16112 (__SYSCALL_ULONG_TYPE): Likewise.
16113
85736dc7
L
161142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16115
16116 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
16117 Add sigaltstack-offsets.sym.
16118 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
16119 <sigaltstack-offsets.h>.
16120 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
16121 longjmp_msg pointer.
16122 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
16123 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
16124 signal stack.
16125 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
16126
cc03b296
JM
161272012-05-15 Joseph Myers <joseph@codesourcery.com>
16128
a9538892
JM
16129 * elf/stackguard-macros.h: Remove file.
16130 * sysdeps/generic/stackguard-macros.h: New file.
16131 * sysdeps/i386/stackguard-macros.h: Likewise.
16132 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16133 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16134 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16135 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16136 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16137 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16138 * sysdeps/x86_64/stackguard-macros.h: Likewise.
16139 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
16140 <elf/stackguard-macros.h>.
16141
cc03b296
JM
16142 [BZ #14109]
16143 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
16144 __aligned__ in attribute.
16145 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
16146 (gregset_t): Likewise.
16147
93171016
L
161482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16149
16150 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
16151 * sysdeps/x86_64/64/Implies-after: Here. New file.
16152 * sysdeps/x86_64/x32/Implies-after: New file.
16153
d86813a0
L
161542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16155
16156 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
16157 and access return value for _dl_profile_fixup. Use R10_LP to
16158 load frame size.
16159
2953ec75
L
161602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16161
16162 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
16163
3b550e9e
L
161642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16165
16166 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
16167 * sysdeps/x86_64/x32/sysdep.h: New file.
16168
eda41706
L
161692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16170
16171 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
16172 * sysdeps/x86_64/setjmp.S: Likewise.
16173
9ea01d93
AZ
161742012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16175
16176 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
16177 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
16178 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
16179 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
16180 remove unused global constant.
16181
02a91938
CM
161822012-05-15 Chris Metcalf <cmetcalf@tilera.com>
16183
16184 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
16185 include of <not-cancel.h>.
16186
6540185f
RM
161872012-05-15 Roland McGrath <roland@hack.frob.com>
16188
16189 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
16190
509072a0
AJ
161912012-05-15 Jeff Law <law@redhat.com>
16192 Andreas Jaeger <aj@suse.de>
16193
16194 [BZ #13594]
16195 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
16196 out from...
16197 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
16198 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
16199 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
16200 code changing __hst_map_handle.map.
16201
ba75122d
RM
162022012-05-15 Roland McGrath <roland@hack.frob.com>
16203
16204 * configure.in (sysnames): Look for Implies-before and Implies-after
16205 files.
16206 * configure: Regenerated.
16207
890d8bd8
L
162082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16209
16210 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
16211 8-byte data alignment with LP_SIZE alignment.
16212
f6ee6623
L
162132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16214
16215 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
16216 into R10_LP.
16217
ea2626f6
L
162182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16219
16220 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
16221
085f715e
L
162222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16223
16224 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
16225 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
16226 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
16227 Likewise.
16228 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16229
be8498fc
L
162302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16231
16232 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
16233 (stackinfo_sub_sp): Likewise.
16234
70bc83b9
L
162352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16236
16237 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
16238 RAX_LP.
16239
9bc0b730
L
162402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16241
16242 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
16243 into R*_LP.
16244
6d2850e7
L
162452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16246
16247 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
16248 sizes into R*_LP.
16249
3cb84561
L
162502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16251
16252 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
16253
54e2ed81
L
162542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16255
16256 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
16257 into R11_LP and load __x86_64_shared_cache_size_half into
16258 R8_LP.
16259
8a17f349
L
162602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16261
16262 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
16263 R8_LP.
16264
777b1eea
AZ
162652012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16266
16267 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
16268 logb for POWER7.
16269 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
16270 logbf for POWER7.
16271 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
16272 logbl for POWER7.
16273 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
16274 powerpc32/power7/fpu/s_logb.c via #include.
16275 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
16276 powerpc32/power7/fpu/s_logbf.c via #include.
16277 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
16278 powerpc32/power7/fpu/s_logbl.c via #include.
16279
d20d4ac2
JM
162802012-05-15 Joseph Myers <joseph@codesourcery.com>
16281
16282 * README.libm: Remove file.
16283
6cdef1ab
L
162842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16285
16286 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
16287 count for x32. Use R*_LP and omit operand-size suffix.
16288
0b254d8f
L
162892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16290
16291 * shlib-versions: Move x86_64-.*-linux.* entries to ...
16292 * sysdeps/x86_64/64/shlib-versions: Here. New file.
16293 * sysdeps/x86_64/x32/shlib-versions: New file.
16294
ceb809dc
RM
162952012-05-14 Roland McGrath <roland@hack.frob.com>
16296
16297 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
16298 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
16299 Use _dl_fatal_printf instead.
16300
37f1abd4
JM
163012012-05-14 Joseph Myers <joseph@codesourcery.com>
16302
16303 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
16304 set if not set by the user. Do not allow for being unset.
16305 * sysdeps/unix/sysv/linux/configure: Regenerated.
16306
11de3a33
L
163072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16308
16309 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
16310 the `q' suffix from lea and replace .quad with ASM_ADDR.
16311
e02f153a
L
163122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16313
16314 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
16315 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
16316 instead of $17.
16317 (PTR_DEMANGLE): Likewise.
16318
520ae0fd
L
163192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16320
16321 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
16322 (LP_OP): Likewise.
16323 (ASM_ADDR): Likewise.
16324 (RAX_LP): Likewise.
16325 (RBP_LP): Likewise.
16326 (RBX_LP): Likewise.
16327 (RCX_LP): Likewise.
16328 (RDI_LP): Likewise.
16329 (RSI_LP): Likewise.
16330 (RSP_LP): Likewise.
16331 (R8_LP): Likewise.
16332 (R9_LP): Likewise.
16333 (R10_LP): Likewise.
16334 (R10_LP): Likewise.
16335 (R11_LP): Likewise.
16336 (R12_LP): Likewise.
16337 (R13_LP): Likewise.
16338 (R14_LP): Likewise.
16339 (R15_LP): Likewise.
16340
b985be81
L
163412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16342
16343 * sysdeps/x86_64/x32/dl-machine.h: New file.
16344
6a4888ff
AJ
163452012-05-14 Andreas Jaeger <aj@suse.de>
16346
16347 * manual/Makefile (subdir): Remove export of subdir.
16348 (all): Remove target.
16349 (.PHONY): Remove all from list.
16350 (mkinstalldirs): Remove.
16351 (.PHONY): Remove installdirs from list.
16352 ($(inst_infodir)/libc.info): Use make-target-directory.
16353 (installdirs): Remove.
16354 (subdir_%): Remove.
16355 (glibc-targets): Remove.
16356 (lib): Remove.
16357 (stubs): Remove.
16358 ($(objpfx)stubs ../po/manual.pot): Remove.
16359 ($(objpfx)stamp%): Remove.
16360 (make-target-directory): Remove.
16361 (subdir_install): Remove.
16362 (routines): Remove.
16363 (aux): Remove.
16364 (sources): Remove.
16365 (objects): Remove.
16366 (headers): Remove.
16367
16368 [BZ #13750]
16369 * manual/.gitignore: Remove, it's not needed anymore.
16370 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
16371 all files in it.
16372 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
16373 directory.
16374 (texis): Renamed to $(objpfx)texis.
16375 (texis-path): New, contains path to generated files.
16376 (chapters.%): Use texis-path for complete path, add extra argument
16377 libc-texinfo.sh.
16378 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
16379 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
16380 (summary,texi, stamp-summary): Use complete path of
16381 files. Generate files in build dir.
16382 (dir-add.texi): Build in build dir.
16383 (libm-err.texi,stamp-libm-err): Likewise.
16384 (version.texi, stamp-version): Likewise.
16385 (.%c.texi): Likewise.
16386 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
16387 (mostlyclean): Remove target.
16388 (realclean): Remove target.
16389 (generated): Add new variable with contents from mostlyclean and
16390 realclean, remove entries duplicated in common-mostlyclean, add
16391 stamp-libm-err and stamp-version.
16392 (generated-dirs): Add libc directory.
16393 ($(inst_infodir)/libc.info): Install files from build dir.
16394
16395 * manual/install.texi (Configuring and compiling): Adjust since
16396 the info files are not part of the tar ball anymore.
16397
7ac77294
AJ
163982012-05-14 Andreas Jaeger <aj@suse.de>
16399
16400 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
16401 variable.
16402
ffb7875d
JM
164032012-05-14 Joseph Myers <joseph@codesourcery.com>
16404
16405 [BZ #13717]
16406 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16407 to 2.2.0 where earlier.
16408 * sysdeps/unix/sysv/linux/configure: Regenerated.
16409 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
16410 Remove conditional code.
16411 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
16412 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
16413 Remove conditional code.
16414 [!__NR_lchown]: Likewise.
16415 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16416 [__NR_lchown]: Likewise.
16417 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
16418 comment referencing __ASSUME_LCHOWN_SYSCALL.
16419 * sysdeps/unix/sysv/linux/i386/sigaction.c
16420 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16421 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16422 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
16423 Remove conditional code.
16424 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
16425 (__protocol_available): Remove #if 0 code.
16426 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
16427 conditional code.
16428 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
16429 * sysdeps/unix/sysv/linux/kernel-features.h
16430 (__ASSUME_GETCWD_SYSCALL): Don't define.
16431 (__ASSUME_REALTIME_SIGNALS): Likewise.
16432 (__ASSUME_PREAD_SYSCALL): Likewise.
16433 (__ASSUME_PWRITE_SYSCALL): Likewise.
16434 (__ASSUME_POLL_SYSCALL): Likewise.
16435 (__ASSUME_LCHOWN_SYSCALL): Likewise.
16436 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
16437 non-SPARC.
16438 (__ASSUME_SIOCGIFNAME): Don't define.
16439 (__ASSUME_MSG_NOSIGNAL): Likewise.
16440 (__ASSUME_SENDFILE): Define unconditionally.
16441 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
16442 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
16443 conditional code.
16444 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
16445 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
16446 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
16447 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16448 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
16449 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
16450 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
16452 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16453 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16455 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16456 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
16458 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16459 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
16461 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16462 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
16464 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16465 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
16467 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16468 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
16470 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16471 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
16473 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16474 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16475 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
16476 Remove conditional code.
16477 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16478 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
16479 Remove conditional code.
16480 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16481 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
16482 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
16483 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
16484 Remove conditional code.
16485 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16486 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
16487 Remove conditional code.
16488 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16489 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
16490 Remove conditional code.
16491 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16492 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
16493 Remove conditional code.
16494 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16495 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
16496 Remove conditional code.
16497 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16498 * sysdeps/unix/sysv/linux/sh/pwrite64.c
16499 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16500 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16501 * sysdeps/unix/sysv/linux/sigaction.c
16502 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16503 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16504 * sysdeps/unix/sysv/linux/sigpending.c
16505 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16506 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16507 * sysdeps/unix/sysv/linux/sigprocmask.c
16508 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16509 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16510 * sysdeps/unix/sysv/linux/sigsuspend.c
16511 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16512 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16513 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16514 (__libc_missing_rt_sigs): Remove.
16515 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
16516 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
16517 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
16518 Remove conditional code.
16519 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
16520 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
16521 return 1.
16522 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
16523 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
16524 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
16525 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
16526
1bfb7291
AJ
165272012-05-14 Andreas Jaeger <aj@suse.de>
16528
caae5a81
AJ
16529 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
16530 it's not used in glibc.
16531 (__coshm1): Likewise.
16532 (__acosh1p): Likewise.
16533 (__sgn): Likewise.
16534
1bfb7291
AJ
16535 * manual/string.texi (Copying and Concatenation): Add missing
16536 variable in concat example.
16537 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
16538
c044d724
L
165392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16540
144c5467 16541 [BZ #14103]
c044d724
L
16542 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
16543 __builtin_clzl with __builtin_clzll.
16544
2523c62b
L
165452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16546
16547 [BZ #14104]
16548 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
16549 libc_freeres_ptr.
16550
d7bb4c42
LD
165512012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16552
16553 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
16554 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
16555 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
16556 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
16557
9dc4e1fb
MF
165582012-05-14 Mike Frysinger <vapier@gentoo.org>
16559
16560 * NEWS: Update ia64 info.
16561
c7df0112
AS
165622012-05-12 Andreas Schwab <schwab@linux-m68k.org>
16563
16564 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
16565 used as bcopy.
16566
dc70356c
TS
165672012-05-12 Thomas Schwinge <thomas@codesourcery.com>
16568
16569 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
16570 * sysdeps/unix/syscalls.list (dup3): Likewise.
16571 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
16572 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
16573
9fb1a21f
L
165742012-05-11 H.J. Lu <hongjiu.lu@intel.com>
16575
16576 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
16577 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
16578
4822a2a5
L
165792012-05-11 H.J. Lu <hongjiu.lu@intel.com>
16580
16581 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
16582 thread pointer.
16583 (TLS_IE): Use mov/add instead of movq/addq to load thread
16584 pointer.
16585 (TLS_GD_PREFIX): New.
16586 (TLS_GD): Use it.
16587
842b81d6
DM
165882012-05-11 David S. Miller <davem@davemloft.net>
16589
16590 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
16591 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
16592 (_FPU_SETCW): Likewise.
16593
1cf463cd
L
165942012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16595
16596 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
16597 is 32-byte aligned.
16598
60cc4a18
AS
165992012-05-11 Andreas Schwab <schwab@linux-m68k.org>
16600
16601 [BZ #11837]
16602 * iconvdata/gb18030.c: Update tables.
16603 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
16604 characters specially.
16605 (BODY for TO_LOOP): Add encoding of missing ranges.
16606
febb44a4
TS
166072012-05-11 Thomas Schwinge <thomas@codesourcery.com>
16608
16609 [BZ #13673]
16610 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
16611 * sysdeps/mach/hurd/dup3.c: Likewise.
16612 * sysdeps/mach/hurd/readlinkat.c: Likewise.
16613 * sysdeps/powerpc/memmove.c:: Likewise.
16614
0a10fb9e
L
166152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16616
16617 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
16618 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
16619
df8a552f
L
166202012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16621
16622 * elf/elf.h (R_X86_64_RELATIVE64): New.
16623 (R_X86_64_NUM): Updated.
16624 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16625 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
16626 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
16627 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
16628 tst-quad1pie tst-quad2pie
16629 (modules-names): Add tst-quadmod1 tst-quadmod2.
16630 ($(objpfx)tst-quad1): New dependency.
16631 ($(objpfx)tst-quad2): Likewise.
16632 ($(objpfx)tst-quad1pie): Likewise.
16633 ($(objpfx)tst-quad2pie): Likewise.
16634 * sysdeps/x86_64/tst-quad1.c: New file.
16635 * sysdeps/x86_64/tst-quad1pie.c: New file.
16636 * sysdeps/x86_64/tst-quad2.c: Likewise.
16637 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
16638 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
16639 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
16640 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
16641 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
16642
f34d6f84
ST
166432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16644
f42d41d1
ST
16645 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
16646 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
16647 * streams/stropts.h (t_scalar_t): Define type.
16648
3c3571fc
ST
16649 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
16650 (_PATH_PRESERVE): Set to "/var/lib".
16651 (_PATH_RWHODIR): Set to "/var/spool/rwho".
16652
61f06bd3
ST
16653 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
16654 instead of int.
16655
918d4d71
ST
16656 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
16657 if __dir_mkfile succeeded.
16658
f34d6f84
ST
16659 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
16660 checking for _hurd_dtablesize. Unlock it right after having
16661 finished _hurd_dtable allocation.
16662
10589b4a
TS
166632012-05-10 Thomas Schwinge <thomas@schwinge.name>
16664
674cdbc7
TS
16665 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
16666 * sysdeps/mach/hurd/configure: Regenerated.
16667 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
16668 special-casing to...
16669 * sysdeps/gnu/configure.in: ... this new file.
16670 * sysdeps/unix/sysv/linux/configure: Regenerated.
16671 * sysdeps/gnu/configure: New generated file.
16672
8e41b99f
TS
16673 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
16674 for Linux: use nsec instead of usec, as well as:
16675 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
16676 members of type struct timespec.
16677 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
16678 New macros.
16679 (struct stat64): Likewise.
16680 (_STATBUF_ST_NSEC): New macro.
16681 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
16682
10589b4a
TS
16683 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16684 __strtoul_internal rather than strtoul.
16685
63643c85
PT
166862012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16687
16688 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
16689 and reject them.
16690
3faebe6a
ST
166912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16692
16693 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
16694 which preserves existing values.
16695 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
16696
c6474b07
PT
166972012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16698
16699 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
16700 TIMEOUT values. Return EINVAL for NFDS values either negative or
16701 greater than FD_SETSIZE.
16702
1043890b
ST
167032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16704
16705 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
16706 allocated, call __vm_protect to finish enabling the existing space, and
16707 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
16708 allocate the remainder.
16709
37ed8b9b
PT
167102012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16711
16712 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
16713 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
16714
db653660
ST
167152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16716
37ed8b9b
PT
16717 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
16718 sysdeps/mach/hurd/readlink.c.
b29d4053 16719
db653660
ST
16720 * posix/tst-sysconf.c (posix_options): Only use
16721 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
16722 _POSIX_SYNCHRONIZED_IO when they are defined
16723 * sysdeps/mach/hurd/bits/posix_opt.h:
16724 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
16725 (_XOPEN_REALTIME): Undefine macro.
16726 (_XOPEN_REALTIME_THREADS): Undefine macro.
16727 (_XOPEN_SHM): Undefine macro.
16728 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
16729 macro to -1.
16730 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
16731 macro to -1.
16732 (_POSIX_ASYNC_IO): Undefine macro.
16733 (_POSIX_PRIORITIZED_IO): Undefine macro.
16734 (_POSIX_SPIN_LOCKS): Define macro to -1.
16735
ee16e894
ST
16736 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
16737 SA_NODEFER, SA_RESETHAND.
16738 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
16739 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
16740 F_DUPFD_CLOEXEC.
16741
6103ae3b
TS
167422012-05-10 Thomas Schwinge <thomas@schwinge.name>
16743
16744 * elf/Makefile (pldd-modules): Define unconditionally.
16745
80b4e5f3
TS
167462012-05-10 Thomas Schwinge <thomas@schwinge.name>
16747
16748 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
16749
edadcbd6
ST
167502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16751
16752 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
16753 Return ENOENT when name is empty.
16754 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
16755
80694780
TS
167562012-05-10 Thomas Schwinge <thomas@schwinge.name>
16757
1792c087
TS
16758 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
16759
80694780
TS
16760 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
16761
6b645f0d
ST
167622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16763
80694780
TS
16764 Fix mlock in all cases except non-readable pages.
16765 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
16766 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 16767
6b645f0d
ST
16768 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
16769 (__mkdir): When path is `/', just fail with EEXIST.
16770 * sysdeps/mach/hurd/mkdirat.c: Likewise.
16771
e468f8a3
TS
167722012-05-10 Thomas Schwinge <thomas@schwinge.name>
16773
16774 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
16775 <sys/uio.h> (for writev).
16776 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
16777 and <sys/param.h> (for MIN).
16778
a4186cff
PT
167792012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16780
16781 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
16782 REQUESTED_TIME. Properly set the remaining time and return EINTR
16783 if interrupted.
16784
510bbf14
TS
167852012-05-10 Thomas Schwinge <thomas@schwinge.name>
16786
16787 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
16788 Depend on against $(link-rpcuserlibs).
16789
5d5722e8
ST
167902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16791
a4186cff
PT
16792 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
16793 (__libc_stack_end): Do not use attribute_relro.
16794 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
16795 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 16796 to libthread-provided value.
a4186cff
PT
16797 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
16798 attribute_relro.
5d5722e8 16799
37233df9
TS
168002012-05-10 Thomas Schwinge <thomas@schwinge.name>
16801
be971a2b
TS
16802 [BZ #3748]
16803 * bits/libc-lock.h (__libc_once_get): New macro.
16804 * sysdeps/mach/bits/libc-lock.h: Likewise.
16805 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
16806 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
16807 instead of using implementation details.
16808
37233df9
TS
16809 * libio/fileops.c: Unconditionally include <kernel-features.h>.
16810 * libio/freopen.c: Likewise.
16811 * libio/freopen64.c: Likewise.
16812 * misc/syslog.c: Likewise.
16813 * nscd/connections.c: Likewise.
16814 * nscd/netgroupcache.c: Likewise.
16815 * sysdeps/posix/getcwd.c: Likewise.
16816
38de94a5
RM
168172012-05-10 Roland McGrath <roland@hack.frob.com>
16818
16819 * math/w_ilogbf.c: Add #include <limits.h>.
16820
67530489
ST
168212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16822
a4186cff 16823 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
16824 path instead of returning without unlocking.
16825
67530489
ST
16826 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
16827 immediate-write ioctls.
16828 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
16829
5aa3a74a
TS
168302012-05-10 Thomas Schwinge <thomas@schwinge.name>
16831
18bad2ae
TS
16832 * sysdeps/mach/hurd/i386/init-first.c (init): Use
16833 __builtin_frame_address instead of making assumptions about the
16834 location of the return address relative to DATA. Force early load of
16835 the return address.
16836 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
16837 __builtin_frame_address.
16838
5aa3a74a
TS
16839 dup3 for GNU Hurd.
16840 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
16841 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
16842 implement dup3 and do some further code clean-ups.
16843 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
16844 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
16845
ecd0de9a
ST
168462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16847
cd9fa985
ST
16848 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
16849
a4186cff
PT
16850 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
16851 HURD_CRITICAL_END around holding _hurd_dtable_lock.
16852 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
16853 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
16854 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
16855 d->port.lock.
802ca5a5 16856
a4186cff
PT
16857 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
16858 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
16859 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 16860
bcf55240
TS
168612012-05-10 Thomas Schwinge <thomas@schwinge.name>
16862
6960eb42
TS
16863 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
16864 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
16865 definitions.
16866
eb43375f
TS
16867 accept4 for GNU Hurd.
16868 * include/sys/socket.h (__libc_accept4): New prototype.
16869 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
16870 to implement __libc_accept4.
16871 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
16872 __libc_accept4.
16873 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
16874
bcf55240
TS
16875 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
16876 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
16877 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
16878 signal-defines.sym.
16879
6178c55b
ST
168802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16881
a4186cff 16882 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 16883
6f080c2f
TS
168842012-05-10 Thomas Schwinge <thomas@schwinge.name>
16885
16886 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
16887 assertion on O_CLOEXEC flag.
16888 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
16889 * hurd/intern-fd.c: Likewise.
16890 * hurd/port2fd.c: Likewise.
16891
bcfe3a54
ST
168922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16893
16894 [BZ #3906]
16895 * bits/in.h (IPV6_PKTINFO): Define new macro.
16896 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
16897
89c9aa49
AZ
168982012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16899
16900 [BZ #13954]
16901 [BZ #13955]
16902 [BZ #13956]
16903 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
16904 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16905 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
16906 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16907 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16908 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16909 * math/libm-test.inc (logb_test) : Additional logb tests.
16910
021db4be
AJ
169112012-05-09 Andreas Schwab <schwab@linux-m68k.org>
16912 Andreas Jaeger <aj@suse.de>
16913
16914 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
16915 * configure: Regenerated.
16916 * config.h.in (LINK_OBSOLETE_RPC): New macro.
16917 * config.make.in (link-obsolete-rpc): New substituted variable.
16918 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
16919 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
16920 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16921 (shared-only-routines): Don't set it under [link-obsolete-rpc],
16922 so that libc.a contains the symbols.
16923 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16924 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
16925 * sunrpc/auth_none.c: Likewise.
16926 * sunrpc/auth_unix.c: Likewise.
16927 * sunrpc/authdes_prot.c: Likewise.
16928 * sunrpc/authuxprot.c: Likewise.
16929 * sunrpc/clnt_gen.c: Likewise.
16930 * sunrpc/clnt_perr.c: Likewise.
16931 * sunrpc/clnt_raw.c: Likewise.
16932 * sunrpc/clnt_simp.c: Likewise.
16933 * sunrpc/clnt_tcp.c: Likewise.
16934 * sunrpc/clnt_udp.c: Likewise.
16935 * sunrpc/clnt_unix.c: Likewise.
16936 * sunrpc/des_crypt.c: Likewise.
16937 * sunrpc/des_soft.c: Likewise.
16938 * sunrpc/get_myaddr.c: Likewise.
16939 * sunrpc/key_call.c: Likewise.
16940 * sunrpc/key_prot.c: Likewise.
16941 * sunrpc/netname.c: Likewise.
16942 * sunrpc/pm_getmaps.c: Likewise.
16943 * sunrpc/pm_getport.c: Likewise.
16944 * sunrpc/pmap_clnt.c: Likewise.
16945 * sunrpc/pmap_prot.c: Likewise.
16946 * sunrpc/pmap_prot2.c: Likewise.
16947 * sunrpc/pmap_rmt.c: Likewise.
16948 * sunrpc/publickey.c: Likewise.
16949 * sunrpc/rpc_cmsg.c: Likewise.
16950 * sunrpc/rpc_common.c: Likewise.
16951 * sunrpc/rpc_dtable.c: Likewise.
16952 * sunrpc/rpc_prot.c: Likewise.
16953 * sunrpc/rpc_thread.c: Likewise.
16954 * sunrpc/rtime.c: Likewise.
16955 * sunrpc/svc.c: Likewise.
16956 * sunrpc/svc_auth.c: Likewise.
16957 * sunrpc/svc_raw.c: Likewise.
16958 * sunrpc/svc_run.c: Likewise.
16959 * sunrpc/svc_tcp.c: Likewise.
16960 * sunrpc/svc_udp.c: Likewise.
16961 * sunrpc/svc_unix.c: Likewise.
16962 * sunrpc/svcauth_des.c: Likewise.
16963 * sunrpc/xcrypt.c: Likewise.
16964 * sunrpc/xdr.c: Likewise.
16965 * sunrpc/xdr_array.c: Likewise.
16966 * sunrpc/xdr_float.c: Likewise.
16967 * sunrpc/xdr_intXX_t.c: Likewise.
16968 * sunrpc/xdr_mem.c: Likewise.
16969 * sunrpc/xdr_rec.c: Likewise.
16970 * sunrpc/xdr_ref.c: Likewise.
16971 * sunrpc/xdr_sizeof.c: Likewise.
16972 * sunrpc/xdr_stdio.c: Likewise.
16973
b5c086a2
RM
169742012-05-10 Roland McGrath <roland@hack.frob.com>
16975
16976 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
16977 change. Update copyright years.
16978
6d74dd09
JM
169792012-05-10 Joseph Myers <joseph@codesourcery.com>
16980
16981 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
16982
28e72501
MK
169832012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
16984 Joseph Myers <joseph@codesourcery.com>
16985 Paul Pluzhnikov <ppluzhnikov@google.com>
16986
16987 [BZ #14012]
16988 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
16989 requiring rpcgen.
16990 [cross-compiling] (extra-libs): Likewise.
16991 [cross-compiling] (extra-libs-others): Likewise.
16992 [cross-compiling] (librpcsvc-routines): Likewise.
16993 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
16994 [cross-compiling] (omit-deps): Likewise.
16995 (sunrpc-CPPFLAGS): New variable.
16996 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
16997 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
16998 (cross-rpcgen-objs): New variable.
16999 (extra-objs): Append $(cross-rpcgen-objs).
17000 ($(cross-rpcgen-objs)): New rule.
17001 ($(objpfx)cross-rpcgen): Likewise.
17002 (rpcgen-cmd): Define to use $(built-program-file). Expand
17003 comment.
17004 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
17005 ($(objpfx)x%.stmp): Likewise.
17006 * sunrpc/proto.h [IS_IN_build] (_): Define.
17007 [IS_IN_build] (_libc_intl_domainname): Likewise.
17008
c8c59454
L
170092012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17010
17011 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
17012 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
17013 and R_X86_64_TPOFF64.
17014
6f27cd16
JM
170152012-05-10 Joseph Myers <joseph@codesourcery.com>
17016
17017 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
17018 sysdeps/unix/sysv/syscalls.list.
17019 (stime): Likewise.
17020 (utime): Likewise.
17021 * sysdeps/unix/sysv/syscalls.list: Remove file.
17022
02467e1c
PE
170232012-05-10 Paul Eggert <eggert@cs.ucla.edu>
17024
17025 [BZ #3440]
17026 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
17027 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
17028 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
17029 (__LC_IDENTIFICATION): Make these macros useful in #if
17030 expressions, as required by C99.
17031
da392631
AS
170322012-05-10 Andreas Schwab <schwab@linux-m68k.org>
17033
17034 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
17035 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
17036 after this.
17037
8115f29b
L
170382012-05-09 H.J. Lu <hongjiu.lu@intel.com>
17039
17040 * stdlib/longlong.h: Updated from GCC.
17041
bdd74070
AJ
170422012-05-09 Andreas Jaeger <aj@suse.de>
17043
edfe0dbe
AJ
17044 * nscd/nscd.c (run_modes): Make named enum, reorder so that
17045 default is first entry.
17046 (run_mode): Set type.
17047 (main): Remove informal message about syslog.
17048 (options): Fix typo.
17049
bcfe3a54
ST
17050 [BZ #14053]
17051 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 17052 to asm.
bcfe3a54
ST
17053 (lrint): Likewise.
17054 (llrintf): Likewise.
17055 (llrint): Likewise.
17056 (rint): Likewise.
17057 (rintf): Likewise.
17058 (nearbyint): Likewise.
17059 (nearbyintf): Likewise.
bdd74070 17060
91d8d69e
AJ
170612012-05-09 Andreas Jaeger <aj@suse.de>
17062 Pedro Alves <palves@redhat.com>
17063
17064 * nscd/nscd.c (run_mode): Use enum.
17065 (main): Cleanup coding style issue.
17066
bb90b80b
AJ
170672012-05-09 Alexandre Oliva <aoliva@redhat.com>
17068 Andreas Jaeger <aj@suse.de>
17069
bcfe3a54
ST
17070 * nscd/nscd.c (go_background): Replaced with...
17071 (run_mode): ... this.
bb90b80b 17072 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
17073 (options): Add -F --foreground.
17074 (main): Implement it.
17075 (parse_opt): Parse it.
bb90b80b 17076
1a4b75a1
AJ
170772012-05-09 Andreas Jaeger <aj@suse.de>
17078
17079 [BZ #14083]
17080 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
17081 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
17082 -Wconversion warning.
17083 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
17084 Likewise.
17085
b1cc2472
JM
170862012-05-09 Joseph Myers <joseph@codesourcery.com>
17087
17088 * conform/data/locale.h-data (NULL): Use macro-constant. Require
17089 == 0.
17090 (LC_ALL): Use macro-int-constant.
17091 (LC_COLLATE): Likewise.
17092 (LC_CTYPE): Likewise.
17093 (LC_MESSAGES): Likewise.
17094 (LC_MONETARY): Likewise.
17095 (LC_NUMERIC): Likewise.
17096 (LC_TIME): Likewise.
17097 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
17098 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17099 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17100 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
17101 Specify type.
17102 [C99-based standards] (float_t): Expect type.
17103 [C99-based standards] (double_t): Expect type.
17104 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
17105 type.
17106 [C99-based standards] (HUGE_VALL): Likewise.
17107 [C99-based standards] (INFINITY): Likewise.
17108 [C99-based standards] (NAN): Likewise.
17109 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
17110 [C99-based standards] (FP_NAN): Likewise.
17111 [C99-based standards] (FP_NORMAL): Likewise.
17112 [C99-based standards] (FP_SUBNORMAL): Likewise.
17113 [C99-based standards] (FP_ZERO): Likewise.
17114 [C99-based standards] (FP_FAST_FMA): Use
17115 optional-macro-int-constant. Specify type. Require == 1.
17116 [C99-based standards] (FP_FAST_FMAF): Likewise.
17117 [C99-based standards] (FP_FAST_FMAL): Likewise.
17118 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
17119 [C99-based standards] (FP_ILOGBNAN): Likewise.
17120 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
17121 Specify type.
17122 [C99-based standards] (MATH_ERREXCEPT): Likewise.
17123 [C99-based standards] (math_errhandling): Specify type.
17124 [ISO99 || ISO11] (signgam): Do not allow.
17125 [non-C99-based standards] (copysignf): Do not allow.
17126 [non-C99-based standards] (exp2f): Likewise.
17127 [non-C99-based standards] (log2f): Likewise.
17128 [non-C99-based standards] (modff): Allow.
17129 [non-C99-based standards] (erff): Do not allow.
17130 [non-C99-based standards] (erfcf): Likewise.
17131 [non-C99-based standards] (gammaf): Likewise.
17132 [non-C99-based standards] (hypotf): Likewise.
17133 [non-C99-based standards] (j0f): Likewise.
17134 [non-C99-based standards] (j1f): Likewise.
17135 [non-C99-based standards] (jnf): Likewise.
17136 [non-C99-based standards] (lgammaf): Likewise.
17137 [non-C99-based standards] (tgammaf): Likewise.
17138 [non-C99-based standards] (y0f): Likewise.
17139 [non-C99-based standards] (y1f): Likewise.
17140 [non-C99-based standards] (ynf): Likewise.
17141 [non-C99-based standards] (isnanf): Likewise.
17142 [non-C99-based standards] (acoshf): Likewise.
17143 [non-C99-based standards] (asinhf): Likewise.
17144 [non-C99-based standards] (atanhf): Likewise.
17145 [non-C99-based standards] (cbrtf): Likewise.
17146 [non-C99-based standards] (expm1f): Likewise.
17147 [non-C99-based standards] (ilogbf): Likewise.
17148 [non-C99-based standards] (log1pf): Likewise.
17149 [non-C99-based standards] (logbf): Likewise.
17150 [non-C99-based standards] (nextafterf): Likewise.
17151 [non-C99-based standards] (remainderf): Likewise.
17152 [non-C99-based standards] (rintf): Likewise.
17153 [non-C99-based standards] (scalbf): Likewise.
17154 [non-C99-based standards] (copysignl): Likewise.
17155 [non-C99-based standards] (exp2l): Likewise.
17156 [non-C99-based standards] (log2l): Likewise.
17157 [non-C99-based standards] (modfl): Allow.
17158 [non-C99-based standards] (erfl): Do not allow.
17159 [non-C99-based standards] (erfcl): Likewise.
17160 [non-C99-based standards] (gammal): Likewise.
17161 [non-C99-based standards] (hypotl): Likewise.
17162 [non-C99-based standards] (j0l): Likewise.
17163 [non-C99-based standards] (j1l): Likewise.
17164 [non-C99-based standards] (jnl): Likewise.
17165 [non-C99-based standards] (lgammal): Likewise.
17166 [non-C99-based standards] (tgammal): Likewise.
17167 [non-C99-based standards] (y0l): Likewise.
17168 [non-C99-based standards] (y1l): Likewise.
17169 [non-C99-based standards] (ynl): Likewise.
17170 [non-C99-based standards] (isnanl): Likewise.
17171 [non-C99-based standards] (acoshl): Likewise.
17172 [non-C99-based standards] (asinhl): Likewise.
17173 [non-C99-based standards] (atanhl): Likewise.
17174 [non-C99-based standards] (cbrtl): Likewise.
17175 [non-C99-based standards] (expm1l): Likewise.
17176 [non-C99-based standards] (ilogbl): Likewise.
17177 [non-C99-based standards] (log1pl): Likewise.
17178 [non-C99-based standards] (logbl): Likewise.
17179 [non-C99-based standards] (nextafterl): Likewise.
17180 [non-C99-based standards] (remainderl): Likewise.
17181 [non-C99-based standards] (rintl): Likewise.
17182 [non-C99-based standards] (scalbl): Likewise.
17183 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17184 [non-C99-based standards] (FP_*): Do not allow.
17185 [C99-based standards] (FP_*): Change to
17186 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17187 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17188 allow.
17189 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
17190 (SIG_ERR): Likewise.
17191 [X/Open-based standards] (SIG_HOLD): Likewise.
17192 (SIG_IGN): Likewise.
17193 (SIGABRT): Use macro-int-constant. Specify type. Require
17194 positive value.
17195 (SIGFPE): Likewise.
17196 (SIGILL): Likewise.
17197 (SIGINT): Likewise.
17198 (SIGSEGV): Likewise.
17199 (SIGTER): Likewise.
17200 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
17201 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
17202 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
17203 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
17204 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
17205 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
17206 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
17207 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
17208 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
17209 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
17210 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
17211 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
17212 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
17213 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
17214 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
17215 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
17216 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
17217 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
17218 [X/Open-based standards] (SIGTRAP): Likewise.
17219 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
17220 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
17221 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
17222 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
17223 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17224 allow.
17225
b9f1922d
IW
172262012-05-08 Ian Wienand <ianw@vmware.com>
17227
17228 [BZ #14080]
17229 * time/tzset.c (__tzset_parse_tz): Update default rules for
17230 daylight time changes in the Energy Policy Act of 2005.
17231
1db86e88
AJ
172322012-05-09 Andreas Jaeger <aj@suse.de>
17233
17234 [BZ #13983]
17235 * elf/ldconfig.c (parse_conf): Change string to make clear that
17236 ldconfig only issued a warning if ld.so.conf does not exist.
17237
dee4a4e3
DM
172382012-05-08 David S. Miller <davem@davemloft.net>
17239
ee0db190
DM
17240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
17241 movxtod instead of popping the value on the stack.
17242
dee4a4e3
DM
17243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17244
6a43ec98
CD
172452012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
17246
17247 * config.h.in: Add HAVE_ARM_PCS_VFP.
17248
05c2c961
RMG
172492012-05-08 Roland Mc Grath <roland@hack.frob.com>
17250
bcfe3a54
ST
17251 [BZ #13979]
17252 * include/features.h: Warn if user requests __FORTIFY_SOURCE
17253 checking but the checks are disabled for any reason.
05c2c961 17254
4b30f61a
L
172552012-05-08 H.J. Lu <hongjiu.lu@intel.com>
17256
17257 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
17258 and ELF64_R_TYPE with ELFW(R_TYPE).
17259
eee2bc67
JM
172602012-05-08 Joseph Myers <joseph@codesourcery.com>
17261
7ea5391a
JM
17262 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
17263 (ulimit): Likewise.
17264
eee2bc67
JM
17265 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
17266 (settimeofday): Likewise.
17267
abb66a67
MF
172682012-05-08 Mike Frysinger <vapier@gentoo.org>
17269
17270 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
17271 a struct th_u2 inside the union, and move tu_block/tu_code into
17272 a new th_u3 union of tu_block/tu_code inside of that. Move
17273 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
17274 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
17275 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
17276 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
17277 (th_stuff): Change to th_u1.tu_stuff.
17278 (th_data): Define.
17279 (th_msg): Change to th_u1.th_u2.tu_data.
17280
7f18b530
DM
172812012-05-07 David S. Miller <davem@davemloft.net>
17282
05760585
DM
17283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17284
7f18b530
DM
17285 [BZ #14074]
17286 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
17287 (SETUP_PIC_REG): Use it.
17288 (SETUP_PIC_REG_LEAF): Use it.
17289
495fd99f
JM
172902012-05-07 Joseph Myers <joseph@codesourcery.com>
17291
17292 [BZ #13885]
17293 [BZ #13923]
17294 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17295 USE_AS_EXPM1L.
17296 (EXPL_FINITE): Likewise.
17297 (FLDLOG): Likewise.
17298 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17299 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17300 e_expl.S.
17301 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17302 USE_AS_EXPM1L.
17303 (EXPL_FINITE): Likewise.
17304 (FLDLOG): Likewise.
17305 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17306 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17307 e_expl.S.
17308 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
17309 test of -max_value argument for long double.
17310 * sysdeps/i386/fpu/libm-test-ulps: Update.
17311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17312
6693d694
DM
173132012-05-06 David S. Miller <davem@davemloft.net>
17314
17315 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
17316 quad soft-float symbols whose references which are compiler
17317 generated.
17318 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17319
6c23e11c
JM
173202012-05-06 Joseph Myers <joseph@codesourcery.com>
17321
d8b82cad
JM
17322 [BZ #13884]
17323 [BZ #13914]
17324 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17325 USE_AS_EXP10L.
17326 (EXPL_FINITE): Likewise.
17327 (FLDLOG): Likewise.
17328 (c0): Likewise.
17329 (c1): Likewise.
17330 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
17331 Adjust comments for base varying.
17332 (__expl_finite): Change alias to EXPL_FINITE.
17333 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
17334 e_expl.S.
17335 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
17336 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17337 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17338 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
17339 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17340 USE_AS_EXP10L.
17341 (EXPL_FINITE): Likewise.
17342 (FLDLOG): Likewise.
17343 (c0): Likewise.
17344 (c1): Likewise.
17345 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
17346 Adjust comments for base varying.
17347 (__expl_finite): Change alias to EXPL_FINITE.
17348 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
17349 tests for bugs.
17350 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17351
6c23e11c
JM
17352 [BZ #14064]
17353 * math/libm-test.inc (check_float_internal): Correct ulp
17354 calculation for subnormal expected results.
17355
29ba805c
AJ
173562012-05-06 Andreas Jaeger <aj@suse.de>
17357
17358 * Makeconfig (+math-flags): New, set to -frounding-math.
17359 (+cflags): Add +math-flags so that all of glibc gets compiled with
17360 it.
17361
17362 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
17363
7b17aeda
JM
173642012-05-05 Joseph Myers <joseph@codesourcery.com>
17365
5779f134
JM
17366 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
17367 Disable one test.
17368
41498f4d
JM
17369 [BZ #13787]
17370 [BZ #13922]
17371 [BZ #14036]
17372 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
17373 (__ieee754_expl): Allow for and saturate large arguments.
17374 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
17375 (u_threshold): Likewise.
17376 (__exp): Call __ieee754_exp before checking for overflow and
17377 underflow.
17378 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
17379 (u_threshold): Likewise.
17380 (__expf): Call __ieee754_expf before checking for overflow and
17381 underflow.
17382 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
17383 (u_threshold): Likewise.
17384 (__expl): Call __ieee754_expl before checking for overflow and
17385 underflow.
17386 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
17387 (__ieee754_expl): Allow for and saturate large arguments.
17388 * math/libm-test.inc (exp_test): Add another test. Do not allow
17389 missing overflow exception on overflow.
17390 (expm1_test): Do not allow missing overflow exception on overflow.
17391
6698b8bf
JM
17392 * sysdeps/i386/fpu/e_expl.c: Move to ...
17393 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
17394 rather than using inline asm.
17395 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
17396 * sysdeps/x86_64/fpu/e_expl.S: Copy from
17397 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
17398
7b17aeda
JM
17399 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
17400 (nice): Likewise.
17401 (poll): Likewise.
17402 (signal): Likewise.
17403 (time): Likewise.
17404 (times): Likewise.
17405
f7c85819
JM
174062012-05-04 Joseph Myers <joseph@codesourcery.com>
17407
17408 * sysdeps/unix/syscalls.list (adjtime): Add entry from
17409 sysdeps/unix/common/syscalls.list.
17410 (fchmod): Likewise.
17411 (fchown): Likewise.
17412 (ftruncate): Likewise.
17413 (getrusage): Likewise.
17414 (gettimeofday): Likewise.
17415 (setpgid): Likewise.
17416 (setregid): Likewise.
17417 (setreuid): Likewise.
17418 (sigaction): Likewise.
17419 (truncate): Likewise.
17420 (vhangup): Likewise.
17421 * sysdeps/unix/common/syscalls.list: Remove file.
17422 * sysdeps/unix/bsd/Implies: Don't include unix/common.
17423 * sysdeps/unix/sysv/linux/Implies: Likewise.
17424
336270d0
L
174252012-05-04 H.J. Lu <hongjiu.lu@intel.com>
17426
17427 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
17428 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
17429 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
17430 Moved to ...
17431 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17432 Here.
17433 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
17434 to ...
17435 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
17436 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
17437 to ...
17438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
17439 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
17440 to ...
17441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
17442 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
17443 to ...
17444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
17445 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
17446 to ...
17447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
17448 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
17449 to ...
17450 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
17451 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
17452 to ...
17453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17454 Here.
17455 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
17456 to ...
17457 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
17458 Here.
17459 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
17460 to ...
17461 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
17462 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
17463 Moved to ...
17464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
17465 Here.
17466 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
17467 to ...
17468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
17469
d128e450
JM
174702012-05-04 Joseph Myers <joseph@codesourcery.com>
17471
fa8ee516
JM
17472 * sysdeps/unix/common/bits/dirent.h: Remove file.
17473 * sysdeps/unix/common/bits/fcntl.h: Likewise.
17474
d128e450
JM
17475 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
17476 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
17477 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
17478 * sysdeps/unix/bsd/isatty.c: Likewise.
17479 * sysdeps/unix/bsd/tcdrain.c: Likewise.
17480 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
17481 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
17482
ff8faaf0 174832012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 17484
62881be4 17485 [BZ #13563]
31dc8730
AZ
17486 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
17487 long double comparison inaccuracies.
17488 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17490
6fef930c
AS
174912012-05-04 Andreas Schwab <schwab@linux-m68k.org>
17492
17493 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
17494 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
17495
8f203e6c
JM
174962012-05-04 Joseph Myers <joseph@codesourcery.com>
17497
17498 [BZ #14049]
17499 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
17500 nonzero digits before rounding a hex value.
17501 * stdlib/tst-strtod.c (tests): Add another test.
17502
5197d9c2
AK
175032012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17504
17505 * sysdeps/s390/fpu/libm-test-ulps: Update.
17506
f0c1dedf
AJ
175072012-05-03 Andreas Jaeger <aj@suse.de>
17508
17509 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
17510 does not get optimized out.
17511 (malloc_opt_barrier): New.
17512
a65ef2ae 175132012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 17514 Roland McGrath <roland@hack.frob.com>
a65ef2ae 17515
2b942cb7 17516 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 17517 intermediate file deletion.
2b942cb7 17518 (generated): Add .symlist files.
a65ef2ae 17519
54b71e02
JM
175202012-05-03 Joseph Myers <joseph@codesourcery.com>
17521
17522 [BZ #13775]
17523 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
17524 Redirect under this condition.
17525 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17526 [__USE_GNU] (__dprintf_chk): Not under this condition.
17527 [__USE_GNU] (__vdprintf_chk): Likewise.
17528 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
17529 under this condition.
17530 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17531 [__USE_XOPEN2K8] (dprintf): Define under this condition.
17532 [__USE_XOPEN2K8] (vdprintf): Likewise.
17533 [__USE_GNU] (__dprintf_chk): Not under this condition.
17534 [__USE_GNU] (__vdprintf_chk): Likewise.
17535 [__USE_GNU] (dprintf): Likewise.
17536 [__USE_GNU] (vdprintf): Likewise.
17537
d3dfcc41
RM
175382012-05-03 Roland McGrath <roland@hack.frob.com>
17539
17540 * elf/Makefile (common-generated): Set this instead of generated for
17541 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
17542 $(all-built-dso)-derived lists.
17543
7ac30cc5
AJ
175442012-05-03 Andreas Jaeger <aj@suse.de>
17545
0c51e550
AJ
17546 * sysdeps/i386/fpu/libm-test-ulps: Update.
17547
7ac30cc5
AJ
17548 * FAQ: Removed.
17549 * FAQ.in: Likewise.
17550 * scripts/gen-FAQ.pl: Likewise.
17551 * manual/install.texi (Installation): Point to online location of
17552 FAQ.
17553 * Makefile (files-for-dist): Remove FAQ.
17554 (FAQ): Remove.
17555
d4c2917f
AM
175562012-05-02 Allan McRae <allan@archlinux.org>
17557
17558 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
17559 (LDFLAGS-reldepmod5.so): Likewise.
17560 (LDFLAGS-reldep6mod1.so): Likewise.
17561 (LDFLAGS-reldep6mod4.so): Likewise.
17562 (LDFLAGS-reldep8mod3.so): Likewise.
17563 (LDFLAGS-unload4mod1.so): Likewise.
17564 (LDFLAGS-unload4mod2.so): Likewise.
17565 (LDFLAGS-tst-initorder): Likewise.
17566 (LDFLAGS-tst-initordera2.so): Likewise.
17567 (LDFLAGS-tst-initordera3.so): Likewise.
17568 (LDFLAGS-tst-initordera4.so): Likewise.
17569 (LDFLAGS-tst-initorderb2.so): Likewise.
17570 (LDFLAGS-noload): Likewise.
17571 (LDFLAGS-next): Likewise.
17572 (LDFLAGS-order2mod1.so): Likewise.
17573 (LDFLAGS-order2mod2.so): Likewise.
17574 (LDFLAGS-tst-initorder2): Likewise.
17575 (LDFLAGS-tst-initorder2a.so): Likewise.
17576 (LDFLAGS-tst-initorder2b.so): Likewise.
17577 (LDFLAGS-tst-initorder2c.so): Likewise.
17578 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
17579
d77f993f
DM
175802012-05-02 David S. Miller <davem@davemloft.net>
17581
17582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17583
171a70b4
PP
175842012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
17585
17586 [BZ #14055]
17587 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
17588
0be196ad
AJ
175892012-05-02 Andreas Jaeger <aj@suse.de>
17590
17591 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
17592 since we manipulate rounding mode.
17593 (CPPFLAGS-test-idouble.c): Likewise.
17594 (CPPFLAGS-test-ifloat.c): Likewise.
17595 (CFLAGS-test-ldouble.c): Likewise.
17596 (CFLAGS-test-double.c): Likewise.
17597 (CFLAGS-test-float.c): Likewise.
17598 (CFLAGS-test-misc.c): Likewise.
17599 (CFLAGS-test-test-fenv.c): Likewise.
17600
4f9d04aa
AZ
176012012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17602
2b942cb7
RM
17603 [BZ #2550]
17604 [BZ #2570]
17605 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
17606 comparisons to determine direction to adjust input.
4f9d04aa 17607
82a79e7d
RM
176082012-05-01 Roland McGrath <roland@hack.frob.com>
17609
f5a01ca9
RM
17610 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
17611 output to the target.
17612
90fe4186
RM
17613 * scripts/localplt.awk: New file.
17614 * elf/Makefile ($(objpfx)check-localplt): Target removed.
17615 (check-localplt-CFLAGS): Variable removed.
17616 ($(all-built-dso:=.jmprel)): New static pattern rule.
17617 (generated): Add those targets.
17618 (localplt-built-dso): New variable.
17619 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
17620
17621 * elf/check-localplt.c: File removed.
17622
82397ed6
RM
17623 * scripts/check-execstack.awk: New file.
17624 * elf/Makefile ($(objpfx)check-execstack): Target removed.
17625 (check-execstack-CFLAGS): Variable removed.
17626 ($(objpfx)check-execstack.h): Target removed.
17627 ($(objpfx)execstack-default): New target.
17628 (generated): Add that instead of check-execstack.h.
17629 ($(all-built-dso:=.phdr)): New static pattern rule.
17630 (generated): Add those targets.
17631 * elf/check-execstack.c: File removed.
17632
82a79e7d
RM
17633 * scripts/check-textrel.awk: New file.
17634 * elf/Makefile ($(objpfx)check-textrel): Target removed.
17635 (check-textrel-CFLAGS): Variable removed.
17636 (all-built-dso): Use := to define.o
17637 ($(all-built-dso:=.dyn)): New static pattern rule.
17638 (generated): Add those targets.
17639 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
17640 * config.make.in (READELF): New substituted variable.
17641 * elf/check-textrel.c: File removed.
17642
62fde54f 176432012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 17644
615605c9
JM
17645 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17646 allow.
17647 * conform/data/ctype.h-data [C99-based standards] (isblank):
17648 Expect function.
17649 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
17650 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
17651 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17652 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
17653 Specify type. Require positive value.
17654 (EILSEQ): Likewise.
17655 (ERANGE): Likewise.
17656 [ISO || POSIX] (EILSEQ): Do not expect.
17657 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
17658 Specify type. Require positive value.
17659 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
17660 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
17661 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
17662 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
17663 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
17664 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
17665 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
17666 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
17667 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
17668 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
17669 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
17670 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
17671 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
17672 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
17673 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
17674 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
17675 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
17676 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
17677 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
17678 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
17679 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
17680 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
17681 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
17682 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
17683 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
17684 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
17685 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
17686 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
17687 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
17688 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
17689 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
17690 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
17691 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
17692 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
17693 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
17694 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
17695 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
17696 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
17697 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
17698 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
17699 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
17700 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
17701 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
17702 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
17703 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
17704 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
17705 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
17706 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
17707 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
17708 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
17709 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
17710 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
17711 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
17712 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
17713 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
17714 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
17715 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
17716 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
17717 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
17718 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
17719 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
17720 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
17721 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
17722 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
17723 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
17724 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
17725 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
17726 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
17727 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
17728 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
17729 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
17730 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
17731 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
17732 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
17733 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
17734 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
17735 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
17736 Require >= 2.
17737 (FLT_ROUNDS): Expect as macro, not constant.
17738 (FLT_MANT_DIG): Use macro-int-constant.
17739 (DBL_MANT_DIG): Likewise.
17740 (LDBL_MANT_DIG): Likewise.
17741 (FLT_DIG): Likewise.
17742 (DBL_DIG): Likewise.
17743 (LDBL_DIG): Likewise.
17744 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
17745 (DBL_MIN_EXP): Likewise.
17746 (LDBL_MIN_EXP): Likewise.
17747 (FLT_MAX_EXP): Use macro-int-constant.
17748 (DBL_MAX_EXP): Likewise.
17749 (LDBL_MAX_EXP): Likewise.
17750 (FLT_MAX_10_EXP): Likewise.
17751 (DBL_MAX_10_EXP): Likewise.
17752 (LDBL_MAX_10_EXP): Likewise.
17753 (FLT_MAX): Use macro-constant.
17754 (DBL_MAX): Likewise.
17755 (LDBL_MAX): Likewise.
17756 (FLT_EPSILON): Use macro-constant. Give upper bound.
17757 (DBL_EPSILON): Likewise.
17758 (LDBL_EPSILON): Likewise.
17759 (FLT_MIN): Likewise.
17760 (DBL_MIN): Likewise.
17761 (LDBL_MIN): Likewise.
17762 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
17763 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
17764 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
17765 [ISO11] (FLT_HAS_SUBNORM): Likewise.
17766 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
17767 [ISO11] (DBL_DECIMAL_DIG): Likewise.
17768 [ISO11] (FLT_DECIMAL_DIG): Likewise.
17769 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
17770 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
17771 [ISO11] (FLT_TRUE_MIN): Likewise.
17772 [ISO11] (LDBL_TRUE_MIN): Likewise.
17773 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17774 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
17775 (SCHAR_MIN): Use macro-int-constant. Specify type.
17776 (SCHAR_MAX): Likewise.
17777 (UCHAR_MAX): Likewise.
17778 (CHAR_MIN): Likewise.
17779 (CHAR_MAX): Likewise.
17780 (MB_LEN_MAX): Use macro-int-constant.
17781 (SHRT_MIN): Use macro-int-constant. Specify type.
17782 (SHRT_MAX): Likewise.
17783 (USHRT_MAX): Likewise.
17784 (INT_MAX): Likewise.
17785 (INT_MIN): Use macro-int-constant. Specify type. Make upper
17786 bound negative.
17787 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
17788 bound with "U".
17789 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17790 bound with "L".
17791 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
17792 bound negative. Suffix upper bound with "L".
17793 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17794 bound with "UL".
17795 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
17796 Specify type.
17797 [C99-based standards] (LLONG_MAX): Likewise.
17798 [C99-based standards] (ULLONG_MAX): Likewise.
17799 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
17800 == 0.
17801 [ISO11] (max_align_t): Require type.
17802 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17803
c9140a62
JM
17804 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
17805 from $CFLAGS, without defining away __attribute__ calls.
17806 (checknamespace): Use $CFLAGS_namespace.
17807
9af0bf29
JM
17808 * conform/conformtest.pl (@keywords): Only include C99 keywords
17809 for standards based on C99 or C11.
17810
343222a2
JM
17811 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
17812 Disable tests.
17813 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
17814 UNIX98]: Likewise.
17815
661f8cf0
JM
17816 * conform/conformtest.pl: Handle "macro-int-constant" and test for
17817 usability of symbols in #if.
17818
ee74b9cb
JM
17819 * conform/conformtest.pl: If macro or constant types start
17820 "promoted:", expect the symbol to be of the following type
17821 promoted by the integer promotions.
62fde54f 17822
aafc49b3
JM
17823 * conform/conformtest.pl: Parse all "constant" and "macro" lines
17824 in one place. Also handle "macro-constant".
17825
fefdf574
JM
17826 * conform/conformtest.pl: Only accept expected macro values with
17827 "==". Parse all "macro" lines in one place.
17828 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
17829
f2d922fe
JM
17830 * conform/conformtest.pl: Handle braced types on "constant" lines
17831 instead of handling "typed-constant".
17832 * conform/data/signal.h-data: Use "constant" instead of
17833 "typed-constant".
17834
d22956c9
JM
17835 * conform/conformtest.pl: Handle "optional-" at start of lines in
17836 one place rather than duplicating several cases. Handle each
17837 format of "macro" line with initial "optional-".
17838
028e2e38
JM
17839 * conform/conformtest.pl: Only accept expected constant or
17840 optional-constant values with "==". Parse all "constant" lines in
17841 one place. Parse all "optional-constant" lines in one place.
17842 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
17843 * conform/data/fmtmsg.h-data: Likewise.
17844 * conform/data/netinet/in.h-data: Likewise.
17845 * conform/data/tar.h-data: Likewise.
17846 * conform/data/limits.h-data: Use "==" form on "constant" and
17847 "optional-constant" lines.
17848
1b8f2850
JM
17849 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
17850 Use -std=c99 for XOPEN2K.
17851 (@knownproblems): Remove.
17852 (newtoken): Don't check %isknown.
17853
a05a144b
JM
17854 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
17855 Do not expect macro.
17856 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
17857 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
17858 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
17859 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
17860 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
17861 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
17862 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
17863 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
17864 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
17865 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
17866 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
17867 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
17868 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
17869 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
17870 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
17871 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
17872 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
17873 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
17874 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
17875 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
17876 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
17877 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
17878 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
17879 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
17880 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
17881 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
17882 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
17883 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
17884 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
17885 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
17886 [XPG3] (acosh): Likewise.
17887 [XPG3] (asinh): Likewise.
17888 [XPG3] (atanh): Likewise.
17889 [XPG3] (cbrt): Likewise.
17890 [XPG3] (expm1): Likewise.
17891 [XPG3] (ilogb): Likewise.
17892 [XPG3] (log1p): Likewise.
17893 [XPG3] (logb): Likewise.
17894 [XPG3] (nextafter): Likewise.
17895 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
17896 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
17897 [XPG3] (remainder): Likewise.
17898 [XPG3] (rint): Likewise.
17899 [XPG3 || XPG4 || UNIX98] (round): Likewise.
17900 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
17901 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
17902 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
17903 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
17904 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
17905 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
17906 [UNIX98 || XOPEN2K] (scalb): Expect.
17907 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
17908 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
17909 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
17910 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
17911 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
17912 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
17913 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
17914 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
17915 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
17916 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
17917 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
17918 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
17919 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
17920 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
17921 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
17922 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
17923 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
17924 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
17925 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
17926 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
17927 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
17928 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
17929 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
17930 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
17931 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
17932 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
17933 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
17934 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
17935 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
17936 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
17937 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
17938 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
17939 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
17940 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
17941 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
17942 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
17943 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
17944 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
17945 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
17946 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
17947 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
17948 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
17949 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
17950 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
17951 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
17952 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
17953 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
17954 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
17955 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
17956 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
17957 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
17958 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
17959 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
17960 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
17961 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
17962 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
17963 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
17964 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
17965 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
17966 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
17967 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
17968 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
17969 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
17970 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
17971 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
17972 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
17973 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
17974 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
17975 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
17976 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
17977 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
17978 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
17979 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
17980 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
17981 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
17982 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
17983 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
17984 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
17985 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
17986 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
17987 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
17988 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
17989 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
17990 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
17991 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
17992 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
17993 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
17994 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
17995 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
17996 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
17997 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
17998 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
17999 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
18000 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
18001 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
18002 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
18003 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
18004 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
18005 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
18006 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
18007 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
18008 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
18009 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
18010 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
18011 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
18012 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
18013 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
18014 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
18015 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
18016 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
18017 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
18018 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
18019 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
18020 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
18021 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
18022 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
18023 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
18024 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
18025 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
18026 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
18027 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
18028 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
18029 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
18030 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
18031 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
18032 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
18033 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
18034 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
18035 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
18036 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
18037 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
18038 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
18039 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
18040 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
18041 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
18042 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
18043 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
18044
73c5ebe3
JM
18045 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
18046 _XOPEN_SOURCE_EXTENDED for XPG4.
18047
39c33b6c
JM
18048 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
18049
62fde54f
JM
18050 * Makeconfig (localtime): Remove variable.
18051 (inst_localtime-file): Likewise.
18052
0741d64c
AS
180532012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18054
18055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18056 Update.
18057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18058 Update.
18059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18060 Update.
18061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18062 Update.
18063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18064 Update.
18065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
18066 Update.
18067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18068 Update.
18069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
18070 Update.
18071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18072 Update.
18073
7cb029ee
JM
180742012-05-01 Joseph Myers <joseph@codesourcery.com>
18075
18076 [BZ #2550]
18077 [BZ #2570]
18078 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
18079 comparisons to determine direction to adjust input.
18080 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18081 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
18082 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18083 Likewise.
18084 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18085 Likewise.
18086 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18087 Likewise.
18088 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18089 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18090 Likewise.
18091 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18092 Likewise.
18093 * math/libm-test.inc (nexttoward_test): Add more tests.
18094
412bd966
AS
180952012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18096
18097 [BZ #14040]
18098 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
18099 in version GLIBC_2.1, not GLIBC_2.0.
18100 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
18101 Likewise.
18102
9568c0c2
JM
181032012-04-30 Joseph Myers <joseph@codesourcery.com>
18104
adfbc8ac
JM
18105 [BZ #13942]
18106 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
18107 (1 - x) * (1 + x).
18108 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18109 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
18110 * math/libm-test.inc (acos_test): Add more tests.
18111 (asin_test): Likewise.
18112 * sysdeps/i386/fpu/libm-test-ulps: Update.
18113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18114
5ba3cc69
JM
18115 [BZ #14034]
18116 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
18117 of square root.
18118 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
18119 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18120 * math/libm-test.inc (acos_test_tonearest): New function.
18121 (acos_test_towardzero): Likewise.
18122 (acos_test_downward): Likewise.
18123 (acos_test_upward): Likewise.
18124 (asin_test_tonearest): Likewise.
18125 (asin_test_towardzero): Likewise.
18126 (asin_test_downward): Likewise.
18127 (asin_test_upward): Likewise.
18128 (main): Call the new functions.
18129 * sysdeps/i386/fpu/libm-test-ulps: Update.
18130 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18131
9568c0c2
JM
18132 [BZ #13884]
18133 [BZ #13924]
18134 * math/e_exp10.c: Include <float.h>.
18135 (__ieee754_exp10): Handle underflow here rather than multiplying
18136 large negative argument by M_LN10.
18137 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
18138 of __ieee754_expf.
18139 * math/e_exp10l.c: Include <float.h>.
18140 (__ieee754_exp10l): Handle underflow here rather than multiplying
18141 large negative argument by M_LN10l.
18142 * math/libm-test.inc (exp10_test): Add another test. Do not allow
18143 spurious overflow exception on underflow.
18144
5ac3ea17
MP
181452012-04-29 Marek Polacek <polacek@redhat.com>
18146
18147 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
18148 (__fortify_function): New macro.
18149 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
18150 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
18151 __extern_always_inline.
18152 * libio/bits/stdio2.h: Likewise.
18153 * libio/bits/stdio.h: Likewise.
18154 * string/string.h: Likewise.
18155 * string/bits/string3.h: Likewise.
18156 * include/stdio.h: Likewise.
18157 * stdlib/bits/stdlib.h: Likewise.
18158 * stdlib/stdlib.h: Likewise.
18159 * rt/bits/mqueue2.h: Likewise.
18160 * rt/mqueue.h: Likewise.
18161 * posix/bits/unistd.h: Likewise.
18162 * posix/unistd.h: Likewise.
18163 * io/bits/poll2.h: Likewise.
18164 * io/bits/fcntl2.h: Likewise.
18165 * io/fcntl.h: Likewise.
18166 * io/sys/poll.h: Likewise.
18167 * misc/bits/syslog.h: Likewise.
18168 * misc/bits/syslog-ldbl.h: Likewise.
18169 * misc/sys/syslog.h: Likewise.
18170 * socket/bits/socket2.h: Likewise.
18171 * socket/sys/socket.h: Likewise.
18172 * debug/tst-chk1.c: Likewise.
18173 * wcsmbs/bits/wchar2.h: Likewise.
18174 * wcsmbs/bits/wchar-ldbl.h: Likewise.
18175 * wcsmbs/wchar.h: Likewise.
18176
ecf0ebfb
AJ
181772012-04-29 Andreas Jaeger <aj@suse.de>
18178
18179 * Makerules (tests): Remove enable-check-abi protection.
18180 (check-abi-warn): Remove.
18181 (check-abi-%): Remove check-abi-warn usage.
18182
18183 * configure.in: Remove check-abi configure option.
18184 * configure: Regenerated.
18185 * config.make.in (enable-check-abi): Remove.
18186
6d5c57fa
AS
181872012-04-28 Andreas Schwab <schwab@linux-m68k.org>
18188
24c5d07e 18189 [BZ #14033]
ded5180a
AS
18190 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
18191 double functions to double *_finite functions.
18192
7e0d315d
AS
18193 [BZ #13941]
18194 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
18195 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
18196 LDBL_MIN_EXP.
18197 * stdio-common/Makefile (tests): Add tst-sprintf3.
18198 * stdio-common/tst-sprintf3.c: New file.
18199
6d5c57fa
AS
18200 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
18201 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
18202
0749ff8b
JM
182032012-04-28 Joseph Myers <joseph@codesourcery.com>
18204
18205 * conform/conformtest.pl: Remove duplicate typed-constant
18206 handling.
18207
8dbd5d7b
DM
182082012-04-28 David S. Miller <davem@davemloft.net>
18209
18210 * Makerules (%.abilist): Add vpath on sysdep_dirs.
18211 (check-abi-%): Remove AWK script prerequisite and explicit
18212 abilist directory.
18213 (check-abi): Rewrite to just diff the symlist with the abilist.
18214 (config-tls, config-abi-config): Delete, no longer used.
18215 (update-abi-%): Remove AWK script and explicit abilist directory.
18216 (update-abi): Rewrite to simply compare and conditionally copy the
18217 symlist and the sysdep abilist file. Remove update-abi-config
18218 checks.
18219 * abilist/ld.abilist: Remove.
18220 * abilist/libBrokenLocale.abilist: Remove.
18221 * abilist/libanl.abilist: Remove.
18222 * abilist/libcrypt.abilist: Remove.
18223 * abilist/libdl.abilist: Remove.
18224 * abilist/librt.abilist: Remove.
18225 * abilist/libthread_db.abilist: Remove.
18226 * abilist/libutil.abilist: Remove.
18227 * scripts/extract-abilist.awk: Remove.
18228 * scripts/merge-abilist.awk: Remove.
18229 * sysdeps/generic/libcidn.abilist: New file.
18230 * sysdeps/generic/libnss_compat.abilist: New file.
18231 * sysdeps/generic/libnss_db.abilist: New file.
18232 * sysdeps/generic/libnss_dns.abilist: New file.
18233 * sysdeps/generic/libnss_files.abilist: New file.
18234 * sysdeps/generic/libnss_hesiod.abilist: New file.
18235 * sysdeps/generic/libnss_nis.abilist: New file.
18236 * sysdeps/generic/libnss_nisplus.abilist: New file.
18237 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
18238 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
18239 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
18240 file.
18241 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
18242 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
18243 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
18244 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
18245 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
18246 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
18247 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
18248 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
18249 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
18250 file.
18251 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
18252 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
18253 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
18254 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
18255 file.
18256 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
18257 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
18258 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
18259 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
18260 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
18261 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
18262 file.
18263 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
18264 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
18265 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
18266 file.
18267 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
18268 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
18269 New file.
18270 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
18271 New file.
18272 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
18273 New file.
18274 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
18275 New file.
18276 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
18277 New file.
18278 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
18279 New file.
18280 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
18281 New file.
18282 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
18283 New file.
18284 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
18285 New file.
18286 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
18287 New file.
18288 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
18289 New file.
18290 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
18291 New file.
18292 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
18293 New file.
18294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
18295 file.
18296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18297 New file.
18298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18299 New file.
18300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
18301 file.
18302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18303 New file.
18304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18305 New file.
18306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
18307 file.
18308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18309 New file.
18310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18311 New file.
18312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18313 New file.
18314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18315 New file.
18316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18317 New file.
18318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18319 New file.
18320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
18321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
18322 file.
18323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18324 New file.
18325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
18326 file.
18327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
18328 file.
18329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
18330 file.
18331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
18332 file.
18333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
18334 file.
18335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18336 New file.
18337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
18338 file.
18339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
18340 file.
18341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18342 New file.
18343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
18344 file.
18345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
18346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
18347 file.
18348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18349 New file.
18350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
18351 file.
18352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
18353 file.
18354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
18355 file.
18356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
18357 file.
18358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
18359 file.
18360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18361 New file.
18362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
18363 file.
18364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
18365 file.
18366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18367 New file.
18368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
18369 file.
18370 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18371 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
18372 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
18373 file.
18374 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
18375 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
18376 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
18377 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
18378 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
18379 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
18380 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
18381 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
18382 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
18383 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
18384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
18385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
18386 file.
18387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18388 New file.
18389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
18390 file.
18391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
18392 file.
18393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
18394 file.
18395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
18396 file.
18397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
18398 file.
18399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18400 New file.
18401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
18402 New file.
18403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
18404 file.
18405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
18406 New file.
18407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
18408 file.
18409 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
18410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
18411 file.
18412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
18413 New file.
18414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
18415 file.
18416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
18417 file.
18418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
18419 file.
18420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
18421 file.
18422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
18423 file.
18424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18425 New file.
18426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
18427 New file.
18428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
18429 file.
18430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
18431 New file.
18432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
18433 file.
18434
41d73a1b
JM
184352012-04-28 Joseph Myers <joseph@codesourcery.com>
18436
18437 * conform/conformtest.pl: Fix typo in handling typed-constant from
18438 allow-header.
18439
28aeeda4
JM
184402012-04-27 Joseph Myers <joseph@codesourcery.com>
18441
adae8f5e
JM
18442 * README: Cut down references to pre-2.6 Linux kernels and
18443 Linuxthreads. Update lists of configurations in libc and ports
18444 and sort alphabetically. Say "or newer" with Linux kernel version
18445 requirements.
18446
28aeeda4
JM
18447 * config.h.in [IS_IN_build]: Allow compiling without optimization.
18448
a462cb63
RA
184492012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18450
18451 [BZ #887]
18452 * math/libm-test.inc (logb_test_downward): New test to expose
18453 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
18454 rounding mode.
18455
6ad3493e
JM
184562012-04-27 Joseph Myers <joseph@codesourcery.com>
18457
18458 [BZ #14027]
18459 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
18460 to be done.
18461 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
18462 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
18463
2ce4f015
JM
184642012-04-26 Joseph Myers <joseph@codesourcery.com>
18465
5aeb141a
JM
18466 * sysdeps/unix/i386/brk.S: Remove file.
18467 * sysdeps/unix/i386/dl-brk.S: Likewise.
18468 * sysdeps/unix/i386/pipe.S: Likewise.
18469 * sysdeps/unix/i386/sigreturn.S: Likewise.
18470 * sysdeps/unix/i386/syscall.S: Likewise.
18471 * sysdeps/unix/i386/vfork.S: Likewise.
18472 * sysdeps/unix/i386/wait.S: Likewise.
18473
7143acae
JM
18474 * sysdeps/unix/common/tcsendbrk.c: Move to ...
18475 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
18476
2ce4f015
JM
18477 * configure.in (arm*-none*): Do not allow without
18478 --enable-hacker-mode.
18479 (netbsd*): Remove case setting base_os.
18480 (386bsd*): Likewise.
18481 (freebsd*): Likewise.
18482 (bsdi*): Likewise.
18483 (osf*): Likewise.
18484 (sunos*): Likewise.
18485 (ultrix*): Likewise.
18486 (newsos*): Likewise.
18487 (dynix*): Likewise.
18488 (*bsd*): Likewise.
18489 (sysv*): Likewise.
18490 (isc*): Likewise.
18491 (esix*): Likewise.
18492 (sco*): Likewise.
18493 (minix*): Likewise.
18494 (irix4*): Likewise.
18495 (irix6*): Likewise.
18496 (solaris[2-9]*): Likewise.
18497 (none): Likewise.
18498 * configure: Regenerated.
18499
0ac229c8
AZ
185002012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18501
18502 [BZ #11521]
18503 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
18504 overflow or cancellation in calculating denominator.
18505 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
18506 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
18507 down expression to avoid unexpected rounding in newer GCCs.
18508 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
18509
33f244f4
DM
185102012-04-26 David S. Miller <davem@davemloft.net>
18511
18512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
18513 long-double compat symbols.
18514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
18518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
18522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
18523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
18524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
18525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
18526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18527
cfa1f3e8
DM
185282012-04-25 David S. Miller <davem@davemloft.net>
18529
18530 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
18531 HWCAP_* values only after the memory barriers have been defined.
18532 (atomic_full_barrier): Define.
18533 (atomic_read_barrier): Define.
18534 (atomic_write_barrier): Define.
18535
6e236b92
SP
185362012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18537
18538 * shlib-versions: Add libgcc_s version information.
18539 * sysdeps/generic/libgcc_s.h: Remove.
18540 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
18541 libgcc_s.h.
18542 * sysdeps/gnu/unwind-resume.c: Likewise.
18543 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
18544
aab39a09
DM
185452012-04-25 David S. Miller <davem@davemloft.net>
18546
18547 * sysdeps/unix/sparc/brk.S: Delete.
18548 * sysdeps/unix/sparc/dl-brk.S: Delete.
18549 * sysdeps/unix/sparc/pipe.S: Delete.
18550 * sysdeps/unix/sparc/sysdep.S: Delete.
18551 * sysdeps/unix/sparc/sysdep.h: Delete.
18552 * sysdeps/unix/sparc/vfork.S: Delete.
18553 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
18554 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
18555 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
18556 ret_ERRVAL, r0, r1, MOVE): Define.
18557 (JUMPTARGET): Remove.
18558 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
18559 sysdeps/unix/sparc/sysdep.h
18560 (ENTRY, END): Remove.
18561 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18562
a3cc4f48
JM
185632012-04-25 Joseph Myers <joseph@codesourcery.com>
18564
2ed8cda2
JM
18565 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
18566 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
18567 -DIS_IN_build.
18568
35d76d59
JM
18569 * timezone/README: Update upstream location and email address for
18570 tzcode and tzdata.
18571 * timezone/zdump.c: Update from tzcode 2012b.
18572 * timezone/zic.c: Likewise.
18573
a3cc4f48
JM
18574 * configure.in (libc_cv_as_needed): Remove test.
18575 * configure: Regenerated.
18576 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
18577 conditional definition.
18578 [$(have-as-needed) != yes] (no-as-needed): Likewise.
18579 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
18580 * config.make.in (have-as-needed): Remove variable.
18581
ceab42c3
SP
185822012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18583 Paul Pluzhnikov <ppluzhnikov@google.com>
18584
18585 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
18586 strings correctly.
18587
3ce2865f
CLT
185882012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
18589
18590 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
18591 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
18592 * sysdeps/sh/strlen.S: Likewise.
18593
f37e0d68
JM
185942012-04-24 Joseph Myers <joseph@codesourcery.com>
18595
ae186e9a
JM
18596 * sysdeps/unix/fork.S: Remove file.
18597 * sysdeps/unix/i386/fork.S: Likewise.
18598 * sysdeps/unix/sparc/fork.S: Likewise.
18599
b96914af
JM
18600 * sysdeps/unix/system.c: Remove file.
18601 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
18602
f37e0d68
JM
18603 * sysdeps/unix/getegid.S: Remove file.
18604 * sysdeps/unix/geteuid.S: Likewise.
18605
87ef29ca
RM
186062012-04-24 Roland McGrath <roland@hack.frob.com>
18607
83bcd236
RM
18608 * scripts/check-localplt.awk: New file.
18609 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
18610 of diff.
18611 * scripts/data/localplt-generic.data: Add a comment.
18612
87ef29ca
RM
18613 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
18614 NODE when __dir_mkfile failed.
18615 * sysdeps/mach/hurd/symlinkat.c: Likewise.
18616 Reported by Ludovic Courtès <ludo@gnu.org>.
18617
e5a6e567
AJ
186182012-04-24 Andreas Jaeger <aj@suse.de>
18619
18620 * Makerules (common-clean): Also remove gen-as-const-headers
18621 files.
18622
c1820385
JM
186232012-04-24 Joseph Myers <joseph@codesourcery.com>
18624
18625 * Makerules (native-compile): Do not change working directory for
18626 build. Use $(OUTPUT_OPTION) in command.
18627 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
18628
94e02fc4
AZ
186292012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18630
18631 [BZ #13886]
18632 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
18633 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
18634 * math/libm-test.inc (floor_test): Add more tests.
18635 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
18636
3a533ca3
JM
186372012-04-24 Joseph Myers <joseph@codesourcery.com>
18638
940ab4b3
JM
18639 * sysdeps/unix/getdents.c: Remove file.
18640 * sysdeps/unix/sysv/getdents.c: Likewise.
18641 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
18642
90e037bd
JM
18643 * sysdeps/unix/syscalls.list (madvise): Add syscall from
18644 sysdeps/unix/mman/syscalls.list.
18645 (mmap): Likewise.
18646 (mprotect): Likewise.
18647 (msync): Likewise.
18648 (munmap): Likewise.
18649 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
18650 * sysdeps/unix/mman/syscalls.list: Remove.
18651 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
18652
3a533ca3
JM
18653 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
18654 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
18655 * configure: Regenerated.
18656 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
18657 $(libgcc_s_suffix).
18658 * config.make.in (libgcc_s_suffix): Remove variable.
18659
1ad743de
JM
186602012-04-23 Joseph Myers <joseph@codesourcery.com>
18661
4ad451e2
JM
18662 * sysdeps/unix/sysv/gethostname.c: Move to ...
18663 * sysdeps/posix/gethostname.c: ... here.
18664
5e37ce39
JM
18665 * sysdeps/unix/execve.S: Remove file.
18666
1ad743de
JM
18667 * sysdeps/unix/_exit.S: Remove file.
18668
4e681b5b
AJ
186692012-04-23 Andreas Jaeger <aj@suse.de>
18670
18671 [BZ #13739]
18672 * manual/Makefile: Remove make dist support, there's no
18673 need for a stand-alone documentation tar ball.
18674 (TEXI2DVI): Define always, it's not in Makeconfig.
18675 (dist): Removed.
18676 (tar-it): Removed.
18677 (edition): Removed.
18678 (glibc-doc-$(edition).tar): Removed
18679 (%.Z): Removed.
18680 (%.gz): Removed.
18681 (%.uu): Removed.
18682 (ETAGS): Remove, it's in Makeconfig.
18683 (move-if-change): Remove, it's in Makeconfig.
18684
38686a03 186852012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
18686
18687 [BZ #13970]
18688 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
18689 (strtod, strtof, strtold, strtol, strtoul, strtoq)
18690 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
18691 (strtod_l, strtof_l, strtold_l): Remove __wur.
18692 It is not necessarily an error to ignore strtol's return value.
18693 One can reliably look at the stored endptr to decide whether
18694 the number had valid syntax.
18695
7c0616fa
AJ
186962012-04-21 Andreas Jaeger <aj@suse.de>
18697
803cb6b7 18698 [BZ #13739]
7c0616fa
AJ
18699 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
18700
b0fe253f
JM
187012012-04-21 Joseph Myers <joseph@codesourcery.com>
18702
18703 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
18704 * sysdeps/unix/sysv/Versions: Remove file.
18705
8280f22d
MT
187062012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
18707
18708 [BZ #13927]
18709 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18710
75ce411f 187112012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
18712
18713 [BZ #7064]
18714 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
18715 version from __vm86.
18716
097d59fa
JM
187172012-04-20 Joseph Myers <joseph@codesourcery.com>
18718
a90f3bcb
JM
18719 * sysdeps/unix/common/lxstat.c: Remove file.
18720 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
18721
edc7ea78
JM
18722 * sysdeps/unix/sysv/Makefile: Remove file.
18723
cb78c221
JM
18724 * sysdeps/unix/sysv/direct.h: Remove file.
18725
efa6a45f
JM
18726 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
18727 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
18728 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
18729 * sysdeps/unix/sysv/bits/signum.h: Likewise.
18730 * sysdeps/unix/sysv/bits/stat.h: Likewise.
18731 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
18732 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
18733
9c9f2d0c
JM
18734 * sysdeps/unix/sysv/setrlimit.c: Remove file.
18735
4541c83b
JM
18736 * sysdeps/unix/xmknod.c: Remove file.
18737 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
18738
f5d153a0
JM
18739 * sysdeps/unix/sysv/settimeofday.c: Remove file.
18740
aa746595
JM
18741 * sysdeps/unix/sysv/i386/time.S: Remove file.
18742
cce5905e
JM
18743 * sysdeps/unix/fxstat.c: Remove file.
18744 * sysdeps/unix/xstat.c: Likewise.
18745 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
18746
37fa3841
JM
18747 * sysdeps/unix/sysv/sigaction.c: Remove file.
18748
ff1962a3
JM
18749 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
18750 (sysdep_headers): Remove variable.
18751 [termio.h not in sysdep_headers] (generated): Likewise.
18752 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
18753 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
18754 * sysdeps/unix/sysv/tcdrain.c: Likewise.
18755 * sysdeps/unix/sysv/tcflow.c: Likewise.
18756 * sysdeps/unix/sysv/tcflush.c: Likewise.
18757 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
18758 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
18759 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
18760 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
18761 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
18762
e7740d31
JM
18763 * sysdeps/unix/siglist.c: Remove file.
18764
ee06f18b
JM
18765 * sysdeps/unix/getppid.S: Remove file.
18766
097d59fa
JM
18767 * sysdeps/unix/mkdir.c: Remove file.
18768 * sysdeps/unix/rmdir.c: Likewise.
18769
ff3d51ec
AS
187702012-04-19 Andreas Schwab <schwab@linux-m68k.org>
18771
18772 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
18773 ERR_MAX value.
18774 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
18775 errlist-compat value.
18776
50f81fd7
DM
187772012-04-18 David S. Miller <davem@davemloft.net>
18778
18779 * sysdeps/generic/memcopy.h (reg_char): Delete.
18780 * debug/strcat_chk.c: Use char, not reg_char.
18781 * debug/strcpy_chk.c: Likewise.
18782 * debug/strncat_chk.c: Likewise.
18783 * debug/strncpy_chk.c: Likewise.
18784 * string/memchr.c: Likewise.
18785 * string/memrchr.c: Likewise.
18786 * string/rawmemchr.c: Likewise.
18787 * string/strcat.c: Likewise.
18788 * string/strchr.c: Likewise.
18789 * string/strchrnul.c: Likewise.
18790 * string/strcmp.c: Likewise.
18791 * string/strcpy.c: Likewise.
18792 * string/strncat.c: Likewise.
18793 * string/strncmp.c: Likewise.
18794 * string/strncpy.c: Likewise.
18795
8ff41c46
WS
187962012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18797
18798 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
18799 __builtin_memcopy is called when src and dest ranges are known to not
18800 overlap.
18801
6b652f46
WS
188022012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18803
18804 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
18805 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
18806 fwd_align_merge macro call.
18807 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
18808 bwd_align_merge macro call.
18809 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18810
b282631e
WS
188112012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18812
18813 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
18814 bwd_align_merge macros.
18815 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
18816 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
18817 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18818
95aa737c
DM
188192012-04-18 David S. Miller <davem@davemloft.net>
18820
18821 * sysdeps/sparc/sparc64/memcopy.h: Delete.
18822
7a99a614
AJ
188232012-04-18 Andreas Jaeger <aj@suse.de>
18824
18825 [BZ# 6794]
18826 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
18827 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
18828 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18829
18830 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
18831 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
18832 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18833
18834 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
18835 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
18836 Adjust for changed ldbl-128 files.
18837
18838 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
18839 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
18840 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18841
e5270c23
DM
188422012-04-17 David S. Miller <davem@davemloft.net>
18843
18844 * sysdeps/sparc/sparc32/memcopy.h: Delete.
18845
fb5e92c9
AS
188462012-04-17 Andreas Schwab <schwab@linux-m68k.org>
18847
18848 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
18849 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
18850 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
18851 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
18852 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18853 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
18854
76da7265
AZ
188552012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18856
18857 [BZ #6794]
18858 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
18859 * math/libm-test.inc: Add ilogb errno and exception tests.
18860 * math/w_ilogb.c: New file: ilogb wrapper.
18861 * math/w_ilogbf.c: New file: ilogbf wrapper.
18862 * math/w_ilogbl.c: New file: ilogbl wrapper.
18863 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
18864 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
18865 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
18866 exception being thrown with 0.0 as argument.
18867 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
18868 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
18869 exception being thrown with 0.0 as argument.
18870 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
18871 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18872 exception being thrown with 0.0 as argument.
18873 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
18874 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18875 exception being thrown with 0.0 as argument.
18876 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
18877 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 18878 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
18879 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
18880 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
18881 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
18882 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
18883 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
18884 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
18885
0396e69d
PB
188862012-04-17 Petr Baudis <pasky@ucw.cz>
18887
18888 * include/sys/uio.h: Change __vector to __iovec to avoid clash
18889 with altivec.
18890
750b5926
MP
188912012-04-16 Marek Polacek <polacek@redhat.com>
18892
18893 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
18894
751728a1
MP
188952012-04-16 Marek Polacek <polacek@redhat.com>
18896
18897 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
18898 operands of fdivp instruction.
18899
34a27407
L
189002012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18901
18902 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
18903 * elf/tst-auditmod3b.c: Likewise.
18904 * elf/tst-auditmod4b.c: Likewise.
18905 * elf/tst-auditmod5b.c: Likewise.
18906 * elf/tst-auditmod6b.c: Likewise.
18907 * elf/tst-auditmod6c.c: Likewise.
18908 * elf/tst-auditmod7b.c: Likewise.
18909 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
18910 * sysdeps/x86_64/preconfigure.in: Likewise.
18911 * sysdeps/x86_64/preconfigure: Regenerated.
18912
7e73e17d
L
189132012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18914
18915 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
18916 __ILP32__.
18917
c7a6ab72
AB
189182012-04-13 Antoine Balestrat <merkil33@gmail.com>
18919
18920 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18921 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
18922
a9e8e0e0
CL
189232012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
18924
18925 [BZ #13973]
18926 * locale/iso-639.def: Fix gl language name. Spotted by
18927 Yaron Shahrabani.
18928
ec98af7d
RM
189292012-04-12 Roland McGrath <roland@hack.frob.com>
18930
18931 [BZ #2074]
18932 * libio/libio.h (__io_write_fn): Update comment.
18933
247c3ede
PB
189342012-04-12 Petr Baudis <pasky@ucw.cz>
18935
18936 [BZ #2074]
18937 * stdio.texi (Hook Functions): The user provided writer function
18938 is not allowed to return -1.
18939
55939d6d
DM
189402012-04-11 David S. Miller <davem@davemloft.net>
18941
18942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18943
90020f5a
MF
189442012-04-11 Mike Frysinger <vapier@gentoo.org>
18945
18946 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
18947 Add a leading slash to rtkaio.
18948
288f9098
JM
189492012-04-11 Jim Meyering <meyering@redhat.com>
18950
90020f5a
MF
18951 [BZ #11959]
18952 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
18953 It is not necessarily an error to ignore fwrite's return
18954 value. One can reliably use ferror to test for errors after
18955 the fact.
288f9098 18956
4be2b570
L
189572012-04-10 H.J. Lu <hongjiu.lu@intel.com>
18958
18959 * bits/types.h (__snseconds_t): New type.
18960 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
18961
18962 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
18963 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18964 (__SNSECONDS_T_TYPE): Likewise.
18965 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18966 (__SNSECONDS_T_TYPE): Likewise.
18967 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18968 (__SNSECONDS_T_TYPE): Likewise.
18969
288f9098 189702012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
18971
18972 [BZ #2636]
18973 * manual/time.texi (Processor Time): Return type of times is
18974 elapsed real time since an arbitrary point in the past.
18975 (CPU Time): Move CLK_TCK from here...
18976 (Processor Time): ...to here. Correct description.
18977 * manual/conf.texi (Constants for Sysconf): Correct description of
18978 _SC_CLK_TCK.
18979
d7dd4413
DM
189802012-04-10 David S. Miller <davem@davemloft.net>
18981
18982 [BZ #13967]
18983 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
18984 where the is a gap between DT_REL(A) and DT_JMPREL.
18985
b46068fc
L
189862012-04-10 H.J. Lu <hongjiu.lu@intel.com>
18987
18988 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
18989 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
18990 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
18991
73d65cc3
SP
189922012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18993
18994 * elf/dl-support.c (_dl_inhibit_cache): New variable.
18995 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
18996 (dl_main): Handle --inhibit-cache.
18997 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
18998 _dl_inhibit_cache.
18999 * elf/dl-load.c (_dl_map_object): Use it.
19000 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
19001
bcc8d661
JM
190022012-04-09 Joseph Myers <joseph@codesourcery.com>
19003
8f9a2fae
JM
19004 [BZ #13872]
19005 * sysdeps/i386/fpu/e_powl.S (p78): New object.
19006 (__ieee754_powl): Saturate large exponents rather than testing for
19007 overflow of y*log2(x).
19008 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19009 * math/libm-test.inc (pow_test): Do not permit spurious overflow
19010 exceptions.
19011
bcc8d661
JM
19012 [BZ #11521]
19013 * math/s_ctan.c: Include <float.h>.
19014 (__ctan): Avoid internal overflow or cancellation in calculating
19015 denominator.
19016 * math/s_ctanf.c: Likewise.
19017 * math/s_ctanl.c: Likewise.
19018 * math/s_ctanh.c: Likewise.
19019 * math/s_ctanhf.c: Likewise.
19020 * math/s_ctanhl.c: Likewise.
19021 * math/libm-test.inc (ctan_test): Add more tests.
19022 (ctanh_test): Likewise.
19023 * sysdeps/i386/fpu/libm-test-ulps: Update.
19024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19025
823fbbb4
AJ
190262012-04-09 Andreas Jaeger <aj@suse.de>
19027
03879793
AJ
19028 [BZ #6894]
19029 * manual/filesys.texi (Directory Entries): Mention that d_namlen
19030 is an optional BSD extension.
19031
823fbbb4
AJ
19032 [BZ #10254]
19033 * manual/stdio.texi (Opening Streams): Document additional fopen
19034 parameters.
19035
8de131cb
RM
190362012-04-09 Roland McGrath <roland@hack.frob.com>
19037
19038 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
19039 %eax without telling the compiler.
19040
c0ed9d7d
CD
190412012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
19042
19043 [BZ # 13963]
19044 * manual/install.texi: Use sourceware.org.
19045
c483f6b4
JM
190462012-04-09 Joseph Myers <joseph@codesourcery.com>
19047
d7dd9453
JM
19048 [BZ #13873]
19049 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
19050 (__ieee754_pow): Generate overflow and underflow using huge*huge
19051 and tiny*tiny rather than just returning constant infinity or zero
19052 for large exponents.
19053 * math/libm-test.inc (pow_test): Require overflow exceptions for
19054 applicable cases of large exponents.
19055
c483f6b4
JM
19056 [BZ #706]
19057 * sysdeps/i386/fpu/e_pow.S (p10): New object.
19058 (__ieee754_pow): Use iterative multiplication algorithm only for
19059 integer exponents with absolute value below 1024. Check for odd
19060 integer exponents when using algorithm for real exponents.
19061 * math/libm-test.inc (pow_test): Add more tests.
19062 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19063
d2de7579
JM
190642012-04-08 Joseph Myers <joseph@codesourcery.com>
19065
19066 [BZ #13705]
19067 * math/libm-test.inc (exp_test): Do not allow overflow exception
19068 on underflow test.
19069
f77f1232
AJ
190702012-04-08 Aurelien Jarno <aurelien@aurel32.net>
19071
19072 [BZ #13705]
19073 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
19074 instead of __kernel_standard_f.
19075
3884932b
MF
190762012-04-08 Mike Frysinger <vapier@gentoo.org>
19077
19078 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
19079 * sysdeps/x86_64/memset_chk.S: Likewise.
19080
54472e9c
AJ
190812012-04-08 Andreas Jaeger <aj@suse.de>
19082
6ab0fbfc
AJ
19083 [BZ #10153]
19084 * manual/startup.texi (Environment Access): Describe return value
19085 for putenv and setenv.
19086
61efba8c
AJ
19087 [BZ #6895]
19088 * manual/filesys.texi (Directory Entries): Add description for
19089 DT_LNK.
19090
95c3f29a
AJ
19091 [BZ #6890]
19092 * manual/filesys.texi (Directory Entries): Clarify that it's file
19093 system not operating system in the description of DT_UNKNOWN.
19094
54472e9c
AJ
19095 [BZ #6578]
19096 * manual/syslog.texi (closelog): Fix reference, it's openlog.
19097
624254b1
SC
190982012-04-08 Stephen Compall <s11@member.fsf.org>
19099
19100 [BZ #6649]
19101 * manual/llio.texi (Opening and Closing Files): Add cross
19102 reference to explain mode argument.
19103
1e4920e0
MF
191042012-04-07 Mike Frysinger <vapier@gentoo.org>
19105
19106 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
19107 * sysdeps/x86_64/memset_chk.S: Likewise.
19108
5ed848f3
DM
191092012-04-07 David S. Miller <davem@davemloft.net>
19110
19111 * elf/elf.h (R_SPARC_WDISP10): Define.
19112 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
19113 R_SPARC_SIZE32.
19114 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
19115 R_SPARC_SIZE64 and R_SPARC_H34.
19116
96154cd8
CD
191172012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
19118
19119 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
19120 conditions and remove no longer applicable assertion.
19121
9904dc47
L
191222012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19123
19124 * bits/byteswap.h: Include <features.h>.
19125 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19126 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19127
f8887d0a
L
191282012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19129
19130 * bits/byteswap.h (__bswap_16): Removed.
19131 Include <bits/byteswap-16.h> to get __bswap_16.
19132 * sysdeps/i386/bits/byteswap.h: Likewise.
19133 * sysdeps/s390/bits/byteswap.h: Likewise.
19134 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19135 * bits/byteswap-16.h: New file.
19136 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19137 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19138 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
19139 * string/Makefile (headers): Add bits/byteswap-16.h.
19140
62470f60
PP
191412012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19142
19143 [BZ #13895]
19144 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
19145 extra indirection.
19146 * nss/Makefile (tests-static, tests): Add tst-nss-static.
19147 * nss/tst-nss-static.c: New.
19148
4dad7bab
RM
191492012-04-06 Robert Millan <rmh@gnu.org>
19150
19151 [BZ #6486]
19152 * manual/llio.texi (File Position Primitive): lseek
19153 refers to WHENCE when it really means OFFSET.
19154
e9142a17
AJ
191552012-04-06 Andreas Jaeger <aj@suse.de>
19156
2c040eff
AJ
19157 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
19158 strncmp declarations.
19159
e9142a17
AJ
19160 * abilist/libc.abilist: Add __poll and __ppoll.
19161
ff9f1c5f
DM
191622012-04-05 David S. Miller <davem@davemloft.net>
19163
dcd2ae90
DM
19164 * scripts/check-local-headers.sh: Accept a host triplet in the
19165 path matched by the exclude regexp.
19166
993eb054
DM
19167 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
19168 definition.
19169 * sysdeps/powerpc/powerpc32/dl-machine.h
19170 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
19171 * sysdeps/s390/s390-32/dl-machine.h
19172 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19173 * sysdeps/sparc/sparc32/dl-machine.h
19174 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19175 * sysdeps/sparc/sparc64/dl-machine.h
19176 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19177
ff9f1c5f
DM
19178 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
19179 lazy binding.
48e2e132 19180 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
19181 undefined symbol errors.
19182
48e2e132 19183 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
19184 DT_NEEDED entries.
19185
e80d6f94
MM
191862012-04-05 Michael Matz <matz@suse.de>
19187
19188 [BZ #13592]
19189 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
19190
349fa79f
AJ
191912012-04-05 Andreas Jaeger <aj@suse.de>
19192
19193 [BZ #13908]
19194 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
19195 comment.
19196
f402708f
KK
191972012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19198
19199 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
19200 which ROUND is no valid rounding mode.
19201
2ecccfc9
KK
192022012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19203
19204 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
19205 read again.
19206 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
19207
8a53f50f
KK
192082012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19209
19210 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
19211 an exception using FPU order intentionally.
19212
192132012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19214
19215 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
19216 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
19217 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
19218 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
19219
d653abb7
SJ
192202012-04-05 Simon Josefsson <simon@josefsson.org>
19221
19222 [BZ #12340]
19223 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
19224 EINVAL when BUFLEN is too smal.
19225
c3b1bf7d
TS
192262012-04-05 Thomas Schwinge <thomas@codesourcery.com>
19227
19228 [BZ #13553]
19229 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
19230 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
19231
b1aa60f3
AJ
192322012-04-03 Andreas Jaeger <aj@suse.de>
19233
c3b1bf7d 19234 [BZ #13938]
67f60a26
AJ
19235 * manual/setjmp.texi (System V contexts): Fix sentence.
19236
b1aa60f3
AJ
19237 [BZ #13926]
19238 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
19239 New macro for this case.
19240 [!__GNUC__] (__bswap_64): New inline function for this case.
19241 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19242 * bits/byteswap.h: Likewise.
19243 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
19244 ull, guard with __GLIBC_HAVE_LONG_LONG.
19245
19246 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
19247 __GLIBC_HAVE_LONG_LONG.
19248
19249 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
19250 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
19251
39c59c35
TMQMF
192522012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19253
19254 [BZ #13691]
19255 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
19256 inptr and inend, rather than using last_ch.
19257
135ffda8
DM
192582012-04-02 David S. Miller <davem@davemloft.net>
19259
19260 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
19261 * stdio-common/printf-parse.h (read_int): Change return type to
19262 'int', return -1 on INT_MAX overflow.
19263 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
19264 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
19265 overflows INT_MAX. Check for overflow of in-format-string precision
19266 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
19267 SIZE_MAX not INT_MAX for integer overflow test.
19268 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
19269 skip the construct in the format string but do not record anything.
19270 * stdio-common/bug22.c: Adjust to test both width/prevision
19271 INT_MAX overflow as well as total length INT_MAX overflow. Check
19272 explicitly for proper errno values.
19273
228c019e
TS
192742012-04-02 Thomas Schwinge <thomas@codesourcery.com>
19275
302cadd3
TS
19276 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
19277 CHAR_MAX.
19278 * string/test-strcmp.c [! WIDE]: Likewise.
19279 * time/tst-mktime2.c: Likewise for INT_MAX.
19280 * string/test-string.h: #include <sys/param.h> for MIN.
19281
228c019e
TS
19282 * csu/init-first.c (__libc_init_first): Call __ctype_init.
19283 * sysdeps/i386/init-first.c (init): Likewise.
19284 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
19285 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
19286 * sysdeps/sh/init-first.c (init): Likewise.
19287
cfa633f5
UD
192882012-04-01 Ulrich Drepper <drepper@gmail.com>
19289
19290 * po/ru.po: Update from translation team.
d1635ef8 19291 * po/vi.po: Likewise.
cfa633f5 19292
6cd0a5ea
SP
192932012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19294
19295 * resolv/nss_dns/dns-host.c: Merge copyright years.
19296
4b43400f
LD
192972012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19298
19299 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19300 Optimize memcpy with prefetch if
19301 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
19302 src, dst pointers have unequal 16 byte alignments.
19303
48c41d04
SP
193042012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19305
19306 [BZ #13928]
19307 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
19308 from a CNAME entry and return the minimum ttl for the query.
19309 (gaih_getanswer_slice): Likewise.
19310
b8dc394d
JL
193112012-03-30 Jeff Law <law@redhat.com>
19312
19313 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
19314 due to long keys.
19315 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
19316 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
19317
2f5a5ed0
JL
19318 * resolv/nss_dns/dns-host.c: Update copyright year.
19319
1d39e359
UD
193202012-03-30 Ulrich Drepper <drepper@gmail.com>
19321
c030f70c 19322 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 19323 requests to save a system call. Fix check that all bytes are sent.
c030f70c 19324
1d39e359
UD
19325 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
19326 comments for sendmmsg.
19327
193282012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
19329
19330 [BZ #13691]
19331 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
19332 with only 1 character between 0x0041 and 0x01b0.
19333 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
19334 * wcsmbs/tst-mbsnrtowcs.c: New file.
19335
20fde227
DM
193362012-03-29 David S. Miller <davem@davemloft.net>
19337
19338 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
19339 small copies by hand.
19340
984a4237
JL
193412012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19342
19343 [BZ #13761]
19344 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
19345 _nss_compat_initgroups_dyn): Fall back to malloc/free
19346 for large group memberships.
19347
18c9d62b
DM
193482012-03-28 David S. Miller <davem@davemloft.net>
19349
88d85d4f
DM
19350 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
19351 that branches into memcpy.
19352 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19353 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
19354 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19355 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
19356 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
19357 bits.
19358 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
19359 implementation too.
19360 * sysdeps/sparc/mempcpy.S: New file.
19361
e5aa83e1
DM
19362 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
19363 the IFUNC routine in the libc case.
19364 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19365
88570753
DM
19366 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
19367 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
19368 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
19369 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
19370 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
19371 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
19372 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
19373 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
19374
249d7567
DM
19375 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
19376 loop to 256 bytes instead of 64 bytes and fix test signedness.
19377
18c9d62b
DM
19378 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
19379 * sysdeps/sparc/sparc32/Makefile: rather than here...
19380 * sysdeps/sparc/sparc64/Makefile: and here.
19381
05f3d1f6
UD
193822012-03-28 Ulrich Drepper <drepper@gmail.com>
19383
19384 * malloc/mallocbug.c: Avoid warnings about unused variables.
19385
86ae07a8
JL
193862012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19387
19388 [BZ #13760]
19389 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
19390 in the right place. Discard and retry query if response is
19391 larger than input buffer size.
19392
41bf21a1
JM
193932012-03-28 Joseph Myers <joseph@codesourcery.com>
19394
d6270972
JM
19395 [BZ #369]
19396 [BZ #2678]
19397 [BZ #3866]
19398 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
19399 x for large integer exponent.
19400 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19401 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
19402 sign of result as needed afterwards.
19403 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19404 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
19405 result for underflowing pow the same as for overflow.
19406 (__kernel_standard_l): Handle powl overflow and underflow here
19407 rather than calling __kernel_standard.
19408 * math/libm-test.inc (pow_test): Add more tests.
19409
414fca03 19410 [BZ #3868]
41bf21a1
JM
19411 [BZ #13879]
19412 [BZ #13910]
19413 [BZ #13911]
19414 [BZ #13912]
19415 [BZ #13913]
19416 [BZ #13915]
19417 [BZ #13916]
19418 [BZ #13917]
19419 [BZ #13918]
19420 [BZ #13919]
19421 [BZ #13920]
19422 [BZ #13921]
19423 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
19424 * sysdeps/ieee754/k_standard.c: Include <float.h>.
19425 (__kernel_standard_l): New function.
19426 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
19427 __kernel_standard.
19428 * math/w_acosl.c (__acosl): Likewise.
19429 * math/w_asinl.c (__asinl): Likewise.
19430 * math/w_atan2l.c (__atan2l): Likewise.
19431 * math/w_atanhl.c (__atanhl): Likewise.
19432 * math/w_coshl.c (__coshl): Likewise.
19433 * math/w_exp10l.c (__exp10l): Likewise.
19434 * math/w_exp2l.c (__exp2l): Likewise.
19435 * math/w_fmodl.c (__fmodl): Likewise.
19436 * math/w_hypotl.c (__hypotl): Likewise.
19437 * math/w_j0l.c (__j0l, __y0l): Likewise.
19438 * math/w_j1l.c (__j1l, __y1l): Likewise.
19439 * math/w_jnl.c (__jnl, __ynl): Likewise.
19440 * math/w_lgammal.c (__lgammal): Likewise.
19441 * math/w_log10l.c (__log10l): Likewise.
19442 * math/w_log2l.c (__log2l): Likewise.
19443 * math/w_logl.c (__logl): Likewise.
19444 * math/w_powl.c (__powl): Likewise.
19445 * math/w_remainderl.c (__remainderl): Likewise.
19446 * math/w_scalbl.c (sysv_scalbl): Likewise.
19447 * math/w_sinhl.c (__sinhl): Likewise.
19448 * math/w_sqrtl.c (__sqrtl): Likewise.
19449 * math/w_tgammal.c (__tgammal): Likewise.
19450 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
19451 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
19452 * math/libm-test.inc (acos_test): Add more tests.
19453 (acosh_test): Likewise.
19454 (asin_test): Likewise.
19455 (atanh_test): Likewise.
19456 (exp_test): Likewise.
19457 (exp10_test): Likewise.
19458 (exp2_test): Likewise.
19459 (expm1_test): Likewise.
19460 (lgamma_test): Likewise.
19461 (log_test): Likewise.
19462 (log10_test): Likewise.
19463 (log1p_test): Likewise.
19464 (log2_test): Likewise.
19465 (pow_test): Do not allow some spurious overflow exceptions.
19466 (sqrt_test): Add more tests.
19467 (tgamma_test): Likewise.
19468 (y0_test): Likewise.
19469 (y1_test): Likewise.
19470 (yn_test): Likewise.
19471
dd62fda6
AB
194722012-03-27 Anton Blanchard <anton@samba.org>
19473
19474 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
19475 MAP_HUGETLB.
19476 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19477 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19478 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19479
1e3cdfda
AJ
194802012-03-27 David S. Miller <davem@davemloft.net>
19481
b855ab85
DM
19482 * conform/Makefile: Run run-conformtest.sh using $(BASH).
19483
1e3cdfda
AJ
19484 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
19485 have-as-vis3 check.
19486
194872012-03-27 Andreas Jaeger <aj@suse.de>
19488
19489 * sysdeps/x86_64/elf/configure.in: Moved to ...
19490 * sysdeps/x86_64/configure.in: ... here.
19491 * sysdeps/x86_64/elf/start.S: Moved to ...
19492 * sysdeps/x86_64/start.S: ... here.
19493 * sysdeps/x86_64/elf/configure: Delete.
19494
19495 * sysdeps/x86_64/configure.in: Merge contents from
19496 sysdeps/i386/configure.in (without i686 check).
19497
19498 * sysdeps/i386/elf/Versions: Merge into ...
19499 * sysdeps/i386/Versions: ... this.
19500 * sysdeps/i386/elf/Versions: Delete file.
19501 * sysdeps/i386/elf/start.S: Moved to ...
19502 * sysdeps/i386/start.S: ...here.
19503 * sysdeps/i386/elf/configure.in: Merge into...
19504 * sysdeps/i386/configure.in: ...here.
19505 * sysdeps/i386/elf/configure.in: Delete file.
19506 * sysdeps/i386/elf/configure: Delete file.
19507
19508 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
19509 * debug/backtracesyms.c: ... here.
19510 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
19511 * debug/backtracesymsfd.c: ... here.
19512 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
19513 * sysdeps/generic/ifunc-sel.h: ... here.
19514
19515 * sysdeps/unix/i386/start.c: Delete file.
19516 * sysdeps/unix/sparc/start.c: Delete file.
19517 * sysdeps/unix/start.c: Delete file.
19518
19519 * sysdeps/sh/elf/configure.in: Moved to ...
19520 * sysdeps/sh/configure.in: ... here.
19521 * sysdeps/sh/elf/start.S: Moved to ...
19522 * sysdeps/sh/start.S: ... here.
19523 * sysdeps/sh/elf/configure: Delete file.
19524
19525 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
19526 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
19527 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
19528 * sysdeps/powerpc/powerpc64/entry.h: ... here.
19529 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
19530 * sysdeps/powerpc/powerpc64/start.S: here.
19531 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
19532 * sysdeps/powerpc/powerpc64/Makefile: ... this.
19533 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
19534 * sysdeps/powerpc/powerpc64/configure.in: ... this.
19535 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
19536
19537 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
19538 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
19539 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
19540 * sysdeps/powerpc/powerpc32/start.S: ... here.
19541 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
19542 * sysdeps/powerpc/powerpc32/configure.in: ... this.
19543 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
19544
19545 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
19546 * sysdeps/powerpc/ifunc-sel.h: ... here.
19547 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
19548 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
19549
19550 * sysdeps/sparc/elf/configure.in: Moved to ...
19551 * sysdeps/sparc/configure.in: ... here.
19552 * sysdeps/sparc/elf/configure: Delete file.
19553 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
19554 * sysdeps/sparc/sparc32/start.S: ... here.
19555 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
19556 * sysdeps/sparc/sparc64/start.S: ... here.
19557 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
19558 * sysdeps/sparc/sparc32/Makefile: ... this.
19559 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
19560 * sysdeps/sparc/sparc64/Makefile: ... this.
19561
19562 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
19563 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
19564 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
19565 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
19566 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
19567 * sysdeps/s390/s390-32/setjmp.S: ... here.
19568 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
19569 * sysdeps/s390/s390-32/configure.in: ... here.
19570 * sysdeps/s390/s390-32/elf/configure: Delete file.
19571 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
19572 * sysdeps/s390/s390-32/start.S: ... here.
19573
19574 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
19575 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
19576 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
19577 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
19578 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
19579 * sysdeps/s390/s390-64/setjmp.S: ... here.
19580 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
19581 * sysdeps/s390/s390-64/configure.in: ... here
19582 * sysdeps/s390/s390-64/elf/configure: Delete file.
19583 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
19584 * sysdeps/s390/s390-64/start.S: ... here.
19585 * sysdeps/s390/s390-64/elf/configure: Delete.
19586
19587 * configure.in: Remove support for elf directories in sysdeps.
19588
19589 * configure: Regenerated.
19590 * sysdeps/i386/configure: Regenerated.
19591 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19592 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19593 * sysdeps/s390/s390-32/configure: Regenerated.
19594 * sysdeps/s390/s390-64/configure: Regenerated.
19595 * sysdeps/sh/configure: Regenerated.
19596 * sysdeps/sparc/configure: Regenerated.
19597 * sysdeps/x86_64/configure: Regenerated.
19598
a3f61311
AS
195992012-03-26 Andreas Schwab <schwab@linux-m68k.org>
19600
c876e002
AS
19601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19602
a3f61311
AS
19603 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
19604 denormal result into account.
19605
ac4c54f0
RM
196062012-03-25 Roland McGrath <roland@hack.frob.com>
19607
19608 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
19609 Reported by Allan McRae <allan@archlinux.org>.
19610
6a9b9c02
JL
196112012-03-23 Jeff Law <law@redhat.com>
19612
19613 * nss/getnssent.c (__nss_getent): Fix typo.
19614
4c42a0c1
DM
196152012-03-23 David S. Miller <davem@davemloft.net>
19616
19617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19618
1532c7ac
L
196192012-03-23 H.J. Lu <hongjiu.lu@intel.com>
19620
19621 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
19622 to pad to uint64_t for each field.
19623 (dl_tls_index): Replace unsigned long with uint64_t.
19624
3ff42526
PP
196252012-03-23 Daniel Jacobowitz <dmj@google.com>
19626 Paul Pluzhnikov <ppluzhnikov@google.com>
19627
19628 [BZ #6528]
19629 * grp/Makefile (otherlibs): Don't set it.
19630 * inet/Makefile (otherlibs): Likewise.
19631 * login/Makefile (otherlibs): Likewise.
19632 * nscd/Makefile (otherlibs): Likewise.
19633 * posix/Makefile (otherlibs): Likewise.
19634 * pwd/Makefile (otherlibs): Likewise.
19635 * rt/Makefile (otherlibs): Likewise.
19636 * sunrpc/Makefile (otherlibs): Likewise.
19637 * nss/Makefile (otherlibs): Likewise.
19638 Add libnss_files to routines and static-only-routines.
19639 ($(objpfx)getent): Remove rule.
19640 * resolv/Makefile: Add libnss_dns and libresolv to routines and
19641 static-only-routines.
19642
7c69cd14
JM
196432012-03-22 Joseph Myers <joseph@codesourcery.com>
19644
19645 [BZ #13892]
19646 * math/s_cexp.c: Include <float.h>.
19647 (__cexp): Handle exp result overflowing not necessarily
19648 overflowing both real and imaginary parts of result.
19649 * math/s_cexpf.c: Likewise.
19650 * math/s_cexpl.c: Likewise.
19651 * math/libm-test.inc (cexp_test): Add more tests.
19652 * sysdeps/i386/fpu/libm-test-ulps: Update.
19653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19654
81b035fe
L
196552012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19656
19657 * include/link.h (ELFW): New macro.
19658 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
19659 Replace ELF64_R_TYPE with ELFW(R_TYPE).
19660
1da7940c
L
196612012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19662
19663 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
19664 with uint64_t.
19665
b749dbb9
L
196662012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19667
19668 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
19669 declaration.
19670 (struct La_x32_retval): Likewise.
19671
2ff87f3f
L
196722012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19673
19674 * sysdeps/x86_64/preconfigure.in: New file.
19675 * sysdeps/x86_64/preconfigure: New generated file.
19676
c0df8e69
JM
196772012-03-22 Joseph Myers <joseph@codesourcery.com>
19678
48e44791
JM
19679 [BZ #13824]
19680 * math/e_exp2l.c: Include <float.h>.
19681 (__ieee754_exp2l): Handle overflow and underflow cases
19682 separately. Only pass fractional part of argument to
19683 __ieee754_expl.
19684 * math/libm-test.inc (exp2_test): Add more tests.
19685
c0df8e69
JM
19686 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
19687 negating x to take absolute value.
19688 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19689 Likewise.
19690 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19691 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19692 Likewise.
19693 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
19694 computing low part if x was negated.
19695 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19696
c8e43ba7
L
196972012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19698
19699 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
19700 la_x32_gnu_pltexit.
19701 (pltexit): Cast int_retval to ptrdiff_t.
19702 * elf/tst-auditmod3b.c: Likewise.
19703 * elf/tst-auditmod4b.c: Likewise.
19704 * elf/tst-auditmod5b.c: Likewise.
19705 * elf/tst-auditmod6b.c: Likewise.
19706 * elf/tst-auditmod6c.c: Likewise.
19707 * elf/tst-auditmod7b.c: Likewise.
19708
19709 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
19710 and x32_gnu_pltexit.
19711
19712 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
19713 __ELF_NATIVE_CLASS.
19714 (La_x32_regs): New macro.
19715 (La_x32_retval): Likewise.
19716 (la_x32_gnu_pltenter): New function prototype.
19717 (la_x32_gnu_pltexit): Likewise.
19718
7998fa78
AS
197192012-03-21 Andreas Schwab <schwab@linux-m68k.org>
19720
dcb33988
AS
19721 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
19722 exponent.
19723
233fc563
AS
19724 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19725
7998fa78
AS
19726 * configure.in (libc_cv_cc_nofma): Check for option to disable
19727 generation of FMA instructions.
19728 * configure: Regenerate.
19729 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
19730 * sysdeps/ieee754/dbl-64/Makefile: New file.
19731 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19732 Remove brandred-fma4.
19733 (CFLAGS-brandred-fma4.c): Remove.
19734 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
19735 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
19736 define.
19737 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
19738 define.
19739
8e95c99a
L
197402012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19741
19742 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19743 LLONG_MAX != LONG_MAX.
19744 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19745 (_fitoa_word): Likewise.
19746 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
19747 LLONG_MAX != LONG_MAX.
19748 * stdio-common/_itowa.h: Include <_itoa.h>.
19749 (_itowa_word): Use _ITOA_WORD_TYPE on value.
19750 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
19751 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
19752 only if not defined.
19753 (_ITOA_WORD_TYPE): Likewise.
19754 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19755 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
19756
6f4db457
DM
197572012-03-21 David S. Miller <davem@davemloft.net>
19758
19759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19760
7785fe5a
L
197612012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19762
19763 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
19764 of x86_64 when setting libc_cv_slibdir, libdir and
19765 libc_cv_localedir.
19766 * sysdeps/unix/sysv/linux/configure: Regenerated.
19767
4535cd55
JM
197682012-03-21 Joseph Myers <joseph@codesourcery.com>
19769
19770 * manual/lang.texi (Old Varargs): Remove section.
19771 (How Variadic): Update menu.
19772 (va_start): Do not mention varargs.h.
19773
17228132
TS
197742012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19775 Joseph Myers <joseph@codesourcery.com>
19776
19777 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
19778 link test.
19779 * configure: Regenerated.
19780
8149f976
TS
197812012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19782
05f3d1f6
UD
19783 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
19784 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
19785 conformtest.pl
8149f976 19786
1a4ac776
JM
197872012-03-21 Joseph Myers <joseph@codesourcery.com>
19788
be22ce65
JM
19789 * NOTES: Remove.
19790 * Makefile (files-for-dist): Remove NOTES.
19791 (NOTES): Remove rule.
19792 * README: Don't refer to NOTES.
19793 * manual/creature.texi: Don't include macros.texi.
19794 * manual/intro.texi (creature.texi): Remove comment referring to
19795 NOTES.
19796
40b601fb
JM
19797 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
19798 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
19799 * configure: Regenerated.
19800 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
19801 LIBC_TRY_CC_OPTION.
19802 (libc_cv_as_i686): Likewise.
19803 (libc_cv_cc_avx): Likewise.
19804 (libc_cv_cc_sse2avx): Likewise.
19805 (libc_cv_cc_fma4): Likewise.
19806 (libc_cv_cc_novzeroupper): Likewise.
19807 * sysdeps/i386/configure: Regenerated.
19808
1a4ac776
JM
19809 [BZ #13883]
19810 * sysdeps/i386/fpu/s_cexp.S: Remove.
19811 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19812 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19813 * math/libm-test.inc (cexp_test): Add more tests.
19814 * sysdeps/i386/fpu/libm-test-ulps: Update.
19815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19816
a458e7fe
AM
198172012-03-21 Allan McRae <allan@archlinux.org>
19818
19819 * timezone/Makefile: Do not install iso3166.tab and zone.tab
19820
0cb7efc5
JM
198212012-03-21 Joseph Myers <joseph@codesourcery.com>
19822
19823 [BZ #13871]
19824 * math/w_exp2.c: Do not include <float.h>.
19825 (o_threshold, u_threshold): Remove.
19826 (__exp2): Calculate result before checking finiteness and calling
19827 __kernel_standard.
19828 * math/w_exp2f.c: Likewise.
19829 * math/w_exp2l.c: Likewise.
19830 * math/libm-test.inc (exp2_test): Require overflow exception for
19831 1e6 input.
2460d3aa
JM
19832
19833 [BZ #3866]
19834 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
19835 range of signed 64-bit integers before using fistpll. Remove
19836 checks for whether integers fit in mantissa bits.
19837 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
19838 the range of signed 32-bit integers before using fistpl. Remove
19839 checks for whether integers fit in mantissa bits.
19840 * sysdeps/i386/fpu/e_powl.S (p64): New object.
19841 (__ieee754_powl): Test for y outside the range of signed 64-bit
19842 integers before using fistpll. Reduce 64-bit values to 63-bit
19843 ones as needed.
19844 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
19845 divide-by-zero is raised for zero to large negative powers.
19846 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
19847 (__ieee754_powl): Test for y outside the range of signed 64-bit
19848 integers before using fistpll. Reduce 64-bit values to 63-bit
19849 ones as needed.
19850 * math/libm-test.inc (pow_test): Add more tests.
19851
eb96ffb0
L
198522012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19853
19854 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
19855 <stdio-common/_itoa.h>.
19856 * debug/segfault.c: Likewise.
19857 * elf/dl-cache.c: Likewise.
19858 * elf/dl-minimal.c: Likewise.
19859 * elf/dl-misc.c: Likewise.
19860 * elf/dl-sysdep.c: Likewise.
19861 * elf/dl-version.c: Likewise.
19862 * elf/rtld.c: Likewise.
19863 * hurd/hurdsock.c: Likewise.
19864 * hurd/lookup-retry.c: Likewise.
19865 * malloc/malloc.c: Likewise.
19866 * malloc/mtrace.c: Likewise.
19867 * nscd/nscd_getgr_r.c: Likewise.
19868 * nscd/nscd_getpw_r.c: Likewise.
19869 * nscd/nscd_getserv_r.c: Likewise.
19870 * posix/getopt_init.c: Likewise.
19871 * posix/wordexp.c: Likewise.
19872 * stdio-common/_itoa.c: Likewise.
19873 * stdio-common/printf_fphex.c: Likewise.
19874 * stdio-common/vfprintf.c: Likewise.
19875 * string/_strerror.c: Likewise.
19876 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
19877 * sysdeps/i386/i686/hp-timing.h: Likewise.
19878 * sysdeps/mach/_strerror.c: Likewise.
19879 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
19880 * sysdeps/mach/hurd/sethostid.c: Likewise.
19881 * sysdeps/mach/hurd/xmknodat.c: Likewise.
19882 * sysdeps/mach/xpg-strerror.c: Likewise.
19883 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19884 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19885 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
19886 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
19887 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19888 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
19889 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
19890 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
19891 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
19892 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
19893 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
19894 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19895 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
19896 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19897 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19898 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
19899 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
19900 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
19901 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
19902 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
19903 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
19904
19905 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
19906
19907 * stdio-common/_itoa.h: Moved to ...
19908 * sysdeps/generic/_itoa.h: Here.
19909
19910 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
19911
19912 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
19913 instead of "_itoa.h" and "_itowa.h".
19914 * stdio-common/vfprintf.: Likewise.
19915
d1af992d
L
199162012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19917
19918 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
19919 <bits/wordsize.h>.
19920 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
19921 (__signbit): Likwise.
19922 (llrintf): Likwise.
19923 (llrint): Likwise.
19924
114883e0
L
199252012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19926
19927 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
19928 __WORDSIZE != 64.
19929
c135cc1b
JM
199302012-03-20 Joseph Myers <joseph@codesourcery.com>
19931
19932 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
19933 OVERFLOW_EXCEPTION_OK.
19934 * math/libm-test.inc ("Philosophy"): Update comment about
19935 exception testing.
19936 (OVERFLOW_EXCEPTION): Define.
19937 (OVERFLOW_EXCEPTION_OK): Likewise.
19938 (INVALID_EXCEPTION_OK): Renumber.
19939 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19940 (IGNORE_ZERO_INF_SIGN): Likewise.
19941 (test_exceptions): Handle FE_OVERFLOW.
19942 (exp10_test): Expect overflow exceptions.
19943 (exp2_test): Likewise.
19944 (expm1_test): Likewise.
19945 (nextafter_test): Likewise.
19946 (pow_test): Likewise.
19947 (scalbn_test): Likewise.
19948 (scalbln_test): Likewise.
19949
95443d88
L
199502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19951
19952 * sysdeps/x86_64/bits/atomic.h
19953 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
19954 64bit integer.
19955 (atomic_exchange_acq): Likewise.
19956 (__arch_exchange_and_add_body): Likewise.
19957 (__arch_add_body): Likewise.
19958 (atomic_add_negative): Likewise.
19959 (atomic_add_zero): Likewise.
19960
490df6c4
L
199612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19962
c2722551 19963 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
19964 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
19965
5e52b189
L
199662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19967
19968 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
19969 Check __x86_64__ instead of __WORDSIZE.
19970
a9879d4c
L
199712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19972
19973 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
19974
5df98260
DM
199752012-03-19 David S. Miller <davem@davemloft.net>
19976
e1497744
DM
19977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19978
5df98260
DM
19979 * sysdeps/sparc/fpu/fenv_private.h: New file.
19980 * sysdeps/sparc/fpu/math_private.h: Use it.
19981 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
19982 Remove.
19983 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
19984 (libc_feholdexcept_setroundl): Remove.
19985 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
19986 Remove.
19987 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
19988 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
19989
b4c35121
L
199902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19991
19992 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
19993 int64_t instead of long int.
19994 (INSERT_WORDS64): Likwise.
19995
56965fd7
L
199962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19997
19998 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
19999 _Unwind_GetCFA return to _Unwind_Ptr first.
20000
83d1aec8
JM
200012012-03-19 Joseph Myers <joseph@codesourcery.com>
20002
1897ad44
JM
20003 [BZ #13629]
20004 * math/s_clog.c: Include <float.h>.
20005 (__clog): Scale large or subnormal inputs.
20006 * math/s_clogf.c: Likewise.
20007 * math/s_clogl.c: Likewise.
20008 * math/s_clog10.c: Include <float.h>.
20009 (M_LOG10_2): Define.
20010 (__clog10): Scale large or subnormal inputs.
20011 * math/s_clog10f.c: Likewise.
20012 * math/s_clog10l.c: Likewise.
20013 * math/libm-test.inc (clog_test): Add more tests.
20014 (clog10_test): Likewise.
20015 * sysdeps/i386/fpu/libm-test-ulps: Update.
20016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20017
7726d6a9
JM
20018 [BZ #11451]
20019 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
20020 x and y.
20021 * math/libm-test.inc (atan2_test): Add another test.
20022
83d1aec8
JM
20023 * Makerules (common-objdir-compile): Remove.
20024 * sysdeps/unix/Makefile (config-generated): Do not add
20025 $(unix-generated) to variable.
20026 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
20027 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
20028 Remove rule.
20029 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
20030 Likewise.
20031 [generic bits/local_lim.h] (before-compile): Do not append to
20032 variable.
20033 [generic bits/local_lim.h] (common-generated): Likewise.
20034 [generic sys/param.h] (before-compile): Do not append to variable.
20035 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
20036 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
20037 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
20038 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
20039 include.
20040 [generic sys/param.h] (sys/param.h-includes): Remove variable.
20041 [generic sys/param.h] (sys/param.h-includes): Remove rule.
20042 [generic sys/param.h] ($(addprefix
20043 $(common-objpfx),$(sys/param.h-includes))): Likewise.
20044 [generic sys/param.h] (common-generated): Do not append to
20045 variable.
20046 [generic sys/param.h] (sysdep_headers): Likewise.
20047 [generic bits/errno.h] (before-compile): Do not append to
20048 variable.
20049 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
20050 rule.
20051 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
20052 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
20053 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
20054 [generic bits/errno.h] (common-generated): Do not append to
20055 variable.
20056 [generic bits/ioctls.h] (before-compile): Do not append to
20057 variable.
20058 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
20059 rule.
20060 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
20061 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
20062 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
20063 rule.
20064 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
20065 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
20066 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
20067 [generic bits/ioctls.h] (common-generated): Do not append to
20068 variable.
20069 [generic sys/syscall.h] (syscall.h): Remove variable.
20070 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
20071 rule.
20072 [generic sys/syscall.h] (before-compile): Do not append to
20073 variable.
20074 [generic sys/syscall.h] (common-generated): Likewise.
20075 * sysdeps/unix/errnos-tmpl.c: Remove file.
20076 * sysdeps/unix/errnos.awk: Likewise.
20077 * sysdeps/unix/ioctls-tmpl.c: Likewise.
20078 * sysdeps/unix/ioctls.awk: Likewise.
20079 * sysdeps/unix/mk-local_lim.c: Likewise.
20080 * sysdeps/unix/snarf-ioctls: Likewise.
20081
4851a949
RH
200822012-03-19 Richard Henderson <rth@twiddle.net>
20083
bd37f2ee
RH
20084 * sysdeps/i386/fpu/fenv_private.h: New file.
20085 * sysdeps/i386/fpu/math_private.h: Use it.
20086 (math_opt_barrier, math_force_eval): Remove.
20087 (libc_feholdexcept_setround_53bit): Remove.
20088 (libc_feupdateenv_53bit): Remove.
20089 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20090 (math_opt_barrier, math_force_eval): Remove.
20091 (libc_feholdexcept): Remove.
20092 (libc_feholdexcept_setround): Remove.
20093 (libc_fetestexcept, libc_fesetenv): Remove.
20094 (libc_feupdateenv_test): Remove.
20095 (libc_feupdateenv, libc_feholdsetround): Remove.
20096 (libc_feresetround): Remove.
20097
d0adc922
RH
20098 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
20099 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20100
0fe0f1f8
RH
20101 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
20102 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
20103 (libc_feupdateenv_testl): New.
20104 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
20105 (libc_feupdateenv_testf): New.
20106 (libc_feupdateenv): Use libc_feupdateenv_test.
20107 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
20108 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
20109
eb92c487
RH
20110 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
20111 (libc_feholdsetroundf, libc_feholdsetroundl): New.
20112 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
20113 (libc_feresetround_noex): New.
20114 (libc_feresetround_noexf): New.
20115 (libc_feresetround_noexl): New.
20116 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
20117 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
20118 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
20119 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
20120 SET_RESTORE_ROUND.
20121 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20122 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
20123 (__cos): Likewise.
20124 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
20125 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20126 SET_RESTORE_ROUND_NOEX.
20127 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
20128 SET_RESTORE_ROUND_NOEXF.
20129 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
20130 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
20131 (libc_feholdsetroundf): New.
20132 (libc_feresetround, libc_feresetroundf): New.
20133
7d2e8012
RH
20134 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
20135 (libc_feholdexcept_setround_53bit): Convert from macro to function.
20136 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
20137
b4dabbb4
RH
20138 * sysdeps/generic/math_private.h: Include <fenv.h>.
20139 (default_libc_feholdexcept): New.
20140 (default_libc_feholdexcept_setround): New.
20141 (default_libc_fesetenv, default_libc_feupdateenv): New.
20142 (libc_feholdexcept): Only define if undefined.
20143 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
20144 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
20145 (libc_feholdexcept_setroundl): Likewise.
20146 (libc_feholdexcept_setround_53bit): Likewise.
20147 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
20148 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
20149 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
20150 (libc_feupdateenv_53bit): Likewise.
20151 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
20152 (libc_feholdexcept): Convert from macro to inline function.
20153 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
20154 (libc_fesetenv, libc_feupdateenv): Likewise.
20155
4851a949
RH
20156 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
20157 not previously defined.
20158 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
20159 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
20160 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
20161 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
20162 * sysdeps/ieee754/flt-32/math_private.h: New file.
20163 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
20164 math_private.h below SET_FLOAT_WORD.
20165 (__isnan, __isinf_ns, __finite): Remove.
20166 (__isnanf, __isinf_nsf, __finitef): Remove.
20167
e79d442e
AS
201682012-03-18 Andreas Schwab <schwab@linux-m68k.org>
20169
20170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20171
90b80344
DM
201722012-03-17 David S. Miller <davem@davemloft.net>
20173
20174 [BZ #6471]
20175 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
20176 for 2.16.
20177
edc21804
DM
201782012-03-16 David S. Miller <davem@davemloft.net>
20179
77e927af
DM
20180 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
20181 warnings.
20182
374976dd
DM
20183 [BZ #6471]
20184 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
20185 properly.
20186 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
20187 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
20188 sysdep_routines when subdir is sysvipc.
20189 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
20190 __getshmlba helper.
20191
edc21804
DM
20192 * sysdeps/sparc/fpu/libm-test/ulps: Update.
20193
473c3ef3
L
201942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20195
20196 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
20197 [__LP64__].
20198
eb0f39b6
L
201992012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20200
20201 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
20202 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
20203 (__lround): Renamed to ...
20204 (__llround): This. Replace long int with long long int.
20205 Define lround functions as aliases of llround functions.
20206 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
20207
6b6cd74b
L
202082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20209
20210 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
20211 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
20212 adresses to uintptr_t. Replace "long int" and "unsigned long
20213 int" with "greg_t" on va_arg.
20214
f1a77b01
L
202152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20216
20217 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
20218 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
20219
20220 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
20221 Move e_machine check before EI_CLASS check. Handle x32
20222 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
20223 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
20224 SKIP_EM_IA_64 and include
20225 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
20226
20227 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
20228 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
20229 (add_system_dir): New macro.
20230
20231 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
20232 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
20233
11b90b9f
JM
202342012-03-16 Joseph Myers <joseph@codesourcery.com>
20235
c36e1d23
JM
20236 [BZ #2551]
20237 [BZ #2552]
20238 [BZ #2553]
20239 [BZ #2554]
20240 [BZ #2562]
20241 [BZ #2563]
20242 [BZ #2565]
20243 [BZ #2566]
20244 [BZ #2576]
20245 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
20246 (y0): Likewise.
20247 * math/w_j0f.c (j0f): Likewise.
20248 (y0f): Likewise.
20249 * math/w_j0l.c (__j0l): Likewise.
20250 (__y0l): Likewise.
20251 * math/w_j1.c (j1): Likewise.
20252 (y1): Likewise.
20253 * math/w_j1f.c (j1f): Likewise.
20254 (y1f): Likewise.
20255 * math/w_j1l.c (__j1l): Likewise.
20256 (__y1l): Likewise.
20257 * math/w_jn.c (jn): Likewise.
20258 (yn): Likewise.
20259 * math/w_jnf.c (jnf): Likewise.
20260 (ynf): Likewise.
20261 * math/w_jnl.c (__jnl): Likewise.
20262 (__ynl): Likewise.
20263 * math/libm-test.inc (j0_test): Add more tests.
20264 (j1_test): Likewise.
20265 (jn_test): Likewise. Add trailing semicolon to existing test.
20266 (y0_test): Likewise.
20267 (y1_test): Likewise.
20268 * sysdeps/i386/fpu/libm-test-ulps: Update.
20269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20270
11b90b9f
JM
20271 [BZ #13851]
20272 [BZ #13854]
20273 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20274 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
20275 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
20276 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
20277 (__tanl): Set errno for infinite argument.
20278 * sysdeps/i386/fpu/mptan.c: Remove.
20279 * sysdeps/i386/fpu/s_tan.S: Likewise.
20280 * sysdeps/i386/fpu/s_tanl.S: Likewise.
20281 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
20282 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
20283 * math/libm-test.inc (tan_test): Add more tests and enable more
20284 tests for double and long double.
20285 * sysdeps/i386/fpu/libm-test-ulps: Update.
20286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20287
6a1bd2a1
JK
202882012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
20289
20290 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
20291 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
20292
10a803e0
RM
202932012-03-16 Roland McGrath <roland@hack.frob.com>
20294
20295 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
20296 * configure.in: Use it for both main tree and add-ons.
20297 * configure: Regenerated.
20298
f196c7f7
L
202992012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20300
20301 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
20302
8848d99d
JM
203032012-03-16 Joseph Myers <joseph@codesourcery.com>
20304
96cbe7f4
JM
20305 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
20306 in comment.
20307
8848d99d
JM
20308 [BZ #13851]
20309 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
20310 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
20311 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
20312 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
20313 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
20314 infinite argument.
20315 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
20316 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
20317 != 0 for prec == 2.
20318 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
20319 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
20320 * sysdeps/i386/fpu/s_cosl.S: Likewise.
20321 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
20322 * sysdeps/i386/fpu/s_sinl.S: Likewise.
20323 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
20324 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
20325 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
20326 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
20327 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
20328 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
20329 * math/libm-test.inc (cos_test): Add more tests and enable more
20330 tests for long double.
20331 (sin_test): Likewise.
20332 (sincos_test): Likewise.
20333 * sysdeps/i386/fpu/libm-test-ulps: Update.
20334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20335
dd7f4703
DM
203362012-03-16 David S. Miller <davem@davemloft.net>
20337
20338 * sysdeps/sparc/fpu/math_private.h: New file.
20339
006f1daa
DM
203402012-03-15 David S. Miller <davem@davemloft.net>
20341
c0c83bc8
DM
20342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
20343 file.
e6a62e18 20344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
20345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
20346 file.
e6a62e18
DM
20347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
20348 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
20349 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
20350 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
20351 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
20352 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
20353 sysdep routines.
20354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20355
88cb87d9
DM
20356 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
20357 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
20358
006f1daa 20359 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
20360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
20361 sparc-ifunc.h
006f1daa 20362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
20363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20364 Likewise.
20365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20366 Likewise.
006f1daa
DM
20367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
20368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
20370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20371 Likewise.
006f1daa
DM
20372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
20374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
20376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
20377 Likewise.
20378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
20379 Likewise.
006f1daa
DM
20380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
20383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
20384 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20385 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20386 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
20387 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
20388 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20389 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20390 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
20391 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
20392 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
20393 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
20394 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
20395 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20396 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
20397 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20398 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
20399 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20400 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
20401 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20402 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
20403 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20404
11e0098e
AS
204052012-03-15 Andreas Schwab <schwab@linux-m68k.org>
20406
20407 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
20408 scaling.
20409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20410
e85b09d0
AJ
204112012-03-15 Andreas Jaeger <aj@suse.de>
20412
20413 [BZ #13852]
20414 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
20415 ieee754/flt-32 implementation for sin, cos and sincos.
20416 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
20417 * sysdeps/i386/fpu/s_cosf.S: Likewise.
20418 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
20419 * sysdeps/i386/fpu/s_sinf.S: Likewise.
20420 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
20421 ieee754/flt-32 implementation for tan.
20422
20423 * math/libm-test.inc (cos_test): Enable some large input tests for
20424 float as well
20425 (sin_test): Likewise.
20426 (sincos_test): Likewise.
20427 (tan_test): Add tests for large input.
20428
20429 * sysdeps/i386/fpu/libm-test-ulps: Update.
20430
81c64153
AJ
204312012-03-15 Andreas Jaeger <aj@suse.de>
20432
20433 [BZ #13658]
20434 * math/libm-test.inc (cos_test): Add more test cases.
20435 (sin_test): Likewise.
20436 (sincos_test): Likewise.
20437
7bbfa5c6
AJ
204382012-03-15 Andreas Jaeger <aj@suse.de>
20439
20440 [BZ #13837]
20441 * math/libm-test.inc (cos_test): Add a test case for large input
20442 value.
20443 (sin_test): Likewise.
20444 (sincos_test): Likewise.
20445
204462012-03-15 Andreas Jaeger <aj@suse.de>,
20447 Joseph Myers <joseph@codesourcery.com>
20448
20449 [BZ #13658]
0671f479 20450 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
20451 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
20452 * sysdeps/i386/fpu/branred.c: Likewise.
20453 * sysdeps/i386/fpu/dosincos.c: Likewise.
20454 * sysdeps/i386/fpu/mpa.c: Likewise.
20455 * sysdeps/i386/fpu/s_cos.S: Likewise.
20456 * sysdeps/i386/fpu/s_sin.S: Likewise.
20457 * sysdeps/i386/fpu/s_sincos.S: Likewise.
20458 * sysdeps/i386/fpu/sincos32.c: Likewise.
20459
20460 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
20461 Define.
20462 (libc_feupdateenv_53bit): Define.
20463 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
20464 Define.
20465 (libc_feupdateenv_53bit): Define.
20466
20467 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
20468 53 bit (without extend i386 double precision).
20469
20470 * math/libm-test.inc (sincos_test): Add tests for large input.
20471 (sin): Likewise.
20472 (cos): Likewise.
20473
20474 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20475
9cad04ea
AS
204762012-03-15 Andreas Schwab <schwab@linux-m68k.org>
20477
20478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20479
f7062b9a
DM
204802012-03-15 David S. Miller <davem@davemloft.net>
20481
20482 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
20483 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
20484 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
20485 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
20486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
20487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
20488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
20489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
20490 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
20491 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
20492 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
20493 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
20494 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
20495 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
20496 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
20497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
20498 file.
f7062b9a 20499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
20500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
20501 file.
f7062b9a 20502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
20503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
20504 file.
f7062b9a 20505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
20506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
20507 file.
f7062b9a
DM
20508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
20509 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
20510 fmin/fmax sysdep routines.
20511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20512
7bd951ff
DM
205132012-03-14 David S. Miller <davem@davemloft.net>
20514
559398ab
DM
20515 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
20516 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
20517 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
20518 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
20519 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
20520 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
20521 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
20522 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
20523 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
20524 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
20525 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
20526 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
20527 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
20528 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
20529 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
20530 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
20531 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
20532 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
20533 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
20534 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
20535 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
20536 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
20537 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
20538 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
20539 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
20540 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
20541 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
20542 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
20543 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
20544 routines.
20545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
20546 file.
559398ab 20547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
20548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
20549 file.
559398ab 20550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
20551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
20552 file.
559398ab 20553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
20554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
20555 file.
559398ab 20556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
20557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
20558 file.
559398ab 20559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
20560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
20561 file.
20562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
20563 file.
20564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
20565 file.
20566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
20567 file.
20568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
20569 New file.
20570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
20571 file.
20572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
20573 file.
559398ab 20574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
20575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
20576 file.
559398ab 20577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
20578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
20579 file.
559398ab 20580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
20581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
20582 file.
559398ab 20583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
20584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
20585 VIS3 routines.
559398ab
DM
20586
20587 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20588 New file.
20589
5a1c1e32
DM
20590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20591
eae47a36
DM
20592 * sysdeps/sparc/configure.in: New file.
20593 * sysdeps/sparc/configure: Generate.
20594 * configure.in (libc_cv_sparc_as_vis3): Substitute.
20595 * configure: Regenerate.
20596 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
20597 * config.make.in (have-as-vis3): New.
20598 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
20599 available use -Av9d instead of -Av9a.
20600 * sysdeps/sparc/sparc64/Makefile: Likewise.
20601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
20602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
20603 New file.
20604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
20605 file.
20606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
20607 New file.
20608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
20609 file.
eae47a36
DM
20610 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
20611 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
20612 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
20613 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
20614 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
20615
c0c83bc8
DM
20616 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
20617 fzeros/fnegs to load 0x80000000 into a float register instead of
20618 using the stack.
7bd951ff
DM
20619 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
20620
bd951ccb
JM
206212012-03-14 Joseph Myers <joseph@codesourcery.com>
20622
20623 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20624 bits/syscall.h.
20625 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
20626 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
20627 ($(inst_includedir)/bits/syscall.h): Remove rule.
20628 ($(objpfx)bits/syscall.d): Include instead of
20629 $(objpfx)syscall-list.d.
20630 (generated): Change syscall-list.h and syscall-list.d to
20631 bits/syscall.h and bits/syscall.d.
20632
bb4e6db2
RM
206332012-03-14 Roland McGrath <roland@hack.frob.com>
20634
20635 [BZ #13846]
20636 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
20637
aa4a2ae1
JM
206382012-03-14 Joseph Myers <joseph@codesourcery.com>
20639
e456826d
JM
20640 [BZ #13841]
20641 * math/s_csqrt.c: Include <float.h>.
20642 (__csqrt): Scale large or subnormal inputs.
20643 * math/s_csqrtf.c: Likewise.
20644 * math/s_csqrtl.c: Likewise.
20645 * math/libm-test.inc (csqrt_test): Add more tests.
20646 * sysdeps/i386/fpu/libm-test-ulps: Update.
20647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20648
aa4a2ae1
JM
20649 [BZ #13840]
20650 * math/libm-test.inc (hypot_test): Add more tests.
20651
7c10fd35
DM
206522012-03-13 David S. Miller <davem@davemloft.net>
20653
20654 [BZ #13840]
20655 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
20656 double-precision for the calculation instead of scaling.
20657
f453b98b
JM
206582012-03-13 Joseph Myers <joseph@codesourcery.com>
20659
20660 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
20661 manipulate bits before adding and subtracting TWO52[sx].
20662 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
20663 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
20664 Likewise.
20665 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
20666
09a3453f
DM
206672012-03-13 David S. Miller <davem@davemloft.net>
20668
8e59da90
DM
20669 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
20670 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
20671 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
20672 rtld-global-offsets.h
20673 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20674
2a8ab7f2
DM
20675 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
20676 large parameters.
20677
10f62770
DM
20678 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
20679
5f0bdb18
DM
20680 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
20681 'err' in the ifdef scope in which it is actually used.
20682
09a3453f
DM
20683 * nss/nss_db/db-init.c: Include string.h
20684
b4b2eb5e
DM
206852012-03-12 David S. Miller <davem@davemloft.net>
20686
98bb2f1c
DM
20687 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20688 masking out of the most significant byte of random value used.
20689 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20690 Fix coding style in previous change.
20691
b4b2eb5e
DM
20692 * sysdeps/unix/sysv/linux/kernel-features.h
20693 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
20694 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
20695 expression.
20696 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
20697 later.
20698
6e226b09
DM
206992012-03-11 David S. Miller <davem@davemloft.net>
20700
a1bcbd40
DM
20701 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20702 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
20703 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
20704 for 'resultvar' otherwise things get truncated on 64-bit.
20705
cb9d6174
DM
20706 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20707 Fix masking out of the most significant byte of random value used.
20708
6e226b09
DM
20709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20710
058c132d
AS
207112012-03-10 Andreas Schwab <schwab@linux-m68k.org>
20712
20713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20714
2d2cd515
DM
207152012-03-09 David S. Miller <davem@davemloft.net>
20716
20717 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
20718 variables with appropriate CPP guards.
20719 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
20720 frame pointer, not the stack pointer. Correct layout comments. Fix test
20721 on resulting framesize and the management of the outregs buffer for pltexit.
20722 Preserve floating point return values across _dl_call_pltexit call.
20723 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
20724 framesize and the management of the outregs buffer for pltexit.
20725 Preserve floating point return values across _dl_call_pltexit
20726 call.
20727 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
20728 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
20729 (print_exit): Fix format string for return register value.
20730
9a07f9d0
JM
207312012-03-10 Joseph Myers <joseph@codesourcery.com>
20732
20733 * sunrpc/Makefile (others): Add rpcgen.
20734 ($(objpfx)rpcgen): Remove special build rule and dependency on
20735 libc.
20736 * sunrpc/rpcgen.c: New file.
20737
547b5e30
PE
207382012-03-09 Paul Eggert <eggert@cs.ucla.edu>
20739
c524201a
PE
20740 [BZ #13673]
20741 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
20742 * stdio-common/bug-vfprintf-nargs.c: Likewise.
20743 * sysdeps/i386/crti.S: Likewise.
20744 * sysdeps/i386/crtn.S: Likewise.
20745 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
20746 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
20747 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
20748 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
20749 * sysdeps/sh/crti.S: Likewise.
20750 * sysdeps/sh/crtn.S: Likewise.
20751 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20752
7b6235f2
PE
20753 [BZ #13673]
20754 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
20755 with URL.
20756 * locale/programs/locfile-kw.gperf: Likewise.
20757 * locale/programs/charmap-kw.h: Regenerated.
20758 * locale/programs/locfile-kw.h: Likewise.
20759
547b5e30
PE
20760 [BZ #13673]
20761 * intl/plural.y: Replace FSF snail mail address with URL.
20762 * intl/plural.c: Regenerated.
20763
5f0a5dae
RH
207642012-03-09 Richard Henderson <rth@twiddle.net>
20765
20766 * include/math_private.h: Remove file.
20767 * math/math_private.h: Move file ...
20768 * sysdeps/generic/math_private.h: ... here.
20769
b8c03620
RH
20770 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
20771 * sysdeps/powerpc/fpu/math_private.h: Likewise.
20772 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20773
4e234f5d 20774 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
20775 and <math_private.h>.
20776 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20777 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20778 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20779 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20780 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20781 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
20782 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20783 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20784 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20785 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20786 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20787 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20788 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20789 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20790 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20791 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20792 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20793 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20794 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20795 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20796 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20797 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20798 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20799 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20800 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20801 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20802 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20803 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20804 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20805 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20806 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20807 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20808 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20809 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20810 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20811 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20812 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20813 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20814 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20815 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20816 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
20817 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20818 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20819 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20820 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20821 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20822 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
20823 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20824 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20825 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20826 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20827 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
20828 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20829 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20830 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20831 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20832 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20833 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20834 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20835 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
20836 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20837 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20838 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20839 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20840 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
20841 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20842 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20843 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20844 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
20845 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
20846 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20847 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20848 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20849 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20850 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
20851 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
20852 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
20853 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20854 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
20855 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
20856 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20857 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
20858 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20859 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20860 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20861 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
20862 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
20863 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
20864 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20865 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20866 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20867 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20868 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20869 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20870 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20871 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20872 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20873 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20874 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20875 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20876 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20877 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20878 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20879 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20880 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20881 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20882 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20883 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20884 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20885 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20886 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20887 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20888 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20889 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20890 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
20891 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20892 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20893 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20894 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20895 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20896 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20897 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20898 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20899 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
20900 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20901 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20902 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20903 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
20904 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20905 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
20906 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
20907 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20908 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20909 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
20910 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
20911 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20912 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20913 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20914 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
20915 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20916 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20917 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20918 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20919 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
20920 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
20921 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20922 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20923 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20924 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
20925 * sysdeps/ieee754/k_standard.c: Likewise.
20926 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20927 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20928 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20929 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20930 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20931 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20932 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20933 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20934 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20935 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20936 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20937 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20938 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20939 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20940 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20941 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20942 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20943 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20944 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20945 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
20946 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
20947 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
20948 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20949 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20950 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20951 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20952 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20953 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20954 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20955 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20956 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20957 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20958 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20959 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20960 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20961 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20962 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20963 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
20964 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
20965 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20966 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20967 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20968 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20969 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20970 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20971 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20972 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20973 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20974 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20975 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20976 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20977 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20978 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20979 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
20980 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20981 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20982 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
20983 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
20984 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20985 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20986 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20987 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20988 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20989 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20990 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20991 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20992 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20993 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20994 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20995 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20996 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20997 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20998 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20999 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21000 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21001 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21002 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
21003 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21004 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21005 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21006 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21007 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21008 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21009 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21010 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
21011 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21012 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21013 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21014 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21015 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21016 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
21017 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21018 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21019 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21020 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21021 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21022 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
21023 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21024 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21025 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
21026 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21027 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21028 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21029 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21030 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
21031 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21032 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21033 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21034 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
21035 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21036 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21037 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21038 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21039 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21040 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21041 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21042 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21043 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21044 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21045 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21046 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21047 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21048 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21049 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21050 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21051 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
21052 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21053 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21054 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21055 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21056 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21057 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21058 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21059 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21060 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21061 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21062 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
21063 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21064 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21065 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
21066 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
21067 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21068 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
21069 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
21070 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21071 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21072 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21073 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21074 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21075 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
21076 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21077 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21078 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21079 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21080 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
21081 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
21082 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21083 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21084 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21085 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21086 * sysdeps/ieee754/s_lib_version.c: Likewise.
21087 * sysdeps/ieee754/s_matherr.c: Likewise.
21088 * sysdeps/ieee754/s_signgam.c: Likewise.
21089 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21090 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21091 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
21092 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
21093 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
21094 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21095 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
21096 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
21097 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
21098 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
21099 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21100 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
21101 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21102 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21103 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
21104 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21105 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21106 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21107 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21108 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21109 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 21110
1991fa03
JM
211112012-03-09 Joseph Myers <joseph@codesourcery.com>
21112
21113 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
21114 * sunrpc/rpc_main.c: Likewise.
21115 * sunrpc/rpc_svcout.c: Likewise.
21116
60d6f5a6
DM
211172012-03-09 David S. Miller <davem@davemloft.net>
21118
21119 * include/math_private.h: New file.
21120
4962050e
JM
211212012-03-09 Joseph Myers <joseph@codesourcery.com>
21122
02a6f887
JM
21123 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
21124 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
21125 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
21126 from <bits/socket_type.h>.
21127 (enum __socket_type): Don't define here.
21128 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
21129 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21130 bits/socket_type.h.
21131
c6e013c1
JM
21132 [BZ #13566]
21133 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
21134 checking __USE_GNU.
21135
4962050e
JM
21136 * Makerules ($(inst_includedir)/%.h): New rule.
21137 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
21138 (install-others): Remove variable setting.
21139 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
21140
38842f45
RH
211412012-03-08 Richard Henderson <rth@twiddle.net>
21142
67bb6da6
RH
21143 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
21144 from macro to inline function; merge with the
21145 !__LIBC_INTERNAL_MATH_INLINES version.
21146 (__ieee754_sqrtf): Likewise.
21147
15194b4b
RH
21148 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
21149 to inline function.
21150 (__rintf, __floor, __floorf): Likewise.
21151
64e21ede
RH
21152 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
21153 macro to inline function.
21154 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
21155
38842f45
RH
21156 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
21157 not <math/math_private.h>.
21158
c64bf5fe
DM
211592012-03-08 David S. Miller <davem@davemloft.net>
21160
21161 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
21162 copyright year.
21163 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
21164
82d86f28
TS
211652012-03-08 Thomas Schwinge <thomas@codesourcery.com>
21166
21167 * resolv/gai_misc.c (handle_requests): Fix struct timespec
21168 normalization.
21169 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
21170 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21171
aea5d727
UD
211722012-03-08 Ulrich Drepper <drepper@gmail.com>
21173
21174 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
21175 be defined individually, they must be defined as a block. Define
21176 S for printing a string instead of hidint the different by using a
21177 macro for adding the 'l'.
21178 * stdio-common/tst-fphex-wide.c: Adjust.
21179
70bca0a3
MP
211802012-03-07 Marek Polacek <polacek@redhat.com>
21181
21182 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
21183
65b81130
MP
211842012-03-08 Marek Polacek <polacek@redhat.com>
21185
21186 [BZ #13806]
21187 * stdio-common/Makefile (tests): Add tst-fphex-wide.
21188 * stdio-common/tst-fphex.c: Define a few macros to make the
21189 test reusable. Use them.
21190 * stdio-common/tst-fphex-wide.c: New file.
21191
07037eeb
JM
211922012-03-08 Joseph Myers <joseph@codesourcery.com>
21193
a7a93d50
JM
21194 [BZ #6911]
21195 * manual/macros.texi (gnusystems): New macro.
21196 (nongnusystems): Likewise.
21197 (gnulinuxhurdsystems): Likewise.
21198 (gnuhurdsystems): Likewise..
21199 (gnulinuxsystems): Likewise.
21200 * manual/charset.texi: Use new macros or @theglibc{} to refer to
21201 variants of the GNU system, not "GNU system".
21202 * manual/conf.texi: Likewise.
21203 * manual/errno.texi: Likewise. Update example of errno macro
21204 expansion.
21205 * manual/filesys.texi: Likewise.
21206 (getumask): Document as specific to GNU/Hurd.
21207 * manual/install.texi: Likewise. Reword some references to
21208 GNU/Linux.
21209 * manual/intro.texi: Likewise.
21210 * manual/io.texi: Likewise.
21211 (File Name Portability): Detail which constraints are inapplicable
21212 to all GNU systems and which are only inapplicable to GNU/Hurd.
21213 * manual/job.texi: Likewise.
21214 * manual/llio.texi: Likewise.
21215 (O_NOCTTY): Document as present on GNU/Linux.
21216 * manual/maint.texi: Likewise.
21217 * manual/memory.texi: Likewise.
21218 * manual/pattern.texi: Likewise.
21219 * manual/pipe.texi: Likewise.
21220 * manual/process.texi: Likewise.
21221 * manual/resource.texi: Likewise.
21222 (RUSAGE_CHILDREN): Remove statement about specifying a particular
21223 child on GNU/Hurd.
21224 * manual/setjmp.texi: Likewise.
21225 * manual/signal.texi: Likewise.
21226 * manual/startup.texi: Likewise.
21227 * manual/stdio.texi: Likewise.
21228 * manual/terminal.texi: Likewise.
21229 (ONLCR): Document as POSIX.
21230 (OXTABS): Document availability on GNU/Linux as XTABS.
21231 (ONOEOT): Document availability separately from other bits.
21232 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
21233 * manual/time.texi: Likewise.
21234 * manual/users.texi: Likewise.
21235 * INSTALL: Regenerated.
21236 * sysdeps/gnu/errlist.c: Regenerated.
21237
07037eeb
JM
21238 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
21239 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
21240 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
21241 puts.
21242 * configure: Regenerated.
21243
d1d3431a
JM
212442012-03-07 Joseph Myers <joseph@codesourcery.com>
21245
af6a1e37
JM
21246 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
21247 default includes instead of AC_HEADER_CHECK.
21248 * sysdeps/i386/configure: Regenerated.
21249
d1d3431a
JM
21250 [BZ #10716]
21251 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
21252 * math/s_cacoshf.c (__cacoshf): Likewise.
21253 * math/s_cacoshl.c (__cacoshl): Likewise.
21254 * math/s_casinh.c (__casinh): Set signs of result from argument.
21255 * math/s_casinhf.c (__casinhf): Likewise.
21256 * math/s_casinhl.c (__casinhl): Likewise.
21257 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
21258 (casinh_test): Add more tests.
21259 * sysdeps/i386/fpu/libm-test-ulps: Update.
21260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21261
482ff4da
UD
212622012-03-07 Ulrich Drepper <drepper@gmail.com>
21263
872fda05
UD
21264 * po/zh_TW.po: Update from translation team.
21265
a4300c7a
UD
21266 * login/Makefile (distribute): Remove variable.
21267 * catgets/Makefile: Likewise.
21268 * mach/Makefile: Likewise.
21269 * malloc/Makefile: Likewise.
21270 * misc/Makefile: Likewise.
21271 * iconv/Makefile: Likewise.
21272 * nscd/Makefile: Likewise.
21273 * hurd/Makefile: Likewise.
21274 * manual/Makefile: Likewise.
21275 * locale/Makefile: Likewise.
21276 * intl/Makefile: Likewise.
21277 * conform/Makefile: Likewise.
21278 * nss/Makefile: Likewise.
21279 * time/Makefile: Likewise.
21280 * soft-fp/Makefile: Likewise.
21281 * dirent/Makefile: Likewise.
21282 * gmon/Makefile: Likewise.
21283 * po/Makefile: Likewise.
21284 * rt/Makefile: Likewise.
21285 * socket/Makefile: Likewise.
21286 * math/Makefile: Likewise.
21287 * signal/Makefile: Likewise.
21288 * debug/Makefile: Likewise.
21289 * elf/Makefile: Likewise.
21290 * timezone/Makefile: Likewise.
21291 * stdlib/Makefile: Likewise.
21292 * iconvdata/Makefile: Likewise.
21293 * sunrpc/Makefile: Likewise.
21294 * io/Makefile: Likewise.
21295 * argp/Makefile: Likewise.
21296 * inet/Makefile: Likewise.
21297 * hesiod/Makefile: Likewise.
21298 * grp/Makefile: Likewise.
21299 * csu/Makefile: Likewise.
21300 * wctype/Makefile: Likewise.
21301 * crypt/Makefile: Likewise.
21302 * libio/Makefile: Likewise.
21303 * string/Makefile: Likewise.
21304 * nis/Makefile: Likewise.
21305 * resolv/Makefile: Likewise.
21306 * stdio-common/Makefile: Likewise.
21307 * wcsmbs/Makefile: Likewise.
21308 * dlfcn/Makefile: Likewise.
21309 * posix/Makefile: Likewise.
21310
3b7c4e74 21311 [BZ #6959]
482ff4da
UD
21312 * timezone/Makefile: Don't install timezone files, just the programs
21313 and scripts.
21314
f72ed77d
UD
213152012-03-06 Ulrich Drepper <drepper@gmail.com>
21316
a000466f
UD
21317 * nss/databases.def: Add missing gshadow entry.
21318
f72ed77d
UD
21319 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
21320
a53b7a4e
MP
213212012-03-06 Marek Polacek <polacek@redhat.com>
21322
21323 [BZ #13726]
21324 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
21325 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21326 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
21327 * stdio-common/tst-long-dbl-fphex.c: New file.
21328
e9258400
DM
213292012-03-06 David S. Miller <davem@davemloft.net>
21330
21331 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21332 (set_obp_int): New function.
21333 (get_obp_int): New function.
21334 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
21335 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
21336 Avoid unused variable warnings on 'val' and use builtin_expect.
21337 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
21338 __builtin_expect.
e9258400
DM
21339 (INLINE_CLONE_SYSCALL): Likewise.
21340
3bd2c723
DM
213412012-03-05 David S. Miller <davem@davemloft.net>
21342
21343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21344
bbb78d03
AS
213452012-03-05 Andreas Schwab <schwab@linux-m68k.org>
21346
884c5db4
AS
21347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21348
bbb78d03
AS
21349 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
21350 only for |x| >= 40.
21351 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21352
1c9f702a 213532012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
21354
21355 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
21356 Replace gettimeofday with __vdso_gettimeofday.
21357
7be16f82
RM
21358 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21359 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
21360 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
21361
21362 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
21363 time with __vdso_time.
21364
ed58a00f
JM
213652012-03-05 Joseph Myers <joseph@codesourcery.com>
21366
21367 * manual/lang.texi (size_t): Note types to which size_t may be
21368 equivalent with the GNU C Library, but do not describe when
21369 differences between them are significant.
21370
30ee4ced
AJ
213712012-03-05 Andreas Jaeger <aj@suse.de>
21372
21373 * sysdeps/i386/fpu/libm-test-ulps: Update.
21374
b7cd39e8
JM
213752012-03-05 Joseph Myers <joseph@codesourcery.com>
21376
21377 [BZ #3976]
21378 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
21379 (__ieee754_pow): Save and restore rounding mode and use
21380 round-to-nearest for main computations.
21381 * math/libm-test.inc (pow_test_tonearest): New function.
21382 (pow_test_towardzero): Likewise.
21383 (pow_test_downward): Likewise.
21384 (pow_test_upward): Likewise.
21385 (main): Call the new functions.
21386 * sysdeps/i386/fpu/libm-test-ulps: Update.
21387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
21388
21389 [BZ #3976]
21390 * math/libm-test.inc (cosh_test_tonearest): New function.
21391 (cosh_test_towardzero): Likewise.
21392 (cosh_test_downward): Likewise.
21393 (cosh_test_upward): Likewise.
21394 (sinh_test_tonearest): Likewise.
21395 (sinh_test_towardzero): Likewise.
21396 (sinh_test_downward): Likewise.
21397 (sinh_test_upward): Likewise.
21398 (main): Call the new functions.
21399 * sysdeps/i386/fpu/libm-test-ulps: Update.
21400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21401
6c6a98c9
TV
214022012-03-05 Tom de Vries <tom@codesourcery.com>
21403
21404 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
21405 default stack guard is set in last bytes.
21406 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
21407
21bb2d2e 214082012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 21409
21bb2d2e 21410 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 21411
21bb2d2e
AJ
21412 [BZ #13656]
21413 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
21414 possibly allocate from heap instead of stack.
21415 * stdio-common/bug-vfprintf-nargs.c: New file.
21416 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 21417
c6922934
AS
214182012-03-03 Andreas Schwab <schwab@linux-m68k.org>
21419
21420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21421
bc957d53
MP
214222012-03-03 Marek Polacek <polacek@redhat.com>
21423
21424 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
21425 * math/math_private.h: Likewise.
21426 * stdlib/tst-strtod.c: Likewise.
21427 * sysdeps/i386/i486/bits/atomic.h: Likewise.
21428 * sysdeps/x86_64/bits/atomic.h: Likewise.
21429
6358490d
DM
214302012-03-02 David S. Miller <davem@davemloft.net>
21431
21432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
21433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
21434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
21435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
21436 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
21437 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
21438 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
21439 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
21440
01ae168d
RM
214412012-03-02 Roland McGrath <roland@hack.frob.com>
21442
d9a17c07
RM
21443 [BZ #13792]
21444 * manual/examples/README: New file, says the example source files
21445 can be used under GPL>=2.
21446 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
21447 line containing just "*/".
21448 * manual/examples/add.c: Add copyright header (GPL>=2).
21449 * manual/examples/argp-ex1.c: Likewise.
21450 * manual/examples/argp-ex2.c: Likewise.
21451 * manual/examples/argp-ex3.c: Likewise.
21452 * manual/examples/argp-ex4.c: Likewise.
21453 * manual/examples/atexit.c: Likewise.
21454 * manual/examples/db.c: Likewise.
21455 * manual/examples/dir.c: Likewise.
21456 * manual/examples/dir2.c: Likewise.
21457 * manual/examples/execinfo.c: Likewise.
21458 * manual/examples/filecli.c: Likewise.
21459 * manual/examples/filesrv.c: Likewise.
21460 * manual/examples/fmtmsgexpl.c: Likewise.
21461 * manual/examples/genpass.c: Likewise.
21462 * manual/examples/inetcli.c: Likewise.
21463 * manual/examples/inetsrv.c: Likewise.
21464 * manual/examples/isockad.c: Likewise.
21465 * manual/examples/longopt.c: Likewise.
21466 * manual/examples/memopen.c: Likewise.
21467 * manual/examples/memstrm.c: Likewise.
21468 * manual/examples/mkfsock.c: Likewise.
21469 * manual/examples/mkisock.c: Likewise.
21470 * manual/examples/mygetpass.c: Likewise.
21471 * manual/examples/pipe.c: Likewise.
21472 * manual/examples/popen.c: Likewise.
21473 * manual/examples/rprintf.c: Likewise.
21474 * manual/examples/search.c: Likewise.
21475 * manual/examples/select.c: Likewise.
21476 * manual/examples/setjmp.c: Likewise.
21477 * manual/examples/sigh1.c: Likewise.
21478 * manual/examples/sigusr.c: Likewise.
21479 * manual/examples/stpcpy.c: Likewise.
21480 * manual/examples/strdupa.c: Likewise.
21481 * manual/examples/strftim.c: Likewise.
21482 * manual/examples/strncat.c: Likewise.
21483 * manual/examples/subopt.c: Likewise.
21484 * manual/examples/swapcontext.c: Likewise.
21485 * manual/examples/termios.c: Likewise.
21486 * manual/examples/testopt.c: Likewise.
21487 * manual/examples/testpass.c: Likewise.
21488 * manual/examples/timeval_subtract.c: Likewise.
21489
01ae168d
RM
21490 [BZ #13792]
21491 * manual/time.texi (Elapsed Time): Move timeval_subtract example
21492 function to ...
21493 * manual/timeval_subtract.c.texi: ... here, new file.
21494
49efa33d
DM
214952012-03-02 David S. Miller <davem@davemloft.net>
21496
21497 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
21498
28afd92d
JM
214992012-03-02 Joseph Myers <joseph@codesourcery.com>
21500
804360ed
JM
21501 [BZ #3976]
21502 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
21503 (__sin): Save and restore rounding mode and use round-to-nearest
21504 for all computations.
21505 (__cos): Save and restore rounding mode and use round-to-nearest
21506 for all computations.
21507 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
21508 <fenv.h>.
21509 (tan): Save and restore rounding mode and use round-to-nearest for
21510 all computations.
21511 * math/libm-test.inc (cos_test_tonearest): New function.
21512 (cos_test_towardzero): Likewise.
21513 (cos_test_downward): Likewise.
21514 (cos_test_upward): Likewise.
21515 (sin_test_tonearest): Likewise.
21516 (sin_test_towardzero): Likewise.
21517 (sin_test_downward): Likewise.
21518 (sin_test_upward): Likewise.
21519 (tan_test_tonearest): Likewise.
21520 (tan_test_towardzero): Likewise.
21521 (tan_test_downward): Likewise.
21522 (tan_test_upward): Likewise.
21523 (main): Call the new functions.
21524 * sysdeps/i386/fpu/libm-test-ulps: Update.
21525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21526
a6d06d7b
JM
21527 [BZ #10135]
21528 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
21529 small n, then large n, before computing and testing k+n.
21530 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21531 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
21532 Likewise.
21533 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
21534 Likewise.
21535 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
21536 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
21537 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
21538 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
21539 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21540 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21541 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
21542 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
21543 * math/libm-test.inc (scalbn_test): Add more tests.
21544 (scalbln_test): Likewise.
21545
07e12bb3
JM
21546 * manual/filesys.texi (mode_t): Describe constraints on size and
21547 signedness, not exact equivalence to a particular type.
21548 (ino_t): Likewise.
21549 (ino64_t): Likewise.
21550 (dev_t): Likewise.
21551 (nlink_t): Likewise.
21552 (blkcnt_t): Likewise.
21553 (blkcnt64_t): Likewise.
21554 * manual/llio.texi (off_t): Likewise.
21555
28afd92d
JM
21556 [BZ #3976]
21557 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
21558 (__ieee754_exp): Save and restore rounding mode and use
21559 round-to-nearest for all computations.
21560 * math/libm-test.inc (exp_test_tonearest): New function.
21561 (exp_test_towardzero): Likewise.
21562 (exp_test_downward): Likewise.
21563 (exp_test_upward): Likewise.
21564 (main): Call the new functions.
21565 * sysdeps/i386/fpu/libm-test-ulps: Update.
21566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21567
b1eeb65d
CD
215682012-03-01 Chris Demetriou <cgd@google.com>
21569
21570 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
21571 have predictable order.
21572
53362a4b
DM
215732012-03-01 David S. Miller <davem@davemloft.net>
21574
3c969083
DM
21575 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
21576
759707de
DM
21577 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
21578 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
21579 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
21580 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
21581
dfdb8ff2
DM
21582 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
21583 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
21584 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
21585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
21586 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
21587 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
21588 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
21589 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
21590 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
21591
ead89f96
DM
21592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21593
7f66bd07
DM
21594 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
21595 * sysdeps/sparc/fpu/libm-test-ulps: to here.
21596 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
21597
53362a4b
DM
21598 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
21599 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21600 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
21601 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
21602 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
21603 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
21604 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
21605 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21606 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
21607 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
21608 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
21609 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21610 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21611 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
21612 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21613 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21614 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
21615 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
21616 * sysdeps/sparc/elf/configure: Regenerated.
21617
7b1902cb
JM
216182012-03-01 Joseph Myers <joseph@codesourcery.com>
21619
bec039bc
JM
21620 * configure.in (AS, LD): Require binutils 2.20 or later.
21621 * configure: Regenerated.
21622 * manual/install.texi (Tools for Compilation): Give binutils 2.20
21623 as required minimum version.
21624 * INSTALL: Regenerated.
21625
7b1902cb
JM
21626 [BZ #2541]
21627 [BZ #4108]
21628 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
21629 before squaring exponent.
21630 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
21631 bottom long double and 27 bits of top long double before squaring
21632 exponent.
21633 * math/libm-test.inc (erfc_test): Add more tests.
21634 * sysdeps/i386/fpu/libm-test-ulps: Update.
21635 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21637
f775c276
KT
216382012-03-01 Kai Tietz <ktietz@redhat.com>
21639
21640 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
21641 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
21642 containing bit-fields.
21643 * soft-fp/extended.h (_FP_UNION_E): Likewise.
21644 * soft-fp/single.h (_FP_UNION_S): Likewise.
21645 * soft-fp/double.h (_FP_UNION_D): Likewise.
21646
5b8a4d4a
JM
216472012-02-29 Joseph Myers <joseph@codesourcery.com>
21648
0bab47b6
JM
21649 [BZ #13786]
21650 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
21651 not include ../strcmp.S.
21652 [USE_AS_STRNCASECMP_L]: Likewise.
21653 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
21654 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
21655 * sysdeps/i386/i686/multiarch/strncase_l-c.c
21656 (__strncasecmp_l_ia32): Define as alias to
21657 __strncasecmp_l_nonascii.
21658
0fcad3e2
JM
21659 [BZ #5794]
21660 * math/libm-test.inc (expm1_test): Add test for bug 5794.
21661 * sysdeps/i386/fpu/libm-test-ulps: Update.
21662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21663
5b8a4d4a
JM
21664 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
21665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21666
8fdceb2e
JL
216672012-02-29 Jeff Law <law@redhat.com>
21668
21669 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
21670 out of bounds read.
21671
1f393a11
MP
216722012-02-29 Marek Polacek <polacek@redhat.com>
21673
21674 [BZ #13706]
21675 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
21676 * elf/Makefile: Add rules to run tst-unused-dep.out.
21677
8847f037
DM
216782012-02-28 David S. Miller <davem@davemloft.net>
21679
21680 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
21681 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
21682 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
21683 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
21684 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
21685 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
21686
169d7f11
JM
216872012-02-29 Joseph Myers <joseph@codesourcery.com>
21688
21689 * math/libm-test.inc (llround_test): Move one test from
21690 lround_test. Use TEST_f_L in moved test.
21691 (lround_test): Move misplaced test to llround_test. Add testcase
21692 from bug 2561.
21693
39adf059
UD
216942012-02-28 Ulrich Drepper <drepper@gmail.com>
21695
21696 * sysdeps/x86_64/fpu/e_expf.S: New file.
21697 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
21698
71b5d1c5
SB
216992012-02-28 Stanislav Brabec <sbrabec@suse.cz>
21700
21701 [BZ #13637]
21702 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
21703 of remain_len that may cause incomplete multi-byte character and
21704 false match.
21705 * posix/bug-regex33.c: New file.
21706 * posix/Makefile (tests): Add bug-regex33.
21707
1f77f049
JM
217082012-02-28 Joseph Myers <joseph@codesourcery.com>
21709
21710 * manual/macros.texi: New file.
21711 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
21712 * manual/libc.texinfo: Include macros.texi.
21713 * manual/creatute.texi: Likewise.
21714 * manual/install.texi: Likewise.
21715 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
21716 @glibcadj{} in references to the GNU C Library.
21717 * manual/charset.texi: Likewise.
21718 * manual/conf.texi: Likewise.
21719 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
21720 when not using those macros.
21721 * manual/creature.texi: Likewise.
21722 * manual/crypt.texi: Likewise.
21723 * manual/errno.texi: Likewise.
21724 * manual/filesys.texi: Likewise.
21725 * manual/header.texi: Likewise.
21726 * manual/install.texi: Likewise.
21727 * manual/intro.texi: Likewise.
21728 * manual/io.texi: Likewise.
21729 * manual/job.texi: Likewise.
21730 * manual/lang.texi: Likewise.
21731 * manual/libc.texiinfo: Likewise.
21732 * manual/llio.texi: Likewise.
21733 * manual/locale.texi: Likewise.
21734 * manual/maint.texi: Likewise.
21735 * manual/math.texi: Likewise.
21736 * manual/memory.texi: Likewise.
21737 * manual/message.texi: Likewise.
21738 * manual/nss.texi: Likewise.
21739 * manual/pattern.texi: Likewise.
21740 * manual/process.texi: Likewise.
21741 * manual/resource.texi: Likewise.
21742 * manual/search.texi: Likewise.
21743 * manual/setjmp.texi: Likewise.
21744 * manual/signal.texi: Likewise.
21745 * manual/socket.texi: Likewise.
21746 * manual/startup.texi: Likewise.
21747 * manual/stdio.texi: Likewise.
21748 * manual/string.texi: Likewise.
21749 * manual/sysinfo.texi: Likewise.
21750 * manual/syslog.texi: Likewise.
21751 * manual/terminal.texi: Likewise.
21752 * manual/time.texi: Likewise.
21753 * manual/users.texi: Likewise.
21754 * INSTALL: Regenerated.
21755 * NOTES: Regenerated.
d40c5d54 21756 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 21757
450bf206
AS
217582012-02-28 Andreas Schwab <schwab@linux-m68k.org>
21759
21760 * include/dirent.h: Include <dirstream.h> before
21761 <dirent/dirent.h>.
21762
741a235b
DM
217632012-02-28 David S. Miller <davem@davemloft.net>
21764
21765 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
21766 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
21767 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
21768 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
21769
d6b5aa58
DM
217702012-02-27 David S. Miller <davem@davemloft.net>
21771
1aff59a3
DM
21772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
21773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
21774 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
21775 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
21776
d6b5aa58
DM
21777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
21778 frame pointer instead of stack pointer relative arg slot.
21779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21780 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21781 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21782
433f48bf
CD
217832012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
21784
21785 [BZ #3992]
21786 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
21787
d674b76d
DM
217882012-02-27 David S. Miller <davem@davemloft.net>
21789
21790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
21791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
21794 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21795 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21796 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
21797 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
21798
0e7727f7
JM
217992012-02-27 Joseph Myers <joseph@codesourcery.com>
21800
21801 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
21802 later. Allow versions 5-9.
43be4ca2 21803 * configure: Regenerated.
0e7727f7
JM
21804 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
21805 required minimum version and 4.6 as recommended version. Do not
21806 mention bugs in GCC 2.7 and 2.8.
43be4ca2 21807 * INSTALL: Regenerated.
0e7727f7 21808
a78bc654
DM
218092012-02-27 David S. Miller <davem@davemloft.net>
21810
428d5830
DM
21811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
21812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
21813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
21814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
21815 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
21816 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
21817 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
21818 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
21819
a78bc654
DM
21820 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
21821 manipulate bits before adding and subtracting TWO112[sx].
21822 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21823
4579f81c
RM
218242012-02-27 Roland McGrath <roland@hack.frob.com>
21825
36c8acb4
RM
21826 [BZ #13775]
21827 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
21828 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
21829 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
21830 being in POSIX, because they are in 1003.1-2008.
21831
84ad622b
RM
21832 * rt/tst-aio.c: Include <fcntl.h>.
21833 * rt/tst-aio7.c: Likewise.
21834 * rt/tst-aio64.c: Likewise.
21835
4579f81c
RM
21836 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
21837
abd923db
JM
218382012-02-27 Joseph Myers <joseph@codesourcery.com>
21839
21840 * manual/install.texi (--with-headers): Describe headers as
21841 interface headers, not private headers.
21842 (Specific advice for GNU/Linux systems): Describe use of headers
21843 from "make headers_install", not private headers from older
21844 kernels.
43be4ca2 21845 * INSTALL: Regenerated.
abd923db
JM
21846 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
21847 Change to 2.6.19.
21848 * sysdeps/unix/sysv/linux/configure: Regenerated.
21849
6664049b
JM
21850 * manual/llio.texi (fclean): Remove documentation.
21851
bb8b6697
JM
21852 * manual/Makefile (libc-texi-generated): New variable. Include
21853 version.texi.
21854 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
21855 $(libc-texi-generated), not duplicated list of files.
21856 (version.texi, stamp-version): New rules.
21857 (realclean): Remove $(libc-texi-generated), not individual files
21858 from that list. Do not remove dir-add.texinfo.
21859 * manual/libc.texinfo: Comment out uses of edition numbers and
21860 references to printed manual. Remove last-updated dates.
21861 (EDITION): Comment out.
21862 (ISBN): Likewise.
21863 (VERSION, UPDATED): Remove.
21864 (version.texi): Include.
21865
12e5c3b9
AS
218662012-02-27 Andreas Schwab <schwab@linux-m68k.org>
21867
21868 * sysdeps/posix/spawni.c: Include <signal.h>.
21869 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
21870 * sysdeps/pthread/aio_fsync.c: Likewise.
21871
4efeffc1 218722012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 21873
ba63ba08
UD
21874 * conform/Makefile (tests): Run only when not cross-compiling and
21875 when fast-check is not defined.
21876
d94a4670
UD
21877 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
21878 * conform/data/limits.h-data: Fixes for POSIX2008.
21879 * conform/run-conformtest.sh: Run all tests.
21880 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
21881 headers.
21882 * include/bits/dlfcn.h: Likewise.
21883 * include/langinfo.h: Likewise.
21884 * include/monetary.h: Likewise.
21885 * include/sys/poll.h: Likewise.
21886
21887 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
21888 for __USE_GNU.
21889 * posix/spawn.h: Define __need_sigset_t.
21890 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
21891 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
21892 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
21893 to get sigevent_t only.
21894 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
21895 only for __USE_GNU.
21896 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21897 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21898 process_vm_writev only for __USE_GNU.
21899 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
21900
21901 * conform/Makefile: For now ignore errors from run-conformtest.
21902 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
21903 POSIX to avoid namespace pollution. Don't prepend headers.
21904 * conform/data/aio.h-data: Fixes for POSIX testing.
21905 * conform/data/fcntl.h-data: Likewise.
21906 * conform/data/glob.h-data: Likewise.
21907 * conform/data/grp.h-data: Likewise.
21908 * conform/data/pthread.h-data: Likewise.
21909 * conform/data/pwd.h-data: Likewise.
21910 * conform/data/signal.h-data: Likewise.
21911 * conform/data/spawn.h-data: Likewise.
21912 * conform/data/stdio.h-data: Likewise.
21913 * conform/data/stdlib.h-data: Likewise.
21914 * conform/data/stropts.h-data: Likewise.
21915 * conform/data/sys/mman.h-data: Likewise.
21916 * conform/data/sys/stat.h-data: Likewise.
21917 * conform/data/sys/types.h-data: Likewise.
21918 * conform/data/sys/wait.h-data: Likewise.
21919 * conform/data/time.h-data: Likewise.
21920 * conform/data/unistd.h-data: Likewise.
21921 * conform/data/utime.h-data: Likewise.
21922
21923 * io/sys/stat.h: fchmod was always in POSIX.
21924 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
21925 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
21926 * rt/aio.h: Define __need_timespec before including <time.h>.
21927 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
21928 struct. Add forward declaration of pthread_attr_t and use it in
21929 sigevent.
21930 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21931 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21932 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
21933 always remove CLK_TCK definition.
21934
c20105c3
AS
219352012-02-26 Andreas Schwab <schwab@linux-m68k.org>
21936
21937 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
21938
7a270350
UD
219392012-02-25 Ulrich Drepper <drepper@gmail.com>
21940
31341567
UD
21941 * conform/run-conformtest.sh: New file.
21942 * conform/Makefile: Run run-conformtest for tests.
21943 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
21944 support.
21945
21946 * conform/data/uchar.h-data: New file.
21947 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
21948 * conform/data/arpa/inet.h-data: Likewise.
21949 * conform/data/assert.h-data: Likewise.
21950 * conform/data/complex.h-data: Likewise.
21951 * conform/data/cpio.h-data: Likewise.
21952 * conform/data/ctype.h-data: Likewise.
21953 * conform/data/dirent.h-data: Likewise.
21954 * conform/data/dlfcn.h-data: Likewise.
21955 * conform/data/errno.h-data: Likewise.
21956 * conform/data/fcntl.h-data: Likewise.
21957 * conform/data/float.h-data: Likewise.
21958 * conform/data/fmtmsg.h-data: Likewise.
21959 * conform/data/fnmatch.h-data: Likewise.
21960 * conform/data/ftw.h-data: Likewise.
21961 * conform/data/glob.h-data: Likewise.
21962 * conform/data/grp.h-data: Likewise.
21963 * conform/data/iconv.h-data: Likewise.
21964 * conform/data/inttypes.h-data: Likewise.
21965 * conform/data/langinfo.h-data: Likewise.
21966 * conform/data/libgen.h-data: Likewise.
21967 * conform/data/limits.h-data: Likewise.
21968 * conform/data/locale.h-data: Likewise.
21969 * conform/data/math.h-data: Likewise.
21970 * conform/data/monetary.h-data: Likewise.
21971 * conform/data/mqueue.h-data: Likewise.
21972 * conform/data/ndbm.h-data: Likewise.
21973 * conform/data/net/if.h-data: Likewise.
21974 * conform/data/netdb.h-data: Likewise.
21975 * conform/data/netinet/in.h-data: Likewise.
21976 * conform/data/nl_types.h-data: Likewise.
21977 * conform/data/poll.h-data: Likewise.
21978 * conform/data/pthread.h-data: Likewise.
21979 * conform/data/pwd.h-data: Likewise.
21980 * conform/data/regex.h-data: Likewise.
21981 * conform/data/sched.h-data: Likewise.
21982 * conform/data/search.h-data: Likewise.
21983 * conform/data/semaphore.h-data: Likewise.
21984 * conform/data/setjmp.h-data: Likewise.
21985 * conform/data/signal.h-data: Likewise.
21986 * conform/data/spawn.h-data: Likewise.
21987 * conform/data/stdarg.h-data: Likewise.
21988 * conform/data/stdio.h-data: Likewise.
21989 * conform/data/stdlib.h-data: Likewise.
21990 * conform/data/string.h-data: Likewise.
21991 * conform/data/strings.h-data: Likewise.
21992 * conform/data/stropts.h-data: Likewise.
21993 * conform/data/sys/ipc.h-data: Likewise.
21994 * conform/data/sys/mman.h-data: Likewise.
21995 * conform/data/sys/msg.h-data: Likewise.
21996 * conform/data/sys/resource.h-data: Likewise.
21997 * conform/data/sys/select.h-data: Likewise.
21998 * conform/data/sys/sem.h-data: Likewise.
21999 * conform/data/sys/shm.h-data: Likewise.
22000 * conform/data/sys/socket.h-data: Likewise.
22001 * conform/data/sys/stat.h-data: Likewise.
22002 * conform/data/sys/statvfs.h-data: Likewise.
22003 * conform/data/sys/time.h-data: Likewise.
22004 * conform/data/sys/timeb.h-data: Likewise.
22005 * conform/data/sys/times.h-data: Likewise.
22006 * conform/data/sys/types.h-data: Likewise.
22007 * conform/data/sys/uio.h-data: Likewise.
22008 * conform/data/sys/un.h-data: Likewise.
22009 * conform/data/sys/utsname.h-data: Likewise.
22010 * conform/data/sys/wait.h-data: Likewise.
22011 * conform/data/syslog.h-data: Likewise.
22012 * conform/data/tar.h-data: Likewise.
22013 * conform/data/termios.h-data: Likewise.
22014 * conform/data/utime.h-data: Likewise.
22015 * conform/data/utmpx.h-data: Likewise.
22016 * conform/data/varargs.h-data: Likewise.
22017 * conform/data/wchar.h-data: Likewise.
22018 * conform/data/wctype.h-data: Likewise.
22019 * conform/data/wordexp.h-data: Likewise.
22020
22021 * include/stropts.h: New file.
22022 * include/uchar.h: New file.
22023 * include/aio.h: Changes to allow conformtest.pl to use the headers.
22024 * include/assert.h: Likewise.
22025 * include/ctype.h: Likewise.
22026 * include/dirent.h: Likewise.
22027 * include/dlfcn.h: Likewise.
22028 * include/fcntl.h: Likewise.
22029 * include/fnmatch.h: Likewise.
22030 * include/glob.h: Likewise.
22031 * include/grp.h: Likewise.
22032 * include/libio.h: Likewise.
22033 * include/locale.h: Likewise.
22034 * include/math.h: Likewise.
22035 * include/net/if.h: Likewise.
22036 * include/netdb.h: Likewise.
22037 * include/netinet/in.h: Likewise.
22038 * include/pthread.h: Likewise.
22039 * include/pwd.h: Likewise.
22040 * include/regex.h: Likewise.
22041 * include/sched.h: Likewise.
22042 * include/search.h: Likewise.
22043 * include/setjmp.h: Likewise.
22044 * include/signal.h: Likewise.
22045 * include/stdio.h: Likewise.
22046 * include/stdlib.h: Likewise.
22047 * include/string.h: Likewise.
22048 * include/sys/cdefs.h: Likewise.
22049 * include/sys/mman.h: Likewise.
22050 * include/sys/msg.h: Likewise.
22051 * include/sys/resource.h: Likewise.
22052 * include/sys/select.h: Likewise.
22053 * include/sys/socket.h: Likewise.
22054 * include/sys/stat.h: Likewise.
22055 * include/sys/statvfs.h: Likewise.
22056 * include/sys/time.h: Likewise.
22057 * include/sys/times.h: Likewise.
22058 * include/sys/uio.h: Likewise.
22059 * include/sys/utsname.h: Likewise.
22060 * include/sys/wait.h: Likewise.
22061 * include/termios.h: Likewise.
22062 * include/time.h: Likewise.
22063 * include/ulimit.h: Likewise.
22064 * include/unistd.h: Likewise.
22065 * include/utime.h: Likewise.
22066 * include/wchar.h: Likewise.
22067 * include/wctype.h: Likewise.
22068 * include/wordexp.h: Likewise.
22069
22070 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
22071
7a270350
UD
22072 * time/time.h: TIME_UTC must be a macro.
22073 Make timespec_get available for ISO C11 only as well.
22074
7724defc
UD
220752012-02-24 Ulrich Drepper <drepper@gmail.com>
22076
22077 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
22078 Reported by Peng Haitao <penght@cn.fujitsu.com>.
22079
6b1d1d46
JM
220802012-02-24 Joseph Myers <joseph@codesourcery.com>
22081
22082 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 22083
0f8bbd69
JM
220842012-02-24 Joseph Myers <joseph@codesourcery.com>
22085
22086 * manual/texinfo.tex: Update to version 2012-01-19.16.
22087
66ab80bc
JM
220882012-02-24 Joseph Myers <joseph@codesourcery.com>
22089
22090 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
22091
74981cc5
RM
220922012-02-24 Roland McGrath <roland@hack.frob.com>
22093
ee968201
RM
22094 [BZ #13738]
22095 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
22096 * manual/fdl-1.3.texi: New file.
22097 * manual/fdl-1.1.texi: File removed.
22098
74981cc5
RM
22099 [BZ #13738]
22100 * manual/libc.texinfo (FDL_VERSION): New @set.
22101 Use it for mention of FDL in cover text.
22102 (Documentation License): Use it in @include file name.
22103
7bb764bc
JM
221042012-02-22 Joseph Myers <joseph@codesourcery.com>
22105 Roland McGrath <roland@hack.frob.com>
22106
22107 [BZ #5461]
22108 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
22109 not LONG_LONG_MAX and LONG_LONG_MIN.
22110 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
22111 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
22112 name.
22113 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
22114
6cbeae47
JM
221152012-02-22 Joseph Myers <joseph@codesourcery.com>
22116
22117 [BZ #2547]
22118 [BZ #11365]
22119 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
22120 manipulate bits before adding and subtracting TWO23[sx].
22121 * math/libm-test.inc (nearbyint_test): Add more tests.
22122
fe45ce09
JM
221232012-02-22 Joseph Myers <joseph@codesourcery.com>
22124
22125 [BZ #2548]
22126 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
22127 bits before adding and subtracting TWO23[sx].
22128 * math/libm-test.inc (rint_test): Add more tests.
22129 (rint_test_tonearest): Likewise.
22130 (rint_test_towardzero): Likewise.
22131 (rint_test_downward): Likewise.
22132 (rint_test_upward: Likewise.
22133
ff3b3d82
JM
221342012-02-22 Joseph Myers <joseph@codesourcery.com>
22135
22136 [BZ #10110]
22137 * include/stdc-predef.h: New file. Extracted from features.h.
22138 * include/features.h: Include stdc-predef.h.
22139 * Makefile (headers): Add stdc-predef.h.
22140 * CONFORMANCE (Compiler limitations): Update.
22141
ef0aab35
JM
221422012-02-22 Joseph Myers <joseph@codesourcery.com>
22143
22144 * manual/libc.texinfo (VERSION, UPDATED): Revert.
22145
58639409
DM
221462012-02-21 David S. Miller <davem@davemloft.net>
22147
22148 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
22149 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22150
c0e70b25
DM
221512012-02-20 David S. Miller <davem@davemloft.net>
22152
22153 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
22154 using a normal save/restore sequence, rather than allocating a
22155 dummy stack frame just to store a frame pointer and restore.
22156 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22157
fb06851d
JM
221582012-02-21 Joseph Myers <joseph@codesourcery.com>
22159
22160 * manual/install.texi: Fix stray word in line-wrapped comment.
22161
7a8b71c3
DM
221622012-02-20 David S. Miller <davem@davemloft.net>
22163
d510c123
DM
22164 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
22165 both binutils and gcc support GOTDATA.
22166
0722d7c2
DM
22167 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
22168 "rd %pc" in the PIC register setup sequences.
22169
3d2b3019
DM
22170 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
22171 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22172 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22173 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22174 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22175 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22176 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22177 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22178 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
22179 (SYSCALL_ERROR_HANDLER): Likewise.
22180 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22181 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22182 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
22183 (SYSCALL_ERROR_HANDLER): Likewise.
22184
c80098a9
DM
22185 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
22186 (HAVE_GCC_GOTDATA): New.
22187 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
22188 relocation support in both binutils and gcc.
22189 * sysdeps/sparc/elf/configure: Regenerate.
22190
3a2545a0
DM
22191 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
22192 * sysdeps/sparc/sparc32/elf/configure: Delete.
22193 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
22194 * sysdeps/sparc/sparc64/elf/configure: Delete.
22195 * sysdeps/sparc/elf/configure.in: New file.
22196 * sysdeps/sparc/elf/configure: Generate.
22197
7a8b71c3
DM
22198 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
22199 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
22200 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22201 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
22202 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
22203
f1e86fca
JM
222042012-02-21 Joseph Myers <joseph@codesourcery.com>
22205
22206 * manual/install.texi: Do not mention specific glibc version
22207 numbers.
22208 * manual/libc.texinfo (VERSION, UPDATED): Update.
22209 (@copying): Use @copyright{} and range of years.
22210
0e7dfaef
JM
222112012-02-21 Joseph Myers <joseph@codesourcery.com>
22212
22213 [BZ #13695]
22214 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
22215 [crti.S not in sysdirs] (generated): Do not append.
22216 [crti.S not in sysdirs] (omit-deps): Likewise.
22217 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
22218 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
22219 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
22220 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
22221 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
22222 Likewise.
22223 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
22224 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
22225 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
22226 * csu/defs.awk: Remove file.
22227 * sysdeps/generic/initfini.c: Likewise.
22228 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
22229 variable.
22230 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
22231 Likewise.
22232
599af3ca
JM
222332012-02-20 Joseph Myers <joseph@codesourcery.com>
22234
22235 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
22236 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
22237 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
22238 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
22239 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22240 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
22241 <bits/epoll.h>.
22242 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
22243 (__EPOLL_PACKED): Define to empty if not defined by
22244 <bits/epoll.h>.
22245 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
22246 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22247 bits/epoll.h.
22248
0e499750
JM
222492012-02-20 Joseph Myers <joseph@codesourcery.com>
22250
22251 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
22252 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
22253 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
22254 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
22255 <bits/timerfd.h>.
22256 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
22257 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22258 bits/timerfd.h.
22259
5ad91f6e
JM
222602012-02-20 Joseph Myers <joseph@codesourcery.com>
22261
22262 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
22263 in C locale.
22264 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22265 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22266 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
22267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22268
06b99b02
AJ
222692012-02-20 Aurelien Jarno <aurelien@aurel32.net>
22270
22271 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22272 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22273
7638c0fd
AS
222742012-02-19 Andreas Schwab <schwab@linux-m68k.org>
22275
22276 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
22277 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
22278 defined.
22279 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
22280 Likewise.
22281 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
22282 entry for 2.16.
22283
92221550
AJ
222842012-02-19 Aurelien Jarno <aurelien@aurel32.net>
22285
22286 * math/w_acos.c: Use non-signaling floating-point comparisons.
22287 * math/w_acosf.c: Likewise.
22288 * math/w_acosh.c: Likewise.
22289 * math/w_acoshf.c: Likewise.
22290 * math/w_acoshl.c: Likewise.
22291 * math/w_acosl.c: Likewise.
22292 * math/w_asin.c: Likewise.
22293 * math/w_asinf.c: Likewise.
22294 * math/w_asinl.c: Likewise.
22295 * math/w_atanh.c: Likewise.
22296 * math/w_atanhf.c: Likewise.
22297 * math/w_atanhl.c: Likewise.
22298 * math/w_exp2.c: Likewise.
22299 * math/w_exp2f.c: Likewise.
22300 * math/w_exp2l.c: Likewise.
22301 * math/w_j0.c: Likewise.
22302 * math/w_j0f.c: Likewise.
22303 * math/w_j0l.c: Likewise.
22304 * math/w_j1.c: Likewise.
22305 * math/w_j1f.c: Likewise.
22306 * math/w_j1l.c: Likewise.
22307 * math/w_jn.c: Likewise.
22308 * math/w_jnf.c: Likewise.
22309 * math/w_log.c: Likewise.
22310 * math/w_log10.c: Likewise.
22311 * math/w_log10f.c: Likewise.
22312 * math/w_log10l.c: Likewise.
22313 * math/w_log2.c: Likewise.
22314 * math/w_log2f.c: Likewise.
22315 * math/w_log2l.c: Likewise.
22316 * math/w_logf.c: Likewise.
22317 * math/w_logl.c: Likewise.
22318 * math/w_sqrt.c: Likewise.
22319 * math/w_sqrtf.c: Likewise.
22320 * math/w_sqrtl.c: Likewise.
22321 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22322 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
22323 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22324 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22325 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22326
ebaf36eb
JM
223272012-02-19 Joseph Myers <joseph@codesourcery.com>
22328
22329 [BZ #9739]
22330 * manual/string.texi (strnlen): Use correct parameter name in
22331 equivalent expression.
22332
71c254a6
JM
223332012-02-19 Joseph Myers <joseph@codesourcery.com>
22334
22335 [BZ #11174]
22336 * manual/users.texi (seteuid): Consistently use neweuid for
22337 argument name.
22338
16d2c631
JM
223392012-02-19 Joseph Myers <joseph@codesourcery.com>
22340
22341 [BZ #13704]
22342 * manual/nss.texi (Services in the NSS configuration): Correct
22343 list of services in example configuration file.
22344
cd837b09
NB
223452012-02-19 Nick Bowler <nbowler@draconx.ca>
22346
22347 [BZ #11322]
22348 * manual/arith.texi: Remove statements about negative zero
22349 behaving identically to zero.
22350
02c4bbad
JM
223512012-02-18 Joseph Myers <joseph@codesourcery.com>
22352
22353 [BZ #5993]
22354 * manual/install.texi: Do not document upgrading from libc5.
22355
366842e7
JM
223562012-02-18 Joseph Myers <joseph@codesourcery.com>
22357
22358 [BZ #4596]
22359 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
22360
dd54084d
DM
223612012-02-18 David S. Miller <davem@davemloft.net>
22362
22363 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
22364 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
22365 %o7 across the call.
22366 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
22367 instead.
22368 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
22369 SETUP_PIC_REG_LEAF.
22370 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22371 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
22372 * sysdeps/sparc/crtn.S: Likewise.
22373
2bcc53a3
UD
223742012-02-17 Ulrich Drepper <drepper@gmail.com>
22375
22376 * aout/Makefile: Remove.
22377
09c093b5
RK
223782012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
22379
22380 [BZ #13058]
22381 * manual/examples/argp-ex1.c (main): Format definition in GNU
22382 style.
22383 * manual/examples/argp-ex2.c (main): Likewise.
22384 * manual/examples/argp-ex3.c (main): Likewise.
22385 * manual/examples/argp-ex4.c (main): Likewise.
22386 * manual/examples/longopt.c (main): Use new-style prototype
22387 definition.
22388 * manual/examples/strncat.c (main): Specify return type and use
22389 (void) for arguments.
22390 * manual/examples/subopt.c (main): Use char **argv argument.
22391
2ee633a2
JM
223922012-02-17 Joseph Myers <joseph@codesourcery.com>
22393
22394 [BZ #5077]
22395 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
22396 rounding modes.
22397
0520adde
FB
223982012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
22399
22400 [BZ #6907]
22401 * manual/string.texi (strchr): Change when strchrnul is
22402 recommended.
22403
3f4081cd
DGM
224042012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
22405
22406 [BZ #174]
22407 * manual/locale.texi (setlocale): Document LOCPATH.
22408
d1b10e78
JM
224092012-02-17 Joseph Myers <joseph@codesourcery.com>
22410
22411 [BZ #10210]
22412 * manual/process.texi (execle): Move @dots{} before last argument.
22413
79c6869c
PB
224142012-02-17 Paul Bolle <pebolle@tiscali.nl>
22415
22416 [BZ #12047]
22417 * manual/charset.texi (Generic Charset Conversion): Fix typo
22418 (LC_TYPE -> LC_CTYPE).
22419
cc6e48bc
NB
224202012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
22421
22422 [BZ #5805]
22423 * manual/arith.texi (scalbn): Use @var{} on parameter names.
22424 (scalbnf): Likewise.
22425 (scalbnl): Likewise.
22426 (scalbln): Likewise.
22427 (scalblnf): Likewise.
22428 (scalblnl): Likewise.
22429 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
22430 (vwarnx): Likewise.
22431 (verr): Likewise.
22432 (verrx): Likewise.
22433 * manual/filesys.texi (telldir): Use braces around return type.
22434 * manual/llio.texi (mmap): Add space after comma.
22435 (mmap64): Likewise.
22436 * manual/math.texi (jn): Use @var{} on parameter names.
22437 (jnf): Likewise.
22438 (jnl): Likewise.
22439 (yn): Likewise.
22440 (ynf): Likewise.
22441 (ynl): Likewise.
22442 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
22443 line.
22444 * manual/resource.texi (ulimit): Use @dots{} instead of literal
22445 "...".
22446 (sched_get_priority_min): Remove semicolon on @deftypefun line.
22447 (sched_get_priority_max): Likewise.
22448 * manual/signal.texi (sigvec): Add space after comma.
22449 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
22450 names.
22451 (if_indextoname): Likewise.
22452 (if_freenameindex): Likewise.
22453 (sendto): Use ',' instead of '.' in prototype.
22454 * manual/startup.texi (syscall): Use @dots{} instead of literal
22455 "...".
22456 * manual/stdio.texi (__fpending): Separate initial words of
22457 paragraph from @deftypefun line.
22458 * manual/syslog.texi (syslog): Use @dots{} instead of literal
22459 "...".
22460 (vsyslog): Use @var{} on parameter names.
22461 * manual/terminal.texi (stty): Use @var{} on parameter names.
22462 * manual/users.texi (getutmp): Use @var{} on parameter names.
22463 (getutmpx): Likewise.
22464
5b23062f
JM
224652012-02-17 Joseph Myers <joseph@codesourcery.com>
22466
22467 [BZ #6884]
22468 * manual/stdio.texi (fopen): Fix typos in description of
22469 ",ccs=STRING".
22470
8dee4833
AJ
224712012-02-17 Aurelien Jarno <aurelien@aurel32.net>
22472
22473 [BZ #4026]
22474 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
22475 get clock_id definition.
22476
9078ce93
TS
224772012-02-17 Thomas Schwinge <thomas@schwinge.name>
22478
22479 [BZ #4822]
22480 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
22481 (madvise): Cast every argument to void on its own.
22482
3835c55f
JM
224832012-02-17 Joseph Myers <joseph@codesourcery.com>
22484
22485 [BZ #9902]
22486 * manual/startup.texi (Exit Status): Fix typo.
22487
35c47e37
JM
224882012-02-17 Joseph Myers <joseph@codesourcery.com>
22489
22490 [BZ #10140]
22491 * manual/examples/argp-ex1.c: Include <stdlib.h>.
22492 * manual/examples/argp-ex2.c: Likewise.
22493 * manual/examples/argp-ex3.c: Likewise.
22494
e3b69ca7
RH
224952012-02-16 Richard Henderson <rth@redhat.com>
22496
22497 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
22498 * sysdeps/s390/s390-32/initfini.c: Remove.
22499 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
22500 * sysdeps/s390/s390-64/initfini.c: Remove.
22501
df83af67
KK
225022012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22503
22504 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
22505 compiler output for sysdeps/generic/initfini.c.
22506 * sysdeps/sh/elf/initfini.c: Remove file.
22507
f63f3380
DM
225082012-02-16 David S. Miller <davem@davemloft.net>
22509
fb59b3a4
DM
22510 [BZ #11494]
22511 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
22512
f63f3380
DM
22513 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
22514 * sysdeps/sparc/crti.S: New file.
22515 * sysdeps/sparc/crtn.S: New file.
22516 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
22517 * sysdeps/sparc/sparc64/Makefile: Likewise.
22518
df6a4a4a
MF
225192012-02-15 Mike Frysinger <vapier@gentoo.org>
22520
6dd8f3dc 22521 [BZ #3335]
df6a4a4a
MF
22522 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
22523
1cac7236
RM
225242012-02-15 Roland McGrath <roland@hack.frob.com>
22525
d2c736f8
RM
22526 [BZ #4822]
22527 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
22528
1cac7236
RM
22529 * mach/devstream.c (cookie_io_functions_t): Macro removed.
22530 (write, read, close): Likewise.
22531 Patch by Aurelien Jarno <aurelien@aurel32.net>.
22532
8e475601
JM
225332012-02-15 Joseph Myers <joseph@codesourcery.com>
22534
22535 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
22536 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
22537 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
22538 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
22539 <bits/signalfd.h>.
22540 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
22541 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22542 bits/signalfd.h.
22543
ed656b40
MP
225442012-02-14 Marek Polacek <polacek@redhat.com>
22545
22546 * sysdeps/x86_64/crti.S: New file.
22547 * sysdeps/x86_64/crtn.S: New file.
22548 * sysdeps/x86_64/elf/initfini.c: Remove file.
22549
2a979d3a
JM
225502012-02-13 Joseph Myers <joseph@codesourcery.com>
22551
22552 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
22553 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
22554 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
22555 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
22556 <bits/inotify.h>.
22557 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
22558 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22559 bits/inotify.h.
22560
2a418ac3
JM
225612012-02-13 Joseph Myers <joseph@codesourcery.com>
22562
22563 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
22564 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
22565 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
22566 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
22567 <bits/eventfd.h>.
22568 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
22569 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22570 bits/eventfd.h.
22571
fb779be7
TS
225722012-02-10 Thomas Schwinge <thomas@codesourcery.com>
22573
e19e83c5
RM
22574 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
22575 __feraiseexcept instead of feraiseexcept.
7c35ffed 22576
fb779be7
TS
22577 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
22578 nanosleep invocations.
22579 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
22580 strings, and add error checking for a nanosleep invocations.
22581
59ba27a6
PE
225822012-02-09 Paul Eggert <eggert@cs.ucla.edu>
22583
22584 Replace FSF snail mail address with URLs, as per GNU coding standards.
22585 Most of the snail mail addresses were wrong anyway, and omitting
22586 them makes the source code easier to maintain. Almost all of the
22587 changes are to license notices and to locale LC_IDENTIFICATION
22588 addresses, except for this one:
22589 * manual/libc.texinfo: In "Published by", give the FSF's URL,
22590 not its snail mail address.
22591
57b957eb
RH
225922012-02-09 Richard Henderson <rth@twiddle.net>
22593
af850b1c
RH
22594 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
22595 of kernel-features.h.
22596
57b957eb
RH
22597 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
22598
6b73181a
MP
225992012-02-08 Marek Polacek <polacek@redhat.com>
22600
22601 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
22602 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
22603 * sysdeps/gnu/_G_config.h: Likewise.
22604 * sysdeps/generic/_G_config.h: Likewise.
22605
26ecc33a
AS
226062012-02-08 Andreas Schwab <schwab@linux-m68k.org>
22607
6c6dbc63
AS
22608 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
22609 tests.
22610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22611
e216c012
AS
22612 * sysdeps/powerpc/powerpc32/crti.S: New file.
22613 * sysdeps/powerpc/powerpc32/crtn.S: New file.
22614 * sysdeps/powerpc/powerpc64/crti.S: New file.
22615 * sysdeps/powerpc/powerpc64/crtn.S: New file.
22616
26ecc33a
AS
22617 * Makeconfig (have-initfini): Don't set.
22618 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
22619 * configure.in (nopic_initfini): Don't substitute.
22620 * config.h.in (HAVE_INITFINI): Don't #undef.
22621 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
22622 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
22623
3add8e13
JM
226242012-02-08 Joseph Myers <joseph@codesourcery.com>
22625
22626 Support crti.S and crtn.S provided directly by architectures.
22627 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
22628 [crti.S in sysdirs] (omit-deps): Likewise.
22629 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
22630 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
22631 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
22632 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
22633 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
22634 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
22635 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
22636 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
22637 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
22638 compiler output for sysdeps/generic/initfini.c.
22639 * sysdeps/i386/elf/Makefile: Remove file.
22640 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
22641
a22f12b4
MP
226422012-02-07 Marek Polacek <polacek@redhat.com>
22643
22644 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
22645 * sysdeps/gnu/_G_config.h: Likewise.
22646 * sysdeps/mach/hurd/_G_config.h: Likewise.
22647
148cf100
MP
226482012-02-07 Marek Polacek <polacek@redhat.com>
22649
22650 * math/Makefile (tests): Add tst-CMPLX2.
22651 * math/tst-CMPLX2.c: New file.
22652
cfdc0dd7
AS
226532012-02-07 Andreas Schwab <schwab@linux-m68k.org>
22654
84ba42c4
AS
22655 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22656
cfdc0dd7
AS
22657 * math/libm-test.inc (jn_test): Add missing L suffix.
22658
622c86f4
MP
226592012-02-06 Marek Polacek <polacek@redhat.com>
22660
22661 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
22662 * sysdeps/i386/fpu/e_powf.S: Likewise.
22663 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22664 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22665 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22666 * sysdeps/i386/fpu/e_pow.S: Likewise.
22667 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22668 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22669 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22670 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22671 * sysdeps/i386/fpu/e_log2.S: Likewise.
22672 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22673 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22674 * sysdeps/i386/fpu/e_powl.S: Likewise.
22675 * sysdeps/i386/fpu/s_log1p.S: Likewise.
22676 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22677 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22678 * sysdeps/i386/fpu/e_logl.S: Likewise.
22679 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22680 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
22681 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22682 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22683 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22684 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22685 * sysdeps/i386/fpu/e_log.S: Likewise.
22686 * sysdeps/i386/fpu/s_cexp.S: Likewise.
22687 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22688 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
22689 * sysdeps/i386/fpu/e_logf.S: Likewise.
22690 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22691 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22692 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
22693 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22694 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22695 * sysdeps/i386/fpu/e_log10.S: Likewise.
22696 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22697 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22698 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22699 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22700 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22701 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22702 * sysdeps/i386/asm-syntax.h: Likewise.
22703 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22704 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22705 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22706 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
22707 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
22708 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22709 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22710 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22711 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22712 * sysdeps/powerpc/sysdep.h: Likewise.
22713 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22714 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22715
d4a54ac6
JM
227162012-02-06 Joseph Myers <joseph@codesourcery.com>
22717
22718 [BZ #411]
22719 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
22720
314054ea
JM
227212012-02-06 Joseph Myers <joseph@codesourcery.com>
22722
22723 * sysdeps/i386/sysdep.h: Include <features.h>.
22724 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
22725 version.
22726
d8e0ca50
JM
227272012-02-05 Joseph Myers <joseph@codesourcery.com>
22728
22729 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
22730 Define.
22731 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
22732 LOAD_PIC_REG_STR.
22733
b1da7dd9
JM
227342012-02-03 Joseph Myers <joseph@codesourcery.com>
22735
22736 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
22737 (SETUP_PIC_REG): Use GET_PC_THUNK.
22738 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
22739 macro.
22740
9a1d9254
JM
227412012-02-03 Joseph Myers <joseph@codesourcery.com>
22742
22743 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
22744 for non-PIC compilation.
22745 (SETUP_PIC_REG): Add .p2align directive.
22746 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
22747 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
22748 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22749 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22750 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22751 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22752 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
22753 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22754 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22755 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22756 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22757 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22758 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22759 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22760 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22761 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22762 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22763 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22764 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22765 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22766 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22767 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22768 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22769 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22770 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22771 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22772 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22773 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22774 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22775 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22776 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22777 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22778 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22779 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22780 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22781 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22782 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22783 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22784 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22785 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22786 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22787
65dc3b75
JM
227882012-02-03 Joseph Myers <joseph@codesourcery.com>
22789
22790 * math/tst-CMPLX.c: Include <stdio.h>.
22791
d55bf177
JM
227922012-01-31 Joseph Myers <joseph@codesourcery.com>
22793
22794 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
22795 float.
22796 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
22797 * sysdeps/sparc/bits/mathdef.h: Likewise.
22798
69db4f8f
MP
227992012-01-31 Marek Polacek <polacek@redhat.com>
22800
22801 * libio/libio.h: Don't define _PARAMS.
22802 * locale/programs/config.h: Don't define PARAMS.
22803 * stdlib/strtol_l.c: Likewise.
22804 (__strtol_l): Remove PARAMS from the prototype.
22805
41b81892
UD
228062012-01-31 Ulrich Drepper <drepper@gmail.com>
22807
3b49edc0
UD
22808 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
22809 names. Just use the correct names. Remove unnecessary wrapper
22810 functions.
22811 * malloc/arena.c: Likewise.
22812 * malloc/hooks.c: Likewise.
22813
41b81892
UD
22814 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
22815 ARENA_TEST says not to. Simplify test for creation of a new arena.
22816 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
22817
27a25b6e
UD
228182012-01-30 Ulrich Drepper <drepper@gmail.com>
22819
22820 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
22821 into tail calls.
22822 (update_get_addr): New function.
22823 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
22824 GET_ADDR_MODULE parameter.
22825
c8a89e7d
JM
228262012-01-30 Joseph Myers <joseph@codesourcery.com>
22827
22828 * crypt/cert.c: Remove __STDC__ conditionals.
22829 * crypt/crypt-entry.c: Likewise.
22830 * crypt/crypt_util.c: Likewise.
22831 * libio/filedoalloc.c: Likewise.
22832 * libio/fileops.c: Likewise.
22833 * libio/genops.c: Likewise.
22834 * libio/iofclose.c: Likewise.
22835 * libio/iofdopen.c: Likewise.
22836 * libio/iofopen.c: Likewise.
22837 * libio/iofopen64.c: Likewise.
22838 * libio/iogetdelim.c: Likewise.
22839 * libio/iopopen.c: Likewise.
22840 * libio/obprintf.c: Likewise.
22841 * libio/oldfileops.c: Likewise.
22842 * libio/oldiofclose.c: Likewise.
22843 * libio/oldiofdopen.c: Likewise.
22844 * libio/oldiofopen.c: Likewise.
22845 * libio/oldiopopen.c: Likewise.
22846 * libio/wfiledoalloc.c: Likewise.
22847 * libio/wgenops.c: Likewise.
22848 * locale/programs/xmalloc.c: Likewise.
22849 * misc/syslog.c: Likewise.
22850 * stdio-common/xbug.c: Likewise.
22851 * string/memchr.c: Likewise.
22852 * string/memcmp.c: Likewise.
22853 * string/memrchr.c: Likewise.
22854 * string/rawmemchr.c: Likewise.
22855 * sysdeps/posix/getcwd.c: Likewise.
22856 * time/strftime_l.c: Likewise.
22857
3b100462
JM
228582012-01-30 Joseph Myers <joseph@codesourcery.com>
22859
22860 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
22861 * config.make.in (config-cflags-sse2avx): Define.
22862 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
22863 Fix typo.
22864
607998af
CM
228652012-01-29 Chris Metcalf <cmetcalf@tilera.com>
22866
22867 * scripts/config.guess: Update from upstream config git repository.
22868 * scripts/config.sub: Likewise.
22869
3601428f
CM
228702012-01-28 Chris Metcalf <cmetcalf@tilera.com>
22871
3ac8b282
CM
22872 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
22873 (EM_NUM): Update.
22874 (R_TILEPRO_*, R_TILEGX_*): New macros.
22875
e034841e
CM
22876 * scripts/firstversions.awk: Fix bug in version range handling.
22877
540d7568
CM
22878 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
22879
3601428f
CM
22880 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
22881
463de862
CM
22882 * include/sys/epoll.h: New file.
22883 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
22884 libc_hidden_def.
22885
73139a76
UD
228862012-01-28 Ulrich Drepper <drepper@gmail.com>
22887
96bc5b45
UD
22888 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
22889 Avoid unnecessary __WORDSIZE == 64 test.
22890 (fmaxf): Use VEX format if possible.
22891 (fmax): Likewise.
22892 (fminf): Likewise.
22893 (fmin): Likewise.
22894
56f6f6a2
UD
22895 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
22896 * math/math_private.h: Remove libc_fegetround* and
22897 libc_fesetround*.
22898 * sysdeps/i386/configure.in: Check for -msse2avx.
22899 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
22900 also if SSE2AVX is defined.
22901 Remove libc_fegetround* and libc_fesetround*.
22902 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
22903 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
22904 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
22905 of HAS_YMM_USABLE.
22906 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22907 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22908 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22909 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22910 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22911
73139a76
UD
22912 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
22913
d73f93a4
AZ
229142012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22915
22916 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
22917 size is not set.
22918 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22919
6ee65ed6
UD
229202012-01-27 Ulrich Drepper <drepper@gmail.com>
22921
22922 [BZ #13618]
22923 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
22924 relocation.
22925 * Makeconfig (libm): Define.
22926 * elf/Makefile: Add rules to build and run tst-relsort1.
22927 * elf/tst-relsort1.c: New file.
22928 * elf/tst-relsort1mod1.c: New file.
22929 * elf/tst-relsort1mod2.c: New file.
22930
8db21882
JM
229312012-01-27 Joseph Myers <joseph@codesourcery.com>
22932
22933 * math/s_ldexp.c: Remove __STDC__ conditionals.
22934 * math/s_ldexpf.c: Likewise.
22935 * math/s_ldexpl.c: Likewise.
22936 * math/s_nextafter.c: Likewise.
22937 * math/s_nexttowardf.c: Likewise.
22938 * math/s_significand.c: Likewise.
22939 * math/s_significandf.c: Likewise.
22940 * math/s_significandl.c: Likewise.
22941 * math/w_jnl.c: Likewise.
22942 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22943 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22944 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22945 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22946 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22947 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22948 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
22949 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22950 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22951 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22952 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22953 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22954 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22955 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22956 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22957 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22958 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22959 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22960 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22961 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22962 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22963 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22964 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22965 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22966 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22967 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22968 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22969 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22970 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22971 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22972 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22973 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22974 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22975 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22976 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22977 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22978 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22979 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22980 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22981 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22982 * sysdeps/ieee754/k_standard.c: Likewise.
22983 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22984 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22985 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22986 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22987 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22988 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22989 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22990 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22991 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22992 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22993 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22994 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22995 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22996 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22997 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22998 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22999 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23000 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23001 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23002 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23003 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23004 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23005 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23006 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23007 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23008 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23009 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23010 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23011 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23012 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23013 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23014 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
23015 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23016 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23017 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23018 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23019 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
23020 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23021 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23022 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
23023 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
23024 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23025 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23026 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
23027 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23028 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23029 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23030 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23031 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23032 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23033 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
23034 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23035 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23036 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23037 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23038 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23039 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
23040 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23041 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23042 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23043 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23044 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23045 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23046 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23047 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23048 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23049 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23050 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23051 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23052 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23053 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23054 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23055 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23056 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23057 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23058 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23059 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23060 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23061 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23062 * sysdeps/ieee754/s_matherr.c: Likewise.
23063 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23064 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23065 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23066 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23067
965a54a4
JM
230682012-01-26 Joseph Myers <joseph@codesourcery.com>
23069
23070 * crypt/md5.h: Remove __STDC__ conditionals.
23071 * libio/libioP.h: Likewise.
23072 * locale/programs/config.h: Likewise.
23073 * sysdeps/generic/sysdep.h: Likewise.
23074 * sysdeps/i386/asm-syntax.h: Likewise.
23075 * sysdeps/s390/asm-syntax.h: Likewise.
23076 * sysdeps/unix/sysdep.h: Likewise.
23077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23079
7071ad79
JM
230802012-01-26 Joseph Myers <joseph@codesourcery.com>
23081
23082 * libio/libio.h: Remove __STDC__ conditionals.
23083 * malloc/obstack.h: Likewise.
23084 * math/complex.h: Likewise.
23085 * math/math.h: Likewise.
23086 * sysdeps/generic/_G_config.h: Likewise.
23087 * sysdeps/gnu/_G_config.h: Likewise.
23088 * sysdeps/mach/hurd/_G_config.h: Likewise.
23089 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23090 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23091 * sysdeps/sparc/bits/mathdef.h: Likewise.
23092
afc5ed09
UD
230932012-01-26 Ulrich Drepper <drepper@gmail.com>
23094
23095 [BZ #13583]
23096 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 23097 Clean up HAS_* macros.
afc5ed09 23098 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
23099 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
23100 possible.
23101 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
23102 HAS_AVX.
23103 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23104 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23105 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23106 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23107 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 23108
bdb6de1d
JM
231092012-01-25 Joseph Myers <joseph@codesourcery.com>
23110
23111 * elf/tst-unique3.cc (gets): Remove declaration.
23112 * elf/tst-unique3lib.cc (gets): Likewise.
23113 * elf/tst-unique3lib2.cc (gets): Likewise.
23114 * elf/tst-unique4.cc (gets): Likewise.
23115
b15549e6
UD
231162012-01-24 Ulrich Drepper <drepper@gmail.com>
23117
23118 * include/stdio.h: Add C++ protection. Add gets declarations and
23119 definitions.
23120 * debug/tst-chk1.c: Don't declare gets here.
23121 * stdio-common/tst-gets.c: Likewise.
23122
a037381f
JM
231232012-01-24 Joseph Myers <joseph@codesourcery.com>
23124
23125 * posix/glob: Remove directory.
23126
f1d4aa75
JM
231272012-01-24 Joseph Myers <joseph@codesourcery.com>
23128
23129 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
23130
81c0c964
PT
231312012-01-22 Pino Toscano <toscano.pino@tiscali.it>
23132
23133 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
23134 of the non-standard EPFNOSUPPORT.
23135
0ea698ae
ST
231362011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
23137
23138 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
23139 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
23140 ANYWHERE set to 1 only on KERN_NO_SPACE error.
23141
d220b117
UD
231422012-01-21 Ulrich Drepper <drepper@gmail.com>
23143
23144 * wcsmbs/uchar.h: Test __STDC_VERSION__.
23145
3e1aa84e
UD
231462012-01-20 Ulrich Drepper <drepper@gmail.com>
23147
23148 * nscd/aicache.c (addhstaiX): Do not cache negative results of
23149 transient errors.
23150 * nscd/grpcache.c (cache_addgr): Likewise.
23151 * nscd/hstcache.c (cache_addhst): Likewise.
23152 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23153 * nscd/pwdcache.c (cache_addpw): Likewise.
23154 * nscd/servicescache.c (cache_addserv): Likewise.
23155
400aa020
UD
231562012-01-16 Ulrich Drepper <drepper@gmail.com>
23157
d77e7869
UD
23158 * malloc/malloc.c: Various cleanups.
23159 * malloc/hooks.c: Likewise.
23160
400aa020
UD
23161 * stdlib/Makefile (tests): Add bug-fmtmsg1.
23162 * stdlib/bug-fmtmsg1.c: New file.
23163
23164 * stdlib/fmtmsg.c (init): Add missing unlock.
23165 Patch by Peng Haitao <penght@cn.fujitsu.com>.
23166
e0a309cf
MP
231672012-01-12 Marek Polacek <polacek@redhat.com>
23168
23169 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
23170 and _GNU_SOURCE.
23171
929d11c7
WS
231722012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23173
23174 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
23175 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
23176 macro to ensure uniqueness of label name.
23177 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23178 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23179
41d0e869
UD
231802012-01-11 Ulrich Drepper <drepper@gmail.com>
23181
0cc5ed3b
UD
23182 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
23183
41d0e869
UD
23184 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
23185 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23186 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23187 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
23188
a47a831a
UD
231892012-01-10 Ulrich Drepper <drepper@gmail.com>
23190
daa891c0
UD
23191 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
23192
23193 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
23194 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23195 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23196
e58ef0f2
UD
23197 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
23198
a47a831a 23199 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
23200 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23201 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 23202 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
23203
23204 * math/bits/math-finite.h: Add ldexp support.
23205
a0bfc9c7
MP
232062012-01-10 Marek Polacek <polacek@redhat.com>
23207
23208 * locale/programs/localedef.h (show_archive_content): Add noreturn
23209 attribute.
23210
d6e97a1d
UD
232112012-01-09 Ulrich Drepper <drepper@gmail.com>
23212
23213 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
23214
d5835c26
UD
232152012-01-08 Ulrich Drepper <drepper@gmail.com>
23216
e5f484c6
UD
23217 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
23218
d5835c26
UD
23219 * io/Makefile (headers): Add bits/poll2.h.
23220
d1f741e9
WS
232212011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
23222
23223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
23224 typo #include statement.
23225
ec09c1c4
UD
232262012-01-08 Ulrich Drepper <drepper@gmail.com>
23227
23228 * include/sys/cdefs.h: Define __attribute_alloc_size.
23229 * catgets/gencat.c: Add alloc_size attribute and apply consistently
23230 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
23231 * elf/pldd.c: Likewise.
23232 * iconv/iconv_charmap.c: Likewise.
23233 * iconv/iconvconfig.c: Likewise.
23234 * iconv/strtab.c: Likewise.
23235 * locale/programs/locale.c: Likewise.
23236 * locale/programs/localedef.h: Likewise.
23237 * locale/programs/simple-hash.c: Likewise.
23238 * nscd/nscd.h: Likewise.
23239 * nss/makedb.c: Likewise.
23240 * sysdeps/generic/ldconfig.h: Likewise.
23241 * locale/programs/localedef.c: Remove xmalloc prototype.
23242 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
23243
20b38e03
PP
232442012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23245
23246 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
23247 appropriate.
23248
a0da5fe1
UD
232492012-01-08 Ulrich Drepper <drepper@gmail.com>
23250
1d5a644a 23251 * math/Makefile (tests): Add tst-CMPLX.
669704fd 23252 * math/tst-CMPLX.c: New file.
1d5a644a 23253
8784a6db
UD
23254 * math/complex.h (CMPLXL): Fix typo.
23255
d9a216c0
UD
23256 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
23257 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
23258 GLIBC_2.16.
23259 * debug/tst-chk1.c: Add poll and ppoll tests.
23260 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
23261 * include/sys/poll.h: Add hidden proto for ppoll.
23262 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
23263 * sysdeps/mach/hurd/ppoll.c: Likewise.
23264 * io/ppoll.c: Likewise.
23265 * debug/poll_chk.c: New file.
23266 * debug/ppoll_chk.c: New file.
23267 * include/bits/poll2.h: New file.
23268 * io/bits/poll2.h: New file.
23269
ac097f5c
UD
23270 [BZ #1350]
23271 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
23272
2119dcfa
UD
23273 * configure.in: static is always set to yes. Remove.
23274 * config.make.in: Don't set build-static.
23275 * Makeconfig: Remove use of build-static.
23276 * dlfcn/Makefile: Likewise.
23277 * elf/Makefile: Likewise.
23278 * math/Makefile: Likewise.
23279 * misc/Makefile: Likewise.
23280 * nptl/Makefile: Likewise.
23281 * sysdeps/mach/hurd/Makefile: Likewise.
23282
121766a9
UD
23283 * configure.in: PWD_P is not used anymore.
23284 * config.make.in: Remove PWD_P entry.
23285
51a1d39c 23286 * configure.in: Remove last remnants of RANLIB.
8720d066 23287 No need to check for signed size_t anymore.
215f4bdc
UD
23288 Don't set libc_commonpagesize and libc_relro_required here for Alpha
23289 and IA-64.
3857022a 23290 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
23291 * aclocal.m4: Likewise.
23292
d3ed7225
UD
23293 * wcsmbs/mbrtoc16.c: Implement using towc function.
23294 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
23295 * wcsmbs/wcsmbsload.c: Likewise.
23296 * iconv/gconv_simple.c: Likewise.
23297 * iconv/gconv_int.h: Likewise.
23298 * iconv/gconv_builtin.h: Likewise.
23299 * iconv/iconv_prog.c: Remove CHAR16 handling.
23300
23301 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
23302
23303 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
23304
a0da5fe1
UD
23305 * configure.in: Remove --with-elf and --enable-bounded options.
23306 Dont set base_machine for ia64. More non-ELF conditions removed.
23307 Remove testing and setting of leading underscore information.
23308 * config.make.in (build-bounded): Set to no.
23309 * config.h.in: Remove NO_UNDERSCORES entry.
23310 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
23311 them.
23312 * csu/start.c: Remove !NO_UNDERSCORE code.
23313 * locale/localeinfo.h: Likewise.
23314 * sysdeps/generic/machine-gmon.h: Likewise.
23315 * sysdeps/generic/sysdep.h: Likewise.
23316 * sysdeps/i386/sysdep.h: Likewise.
23317 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23318 * sysdeps/mach/sysdep.h: Likewise.
23319 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23320 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23321 * sysdeps/sh/sysdep.h: Likewise.
23322 * sysdeps/sparc/sparc32/alloca.S: Likewise.
23323 * sysdeps/unix/i386/sysdep.S: Likewise.
23324 * sysdeps/unix/sparc/start.c: Likewise.
23325 * sysdeps/unix/sparc/sysdep.S: Likewise.
23326 * sysdeps/unix/sparc/sysdep.h: Likewise.
23327 * sysdeps/unix/start.c: Likewise.
23328 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23329 * sysdeps/x86_64/sysdep.h: Likewise.
23330
df78418a
UD
233312012-01-07 Ulrich Drepper <drepper@gmail.com>
23332
a784e502
UD
23333 [BZ #13553]
23334 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
23335 for non-gcc.
23336 * argp/argp-fmtstream.h: Use const instead __const.
23337 * argp/argp.h: Likewise.
23338 * assert/assert.h: Likewise.
23339 * bits/fenv.h: Likewise.
23340 * bits/sched.h: Likewise.
23341 * bits/sigset.h: Likewise.
23342 * bits/sigthread.h: Likewise.
23343 * catgets/nl_types.h: Likewise.
23344 * conform/data/pthread.h-data: Likewise.
23345 * crypt/crypt-private.h: Likewise.
23346 * crypt/crypt.h: Likewise.
23347 * crypt/crypt_util.c: Likewise.
23348 * ctype/ctype.h: Likewise.
23349 * debug/execinfo.h: Likewise.
23350 * debug/mbsnrtowcs_chk.c: Likewise.
23351 * debug/mbsrtowcs_chk.c: Likewise.
23352 * debug/wcsnrtombs_chk.c: Likewise.
23353 * debug/wcsrtombs_chk.c: Likewise.
23354 * debug/wcstombs_chk.c: Likewise.
23355 * dirent/dirent.h: Likewise.
23356 * dlfcn/dlfcn.h: Likewise.
23357 * elf/neededtest4.c: Likewise.
23358 * grp/grp.h: Likewise.
23359 * gshadow/gshadow.h: Likewise.
23360 * iconv/gconv.h: Likewise.
23361 * iconv/gconv_int.h: Likewise.
23362 * iconv/gconv_simple.c: Likewise.
23363 * iconv/iconv.h: Likewise.
23364 * iconv/loop.c: Likewise.
23365 * iconv/skeleton.c: Likewise.
23366 * include/aio.h: Likewise.
23367 * include/aliases.h: Likewise.
23368 * include/argz.h: Likewise.
23369 * include/arpa/inet.h: Likewise.
23370 * include/assert.h: Likewise.
23371 * include/dirent.h: Likewise.
23372 * include/dlfcn.h: Likewise.
23373 * include/execinfo.h: Likewise.
23374 * include/fcntl.h: Likewise.
23375 * include/fenv.h: Likewise.
23376 * include/glob.h: Likewise.
23377 * include/grp.h: Likewise.
23378 * include/libintl.h: Likewise.
23379 * include/mntent.h: Likewise.
23380 * include/netdb.h: Likewise.
23381 * include/pwd.h: Likewise.
23382 * include/rpc/netdb.h: Likewise.
23383 * include/sched.h: Likewise.
23384 * include/search.h: Likewise.
23385 * include/shadow.h: Likewise.
23386 * include/signal.h: Likewise.
23387 * include/stdio.h: Likewise.
23388 * include/stdlib.h: Likewise.
23389 * include/string.h: Likewise.
23390 * include/sys/socket.h: Likewise.
23391 * include/sys/stat.h: Likewise.
23392 * include/sys/statfs.h: Likewise.
23393 * include/sys/statvfs.h: Likewise.
23394 * include/sys/syslog.h: Likewise.
23395 * include/sys/time.h: Likewise.
23396 * include/sys/uio.h: Likewise.
23397 * include/time.h: Likewise.
23398 * include/unistd.h: Likewise.
23399 * include/utmp.h: Likewise.
23400 * include/wchar.h: Likewise.
23401 * include/wctype.h: Likewise.
23402 * inet/aliases.h: Likewise.
23403 * inet/arpa/inet.h: Likewise.
23404 * inet/netinet/ether.h: Likewise.
23405 * inet/netinet/in.h: Likewise.
23406 * intl/libintl.h: Likewise.
23407 * io/bits/fcntl2.h: Likewise.
23408 * io/fcntl.h: Likewise.
23409 * io/ftw.h: Likewise.
23410 * io/sys/poll.h: Likewise.
23411 * io/sys/stat.h: Likewise.
23412 * io/sys/statfs.h: Likewise.
23413 * io/sys/statvfs.h: Likewise.
23414 * io/utime.h: Likewise.
23415 * libio/bits/stdio.h: Likewise.
23416 * libio/bits/stdio2.h: Likewise.
23417 * libio/libio.h: Likewise.
23418 * libio/libioP.h: Likewise.
23419 * libio/stdio.h: Likewise.
23420 * locale/lc-ctype.c: Likewise.
23421 * locale/locale.h: Likewise.
23422 * login/utmp.h: Likewise.
23423 * malloc/arena.c: Likewise.
23424 * malloc/malloc.c: Likewise.
23425 * malloc/malloc.h: Likewise.
23426 * malloc/mcheck.c: Likewise.
23427 * malloc/mtrace.c: Likewise.
23428 * math/bits/mathcalls.h: Likewise.
23429 * math/fenv.h: Likewise.
23430 * math/math_private.h: Likewise.
23431 * misc/bits/error.h: Likewise.
23432 * misc/bits/syslog.h: Likewise.
23433 * misc/err.h: Likewise.
23434 * misc/error.h: Likewise.
23435 * misc/fstab.h: Likewise.
23436 * misc/mntent.h: Likewise.
23437 * misc/regexp.h: Likewise.
23438 * misc/search.h: Likewise.
23439 * misc/sgtty.h: Likewise.
23440 * misc/sys/mman.h: Likewise.
23441 * misc/sys/syslog.h: Likewise.
23442 * misc/sys/uio.h: Likewise.
23443 * misc/sys/xattr.h: Likewise.
23444 * misc/ttyent.h: Likewise.
23445 * nis/rpcsvc/ypclnt.h: Likewise.
23446 * nss/nss.h: Likewise.
23447 * posix/bits/unistd.h: Likewise.
23448 * posix/fnmatch.h: Likewise.
23449 * posix/glob.h: Likewise.
23450 * posix/sched.h: Likewise.
23451 * posix/spawn.h: Likewise.
23452 * posix/sys/wait.h: Likewise.
23453 * posix/unistd.h: Likewise.
23454 * posix/wordexp.h: Likewise.
23455 * pwd/pwd.h: Likewise.
23456 * resolv/netdb.h: Likewise.
23457 * resource/sys/resource.h: Likewise.
23458 * rt/aio.h: Likewise.
23459 * rt/bits/mqueue2.h: Likewise.
23460 * rt/mqueue.h: Likewise.
23461 * shadow/shadow.h: Likewise.
23462 * signal/signal.h: Likewise.
23463 * socket/send.c: Likewise.
23464 * socket/sendto.c: Likewise.
23465 * socket/sys/socket.h: Likewise.
23466 * stdio-common/printf.h: Likewise.
23467 * stdlib/bits/stdlib.h: Likewise.
23468 * stdlib/fmtmsg.h: Likewise.
23469 * stdlib/monetary.h: Likewise.
23470 * stdlib/stdlib.h: Likewise.
23471 * stdlib/ucontext.h: Likewise.
23472 * streams/stropts.h: Likewise.
23473 * string/argz.h: Likewise.
23474 * string/bits/string2.h: Likewise.
23475 * string/string.h: Likewise.
23476 * string/strings.h: Likewise.
23477 * sunrpc/rpc/auth.h: Likewise.
23478 * sunrpc/rpc/auth_des.h: Likewise.
23479 * sunrpc/rpc/clnt.h: Likewise.
23480 * sunrpc/rpc/netdb.h: Likewise.
23481 * sunrpc/rpc/pmap_clnt.h: Likewise.
23482 * sunrpc/rpc/xdr.h: Likewise.
23483 * sysdeps/generic/inttypes.h: Likewise.
23484 * sysdeps/generic/net/if.h: Likewise.
23485 * sysdeps/generic/sys/swap.h: Likewise.
23486 * sysdeps/gnu/net/if.h: Likewise.
23487 * sysdeps/gnu/utmpx.h: Likewise.
23488 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
23489 * sysdeps/i386/i486/bits/string.h: Likewise.
23490 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
23491 * sysdeps/s390/bits/string.h: Likewise.
23492 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
23493 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
23494 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
23495 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
23496 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
23497 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
23498 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
23499 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
23500 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
23501 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
23502 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
23503 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23504 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
23505 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23506 * sysdeps/unix/sysv/linux/readv.c: Likewise.
23507 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
23508 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
23509 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23510 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
23511 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
23512 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23513 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
23514 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
23515 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
23516 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
23517 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
23518 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
23519 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23520 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
23521 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
23522 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
23523 * sysvipc/sys/ipc.h: Likewise.
23524 * sysvipc/sys/msg.h: Likewise.
23525 * sysvipc/sys/sem.h: Likewise.
23526 * sysvipc/sys/shm.h: Likewise.
23527 * termios/termios.h: Likewise.
23528 * time/sys/time.h: Likewise.
23529 * time/time.h: Likewise.
23530 * wcsmbs/bits/wchar2.h: Likewise.
23531 * wcsmbs/uchar.h: Likewise.
23532 * wcsmbs/wchar.h: Likewise.
23533 * wctype/wctype.h: Likewise.
23534
0269750c
UD
23535 [BZ #13551]
23536 * Makeconfig: Remove all but ELF support including AIX support.
23537 * Makerules: Likewise.
23538 * config.h.in: Likewise.
23539 * config.make.in: Likewise.
23540 * configure: Likewise.
23541 * configure.in: Likewise.
23542 * csu/Makefile: Likewise.
23543 * csu/version.c: Likewise.
23544 * debug/Makefile: Likewise.
23545 * dlfcn/Makefile: Likewise.
23546 * elf/Makefile: Likewise.
23547 * extra-lib.mk: Likewise.
23548 * iconv/Makefile: Likewise.
23549 * include/libc-symbols.h: Likewise.
23550 * include/shlib-compat.h: Likewise.
23551 * resolv/Makefile: Likewise.
23552 * resolv/res_libc.c: Likewise.
23553 * rt/Makefile: Likewise.
23554 * sysdeps/i386/asm-syntax.h: Likewise.
23555 * sysdeps/i386/sysdep.h: Likewise.
23556 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23557 * sysdeps/mach/sysdep.h: Likewise.
23558 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
23559 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
23560 * sysdeps/s390/asm-syntax.h: Likewise.
23561 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23562 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23563 * sysdeps/sh/sysdep.h: Likewise.
23564 * sysdeps/unix/sparc/sysdep.h: Likewise.
23565 * sysdeps/wordsize-32/divdi3.c: Likewise.
23566 * sysdeps/x86_64/sysdep.h: Likewise.
23567
00bbd29b
UD
23568 * argp/Versions: Remove _argp_unlock_xxx.
23569
23570 [BZ #13559]
23571 * abilist/ld.abilist: Update. Adjust for removal of tls option.
23572 * abilist/libBrokenLocale.abilist: Likewise.
23573 * abilist/libanl.abilist: Likewise.
23574 * abilist/libc.abilist: Likewise.
23575 * abilist/libcrypt.abilist: Likewise.
23576 * abilist/libdl.abilist: Likewise.
23577 * abilist/libm.abilist: Likewise.
23578 * abilist/libnsl.abilist: Likewise.
23579 * abilist/libpthread.abilist: Likewise.
23580 * abilist/libresolv.abilist: Likewise.
23581 * abilist/librt.abilist: Likewise.
23582 * abilist/libthread_db.abilist: Likewise.
23583 * abilist/libutil.abilist: Likewise.
23584 * abilist/libnss_db.abilist: New file.
23585
23586 * scripts/abilist.awk: Add support for indirect functions.
23587
a2693a0e
UD
23588 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
23589
3f05895f
UD
23590 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
23591
ecb6fb48
UD
23592 * shlib-versions: Remove entries for ports architectures.
23593
664f8cb9
UD
23594 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
23595 files in ports.
23596 * elf/stackguard-macros.h: Remove support for IA-64.
23597 * elf/tst-auditmod1.c: Likewise.
23598 * sysdeps/generic/ldsodefs.h: Likewise.
23599
7ae81d88
UD
23600 * sysdeps/unix/sysv/linux/configure.in: Ports should define
23601 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
23602 configure files.
23603
bdeba135
UD
23604 [BZ #13552]
23605 * configure.in: Remove --enable-omitfp support.
23606 * FAQ.in: Adjust.
23607 * config.make.in: Likewise.
23608 * Makeconfig: Likewise.
23609 * manual/install.texi: Likewise.
23610
d75a0a62
UD
23611 In case anyone cares, the IA-64 architecture could move to ports.
23612 * sysdeps/ia64/*: Removed.
23613 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 23614 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 23615
dcc9756b
UD
23616 [BZ #13555]
23617 * configure.in: Remove entries for unsupported architectures.
23618
d3761ebc 23619 [BZ #13533]
9954432e
UD
23620 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
23621 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
23622 routines.
23623 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
23624 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
23625 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
23626 fall back to using wcrtomb.
23627 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
23628 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
23629 renaming.
23630 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
23631 * wcsmbs/tst-c16c32-1.c: New file.
23632
23633 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
23634 local variable.
23635
c3a87236
UD
23636 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
23637
28926a1b
UD
23638 * elf/tst-unique3.cc: Add explicit declaration of gets.
23639 * elf/tst-unique3lib.cc: Likewise.
23640 * elf/tst-unique3lib2.cc: Likewise.
23641 * elf/tst-unique4.cc: Likewise.
23642
df78418a
UD
23643 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
23644
8ecd6b2a
JM
236452012-01-06 Joseph Myers <joseph@codesourcery.com>
23646
23647 [BZ #13566]
23648 * assert/assert.h (static_assert): Don't define for C++.
23649 * libio/stdio.h (gets): Do declare for C++ <= C++11.
23650 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
23651
9f115170
UD
236522012-01-03 Ulrich Drepper <drepper@gmail.com>
23653
5e0d0300
UD
23654 * iconv/loop.c (single loop): Fix assertion in storing of
23655 remaining bytes.
23656
9f115170
UD
23657 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
23658
81fb02b0
UD
236592012-01-01 Ulrich Drepper <drepper@gmail.com>
23660
23661 * posix/getconf.c: Update copyright year.
23662 * nss/getent.c: Likewise.
a316c1f6 23663 * nss/makedb.c: Likewise.
81fb02b0
UD
23664 * iconv/iconvconfig.c: Likewise.
23665 * iconv/iconv_prog.c: Likewise.
23666 * elf/ldconfig.c: Likewise.
a316c1f6
UD
23667 * elf/pldd.c: Likewise.
23668 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
23669 * catgets/gencat.c: Likewise.
23670 * csu/version.c: Likewise.
23671 * elf/ldd.bash.in: Likewise.
23672 * elf/sprof.c (print_version): Likewise.
23673 * locale/programs/locale.c: Likewise.
23674 * locale/programs/localedef.c: Likewise.
a316c1f6 23675 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
23676 * nscd/nscd.c (print_version): Likewise.
23677 * debug/xtrace.sh: Likewise.
23678 * malloc/memusage.sh: Likewise.
23679 * malloc/mtrace.pl: Likewise.
23680 * debug/catchsegv.sh: Likewise.
23681
2ba92745
JJ
236822011-12-30 Jakub Jelinek <jakub@redhat.com>
23683
23684 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
23685 pure attribute.
23686
dadebdae
UD
236872011-12-24 Ulrich Drepper <drepper@gmail.com>
23688
d3761ebc 23689 [BZ #13533]
db6af3eb
UD
23690 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
23691 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
23692 transformations.
23693 * iconv/gconv_int.h: Likewise.
23694 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
23695 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
23696 from libc for GLIBC_2.16.
23697 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
23698 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
23699 * wcsmbs/uchar.h: Really define mbstate_t.
23700 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
23701 * wcsmbs/c16rtomb.c: New file.
23702 * wcsmbs/mbrtoc16.c: New file.
23703 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
23704 for C/POSIX locale.
23705 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
23706 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
23707
dadebdae
UD
23708 * wcsmbs/wchar.h: Add missing __restrict.
23709
67371b56
UD
237102011-12-23 Ulrich Drepper <drepper@gmail.com>
23711
74033a25
UD
23712 [BZ #13532]
23713 * time/Makefile (routines): Add timespec_get.
23714 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
23715 * time/time.h: Define TIME_UTC and declare timespec_get. Define
23716 timespec for ISO C11.
23717 * time/timespec_get.c: New file.
23718 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
23719 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
23720
380d7e87
UD
23721 [BZ #13531]
23722 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
23723 * stdlib/stdlib.h: Declare aligned_alloc.
23724 * Versions.def: Add GLIBC_2.16 for libc.
23725 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
23726
4e9e7a35
UD
23727 [BZ 13527]
23728 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
23729 ISO C11.
23730
380d7e87 23731 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
23732 code.
23733
03a71829
UD
23734 [BZ #13528]
23735 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
23736
839e283e
UD
23737 [BZ #13529]
23738 * assert/assert.h (static_assert): Define.
23739
ce5294e2 23740 * version.h: Update for 2.16 development version.
90fa7312 23741
8d44e150 23742 [BZ #13526]
d7809905
UD
23743 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
23744 _ISOC11_SOURCE.
23745
c0da14cd
UD
23746 * version.h (RELEASE): Bump for 2.15 release.
23747 * include/features.h (__GLIBC_MINOR__): Bump to 15.
23748
530a3249
MP
23749 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
23750 Patch by Marek Polacek <mpolacek@redhat.com>.
23751
67371b56
UD
23752 * bits/byteswap.h: Protect long long constants with __extension__.
23753 * sysdeps/i386/bits/byteswap.h: Likewise.
23754 * sysdeps/ia64/bits/byteswap.h: Likewise.
23755 * sysdeps/s390/bits/byteswap.h: Likewise.
23756 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23757
15db4de1
LD
237582011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23759
23760 [BZ #13540]
bbe315ea
LD
23761 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
23762 destination buffer.
15db4de1
LD
23763 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
23764
2b2596b1
MP
237652011-12-23 Marek Polacek <polacek@redhat.com>
23766
23767 * elf/dl-addr.c (determine_info): Add inline keyword.
23768 * elf/tst-auditmod4b.c (check_avx): Likewise.
23769 * elf/tst-auditmod6b.c (check_avx): Likewise.
23770 * elf/tst-auditmod6c.c (check_avx): Likewise.
23771 * elf/tst-auditmod7b.c (check_avx): Likewise.
23772
70c6c246
UD
237732011-12-23 Ulrich Drepper <drepper@gmail.com>
23774
23775 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
23776 !__SSE_MATH__.
23777
c044cf14
LD
237782011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23779
15db4de1 23780 [BZ #13540]
c044cf14
LD
23781 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
23782 processing for last bytes.
23783
6b13d9d9
BH
237842011-08-06 Bruno Haible <bruno@clisp.org>
23785
d455f537
BH
23786 [BZ #13061]
23787 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
23788 U+0385, not to U+1FEE.
23789
6b13d9d9
BH
23790 [BZ #13062]
23791 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
23792 entry for U+00A5 U+0301.
23793
db910efd
UD
237942011-12-22 Ulrich Drepper <drepper@gmail.com>
23795
27deeafc
UD
23796 [BZ #13166]
23797 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
23798 buffer for the output is too small.
23799
aed9d171
UD
23800 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
23801 optimization.
23802
db910efd
UD
23803 [BZ #13185]
23804 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
23805 SSE flags if possible.
23806
2bd779ae
LD
238072011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23808
e7f9dac3 23809 [BZ #13540]
2bd779ae
LD
23810 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
23811 processing for last bytes.
23812
154bfc16
JM
238132011-12-22 Joseph Myers <joseph@codesourcery.com>
23814
23815 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
23816 (syscall-list-default-options, syscall-list-default-condition)
23817 (syscall-list-includes): Define.
23818 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
23819 list of ABIs and options and #if conditions for each ABI. Do not
23820 handle common syscalls between ABIs specially.
23821 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
23822 Remove.
23823 (syscall-list-variants, syscall-list-32bit-options)
23824 (syscall-list-32bit-condition, syscall-list-64bit-options)
23825 (syscall-list-64bit-condition): Define.
23826 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
23827 (syscall-list-variants, syscall-list-32bit-options)
23828 (syscall-list-32bit-condition, syscall-list-64bit-options)
23829 (syscall-list-64bit-condition): Define.
23830 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
23831 Remove.
23832 (syscall-list-variants, syscall-list-32bit-options)
23833 (syscall-list-32bit-condition, syscall-list-64bit-options)
23834 (syscall-list-64bit-condition): Define.
23835 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
23836 Remove.
23837 (syscall-list-variants, syscall-list-32bit-options)
23838 (syscall-list-32bit-condition, syscall-list-64bit-options)
23839 (syscall-list-64bit-condition): Define.
23840
21eaf3a5
UD
238412011-12-22 Ulrich Drepper <drepper@gmail.com>
23842
16c6f992
UD
23843 * locale/iso-639.def: Add brx entry.
23844
41043168
UD
23845 [BZ #13328]
23846 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
23847 Proposed by Mariusz_Cukr <marcukr@op.pl>.
23848
21eaf3a5
UD
23849 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
23850 __feraiseexcept_renamed.
23851
e3a851a2
UD
238522011-12-21 Ulrich Drepper <drepper@gmail.com>
23853
4920765e
UD
23854 [BZ #13538]
23855 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
23856 EPOLLET with unsigned values.
23857 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23858 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23859
e3a851a2
UD
23860 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
23861 to large cancellation.
23862 * math/s_cacoshf.c: Likewise.
23863 * math/s_cacoshl.c: Likewise.
23864
b27e24b8
RK
238652011-11-18 Richard B. Kreckel <kreckel@ginac.de>
23866
23867 [BZ #13305]
aebefeee 23868 [BZ #12786]
b27e24b8
RK
23869 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
23870 * math/s_cacoshf.c: Likewise.
23871 * math/s_cacoshl.c: Likewise.
23872
ee190f67
UD
238732011-12-21 Ulrich Drepper <drepper@gmail.com>
23874
23875 [BZ #13439]
23876 * iconv/gconv.h: Define __GCONV_SWAP.
23877 * iconvdata/unicode.c: The swap bit must be stored in __flags.
23878 * iconvdata/utf-16.c: Likewise.
23879 * iconvdata/utf-32.c: Likewise.
23880
707f25df
AS
238812011-12-21 Andreas Schwab <schwab@linux-m68k.org>
23882
23883 [BZ #13524]
23884 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
23885 numerator after shifting it by one limb.
23886
d2daaa1e
RÁE
238872011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
23888
23889 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
23890 under [__USE_EXTERN_INLINES].
23891
a4647e72
UD
238922011-12-17 Ulrich Drepper <drepper@gmail.com>
23893
23894 [BZ #13446]
23895 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
23896
f0b264f1
AZ
238972011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23898
23899 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
23900 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
23901 optimized code.
23902 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
23903 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
23904 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
23905 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
23906 for strncasecmp/strncasecmp_l compilation.
23907 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
23908 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
23909
8ef4f244
MP
239102011-12-08 Marek Polacek <mpolacek@redhat.com>
23911
23912 [BZ #13484]
23913 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
23914 of __asm__.
23915
97ac2654
UD
239162011-12-17 Ulrich Drepper <drepper@gmail.com>
23917
23918 [BZ #13506]
23919 * time/tzfile.c (__tzfile_read): Check values from file header.
23920
91d2a845
WS
239212011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
23922
23923 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
23924 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
23925 * powerpc/powerpc32/dl-start.S: Likewise.
23926 * powerpc/powerpc32/elf/start.S: Likewise.
23927 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23928 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
23929 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
23930 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
23931 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23932 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
23933 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
23934 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23935 * powerpc/powerpc32/fpu/s_round.S: Likewise.
23936 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23937 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23938 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23939 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
23940 * powerpc/powerpc32/memset.S: Likewise.
23941 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23942 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23943 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23944 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23945 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23946 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23947 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23948 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23949 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
23950 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
23951 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
23952 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23953 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23954
a1267ba1
AZ
239552011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23956
23957 * math/libm-test.inc: Added more nearbyint tests.
23958 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
23959 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
23960 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
23961 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
23962
ad8ac1bd
RL
239632011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
23964
23965 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
23966 FD_CLOEXEC.
23967
1d3e4b61
UD
239682011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23969
23970 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
23971 Add wcscpy-ssse3 wcscpy-c.
23972 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
23973 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
23974 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
23975 * sysdeps/x86_64/wcschr.S: New file.
23976 * sysdeps/x86_64/wcsrchr.S: New file.
23977 * string/test-strcmp.c: Remove checking of wcscmp function for
23978 wrong alignments.
23979 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
23980 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
23981 wcsrchr-sse2 wcsrchr-c.
23982 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
23983 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
23984 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
23985 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
23986 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
23987 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
23988 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
23989 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
23990 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
23991 * wcsmbc/wcschr.c (WCSCHR): New macro.
23992
5b330a2d
UD
239932011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23994
23995 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
23996 * wcsmbs/test-wcsrchr.c: New file.
23997 * string/test-strrchr.c: Add wcsrchr support.
23998 (WIDE): New macro.
23999 * wcsmbs/test-wcscpy.c: New file.
24000 * string/test-strcpy.c: Add wcscpy support.
24001 (WIDE): New macro.
26428b7c 24002
f039c043
UD
240032011-12-10 Ulrich Drepper <drepper@gmail.com>
24004
24005 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
24006 the inner loop.
24007
850fb039
AS
240082011-12-06 Andreas Schwab <schwab@linux-m68k.org>
24009
24010 [BZ #13472]
24011 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
24012
4efbd5cb
UD
240132011-12-04 Ulrich Drepper <drepper@gmail.com>
24014
52ff5dd0 24015 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 24016 Minor optimizations.
52ff5dd0 24017
4efbd5cb
UD
24018 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
24019 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
24020 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24021
8a426e12
UD
240222011-12-03 Ulrich Drepper <drepper@gmail.com>
24023
aff2453d
UD
24024 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
24025 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
24026 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
24027 for gcc to avoid warnings.
24028 * inet/Makefile (tests): Add tst-checks.
24029 * inet/tst-checks.c: New file.
24030
24031 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
24032 warning.
24033
24034 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
24035 __wmemcmp_sse2.
24036
24037 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
24038 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
24039
8a426e12
UD
24040 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
24041
9bea3473
UD
240422011-12-02 Ulrich Drepper <drepper@gmail.com>
24043
3a965496
UD
24044 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
24045 problem.
24046
9bea3473
UD
24047 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
24048
f101631b
UD
240492011-11-29 Joseph Myers <joseph@codesourcery.com>
24050
24051 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
24052 conditional on GCC version.
24053 (__arch_compare_and_exchange_val_8_acq)
24054 (__arch_compare_and_exchange_val_16_acq)
24055 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
24056 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
24057 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
24058
a98275aa
UD
240592011-12-02 Joseph Myers <joseph@codesourcery.com>
24060
24061 * sysdeps/sh/backtrace.c: New file.
24062
d4cc29a2
AS
240632011-12-02 Andreas Schwab <schwab@redhat.com>
24064
24065 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
24066 parenthesis.
24067
6257af2d
AS
240682011-12-01 Andreas Schwab <schwab@redhat.com>
24069
24070 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
24071 falling back to utime.
24072
b5f44c1a
AS
240732011-11-30 Andreas Schwab <schwab@redhat.com>
24074
24075 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
24076 expectations for float.
24077
f3a6cc0a
AS
240782011-11-29 Andreas Schwab <schwab@redhat.com>
24079
24080 * locale/weight.h (findidx): Add parameter len.
24081 * locale/weightwc.h (findidx): Likewise.
24082 * posix/fnmatch_loop.c (FCT): Adjust caller.
24083 * posix/regcomp.c (build_equiv_class): Likewise.
24084 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
24085 * posix/regexec.c (check_node_accept_bytes): Likewise.
24086 * string/strcoll_l.c (STRCOLL): Likewise.
24087 * string/strxfrm_l.c (STRXFRM): Likewise.
24088
9d65ea3a
UD
240892011-11-17 Ulrich Drepper <drepper@gmail.com>
24090
24091 * Makefile.in: Remove CVSOPT handling.
24092 * configure.in: Remove use of AC_REVISION.
24093 * iconvdata/Makefile (distribute): No need to filter out CVS.
24094 * scripts/list-sources.sh: Remove CVS, subversion and monotone
24095 handling.
24096
5583a086
AS
240972011-11-16 Andreas Schwab <schwab@redhat.com>
24098
24099 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
24100 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
24101 [USE_AS_STRNCASECMP_L]: Likewise.
24102 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
24103 NO_TLS_DIRECT_SEG_REFS.
24104 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
24105 Fix argument offsets for non-PIC.
24106 [USE_AS_STRNCASECMP_L]: Likewise.
24107 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
24108 NO_TLS_DIRECT_SEG_REFS.
24109
d62a8200
UD
241102011-11-15 Ulrich Drepper <drepper@gmail.com>
24111
9d65ea3a 24112 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
24113 O_CLOEXEC.
24114 * locale/loadlocale.c (_nl_load_locale): Likewise.
24115
09f93bd3
AS
241162011-11-15 Andreas Schwab <schwab@redhat.com>
24117
446514f9
AS
24118 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
24119 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
24120 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
24121 (SYSCALL_GETTIME): Set errno on error.
24122
09f93bd3
AS
24123 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
24124 count references to noai6ai_cached.
24125
312be3f9
UD
241262011-11-15 Ulrich Drepper <drepper@gmail.com>
24127
24128 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
24129
24130 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
24131 FD_CLOEXEC for /proc/self/maps.
24132
24133 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
24134 FD_CLOEXEC for /proc/meminfo.
24135
24136 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
24137 gai.conf.
24138
24139 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
24140 FD_CLOEXEC for given file.
24141
24142 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
24143
24144 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
24145 FD_CLOEXEC for /etc/hosts.
24146 (_gethtent): Likewise.
24147
24148 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
24149
24150 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
24151 cancellation and set FD_CLOEXEC for /etc/netgroup.
24152
24153 * nss/nss_files/files-key.c (search): Don't allow cancellation when
24154 reading /etc/publickey.
24155
24156 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
24157 allow cancellation when reading /etc/group.
24158
24159 * nss/nss_files/files-alias.c (internal_setent): Don't allow
24160 cancellation.
24161 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
24162
24163 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
24164 when using data file.
24165
24166 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
24167
24168 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
24169 (write_nis_obj): Use "c" and "e" in fopen.
24170
24171 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
24172
24173 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
24174
24175 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
24176
24177 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
24178
24179 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
24180 locale.alias.
24181
24182 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
24183
24184 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
24185
24186 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
24187
24188 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
24189 file parsing and set FD_CLOEXEC.
24190
82af0fa8
UD
241912011-11-14 Ulrich Drepper <drepper@gmail.com>
24192
24193 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
24194
a5fb313c
AS
241952011-11-14 Andreas Schwab <schwab@redhat.com>
24196
24197 * malloc/arena.c (arena_get2): Don't call reused_arena when
24198 _int_new_arena failed.
24199
6abf3465
UD
242002011-11-14 Ulrich Drepper <drepper@gmail.com>
24201
24202 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
24203 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
24204 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
24205 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24206 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24207 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
24208 to compile strcasecmp and strncasecmp.
24209 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
24210 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
24211
24212 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
24213
76e3966e
UD
242142011-11-13 Ulrich Drepper <drepper@gmail.com>
24215
24216 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
24217 locale-defines.sym to gen-as-const-headers.
24218 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
24219 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
24220 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
24221 to compile strcasecmp and strncasecmp.
24222 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
24223 strcasecmp_l and strncasecmp_l.
24224 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
24225 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
24226 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
24227 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
24228 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
24229 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
24230 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
24231 * sysdeps/i386/i686/multiarch/strncase.S: New file.
24232 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
24233 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
24234 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
24235
ab26144e
UD
242362011-11-12 Ulrich Drepper <drepper@gmail.com>
24237
7edb22ef
UD
24238 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
24239 result of SYSDEP_GETTIME_CPU to retval.
24240 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
24241 parameter list to macro. Remove trailing semicolon. Adjust users.
24242
9694fc44
UD
24243 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
24244 variable.
24245
8ad89ef8
UD
24246 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
24247 mantissa words.
24248 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
24249
0c822ef9
UD
24250 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
24251 from unused variable.
24252
874e0564
UD
24253 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
24254 DWARF definitions.
24255 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
24256 for assembling.
24257
3a2edc79
UD
24258 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
24259 over namespaces.
24260
f3c2577f
UD
24261 * sunrpc/rpc_prot.c (rejected): Fix case value.
24262
294ce126
UD
24263 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
24264 unsigned long long int to avoid warnings in shift.
24265
5e2b63c6
UD
24266 * posix/regex_internal.c (re_string_reconstruct): Actually use result
24267 of use of trans.
24268 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
24269 variable tmp.
24270
e7f4b08e
UD
24271 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
24272 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24273 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24274
ab26144e
UD
24275 * nis/nis_table.c (nis_list): Use variable of correct type for
24276 result of __follow_path call.
24277
8a6d5255
AZ
242782011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24279
24280 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
24281 of math functions ceil, trunc, floor, round, and sqrt, when
24282 avaliable on the platform.
24283 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
24284 name clash.
24285 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24286 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24287 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24288
aaddc98c
MP
242892011-10-30 Marek Polacek <mpolacek@redhat.com>
24290
24291 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
24292 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24293
95b7042b
RM
242942011-11-11 Roland McGrath <roland@hack.frob.com>
24295
24296 * include/unistd.h: Fix __readlink return type.
24297 Reported by Chris Metcalf <cmetcalf@tilera.com>.
24298
57769839
UD
242992011-11-11 Ulrich Drepper <drepper@gmail.com>
24300
24301 * stdlib/ucontext.h: Undo last change for makecontext.
24302
edc5984d
AS
243032011-11-11 Andreas Schwab <schwab@redhat.com>
24304
98591e58
AS
24305 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
24306
edc5984d
AS
24307 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
24308 * setjmp/setjmp.h: Mark functions as non-leaf.
24309 * setjmp/bits/setjmp2.h: Likewise.
24310 * stdlib/ucontext.h: Likewise.
24311
77cdc054
AS
243122011-11-10 Andreas Schwab <schwab@redhat.com>
24313
24314 * malloc/arena.c (_int_new_arena): Don't increment narenas.
24315 (reused_arena): Don't check arena limit.
24316 (arena_get2): Atomically check arena limit.
24317
fe72eebd
UD
243182011-11-08 Ulrich Drepper <drepper@gmail.com>
24319
5f078c32
UD
24320 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
24321 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
24322
fe72eebd
UD
24323 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
24324 instructions.
24325
ae1bc2fa
AS
243262011-11-07 Andreas Schwab <schwab@redhat.com>
24327
7583a88d
AS
24328 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
24329 handler when locking.
24330
ae1bc2fa
AS
24331 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24332 Fix size of allocated buffer.
24333
10fb0bfa
AS
243342011-11-04 Andreas Schwab <schwab@redhat.com>
24335
998832a4
AS
24336 [BZ #10103]
24337 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
24338 declarations for long double functions.
24339 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
24340
10fb0bfa
AS
24341 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
24342
3d7ba52b
AS
243432011-11-03 Andreas Schwab <schwab@redhat.com>
24344
a9ae54a1
AS
24345 * nscd/nscd.c (main): Don't start AVC thread until credentials are
24346 installed.
24347
3d7ba52b
AS
24348 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
24349 is disabled.
24350
bc8db248
ST
243512011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
24352
24353 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
24354
45b96dd6
AS
243552011-11-01 Andreas Schwab <schwab@linux-m68k.org>
24356
647776f6
AS
24357 * include/alloca.h (stackinfo_alloca_round): Define.
24358 (extend_alloca): Use it.
24359 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
24360 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
24361 here.
24362
d91a8b93
AS
24363 * scripts/check-local-headers.sh: Ignore libaudit.h.
24364
45b96dd6
AS
24365 * nscd/Makefile (extra-objs): Make recursively expanded.
24366
432d41ce
UD
243672011-11-01 Ulrich Drepper <drepper@gmail.com>
24368
34372fc6
UD
24369 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
24370 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24371
fadb59f8
UD
24372 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
24373 * posix/tst-rfc3484-2.c: Likewise.
24374 * posix/tst-rfc3484-3.c: Likewise.
24375
78239589
UD
24376 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24377 process_vm_writev.
24378 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
24379 process_vm_writev.
24380 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
24381 process_vm_writev from libc using GLIBC_2.15 version.
24382
432d41ce
UD
24383 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
24384
02f9c6cf
PP
243852011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
24386
24387 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
24388 stack usage.
24389
3a2c0242
UD
243902011-10-31 Ulrich Drepper <drepper@gmail.com>
24391
f4ec4833
UD
24392 [BZ #13367]
24393 * nss/getent.c (initgroups_keys): Show error message in case no group
24394 names are given.
24395
3a2c0242
UD
24396 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
24397 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
24398 __bump_nl_timestamp.
24399 * nscd/connections (nscd_init): When host database is served open
24400 netlink socket and request notification about configuration changes.
24401 (main_loop_poll): Track netlink file descriptor and bump timestamp
24402 in case data becomes available.
24403 (main_loop_epoll): Likewise.
24404 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
24405 (database_pers_head): Add extra_data fileds.
24406 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
24407 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
24408 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
24409 Adjust caller.
24410 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
24411 in6ai data, call __free_in6ai.
24412 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
24413 Add -DHAVE_NETLINK.
24414 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
24415 interface information. Reuse previous data if netlink timestamp
24416 is not changed.
24417 (__bump_nl_timestamp): New function.
24418 (__free_in6ai): New function.
24419
636064eb
UD
244202011-10-30 Ulrich Drepper <drepper@gmail.com>
24421
24422 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
24423 close_not_cancel_no_status here.
24424 (__check_pf): Reorganize code a bit to not call close twice if OOM.
24425
9beb2334
UD
244262011-10-29 Ulrich Drepper <drepper@gmail.com>
24427
6ef76f3b
UD
24428 [BZ #13276]
24429 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
24430 return value.
24431
0ffc4f3e 24432 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
24433 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
24434 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
24435
cb95113e
UD
244362011-07-03 Andreas Jaeger <aj@suse.de>
24437
24438 [BZ #10709]
24439 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
24440 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
24441 * math/libm-test.inc (sin_test): Add test case.
24442
a1b560ff
UD
244432011-10-29 Ulrich Drepper <drepper@gmail.com>
24444
c9aaface
UD
24445 [BZ #13337]
24446 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
24447 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24448
d272e7f1
UD
24449 * elf/chroot_canon.c (chroot_canon): Cleanups.
24450
1bc33071
UD
24451 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
24452
1760874d
TJ
24453 [BZ #13335]
24454 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
24455 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24456
51d91b18
UD
24457 * string/test-strchr.c: Make usable for strchrnul testing.
24458 * string/test-strchrnul.c: New file.
24459 * string/Makefile (strop-tests): Add strchrnul.
24460
a1b560ff 24461 * po/it.po: Update from translation team.
b611fb81 24462 * po/es.po: Likewise.
a1b560ff 24463
a5b81e1f
UD
244642011-10-28 Ulrich Drepper <drepper@gmail.com>
24465
fd52bc6d
UD
24466 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
24467 the three constants needed as parameters. Drop the others.
24468 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
24469 __m128i_strloadu_tolower.
52e4b9eb
UD
24470 Create and initialize variable zero and use it in all the places
24471 where _mm_setzero_si128 was used.
fd52bc6d 24472
a5b81e1f
UD
24473 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
24474 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
24475 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
24476 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
24477 anymore.
24478 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
24479 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
24480 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
24481 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
24482 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
24483 __mpranred, __mptan.
24484 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
24485 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
24486 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
24487 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
24488 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
24489 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
24490 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
24491 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
24492 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
24493
b4343346
AS
244942011-10-28 Andreas Schwab <schwab@redhat.com>
24495
0c92d8a8
AS
24496 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
24497 redefine if SHARED.
24498 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
24499
b4343346
AS
24500 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
24501 wide char related routines to wcsmbs subdir.
24502
3871f58f
AS
245032011-10-27 Andreas Schwab <schwab@redhat.com>
24504
24505 [BZ #13344]
24506 * misc/sys/cdefs.h (__THROWNL): Define.
24507 * posix/unistd.h: Use __THREADNL instead of __THREAD
24508 for memory synchronization functions.
24509
94d44d9f
RM
245102011-10-26 Roland McGrath <roland@hack.frob.com>
24511
21b64b15 24512 [BZ #13349]
94d44d9f
RM
24513 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
24514 doesn't exist.
24515 * manual/stdio.texi (Obstack Streams): Node removed.
24516
f6ce9294
AS
245172011-10-26 Andreas Schwab <schwab@redhat.com>
24518
80479147
AS
24519 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
24520 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24521 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24522
f6ce9294
AS
24523 * math/math_private.h (math_force_eval): Allow non-addressable
24524 arguments.
24525 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
24526
618280a1
UD
245272011-10-25 Ulrich Drepper <drepper@gmail.com>
24528
e0016b11
UD
24529 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
24530 file is not needed.
24531
24532 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
24533 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
24534 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24535 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24536 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24537 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24538 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24539 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
24540 Add AVX variants.
24541 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
24542 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
24543 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
24544 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
24545 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
24546 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
24547 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
24548 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
24549 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
24550 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
24551 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
24552 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
24553 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
24554 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
24555 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
24556 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
24557 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
24558 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
24559 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
24560
24561 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
24562 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
24563
618280a1
UD
24564 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
24565 place. Use VEX encoding when compiling for AVX.
24566
37822576
AS
245672011-10-25 Andreas Schwab <schwab@redhat.com>
24568
1f1e1947
AS
24569 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
24570 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24571
37822576
AS
24572 * string/test-strchr.c (do_test): Don't generate NUL bytes.
24573
31ea014d
UD
245742011-10-25 Ulrich Drepper <drepper@gmail.com>
24575
d7826aa1 24576 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 24577 useless if() expression.
d7826aa1
UD
24578 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24579 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24580 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24581 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24582 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24583 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24584 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24585 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24586 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24587 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24588 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24589 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24590 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24591 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24592 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24593 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24594 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24595 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24596 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24597
31ea014d
UD
24598 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
24599
16437fec
AS
246002011-10-25 Andreas Schwab <schwab@redhat.com>
24601
24602 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
24603 condition.
24604 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24605
31d3cc00
UD
246062011-10-25 Ulrich Drepper <drepper@gmail.com>
24607
24608 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
24609 .text section. Avoid duplicate constants.
24610 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24611 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24612 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24613 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24614 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24615 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24616 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24617 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24618 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24619 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
24620 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24621 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24622 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24623 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24624 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24625 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24626 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24627 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24628 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24629 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24630 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24631 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24632 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24633 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
24634 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
24635 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
24636 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
24637 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
24638 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
24639 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
24640 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
24641 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
24642 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24643 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
24644 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
24645 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
24646 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
24647 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
24648 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
24649 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
24650 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
24651 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
24652 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
24653 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24654 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
24655
58985aa9
UD
246562011-10-24 Ulrich Drepper <drepper@gmail.com>
24657
202c9deb
UD
24658 * sysdeps/x86_64/dla.h: Move to ...
24659 * sysdeps/x86_64/fpu/dla.h: ...here.
24660 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
24661 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 24662
af968f62
UD
24663 * config.make.in: Add have-mfma4 entry.
24664 * configure.in: Substitute libc_cv_cc_fma4.
24665 * math/Makefile (dbl-only-routines): Add sincostab.
24666 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
24667 Use __sincostab not sincos.
24668 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
24669 name is a macro.
24670 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24671 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24672 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24673 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
24674 using __copysign.
24675 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
24676 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
24677 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
24678 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
24679 and __inv.
24680 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
24681 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
24682 __copysign.
24683 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
24684 define aliases when function name is a macro.
24685 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
24686 sysdeps/ieee754/dbl-64/sincos.tbl.
24687 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
24688 fma4-enabled routines.
24689 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
24690 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
24691 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
24692 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
24693 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
24694 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
24695 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
24696 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
24697 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
24698 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
24699 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
24700 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
24701 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
24702 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
24703 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
24704 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
24705 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
24706 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
24707 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
24708 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
24709 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
24710 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
24711 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
24712 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
24713 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
24714 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
24715 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
24716 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
24717 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
24718 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
24719
58985aa9
UD
24720 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
24721 rename.
24722 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24723 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24724 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24725 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24726 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24727 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24728 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24729 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24730
a201fbcf
AS
247312011-10-24 Andreas Schwab <schwab@redhat.com>
24732
24733 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
24734
fc2ee42a
LD
247352011-10-23 Ulrich Drepper <drepper@gmail.com>
24736
bb3129bd
UD
24737 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
24738
0275fff8
UD
24739 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
24740 prediction.
24741 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
24742
2fa2ae85
UD
24743 * string/strnlen.c: Don't define STRNLEN, reverse logic.
24744 Remove unused variable magic_bits.
24745 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
24746
fc2ee42a
LD
24747 * string/strnlen.c: Define and use STRNLEN macro.
24748 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
24749 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
24750 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
24751 * wcsmbs/wcslen.c: Define and use WCSLEN.
24752 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
24753 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
24754 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
24755 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
24756 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
24757 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
24758 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24759
ce7dd29f
LD
247602011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24761
24762 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24763 strnlen-sse2-no-bsf.
24764 Rename strlen-no-bsf to strlen-sse2-no-bsf.
24765 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
24766 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
24767 Add strnlen support.
24768 (USE_AS_STRNLEN): New macro.
24769 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
24770 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
24771 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
24772 * sysdeps/x86_64/wcslen.S: New file.
24773
979c70a3
MZ
247742011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
24775
24776 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24777 XMM-moves are used for copying on small sizes.
24778
2d09f82f
LD
247792011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24780
24781 * wcsmbs/Makefile (strop-tests): Add wcschr.
24782 * wcsmbs/test-wcschr.c: New file.
24783 * string/test-strchr.c: Update.
24784 Add wcschr support.
24785 (WIDE): New macro.
24786
619fccca
LD
247872011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24788
2d09f82f 24789 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
24790 * wcsmbs/test-wcslen.c: New file.
24791 * string/test-strlen.c: Update.
24792 Add wcslen support.
24793 (WIDE): New macro.
24794
09f699ea
UD
247952011-10-23 Ulrich Drepper <drepper@gmail.com>
24796
24797 * po/it.po: Update from translation team.
24798
95584d3b
LD
247992011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24800
24801 * sysdeps/x86_64/wcscmp.S: Update.
24802 Fix wrong comparison semantics.
24803 wcscmp shall use signed comparison not unsigned.
24804 Don't use substraction to avoid overflow bug.
24805 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24806 * wcsmbc/wcscmp.c: Likewise.
24807 * string/test-strcmp.c: Likewise.
24808 Add new tests to check cases with negative values.
24809
c8b3296b
UD
248102011-10-23 Ulrich Drepper <drepper@gmail.com>
24811
24812 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
24813 * sysdeps/x86_64/dla.h: ...here. New file.
24814 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
24815 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24816 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24817 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24818 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24819 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24820 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24821 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24822 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24823
246ad57a
AS
248242011-10-23 Andreas Schwab <schwab@linux-m68k.org>
24825
24826 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
24827 __ynl_finite aliases.
24828
a1a87169
UD
248292011-10-22 Ulrich Drepper <drepper@gmail.com>
24830
0d355eb7
UD
24831 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24832
a1a87169
UD
24833 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
24834 define DLA_FMA.
24835 [DLA_FMA] (EMULV): Use DLA_FMA.
24836 [DLA_FMA] (MUL12): Use EMULV.
24837 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
24838 that are not needed.
24839 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24840 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24841 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24842 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24843 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24844 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24845 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24846
ee2aafe0
AS
248472011-10-22 Andreas Schwab <schwab@linux-m68k.org>
24848
24849 * math/s_nan.c: Undef __nan.
24850 * math/s_nanf.c: Undef __nanf.
24851 * math/s_nanl.c: Undef __nanl.
24852 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
24853 "math_private.h".
24854
bc62c2fb
UD
248552011-10-22 Ulrich Drepper <drepper@gmail.com>
24856
77425c63
UD
24857 * math/s_catan.c: Add branch predictions.
24858 * math/s_catanf.c: Likewise.
24859 * math/s_catanh.c: Likewise.
24860 * math/s_catanhf.c: Likewise.
24861 * math/s_catanhl.c: Likewise.
24862 * math/s_catanl.c: Likewise.
24863 * math/s_cexp.c: Likewise.
24864 * math/s_cexpf.c: Likewise.
24865 * math/s_cexpl.c: Likewise.
24866 * math/s_clog.c: Likewise.
24867 * math/s_clog10.c: Likewise.
24868 * math/s_clog10f.c: Likewise.
24869 * math/s_clog10l.c: Likewise.
24870 * math/s_clogf.c: Likewise.
24871 * math/s_clogl.c: Likewise.
24872 * math/s_csqrt.c: Likewise.
24873 * math/s_csqrtf.c: Likewise.
24874 * math/s_csqrtl.c: Likewise.
24875 * math/s_ctanf.c: Likewise.
24876 * math/s_ctanh.c: Likewise.
24877 * math/s_ctanhf.c: Likewise.
24878 * math/s_ctanhl.c: Likewise.
24879 * math/s_ctanl.c: Likewise.
24880
bc62c2fb
UD
24881 * math/math_private.h: Define __nan, __nanf, __nanl.
24882 * math/s_cacosh.c: Include <math_private.h>.
24883 * math/s_cacoshl.c: Likewise.
24884 * math/s_casinh.c: Likewise.
24885 * math/s_casinhf.c: Likewise.
24886 * math/s_casinhl.c: Likewise.
24887 * math/s_ccos.c: Rely entire on ccosh.
24888 * math/s_ccosf.c: Rely entire on ccoshf.
24889 * math/s_ccosl.c: Rely entirely on ccoshl.
24890 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
24891 Remove tests for FE_INVALID.
24892 * math/s_ccoshf.c: Likewise.
24893 * math/s_ccoshl.c: Likewise.
24894 * math/s_csin.c: Likewise.
24895 * math/s_csinf.c: Likewise.
24896 * math/s_csinh.c Likewise.
24897 * math/s_csinhf.c: Likewise.
24898 * math/s_csinhl.c: Likewise.
24899 * math/s_csinl.c: Likewise.
24900 * math/s_ctan.c: Likewise.
24901 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
24902 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
24903 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
24904
8ec250a4
UD
249052011-10-21 Ulrich Drepper <drepper@gmail.com>
24906
c196fed8
UD
24907 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
24908 compilation problems.
24909
8ec250a4
UD
24910 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
24911 __builtin_expect.
24912
8d4f46c6
UD
249132011-10-20 Ulrich Drepper <drepper@gmail.com>
24914
ed72b654
UD
24915 * sysdeps/i386/configure.in: Test for -mfma4 option.
24916 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
24917 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
24918 COMMON_CPUID_INDEX_80000001.
24919 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
24920 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
24921 use it if FMA3 is not supported.
24922 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
24923
8d4f46c6
UD
24924 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
24925 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24926
d45c60c2
AS
249272011-10-20 Andreas Schwab <schwab@redhat.com>
24928
24929 [BZ #12892]
24930 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
24931 it would create a cycle with a link time dependency.
24932
d9a4d2ab
UD
249332011-10-19 Ulrich Drepper <drepper@gmail.com>
24934
855d1560
UD
24935 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
24936 instruction.
24937 * string/Makefile (strop-tests): Add rawmemchr.
24938 * string/test-rawmemchr.c: New file.
24939
d9a4d2ab
UD
24940 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
24941 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
24942 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
24943 when compiling str{,n}casecmp and when AVX is available. Hook up
24944 new optimized code in initializers.
24945
8f3b1ffe
AS
249462011-10-19 Andreas Schwab <schwab@redhat.com>
24947
24948 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
24949 __feraiseexcept instead of feraiseexcept.
24950
d38f1dba
UD
249512011-10-18 Ulrich Drepper <drepper@gmail.com>
24952
d9a8d0ab
UD
24953 * math/math_private.h: Define defaults for libc_fetestexcept and
24954 libc_feupdateenv.
24955 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
24956 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
24957 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24958 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24959 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24960 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24961 libc_fetestexcept and libc_feupdateenv.
24962
4855e3dd
UD
24963 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
24964 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
24965 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
24966 * sysdeps/x86_64/fpu/math_private.h: Define special version of
24967 libc_feholdexcept_setround.
24968
581d30e3
UD
24969 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
24970 Add s_nearbyint-c and s_nearbyintf-c.
24971 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
24972 nearbyintf inlines.
24973 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
24974 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
24975 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
24976 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
24977
d38f1dba
UD
24978 * math/math_private.h: Define defaults for libc_fegetround,
24979 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
24980 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
24981 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
24982 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
24983 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
24984 standard functions.
24985 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24986 Remove comments and hacks for old compiler versions.
24987 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24988 libc_fegetround, libc_fesetround, libc_feholdexcept, and
24989 libc_feholdexceptl.
24990
caa6c9d8
AS
249912011-10-18 Andreas Schwab <schwab@redhat.com>
24992
24993 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
24994 (__feraiseexcept_renamed): Add __NTH.
24995 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
24996 namespace violations.
24997
97c066e6
UD
249982011-10-17 Ulrich Drepper <drepper@gmail.com>
24999
99ce7b04
UD
25000 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
25001
1004d182
UD
25002 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
25003
228a984d
UD
25004 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
25005 recently added interfaces.
25006 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
25007
c8553a6a
UD
25008 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
25009 about macro parameter expansion.
25010
ed22dcf6
UD
25011 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
25012 __NO_MATH_INLINES is defined. Cleanups.
25013
25014 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
25015 and __floorf is target has SSE4.1.
25016 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
25017 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
25018 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
25019 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
25020
b171c137
UD
25021 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
25022 name.
25023 (floorf): Likewise.
25024
97c066e6
UD
25025 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
25026
629f62ef
AS
250272011-10-17 Andreas Schwab <schwab@redhat.com>
25028
49a43d80
AS
25029 * misc/sys/cdefs.h: Fix last change.
25030
629f62ef
AS
25031 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
25032 database lookup.
25033
e453f6cd
UD
250342011-10-16 Ulrich Drepper <drepper@gmail.com>
25035
aa78043a
UD
25036 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
25037
ad0f5cad
UD
25038 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
25039 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25040 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25041 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25042 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25043 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25044 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25045 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25046 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25047 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
25048 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
25049 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
25050 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
25051 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
25052 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
25053 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
25054 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
25055 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
25056 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
25057 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
25058 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
25059 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
25060
25061 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
25062 ceil, ceilf, floor, floorf.
25063
25064 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
25065 Perform IRELATIVE relocations last.
25066
e453f6cd
UD
25067 * elf/do-rel.h: Add another parameter nrelative, replacing the
25068 local variable with the same name. Change name of the function
25069 to end in Rel or Rela (uppercase).
25070 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
25071 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
25072 elf_dynamic_do_##reloc function.
25073
fd5bdc09
UD
250742011-10-15 Ulrich Drepper <drepper@gmail.com>
25075
79b195b5
UD
25076 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
25077 is sufficient, at least on modern CPUs.
25078
d4a28569
UD
25079 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
25080
b61099b5
UD
25081 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
25082 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
25083
bcf01e6d
UD
25084 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
25085 __expl_finite.
25086 * math/bits/math-finite.h: Add entries for exp.
25087 * math/e_expl.c: Add __*_finite alias.
25088 * sysdeps/i386/fpu/e_exp.S: Likewise.
25089 * sysdeps/i386/fpu/e_expf.S: Likewise.
25090 * sysdeps/i386/fpu/e_expl.c: Likewise.
25091 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25092 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25093 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25094 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25095 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
25096 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25097 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25098
ba1a0d59
UD
25099 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
25100 is sufficient, at least on modern CPUs.
25101
fd5bdc09
UD
25102 * ctype/ctype-info.c (__ctype_init): Define.
25103 * include/ctype.h (__ctype_init): Declare.
25104 (__ctype_b_loc): The variable is always initialized.
25105 (__ctype_toupper_loc): Likewise.
25106 (__ctype_tolower_loc): Likewise.
25107 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
25108 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
25109
7872cfb0
AS
251102011-10-15 Andreas Schwab <schwab@linux-m68k.org>
25111
b468825a
AS
25112 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
25113
7872cfb0
AS
25114 * configure.in: Also look in $cxxmachine/include for C++ system
25115 headers.
25116
be13f7bf
LD
251172011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25118
25119 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
25120 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
25121 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
25122 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
25123 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
25124 (USE_AS_WMEMCMP): New macro.
25125 Fixing indents.
25126 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
25127 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
25128 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
25129 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
25130 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25131 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
25132 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
25133 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
25134 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
25135 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
25136 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
25137 (USE_AS_WMEMCMP): New macro.
25138 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
25139 * sysdeps/string/test-memcmp.c: Update.
25140 Fix simple_wmemcmp.
25141 Add new tests.
25142 * wcsmbs/wmemcmp.c: Update.
25143 (WMEMCMP): New macro.
25144 Fix overflow bug.
25145
556a2007
AJ
251462011-10-12 Andreas Jaeger <aj@suse.de>
25147
25148 [BZ #13268]
25149 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
25150
538faaa7
UD
251512011-10-15 Ulrich Drepper <drepper@gmail.com>
25152
ab6737ff
UD
25153 * libio/iofwide.c (do_length): Avoid warning.
25154
538faaa7
UD
25155 * ctype/ctype.h (__isctype_f): Add missing __THROW.
25156
396a21b1
UD
251572011-10-14 Ulrich Drepper <drepper@gmail.com>
25158
cdf2901f
UD
25159 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
25160
38ad40ce
UD
25161 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
25162 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
25163 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
25164 * sysdeps/i386/i686/fpu/e_log.S: New file.
25165 * sysdeps/i386/i686/fpu/e_logf.S: New file.
25166 * sysdeps/i386/i686/fpu/e_logl.S: New file.
25167
396a21b1
UD
25168 * ctype/ctype.h: Add support for inlined isXXX functions when
25169 compiling C++ code.
25170
6b1f68c9
AS
251712011-10-14 Andreas Schwab <schwab@redhat.com>
25172
349290c0
AS
25173 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25174
6b1f68c9
AS
25175 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
25176
f2282d42
RM
251772011-10-13 Roland McGrath <roland@hack.frob.com>
25178
25179 [BZ #13291]
25180 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
25181
5298ffa8
AS
251822011-10-13 Andreas Schwab <schwab@redhat.com>
25183
714fad23
AS
25184 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
25185 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
25186 feraiseexcept.
25187
81dcc7fb
AS
25188 * sysdeps/x86_64/memrchr.S: Check for zero size.
25189
5298ffa8
AS
25190 * string/stratcliff.c: Add memrchr tests.
25191
951fbcec
LD
251922011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25193
25194 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25195 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
25196 rawmemchr-sse2 rawmemchr-sse2-bsf.
25197 * sysdeps/i386/i686/multiarch/memchr.S: New file.
25198 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
25199 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
25200 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
25201 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
25202 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
25203 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
25204 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
25205 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
25206 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
25207 * string/memrchr.c (MEMRCHR): New macro.
25208
0ac5ae23
UD
252092011-10-12 Ulrich Drepper <drepper@gmail.com>
25210
25211 Add integration with gcc's -ffinite-math-only and optimize wrapper
25212 functions in libm.
25213 * Versions.def: Define GLIBC_2.15 version for libm.
25214 * math/Makefile (headers): Add bits/math-finite.h.
25215 * math/bits/math-finite.h: New file.
25216 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
25217 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
25218 * math/e_acoshl.c: Add __*_finite alias.
25219 * math/e_acosl.c: Likewise.
25220 * math/e_asinl.c: Likewise.
25221 * math/e_atan2l.c: Likewise.
25222 * math/e_atanhl.c: Likewise.
25223 * math/e_coshl.c: Likewise.
25224 * math/e_exp10.c: Likewise.
25225 * math/e_exp10f.c: Likewise.
25226 * math/e_exp10l.c: Likewise.
25227 * math/e_exp2l.c: Likewise.
25228 * math/e_fmodl.c: Likewise.
25229 * math/e_gammal_r.c: Likewise.
25230 * math/e_hypotl.c: Likewise.
25231 * math/e_j0l.c: Likewise.
25232 * math/e_j1l.c: Likewise.
25233 * math/e_jnl.c: Likewise.
25234 * math/e_lgammal_r.c: Likewise.
25235 * math/e_log10l.c: Likewise.
25236 * math/e_log2l.c: Likewise.
25237 * math/e_logl.c: Likewise.
25238 * math/e_powl.c: Likewise.
25239 * math/e_sinhl.c: Likewise.
25240 * math/e_sqrtl.c: Likewise.
25241 * math/e_scalb.c: Completely rewritten and optimized.
25242 * math/e_scalbf.c: Likewise.
25243 * math/e_scalbl.c: Likewise.
25244 * math/w_acos.c: Likewise.
25245 * math/w_acosf.c: Likewise.
25246 * math/w_acosl.c: Likewise.
25247 * math/w_acosh.c: Likewise.
25248 * math/w_acoshf.c: Likewise.
25249 * math/w_acoshl.c: Likewise.
25250 * math/w_asin.c: Likewise.
25251 * math/w_asinf.c: Likewise.
25252 * math/w_asinl.c: Likewise.
25253 * math/w_atan2.c: Likewise.
25254 * math/w_atan2f.c: Likewise.
25255 * math/w_atan2l.c: Likewise.
25256 * math/w_atanh.c: Likewise.
25257 * math/w_atanhf.c: Likewise.
25258 * math/w_atanhl.c: Likewise.
25259 * math/w_exp10.c: Likewise.
25260 * math/w_exp10f.c: Likewise.
25261 * math/w_exp10l.c: Likewise.
25262 * math/w_fmod.c: Likewise.
25263 * math/w_fmodf.c: Likewise.
25264 * math/w_fmodl.c: Likewise.
25265 * math/w_j0.c: Likewise.
25266 * math/w_j0f.c: Likewise.
25267 * math/w_j0l.c: Likewise.
25268 * math/w_j1.c: Likewise.
25269 * math/w_j1f.c: Likewise.
25270 * math/w_j1l.c: Likewise.
25271 * math/w_jn.c: Likewise.
25272 * math/w_jnf.c: Likewise.
25273 * math/w_log.c: Likewise.
25274 * math/w_logf.c: Likewise.
25275 * math/w_logl.c: Likewise.
25276 * math/w_log10.c: Likewise.
25277 * math/w_log10f.c: Likewise.
25278 * math/w_log10l.c: Likewise.
25279 * math/w_log2.c: Likewise.
25280 * math/w_log2f.c: Likewise.
25281 * math/w_log2l.c: Likewise.
25282 * math/w_pow.c: Likewise.
25283 * math/w_powf.c: Likewise.
25284 * math/w_powl.c: Likewise.
25285 * math/w_remainder.c: Likewise.
25286 * math/w_remainderf.c: Likewise.
25287 * math/w_remainderl.c: Likewise.
25288 * math/w_scalb.c: Likewise.
25289 * math/w_scalbf.c: Likewise.
25290 * math/w_scalbl.c: Likewise.
25291 * math/w_sqrt.c: Likewise.
25292 * math/w_sqrtf.c: Likewise.
25293 * math/w_sqrtl.c: Likewise.
25294 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
25295 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
25296 used.
25297 * math/math_private.h: Declare __kernel_standard_f.
25298 * math/w_cosh.c: Remove cruft and optimize a bit.
25299 * math/w_coshf.c: Likewise.
25300 * math/w_coshl.c: Likewise.
25301 * math/w_exp2.c: Likewise.
25302 * math/w_exp2f.c: Likewise.
25303 * math/w_exp2l.c: Likewise.
25304 * math/w_hypot.c: Likewise.
25305 * math/w_hypotf.c: Likewise.
25306 * math/w_hypotl.c: Likewise.
25307 * math/w_lgamma.c: Likewise.
25308 * math/w_lgamma_r.c: Likewise.
25309 * math/w_lgammaf.c: Likewise.
25310 * math/w_lgammaf_r.c: Likewise.
25311 * math/w_lgammal.c: Likewise.
25312 * math/w_lgammal_r.c: Likewise.
25313 * math/w_sinh.c: Likewise.
25314 * math/w_sinhf.c: Likewise.
25315 * math/w_sinhl.c: Likewise.
25316 * math/w_tgamma.c: Likewise.
25317 * math/w_tgammaf.c: Likewise.
25318 * math/w_tgammal.c: Likewise.
25319 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25320 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25321 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
25322 Minor optimizations. Pretty printing. Remove cruft.
25323 * sysdeps/i386/fpu/e_acosf.S: Likewise.
25324 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25325 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25326 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25327 * sysdeps/i386/fpu/e_acosl.c: Likewise.
25328 * sysdeps/i386/fpu/e_asin.S: Likewise.
25329 * sysdeps/i386/fpu/e_asinf.S: Likewise.
25330 * sysdeps/i386/fpu/e_atan2.S: Likewise.
25331 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
25332 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
25333 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25334 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25335 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25336 * sysdeps/i386/fpu/e_exp10.S: Likewise.
25337 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
25338 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
25339 * sysdeps/i386/fpu/e_exp2.S: Likewise.
25340 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
25341 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
25342 * sysdeps/i386/fpu/e_fmod.S: Likewise.
25343 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
25344 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
25345 * sysdeps/i386/fpu/e_hypot.S: Likewise.
25346 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
25347 * sysdeps/i386/fpu/e_log.S: Likewise.
25348 * sysdeps/i386/fpu/e_log10.S: Likewise.
25349 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25350 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25351 * sysdeps/i386/fpu/e_log2.S: Likewise.
25352 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25353 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25354 * sysdeps/i386/fpu/e_logf.S: Likewise.
25355 * sysdeps/i386/fpu/e_logl.S: Likewise.
25356 * sysdeps/i386/fpu/e_pow.S: Likewise.
25357 * sysdeps/i386/fpu/e_powf.S: Likewise.
25358 * sysdeps/i386/fpu/e_powl.S: Likewise.
25359 * sysdeps/i386/fpu/e_remainder.S: Likewise.
25360 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
25361 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
25362 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25363 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25364 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25365 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
25366 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
25367 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
25368 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25369 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25370 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25371 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25372 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25373 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25374 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25375 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25376 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25377 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25378 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25379 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25380 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25381 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25382 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25383 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25384 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25385 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25386 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25387 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25388 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25389 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25390 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25391 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25392 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25393 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25394 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25395 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25396 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
25397 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25398 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25399 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25400 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25401 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25402 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25403 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25404 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25405 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25406 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25407 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25408 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25409 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25410 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25411 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25412 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25413 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25414 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25415 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25416 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25417 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
25418 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25419 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25420 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25421 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25422 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25423 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25424 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25425 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25426 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25427 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25428 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25429 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25430 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25431 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25432 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25433 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25434 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25435 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25436 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
25437 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25438 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25439 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25440 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25441 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25442 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25443 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25444 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25445 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25446 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25447 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25448 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25449 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25450 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
25451 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25452 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25453 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25454 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25455 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25456 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25457 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25458 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25459 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25460 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25461 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25462 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25463 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25464 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25465 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
25466 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
25467 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
25468 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
25469 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
25470 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
25471 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
25472 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25473 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25474 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25475 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25476 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
25477 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25478 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
25479 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
25480 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
25481 (__isnanf): Likewise.
25482 (__isinf_ns): Likewise.
25483 (__isinf_nsf): Likewise.
25484 (__finite): Likewise.
25485 (__finitef): Likewise.
25486 (__ieee754_sqrt): Define as macro.
25487 (__ieee754_sqrtf): Define as macro.
25488 (__ieee754_sqrtl): Define as macro.
25489 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
25490 inlined copy.
25491 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
25492 __FINITE_MATH_ONLY__ consistent.
25493 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
25494
12cc2fcd
AS
254952011-10-10 Andreas Schwab <schwab@linux-m68k.org>
25496
a843a204
AS
25497 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
25498 of rawmemchr.
25499
12cc2fcd
AS
25500 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
25501
c853acd5
UD
255022011-10-09 Ulrich Drepper <drepper@gmail.com>
25503
25504 * po/ja.po: Update from translation team.
25505
c658d255
RM
255062011-10-08 Roland McGrath <roland@hack.frob.com>
25507
110946e4
RM
25508 * locale/programs/locarchive.c (prepare_address_space): New function.
25509 (create_archive, enlarge_archive, open_archive): Use it.
25510
50604220
RM
25511 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
25512 inside [SHARED], where it is used.
25513
c658d255
RM
25514 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
25515
25516 * nss/getent.c (netgroup_keys): Remove unused variable.
25517 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25518
6a621eb7
UD
255192011-10-08 Ulrich Drepper <drepper@gmail.com>
25520
7edb55ce
UD
25521 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
25522 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
25523 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
25524 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
25525 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
25526 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
25527 * math/Makefile (libm-calls): Add s_isinf_ns.
25528 * math/divtc3.c: Use __isinf_nsl instead of isinf.
25529 * math/multc3.c: Likewise.
25530 * math/s_casin.c: Likewise.
25531 * math/s_casinf.c: Likewise.
25532 * math/s_casinl.c: Likewise.
25533 * math/s_ccos.c: Likewise.
25534 * math/s_ccosf.c: Likewise.
25535 * math/s_ccosl.c: Likewise.
25536 * math/s_ctan.c: Likewise.
25537 * math/s_ctanf.c: Likewise.
25538 * math/s_ctanh.c: Likewise.
25539 * math/s_ctanhf.c: Likewise.
25540 * math/s_ctanhl.c: Likewise.
25541 * math/s_ctanl.c: Likewise.
25542 * math/w_fmod.c: Likewise.
25543 * math/w_fmodf.c: Likewise.
25544 * math/w_fmodl.c: Likewise.
25545 * math/w_remainder.c: Likewise.
25546 * math/w_remainderf.c: Likewise.
25547 * math/w_remainderl.c: Likewise.
25548 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
25549 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
25550 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
25551 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
25552 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
25553 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
25554 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
25555 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
25556
187da0ae
UD
25557 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
25558 of the number.
25559 * stdio-common/printf_fphex.c: Likewise.
25560 * stdio-common/printf_size.c: Likewise.
25561
9277c064
UD
25562 * math/e_exp10.c: Include math_private.h using <...> not "...".
25563 * math/e_exp10f.c: Likewise.
25564 * math/e_exp10l.c: Likewise.
25565 * math/e_exp2l.c: Likewise.
25566 * math/e_j0l.c: Likewise.
25567 * math/e_j1l.c: Likewise.
25568 * math/e_jnl.c: Likewise.
25569 * math/e_lgammal_r.c: Likewise.
25570 * math/e_rem_pio2l.c: Likewise.
25571 * math/e_scalb.c: Likewise.
25572 * math/e_scalbf.c: Likewise.
25573 * math/e_scalbl.c: Likewise.
25574 * math/k_cosl.c: Likewise.
25575 * math/k_sinl.c: Likewise.
25576 * math/k_tanl.c: Likewise.
25577 * math/s_cacoshf.c: Likewise.
25578 * math/s_catan.c: Likewise.
25579 * math/s_catanf.c: Likewise.
25580 * math/s_catanh.c: Likewise.
25581 * math/s_catanhf.c: Likewise.
25582 * math/s_catanhl.c: Likewise.
25583 * math/s_catanl.c: Likewise.
25584 * math/s_ccosh.c: Likewise.
25585 * math/s_ccoshf.c: Likewise.
25586 * math/s_ccoshl.c: Likewise.
25587 * math/s_cexp.c: Likewise.
25588 * math/s_cexpf.c: Likewise.
25589 * math/s_cexpl.c: Likewise.
25590 * math/s_clog.c: Likewise.
25591 * math/s_clog10.c: Likewise.
25592 * math/s_clog10f.c: Likewise.
25593 * math/s_clog10l.c: Likewise.
25594 * math/s_clogf.c: Likewise.
25595 * math/s_clogl.c: Likewise.
25596 * math/s_csin.c: Likewise.
25597 * math/s_csinf.c: Likewise.
25598 * math/s_csinh.c: Likewise.
25599 * math/s_csinhf.c: Likewise.
25600 * math/s_csinhl.c: Likewise.
25601 * math/s_csinl.c: Likewise.
25602 * math/s_csqrt.c: Likewise.
25603 * math/s_csqrtf.c: Likewise.
25604 * math/s_csqrtl.c: Likewise.
25605 * math/s_ctan.c: Likewise.
25606 * math/s_ctanf.c: Likewise.
25607 * math/s_ctanh.c: Likewise.
25608 * math/s_ctanhf.c: Likewise.
25609 * math/s_ctanhl.c: Likewise.
25610 * math/s_ctanl.c: Likewise.
25611 * math/s_ldexp.c: Likewise.
25612 * math/s_ldexpf.c: Likewise.
25613 * math/s_ldexpl.c: Likewise.
25614 * math/s_significand.c: Likewise.
25615 * math/s_significandf.c: Likewise.
25616 * math/s_significandl.c: Likewise.
25617 * math/w_acos.c: Likewise.
25618 * math/w_acosf.c: Likewise.
25619 * math/w_acosh.c: Likewise.
25620 * math/w_acoshf.c: Likewise.
25621 * math/w_acoshl.c: Likewise.
25622 * math/w_acosl.c: Likewise.
25623 * math/w_asin.c: Likewise.
25624 * math/w_asinf.c: Likewise.
25625 * math/w_asinl.c: Likewise.
25626 * math/w_atan2.c: Likewise.
25627 * math/w_atan2f.c: Likewise.
25628 * math/w_atan2l.c: Likewise.
25629 * math/w_atanh.c: Likewise.
25630 * math/w_atanhf.c: Likewise.
25631 * math/w_atanhl.c: Likewise.
25632 * math/w_cosh.c: Likewise.
25633 * math/w_coshf.c: Likewise.
25634 * math/w_coshl.c: Likewise.
25635 * math/w_dremf.c: Likewise.
25636 * math/w_exp10.c: Likewise.
25637 * math/w_exp10f.c: Likewise.
25638 * math/w_exp10l.c: Likewise.
25639 * math/w_exp2.c: Likewise.
25640 * math/w_exp2f.c: Likewise.
25641 * math/w_fmod.c: Likewise.
25642 * math/w_fmodf.c: Likewise.
25643 * math/w_fmodl.c: Likewise.
25644 * math/w_hypot.c: Likewise.
25645 * math/w_hypotf.c: Likewise.
25646 * math/w_hypotl.c: Likewise.
25647 * math/w_j0.c: Likewise.
25648 * math/w_j0f.c: Likewise.
25649 * math/w_j0l.c: Likewise.
25650 * math/w_j1.c: Likewise.
25651 * math/w_j1f.c: Likewise.
25652 * math/w_j1l.c: Likewise.
25653 * math/w_jn.c: Likewise.
25654 * math/w_jnf.c: Likewise.
25655 * math/w_jnl.c: Likewise.
25656 * math/w_lgamma.c: Likewise.
25657 * math/w_lgamma_r.c: Likewise.
25658 * math/w_lgammaf.c: Likewise.
25659 * math/w_lgammaf_r.c: Likewise.
25660 * math/w_lgammal.c: Likewise.
25661 * math/w_lgammal_r.c: Likewise.
25662 * math/w_log.c: Likewise.
25663 * math/w_log10.c: Likewise.
25664 * math/w_log10f.c: Likewise.
25665 * math/w_log10l.c: Likewise.
25666 * math/w_log2.c: Likewise.
25667 * math/w_log2f.c: Likewise.
25668 * math/w_log2l.c: Likewise.
25669 * math/w_logf.c: Likewise.
25670 * math/w_logl.c: Likewise.
25671 * math/w_pow.c: Likewise.
25672 * math/w_powf.c: Likewise.
25673 * math/w_powl.c: Likewise.
25674 * math/w_remainder.c: Likewise.
25675 * math/w_remainderf.c: Likewise.
25676 * math/w_remainderl.c: Likewise.
25677 * math/w_scalb.c: Likewise.
25678 * math/w_scalbf.c: Likewise.
25679 * math/w_scalbl.c: Likewise.
25680 * math/w_sinh.c: Likewise.
25681 * math/w_sinhf.c: Likewise.
25682 * math/w_sinhl.c: Likewise.
25683 * math/w_sqrt.c: Likewise.
25684 * math/w_sqrtf.c: Likewise.
25685 * math/w_sqrtl.c: Likewise.
25686 * math/w_tgamma.c: Likewise.
25687 * math/w_tgammaf.c: Likewise.
25688 * math/w_tgammal.c: Likewise.
25689
6a621eb7
UD
25690 * po/ja.po: Update from translation team.
25691
bf582445
AJ
256922011-09-29 Andreas Jaeger <aj@suse.de>
25693
f9efbf3a
AJ
25694 [BZ #13179]
25695 * sunrpc/netname.c (netname2host): Fix logic.
25696
bf582445
AJ
25697 [BZ #6779]
25698 [BZ #6783]
25699 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
25700 correctly.
25701 * math/w_remainder.c (__remainder): Likewise.
25702 * math/w_remainderf.c (__remainderf): Likewise.
25703 * math/libm-test.inc (remainder_test): Add test cases.
25704
48693bea
AK
257052011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25706
25707 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
25708 sdiv_qrnnd.
25709
42622229
LD
257102011-10-07 Ulrich Drepper <drepper@gmail.com>
25711
25712 * string/test-memcmp.c: Avoid unncessary #defines.
25713 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25714
093ecf92
LD
257152011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25716
25717 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
25718 Use new sse2 version for core i3 - i7 as it's faster
25719 than sse42 version.
25720 (bit_Prefer_PMINUB_for_stringop): New.
25721 * sysdeps/x86_64/rawmemchr.S: Update.
25722 Replace with faster SSE2 version.
25723 * sysdeps/x86_64/memrchr.S: New file.
25724 * sysdeps/x86_64/memchr.S: Update.
25725 Replace with faster SSE2 version.
25726
fde56e5c
MP
257272011-09-12 Marek Polacek <mpolacek@redhat.com>
25728
25729 * elf/dl-load.c (lose): Add cast to avoid warning.
25730
21fd49a9
UD
257312011-10-07 Ulrich Drepper <drepper@gmail.com>
25732
5a06e643
UD
25733 * po/ca.po: Update from translation team.
25734
684ae515
UD
25735 * inet/getnetgrent_r.c: Hook up nscd.
25736 * nscd/Makefile (routines): Add nscd_netgroup.
25737 (nscd-modules): Add netgroupcache.
25738 (CFLAGS-netgroupcache.c): Define.
25739 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
25740 (cache_search): Add const to second parameter.
25741 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
25742 INNETGR.
25743 (dbs): Add netgrdb entry.
25744 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
25745 (verify_persistent_db): Handle netgrdb.
25746 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
25747 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
25748 GETFDNETGR.
25749 (netgroup_response_header): Define.
25750 (innetgroup_response_header): Define.
25751 (datahead): Add netgroup_response_header and innetgroup_response_header
25752 elements.
25753 * nscd/nscd.conf: Add entries for netgroup cache.
25754 * nscd/nscd.h (dbtype): Add netgrdb.
25755 (_PATH_NSCD_NETGROUP_DB): Define.
25756 (netgroup_iov_disabled): Declare.
25757 (xmalloc, xcalloc, xrealloc): Move declarations here.
25758 (cache_search): Adjust prototype.
25759 Add netgroup-related prototypes.
25760 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
25761 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
25762 (__nscd_innetgr): Declare.
25763 * nscd/selinux.c (perms): Use access_vector_t as element type and
25764 add netgroup-related initializers.
25765 * nscd/netgroupcache.c: New file.
25766 * nscd/nscd_netgroup.c: New file.
25767 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
25768 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
25769 For four parameters use innetgr.
25770 * nss/nss_files/files-init.c: Add definition and callback for netgr.
25771 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
25772 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
25773 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
25774
21fd49a9
UD
25775 * nscd/connections.c (register_traced_file): Don't register file
25776 for disabled databases.
25777
054c0457
UD
257782011-10-06 Ulrich Drepper <drepper@gmail.com>
25779
32b63198
UD
25780 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
25781
054c0457
UD
25782 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
25783 from tree and freeing node.
25784
64031225
JO
257852011-09-25 Jiri Olsa <jolsa@redhat.com>
25786
25787 * nss/nsswitch.c (__nss_database_lookup): Handle
25788 nss_parse_service_list out of memory case.
25789
0490345c
JO
257902011-09-15 Jiri Olsa <jolsa@redhat.com>
25791
25792 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
25793 out of memory case.
25794
3a62d00d
AS
257952011-10-04 Andreas Schwab <schwab@redhat.com>
25796
25797 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
25798 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
25799 pass it down.
25800 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
25801 elf_machine_rela, elf_machine_lazy_rel.
25802 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
25803 (ELF_DYNAMIC_DO_REL): Likewise.
25804 (ELF_DYNAMIC_DO_RELA): Likewise.
25805 (ELF_DYNAMIC_RELOCATE): Likewise.
25806 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
25807 to ELF_DYNAMIC_DO_REL.
25808 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
25809 (dl_main): In trace mode always set __RTLD_NOIFUNC.
25810 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
25811 elf_machine_rela.
25812 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
25813 skip_ifunc, don't call ifunc function if non-zero.
25814 (elf_machine_rela): Likewise.
25815 (elf_machine_lazy_rel): Likewise.
25816 (elf_machine_lazy_rela): Likewise.
25817 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
25818 (elf_machine_lazy_rel): Likewise.
25819 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25820 Likewise.
25821 (elf_machine_lazy_rel): Likewise.
25822 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25823 Likewise.
25824 (elf_machine_lazy_rel): Likewise.
25825 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
25826 (elf_machine_lazy_rel): Likewise.
25827 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
25828 (elf_machine_lazy_rel): Likewise.
25829 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25830 (elf_machine_lazy_rel): Likewise.
25831 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25832 (elf_machine_lazy_rel): Likewise.
25833 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25834 (elf_machine_lazy_rel): Likewise.
25835 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25836 (elf_machine_lazy_rel): Likewise.
25837
68577918
UD
258382011-09-28 Ulrich Drepper <drepper@gmail.com>
25839
25840 * nss/nss_files/files-init.c (_nss_files_init): Use static
25841 initialization for all the *_traced_file variables.
25842
68822d74
AS
258432011-09-28 Andreas Schwab <schwab@redhat.com>
25844
25845 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25846
2056100b
RM
258472011-09-27 Roland McGrath <roland@hack.frob.com>
25848
25849 [BZ #13226]
25850 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
25851
32c76b63
AS
258522011-09-27 Andreas Schwab <schwab@redhat.com>
25853
25854 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25855 Reread the line before reparsing it.
25856
bf972c9d
AS
258572011-09-26 Andreas Schwab <schwab@redhat.com>
25858
25859 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
25860
e057a1b5
JM
258612011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
25862 Maxim Kuvyrkov <maxim@codesourcery.com>
25863 Joseph Myers <joseph@codesourcery.com>
25864
25865 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
25866 if needed for __stack_chk_guard.
25867
bc7e1c36
RM
258682011-09-19 Roland McGrath <roland@hack.frob.com>
25869
ecb1482f
RM
25870 * sysdeps/posix/spawni.c (script_execute): Always define it.
25871 It will be optimized away if unused.
25872 (maybe_script_execute): New function.
25873 (__spawni): Call it.
25874
bc7e1c36
RM
25875 * Makerules: Don't include tls.make.
25876 (config-tls): Always set to thread.
25877 * tls.make.c: File removed.
25878
1c3b002b
MF
258792011-09-19 Mike Frysinger <vapier@gentoo.org>
25880
25881 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
25882 * config.make.in (CPPFLAGS-config): New substituted variable.
25883
2840865d
UD
258842011-09-15 Ulrich Drepper <drepper@gmail.com>
25885
88738eb6
UD
25886 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
25887
cbf645a6 25888 [BZ #13192]
2840865d
UD
25889 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
25890 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
25891
b402e91a
RM
258922011-09-15 Roland McGrath <roland@hack.frob.com>
25893
25894 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
25895 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
25896 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25897 (CALL_FAIL): Likewise.
25898 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
25899 (CALL_FAIL): Macro removed.
25900 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
25901
4c1a1f71
UD
259022011-09-15 Ulrich Drepper <drepper@gmail.com>
25903
25904 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
25905 for __FINITE_MATH_ONLY__ == 1.
25906
edc121be
AS
259072011-09-15 Andreas Schwab <schwab@redhat.com>
25908
25909 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
25910 __ieee754_sqrt instead of sqrt.
25911 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
25912 __ieee754_sqrtf instead of sqrtf.
25913 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
25914 __floorf instead of floorf.
25915 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
25916 __floorf, __truncf instead of floorf, truncf.
25917
cd205654
UD
259182011-09-14 Ulrich Drepper <drepper@gmail.com>
25919
ee4d0315
UD
25920 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
25921
cd205654
UD
25922 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
25923 __extern_always_inline.
25924 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
25925 32-bit.
25926
48b67d71
AS
259272011-09-14 Andreas Schwab <schwab@redhat.com>
25928
25929 * elf/rtld.c (dl_main): Also relocate in dependency order when
25930 doing symbol dependency testing.
25931
1ae12c75
AS
259322011-09-13 Andreas Schwab <schwab@linux-m68k.org>
25933
25934 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25935 Always define `refsym'.
25936
995a80df
AS
259372011-09-13 Andreas Schwab <schwab@redhat.com>
25938
e529793b
AS
25939 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
25940 (__FD_ELT): Renamed from __FDELT.
25941 * misc/bits/select2.h (__FD_ELT): Likewise.
25942 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
25943 __FD_MASK instead of __FDELT, __FDMASK.
25944 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25945 Likewise.
25946 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25947 Likewise.
25948
52d4fef8
AS
25949 * elf/Makefile (gen-ldd): Fix pattern.
25950
995a80df
AS
25951 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
25952 (init_tls): Likewise.
25953
8682f8b0
UD
259542011-09-12 Ulrich Drepper <drepper@gmail.com>
25955
25956 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
25957
de82006d
AS
259582011-09-12 Andreas Schwab <schwab@redhat.com>
25959
a7c8e6a1
AS
25960 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
25961 `struct cmsghdr *' instead of `void *'.
25962 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
25963 Likewise.
25964
0f31fe77
AS
259652011-09-11 Andreas Schwab <schwab@linux-m68k.org>
25966
25967 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
25968 if non-absolute.
25969 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
25970 ldd_rewrite_script.
0f31fe77 25971
32b4c839
UD
259722011-09-11 Ulrich Drepper <drepper@gmail.com>
25973
83cd1420
UD
25974 * configure.in: Remove --with-tls option.
25975 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
25976 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
25977 out in case it is missing.
25978 * sysdeps/ia64/elf/configure.in: Likewise.
25979 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
25980 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
25981 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
25982 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
25983 * sysdeps/sh/elf/configure.in: Likewise.
25984 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
25985 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25986 * sysdeps/x86_64/elf/configure.in: Likewise.
25987 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
25988 * sysdeps/mach/hurd/tls.h: Likewise.
25989
633f745d
UD
25990 [BZ #13067]
25991 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
25992
f318beb8
UD
25993 [BZ #13090]
25994 * configure.in: Fix use of AC_INIT.
25995
32b4c839
UD
25996 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
25997
3ce1f295
UD
259982011-09-10 Ulrich Drepper <drepper@gmail.com>
25999
bb016596
UD
26000 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
26001 __set_errno.
8e58439c
UD
26002 * malloc/hooks.c: Likewise.
26003
aebae053 26004 [BZ #11929]
02d46fc4
UD
26005 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
26006 variables statically.
26007 (narenas): Initialize.
26008 (list_lock): Initialize.
bb016596
UD
26009 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
26010 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
26011 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
26012 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
26013 Add initializers to main_arena and mp_.
26014 (malloc_state): Remove pagesize member. Change all users to use
26015 GLRO(dl_pagesize).
26016
26017 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
26018 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
26019 is always initialized.
26020
22a89187
UD
26021 * malloc/malloc.c: Removed unused configurations and dead code.
26022 * malloc/arena.c: Likewise.
26023 * malloc/hooks.c: Likewise.
02d46fc4 26024 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 26025
d063d164
UD
26026 * include/tls.h: Removed. USE___THREAD must always be defined.
26027 * bits/libc-tsd.h: Don't handle !USE___THREAD.
26028 * elf/dl-libc.c: Likewise.
26029 * elf/dl-tsd.c: Likewise.
26030 * include/errno.h: Likewise.
26031 * include/netdb.h: Likewise.
26032 * include/resolv.h: Likewise.
26033 * inet/herrno-loc.c: Likewise.
26034 * inet/herrno.c: Likewise.
26035 * malloc/arena.c: Likewise.
26036 * malloc/hooks.c: Likewise.
26037 * malloc/malloc.c: Likewise.
26038 * resolv/res-state.c: Likewise.
26039 * resolv/res_libc.c: Likewise.
26040 * sysdeps/i386/dl-machine.h: Likewise.
26041 * sysdeps/ia64/dl-machine.h: Likewise.
26042 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26043 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26044 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26045 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26046 * sysdeps/sh/dl-machine.h: Likewise.
26047 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26048 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26049 * sysdeps/unix/i386/sysdep.S: Likewise.
26050 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26051 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26052 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26053 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26054 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26055 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26056 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26057 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26058 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26059 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26060 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26061 * sysdeps/x86_64/dl-machine.h: Likewise.
26062 * tls.make.c: Likewise.
26063
3ce1f295
UD
26064 * configure.in: Remove --with-__thread option. Make tests for
26065 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
26066 tls_model attribute fail if no support is available. Remove
26067 USE_IN_LIBIO.
26068 * Makeconfig: Adjust for dropped configure option. All features are
26069 now mandatory.
26070 * Makerules: Likewise.
26071 * Versions.def: Likewise.
26072 * argp/argp-fmtstream.c: Likewise.
26073 * argp/argp-fmtstream.h: Likewise.
26074 * argp/argp-help.c: Likewise.
26075 * assert/assert.c: Likewise.
26076 * config.h.in: Likewise.
26077 * config.make.in: Likewise.
26078 * configure: Likewise.
26079 * configure.in: Likewise.
26080 * csu/Versions: Likewise.
26081 * csu/init.c: Likewise.
26082 * elf/tst-audit2.c: Likewise.
26083 * elf/tst-tls10.c: Likewise.
26084 * elf/tst-tls10.h: Likewise.
26085 * elf/tst-tls11.c: Likewise.
26086 * elf/tst-tls12.c: Likewise.
26087 * elf/tst-tls14.c: Likewise.
26088 * elf/tst-tlsmod11.c: Likewise.
26089 * elf/tst-tlsmod12.c: Likewise.
26090 * elf/tst-tlsmod13.c: Likewise.
26091 * elf/tst-tlsmod13a.c: Likewise.
26092 * elf/tst-tlsmod14a.c: Likewise.
26093 * elf/tst-tlsmod15b.c: Likewise.
26094 * elf/tst-tlsmod16a.c: Likewise.
26095 * elf/tst-tlsmod16b.c: Likewise.
26096 * elf/tst-tlsmod7.c: Likewise.
26097 * elf/tst-tlsmod8.c: Likewise.
26098 * elf/tst-tlsmod9.c: Likewise.
26099 * gmon/gmon.c: Likewise.
26100 * grp/fgetgrent_r.c: Likewise.
26101 * grp/putgrent.c: Likewise.
26102 * hurd/fopenport.c: Likewise.
26103 * include/libc-symbols.h: Likewise.
26104 * include/tls.h: Likewise.
26105 * intl/gettextP.h: Likewise.
26106 * intl/loadinfo.h: Likewise.
26107 * locale/global-locale.c: Likewise.
26108 * locale/localeinfo.h: Likewise.
26109 * mach/devstream.c: Likewise.
26110 * malloc/arena.c: Likewise.
26111 * malloc/set-freeres.c: Likewise.
26112 * misc/err.c: Likewise.
26113 * misc/getttyent.c: Likewise.
26114 * misc/mntent_r.c: Likewise.
26115 * posix/getopt.c: Likewise.
26116 * posix/wordexp.c: Likewise.
26117 * pwd/fgetpwent_r.c: Likewise.
26118 * resolv/Versions: Likewise.
26119 * resolv/res_hconf.c: Likewise.
26120 * shadow/fgetspent_r.c: Likewise.
26121 * shadow/putspent.c: Likewise.
26122 * stdio-common/printf_fphex.c: Likewise.
26123 * stdio-common/tmpfile.c: Likewise.
26124 * stdlib/abort.c: Likewise.
26125 * stdlib/fmtmsg.c: Likewise.
26126 * sunrpc/auth_unix.c: Likewise.
26127 * sunrpc/clnt_perr.c: Likewise.
26128 * sunrpc/clnt_tcp.c: Likewise.
26129 * sunrpc/clnt_udp.c: Likewise.
26130 * sunrpc/clnt_unix.c: Likewise.
26131 * sunrpc/openchild.c: Likewise.
26132 * sunrpc/svc_simple.c: Likewise.
26133 * sunrpc/svc_tcp.c: Likewise.
26134 * sunrpc/svc_udp.c: Likewise.
26135 * sunrpc/svc_unix.c: Likewise.
26136 * sunrpc/xdr.c: Likewise.
26137 * sunrpc/xdr_array.c: Likewise.
26138 * sunrpc/xdr_rec.c: Likewise.
26139 * sunrpc/xdr_ref.c: Likewise.
26140 * sunrpc/xdr_stdio.c: Likewise.
26141
1248c1c4
PB
261422011-09-09 Ulrich Drepper <drepper@gmail.com>
26143
26144 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26145
261462011-07-03 Andreas Jaeger <aj@suse.de>
26147
26148 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
26149 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
26150 regenerate with gen-libm-tests.pl.
26151
261522010-05-12 Petr Baudis <pasky@suse.cz>
26153
26154 [BZ #11589]
26155 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
26156 around j0() zero points by switching to j1().
26157 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26158 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26159 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26160 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26161
f22e1074
UD
261622011-09-09 Ulrich Drepper <drepper@gmail.com>
26163
f19009c1
UD
26164 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
26165 instead of 0.
26166 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 26167 instead of 0.
f19009c1
UD
26168 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26169 Patch in part by Pavel Roskin <proski@gnu.org>.
26170
3f8cc204
UD
26171 [BZ #13138]
26172 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
26173 realloc.
26174 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
26175 Free memory block if necessary.
26176
f22e1074
UD
26177 [BZ #12847]
26178 * libio/genops.c (INTDEF): For string streams the _lock pointer can
26179 be NULL. Don't lock in this case.
26180
0a2349f9
RM
261812011-09-09 Roland McGrath <roland@hack.frob.com>
26182
26183 * elf/elf.h (ELFOSABI_GNU): New macro.
26184 (ELFOSABI_LINUX): Define to that.
26185
f3cdd467
DZ
261862011-07-29 Denis Zaitceff <zaitceff@gmail.com>
26187
26188 * string/strncat.c (strncat): Undef the symbol in case it has been
26189 defined in bits/string.h.
26190
74718d13
UD
261912011-09-09 Ulrich Drepper <drepper@gmail.com>
26192
633e9e0f
UD
26193 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
26194
0a2349f9 26195 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
26196 link map.
26197
f9924780
AJ
261982011-08-17 Andreas Jaeger <aj@suse.de>
26199
26200 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
26201
7f5517aa
PP
262022011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26203 Ian Lance Taylor <iant@google.com>
26204
26205 * math/libm-test.inc (lround_test): New testcase.
26206 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
26207
762011fe
UD
262082011-09-08 Ulrich Drepper <drepper@gmail.com>
26209
92963737
UD
26210 * Makefile: Remove support for automatic cvs check-ins.
26211 * Makerules: Likewise.
26212 * config.make.in: Likewise.
26213 * configure.in: Likewise.
26214 * intl/Makefile: Likewise.
26215 * locale/Makefile: Likewise.
26216 * po/Makefile: Likewise.
26217 * posix/Makefile: Likewise.
26218 * sysdeps/gnu/Makefile: Likewise.
26219 * sysdeps/mach/hurd/Makefile: Likewise.
26220 * sysdeps/sparc/sparc32/Makefile: Likewise.
26221
b0727fd8
JS
26222 [BZ #13118]
26223 * posix/Makefile (bug-regex32-ENV): Define.
26224 Patch by John Stanley <jpsinthemix@verizon.net>.
26225
a0f33f99
UD
26226 * misc/Makefile (headers): Add bits/select2.h.
26227 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
26228 * misc/bits/select2.h: New file.
26229 * include/bits/select2.h: New file.
26230 * debug/Makefile (routines): Add fdelt_chk.
26231 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
26232 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
26233 FD_ISSET.
26234 * debug/fdelt_chk.c: New file.
26235
762011fe
UD
26236 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
26237 * wcsmbs/test-wmemcmp.c: Likewise.
26238 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 26239 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
26240
262412011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26242
26243 * string/Makefile (strop-tests): Add memcmp.
26244 * string/test-wmemcmp.c: New file.
26245 * string/test-memcmp.c: Add wmemcmp support.
26246
7f513ec8
RM
262472011-09-08 Roland McGrath <roland@hack.frob.com>
26248
0442afb4
RM
26249 [BZ #13153]
26250 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
26251 2011-07-19 change.
26252
7f513ec8
RM
26253 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
26254 garbage value in a __mach_port_mod_refs call in the cases of the
26255 task-self and thread-self ports.
26256
a12b2239
ST
262572011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26258
26259 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
26260
610f9ab4
AS
262612011-09-08 Andreas Schwab <schwab@redhat.com>
26262
7f513ec8 26263 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 26264
48882a1a
LD
262652011-09-07 Ulrich Drepper <drepper@gmail.com>
26266
b49865be
UD
26267 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
26268
fdc86bc9
UD
26269 * elf/dl-libc.c (dlerror_run): Pass back error code from
26270 dl_catch_error.
26271
c966526a
UD
26272 [BZ #13123]
26273 * elf/dl-load.c (lose): Free l_origin if it is valid.
26274
48882a1a
LD
26275 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
26276 names.
26277 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26278 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26279 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26280 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26281 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26282 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
26283
77a2a8b4
AZ
262842011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26285
26286 * sysdeps/powerpc/fpu/e_hypot.c: New file.
26287 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
26288 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
26289 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
26290 * sysdeps/powerpc/fpu/k_cosf.c: New file.
26291 * sysdeps/powerpc/fpu/k_sinf.c: New file.
26292 * sysdeps/powerpc/fpu/s_cosf.c: New file.
26293 * sysdeps/powerpc/fpu/s_sinf.c: New file.
26294 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
26295 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
26296
24f579d8
AM
262972011-08-15 Alan Modra <amodra@gmail.com>
26298
26299 [BZ #13092]
26300 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
26301 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
26302 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
26303 ppc_mcount to static-only-routines.
26304 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
26305 __mcount_internal.
26306 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
26307 __mcount_internal with usual JUMPTARGET. Remove useless nop.
26308
3d4837df
UD
263092011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
26310
26311 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
26312 for finite and infinity parameters.
26313
22700377
WS
263142011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26315
26316 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
26317 and add nop instructions for throughput optimization.
26318 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26319
5025581e
WS
263202011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
26321
26322 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
26323 aligned copy for power7 with vector-scalar instructions.
26324 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26325
08a300c9
L
263262011-07-24 H.J. Lu <hongjiu.lu@intel.com>
26327
26328 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
26329 AVX check.
26330
59178ef9
AS
263312011-09-07 Andreas Schwab <schwab@redhat.com>
26332
26333 [BZ #13144]
26334 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
26335 last change.
26336
e38ba7ab
UD
263372011-09-07 Ulrich Drepper <drepper@gmail.com>
26338
26339 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26340 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
26341 syscall wrapper around clock_gettime in __vdso_clock_gettime.
26342 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
26343 clock_gettime.
26344
d53a73ac
UD
263452011-09-06 Ulrich Drepper <drepper@gmail.com>
26346
fc8bffcc
UD
26347 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
26348 Forgot to demangle the pointer.
26349
ceaa0c5d
UD
26350 * sysdeps/i386/sysdep.h: Define atom_text_section.
26351 * sysdeps/x86_64/sysdep.h: Likewise.
26352 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
26353 section with atom_text_section.
26354 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26355 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26356 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
26357 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
26358 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
26359
a77d3c17
UD
26360 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
26361 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
26362 already be defined. Change to take two parameters and don't assign
26363 result to variable. Adjust all users.
26364 Define INTERNAL_GETTIME if not already defined.
26365 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
26366 call.
26367 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
26368 HAVE_CLOCK_GETTIME_VSYSCALL.
26369 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
26370
d53a73ac
UD
26371 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
26372 gettimeofday vsyscall, just use time.
26373
a8f84144
AS
263742011-09-06 Andreas Schwab <schwab@redhat.com>
26375
26376 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
26377 <errno.h>.
26378
ef606249
UD
263792011-09-06 Ulrich Drepper <drepper@gmail.com>
26380
26381 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
26382 syscall on x86-64.
26383 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
26384 syscall.
26385 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
26386 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
26387 syscall if possible.
26388
6585cb60
UD
263892011-09-05 Ulrich Drepper <drepper@gmail.com>
26390
26391 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
26392 e_ident. Don't pass to find_mapsXX.
26393 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
26394
a5f524e4
LD
263952011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26396
26397 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26398 strchr-sse2-no-bsf strrchr-sse2-no-bsf
26399 * sysdeps/x86_64/multiarch/strchr.S: Update.
26400 Check bit_slow_BSF bit.
26401 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26402 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
26403 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
26404
554881ef
UD
264052011-09-05 Ulrich Drepper <drepper@gmail.com>
26406
d96de963
UD
26407 [BZ #13134]
26408 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
26409 before glibc 2.15.
26410 (tryshell): Define.
26411 (__spawni): Change last parameter to be flag. Test
26412 SPAWN_XFLAGS_USE_PATH flag to use path or not.
26413 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
26414 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
26415 * posix/spawni.c: Likewise.
26416 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
26417 * posix/spawnp.c: Likewise. Change normal version to use
26418 SPAWN_XFLAGS_USE_PATH.
26419 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
26420 SPAWN_XFLAGS_TRY_SHELL.
26421
d48e5868
UD
26422 [BZ #13150]
26423 * posix/glob.h: Remove gcc 1.x support.
26424
554881ef
UD
26425 [BZ #13068]
26426 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
26427
693fb948
LD
264282011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26429
26430 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26431 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
26432 strrchr-sse2-bsf
26433 * sysdeps/i386/i686/multiarch/strchr.S: New file.
26434 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
26435 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
26436 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
26437 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
26438 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
26439
1b48c537
UD
264402011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26441
49d42c37
UD
26442 * sysdeps/x86_64/wcscmp.S: New file.
26443
1b48c537
UD
26444 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
26445 wcscmp-c wcscmp-sse2
26446 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
26447 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
26448 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
26449 * wcsmbs/wcscmp.c: Allow renaming.
26450
15c95c5d
DM
264512011-09-05 David S. Miller <davem@davemloft.net>
26452
26453 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
26454 stack slot, rather than the struct return pointer slot.
26455 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
26456 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
26457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
26458 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
26459
2f0ad8f3
UD
264602011-09-05 Ulrich Drepper <drepper@gmail.com>
26461
d88ae418
UD
26462 * po/ja.po: Update from translation team.
26463
2f0ad8f3
UD
26464 [BZ #13144]
26465 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
26466 kernel in 64-bit binaries.
26467
5f4318d1
DM
264682011-09-01 David S. Miller <davem@davemloft.net>
26469
26470 * elf/elf.h (HWCAP_SPARC_*): Move to..
26471 * sysdeps/sparc/sysdep.h: this new file and add new values.
26472 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
26473 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
26474 _DL_HWCAP_COUNT to 24.
26475 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26476 entries.
26477 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
26478 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
26479 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
26480 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
26481 instead of magic constants.
26482 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26483
3ba57516
DM
264842011-08-31 David S. Miller <davem@davemloft.net>
26485
26486 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
26487 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
26488 Reimplement to do errno handling inline.
26489 (SYSCALL_ERROR_HANDLER): New macro.
26490 (__SYSCALL_STRING): Do not do errno handling in asm.
26491 (__CLONE_SYSCALL_STRING): Delete.
26492 (__INTERNAL_SYSCALL_STRING): Delete.
26493 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
26494 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
26495 (PSEUDO): Reimplement to do errno handling inline.
26496 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
26497 (SYSCALL_ERROR_HANDLER): New macro.
26498 (__SYSCALL_STRING): Do not do errno handling in asm.
26499 (__CLONE_SYSCALL_STRING): Delete.
26500 (__INTERNAL_SYSCALL_STRING): Delete.
26501 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
26502 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
26503 i386.
26504 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
26505 (inline_syscall*): Add 'err' argument.
26506 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
26507 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
26508 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
26509 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
26510
26511 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
26512 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26513
2bc17433
AS
265142011-08-30 Andreas Schwab <schwab@redhat.com>
26515
26516 * elf/rtld.c (dl_main): Relocate objects in dependency order.
26517
fbeb5f4d
JO
265182011-08-29 Jiri Olsa <jolsa@redhat.com>
26519
26520 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
26521 directive.
26522
ad69cc26
DM
265232011-08-24 David S. Miller <davem@davemloft.net>
26524
26525 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
26526
39dd69df
AS
265272011-08-24 Andreas Schwab <schwab@redhat.com>
26528
26529 * elf/Makefile: Add rules to build and run unload8 test.
26530 * elf/unload8.c: New file.
26531 * elf/unload8mod1.c: New file.
26532 * elf/unload8mod1x.c: New file.
26533 * elf/unload8mod2.c: New file.
26534 * elf/unload8mod3.c: New file.
26535
26536 * elf/dl-close.c (_dl_close_worker): Reset private search list if
26537 it wasn't used.
26538
2c0b250a
DM
265392011-08-23 David S. Miller <davem@davemloft.net>
26540
26541 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
26542 subtract stack bias.
26543 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
26544 %sp not %fp in calculations.
26545 (_JMPBUF_UNWINDS_ADJ): Likewise.
26546
22044b48
DM
26547 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
26548 (aio_suspend): Call it to force an exception region around the
26549 AIO_MISC_WAIT() invocation.
26550
2cae4995
AS
265512011-08-23 Andreas Schwab <schwab@redhat.com>
26552
26553 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
26554 backslash.
26555
873a772e
AJ
265562011-07-04 Aurelien Jarno <aurelien@aurel32.net>
26557
26558 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
26559 protection macro.
26560 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
26561 and <dl-machine.h>.
26562 (Elf64_FuncDesc): Remove.
26563
25ad0df1
DM
265642011-08-22 David S. Miller <davem@davemloft.net>
26565
26566 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
26567 sigaltstack check, add missing cfi directives.
26568 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
26569 missing cfi directives, and sigaltstack handling.
26570
e888bcbe
AS
265712011-08-16 Andreas Schwab <schwab@redhat.com>
26572
26573 [BZ #11724]
26574 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
26575 object is seen twice.
26576 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26577
26578 * elf/Makefile (distribute): Add tst-initorder2.c.
26579 (tests): Add tst-initorder2.
26580 (modules-names): Add tst-initorder2a tst-initorder2b
26581 tst-initorder2c tst-initorder2d. Add rules to build them.
26582 ($(objpfx)tst-initorder2.out): New rule.
26583 * elf/tst-initorder2.c: New file.
26584 * elf/tst-initorder2.exp: New file.
26585
87162f46
AS
265862011-08-22 Andreas Schwab <schwab@redhat.com>
26587
70538b7f
AS
26588 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
26589
f55ffe58
AS
26590 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
26591 dependencies back to end of function.
26592
87162f46
AS
26593 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26594 $(elfobjdir)/ld.so.
26595
91b392a4
UD
265962011-08-21 Ulrich Drepper <drepper@gmail.com>
26597
26598 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
26599 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
26600 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
26601 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
26602 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
26603 of __vdso_gettimeofday.
26604 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
26605 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
26606 attribute_hidden.
26607 (_libc_vdso_platform_setup): Remove initialization of
26608 __vdso_gettimeofday and __vdso_time.
26609
5c43483f
UD
266102011-08-20 Ulrich Drepper <drepper@gmail.com>
26611
775a77e7
UD
26612 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
26613 and fgetc_unlocked.
26614 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
26615 getc_unlocked.
89f447ed 26616
49c74ba9
UD
26617 * elf/dl-open.c (add_to_global): Report additions to the global scope
26618 for LD_DEBUG=scopes.
26619 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 26620 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 26621
5c43483f
UD
26622 [BZ #13114]
26623 * stdio-common/Makefile (tests): Add bug24.
26624 * stdio-common/bug24.c: New file.
26625
a101b025
AJ
266262011-08-19 Andreas Jaeger <aj@suse.de>
26627
26628 [BZ #13114]
26629 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
26630 non-existant file when using close-on-exec mode.
26631
c88f1766
UD
266322011-08-20 Ulrich Drepper <drepper@gmail.com>
26633
0276a718
UD
26634 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
26635 the very first instruction.
26636
c88f1766
UD
26637 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
26638 the CFI state in the end.
26639 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
26640 inclusion of dl-trampoline.h.
26641 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
26642
51ccffa0
AS
266432011-08-19 Andreas Schwab <schwab@redhat.com>
26644
94d7165f
AS
26645 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
26646 expectations for long double.
26647
51ccffa0
AS
26648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
26649 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
26650
fd708658 266512011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
26652
26653 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
26654 artificual limit depends upon the system page size.
26655
44f0a71e
UD
266562011-08-17 Ulrich Drepper <drepper@gmail.com>
26657
26658 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
26659 * resolv/Makefile: Define CFLAGS-libresolv.
26660
8de79a24
AS
266612011-08-17 Andreas Schwab <schwab@redhat.com>
26662
26663 * nss/makedb.c (compute_tables): Make variables used in nested
26664 function static.
26665
27724598
UD
266662011-08-17 Ulrich Drepper <drepper@gmail.com>
26667
c5305d88
UD
26668 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
26669 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
26670 if buffer was too small.
26671
27724598
UD
26672 * elf/pldd.c (main): Attach to all threads in the process.
26673 Rewrite /proc handling to use *at functions.
26674
076fe015
UD
266752011-08-16 Ulrich Drepper <drepper@gmail.com>
26676
174baab3
UD
26677 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
26678 specifies first scope to show.
26679 (dl_open_worker): Update callers. Move printing scope of new
26680 object to before the relocation.
44f0a71e 26681 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
26682 * sysdeps/generic/ldsodefs.h: Update declaration.
26683
076fe015
UD
26684 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
26685 string for the scope number.
26686
a60df2c3
UD
266872011-08-14 Ulrich Drepper <drepper@gmail.com>
26688
26689 * nscd/servicescache.c (cache_addserv): Make sure written is always
26690 initialized.
26691
5e4287d1
RM
266922011-08-14 Roland McGrath <roland@hack.frob.com>
26693
85ae0589
RM
26694 * sysdeps/i386/i486/bits/atomic.h
26695 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
26696 statement expression, so as to suppress "set but not used" warning.
26697 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
26698
69f63097
RM
26699 * string/strncat.c (STRNCAT): Use prototype definition.
26700
675456ef
RM
26701 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
26702 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
26703 -Iprograms here.
26704 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
26705 (localedef-modules): Add localedef.
26706 (locale-modules): Add locale.
26707
5e4287d1
RM
26708 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
26709 * elf/rtld.c (dl_main): Invert order of assignment in last change,
26710 to avoid a warning.
26711
9c96ff23
DM
267122011-08-14 David S. Miller <davem@davemloft.net>
26713
26714 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
26715 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
26716
f9ddf089
UD
267172011-08-13 Ulrich Drepper <drepper@gmail.com>
26718
44f0a71e 26719 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
26720 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
26721 * elf/rtld.c (dl_main): Set l_name of vDSO.
26722 Call _dl_show_scope when DL_DEBUG_SCOPES.
26723 (process_dl_debug): Recognize scopes flag and also set it for all.
26724 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
26725 Declare _dl_show_scope.
26726
1dc27704
UD
26727 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
26728 (do_dlopen): Pass caller_dlopen to dl_open.
26729 (__libc_dlopen_mode): Initialize caller_dlopen.
26730
f9ddf089
UD
26731 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
26732 of libc. Make tolower call locale-independent. Optimize a bit by
26733 using isdigit instead of isalnum.
26734 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
26735
9ac533d3
UD
267362011-08-12 Ulrich Drepper <drepper@gmail.com>
26737
26738 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
26739 was a dependency or dynamically loaded.
26740
89edf2e9
UD
267412011-08-11 Ulrich Drepper <drepper@gmail.com>
26742
8e999d29
UD
26743 * intl/l10nflist.c: Allow architecture-specific pop function.
26744 * sysdeps/x86_64/l10nflist.c: New file.
26745
89edf2e9
UD
26746 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
26747 classification.
26748
14d96785
AS
267492011-08-10 Andreas Schwab <schwab@redhat.com>
26750
26751 * include/dirent.h: Add libc_hidden_proto for scandirat and
26752 scandirat64. Don't declare __scandirat64.
26753 * dirent/scandirat.c: Add libc_hidden_def.
26754 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
26755 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
26756
6761ac04
DM
267572011-08-10 David S. Miller <davem@davemloft.net>
26758
26759 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
26760 enum.
26761 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26762 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26763 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26764
c55fbd1e
UD
267652011-08-09 Ulrich Drepper <drepper@gmail.com>
26766
26767 * Versions.def [libc]: Add GLIBC_2.15.
26768 * dirent/Makefile (routines): Add scandirat and scandirat64.
26769 * dirent/Versions [libc]: Export scandirat and scandirat64 for
26770 GLIBC_2.15.
26771 * dirent/dirent.h: Declare scandirat and scandirat64.
26772 * dirent/scandirat.c: New file.
26773 * dirent/scandirat64.c: New file.
26774 * sysdeps/wordsize-64/scandirat.c: New file.
26775 * sysdeps/wordsize-64/scandirat64.c: New file.
26776 * dirent/opendir.c: Define opendirat.
26777 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
26778 using scandirat.
26779 * dirent/scandir64.c: Adjust for scandir.c change.
26780 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
26781 __scandirat64, and __scandir_cancel_handler.
26782 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
26783 additional parameter and use openat instead of open (outside of ld.so).
26784 Add new __opendir as wrapper around __opendirat.
26785 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
26786 here without requiring old scandirat implementation.
26787
879165f2
UD
267882011-08-08 Ulrich Drepper <drepper@gmail.com>
26789
26790 * dirent/scandir.c (cancel_handler): Renamed to
26791 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
26792 defined. Adjust users.
26793 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
26794 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
26795
cb7e923b
UD
267962011-08-04 Ulrich Drepper <drepper@gmail.com>
26797
16292edd
UD
26798 * string/test-string.h (IMPL): Use __STRING to expand name and then
26799 stringify it.
26800
cb7e923b
UD
26801 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
26802 of cleanups.
26803
cff82933
LD
268042011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26805
26806 * string/Makefile: Update.
26807 (strop-tests): Append strncat.
26808 * string/test-wcscmp.c: New file.
26809 New comprehensive test for wcscmp.
26810 * string/test-strcmp.c: Update.
26811 (WIDE): New define.
26812
9be9bfcc
AS
268132011-07-22 Andreas Schwab <schwab@redhat.com>
26814
26815 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
26816 line.
26817
2e96f1c7
AS
268182011-07-26 Andreas Schwab <schwab@redhat.com>
26819
26820 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26821 encoding to ACE if AI_IDN.
26822
85188888
JJ
268232011-08-01 Jakub Jelinek <jakub@redhat.com>
26824
26825 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
26826 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
26827
5fa16e9b
LD
268282011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26829
26830 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
26831 Fix overflow bug in strncat.
26832 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26833
26834 * string/test-strncat.c: Update.
26835 Add new tests for checking overflow bugs.
26836
268372011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26838
26839 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26840 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
26841 * sysdeps/i386/i686/multiarch/strcat.S: New file.
26842 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
26843 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
26844 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
26845 * sysdeps/i386/i686/multiarch/strncat.S: New file.
26846 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
26847 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
26848
26849 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
26850 (USE_AS_STRCAT): Define.
26851 Add strcat and strncat support.
26852 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26853
8c1a459f
AS
268542011-07-25 Andreas Schwab <schwab@redhat.com>
26855
26856 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
26857 __n bigger than INT_MAX+1.
26858 (__strncmp_g): Likewise.
26859
bba33c28
UD
268602011-07-23 Ulrich Drepper <drepper@gmail.com>
26861
798be72d
UD
26862 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
26863 * libio/stido.h: Likewise.
26864
8accd4dc
UD
26865 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
26866 (AF_NFC): Define.
26867 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
26868 (AF_NFC): Define.
26869
cbff0d96
UD
26870 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
26871 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26872 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26873 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
26874 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26875
9191c04a
UD
26876 [BZ #13021]
26877 * scripts/test-installation.pl: Don't expect libnss_test1 to be
26878 installed.
26879
bba33c28
UD
26880 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
26881 typo.
26882 (_dl_x86_64_save_sse): Likewise.
26883
90f139dd
UD
268842011-07-22 Ulrich Drepper <drepper@gmail.com>
26885
1aae088a
UD
26886 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
26887 OSXSAVE.
26888 (_dl_x86_64_save_sse): Likewise.
26889
8e2045f5
UD
26890 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
26891
90f139dd
UD
26892 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
26893
1d002f25
AS
268942011-07-21 Andreas Schwab <schwab@redhat.com>
26895
26896 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
26897 change.
26898 (_dl_x86_64_save_sse): Use correct AVX check.
26899
21137f89
UD
269002011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26901
26902 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
26903 bug in strncpy/strncat.
26904 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26905
a65c0b7a
UD
269062011-07-21 Ulrich Drepper <drepper@gmail.com>
26907
26908 * string/tester.c (test_strcat): Add tests for different alignments
26909 of source and destination.
26910 (test_strncat): Likewise.
26911
6986b98a
UD
269122011-07-20 Ulrich Drepper <drepper@gmail.com>
26913
90bb2039
UD
26914 [BZ #12852]
26915 * posix/glob.c (glob): Check passed in values before using them in
26916 expressions to avoid some overflows.
26917 (glob_in_dir): Likewise.
26918
5644ef54
UD
26919 [BZ #13007]
26920 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
26921 check for AVX enablement so that we don't crash with old kernels and
26922 new hardware.
26923 * elf/tst-audit4.c: Add same checks here.
26924 * elf/tst-audit6.c: Likewise.
26925
26926 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 26927
bfc9dc9b
AS
269282011-07-09 Andreas Schwab <schwab@linux-m68k.org>
26929
26930 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
26931
702e64bb
UD
269322011-07-20 Ulrich Drepper <drepper@gmail.com>
26933
26934 * po/cs.po: Update from translation team.
26935 * po/bg.po: Likewise.
26936
295e904f
MP
269372011-07-12 Marek Polacek <mpolacek@redhat.com>
26938
26939 * misc/sys/cdefs.h: Add support for const attribute.
26940 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
26941 to gnu_dev_{major,minor,makedev} functions.
26942
3ff94596
MP
269432011-07-20 Marek Polacek <mpolacek@redhat.com>
26944
26945 * intl/dcigettext.c (get_output_charset): Add missing bracket.
26946
28b59fca
AS
269472011-07-20 Andreas Schwab <schwab@redhat.com>
26948
26949 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
26950 strlen results.
26951
19df733e
AK
269522011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26953
26954 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26955 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
26956 register in order to avoid conflicts with the soft frame pointer
26957 being held in r11 when necessary.
26958 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26959 (INTERNAL_VSYSCALL_NCS): Likewise.
26960
c8835729
MP
269612011-07-14 Marek Polacek <mpolacek@redhat.com>
26962
26963 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
26964 * elf/dl-fini.c (_dl_fini): Adjust caller.
26965 * elf/dl-close.c (_dl_close_worker): Likewise.
26966 * sysdeps/generic/ldsodefs.h: Adjust declaration.
26967
b902330c
MP
269682011-07-15 Marek Polacek <mpolacek@redhat.com>
26969
8991e135
MP
26970 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
26971 "aux_cache->nlibs < 0".
26972
b902330c
MP
26973 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
26974 in the reload-count case.
26975
99710781
LD
269762011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26977
26978 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26979 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
26980 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
26981 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
26982 * sysdeps/x86_64/multiarch/strcat.S: New file.
26983 * sysdeps/x86_64/multiarch/strncat.S: New file.
26984 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
26985 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
26986 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
26987 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
26988 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
26989 (USE_AS_STRCAT): Define.
26990 Add strcat and strncat support.
26991 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
26992 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26993 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
26994 * string/strncat.c: Update.
26995 (USE_AS_STRNCAT): Define.
26996 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26997 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
26998 and i7.
26999 * sysdeps/x86_64/multiarch/init-arch.h
27000 (bit_Prefer_PMINUB_for_stringop): New.
27001 (index_Prefer_PMINUB_for_stringop): Likewise.
27002 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
27003 bit_Prefer_PMINUB_for_stringop.
27004
7dc6bd90
UD
270052011-07-19 Ulrich Drepper <drepper@gmail.com>
27006
27007 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
27008 buffer64.
27009 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
27010 of casting of buffer.
27011 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
27012 buffer32 and buffer64.
27013 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
27014 writes instead of casting of buffer.
27015 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
27016 buffer32.
27017 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
27018 casting of buffer.
27019
e0e72284
AS
270202011-07-19 Andreas Schwab <schwab@redhat.com>
27021
27022 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
27023
feb1eb0b
UD
270242011-07-19 Ulrich Drepper <drepper@gmail.com>
27025
27026 * nscd/nscd.c (termination_handler): Don't do anything for a database
27027 if it has not yet been initialized.
27028
298711ff
UD
270292011-07-18 Ulrich Drepper <drepper@gmail.com>
27030
27031 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27032
270332011-07-15 Marek Polacek <mpolacek@redhat.com>
27034
27035 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27036
f9d68389
UD
270372011-07-18 Ulrich Drepper <drepper@gmail.com>
27038
27039 * po/nl.po: Update from translation team.
27040 * po/sv.po: Likewise.
27041
db290cf5
RM
270422011-07-16 Roland McGrath <roland@hack.frob.com>
27043
27044 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
27045 now disallowed by GCC.
5c550700 27046
fd5e21c7
RM
27047 * configure.in (use-default-link): Default to yes if a test -shared
27048 link meets our qualifications.
27049 * configure: Regenerated.
27050
5c550700
RM
27051 * config.make.in (output-format): New variable.
27052 * configure.in: Check for ld --print-output-format support.
27053 * configure: Regenerated.
27054 * Makerules ($(common-objpfx)format.lds)
27055 [$(output-format) != unknown]: Just use $(output-format),
27056 instead of the linker-script munging.
27057
9fa2c032
RM
270582011-07-14 Roland McGrath <roland@hack.frob.com>
27059
a6928d51
RM
27060 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
27061 of $(common-objpfx)shlib.lds.
27062 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
27063
661607b3
RM
27064 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
27065 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
27066
9fa2c032
RM
27067 * configure.in (-z relro check): Adjust test code to add a large
27068 writable data section after it.
27069 * configure: Regenerated.
27070
defe9061
RM
270712011-07-11 Roland McGrath <roland@hack.frob.com>
27072
27073 * configure.in (-z relro check): Fix test code to make the variable
27074 truly const.
27075 * configure: Regenerated.
27076
319b9ad4
UD
270772011-07-11 Ulrich Drepper <drepper@gmail.com>
27078
27079 * nscd/nscd.h (struct traced_file): Define.
27080 (struct database_dyn): Remove inotify_descr, reset_res, and filename
27081 elements. Add traced_files.
27082 (inotify_fd): Declare.
27083 (register_traced_file): Declare.
27084 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
27085 (inotify_fd): Export.
27086 (resolv_conf_descr): Remove.
27087 (nscd_init): Move inotify descriptor creation to main.
27088 Don't register files for notification here.
27089 (register_traced_file): New function.
27090 (invalidate_cache): Don't use reset_res to determine whether to call
27091 res_init, go through the list of registered files.
27092 (main_loop_poll): The inotify descriptors are now stored in the
27093 structures for the traced files.
27094 (main_loop_epoll): Likewise
27095 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
27096 to __nss_disable_nscd.
27097 * nscd/cache.c (prune_cache): There is no single inotify descriptor
27098 for a database anymore. Check the records for all the registered
27099 files instead.
27100 * nss/Makefile (libnss_files-routines): Add files-init.
27101 (libnss_db-routines): Add db-init.
27102 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
27103 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
27104 * nss/nss_db/db-init.c: New file.
27105 * nss/nss_files/files-init.c: New file.
27106 * nss/nsswitch.c (nss_load_library): New function. Broken out of
27107 __nss_lookup_function.
27108 (__nss_lookup_function): Call nss_load_library.
27109 (nss_load_all_libraries): New function.
27110 (__nss_disable_nscd): Take parameter with callback function for files
27111 to register. Set is_nscd. Load all the DSOs for the NSS modules
27112 used for the cached services.
27113 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
27114 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
27115 options for features to all the files in nscd.
27116
27117 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
27118
23bee3e8
RM
271192011-07-10 Roland McGrath <roland@hack.frob.com>
27120
27121 * csu/elf-init.c (__libc_csu_init): Comment typo.
27122
46a5b7f0
UD
271232011-07-09 Ulrich Drepper <drepper@gmail.com>
27124
27125 * po/pl.po: Update from translation team.
27126 * po/ja.po: Likewise.
27127 * po/ru.po: Likewise.
27128 * po/ko.po: Likewise.
27129 * po/fr.po: Likewise.
27130
d30cf5bb
RM
271312011-07-09 Roland McGrath <roland@hack.frob.com>
27132
113ddea4
RM
27133 * configure.in (.ctors/.dtors header and trailer check):
27134 Use an empirical test on a built program.
27135 * configure: Regenerated.
27136
574920b4
RM
27137 * configure.in (-z relro check): Use an empirical test on a built DSO.
27138 Detect, but do not require, on ia64.
27139 * configure: Regenerated.
27140
d30cf5bb
RM
27141 * configure.in (READELF): Find it with AC_CHECK_TOOL.
27142 Update tests that use readelf to use $READELF instead.
27143 * configure: Regenerated.
27144
8538fdb3
UD
271452011-07-08 Ulrich Drepper <drepper@gmail.com>
27146
27147 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
27148 if the result is not used.
27149
04d08991
AJ
271502011-07-05 Andreas Jaeger <aj@suse.de>
27151
27152 [BZ#9696]
27153 * stdlib/tst-strtod.c: Add testcase.
27154
de283087
AD
271552011-07-07 Ulrich Drepper <drepper@gmail.com>
27156
4e5f31c8 27157 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 27158 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
27159 The latter has a higher limit. Take additional parameter to pass to
27160 the new function.
27161 (__pathconf): Pass file to __statfs_link_max.
27162 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
27163 __statfs_link_max.
27164 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
27165 __statfs_link_max.
27166
de283087
AD
27167 [BZ #12868]
27168 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
27169 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27170 Handle Lustre.
27171 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
27172 (__statfs_filesize_max): Likewise.
27173 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
27174
c75fa153
AJ
271752011-07-05 Andreas Jaeger <aj@suse.de>
27176
27177 * resolv/res_comp.c (dn_skipname): Remove unused variable.
27178
1a544854
UD
271792011-07-06 Marek Polacek <mpolacek@redhat.com>
27180
27181 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
27182 `status' variable.
27183 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
27184 Likewise.
27185
6f0eec67
UD
271862011-07-04 H.J. Lu <hongjiu.lu@intel.com>
27187
27188 * Makefile (strop-tests): Add strncat.
27189 * string/test-strncat.c: New file.
27190
aae30307
UD
271912011-06-30 Marek Polacek <mpolacek@redhat.com>
27192
27193 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
27194
c0cfb5eb
UD
271952011-06-21 Andreas Jaeger <aj@suse.de>
27196
27197 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
27198 Copy rule from iconvdata/Makefile.
27199
01636b21
UD
272002011-07-06 Ulrich Drepper <drepper@gmail.com>
27201
27202 [BZ #12922]
27203 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
27204 but no long options are defined, just return 'W'.
27205
9895c8bc
UD
272062011-06-22 Marek Polacek <mpolacek@redhat.com>
27207
27208 [BZ #9696]
27209 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
27210
5d4cf042
UD
272112011-07-06 Ulrich Drepper <drepper@gmail.com>
27212
27213 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
27214 netgroups to read.
960e5535 27215 (innetgr): Likewise.
5d4cf042 27216
751eb97e
RM
272172011-07-05 Roland McGrath <roland@hack.frob.com>
27218
27219 * config.make.in (install_root): Default to $(DESTDIR).
27220
f15f1e45
UD
272212011-07-05 Ulrich Drepper <drepper@gmail.com>
27222
27223 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
27224
4e34ac6a
RM
272252011-07-02 Roland McGrath <roland@hack.frob.com>
27226
5e9b6af4
RM
27227 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
27228
84f9ea0f
RM
27229 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
27230 containing directory rather than embedding absolute directory names.
27231
ea5ee9f7
RM
27232 * scripts/check-local-headers.sh: Rewritten using awk.
27233 Match by word, not by line. Print error messages for matches.
27234 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
27235
1b74661a
RM
27236 * Makerules [shlib-lds-flags empty]:
27237 ($(common-objpfx)libc_pic.opts): New target.
27238 ($(common-objpfx)libc_pic.os.clean): New target.
27239 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
27240
27241 * config.make.in (OBJCOPY): New variable.
27242 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
27243 * configure: Regenerated.
27244
f781ef40
RM
27245 * config.make.in (use-default-link): New variable.
27246 * configure.in (use_default_link): Grok --with-default-link to set it.
27247 * configure: Regenerated.
27248 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
27249 (shlib-lds, shlib-lds-flags): Define to empty.
27250
2d4fa81e
RM
27251 * Makerules (shlib-lds): New variable.
27252 (shlib-lds-flags): New variable.
27253 (build-shlib, build-moduile, build-module-asneeded): Use it.
27254 ($(common-objpfx)libc.so): Use $(shlib-lds).
27255 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
27256 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
27257
31fffa6b
RM
27258 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
27259 DT_FLAGS/DT_FLAGS_1 with zero flags.
27260
4e34ac6a
RM
27261 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
27262 linker script munging.
27263
fcfc776b
UD
272642011-07-02 Ulrich Drepper <drepper@gmail.com>
27265
27266 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
27267 as 128-bit value.
27268 * crypt/sha512.c (sha512_process_block): Perform total addition using
27269 128-bit if possible.
27270 (__sha512_finish_ctx): Likewise.
27271 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
27272 as 64-bit value.
27273 * crypt/sha256.c (SWAP64): Define.
27274 (sha256_process_block): Perform total addition using 64-bit if
27275 possible.
27276 (__sha256_finish_ctx): Likewise.
27277
99231d9a
UD
272782011-07-01 Ulrich Drepper <drepper@gmail.com>
27279
27280 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
27281 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27282 * nscd/hstcache.c (cache_addhst): Likewise.
27283 * nscd/grpcache.c (cache_addgr): Likewise.
27284 * nscd/aicache.c (addhstaiX): Likewise
27285 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
27286
445b4a53
TK
272872011-07-01 Thorsten Kukuk <kukuk@suse.de>
27288
27289 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
27290 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27291 * nscd/hstcache.c (cache_addhst): Likewise.
27292 * nscd/grpcache.c (cache_addgr): Likewise.
27293 * nscd/aicache.c (addhstaiX): Likewise
27294
6d4d8e8e
AS
272952011-07-01 Andreas Schwab <schwab@redhat.com>
27296
27297 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
27298 domain only when needed.
27299
89f654c5
AS
273002011-06-30 Andreas Schwab <schwab@redhat.com>
27301
27302 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
27303 is always restored.
27304
cf3b23ff
UD
273052011-06-29 Ulrich Drepper <drepper@gmail.com>
27306
27307 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
27308 are re-adding the entry.
27309 * nscd/servicescache.c (cache_addserv): Likewise.
27310
751626f9
AJ
273112011-06-30 Aurelien Jarno <aurelien@aurel32.net>
27312
27313 * sysdeps/generic/dl-irel.h: fix protection against multiple
27314 inclusions.
27315 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
27316
9113ea1f
UD
273172011-06-28 Ulrich Drepper <drepper@gmail.com>
27318
5c0b8d90
UD
27319 [BZ #12935]
27320 * malloc/memusage.sh: Fix quoting in message.
27321 * debug/xtrace.sh: Likewise.
27322
9113ea1f
UD
27323 * configure.in: Remove support for --experimental-malloc option, make
27324 it the default.
27325 * config.make.in: Likewise.
27326 * malloc/Makefile: Likewise.
27327
a4172181
AS
273282011-06-27 Andreas Schwab <schwab@redhat.com>
27329
27330 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
27331 two-byte characters.
27332
78a7eee7
RM
273332011-06-27 Roland McGrath <roland@hack.frob.com>
27334
62bede13
RM
27335 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
27336 AC_CACHE_CHECK invocation.
27337 * configure: Regenerated.
27338
78a7eee7
RM
27339 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
27340
5ce33a62
UD
273412011-06-27 Ulrich Drepper <drepper@gmail.com>
27342
034807a9
UD
27343 [BZ #12350]
27344 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
27345 bit from old_res_options.
27346
4902da17
UD
27347 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
27348
5ce33a62
UD
27349 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
27350 value type for setfct.
27351
c2344f56
L
273522011-06-23 H.J. Lu <hongjiu.lu@intel.com>
27353
27354 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27355 __gettimeofday instead of gettimeofday.
27356
68468076
UD
273572011-06-26 Ulrich Drepper <drepper@gmail.com>
27358
27359 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
27360
acb0d739
L
273612011-06-24 H.J. Lu <hongjiu.lu@intel.com>
27362
27363 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
27364
27365 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
27366 info.
27367
8912479f
L
273682011-06-22 H.J. Lu <hongjiu.lu@intel.com>
27369
27370 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27371 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
27372 strcpy-sse2-unaligned strncpy-sse2-unaligned
27373 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
27374 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
27375 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
27376 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
27377 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
27378 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
27379 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
27380 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
27381 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
27382 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
27383 (STRCPY): Support SSE2 and SSSE3 versions.
27384
d5495a11
UD
273852011-06-24 Ulrich Drepper <drepper@gmail.com>
27386
27387 [BZ #12874]
27388 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
27389 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
27390 kernels which artificially limit size of requests.
27391
0b1cbaae
L
273922011-06-22 H.J. Lu <hongjiu.lu@intel.com>
27393
27394 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27395 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
27396 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
27397 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
27398 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
27399 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
27400 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
27401 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
27402 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
27403 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
27404 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
27405 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
27406 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
27407 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
27408 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
27409 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27410 Enable unaligned load optimization for Intel Core i3, i5 and i7
27411 processors.
27412 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
27413 Define.
27414 (index_Fast_Unaligned_Load): Define.
27415 (HAS_FAST_UNALIGNED_LOAD): Define.
27416
07f494a0
MP
274172011-06-23 Marek Polacek <mpolacek@redhat.com>
27418
27419 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
27420
fa3fc0fe
UD
274212011-06-22 Ulrich Drepper <drepper@gmail.com>
27422
27423 [BZ #12907]
27424 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
27425 until it is clear that the information is realy needed.
27426 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
27427
e12df166
AS
274282011-06-22 Andreas Schwab <schwab@redhat.com>
27429
27430 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
27431
852eb34d
UD
274322011-06-22 Ulrich Drepper <drepper@gmail.com>
27433
84e2a551
UD
27434 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27435 /sys/devices/system/cpu/online if it is usable.
27436
852eb34d
UD
27437 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
27438 reading the information from the /proc filesystem to once a second.
27439
6e502e19
UD
274402011-06-21 Andreas Jaeger <aj@suse.de>
27441
27442 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
27443 NULL after inclusion of kernel headers.
27444
75d39ff2
UD
274452011-06-21 Ulrich Drepper <drepper@gmail.com>
27446
51f9aa6a
UD
27447 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
27448 calls to internal_setent.
27449
c0244a9d
UD
27450 [BZ #12885]
27451 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
27452 addresses using gethostbyname4_r ignore IPv4 addresses.
27453
c5e3c2ae
UD
27454 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
27455 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
27456
75d39ff2
UD
27457 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
27458
42675c6f
DM
274592011-06-20 David S. Miller <davem@davemloft.net>
27460
27461 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
27462 inclusions.
27463 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
27464
27465 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
27466 (elf_irel): Use it.
27467 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
27468 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
27469 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
27470 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
27471 * sysdeps/x86_64/dl-irel.h: Likewise.
27472
27473 * elf/dl-runtime.c: Use elf_ifunc_invoke.
27474 * elf/dl-sym.c: Likewise.
27475
57912a71
UD
274762011-06-15 Ulrich Drepper <drepper@gmail.com>
27477
27478 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
27479 need to dereference resplen2.
27480
ee22793d
AS
274812011-06-14 Andreas Schwab <schwab@redhat.com>
27482
27483 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
27484
a9e836b0
UD
274852011-06-15 Ulrich Drepper <drepper@gmail.com>
27486
77fb9117
UD
27487 * Makeconfig: Define vardbdir and inst_vardbdir.
27488 * nss/Makefile: Add rules to install db-Makefile.
27489
40c1b22c
UD
27490 * nss/nss_db/db-XXX.c: Cleanup.
27491
9f2da732
UD
27492 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
27493 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
27494 GLIBC_PRIVATE.
27495 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
27496 * nss/makedb.c: Implement -g option to specify that value strings
27497 are generated and should not be added to table iterated over for
27498 get*ent calls.
27499 * nss/nss_db/db-initgroups.c: New file.
27500
82e9a1f7
UD
27501 * nss/getent.c: Add support for initgroups lookups through getgrouplist
27502 interface.
27503
c41af17e
UD
27504 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
27505 (internal_getgrouplist): Adjust to name change.
27506 Update use_initgroups_entry if this is not the first call.
27507 * nss/databases.def: Add initgroups entry.
27508
a9e836b0
UD
27509 * nss/makedb.c (compute_tables): Check result of multiple hash table
27510 sizes to minimize maximum chain length.
27511
2666d441
UD
275122011-06-14 Ulrich Drepper <drepper@gmail.com>
27513
27514 * Versions.def: Add entry for libnss_db.
27515 * shlib-versions: Likewise.
27516 * nss/Makefile: Add rules to build libnss_db.
27517 * nss/Versions: Add libnss_db information. Organize libnss_files
27518 entries better.
27519 * nss/db-Makefile: Add gshadow support. Change rules for the new
27520 makedb progra. Some minor improvements to generate smaller files.
27521 * nss/nss_db/nss_db.h: Move NSS database header data structures to
27522 here from...
27523 * nss/makedb.c: ...here.
27524 Improve database format to be smaller and require less memory at
27525 runtime.
27526 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
27527 db anymore.
27528 * nss/nss_db/db-netgrp.c: Likewise.
27529 * nss/nss_db/db-open.c: Likewise.
27530 * nss/nss_files/flies-XXX.x: Adjust comments.
27531 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
27532 * nss/nss_files/files-grp.c: Likewise.
27533 * nss/nss_files/files-hosts.c: Likewise.
27534 * nss/nss_files/files-network.c: Likewise.
27535 * nss/nss_files/files-proto.c: Likewise.
27536 * nss/nss_files/files-pwd.c: Likewise.
27537 * nss/nss_files/files-rpc.c: Likewise.
27538 * nss/nss_files/files-service.c: Likewise.
27539 * nss/nss_files/files-sgrp.c: Likewise.
27540 * nss/nss_files/files-spwd.c: Likewise.
27541 * nss/nss_db/db-alias.c: Removed.
27542 * nss/nss_db/dummy-db.h: Removed.
27543
9ee76b5a
UD
275442011-06-02 Ulrich Drepper <drepper@gmail.com>
27545
27546 * nss/makedb.c: Rewritten to not use database library.
27547 * nss/Makefile: Update to build new makedb program.
27548
c71ca1f8
AJ
275492011-06-14 Andreas Jaeger <aj@suse.de>
27550
27551 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
27552 memset declaration.
27553
3154bfb8
UD
275542011-06-10 Andreas Schwab <schwab@redhat.com>
27555
27556 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
27557 tmpbuf.
27558
b350afab
RM
275592011-06-10 Roland McGrath <roland@hack.frob.com>
27560
decd4e50
RM
27561 * Makerules (shlib.lds): Fail if the linker script comes out empty.
27562 * elf/Makefile ($(objpfx)ld.so): Likewise.
27563
5615eaf2
RM
27564 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
27565 Don't list ld.so twice in dependencies.
27566
27567 * posix/bug-regex31.c: Include <stdlib.h>.
27568
27569 * nscd/hstcache.c (cache_addhst): Remove unused variable.
27570
27571 * nis/nss_compat/compat-spwd.c
27572 (getspent_next_nss_netgr): Remove unused variable.
27573 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
27574
27575 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
27576 nonmembers" output to use the right array.
27577
27578 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
27579
27580 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
27581
27582 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
27583 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
27584 * catgets/gencat.c (read_input_file): Likewise.
27585 * locale/programs/locarchive.c (enlarge_archive): Likewise.
27586
27587 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
27588 variable definition inside #if's controlling its use.
27589
27590 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
27591
27592 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
27593
27594 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
27595
27596 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
27597 unreachable code.
27598
27599 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
27600
b68e08db
RM
27601 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
27602 * configure: Regenerated.
27603
b350afab
RM
27604 * Makerules: Revert last change.
27605 * elf/Makefile: Likewise.
27606
28368601
RM
276072011-06-09 Roland McGrath <roland@hack.frob.com>
27608
27609 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
27610 * elf/Makefile ($(objpfx)librtld.os): Likewise.
27611 (reloc-link): Likewise.
27612
11988f8f
UD
276132011-06-09 Ulrich Drepper <drepper@gmail.com>
27614
27615 * elf/Makefile: Add rules to build pldd.
27616 * elf/pldd.c: New file.
27617 * elf/pldd-xx.c: New file.
27618
e80fab37
UD
276192011-06-07 Ulrich Drepper <drepper@gmail.com>
27620
27621 * version.h: Update for 2.15 development version.
27622
9b849836
DM
276232011-06-07 David S. Miller <davem@davemloft.net>
27624
27625 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
27626 ifuncs.
27627 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
27628 elf_machine_lazy_rel): Likewise.
27629 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27630 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
27631 elf_machine_lazy_rel): Likewise.
27632 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
27633 dl_hwcap via passed in argument.
27634 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
27635 Likewise.
27636
5a31b283
AK
276372011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27638
27639 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
27640
069e52f8
RM
276412011-06-06 Roland McGrath <roland@hack.frob.com>
27642
27643 [BZ #12849]
27644 * manual/fdl-1.1.texi: New file, verbatim from:
27645 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
27646 * manual/lgpl-2.1.texi: New file, verbatim from:
27647 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
27648 * manual/Makefile (licenses): New variable, list those new file names.
27649 (texis): Use it.
27650 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
27651
27652 * manual/fdl.texi: File removed.
27653 * manual/lesser.texi: File removed.
27654 * manual/libc.texinfo (Copying, Documentation License):
27655 Use new @include file names, put @appendix directive before @include.
27656
f16846a5
JJ
276572011-06-04 Jakub Jelinek <jakub@redhat.com>
27658
27659 [BZ #12841]
27660 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
27661 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
27662 (mq_open): Add __NTH.
27663
3d29045b
L
276642011-06-02 H.J. Lu <hongjiu.lu@intel.com>
27665
27666 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27667 Assume Intel Core i3/i5/i7 processor if AVX is available.
27668
8c297311
UD
276692011-05-31 Ulrich Drepper <drepper@gmail.com>
27670
27671 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27672 typo.
27673
c8fc0c91
UD
276742011-05-31 Andreas Schwab <schwab@redhat.com>
27675
27676 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
27677 memory. Use alloca_account. Fix memory leak when retrying.
27678
5b27a807
UD
276792011-05-31 Ulrich Drepper <drepper@gmail.com>
27680
356f8bc6
UD
27681 * version.h (RELEASE): Bump for 2.14 release.
27682 * include/features.h (__GLIBC_MINOR__): Bump to 14.
27683
5b27a807
UD
27684 * config.make.in (RANLIB): Remove entry.
27685
01f16ab0
UD
276862011-05-30 Ulrich Drepper <drepper@gmail.com>
27687
41fce8bd
UD
27688 * po/Makefile (po-sed-cmd): Add ksh to extensions.
27689 (libc.pot): Work around missing support for .ksh extension in xgettext.
27690
4769ae77
UD
27691 [BZ #12684]
27692 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
27693 if both request failed.
27694 (send_dg): In case of server errors clear resplen or *resplen2.
27695
6b1e7d19
UD
27696 [BZ #12454]
27697 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
27698 when there are multiple maps.
27699 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
27700 (_dl_fini): Remove test here.
27701
01f16ab0
UD
27702 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
27703
b1ebd700
UD
277042011-05-29 Ulrich Drepper <drepper@gmail.com>
27705
7ae22829
UD
27706 [BZ #12350]
27707 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
27708 bit from old_res_options.
27709 (gaih_inet): Likewise.
27710
553149f6 27711 [BZ #11099]
18a84741 27712 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
27713 as signed.
27714
652ffab1
UD
27715 * resolv/res_init.c (res_setoptions): Make the code more compact.
27716
16985fd0
UD
27717 [BZ #11558]
27718 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
27719 set RES_USEVC.
27720
0464f746
UD
27721 [BZ #11634]
27722 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
27723
7d17596c
UD
27724 * malloc/malloc.h: Mark malloc hook variables as deprecated.
27725
cf6bbbd7
UD
27726 [BZ #11781]
27727 * malloc/malloc.h: Declare malloc hook variables as volatile.
27728
13f1ab36
UD
27729 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
27730 in last patch.
27731
b1ebd700
UD
27732 [BZ #11799]
27733 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 27734 raise in the comment.
80e2212d
UD
27735 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27736 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27737 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 27738
ce67228d
UD
277392011-05-28 Ulrich Drepper <drepper@gmail.com>
27740
8887a920
UD
27741 [BZ #12811]
27742 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
27743 grow the buffers more if it already has to be sufficient.
27744 (build_wcs_upper_buffer): Likewise.
27745 * posix/regexec.c (check_matching): Likewise.
27746 (clean_state_log_if_needed): Likewise.
27747 (extend_buffers): Don't enlarge buffers beyond size of the input
27748 buffer.
27749 Patches mostly by Emil Wojak <emil@wojak.eu>.
27750 * posix/bug-regex32.c: New file.
27751 * posix/Makefile (tests): Add bug-regex32.
27752
4f031072
UD
27753 * locale/findlocale.c (_nl_find_locale): Return right away if
27754 _nl_explode_name failed.
27755 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27756
d0478f0c
UD
27757 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
27758
de81b246
UD
27759 * debug/xtrace.sh: Unify messages.
27760 * malloc/memusage.sh: Likewise.
27761
c738465a
UD
27762 [BZ #12813]
27763 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
27764 time symbol from vDSO. Substitute with vsyscall if not available.
27765 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
27766 __vdso_time.
27767
f1f929d7
UD
27768 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
27769 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
27770 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
27771 Add sendmmsg and internal_sendmmsg.
27772 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
27773 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
27774 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
27775
ce67228d
UD
27776 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
27777 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
27778 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
27779
e57420c6
UD
277802011-05-27 Ulrich Drepper <drepper@gmail.com>
27781
a8509ca5
UD
27782 [BZ #12813]
27783 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
27784 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
27785 available.
27786 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
27787 __vdso_getcpu.
27788
e57420c6
UD
27789 [BZ #12814]
27790 * iconvdata/Makefile (tests): Add bug-iconv9.
27791 * iconvdata/bug-iconv9.c: New file.
27792
4d07db15
AS
277932011-05-27 Andreas Schwab <schwab@redhat.com>
27794
27795 [BZ #12814]
27796 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
27797
ea486f69
JJ
277982011-05-25 Jakub Jelinek <jakub@redhat.com>
27799
27800 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27801 (struct user_regs_struct): Change intcs field back to cs.
27802
6f038433
UD
278032011-05-25 Ulrich Drepper <drepper@gmail.com>
27804
27805 * po/ja.po: Update from translation team.
27806
67f86a25
UD
278072011-05-23 Ulrich Drepper <drepper@gmail.com>
27808
27809 [BZ #12795]
27810 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
27811 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
27812
def7fbd6
AS
278132011-05-20 Andreas Schwab <schwab@redhat.com>
27814
27815 * stdlib/longlong.h: Update from GCC.
27816
f50ef8f1
AS
278172011-05-23 Andreas Schwab <schwab@redhat.com>
27818
27819 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
27820 parameter name.
27821 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
27822 Add parameter name.
27823 (__sysconf): Pass it down.
27824
de7ce8f1
UD
278252011-05-22 Ulrich Drepper <drepper@gmail.com>
27826
f2962a71
UD
27827 [BZ #12671]
27828 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
27829 some situations.
27830 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27831 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
27832 add in in __libc_use_alloca calls. Adjust callers.
27833 (glob): Use malloc in some situations.
27834
de7ce8f1
UD
27835 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
27836 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
27837 pltexit.
27838
aec84f53
UD
278392011-05-21 Ulrich Drepper <drepper@gmail.com>
27840
05bb4a68
UD
27841 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
27842 and CLOCK_BOOTTIME_ALARM.
27843
7ea72f99
UD
27844 [BZ #12782]
27845 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
27846 is returned.
27847
7e4afad5
UD
27848 * string/_strerror.c (__strerror_r): Print negative errors as signed
27849 numbers.
27850
8e211fec
UD
27851 [BZ #12777]
27852 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
27853 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
27854 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
27855
f7d82dc9
UD
27856 * configure.in: Fix typo in redirection and correct removal of test
27857 files in two cases.
27858
cc9e536d
UD
27859 [BZ #12788]
27860 * locale/setlocale.c (new_composite_name): Fix test to check for
27861 identical name of all categories.
27862
aec84f53
UD
27863 [BZ #12792]
27864 * libio/filedoalloc.c (local_isatty): New function.
27865 (_IO_file_doallocate): Use local_isatty.
27866 * stdio-common/perror.c (perror): In case a new stream is used
27867 forward the stream error.
27868 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
27869 error flag.
27870
78e64fdc
RT
278712011-05-20 Ulrich Drepper <drepper@gmail.com>
27872
34a9094f
UD
27873 [BZ #11869]
27874 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
27875 alloca.
27876 * include/alloca.h (extend_alloca_account): Define.
27877
78e64fdc
RT
27878 [BZ #11857]
27879 * posix/regex.h: Fix comments with documentation of user-accessible
27880 fields after compilation and describe correct free'ing of pattern
27881 after re_compile_pattern.
27882 Patch by Reuben Thomas <rrt@sc3d.org>.
27883
457bddfc
RA
278842011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
27885
27886 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
27887 and -mno-altivec to prevent the compiler from using Altivec and/or
27888 VSX instructions when the corresponding registers are not available.
27889
a4527b51
AS
278902011-05-19 Andreas Schwab <schwab@redhat.com>
27891
27892 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
27893
ed690b2f
UD
278942011-05-19 Ulrich Drepper <drepper@gmail.com>
27895
27896 * libio/freopen.c (freopen): Use __dup2, not dup2.
27897 * libio/freopen64.c (freopen64): Likewise.
27898
8db73634
L
278992011-05-17 H.J. Lu <hongjiu.lu@intel.com>
27900
27901 [BZ #12775]
27902 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
27903 * math/Makefile (tests): Add test-powl.
27904 (CFLAGS-test-powl.c): Define.
27905 * math/test-powl.c: New file.
27906
0a197a9d
L
279072011-05-16 H.J. Lu <hongjiu.lu@intel.com>
27908
27909 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
27910
ee30c380
UD
279112011-05-17 Ulrich Drepper <drepper@gmail.com>
27912
27913 [BZ #11837]
27914 * iconvdata/gb18030.c: Update to GB18020-2005.
27915
6ce75379
UD
279162011-05-16 Ulrich Drepper <drepper@gmail.com>
27917
a4b89fd8
AR
27918 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
27919 RE_SYNTAX_POSIX_AWK): Update to match recent development.
27920 Patch by Aharon Robbins <arnold@skeeve.com>.
27921
ea389b12
UD
27922 [BZ #11892]
27923 * stdlib/putenv.c (putenv): Don't always create copy of the variable
27924 on the stack.
27925
68a3f91f
UD
27926 [BZ #11895]
27927 * misc/pselect.c (__pselect): Handle timeout value errors hidden
27928 through underflows.
27929
15cc7dd1
UD
27930 [BZ #12766]
27931 * misc/error.c (error_at_line): Ensure file_name and old_file_name
27932 point to strings before performing equality test for error_one_per_line
27933 mode.
27934
f3799213
UD
27935 [BZ #11697]
27936 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
27937
d79a9c94
UD
27938 [BZ #11820]
27939 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27940 (struct user_fpregs_struct): Avoid __uint*_t types.
27941
56e5eb46
UD
27942 [BZ #6420]
27943 * malloc/mtrace.c (tr_where): Add additional parameter to point to
27944 symbol info. Use it instead of calling _dl_addr locally.
27945 (lock_and_info): New function.
27946 (tr_freehook): Call lock_and_info and pass symbol info as additional
27947 parameter to tr_where.
27948 (tr_mallochook): Likewise.
27949 (tr_reallochook): Likewise.
27950 (tr_memalignhook): Likewise.
27951
6ce75379
UD
27952 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
27953 used and couldn't be at all thread-safe.
27954
f8a3b5bf
UD
279552011-05-15 Ulrich Drepper <drepper@gmail.com>
27956
94b7cc37
UD
27957 * libio/freopen.c (freopen): Don't close old file descriptor
27958 before the new one is opened. Instead dup the new file descriptor
27959 to the old one after the new stream is created.
27960 * libio/freopen64.c (freopen64): Likewise.
27961 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
27962 * libio/fileops.c (_IO_new_file_close_it): Handle new
27963 _IO_FLAGS2_NOCLOSE flag.
27964 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
27965 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
27966 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
27967 _IO_FLAGS2_NOCLOSE flag.
27968 * include/unistd.h: Add hidden_proto for dup3.
27969 Define __have_dup3.
27970 * io/dup3.c: Define hidden symbol.
27971 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
27972
bd25564e
UD
27973 [BZ #7101]
27974 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
27975 when an incomplete long option is used.
27976 * posix/tst-getopt_long1.c: New file.
27977 * posix/Makefile (tests): Add tst-getopt_long1.
27978
c84cfef4
UD
27979 [BZ #10138]
27980 * scripts/config.guess: Update from autoconf-2.68.
27981 * scripts/config.sub: Likewise.
27982
3b85df27
UD
27983 [BZ #10157]
27984 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
27985 tests into ...
27986 (has_cpuclock): ...this. New function.
27987 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
27988 macro here based on has_cpuclock code.
27989
15a856b1
UD
27990 [BZ #10149]
27991 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27992 First byte (not low byte) is now always NUL.
27993 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
27994
05f399e6
UD
27995 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27996 Use non-cancelable interfaces.
27997
10a52685 27998 [BZ #9809]
94ecc67d
UD
27999 * locale/iso-639.def: Add entry for Sorani.
28000
f8a3b5bf
UD
28001 [BZ #11901]
28002 * include/stdlib.h: Move include protection to the right place.
28003 Define abort_msg_s. Declare __abort_msg with it.
28004 * stdlib/abort.c (__abort_msg): Adjust type.
28005 * assert/assert.c (__assert_fail_base): New function. Majority
28006 of code from __assert_fail. Allocate memory for __abort_msg with
28007 mmap.
28008 (__assert_fail): Now call __assert_fail_base.
28009 * assert/assert-perr.c: Remove bulk of implementation. Use
28010 __assert_fail_base.
28011 * include/assert.hL Declare __assert_fail_base.
28012 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
28013 mmap.
28014 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
28015
1af4e298
UD
280162011-05-14 Ulrich Drepper <drepper@gmail.com>
28017
f8a3b5bf 28018 [BZ #11952]
d26dfc60
MG
28019 [BZ #12453]
28020 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
28021 until all modules are registered in the DTV.
28022 * elf/Makefile: Add rules to build and run tst-tls19.
28023 * elf/tst-tls19.c: New file.
28024 * elf/tst-tls19mod1.c: New file.
28025 * elf/tst-tls19mod2.c: New file.
28026 * elf/tst-tls19mod3.c: New file.
28027 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
28028
2fc54d6f
UD
28029 [BZ #12083]
28030 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
28031 correctly.
28032
98d76b46
UD
28033 [BZ #12601]
28034 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
28035 two-byte sequence errors.
28036 * iconvdata/Makefile (tests): Add bug-iconv8.
28037 * iconvdata/bug-iconv8.c: New file.
28038
da3c19ef
UD
28039 [BZ #12626]
28040 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
28041 buf2 definition.
28042
ca408c15
UD
28043 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
28044
d6f67f7d
UD
28045 [BZ #12432]
28046 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
28047 (dummy_getcfa): New function.
28048 (init): Get _Unwind_GetCFA address, use dummy if not found.
28049 (backtrace_helper): In recursion check, also check whether CFA changes.
28050 (__backtrace): Completely initialize arg.
28051
1af4e298 28052 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
28053 storing incomplete byte sequence in state object. Avoid testing for
28054 guaranteed too small input if we know there is enough data available.
1af4e298 28055
da62f81b
AS
280562011-05-11 Andreas Schwab <schwab@redhat.com>
28057
28058 * Makeconfig (+link-pie): Indent.
28059 * Rules (binaries-pie): Define if $(have-fpie) and
28060 $(build-shared).
28061 (binaries-shared): Also filter out $(binaries-pie).
28062 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
28063 * nscd/Makefile (others-pie): Add nscd.
28064 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
28065 ($(objpfx)nscd): Remove command override.
28066 * login/Makefile (others-pie): Add pt_chown.
28067 ($(objpfx)pt_chown): Remove command override.
28068 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
28069 remove command overrides.
28070
fcabc0f8
UD
280712011-05-13 Ulrich Drepper <drepper@gmail.com>
28072
20030ae6
UD
28073 * libio/tst_putwc.c: Fix error messages.
28074
fcabc0f8
UD
28075 [BZ #12724]
28076 * libio/fileops.c (_IO_new_file_close_it): Always flush when
28077 currently writing and seek to current position when not.
28078 * libio/Makefile (tests): Add bug-fclose1.
28079 * libio/bug-fclose1.c: New file.
28080
320a5dc0
PB
280812011-05-12 Ulrich Drepper <drepper@gmail.com>
28082
28083 [BZ #12511]
28084 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
28085 don't set DF_1_NODELETE here.
28086 (do_lookup_x): When entering new entry test for copy relocation
28087 and if necessary set DF_1_NODELETE flag.
28088 * elf/tst-unique4.cc: New file.
28089 * elf/tst-unique4.h: New file.
28090 * elf/tst-unique4lib.cc: New file.
28091 * elf/Makefile: Add rules to build and run tst-unique4.
28092 Patch by Piotr Bury <pbury@goahead.com>.
28093
22836f52
UD
280942011-05-11 Ulrich Drepper <drepper@gmail.com>
28095
f574184a
UD
28096 [BZ #12052]
28097 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
28098
e1fb097f
UD
28099 [BZ #12625]
28100 * misc/mntent_r.c (addmntent): Flush the stream after the output
28101
22836f52
UD
28102 [BZ #12393]
28103 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
28104 (is_trusted_path_normalize): Skip initial colon. Append slash
28105 to empty buffer. Duplicate is_trusted_path code but allow
28106 constructed patch to be prefix.
28107 (is_dst): Allow $ORIGIN followed by /.
28108 (_dl_dst_substitute): Correct clearing of check_for_trusted.
28109 Correct testing of result of is_trusted_path_normalize
28110 (decompose_rpath): Fix warning.
28111
7b3b0b2a
UD
281122011-05-10 Ulrich Drepper <drepper@gmail.com>
28113
28114 [BZ #11257]
28115 * grp/initgroups.c (internal_getgrouplist): When we found the service
28116 list through the initgroups entry in nsswitch.conf do not always
28117 continue on a successful lookup. Don't always use the
eac80ce2 28118 __nss_group_database value if it is set.
7b3b0b2a
UD
28119 * nss/nsswitch.conf (initgroups): Change action for successful db
28120 lookup to continue for compatibility.
28121
2a81eaa5
UD
281222011-05-09 Ulrich Drepper <drepper@gmail.com>
28123
be97a69e
UD
28124 [BZ #11532]
28125 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
28126 and CP774 modules.
28127 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
28128 and CP774 modules.
28129 * iconvdata/tst-tables.sh: Likewise.
28130 * iconvdata/cp770.c: New file.
28131 * iconvdata/cp771.c: New file.
28132 * iconvdata/cp772.c: New file.
28133 * iconvdata/cp773.c: New file.
28134 * iconvdata/cp774.c: New file.
28135 * iconvdata/testdata/CP770: New file.
28136 * iconvdata/testdata/CP770..UTF8: New file.
28137 * iconvdata/testdata/CP771: New file.
28138 * iconvdata/testdata/CP771..UTF8: New file.
28139 * iconvdata/testdata/CP772: New file.
28140 * iconvdata/testdata/CP772..UTF8: New file.
28141 * iconvdata/testdata/CP773: New file.
28142 * iconvdata/testdata/CP773..UTF8: New file.
28143 * iconvdata/testdata/CP774: New file.
28144 * iconvdata/testdata/CP774..UTF8: New file.
28145
28146 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
28147 END CHARMAP line.
28148 * iconvdata/gen-8bit-gap.sh: Likewise.
28149 * iconvdata/gen-8bit.sh: Likewise.
28150
c1e9e399
UD
28151 * locale/iso-639.def: Add ary entry.
28152
24c55fb3 28153 [BZ #11258]
96b4b1b0
UD
28154 * locale/C-translit.h.in: Add U20A1 transliteration.
28155
bdc2f971
KB
28156 [BZ #12178]
28157 * locale/iso-639.def: Add wae entry.
28158 Patch by Kevin Bortis <bortis@translate-wae.ch>.
28159
2952b117
UD
28160 [BZ #12545]
28161 * locale/programs/localedef.c (construct_output_path): Use ssize_t
28162 for n.
28163
2a81eaa5
UD
28164 [BZ #12711]
28165 * locale/C-translit.h.in: Add entry for U20B9.
28166 Patch by pravin.d.s@gmail.com.
28167
28377d1b
UD
281682011-05-08 Ulrich Drepper <drepper@gmail.com>
28169
7fb90fb8
UD
28170 [BZ #12713]
28171 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
28172 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
28173 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
28174 in rtld. Use *stat64.
7fb90fb8 28175 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 28176 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 28177 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
28178 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
28179 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
28180 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
28181 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
28182 __fstatat64 macros.
7fb90fb8
UD
28183 * include/dirent.h: Add libc_hidden_proto for rewinddir.
28184 * dirent/rewinddir.c: Add libc_hidden_def.
28185 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 28186 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 28187
28377d1b
UD
28188 * include/dirent.h (__alloc_dir): Add flags parameter.
28189 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
28190 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
28191 __alloc_dir.
28192 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
28193 from fdopendir if O_CLOEXEC is already set.
28194
66bdbaa4
AM
281952011-03-15 Alan Modra <amodra@gmail.com>
28196
28197 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
28198 l_tls_firstbyte_offset non-zero. Save padding offset in
28199 l_tls_firstbyte_offset for later use.
28200 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
28201 freeing static tls block.
28202
95721191
JN
282032011-03-05 Jonathan Nieder <jrnieder@gmail.com>
28204
28205 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
28206 where #ifdef was intended. The intent is to prevent ARG_MAX from
28207 being defined by the kernel headers.
28208
f87dfb1f
UD
282092011-05-07 Ulrich Drepper <drepper@gmail.com>
28210
28211 [BZ #12734]
28212 * resolv/resolv.h: Define RES_NOTLDQUERY.
28213 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
28214 no-tld-query and set RES_NOTLDQUERY.
28215 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
28216 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
28217 modern BIND to search name as TLD unless forbidden.
28218
47c3cd7a
UD
282192011-05-07 Petr Baudis <pasky@suse.cz>
28220 Ulrich Drepper <drepper@gmail.com>
28221
28222 [BZ #12393]
28223 * elf/dl-load.c (fillin_rpath): Move trusted path check...
28224 (is_trusted_path): ...to here.
c1e9ea35 28225 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 28226 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 28227 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 28228
8a35c912
PP
282292011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28230
28231 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
28232 __BEGIN/__END_DECLS.
28233
acd41f47
UD
282342011-05-06 Ulrich Drepper <drepper@gmail.com>
28235
28236 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
28237 NSS_STATUS_NOTFOUND if no record was found.
28238
597df647
AS
282392011-05-05 Andreas Schwab <schwab@redhat.com>
28240
28241 * sunrpc/Makefile (headers): Add rpc/netdb.h.
28242 (headers-not-in-tirpc): Remove rpc/netdb.h
28243 * resolv/netdb.h: Revert last change.
28244
b9af1301
PP
282452011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28246
28247 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
28248 circular dependency between libgcc.a and libc.a.
28249
4e34d5f5
AS
282502011-05-05 Andreas Schwab <schwab@redhat.com>
28251
28252 * resolv/netdb.h: Don't include <rpc/netdb.h>.
28253 * nis/Makefile: Don't install rpcsvc/*.
28254 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
28255 instead of <rpc/types.h>.
28256 (MAXHOSTNAMELEN): Define.
28257
00ee369c
AS
282582011-05-03 Andreas Schwab <schwab@redhat.com>
28259
28260 * elf/ldconfig.c (add_dir): Don't crash on empty path.
28261
0b592a30
MB
282622011-04-28 Maciej Babinski <mbabinski@google.com>
28263
28264 [BZ #12714]
28265 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
28266 gethostbyname4_r when IPv6 results are possible.
28267
6e04cbbe
UD
282682011-05-02 Ulrich Drepper <drepper@gmail.com>
28269
28270 [BZ #12723]
28271 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
28272 _PC_PIPE_BUF handling.
28273
e4ecafe0
BH
282742011-04-30 Bruno Haible <bruno@clisp.org>
28275
28276 [BZ #12717]
28277 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
28278 * resolv/netdb.h (getnameinfo): Change type of flags parameter
28279 to 'int'.
28280 * inet/getnameinfo.c (getnameinfo): Likewise.
28281
125ee683
UD
282822011-04-29 Ulrich Drepper <drepper@gmail.com>
28283
28284 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
28285 to groups setting in database lookup.
28286 * nss/nsswitch.conf: Add initgroups entry.
28287
b722481a
EB
282882011-04-22 Ulrich Drepper <drepper@gmail.com>
28289
28290 [BZ #12685]
28291 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
28292 mode string.
28293 Patch by Eric Blake <eblake@redhat.com>.
28294
4df46dbd
L
282952011-04-20 H.J. Lu <hongjiu.lu@intel.com>
28296
28297 * sunrpc/Makefile (need-export-routines): Add svc_run.
28298 (routines): Remove svc_run.
28299 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
28300 * sunrpc/clnt_perr.c (clnt_perrno): Export.
28301 * sunrpc/svc_run.c (svc_run): Likewise.
28302 * sunrpc/svc_udp.c (svcudp_create): Likewise.
28303
e84142d2
UD
283042011-04-21 Ulrich Drepper <drepper@gmail.com>
28305
28306 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
28307 problem in reallocation in last patch.
28308
877175d8
UD
283092011-04-20 Ulrich Drepper <drepper@gmail.com>
28310
28311 * sunrpc/Makefile: Move inclusion of Rules.
28312
ab8eed78
UD
283132011-04-19 Ulrich Drepper <drepper@gmail.com>
28314
28315 * nss/nss_files/files-initgroups.c: New file.
28316 * nss/Makefile (libnss_files-routines): Add files-initgroups.
28317 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
28318 _nss_files_initgroups_dyn.
28319
e3d8f584
RS
283202011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
28321
28322 * elf/elf.h (R_ARM_IRELATIVE): Define.
28323
af190f45
UD
283242011-04-19 Ulrich Drepper <drepper@gmail.com>
28325
28326 * po/ru.po: Update from translation team.
28327
53cf59ef
UD
283282011-04-17 Ulrich Drepper <drepper@gmail.com>
28329
28330 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
28331 dependencies.
28332
4c559bcd
MF
283332011-02-06 Mike Frysinger <vapier@gentoo.org>
28334
28335 [BZ #12653]
28336 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
28337 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
28338 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28339 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28340 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28341
4420675c
AS
283422011-03-28 Andreas Schwab <schwab@linux-m68k.org>
28343
28344 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
28345 differing bytes.
28346 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28347 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28348 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28349
75ea32ab
UD
283502011-04-17 Ulrich Drepper <drepper@gmail.com>
28351
28352 [BZ #12420]
28353 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
28354 storing it.
28355 * stdlib/bug-getcontext.c: New file.
28356 * stdlib/Makefile: Add rules to build and run bug-getcontext.
28357
27390476
AK
283582011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28359
28360 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
28361 instructions into .machine "z9-109".
28362 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
28363 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
28364
10442705
AK
283652011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28366
28367 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
28368 between environment variables and auxiliary vector.
28369
7b57bfe5
UD
283702011-04-16 Ulrich Drepper <drepper@gmail.com>
28371
28372 * Makefile: Add rules to build linkobj/libc.so.
28373 * include/libc-symbols.h: Define libc_hidden_nolink.
28374 * include/rpc/auth.h: Mark functions which are to be hidden.
28375 * include/rpc/auth_des.h: Likewise.
28376 * include/rpc/auth_unix.h: Likewise.
28377 * include/rpc/clnt.h: Likewise.
28378 * include/rpc/des_crypt.h: Likewise.
28379 * include/rpc/key_prot.h: Likewise.
28380 * include/rpc/pmap_clnt.h: Likewise.
28381 * include/rpc/pmap_prot.h: Likewise.
28382 * include/rpc/pmap_rmt.h: Likewise.
28383 * include/rpc/rpc_msg.h: Likewise.
28384 * include/rpc/svc.h: Likewise.
28385 * include/rpc/svc_auth.h: Likewise.
28386 * include/rpc/xdr.h: Likewise.
28387 * nis/Makefile: Link all DSOs against linkobj/libc.so.
28388 * nss/Makefile: Likewise.
28389 * sunrpc/Makefile: Don't install headers. Build library with normal
28390 entry points. Don't build rpcinfo. Link RPC tests appropriately.
28391 * sunrpc/auth_des.c: Hide exported symbols by default, export some
28392 for the compat linking library. Remove use of INTDEF/INTUSE.
28393 * sunrpc/auth_none.c: Likewise.
28394 * sunrpc/auth_unix.c: Likewise.
28395 * sunrpc/authdes_prot.c: Likewise.
28396 * sunrpc/authuxprot.c: Likewise.
28397 * sunrpc/clnt_gen.c: Likewise.
28398 * sunrpc/clnt_perr.c: Likewise.
28399 * sunrpc/clnt_raw.c: Likewise.
28400 * sunrpc/clnt_simp.c: Likewise.
28401 * sunrpc/clnt_tcp.c: Likewise.
28402 * sunrpc/clnt_udp.c: Likewise.
28403 * sunrpc/clnt_unix.c: Likewise.
28404 * sunrpc/des_crypt.c: Likewise.
28405 * sunrpc/des_soft.c: Likewise.
28406 * sunrpc/get_myaddr.c: Likewise.
28407 * sunrpc/key_call.c: Likewise.
28408 * sunrpc/key_prot.c: Likewise.
28409 * sunrpc/netname.c: Likewise.
28410 * sunrpc/pm_getmaps.c: Likewise.
28411 * sunrpc/pm_getport.c: Likewise.
28412 * sunrpc/pmap_clnt.c: Likewise.
28413 * sunrpc/pmap_prot.c: Likewise.
28414 * sunrpc/pmap_prot2.c: Likewise.
28415 * sunrpc/pmap_rmt.c: Likewise.
28416 * sunrpc/publickey.c: Likewise.
28417 * sunrpc/rpc_cmsg.c: Likewise.
28418 * sunrpc/rpc_common.c: Likewise.
28419 * sunrpc/rpc_dtable.c: Likewise.
28420 * sunrpc/rpc_prot.c: Likewise.
28421 * sunrpc/rpc_thread.c: Likewise.
28422 * sunrpc/rtime.c: Likewise.
28423 * sunrpc/svc.c: Likewise.
28424 * sunrpc/svc_auth.c: Likewise.
28425 * sunrpc/svc_authux.c: Likewise.
28426 * sunrpc/svc_raw.c: Likewise.
28427 * sunrpc/svc_run.c: Likewise.
28428 * sunrpc/svc_simple.c: Likewise.
28429 * sunrpc/svc_tcp.c: Likewise.
28430 * sunrpc/svc_udp.c: Likewise.
28431 * sunrpc/svc_unix.c: Likewise.
28432 * sunrpc/svcauth_des.c: Likewise.
28433 * sunrpc/xcrypt.c: Likewise.
28434 * sunrpc/xdr.c: Likewise.
28435 * sunrpc/xdr_array.c: Likewise.
28436 * sunrpc/xdr_float.c: Likewise.
28437 * sunrpc/xdr_intXX_t.c: Likewise.
28438 * sunrpc/xdr_mem.c: Likewise.
28439 * sunrpc/xdr_rec.c: Likewise.
28440 * sunrpc/xdr_ref.c: Likewise.
28441 * sunrpc/xdr_sizeof.c: Likewise.
28442 * sunrpc/xdr_stdio.c: Likewise.
28443
e6c61494
UD
284442011-04-10 Ulrich Drepper <drepper@gmail.com>
28445
28446 [BZ #12650]
28447 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
28448 * sysdeps/ia64/dl-tls.h: Likewise.
28449 * sysdeps/powerpc/dl-tls.h: Likewise.
28450 * sysdeps/s390/dl-tls.h: Likewise.
28451 * sysdeps/sh/dl-tls.h: Likewise.
28452 * sysdeps/sparc/dl-tls.h: Likewise.
28453 * sysdeps/x86_64/dl-tls.h: Likewise.
28454 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
28455
34fe483e
AS
284562011-03-14 Andreas Schwab <schwab@redhat.com>
28457
28458 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
28459 rpath element also skip the following colon.
28460 (expand_dynamic_string_token): Add is_path parameter and pass
28461 down to DL_DST_REQUIRED and _dl_dst_substitute.
28462 (decompose_rpath): Call expand_dynamic_string_token with
28463 non-zero is_path. Ignore empty rpaths.
28464 (_dl_map_object_from_fd): Call expand_dynamic_string_token
28465 with zero is_path.
28466
f12a32e6
AS
284672011-04-08 Andreas Schwab <schwab@linux-m68k.org>
28468
28469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28470 Make cancelable.
28471
38a7d692
UD
284722011-04-09 Ulrich Drepper <drepper@gmail.com>
28473
28474 [BZ #12655]
28475 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
28476 Patch by Filipe David Manana <fdmanana@apache.org>.
28477
e451d22b
AS
284782011-04-07 Andreas Schwab <schwab@redhat.com>
28479
28480 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
28481 Maintain aligned stack.
28482 (CHECK_RSP): Remove unused macro.
28483
dedc7c7b
UD
284842011-04-03 Ulrich Drepper <drepper@gmail.com>
28485
28486 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
28487 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
28488
94521213
UD
284892011-04-02 Ulrich Drepper <drepper@gmail.com>
28490
28491 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
28492
8cb700c0 28493 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 28494
0354e355
L
284952011-03-26 H.J. Lu <hongjiu.lu@intel.com>
28496
28497 [BZ #12518]
28498 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
28499 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
28500 * sysdeps/x86_64/memmove.c: New file.
28501 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
28502 (memcpy): Renamed to ...
28503 (__new_memcpy): This.
28504 (memcpy): Provide GLIBC_2_14 memcpy.
28505 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
28506 (memcpy): Provide GLIBC_2_2_5 memcpy.
28507
8593482f
UD
285082011-04-01 Ulrich Drepper <drepper@gmail.com>
28509
28510 [BZ #12631]
28511 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
28512
81a5726b
AS
285132011-03-30 Andreas Schwab <schwab@redhat.com>
28514
28515 * misc/syncfs.c: New file.
28516 * misc/Makefile (routines): Add syncfs.
28517 * posix/unistd.h: Declare syncfs.
28518 * sysdeps/unix/syscalls.list: Add syncfs.
28519
00e5419f
AS
285202011-04-01 Andreas Schwab <schwab@redhat.com>
28521
28522 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
28523 open_by_handle_at.
28524 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28525 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28526 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28527 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28528 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28529 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
28530 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28531
748876bf
UD
285322011-04-01 Ulrich Drepper <drepper@gmail.com>
28533
658e451d
UD
28534 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
28535 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28536 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
28537 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28538 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28539 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28540 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28541
748876bf
UD
28542 * io/Makefile: Compile fallocate.c, fallocate64.c, and
28543 sync_file_range.c with -fexceptions.
28544 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
28545 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
28546 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
28547 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
28548 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
28549 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28550 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
28551 sync_file_range as cancellation point
28552 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
28553 now a wrapper around __call_sync_file_range with cancellation handling.
28554 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
28555 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
28556 function name to __call_sync_file_range.
28557 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
28558 Add call_sync_file_range.
748876bf 28559
6e63d5e1
AS
285602011-04-01 Andreas Schwab <schwab@redhat.com>
28561
28562 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 28563 bits/timex.h.
6e63d5e1 28564
46998f74
UD
285652011-04-01 Ulrich Drepper <drepper@gmail.com>
28566
4c1423ed
UD
28567 * iconv/iconv.h: Fix typo in comment.
28568 * io/fcntl.h: Likewise.
28569 * libio/stdio.h: Likewise.
28570 * posix/spawn.h: Likewise.
28571 * posix/unistd.h: Likewise.
28572 * stdlib/stdlib.h: Likewise.
28573 * time/time.h: Likewise.
28574 * wcsmbs/wchar.h: Likewise.
28575
158648c0
UD
28576 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
28577 open_by_handle): Add.
28578 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
28579 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
28580 Augment a few comments.
28581 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28582 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28583 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28584 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28585 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28586 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
28587 open_by_handle.
28588
46998f74
UD
28589 * io/fcntl.h (AT_EMPTY_PATH): Define.
28590
83fe108b
UD
285912011-03-30 Ulrich Drepper <drepper@gmail.com>
28592
28593 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
28594 * sysdeps/unix/sysv/linux/bits/time.h: New file.
28595 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
28596 to...
28597 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
28598 * Versions.def: Add GLIBC_2.14.
28599 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
28600 Export.
83fe108b 28601
bb242059
UD
286022011-03-22 Ulrich Drepper <drepper@gmail.com>
28603
28604 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
28605 round counter.
28606 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28607
c97a1282
L
286082011-03-20 H.J. Lu <hongjiu.lu@intel.com>
28609
28610 [BZ #12597]
28611 * string/test-strncmp.c (do_page_test): New function.
28612 (check2): Likewise.
28613 (test_main): Call check2.
28614 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
28615
2a115601
UD
286162011-03-20 Ulrich Drepper <drepper@gmail.com>
28617
28618 [BZ #12587]
28619 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
28620 Handle cache information in CPU leaf 4.
28621 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28622
8126d904
UD
286232011-03-18 Ulrich Drepper <drepper@gmail.com>
28624
042c49c6 28625 [BZ #12583]
8126d904
UD
28626 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
28627 character representation.
28628 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
28629
ccfe366e
RA
286302011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
28631
28632 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
28633 END(__isnan) to END(__isnanf) to match function entry point/label
28634 EALIGN(__isnanf,...).
28635
c6e13027
JJ
286362011-03-10 Jakub Jelinek <jakub@redhat.com>
28637
28638 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
28639
33f85a3f
UD
286402011-03-10 Ulrich Drepper <drepper@gmail.com>
28641
028478fa
UD
28642 [BZ #12510]
28643 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
28644 copy from the symbol referenced in the relocation to initialize the
28645 used variable.
28646 Patch by Piotr Bury <pbury@goahead.com>.
28647 * elf/Makefile: Add rules to build and tst-unique3.
28648 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
28649 * elf/tst-unique3.cc: New file.
28650 * elf/tst-unique3.h: New file.
28651 * elf/tst-unique3lib.cc: New file.
28652 * elf/tst-unique3lib2.cc: New file.
28653
33f85a3f
UD
28654 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
28655
03592fc7
MF
286562011-03-10 Mike Frysinger <vapier@gentoo.org>
28657
28658 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
28659 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
28660 to _start.
03592fc7 28661
6a5ee102
UD
286622011-03-06 Ulrich Drepper <drepper@gmail.com>
28663
28664 * elf/dl-load.c (_dl_map_object): If we are looking for the first
28665 to-be-loaded object along a path to loader is ld.so.
28666
7e4ba49c
HJ
286672011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28668 Ulrich Drepper <drepper@gmail.com>
28669
28670 * sysdeps/x86_64/memset.S: After aligning destination, code
28671 branches to different locations depending on the value of
28672 misalignment, when multiarch is enabled. Fix this.
28673
286742011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28675
28676 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
28677 Set _x86_64_preferred_memory_instruction for AMD processsors.
28678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28679 Set bit_Prefer_SSE_for_memop for AMD processors.
28680
13a804de
UD
286812011-03-04 Ulrich Drepper <drepper@gmail.com>
28682
28683 * libio/fmemopen.c (fmemopen): Optimize a bit.
28684
9d25c392
AS
286852011-03-03 Andreas Schwab <schwab@redhat.com>
28686
28687 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
28688
a5543c6a
RM
286892011-03-03 Roland McGrath <roland@redhat.com>
28690
28691 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
28692
012d35f7
DM
286932011-02-28 Aurelien Jarno <aurelien@aurel32.net>
28694
7e4ba49c 28695 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
28696 __bzero_ultra1 instead of __memset_ultra1.
28697
4bff6e01
AS
286982011-02-23 Andreas Schwab <schwab@redhat.com>
28699 Ulrich Drepper <drepper@gmail.com>
28700
28701 [BZ #12509]
28702 * include/link.h (struct link_map): Add l_orig_initfini.
28703 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
28704 returning unsuccessfully.
28705 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
28706 close of a file loaded at startup, restore the original l_initfini
28707 list.
28708 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
28709 list, store the pointer.
28710 * elf/Makefile ($(objpfx)noload-mem): New rule.
28711 (noload-ENV): Define.
28712 (tests): Add $(objpfx)noload-mem.
28713 * elf/noload.c: Include <memcheck.h>.
28714 (main): Call mtrace. Close all opened handles.
28715
f2092faf
AS
287162011-02-17 Andreas Schwab <schwab@redhat.com>
28717
28718 [BZ #12454]
28719 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
28720 dependencies are missing.
28721
6c8a2e88
ST
287222011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
28723
f2092faf 28724 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
28725 Hurd needs munmap.
28726 * sysdeps/mach/hurd/ifreq.h: New file.
28727
84a42118
PB
287282011-01-27 Petr Baudis <pasky@suse.cz>
28729 Ulrich Drepper <drepper@gmail.com>
28730
071f805e 28731 [BZ 12445]#
84a42118
PB
28732 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
28733 to extend_alloca().
28734 * stdio-common/bug23.c: New file.
28735 * stdio-common/Makefile (tests): Add bug23.
28736
e23fe25b
AS
287372010-09-28 Andreas Schwab <schwab@redhat.com>
28738 Ulrich Drepper <drepper@gmail.com>
28739
28740 [BZ #12489]
28741 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
28742 before performing relro protection. At old place add assertion
28743 to make sure nothing changed.
28744
d3f02e10
NS
287452011-02-17 Nathan Sidwell <nathan@codesourcery.com>
28746 Glauber de Oliveira Costa <glommer@gmail.com>
28747
28748 * elf/elf.h: Add new ARM TLS relocs.
28749
d55fd7a5
RA
287502011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
28751
28752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28753 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
28754 cast from r3.
28755 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
28756 'tests' variable.
28757 * sysdeps/wordsize-64/tst-writev.c: New file.
28758
2206397e
RA
287592011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
28760
28761 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
28762 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
28763 insns in _dl_start to prevent a TOC reference before relocs are
28764 resolved.
28765
e9433893
UD
287662011-02-15 Ulrich Drepper <drepper@gmail.com>
28767
28768 [BZ #12469]
28769 * Makeconfig: Remove RANLIB definition.
28770 * Makerules: Don't use RANLIB.
28771 * aclocal.m4: Remove ranlib test.
28772 * configure.in: No need to check for ranlib.
28773 * elf/rtld-Rules: Don't use RANLIB.
28774
f75286c6
ST
287752011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
28776
8e31c82d
ST
28777 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
28778 protection macro.
28779 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
28780 inclusion protection macro.
28781
f75286c6
ST
28782 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
28783 SIGRTMIN and SIGRTMAX and print information in that case only when
28784 SIGRTMIN is defined.
28785
c1d0e639
JJ
287862011-02-11 Jakub Jelinek <jakub@redhat.com>
28787
28788 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
28789 arginfo fn returning -1.
28790
28791 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
28792 and thousands string is zero terminated.
28793
edf9294e
AS
287942011-02-03 Andreas Schwab <schwab@redhat.com>
28795
28796 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
28797 sysdeps/unix/sysv/linux/bits/socket.h.
28798
2b7e92df
ST
287992011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
28800
edf9294e
AS
28801 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
28802 (__CPU_COUNT): Remove old macros.
28803 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
28804 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
28805 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
28806 (__sched_cpualloc, __sched_cpufree): Add declarations.
28807
a4c7ea7b
UD
288082011-02-05 Ulrich Drepper <drepper@gmail.com>
28809
28810 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
28811 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
28812 * nscd/aicache.c (addhstaiX): Return timeout of added value.
28813 (readdhstai): Return value of addhstaiX call.
28814 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
28815 (addgrbyX): Return value returned by cache_addgr.
28816 (readdgrbyname): Return value returned by addgrbyX.
28817 (readdgrbygid): Likewise.
28818 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
28819 (addpwbyX): Return value returned by cache_addpw.
28820 (readdpwbyname): Return value returned by addhstbyX.
28821 (readdpwbyuid): Likewise.
28822 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
28823 (addservbyX): Return value returned by cache_addserv.
28824 (readdservbyname): Return value returned by addservbyX:
28825 (readdservbyport): Likewise.
28826 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
28827 (addhstbyX): Return value returned by cache_addhst.
28828 (readdhstbyname): Return value returned by addhstbyX.
28829 (readdhstbyaddr): Likewise.
28830 (readdhstbynamev6): Likewise.
28831 (readdhstbyaddrv6): Likewise.
28832 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
28833 (readdinitgroups): Return value returned by addinitgroupsX.
28834 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
28835 (prune_cache): Keep track of timeout value of re-added entries.
28836 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
28837 * nscd/nscd.h: Adjust prototypes of readd* functions.
28838
a0bf67cc
RM
288392011-02-04 Roland McGrath <roland@redhat.com>
28840
28841 * nis/nis_server.c (nis_servstate): Use the right name for 0.
28842 (nis_stats): Likewise.
28843 * nis/nis_modify.c (nis_modify): Likewise.
28844 * nis/nis_remove.c (nis_remove): Likewise.
28845 * nis/nis_add.c (nis_add): Likewise.
28846
28847 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
28848
28849 * posix/fnmatch_loop.c: Add some consts.
28850
28851 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
28852
435b95eb
L
288532011-02-02 H.J. Lu <hongjiu.lu@intel.com>
28854
28855 [BZ #12460]
28856 * config.make.in (config-cflags-novzeroupper): Define.
28857 * configure.in: Substitute libc_cv_cc_novzeroupper.
28858 * elf/Makefile (AVX-CFLAGS): Define.
28859 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
28860 (CFLAGS-tst-auditmod4a.c): Likewise.
28861 (CFLAGS-tst-auditmod4b.c): Likewise.
28862 (CFLAGS-tst-auditmod6b.c): Likewise.
28863 (CFLAGS-tst-auditmod6c.c): Likewise.
28864 (CFLAGS-tst-auditmod7b.c): Likewise.
28865 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
28866
8517b15e
UD
288672011-02-02 Ulrich Drepper <drepper@gmail.com>
28868
28869 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
28870 function to the callback.
28871 Patch partly by Jiri Olsa <jolsa@redhat.com>.
28872
10a656fe
AS
288732011-02-02 Andreas Schwab <schwab@redhat.com>
28874
28875 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
28876 of errno.
28877
968dad0a
UD
288782011-01-19 Ulrich Drepper <drepper@gmail.com>
28879
9f94d2ea 28880 [BZ #11724]
968dad0a
UD
28881 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
28882 of constructors.
28883 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
28884 of destructors.
28885 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
28886
28887 [BZ #11724]
28888 * elf/Makefile: Add rules to build and run new test.
28889 * elf/tst-initorder.c: New file.
28890 * elf/tst-initorder.exp: New file.
28891 * elf/tst-initordera1.c: New file.
28892 * elf/tst-initordera2.c: New file.
28893 * elf/tst-initordera3.c: New file.
28894 * elf/tst-initordera4.c: New file.
28895 * elf/tst-initorderb1.c: New file.
28896 * elf/tst-initorderb2.c: New file.
28897 * elf/tst-order-a1.c: New file.
28898 * elf/tst-order-a2.c: New file.
28899 * elf/tst-order-a3.c: New file.
28900 * elf/tst-order-a4.c: New file.
28901 * elf/tst-order-b1.c: New file.
28902 * elf/tst-order-b2.c: New file.
28903 * elf/tst-order-main.c: New file.
28904 New test case by George Gensure <werkt0@gmail.com>.
28905
86e92359
UD
289062010-10-01 Andreas Schwab <schwab@redhat.com>
28907
28908 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28909 decoding ACE if AI_CANONIDN.
28910
5d5732b0
UD
289112011-01-18 Ulrich Drepper <drepper@gmail.com>
28912
28913 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
28914
a77e8cbc
UD
289152011-01-17 Ulrich Drepper <drepper@gmail.com>
28916
6392473f
UD
28917 * version.h (RELEASE): Bump for 2.13 release.
28918 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
28919
620a0529
UD
28920 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
28921
18ba70a5
UD
28922 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
28923 MADV_NOHUGEPAGE.
32465c3e
UD
28924 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
28925 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28926 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28927 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28928 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28929 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
28930
c0dafcf1
UD
28931 * posix/getconf.c: Update copyright year.
28932 * catgets/gencat.c: Likewise.
28933 * csu/version.c: Likewise.
28934 * debug/catchsegv.sh: Likewise.
28935 * debug/xtrace.sh: Likewise.
28936 * elf/ldconfig.c: Likewise.
28937 * elf/ldd.bash.in: Likewise.
28938 * elf/sprof.c (print_version): Likewise.
28939 * iconv/iconv_prog.c: Likewise.
28940 * iconv/iconvconfig.c: Likewise.
28941 * locale/programs/locale.c: Likewise.
28942 * locale/programs/localedef.c: Likewise.
28943 * malloc/memusage.sh: Likewise.
28944 * malloc/mtrace.pl: Likewise.
28945 * nscd/nscd.c (print_version): Likewise.
28946 * nss/getent.c: Likewise.
28947
a77e8cbc
UD
28948 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
28949 PF_CAIF, and PF_ALG.
28950 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28951
77e8bddf
AS
289522011-01-16 Andreas Schwab <schwab@linux-m68k.org>
28953
1f20b93a
AS
28954 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
28955 (modules-names): Use them.
28956 (ifunc-test-modules, ifunc-pie-tests): Define.
28957 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
28958 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
28959 (test-extras): Likewise.
28960 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
28961 $(compile-command.c).
28962 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
28963 (all-built-dso): Define.
28964 (check-textrel.out, check-execstack.out): Depend on it.
28965
77e8bddf
AS
28966 * configure.in: Don't override --enable-multi-arch.
28967
bc425b33
UD
289682011-01-15 Ulrich Drepper <drepper@gmail.com>
28969
28970 [BZ #6812]
28971 * nscd/hstcache.c (tryagain): Define.
28972 (cache_addhst): Return tryagain not notfound for temporary errors.
28973 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
28974 failed.
28975
794c3ad3
UD
289762011-01-14 Ulrich Drepper <drepper@gmail.com>
28977
70181fdd
UD
28978 [BZ #10563]
28979 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
28980 to make the syscall.
28981 * sysdeps/unix/sysv/linux/setgroups.c: New file.
28982
794c3ad3
UD
28983 [BZ #12378]
28984 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
28985 and fall back to matching as normal character if the string ends before
28986 the matching ']' is found. This is what POSIX requires.
28987 * posix/testfnm.c: Adjust test result.
28988 * posix/globtest.sh: Adjust test result. Add new test.
28989 * posix/tst-fnmatch.input: Likewise.
28990 * posix/tst-fnmatch2.c: Add new test.
28991
68dc9497
AS
289922010-12-28 Andreas Schwab <schwab@linux-m68k.org>
28993
28994 * elf/Makefile (check-execstack): Revert last change. Depend on
28995 check-execstack.h.
28996 (check-execstack.h): New target.
28997 (generated): Add check-execstack.h.
28998 * elf/check-execstack.c: Include "check-execstack.h".
28999 (main): Revert last change.
29000 (handle_file): Return zero if GNU_STACK is absent and
29001 DEFAULT_STACK_PERMS doesn't include PF_X.
29002
451f001b
UD
290032011-01-13 Ulrich Drepper <drepper@gmail.com>
29004
cfa28e56
UD
29005 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
29006 in child fails because the descriptor is already closed.
8cf8ce17
UD
29007 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
29008 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
29009 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 29010
1086d70d
UD
29011 [BZ #12397]
29012 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
29013 syscall.
29014
451f001b
UD
29015 [BZ #10484]
29016 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
29017 temporary buffer used to handle multi lookups locally.
a85b5cb4 29018 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 29019
08769175
UD
290202011-01-12 Ulrich Drepper <drepper@gmail.com>
29021
29022 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
29023 loader is ld.so.
29024
5e49c52e
UD
290252011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
29026
29027 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
29028 alignment for SSE2.
29029
60522a5f
UD
290302011-01-12 Ulrich Drepper <drepper@gmail.com>
29031
29032 [BZ #12394]
29033 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
29034 characters. When rounding increased number of integer digits recompute
29035 number of groups.
29036 * stdio-common/tst-grouping.c: New file.
29037 * stdio-common/Makefile: Add rules to build and run tst-grouping.
29038
f257bbd7
UD
290392011-01-09 Ulrich Drepper <drepper@gmail.com>
29040
29041 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
29042 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
29043
29044 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
29045 void.
29046 * bits/select.h: Likewise.
29047
fa9c15cb
UD
290482011-01-08 Ulrich Drepper <drepper@gmail.com>
29049
29050 * po/ja.po: Update from translation team.
29051
16c2895f
DM
290522011-01-04 David S. Miller <davem@sunset.davemloft.net>
29053
29054 [BZ #11155]
29055 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
29056 implementation just like for lxstat, fxstatat, et al.
29057
2543fef2
JM
290582010-12-27 Jim Meyering <meyering@redhat.com>
29059
29060 [BZ #12348]
29061 * posix/regexec.c (build_trtable): Return failure indication upon
29062 calloc failure. Otherwise, re_search_internal could infloop on OOM.
29063
98727dbe
UD
290642010-12-25 Ulrich Drepper <drepper@gmail.com>
29065
5bd6dc5c
UD
29066 [BZ #12201]
29067 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
29068 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
29069 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
29070 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
29071
97983464
UD
29072 [BZ #12207]
29073 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
29074
98727dbe
UD
29075 [BZ #12204]
29076 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
29077 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
29078
4a531bb0
L
290792010-12-15 H.J. Lu <hongjiu.lu@intel.com>
29080
29081 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
29082 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
29083 script has SORT_BY_INIT_PRIORITY.
29084 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
29085 NO_CTORS_DTORS_SECTIONS is defined.
29086 * elf/soinit.c: Likewise.
29087 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
29088 NO_CTORS_DTORS_SECTIONS is defined.
29089 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
29090 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
29091 * sysdeps/sh/init-first.c: Likewise.
29092 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
29093
07eb4b71
UD
290942010-12-24 Ulrich Drepper <drepper@gmail.com>
29095
29096 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
29097 always use the slow path.
29098
30950a5f
RA
290992010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
29100
29101 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
29102 similar rule which adds the sysdep directories to the header search in
29103 order to pick up the correct platform stackinfo.h.
29104 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
29105 perform test if it is, otherwise return successfully without testing.
29106 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
29107 DEFAULT_STACK_PERMS define in stackinfo.h.
29108 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
29109 defined in stackinfo.h.
29110 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
29111 DEFAULT_STACK_PERMS defined in stackinfo.h.
29112 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
29113 * sysdeps/ia64/stackinfo.h: Likewise.
29114 * sysdeps/s390/stackinfo.h: Likewise.
29115 * sysdeps/sh/stackinfo.h: Likewise.
29116 * sysdeps/sparc/stackinfo.h: Likewise.
29117 * sysdeps/x86_64/stackinfo.h: Likewise.
29118 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
29119 PF_X for powerpc64. Retain PF_X for powerpc32.
29120
db753e2c
UD
291212010-12-19 Ulrich Drepper <drepper@gmail.com>
29122
14b697f7
UD
29123 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
29124 accurately.
db753e2c
UD
29125 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
29126 GETDENTS_64BIT_ALIGNED.
29127
28300719
UD
291282010-12-14 Ulrich Drepper <dreper@gmail.com>
29129
14b697f7 29130 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 29131
4f197237
AS
291322010-12-10 Andreas Schwab <schwab@redhat.com>
29133
dbb0472f
AS
29134 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
29135 _GNU_SOURCE.
29136
4f197237
AS
29137 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
29138 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
29139 Remove __restrict.
29140 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
29141 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
29142
fb88ac72
UD
291432010-12-09 Ulrich Drepper <drepper@gmail.com>
29144
29145 [BZ #11655]
29146 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
29147 are initialized.
29148
42acbb92
JJ
291492010-12-09 Jakub Jelinek <jakub@redhat.com>
29150
29151 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
29152
c038d98d
UD
291532010-12-03 Ulrich Drepper <drepper@gmail.com>
29154
29155 * po/it.po: Update from translation team.
29156
3a4a2499
L
291572010-12-01 H.J. Lu <hongjiu.lu@intel.com>
29158
29159 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
29160 unused codes.
29161
1e24cf6e
UD
291622010-11-30 Ulrich Drepper <drepper@gmail.com>
29163
29164 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
29165
a7690819
AS
291662010-11-24 Andreas Schwab <schwab@redhat.com>
29167
29168 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
29169 specially.
29170 (gaih_getanswer_slice): Likewise.
29171
3bf8d1b1
JJ
291722010-10-20 Jakub Jelinek <jakub@redhat.com>
29173
29174 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
29175
6db52fbb
PB
291762010-05-31 Petr Baudis <pasky@suse.cz>
29177
29178 [BZ #11149]
29179 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
29180 silently even in the chroot mode.
29181
eaca7569
UD
291822010-11-22 Ulrich Drepper <drepper@gmail.com>
29183
29184 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
29185 last patch a bit. Pretty printing
29186
3056dcdb
UD
291872010-05-31 Petr Baudis <pasky@suse.cz>
29188
29189 [BZ #10085]
29190 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
29191 initialization of skip_initgroups_dyn.
29192
cf7c9078
UD
291932010-11-19 Ulrich Drepper <drepper@gmail.com>
29194
29195 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
29196 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29197
a1fb5e3e
UD
291982010-11-16 Ulrich Drepper <drepper@gmail.com>
29199
29200 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
29201
3540d66b
AS
292022010-11-11 Andreas Schwab <schwab@redhat.com>
29203
29204 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
29205 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
29206 (tst-fnmatch-ENV): Set MALLOC_TRACE.
29207 ($(objpfx)tst-fnmatch-mem): New rule.
29208 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
29209 * posix/tst-fnmatch.c (main): Call mtrace.
29210
13b69574
L
292112010-11-11 H.J. Lu <hongjiu.lu@intel.com>
29212
29213 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29214 Support Intel processor model 6 and model 0x2c.
29215
da93d214
LM
292162010-11-10 Luis Machado <luisgpm@br.ibm.com>
29217
29218 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
29219 signed comparison.
29220
8ca52c6e
L
292212010-11-09 H.J. Lu <hongjiu.lu@intel.com>
29222
29223 [BZ #12205]
29224 * string/test-strncasecmp.c (check_result): New function.
29225 (do_one_test): Use it.
29226 (check1): New function.
29227 (test_main): Use it.
29228 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
29229 Support strcasecmp and strncasecmp.
29230
69da074d
UD
292312010-11-08 Ulrich Drepper <drepper@gmail.com>
29232
29233 [BZ #12194]
29234 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
29235 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29236
ff02d528
L
292372010-11-07 H.J. Lu <hongjiu.lu@intel.com>
29238
29239 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
29240 IFUNC support.
29241 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29242 memset-x86-64.
29243 * sysdeps/x86_64/multiarch/bzero.S: New file.
29244 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
29245 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
29246 * sysdeps/x86_64/multiarch/memset.S: New file.
29247 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
29248 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29249 Set bit_Prefer_SSE_for_memop for Intel processors.
29250 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
29251 Define.
29252 (index_Prefer_SSE_for_memop): Define.
29253 (HAS_PREFER_SSE_FOR_MEMOP): Define.
29254
344d0b54
LM
292552010-11-04 Luis Machado <luisgpm@br.ibm.com>
29256
29257 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
29258 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
29259
c0dde15b
UD
292602010-11-03 H.J. Lu <hongjiu.lu@intel.com>
29261
29262 [BZ #12191]
29263 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29264 (__x86_64_raw_data_cache_size_half): Likewise.
29265 (__x86_64_raw_shared_cache_size): Likewise.
29266 (__x86_64_raw_shared_cache_size_half): Likewise.
29267
29268 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29269 (__x86_64_raw_data_cache_size_half): Likewise.
29270 (__x86_64_raw_shared_cache_size): Likewise.
29271 (__x86_64_raw_shared_cache_size_half): Likewise.
29272 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
29273 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
29274 and __x86_64_raw_shared_cache_size_half. Round
29275 __x86_64_data_cache_size_half, __x86_64_data_cache_size
29276 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
29277 to multiple of 256 bytes.
29278
0e516e0e
MS
292792010-11-03 Ulrich Drepper <drepper@gmail.com>
29280
29281 [BZ #12167]
29282 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
29283 of inacessible symlinks. Verify result of symlink before returning it.
29284 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
29285 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
29286
0e012e87
ER
292872010-10-28 Erich Ritz <erichritz@gmail.com>
29288
29289 * math/math.h (isinf): Fix typo in comment.
29290
de0ff7bc
UD
292912010-11-01 Ulrich Drepper <drepper@gmail.com>
29292
29293 * po/da.po: Update from translation team.
29294
fa41c84d
UD
292952010-10-26 Ulrich Drepper <drepper@gmail.com>
29296
29297 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
29298 is added to the list.
29299
f0967738
AK
293002010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29301 Ulrich Drepper <drepper@gmail.com>
29302
29303 * elf/dl-object.c (_dl_new_object): Don't append the new object to
29304 the global list here. Move code to...
29305 (_dl_add_to_namespace_list): ...here. New function.
29306 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
29307 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
29308 * elf/dl-load.c (lose): Don't remove the element from the list.
29309 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
29310 (_dl_map_object): Likewise.
29311
293122010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
29313
29314 [BZ #12159]
29315 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
29316 into all bytes of SSE register.
29317 Patch by Richard Li <richardpku@gmail.com>.
29318
f0967738 293192010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
29320
29321 [BZ #12140]
29322 * malloc/malloc.c (_int_free): Fill correct number of bytes when
29323 perturbing.
29324
d0b9e94f
MB
293252010-10-20 Michael B. Brutman <brutman@us.ibm.com>
29326
29327 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
29328 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
29329 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
29330 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
29332 submachine.
29333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
29334
8e9f92e9
AS
293352010-10-22 Andreas Schwab <schwab@redhat.com>
29336
29337 * include/dlfcn.h (__RTLD_SECURE): Define.
29338 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
29339 mode & __RTLD_SECURE instead.
29340 (open_path): Rename preloaded parameter to secure.
29341 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
29342 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
29343 * elf/dl-deps.c (openaux): Likewise.
29344 * elf/rtld.c (struct map_args): Remove is_preloaded.
29345 (map_doit): Don't use it.
29346 (dl_main): Likewise.
29347 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
29348 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
29349
bc96fbda
AS
293502010-09-09 Andreas Schwab <schwab@redhat.com>
29351
29352 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
29353 (sysd-rules-targets): Remove duplicates.
29354 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
29355 rtld-%.$o dependency.
29356
22cd1c9b
AS
293572010-10-18 Andreas Schwab <schwab@redhat.com>
29358
29359 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
29360 _dl_map_object do it.
29361
18edac48
UD
293622010-10-19 Ulrich Drepper <drepper@gmail.com>
29363
29364 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
29365 fast fma builtins, define the macros in the C99 standard.
29366 (FP_FAST_FMAF): Likewise.
29367 (FP_FAST_FMAL): Likewise.
29368 * sysdeps/x86_64/bits/mathdef.h: Likewise.
29369
29370 * bits/mathdef.h: Update copyright year.
29371 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29372
d2050124
MM
293732010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
29374
29375 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
29376 builtins, define the macros in the C99 standard.
29377 (FP_FAST_FMAF): Likewise.
29378 (FP_FAST_FMAL): Likewise.
29379 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
29380 multiply/add.
29381 (FP_FAST_FMAF): Likewise.
29382
475facd1
JJ
293832010-10-15 Jakub Jelinek <jakub@redhat.com>
29384
29385 [BZ #3268]
29386 * math/libm-test.inc (fma_test): Some new testcases.
29387 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
29388 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
29389 y and infinite z. Do multiplication by C already in long double.
29390 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
29391 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
29392 y and infinite z. Do bitwise or of inexact bit into u.d.
29393 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
29394 * sysdeps/i386/fpu/s_fmaf.S: Removed.
29395 * sysdeps/i386/fpu/s_fma.S: Removed.
29396 * sysdeps/i386/fpu/s_fmal.S: Removed.
29397
7c08a05c
JJ
293982010-10-16 Jakub Jelinek <jakub@redhat.com>
29399
29400 [BZ #3268]
29401 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
29402 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
29403 computation is not scheduled after fetestexcept. Fix value
29404 of minimum denormal long double.
29405
f3f7372d
JJ
294062010-10-14 Jakub Jelinek <jakub@redhat.com>
29407
29408 [BZ #3268]
29409 * math/libm-test.inc (fma_test): Add some more tests.
29410 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
29411 correctly.
29412
14d43591
AS
294132010-10-15 Andreas Schwab <schwab@redhat.com>
29414
29415 * scripts/data/localplt-s390-linux-gnu.data: New file.
29416 * scripts/data/localplt-s390x-linux-gnu.data: New file.
29417
5e908464
JJ
294182010-10-13 Jakub Jelinek <jakub@redhat.com>
29419
29420 [BZ #3268]
29421 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
29422 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
29423 instead of dbl-64.
29424 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
29425 inlines.
29426 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
29427 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
29428 if one of x and y is very large and the other is subnormal.
29429 * sysdeps/s390/fpu/s_fmaf.c: New file.
29430 * sysdeps/s390/fpu/s_fma.c: New file.
29431 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
29432 * sysdeps/powerpc/fpu/s_fma.S: New file.
29433 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
29434 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
29435 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
29436
294372010-10-12 Jakub Jelinek <jakub@redhat.com>
29438
29439 [BZ #3268]
29440 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
29441 fma tests.
29442 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
29443 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
29444 * sysdeps/i386/i686/multiarch/s_fma.c: Include
29445 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
29446 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
29447 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
29448 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
29449
b833d51f
UD
294502010-10-12 Ulrich Drepper <drepper@redhat.com>
29451
29452 [BZ #12078]
29453 * posix/regcomp.c (parse_branch): One more memory leak plugged.
29454 * posix/bug-regex31.input: Add test case.
29455
1751705d
UD
294562010-10-11 Ulrich Drepper <drepper@gmail.com>
29457
e9b9cbf5
UD
29458 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
29459 * posix/bug-regex31.input: New file.
29460
29461 [BZ #12078]
29462 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
29463 (parse_sub_exp): Fix last change, use postorder.
29464
ef06edbe
UD
29465 * posix/bug-regex31.c: New file.
29466 * posix/Makefile: Add rules to build and run bug-regex31.
29467
a129c80d
UD
29468 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
29469
29470 [BZ #12078]
29471 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
29472
b76b818e
UD
29473 [BZ #12108]
29474 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
29475 to have entries in sys_siglist.
29476
1751705d
UD
29477 [BZ #12093]
29478 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
29479 be NULL.
29480
9ff8d36f
JJ
294812010-10-07 Jakub Jelinek <jakub@redhat.com>
29482
29483 [BZ #3268]
29484 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
29485 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
29486 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
29487 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
29488 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29489 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
29490 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
29491 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
29492 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
29493 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
29494 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
29495 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
29496 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29497 * math/ftestexcept.c (fetestexcept): Likewise.
29498 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
29499 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
29500 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
29501 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
29502 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
29503 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
29504 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29505
af325969
UD
295062010-10-11 Ulrich Drepper <drepper@gmail.com>
29507
c579b202 29508 [BZ #12107]
af325969
UD
29509 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
29510 newline.
29511
67a67b95
UD
295122010-10-06 Ulrich Drepper <drepper@gmail.com>
29513
29514 * string/bug-strstr1.c: New file.
29515 * string/Makefile: Add rules to build and run bug-strstr1.
29516
5fb308bc
EB
295172010-10-05 Eric Blake <eblake@redhat.com>
29518
29519 [BZ #12092]
29520 * string/str-two-way.h (two_way_long_needle): Always clear memory
29521 when skipping input due to the shift table.
29522
45db99c7
UD
295232010-10-03 Ulrich Drepper <drepper@gmail.com>
29524
3b111893
UD
29525 [BZ #12005]
29526 * malloc/mcheck.c: Handle large requests.
29527
45db99c7
UD
29528 [BZ #12077]
29529 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
29530 for strncmp and strncasecmp.
29531 * string/stratcliff.c: Add tests for strcmp and strncmp.
29532 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
29533
cf7a1eb8
NI
295342010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29535
29536 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
29537 __set_fpscr.
29538
6484ba5e
AJ
295392010-09-30 Andreas Jaeger <aj@suse.de>
29540
29541 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
29542 (CGROUP_SUPER_MAGIC): Define.
29543 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29544 Handle btrfs and cgroup file systems.
29545 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29546 Likewise.
29547
91c42559
LM
295482010-09-27 Luis Machado <luisgpm@br.ibm.com>
29549
29550 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
29551 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
29552
87a97932
AK
295532010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29554
29555 [BZ #12067]
29556 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
29557 trying to locate the ELF header.
29558
c21cc9bc
AS
295592010-09-27 Andreas Schwab <schwab@redhat.com>
29560
29561 [BZ #11611]
29562 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
29563 Mask out sign-bit copies when constructing f_fsid.
29564
315970f6
PB
295652010-09-24 Petr Baudis <pasky@suse.cz>
29566
29567 * debug/stack_chk_fail_local.c: Add missing licence exception.
29568 * debug/warning-nop.c: Likewise.
29569
1ac7a2c7
JM
295702010-09-15 Joseph Myers <joseph@codesourcery.com>
29571
29572 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
29573 implementing getdents64 using getdents syscall, set d_type if
29574 __ASSUME_GETDENTS32_D_TYPE.
29575
56801c50
AS
295762010-09-16 Andreas Schwab <schwab@redhat.com>
29577
29578 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
29579 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
29580
dda51327
UD
295812010-09-21 Ulrich Drepper <drepper@redhat.com>
29582
29583 [BZ #12037]
29584 * posix/unistd.h: Undo change of feature selection for ftruncate from
29585 2010-01-11.
29586
8ffcee4a
UD
295872010-09-20 Ulrich Drepper <drepper@redhat.com>
29588
a545ecd9 29589 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
29590 detection.
29591
e24f0a8b
AS
295922010-09-20 Andreas Schwab <schwab@redhat.com>
29593
29594 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
29595 fanotify_mark.
29596 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
29597
7291c56f
AS
295982010-09-14 Andreas Schwab <schwab@redhat.com>
29599
29600 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
29601 variables after CHECK_SP call.
29602 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
29603
bc5fb037
AS
296042010-09-13 Andreas Schwab <schwab@redhat.com>
29605 Ulrich Drepper <drepper@redhat.com>
29606
29607 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
29608 re-relocationg ld.so.
29609 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
29610 _dl_init_paths call.
29611 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
29612 here anymore.
29613
e66e7419
UD
296142010-09-14 Ulrich Drepper <drepper@redhat.com>
29615
29616 * resolv/res_init.c (__res_vinit): Count the default server we added.
29617
c044aa75
CLT
296182010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
29619 Ulrich Drepper <drepper@redhat.com>
29620
29621 [BZ #11968]
29622 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29623 (____longjmp_chk): Use %ebx for saving value across system call.
29624 Add unwind info.
29625
32cf4069
AS
296262010-09-06 Andreas Schwab <schwab@redhat.com>
29627
29628 * manual/Makefile: Don't mix pattern rules with normal rules.
29629
817328ee
AS
296302010-09-05 Andreas Schwab <schwab@linux-m68k.org>
29631
29632 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
29633 operation.
29634 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
29635 * libio/iofopncook.c (_IO_cookie_init): Likewise.
29636 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
29637 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
29638 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29639 Likewise.
29640
29fddf61
UD
296412010-09-04 Ulrich Drepper <drepper@redhat.com>
29642
29643 [BZ #11979]
29644 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
29645 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
29646
0959ffc9
UD
296472010-09-02 Ulrich Drepper <drepper@redhat.com>
29648
29649 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
29650 * sysdeps/x86_64/addmul_1.S: Likewise.
29651 * sysdeps/x86_64/lshift.S: Likewise.
29652 * sysdeps/x86_64/mul_1.S: Likewise.
29653 * sysdeps/x86_64/rshift.S: Likewise.
29654 * sysdeps/x86_64/sub_n.S: Likewise.
29655 * sysdeps/x86_64/submul_1.S: Likewise.
29656
ece29840
ST
296572010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
29658
0959ffc9
UD
29659 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
29660 Define __sched_param instead of SCHED_* and sched_param when
ece29840 29661 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 29662 * bits/sched.h [__need_schedparam]
ece29840 29663 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
29664 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
29665 (__defined_schedparam): Define to 1.
ece29840
ST
29666 (__sched_param): New structure, identical to sched_param.
29667 (__need_schedparam): Undefine.
29668
e53a31fe
MF
296692010-08-31 Mike Frysinger <vapier@gentoo.org>
29670
fdc0c10d
MF
29671 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
29672 (epoll_create1): Declare.
29673
e53a31fe
MF
29674 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
29675
a726d796
AS
296762010-08-31 Andreas Schwab <schwab@redhat.com>
29677
29678 [BZ #7066]
29679 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
29680 shifting retval into place.
29681
2f3e3dc7
UD
296822010-09-01 Ulrich Drepper <drepper@redhat.com>
29683
f2933da9
UD
29684 * nis/rpcsvc/nis.h: Update copyright notice.
29685 * nis/rpcsvc/nis.x: Likewise.
29686 * nis/rpcsvc/nis_callback.h: Likewise.
29687 * nis/rpcsvc/nis_callback.x: Likewise.
29688 * nis/rpcsvc/nis_object.x: Likewise.
29689 * nis/rpcsvc/nis_tags.h: Likewise.
29690 * nis/rpcsvc/yp.h: Likewise.
29691 * nis/rpcsvc/yp.x: Likewise.
29692 * nis/rpcsvc/ypupd.h: Likewise.
29693 * nis/yp_xdr.c: Likewise.
29694 * nis/ypupdate_xdr.c: Likewise.
29695
2f3e3dc7
UD
29696 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
29697 mainly the body of pmap_getport. Add parameters to specify timeouts.
29698 (pmap_getport): Use __libc_rpc_getport.
29699 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
29700 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
29701 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
29702
f3dcc2f9
AS
297032010-08-31 Andreas Schwab <schwab@linux-m68k.org>
29704
29705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
29706 fanotify_mark.
29707
6d34eb5b
RM
297082010-08-27 Roland McGrath <roland@redhat.com>
29709
29710 * sysdeps/i386/i686/multiarch/Makefile
29711 (CFLAGS-varshift.c): New variable.
29712
9ea3de11
UD
297132010-08-27 Ulrich Drepper <drepper@redhat.com>
29714
c96d23fc
UD
29715 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
29716 * sysdeps/i386/i686/multiarch/varshift.c: New file.
29717
9ea3de11
UD
29718 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
29719
29720 * sysdeps/x86_64/strlen.S: Minimal code improvement.
29721
623aac7f
L
297222010-08-26 H.J. Lu <hongjiu.lu@intel.com>
29723
29724 * sysdeps/x86_64/strlen.S: Unroll the loop.
29725 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29726 strlen-sse2 strlen-sse2-bsf.
29727 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
29728 __strlen_no_bsf if bit_Slow_BSF is set.
29729 (__strlen_sse42): Removed.
29730 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
29731 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
29732
8b2b7715
RM
297332010-08-25 Roland McGrath <roland@redhat.com>
29734
29735 * sysdeps/x86_64/multiarch/varshift.S: File removed.
29736 * sysdeps/x86_64/multiarch/varshift.c: New file.
29737 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
29738 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
29739 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
29740 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29741
e73015f2
L
297422010-08-25 H.J. Lu <hongjiu.lu@intel.com>
29743
29744 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29745 strlen-sse2 strlen-sse2-bsf.
29746 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
29747 __strlen_sse2_bsf if bit_Slow_BSF is unset.
29748 (__strlen_sse2): Removed.
29749 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
29750 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
29751 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29752 bit_Slow_BSF for Atom.
29753 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
29754 (index_Slow_BSF): Define.
29755 (HAS_SLOW_BSF): Define.
29756
df24a73e
UD
297572010-08-25 Ulrich Drepper <drepper@redhat.com>
29758
29759 [BZ #10851]
29760 * resolv/res_init.c (__res_vinit): When no server address at all
29761 is given default to loopback.
29762
f2ac4868
RM
297632010-08-24 Roland McGrath <roland@redhat.com>
29764
09055553
RM
29765 * configure.in: Remove config-name.h generation.
29766 * configure: Regenerated.
29767 * config-name.in: File removed.
29768 * scripts/config-uname.sh: New file.
29769 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
29770 ($(objdir)config-name.h): New target.
29771
f2ac4868
RM
29772 * sunrpc/rpc_parse.h: Avoid nested comment.
29773
73f27d5e
RH
297742010-08-24 Richard Henderson <rth@redhat.com>
29775 Ulrich Drepper <drepper@redhat.com>
29776 H.J. Lu <hongjiu.lu@intel.com>
29777
29778 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
29779 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
29780 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
29781 Replace _mm_srli_si128 with __m128i_shift_right. Replace
29782 _mm_alignr_epi8 with _mm_loadu_si128.
29783 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
29784 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
29785 (__m128i_shift_right): Removed.
29786 * sysdeps/i386/i686/multiarch/varshift.h: New file.
29787 * sysdeps/i386/i686/multiarch/varshift.S: New file.
29788 * sysdeps/x86_64/multiarch/varshift.h: New file.
29789 * sysdeps/x86_64/multiarch/varshift.S: New file.
29790
84b9230c
MF
297912010-08-21 Mike Frysinger <vapier@gentoo.org>
29792
29793 * configure.in: Move assembler checks to before sysdep dir checking.
29794
9bbd0ddc
PB
297952010-08-20 Petr Baudis <pasky@suse.cz>
29796
29797 * LICENSES: Sync the sunrpc license.
29798
9da4bb31
UD
297992010-08-19 Ulrich Drepper <drepper@redhat.com>
29800
a7ab6ec8
UD
29801 * sunrpc/auth_des.c: Update copyright notice once again.
29802 * sunrpc/auth_none.c: Likewise.
29803 * sunrpc/auth_unix.c: Likewise.
29804 * sunrpc/authdes_prot.c: Likewise.
29805 * sunrpc/authuxprot.c: Likewise.
29806 * sunrpc/bindrsvprt.c: Likewise.
29807 * sunrpc/clnt_gen.c: Likewise.
29808 * sunrpc/clnt_perr.c: Likewise.
29809 * sunrpc/clnt_raw.c: Likewise.
29810 * sunrpc/clnt_simp.c: Likewise.
29811 * sunrpc/clnt_tcp.c: Likewise.
29812 * sunrpc/clnt_udp.c: Likewise.
29813 * sunrpc/clnt_unix.c: Likewise.
29814 * sunrpc/des_crypt.c: Likewise.
29815 * sunrpc/des_soft.c: Likewise.
29816 * sunrpc/get_myaddr.c: Likewise.
29817 * sunrpc/getrpcport.c: Likewise.
29818 * sunrpc/key_call.c: Likewise.
29819 * sunrpc/key_prot.c: Likewise.
29820 * sunrpc/openchild.c: Likewise.
29821 * sunrpc/pm_getmaps.c: Likewise.
29822 * sunrpc/pm_getport.c: Likewise.
29823 * sunrpc/pmap_clnt.c: Likewise.
29824 * sunrpc/pmap_prot.c: Likewise.
29825 * sunrpc/pmap_prot2.c: Likewise.
29826 * sunrpc/pmap_rmt.c: Likewise.
29827 * sunrpc/rpc/auth.h: Likewise.
29828 * sunrpc/rpc/auth_unix.h: Likewise.
29829 * sunrpc/rpc/clnt.h: Likewise.
29830 * sunrpc/rpc/des_crypt.h: Likewise.
29831 * sunrpc/rpc/key_prot.h: Likewise.
29832 * sunrpc/rpc/netdb.h: Likewise.
29833 * sunrpc/rpc/pmap_clnt.h: Likewise.
29834 * sunrpc/rpc/pmap_prot.h: Likewise.
29835 * sunrpc/rpc/pmap_rmt.h: Likewise.
29836 * sunrpc/rpc/rpc.h: Likewise.
29837 * sunrpc/rpc/rpc_des.h: Likewise.
29838 * sunrpc/rpc/rpc_msg.h: Likewise.
29839 * sunrpc/rpc/svc.h: Likewise.
29840 * sunrpc/rpc/svc_auth.h: Likewise.
29841 * sunrpc/rpc/types.h: Likewise.
29842 * sunrpc/rpc/xdr.h: Likewise.
29843 * sunrpc/rpc_clntout.c: Likewise.
29844 * sunrpc/rpc_cmsg.c: Likewise.
29845 * sunrpc/rpc_common.c: Likewise.
29846 * sunrpc/rpc_cout.c: Likewise.
29847 * sunrpc/rpc_dtable.c: Likewise.
29848 * sunrpc/rpc_hout.c: Likewise.
29849 * sunrpc/rpc_main.c: Likewise.
29850 * sunrpc/rpc_parse.c: Likewise.
29851 * sunrpc/rpc_parse.h: Likewise.
29852 * sunrpc/rpc_prot.c: Likewise.
29853 * sunrpc/rpc_sample.c: Likewise.
29854 * sunrpc/rpc_scan.c: Likewise.
29855 * sunrpc/rpc_scan.h: Likewise.
29856 * sunrpc/rpc_svcout.c: Likewise.
29857 * sunrpc/rpc_tblout.c: Likewise.
29858 * sunrpc/rpc_util.c: Likewise.
29859 * sunrpc/rpc_util.h: Likewise.
29860 * sunrpc/rpcinfo.c: Likewise.
29861 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
29862 * sunrpc/rpcsvc/key_prot.x: Likewise.
29863 * sunrpc/rpcsvc/klm_prot.x: Likewise.
29864 * sunrpc/rpcsvc/mount.x: Likewise.
29865 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
29866 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
29867 * sunrpc/rpcsvc/rex.x: Likewise.
29868 * sunrpc/rpcsvc/rstat.x: Likewise.
29869 * sunrpc/rpcsvc/rusers.x: Likewise.
29870 * sunrpc/rpcsvc/sm_inter.x: Likewise.
29871 * sunrpc/rpcsvc/spray.x: Likewise.
29872 * sunrpc/rpcsvc/yppasswd.x: Likewise.
29873 * sunrpc/rtime.c: Likewise.
29874 * sunrpc/svc.c: Likewise.
29875 * sunrpc/svc_auth.c: Likewise.
29876 * sunrpc/svc_authux.c: Likewise.
29877 * sunrpc/svc_raw.c: Likewise.
29878 * sunrpc/svc_run.c: Likewise.
29879 * sunrpc/svc_simple.c: Likewise.
29880 * sunrpc/svc_tcp.c: Likewise.
29881 * sunrpc/svc_udp.c: Likewise.
29882 * sunrpc/svc_unix.c: Likewise.
29883 * sunrpc/svcauth_des.c: Likewise.
29884 * sunrpc/xcrypt.c: Likewise.
29885 * sunrpc/xdr.c: Likewise.
29886 * sunrpc/xdr_array.c: Likewise.
29887 * sunrpc/xdr_float.c: Likewise.
29888 * sunrpc/xdr_mem.c: Likewise.
29889 * sunrpc/xdr_rec.c: Likewise.
29890 * sunrpc/xdr_ref.c: Likewise.
29891 * sunrpc/xdr_sizeof.c: Likewise.
29892 * sunrpc/xdr_stdio.c: Likewise.
29893
9da4bb31
UD
29894 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
29895 handling.
29896
bdaa77bc
AS
298972010-08-19 Andreas Schwab <schwab@redhat.com>
29898
29899 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
29900
fe2f79db
LM
299012010-08-19 Luis Machado <luisgpm@br.ibm.com>
29902
29903 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
29904 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
29905 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
29906 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
29907 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
29908 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
29909 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
29910 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
29911 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
29912 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
29913 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
29914 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
29915 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
29916 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
29917
b9b42ee0
AB
299182010-07-26 Anton Blanchard <anton@samba.org>
29919
29920 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
29921 * malloc/arena.c (heap_trim): Likewise.
29922
1c06ba31
UD
299232010-08-16 Ulrich Drepper <drepper@redhat.com>
29924
29925 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
29926 here. Not...
29927 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
29928 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
29929
f8392f40
L
299302010-08-12 H.J. Lu <hongjiu.lu@intel.com>
29931
29932 * sysdeps/i386/elf/Makefile: New file.
29933
3162f12e
AS
299342010-08-14 Andreas Schwab <schwab@linux-m68k.org>
29935
29936 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
29937 from fanotify_init.
29938 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
29939 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
29940
28c90b2c
UD
299412010-08-15 Ulrich Drepper <drepper@redhat.com>
29942
29943 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
29944 of strncasecmp_l.
1feccb6c 29945 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 29946
ca6bb004
UD
299472010-08-14 Ulrich Drepper <drepper@redhat.com>
29948
e9f82e0d
UD
29949 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
29950 strncase_l-nonascii.
29951 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
29952 Add strncase_l-ssse3.
29953 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
29954 * sysdeps/x86_64/strcmp.S: Likewise.
29955 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
29956 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
29957 * sysdeps/x86_64/strncase.S: New file.
29958 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
29959 * sysdeps/x86_64/strncase_l.S: New file.
29960 * string/Makefile (strop-tests): Add strncasecmp.
29961 * string/test-strncasecmp.c: New file.
29962
29963 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
29964 warning.
29965
ca6bb004
UD
29966 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
29967 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
29968
052fa7b3
AS
299692010-08-14 Andreas Schwab <schwab@linux-m68k.org>
29970
29971 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
29972
962dba78
UD
299732010-08-12 Ulrich Drepper <drepper@redhat.com>
29974
29975 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
29976 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
29977 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
29978
bebff237
AM
299792010-05-01 Alan Modra <amodra@gmail.com>
29980
29981 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
29982 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
29983 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
29984 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
29985 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
29986 tidying. Don't tail-call __sigjmp_save for static lib.
29987 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
29988 save location.
29989 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
29990 (CALL_MCOUNT): Add eh info, and nop after bl.
29991 (TAIL_CALL_SYSCALL_ERROR): New macro.
29992 (PSEUDO_RET): Use it.
29993 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29994 Correct save location of integer regs and cr.
29995 (_dl_profile_resolve): Correct cr save location. Delete nops
29996 after bl when SHARED. Reduce cfi size a little by better
29997 placement of cfi directives.
29998 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
29999 make a stack frame. Instead use parm save area as a temp.
30000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
30001 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
30002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30003 Don't make a stack frame for parent, use parm save area.
30004 Increase child stack frame to 112 bytes. Don't save unused reg,
30005 and adjust reg usage. Set up cfi on error recovery and
30006 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
30007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30008 (__makecontext): Add dummy nop after jump to exit.
30009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
30010 Use correct parm save area and cr save, reduce stack frame.
30011 Correct cfi for possible PSEUDO_RET frame setup.
30012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
30013 Branch to local label emitted by PSEUDO_RET rather than
30014 __syscall_error.
30015
02637374
AS
300162010-08-12 Andreas Schwab <schwab@redhat.com>
30017
30018 [BZ #11904]
30019 * locale/programs/locale.c (print_assignment): New function.
30020 (show_locale_vars): Use it.
30021
c3e2f19b
UD
300222010-08-11 Ulrich Drepper <drepper@redhat.com>
30023
3cdaa6ad
UD
30024 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
30025 field.
30026 (struct statfs64): Likewise.
30027 (_STATFS_F_FLAGS): Define.
30028 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
30029 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30030 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
30031 (ST_VALID): Define locally.
30032 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
30033 __statvfs_getflags, use the provided value.
30034 * sysdeps/unix/sysv/linux/kernel-features.h: Define
30035 __ASSUME_STATFS_F_FLAGS.
30036
754f7da3
UD
30037 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
30038
10b3bedc
UD
30039 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
30040 Add sys/fanotify.h.
30041 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
30042 fanotify_mask for GLIBC_2.13.
30043 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
30044 fanotify_init and fanotify_mark.
30045 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30046 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
30047
c08fb0d7
UD
30048 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
30049 Add prlimit.
30050 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
30051 prlimit64 for GLIBC_2.13.
30052 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
30053 prlimit64.
30054 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
30055 syscall.
30056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
30057 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30058 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
30059 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
30060 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
30061 add prlimit alias.
30062 * sysdeps/unix/sysv/linux/prlimit.c: New file.
30063
15bac72b
UD
30064 [BZ #11903]
30065 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
30066 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
30067
c3e2f19b
UD
30068 * nss/Makefile: Add rules to build and run tst-nss-test1.
30069 * shlib-versions: Add entry for libnss_test1.
30070 * nss/nss_test1.c: New file.
30071 * nss/tst-nss-test1.c: New file.
30072
30073 * nss/nsswitch.c (__nss_database_custom): Define new variable.
30074 (__nss_configure_lookup): Set appropriate entry in
30075 __nss_configure_lookup to true.
30076 * nss/nsswitch.h: Define enum with indeces of databases in
30077 databases and __nss_database_custom arrays. Declare
30078 __nss_database_custom.
30079 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
30080 to avoid using nscd when custom rules are installed.
30081 * nss/getXXbyYY_r.c: Likewise.
30082 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30083
30084 * nss/nss_files/files-parse.c: Whitespace fixes.
30085
f15ce4d8
UD
300862010-08-09 Ulrich Drepper <drepper@redhat.com>
30087
30088 [BZ #11883]
30089 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
30090 * posix/fnmatch_loop.c: Likewise.
30091
d22e4cc9
AK
300922010-07-17 Andi Kleen <ak@linux.intel.com>
30093
30094 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
30095 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
30096 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
30097 * Versions.def [GLIBC_2.13]: Add.
30098
805bc17d
UD
300992010-08-06 Ulrich Drepper <drepper@redhat.com>
30100
30101 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30102 Also fail if tpwd after pwuid call is NULL.
30103
5a42321d
ST
301042010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
30105
30106 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
30107 when converting to ms.
30108
fd3ebeda
ST
301092010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30110
30111 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
30112 EOPNOTSUPP errors with ENOTTY.
30113 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
30114 EOPNOTSUPP errors with ENOTTY.
30115
73507d3a
UD
301162010-07-31 Ulrich Drepper <drepper@redhat.com>
30117
30118 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30119 Add strcasecmp_l-ssse3.
30120 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
30121 strcasecmp.
30122 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
30123 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
30124 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
30125
fe36dd02
UD
301262010-07-30 Ulrich Drepper <drepper@redhat.com>
30127
66f6765a
UD
30128 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
30129
42e08a54
UD
30130 * string/Makefile (strop-tests): Add strcasecmp.
30131 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30132 strcasecmp_l-nonascii.
30133 (gen-as-const-headers): Add locale-defines.sym.
30134 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
30135 * sysdeps/x86_64/strcasecmp.S: New file.
30136 * sysdeps/x86_64/strcasecmp_l.S: New file.
30137 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
30138 * sysdeps/x86_64/locale-defines.sym: New file.
30139 * string/test-strcasecmp.c: New file.
30140
fe36dd02
UD
30141 * string/test-strcasestr.c: Test both ends of the range of characters.
30142 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
30143
48cbc0d6
RM
301442010-07-29 Roland McGrath <roland@redhat.com>
30145
76e6d6bc 30146 [BZ #11856]
48cbc0d6
RM
30147 * manual/locale.texi (Yes-or-No Questions): Fix example code.
30148
880113d9
UD
301492010-07-27 Ulrich Drepper <drepper@redhat.com>
30150
30151 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
30152 for ld.so.
30153
deb9cabb
AS
301542010-07-27 Andreas Schwab <schwab@redhat.com>
30155
30156 * manual/memory.texi (Malloc Tunable Parameters): Document
30157 M_PERTURB.
30158
1c7570ff
RM
301592010-07-26 Roland McGrath <roland@redhat.com>
30160
30161 [BZ #11840]
30162 * configure.in (-fgnu89-inline check): Set and substitute
30163 gnu89_inline, not libc_cv_gnu89_inline.
30164 * configure: Regenerated.
30165 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
30166
24fb0f88
UD
301672010-07-26 Ulrich Drepper <drepper@redhat.com>
30168
30169 * string/test-strnlen.c: New file.
30170 * string/Makefile (strop-tests): Add strnlen.
30171 * string/tester.c (test_strnlen): Add a few more test cases.
30172 * string/tst-strlen.c: Better error reporting.
30173
30174 * sysdeps/x86_64/strnlen.S: New file.
30175
8e96b93a
UD
301762010-07-24 Ulrich Drepper <drepper@redhat.com>
30177
30178 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
30179 lower-latency instructions.
30180
dbc676d4
UD
301812010-07-23 Ulrich Drepper <drepper@redhat.com>
30182
30183 * string/test-strcasestr.c: New file.
30184 * string/test-strstr.c: New file.
30185 * string/Makefile (strop-tests): Add strstr and strcasestr.
30186 * string/str-two-way.h: Don't undefine MAX.
30187 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
30188
f6a31e0e
AS
301892010-07-21 Andreas Schwab <schwab@redhat.com>
30190
30191 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30192 strcasestr-nonascii.
30193 (CFLAGS-strcasestr-nonascii.c): Define.
30194 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
30195 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
30196 Remove unused attribute.
30197
5dbc3b6c
RM
301982010-07-20 Roland McGrath <roland@redhat.com>
30199
30200 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
30201 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
30202 ld.so.cache was broken. With it, there is no way to disable dsocaps
30203 like LD_HWCAP_MASK can disable hwcaps.
30204
23d101d8
EPM
302052010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30206
30207 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
30208
cc9f2e47
UD
302092010-07-16 Ulrich Drepper <drepper@redhat.com>
30210
30211 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
30212 call in strcasestr.
30213 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
30214 __strcasestr_sse42_nonascii.
30215 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
30216 strcasestr-nonascii.c.
30217 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
30218
77c1b069
LM
302192010-06-15 Luis Machado <luisgpm@br.ibm.com>
30220
30221 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
30222 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
30223 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
30224 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
30225
440566c3
UD
302262010-07-09 Ulrich Drepper <drepper@redhat.com>
30227
30228 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
30229 fcntl.
30230
5be9d05d
AS
302312010-07-06 Andreas Schwab <schwab@redhat.com>
30232
c30b7ee2 30233 [BZ #11577]
5be9d05d
AS
30234 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
30235 dl_signal_cerror.
30236
8a492a67
UD
302372010-07-06 Ulrich Drepper <drepper@redhat.com>
30238
30239 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
30240 _PC_PIPE_BUF using F_GETPIPE_SZ.
30241
713df3d5
RM
302422010-07-05 Roland McGrath <roland@redhat.com>
30243
30244 * manual/arith.texi (Rounding Functions): Fix rint description
30245 implicit in round description.
30246
702e8f14
UD
302472010-07-02 Ulrich Drepper <drepper@redhat.com>
30248
30249 * elf/Makefile: Fix linking for a few tests to make recent linker
30250 happy.
30251
52ed8be9
AS
302522010-06-30 Andreas Schwab <schwab@redhat.com>
30253
30254 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30255 $(common-objpfx)libc_nonshared.a.
30256
f47c9a11
LM
302572010-06-21 Luis Machado <luisgpm@br.ibm.com>
30258
30259 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
30260 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
30261 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30262 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30263 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
30264 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
30265 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30266 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
30268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
30269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
30270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
30272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
30274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
30275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
30276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
30277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
30279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
30281 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
30282 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
30283 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
30284 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
30285 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
30286 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
30287 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
30288 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
30289 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
30290 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
30291 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
30292 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
30293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
30294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
30295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
30296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
30297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
30298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
30299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
30300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
30301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
30302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
30303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
30304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
30305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
30306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
30307
6fb8cbcb
L
303082010-06-25 H.J. Lu <hongjiu.lu@intel.com>
30309
30310 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
30311 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
30312 * string/memmove.c (memmove): Renamed to ...
30313 (MEMMOVE): ...this. Default to memmove.
30314 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
30315 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
30316 (END_CHK): Define.
30317 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30318 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
30319 mempcpy-ssse3-back memmove-ssse3-back.
30320 * sysdeps/x86_64/multiarch/bcopy.S: New file .
30321 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
30322 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
30323 * sysdeps/x86_64/multiarch/memcpy.S: New file.
30324 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
30325 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
30326 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
30327 * sysdeps/x86_64/multiarch/memmove.c: New file.
30328 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
30329 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
30330 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
30331 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
30332 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
30333 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
30334 Define.
30335 (index_Fast_Copy_Backward): Define.
30336 (HAS_ARCH_FEATURE): Define.
30337 (HAS_FAST_REP_STRING): Define.
30338 (HAS_FAST_COPY_BACKWARD): Define.
30339
4e733bac 303402010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
30341
30342 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30343 Restore proper fallback handling.
30344
63c4ed22
UD
303452010-06-19 Ulrich Drepper <drepper@redhat.com>
30346
ac2b484c
UD
30347 [BZ #11701]
30348 * posix/group_member.c (__group_member): Correct checking loop.
30349
63c4ed22
UD
30350 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
30351 OOM in getpwuid_r correctly. Return error number when the caller
30352 should return, otherwise -1.
30353 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
30354 call returning > 0 value.
30355 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
30356
765ade4b
AS
303572010-06-07 Andreas Schwab <schwab@redhat.com>
30358
30359 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
30360 libc_nonshared.a from targets in modules-names.
30361
80da2e09
KS
303622010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
30363
30364 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
30365 requires it.
30366
158db122
LM
303672010-06-10 Luis Machado <luisgpm@br.ibm.com>
30368
30369 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
30370 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
30371 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
30372 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
30373
caa78cf8
AS
303742010-06-02 Andreas Schwab <schwab@redhat.com>
30375
30376 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
30377
b2ef2c01
UD
303782010-06-14 Ulrich Drepper <drepper@redhat.com>
30379
30380 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
30381 and F_GETPIPE_SZ.
30382 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30383 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30384 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30385 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30386 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30387 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
30388
fbd643b6
RM
303892010-06-14 Roland McGrath <roland@redhat.com>
30390
30391 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
30392
f32f2869
JJ
303932010-06-07 Jakub Jelinek <jakub@redhat.com>
30394
30395 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
30396 __REDIRECT followed by __THROW.
30397 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
30398 * posix/getopt.h (getopt): Likewise.
30399
2a50c078
EPM
304002010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30401
30402 * hurd/lookup-at.c (__file_name_lookup_at): Accept
30403 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
30404 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
30405 in AT_FLAGS.
30406 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
30407 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
30408
eb5ad2eb
LM
304092010-05-28 Luis Machado <luisgpm@br.ibm.com>
30410
30411 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
30412
3c88fe1e
L
304132010-05-26 H.J. Lu <hongjiu.lu@intel.com>
30414
30415 [BZ #11640]
30416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30417 Properly check family and model.
30418
d2f73151
TY
304192010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
30420
30421 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
30422
ebd2e13d
LM
304232010-05-24 Luis Machado <luisgpm@br.ibm.com>
30424
30425 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
30426
b32b8b45
UD
304272010-05-21 Ulrich Drepper <drepper@redhat.com>
30428
30429 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
30430 symbol reference.
30431
9acbe24d
AS
304322010-05-19 Andreas Schwab <schwab@redhat.com>
30433
30434 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
30435 symbol reference.
30436
f0ccf6ea
AS
304372010-05-21 Andreas Schwab <schwab@redhat.com>
30438
3d04ff3a
AS
30439 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
30440 and internal_recvmmsg.
30441 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
30442 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
30443 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
30444 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
30445
f0ccf6ea
AS
30446 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
30447 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30448 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30449
5b08ac57
AS
304502010-05-20 Andreas Schwab <schwab@redhat.com>
30451
30452 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
30453
4828935d
LM
304542010-05-17 Luis Machado <luisgpm@br.ibm.com>
30455
30456 POWER7 optimizations.
30457 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
30458 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
30459
373d545e
UD
304602010-05-19 Ulrich Drepper <drepper@redhat.com>
30461
30462 * version.h: Update for 2.13 development version.
30463
21a2b1ae
AS
304642010-05-12 Andrew Stubbs <ams@codesourcery.com>
30465
30466 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
30467 exceptions. Return 0.
30468
3f7dcb2b
RM
304692010-05-07 Roland McGrath <roland@redhat.com>
30470
30471 * elf/ldconfig.c (main): Add a const.
30472
5f24d53a 304732010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 30474
a160f8d8
UD
30475 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
30476 (args_options): Add no-idn option.
30477 (ahosts_keys_int): Add idn_flags to ai_flags.
30478 (parse_option): Handle 'i' option to clear idn_flags.
30479
5f24d53a
UD
30480 * malloc/malloc.c (_int_free): Possible race in the most recently
30481 added check. Only act on the data if no current modification
30482 happened.
265bb1ce
UD
30483
30484See ChangeLog.17 for earlier changes.