]> sourceware.org Git - glibc.git/blame - ChangeLog
Add bug 14894 to NEWS.
[glibc.git] / ChangeLog
CommitLineData
4f8dfe27
JM
12013-05-24 Joseph Myers <joseph@codesourcery.com>
2
3 * math/libm-test.inc (finite_test_data): Remove.
4 (finite_test): Run tests from isfinite_test_data.
5 (gamma_test_data): Remove.
6 (gamma_test): Run tests from lgamma_test_data.
7 * sysdeps/i386/fpu/libm-test-ulps: Update.
8 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9
d116b7c4
AZ
102013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11
12 * manual/platform.texi: Add PowerPC PPR function set documentation.
13 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14 implementation.
15
e96e3767
CD
162013-05-24 Carlos O'Donell <carlos@redhat.com>
17
18 * math/libm-test.inc (MAX_EXP): Define.
19 (ULPDIFF): Define.
20 (ulp): New function.
21 (check_float_internal): Use ULPDIFF.
22 (cpow_test): Disable failing test.
23 (check_ulp): Test ulp() implemetnation.
24 (main): Call check_ulp before starting tests.
25
b679a606
JM
262013-05-24 Joseph Myers <joseph@codesourcery.com>
27
e8bdba36
JM
28 * math/gen-libm-test.pl (generate_testfile): Do not handle
29 START_DATA and END_DATA.
30 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
31 END_DATA.
32 (acos_tonearest_test_data): Likewise.
33 (acos_towardzero_test_data): Likewise.
34 (acos_downward_test_data): Likewise.
35 (acos_upward_test_data): Likewise.
36 (acosh_test_data): Likewise.
37 (asin_test_data): Likewise.
38 (asin_tonearest_test_data): Likewise.
39 (asin_towardzero_test_data): Likewise.
40 (asin_downward_test_data): Likewise.
41 (asin_upward_test_data): Likewise.
42 (asinh_test_data): Likewise.
43 (atan_test_data): Likewise.
44 (atanh_test_data): Likewise.
45 (atan2_test_data): Likewise.
46 (cabs_test_data): Likewise.
47 (cacos_test_data): Likewise.
48 (cacosh_test_data): Likewise.
49 (carg_test_data): Likewise.
50 (casin_test_data): Likewise.
51 (casinh_test_data): Likewise.
52 (catan_test_data): Likewise.
53 (catanh_test_data): Likewise.
54 (cbrt_test_data): Likewise.
55 (ccos_test_data): Likewise.
56 (ccosh_test_data): Likewise.
57 (ceil_test_data): Likewise.
58 (cexp_test_data): Likewise.
59 (cimag_test_data): Likewise.
60 (clog_test_data): Likewise.
61 (clog10_test_data): Likewise.
62 (conj_test_data): Likewise.
63 (copysign_test_data): Likewise.
64 (cos_test_data): Likewise.
65 (cos_tonearest_test_data): Likewise.
66 (cos_towardzero_test_data): Likewise.
67 (cos_downward_test_data): Likewise.
68 (cos_upward_test_data): Likewise.
69 (cosh_test_data): Likewise.
70 (cosh_tonearest_test_data): Likewise.
71 (cosh_towardzero_test_data): Likewise.
72 (cosh_downward_test_data): Likewise.
73 (cosh_upward_test_data): Likewise.
74 (cpow_test_data): Likewise.
75 (cproj_test_data): Likewise.
76 (creal_test_data): Likewise.
77 (csin_test_data): Likewise.
78 (csinh_test_data): Likewise.
79 (csqrt_test_data): Likewise.
80 (ctan_test_data): Likewise.
81 (ctan_tonearest_test_data): Likewise.
82 (ctan_towardzero_test_data): Likewise.
83 (ctan_downward_test_data): Likewise.
84 (ctan_upward_test_data): Likewise.
85 (ctanh_test_data): Likewise.
86 (ctanh_tonearest_test_data): Likewise.
87 (ctanh_towardzero_test_data): Likewise.
88 (ctanh_downward_test_data): Likewise.
89 (ctanh_upward_test_data): Likewise.
90 (erf_test_data): Likewise.
91 (erfc_test_data): Likewise.
92 (exp_test_data): Likewise.
93 (exp_tonearest_test_data): Likewise.
94 (exp_towardzero_test_data): Likewise.
95 (exp_downward_test_data): Likewise.
96 (exp_upward_test_data): Likewise.
97 (exp10_test_data): Likewise.
98 (exp2_test_data): Likewise.
99 (expm1_test_data): Likewise.
100 (fabs_test_data): Likewise.
101 (fdim_test_data): Likewise.
102 (finite_test_data): Likewise.
103 (floor_test_data): Likewise.
104 (fma_test_data): Likewise.
105 (fma_towardzero_test_data): Likewise.
106 (fma_downward_test_data): Likewise.
107 (fma_upward_test_data): Likewise.
108 (fmax_test_data): Likewise.
109 (fmin_test_data): Likewise.
110 (fmod_test_data): Likewise.
111 (fpclassify_test_data): Likewise.
112 (frexp_test_data): Likewise.
113 (gamma_test_data): Likewise.
114 (hypot_test_data): Likewise.
115 (ilogb_test_data): Likewise.
116 (isfinite_test_data): Likewise.
117 (isgreater_test_data): Likewise.
118 (isgreaterequal_test_data): Likewise.
119 (isinf_test_data): Likewise.
120 (isless_test_data): Likewise.
121 (islessequal_test_data): Likewise.
122 (islessgreater_test_data): Likewise.
123 (isnan_test_data): Likewise.
124 (isnormal_test_data): Likewise.
125 (issignaling_test_data): Likewise.
126 (isunordered_test_data): Likewise.
127 (j0_test_data): Likewise.
128 (j1_test_data): Likewise.
129 (jn_test_data): Likewise.
130 (ldexp_test_data): Likewise.
131 (lgamma_test_data): Likewise.
132 (lrint_test_data): Likewise.
133 (lrint_tonearest_test_data): Likewise.
134 (lrint_towardzero_test_data): Likewise.
135 (lrint_downward_test_data): Likewise.
136 (lrint_upward_test_data): Likewise.
137 (llrint_test_data): Likewise.
138 (llrint_tonearest_test_data): Likewise.
139 (llrint_towardzero_test_data): Likewise.
140 (llrint_downward_test_data): Likewise.
141 (llrint_upward_test_data): Likewise.
142 (log_test_data): Likewise.
143 (log10_test_data): Likewise.
144 (log1p_test_data): Likewise.
145 (log2_test_data): Likewise.
146 (logb_test_data): Likewise.
147 (logb_downward_test_data): Likewise.
148 (lround_test_data): Likewise.
149 (llround_test_data): Likewise.
150 (modf_test_data): Likewise.
151 (nearbyint_test_data): Likewise.
152 (nextafter_test_data): Likewise.
153 (nexttoward_test_data): Likewise.
154 (pow_test_data): Likewise.
155 (pow_tonearest_test_data): Likewise.
156 (pow_towardzero_test_data): Likewise.
157 (pow_downward_test_data): Likewise.
158 (pow_upward_test_data): Likewise.
159 (remainder_test_data): Likewise.
160 (remainder_tonearest_test_data): Likewise.
161 (remainder_towardzero_test_data): Likewise.
162 (remainder_downward_test_data): Likewise.
163 (remainder_upward_test_data): Likewise.
164 (remquo_test_data): Likewise.
165 (rint_test_data): Likewise.
166 (rint_tonearest_test_data): Likewise.
167 (rint_towardzero_test_data): Likewise.
168 (rint_downward_test_data): Likewise.
169 (rint_upward_test_data): Likewise.
170 (round_test_data): Likewise.
171 (scalb_test_data): Likewise.
172 (scalbn_test_data): Likewise.
173 (scalbln_test_data): Likewise.
174 (signbit_test_data): Likewise.
175 (sin_test_data): Likewise.
176 (sin_tonearest_test_data): Likewise.
177 (sin_towardzero_test_data): Likewise.
178 (sin_downward_test_data): Likewise.
179 (sin_upward_test_data): Likewise.
180 (sincos_test_data): Likewise.
181 (sinh_test_data): Likewise.
182 (sinh_tonearest_test_data): Likewise.
183 (sinh_towardzero_test_data): Likewise.
184 (sinh_downward_test_data): Likewise.
185 (sinh_upward_test_data): Likewise.
186 (sqrt_test_data): Likewise.
187 (tan_test_data): Likewise.
188 (tan_tonearest_test_data): Likewise.
189 (tan_towardzero_test_data): Likewise.
190 (tan_downward_test_data): Likewise.
191 (tan_upward_test_data): Likewise.
192 (tanh_test_data): Likewise.
193 (tgamma_test_data): Likewise.
194 (trunc_test_data): Likewise.
195 (y0_test_data): Likewise.
196 (y1_test_data): Likewise.
197 (yn_test_data): Likewise.
198 (significand_test_data): Likewise.
199
b679a606
JM
200 * math/gen-libm-test.pl (@functions): Remove variable.
201 (generate_testfile): Don't handle START and END lines.
202 * math/libm-test.inc (START): New macro.
203 (END): Likewise.
204 (END_COMPLEX): Likewise.
205 (acos_test): Use END macro without arguments.
206 (acos_test_tonearest): Likewise.
207 (acos_test_towardzero): Likewise.
208 (acos_test_downward): Likewise.
209 (acos_test_upward): Likewise.
210 (acosh_test): Likewise.
211 (asin_test): Likewise.
212 (asin_test_tonearest): Likewise.
213 (asin_test_towardzero): Likewise.
214 (asin_test_downward): Likewise.
215 (asin_test_upward): Likewise.
216 (asinh_test): Likewise.
217 (atan_test): Likewise.
218 (atanh_test): Likewise.
219 (atan2_test): Likewise.
220 (cabs_test): Likewise.
221 (cacos_test): Use END_COMPLEX macro without arguments.
222 (cacosh_test): Likewise.
223 (carg_test): Use END macro without arguments.
224 (casin_test): Use END_COMPLEX macro without arguments.
225 (casinh_test): Likewise.
226 (catan_test): Likewise.
227 (catanh_test): Likewise.
228 (cbrt_test): Use END macro without arguments.
229 (ccos_test): Use END_COMPLEX macro without arguments.
230 (ccosh_test): Likewise.
231 (ceil_test): Use END macro without arguments.
232 (cexp_test): Use END_COMPLEX macro without arguments.
233 (cimag_test): Use END macro without arguments.
234 (clog_test): Use END_COMPLEX macro without arguments.
235 (clog10_test): Likewise.
236 (conj_test): Likewise.
237 (copysign_test): Use END macro without arguments.
238 (cos_test): Likewise.
239 (cos_test_tonearest): Likewise.
240 (cos_test_towardzero): Likewise.
241 (cos_test_downward): Likewise.
242 (cos_test_upward): Likewise.
243 (cosh_test): Likewise.
244 (cosh_test_tonearest): Likewise.
245 (cosh_test_towardzero): Likewise.
246 (cosh_test_downward): Likewise.
247 (cosh_test_upward): Likewise.
248 (cpow_test): Use END_COMPLEX macro without arguments.
249 (cproj_test): Likewise.
250 (creal_test): Use END macro without arguments.
251 (csin_test): Use END_COMPLEX macro without arguments.
252 (csinh_test): Likewise.
253 (csqrt_test): Likewise.
254 (ctan_test): Likewise.
255 (ctan_test_tonearest): Likewise.
256 (ctan_test_towardzero): Likewise.
257 (ctan_test_downward): Likewise.
258 (ctan_test_upward): Likewise.
259 (ctanh_test): Likewise.
260 (ctanh_test_tonearest): Likewise.
261 (ctanh_test_towardzero): Likewise.
262 (ctanh_test_downward): Likewise.
263 (ctanh_test_upward): Likewise.
264 (erf_test): Use END macro without arguments.
265 (erfc_test): Likewise.
266 (exp_test): Likewise.
267 (exp_test_tonearest): Likewise.
268 (exp_test_towardzero): Likewise.
269 (exp_test_downward): Likewise.
270 (exp_test_upward): Likewise.
271 (exp10_test): Likewise.
272 (exp2_test): Likewise.
273 (expm1_test): Likewise.
274 (fabs_test): Likewise.
275 (fdim_test): Likewise.
276 (finite_test): Likewise.
277 (floor_test): Likewise.
278 (fma_test): Likewise.
279 (fma_test_towardzero): Likewise.
280 (fma_test_downward): Likewise.
281 (fma_test_upward): Likewise.
282 (fmax_test): Likewise.
283 (fmin_test): Likewise.
284 (fmod_test): Likewise.
285 (fpclassify_test): Likewise.
286 (frexp_test): Likewise.
287 (gamma_test): Likewise.
288 (hypot_test): Likewise.
289 (ilogb_test): Likewise.
290 (isfinite_test): Likewise.
291 (isgreater_test): Likewise.
292 (isgreaterequal_test): Likewise.
293 (isinf_test): Likewise.
294 (isless_test): Likewise.
295 (islessequal_test): Likewise.
296 (islessgreater_test): Likewise.
297 (isnan_test): Likewise.
298 (isnormal_test): Likewise.
299 (issignaling_test): Likewise.
300 (isunordered_test): Likewise.
301 (j0_test): Likewise.
302 (j1_test): Likewise.
303 (jn_test): Likewise.
304 (ldexp_test): Likewise.
305 (lgamma_test): Likewise.
306 (lrint_test): Likewise.
307 (lrint_test_tonearest): Likewise.
308 (lrint_test_towardzero): Likewise.
309 (lrint_test_downward): Likewise.
310 (lrint_test_upward): Likewise.
311 (llrint_test): Likewise.
312 (llrint_test_tonearest): Likewise.
313 (llrint_test_towardzero): Likewise.
314 (llrint_test_downward): Likewise.
315 (llrint_test_upward): Likewise.
316 (log_test): Likewise.
317 (log10_test): Likewise.
318 (log1p_test): Likewise.
319 (log2_test): Likewise.
320 (logb_test): Likewise.
321 (logb_test_downward): Likewise.
322 (lround_test): Likewise.
323 (llround_test): Likewise.
324 (modf_test): Likewise.
325 (nearbyint_test): Likewise.
326 (nextafter_test): Likewise.
327 (nexttoward_test): Likewise.
328 (pow_test): Likewise.
329 (pow_test_tonearest): Likewise.
330 (pow_test_towardzero): Likewise.
331 (pow_test_downward): Likewise.
332 (pow_test_upward): Likewise.
333 (remainder_test): Likewise.
334 (remainder_test_tonearest): Likewise.
335 (remainder_test_towardzero): Likewise.
336 (remainder_test_downward): Likewise.
337 (remainder_test_upward): Likewise.
338 (remquo_test): Likewise.
339 (rint_test): Likewise.
340 (rint_test_tonearest): Likewise.
341 (rint_test_towardzero): Likewise.
342 (rint_test_downward): Likewise.
343 (rint_test_upward): Likewise.
344 (round_test): Likewise.
345 (scalb_test): Likewise.
346 (scalbn_test): Likewise.
347 (scalbln_test): Likewise.
348 (signbit_test): Likewise.
349 (sin_test): Likewise.
350 (sin_test_tonearest): Likewise.
351 (sin_test_towardzero): Likewise.
352 (sin_test_downward): Likewise.
353 (sin_test_upward): Likewise.
354 (sincos_test): Likewise.
355 (sinh_test): Likewise.
356 (sinh_test_tonearest): Likewise.
357 (sinh_test_towardzero): Likewise.
358 (sinh_test_downward): Likewise.
359 (sinh_test_upward): Likewise.
360 (sqrt_test): Likewise.
361 (tan_test): Likewise.
362 (tan_test_tonearest): Likewise.
363 (tan_test_towardzero): Likewise.
364 (tan_test_downward): Likewise.
365 (tan_test_upward): Likewise.
366 (tanh_test): Likewise.
367 (tgamma_test): Likewise.
368 (trunc_test): Likewise.
369 (y0_test): Likewise.
370 (y1_test): Likewise.
371 (yn_test): Likewise.
372 (significand_test): Likewise.
373
bae143d2
OB
3742013-05-24 Ondřej Bílka <neleai@seznam.cz>
375
376 [BZ #15381]
377 * libio/genops.c (_IO_no_init): Initialize wide struct info.
378
9323d39b
EM
3792013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
380
d4ea44a0 381 [BZ #14894]
9323d39b
EM
382 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
383 __ppc_mdoio and __ppc_mdoom.
384 * manual/platform.texi: Document new functions __ppc_yield,
385 __ppc_mdoio and __ppc_mdoom.
386
13e23af7
CD
3872013-05-22 Carlos O'Donell <carlos@redhat.com>
388
389 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
390 (main): Mention "tls" pseudo-hwcap is legacy.
391 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
392
351fe550
JM
3932013-05-22 Joseph Myers <joseph@codesourcery.com>
394
395 * math/gen-libm-test.pl (parse_args): Output only string of
396 arguments as text for test name, not full call or descriptions of
397 tests for extra outputs.
398 (generate_testfile): Do not pass function name to parse_args.
399 Generate this_func variable from START.
400 * math/libm-test.inc (struct test_f_f_data): Rename test_name
401 field to arg_str.
402 (struct test_ff_f_data): Likewise.
403 (test_ff_f_data_nexttoward): Likewise.
404 (struct test_fi_f_data): Likewise.
405 (struct test_fl_f_data): Likewise.
406 (struct test_if_f_data): Likewise.
407 (struct test_fff_f_data): Likewise.
408 (struct test_c_f_data): Likewise.
409 (struct test_f_f1_data): Likewise. Remove field extra_name.
410 (struct test_fF_f1_data): Likewise.
411 (struct test_ffI_f1_data): Likewise.
412 (struct test_c_c_data): Rename test_name field to arg_str.
413 (struct test_cc_c_data): Likewise.
414 (struct test_f_i_data): Likewise.
415 (struct test_ff_i_data): Likewise.
416 (struct test_f_l_data): Likewise.
417 (struct test_f_L_data): Likewise.
418 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
419 and extra2_name.
420 (COMMON_TEST_SETUP): New macro.
421 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
422 (COMMON_TEST_CLEANUP): Likewise.
423 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
424 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
425 macros.
426 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
427 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
428 macros.
429 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
430 (RUN_TEST_fff_f): Take argument string. Call new setup and
431 cleanup macros.
432 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
433 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
434 macros.
435 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
436 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
437 macros.
438 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
439 (RUN_TEST_fF_f1): Take argument string. Call new setup and
440 cleanup macros.
441 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
442 (RUN_TEST_fI_f1): Take argument string. Call new setup and
443 cleanup macros.
444 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
445 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
446 cleanup macros.
447 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
448 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
449 macros.
450 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
451 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
452 macros.
453 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
454 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
455 macros.
456 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
457 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
458 cleanup macros.
459 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
460 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
461 cleanup macros.
462 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
463 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
464 macros.
465 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
466 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
467 cleanup macros.
468 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
469 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
470 macros.
471 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
472 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
473 macros.
474 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
475 (RUN_TEST_fFF_11): Take argument string. Call new setup and
476 cleanup macros.
477 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
478
85118d4d
EBM
4792013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
480
481 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
482 to _sifields.sigfault.
483 (si_addr_lsb): Define new macro.
484 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
485 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
486 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
487
7a44c18f
CD
4882013-05-03 Carlos O'Donell <carlos at redhat.com>
489
490 [BZ #15441]
491 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
492 returns -1.
493 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
494 null return -1.
495 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
496 loading the domain.
497
b50a7181
JM
4982013-05-22 Joseph Myers <joseph@codesourcery.com>
499
500 * math/gen-libm-test.pl (parse_args): Do not include expected
501 result in test name.
502 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
503 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
504 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
505 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
506 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
508
051063c8
SP
5092013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
510
3ce9e010
SP
511 * benchtests/Makefile: Sort function entries.
512
051063c8
SP
513 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
514 tanh, asinh, acosh, atanh.
515 * benchtests/acos-inputs: New file.
516 * benchtests/acosh-inputs: New file.
517 * benchtests/asin-inputs: New file.
518 * benchtests/asinh-inputs: New file.
519 * benchtests/atanh-inputs: New file.
520 * benchtests/cosh-inputs: New file.
521 * benchtests/log-inputs: New file.
522 * benchtests/sinh-inputs: New file.
523 * benchtests/tanh-inputs: New file.
524
47c22455
DL
5252013-05-21 Dmitry V. Levin <ldv@altlinux.org>
526
527 [BZ #15339]
528 * posix/tst-getaddrinfo4.c: New test.
529 * posix/Makefile (tests): Add it.
530
3d04f5db
SP
5312013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
532
533 [BZ #15339]
534 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
535 when no services were used.
536 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
537 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
538
d5dd6189
AS
5392013-05-21 Andreas Schwab <schwab@suse.de>
540
541 [BZ #15014]
542 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
543 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
544 successful.
545 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
546 redundant variable declarations and reallocation of buffer when
547 parsing as IPv6 address. Always set NSS status when called from
548 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
549 buffer too small. Correct computation of needed size.
550 * nss/Makefile (tests): Add test-digits-dots.
551 * nss/test-digits-dots.c: New test.
552
fef94eab
SP
5532013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
554
555 * benchtests/Makefile: Remove instructions for adding
556 benchmark tests.
557 * benchtests/README: New file to explain how to execute and
558 enhance the benchmark tests.
559
e39adf43
AS
5602013-05-21 Andreas Schwab <schwab@suse.de>
561
562 [BZ #15493]
563 * setjmp/Makefile (tests): Add tst-sigsetjmp.
564 * setjmp/tst-sigsetjmp.c: New test.
565
b2b671b6
OB
5662013-05-20 Ondřej Bílka <neleai@seznam.cz>
567
568 * sysdeps/x86_64/memset.S (memset): New implementation.
569 (__bzero): Likewise.
570 (__memset_tail): New function.
571
2d48b41c
OB
5722013-05-20 Ondřej Bílka <neleai@seznam.cz>
573
574 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
575 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
576 __memcpy_sse2_unaligned ifunc selection.
577 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
578 Add memcpy-sse2-unaligned.S.
579 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
580 Add: __memcpy_sse2_unaligned.
581
f16cc3eb
JM
5822013-05-19 Joseph Myers <joseph@codesourcery.com>
583
3e694268
JM
584 [BZ #15490]
585 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
586 math_force_eval before restoring floating-point envrionment.
587 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
588 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
589 Likewise.
590 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
591 <math_private.h>.
592 (__nearbyintl): Use math_force_eval before restoring
593 floating-point environment.
594 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
595
db62a907
JM
596 * math/gen-libm-test.pl (special_functions): Remove.
597 (parse_args): Don't handle TEST_extra. Handle functions with no
598 return value.
599 * math/libm-test.inc (struct test_sincos_data): Replace with
600 struct test_fFF_11_data.
601 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
602 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
603 (sincos_test_data): Change element type to struct
604 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
605 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
606 RUN_TEST_LOOP_sincos.
607 * math/README.libm-test: Don't mention special handling of
608 individual functions.
609 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
610 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
611 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
612 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
613 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
615
f16cc3eb
JM
616 * math/gen-libm-test.pl (get_variable): Remove function.
617 (parse_args): Don't show pointer parameters to call in test
618 names. Use "extra output N" in test names for extra outputs
619 rather than naming variables.
620
3779b5b6
JM
6212013-05-18 Joseph Myers <joseph@codesourcery.com>
622
2ee094ff
JM
623 [BZ #15488]
624 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
625 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
626 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
627 double tests.
628 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
629 disable.
630 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
631 check_long_double.
632
3779b5b6
JM
633 * math/gen-libm-test.pl (@tests): Remove variable.
634 ($count): Likewise.
635 (new_test): Remove function.
636 (show_exceptions): New function.
637 (special_functions): Use show_exceptions instead of new_test.
638 (parse_args): Likewise.
639 (generate_testfile): Pass only function name in generated call to
640 print_max_error or print_complex_max_error.
641 (get_ulps): Do not handle complex tests specially.
642 (output_test): Rename to ...
643 (get_all_ulps_for_test): ... this. Return a string rather than
644 printing to a file. Require ulps to be present.
645 (output_ulps): Generate arrays rather than #defines.
646 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
647 (struct ulp_data): New type.
648 (BUILD_COMPLEX_ULP): Remove macro.
649 (compare_ulp_data): New function.
650 (find_ulps): Likewise.
651 (find_test_ulps): Likewise.
652 (find_function_ulps): Likewise.
653 (find_complex_function_ulps): Likewise.
654 (print_max_error): Determine allowed ulps using
655 find_function_ulps.
656 (print_complex_max_error): Determine allowed ulps using
657 find_complex_function_ulps.
658 (check_float_internal): Determine max ulps using find_test_ulps.
659 (check_float): Do not take max_ulp parameter. Update call to
660 check_float_internal.
661 (check_complex): Likewise.
662 (check_int): Do not take max_ulp parameter.
663 (check_long): Likewise.
664 (check_bool): Likewise.
665 (check_longlong): Likewise.
666 (struct test_f_f_data): Remove max_ulp field.
667 (struct test_ff_f_data): Likewise.
668 (struct test_ff_f_data_nexttoward): Likewise.
669 (struct test_fi_f_data): Likewise.
670 (struct test_fl_f_data): Likewise.
671 (struct test_if_f_data): Likewise.
672 (struct test_fff_f_data): Likewise.
673 (struct test_c_f_data): Likewise.
674 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
675 (struct test_fF_f1_data): Likewise.
676 (struct test_ffI_f1_data): Likewise.
677 (struct test_c_c_data): Remove max_ulp field.
678 (struct test_cc_c_data): Likewise.
679 (struct test_f_i_data): Likewise.
680 (struct test_ff_i_data): Likewise.
681 (struct test_f_l_data): Likewise.
682 (struct test_f_L_data): Likewise.
683 (struct test_sincos_data): Likewise.
684 (RUN_TEST_f_f): Do not handle ulps.
685 (RUN_TEST_LOOP_f_f): Likewise.
686 (RUN_TEST_2_f): Likewise.
687 (RUN_TEST_LOOP_2_f): Likewise.
688 (RUN_TEST_fff_f): Likewise.
689 (RUN_TEST_LOOP_fff_f): Likewise.
690 (RUN_TEST_c_f): Likewise.
691 (RUN_TEST_LOOP_c_f): Likewise.
692 (RUN_TEST_f_f1): Likewise.
693 (RUN_TEST_LOOP_f_f1): Likewise.
694 (RUN_TEST_fF_f1): Likewise.
695 (RUN_TEST_LOOP_fF_f1): Likewise.
696 (RUN_TEST_fI_f1): Likewise.
697 (RUN_TEST_LOOP_fI_f1): Likewise.
698 (RUN_TEST_ffI_f1): Likewise.
699 (RUN_TEST_LOOP_ffI_f1): Likewise.
700 (RUN_TEST_c_c): Likewise.
701 (RUN_TEST_LOOP_c_c): Likewise.
702 (RUN_TEST_cc_c): Likewise.
703 (RUN_TEST_LOOP_cc_c): Likewise.
704 (RUN_TEST_f_i): Likewise.
705 (RUN_TEST_LOOP_f_i): Likewise.
706 (RUN_TEST_f_i_tg): Likewise.
707 (RUN_TEST_LOOP_f_i_tg): Likewise.
708 (RUN_TEST_ff_i_tg): Likewise.
709 (RUN_TEST_LOOP_ff_i_tg): Likewise.
710 (RUN_TEST_f_b): Likewise.
711 (RUN_TEST_LOOP_f_b): Likewise.
712 (RUN_TEST_f_b_tg): Likewise.
713 (RUN_TEST_LOOP_f_b_tg): Likewise.
714 (RUN_TEST_f_l): Likewise.
715 (RUN_TEST_LOOP_f_l): Likewise.
716 (RUN_TEST_f_L): Likewise.
717 (RUN_TEST_LOOP_f_L): Likewise.
718 (RUN_TEST_sincos): Likewise.
719 (RUN_TEST_LOOP_sincos): Likewise.
720
8269107f
JM
7212013-05-17 Joseph Myers <joseph@codesourcery.com>
722
bb38759d
JM
723 [BZ #15480]
724 [BZ #15485]
725 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
726 main case of finite arguments, set rounding mode to FE_TONEAREST
727 and discard exceptions.
728 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
729 exceptions.
730 (remainder_tonearest_test_data): New variable.
731 (remainder_test_tonearest): New function.
732 (remainder_towardzero_test_data): New variable.
733 (remainder_test_towardzero): New function.
734 (remainder_downward_test_data): New variable.
735 (remainder_test_downward): New function.
736 (remainder_upward_test_data): New variable.
737 (remainder_test_upward): New function.
738 (main): Call the new test functions.
739
a00bdcf0
JM
740 * math/libm-test.inc (struct test_f_f1_data): Remove field
741 extra_init.
742 (struct test_fF_f1_data): Likewise.
743 (struct test_ffI_f1_data): Likewise.
744 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
745 based on value of EXTRA_EXPECTED.
746 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
747 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
748 EXTRA_VAR based on value of EXTRA_EXPECTED.
749 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
750 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
751 EXTRA_VAR based on value of EXTRA_EXPECTED.
752 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
753 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
754 EXTRA_VAR based on value of EXTRA_EXPECTED.
755 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
756 * math/gen-libm-test.pl (parse_args): Don't output initializers
757 for extra output values.
758
de407f79
JM
759 * math/libm-test.inc (check_int): Expect result to be exactly
760 equal to expected value and do not handle ulps.
761 (check_long): Likewise.
762 (check_longlong): Likewise.
763
8269107f
JM
764 * math/libm-test.inc (ceil_test_data): Test for "inexact"
765 exceptions.
766 (cimag_test_data): Likewise.
767 (conj_test_data): Likewise.
768 (copysign_test_data): Likewise.
769 (cproj_test_data): Likewise.
770 (creal_test_data): Likewise.
771 (fabs_test_data): Likewise.
772 (fdim_test_data): Likewise.
773 (finite_test_data): Likewise.
774 (floor_test_data): Likewise.
775 (fmax_test_data): Likewise.
776 (fmin_test_data): Likewise.
777 (fmod_test_data): Likewise.
778 (fpclassify_test_data): Likewise.
779 (frexp_test_data): Likewise.
780 (ilogb_test_data): Likewise.
781 (isfinite_test_data): Likewise.
782 (isgreater_test_data): Likewise.
783 (isgreaterequal_test_data): Likewise.
784 (isinf_test_data): Likewise.
785 (isless_test_data): Likewise.
786 (islessequal_test_data): Likewise.
787 (islessgreater_test_data): Likewise.
788 (isnan_test_data): Likewise.
789 (isnormal_test_data): Likewise.
790 (issignaling_test_data): Likewise.
791 (isunordered_test_data): Likewise.
792 (ldexp_test_data): Likewise.
793 (lrint_test_data): Likewise.
794 (lrint_test_data) [TEST_FLOAT]: Disable one test.
795 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
796 (lrint_tonearest_test_data): Test for "inexact" exceptions.
797 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
798 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
799 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
800 test input.
801 (lrint_towardzero_test_data): Test for "inexact" exceptions.
802 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
803 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
804 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
805 that test input.
806 (lrint_downward_test_data): Test for "inexact" exceptions.
807 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
808 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
809 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
810 test input.
811 (lrint_upward_test_data): Test for "inexact" exceptions.
812 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
813 test input.
814 (llrint_test_data): Test for "inexact" exceptions.
815 (llrint_test_data) [TEST_FLOAT]: Disable one test.
816 (llrint_tonearest_test_data): Test for "inexact" exceptions.
817 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
818 (llrint_towardzero_test_data): Test for "inexact" exceptions.
819 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
820 (llrint_downward_test_data): Test for "inexact" exceptions.
821 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
822 (llrint_upward_test_data): Test for "inexact" exceptions.
823 (logb_test_data): Likewise.
824 (logb_downward_test_data): Likewise.
825 (nextafter_test_data): Likewise.
826 (nexttoward_test_data): Likewise.
827 (remainder_test_data): Likewise.
828 (remquo_test_data): Likewise.
829 (scalbn_test_data): Likewise.
830 (scalbln_test_data): Likewise.
831 (signbit_test_data): Likewise.
832 (sqrt_test_data): Likewise.
833 (significand_test_data): Likewise.
834
48a18de1
SP
8352013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
836
837 [BZ #15424]
838 * benchtests/bench-modf.c (struct args): Mark arg0 as
839 volatile.
840 * scripts/bench.pl: Mark members of struct args as volatile.
841
13d3b41a
AZ
8422013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
843
68191c1d 844 [BZ # 15497]
13d3b41a
AZ
845 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
846 negative infinity on POWER6 or lower.
847 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
848
2848b105
MR
8492013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
850
851 [BZ #15442]
852 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
853 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
854 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
855 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
856 (_FP_SETQNAN): New macro.
857 (_FP_SETQNAN_SEMIRAW): Likewise.
858 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
859 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
860 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
861 (FP_EXTEND): Use _FP_FRAC_SNANP.
862 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
863 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
864 into account.
865 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
866 New macro.
867 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
868 Likewise.
869
323e5cb7
JM
8702013-05-16 Joseph Myers <joseph@codesourcery.com>
871
c58b274f
JM
872 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
873 with DIVIDE_BY_ZERO_EXCEPTION.
874 (gamma_test_data): Likewise.
875 (lgamma_test_data): Likewise.
876 (log_test_data): Likewise.
877 (log10_test_data): Likewise.
878 (log2_test_data): Likewise.
879 (tgamma_test_data): Likewise.
880
0ab34904
JM
881 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
882 (acos_test_tonearest): Likewise.
883 (acos_test_towardzero): Likewise.
884 (acos_test_downward): Likewise.
885 (acos_test_upward): Likewise.
886 (acosh_test): Likewise.
887 (asin_test): Likewise.
888 (asin_test_tonearest): Likewise.
889 (asin_test_towardzero): Likewise.
890 (asin_test_downward): Likewise.
891 (asin_test_upward): Likewise.
892 (asinh_test): Likewise.
893 (atan_test): Likewise.
894 (atanh_test): Likewise.
895 (atan2_test): Likewise.
896 (cabs_test): Likewise.
897 (cacos_test): Likewise.
898 (cacosh_test): Likewise.
899 (casin_test): Likewise.
900 (casinh_test): Likewise.
901 (catan_test): Likewise.
902 (catanh_test): Likewise.
903 (cbrt_test): Likewise.
904 (ccos_test): Likewise.
905 (ccosh_test): Likewise.
906 (cexp_test): Likewise.
907 (clog_test): Likewise.
908 (clog10_test): Likewise.
909 (cos_test): Likewise.
910 (cos_test_tonearest): Likewise.
911 (cos_test_towardzero): Likewise.
912 (cos_test_downward): Likewise.
913 (cos_test_upward): Likewise.
914 (cosh_test): Likewise.
915 (cosh_test_tonearest): Likewise.
916 (cosh_test_towardzero): Likewise.
917 (cosh_test_downward): Likewise.
918 (cosh_test_upward): Likewise.
919 (cpow_test): Likewise.
920 (csin_test): Likewise.
921 (csinh_test): Likewise.
922 (csqrt_test): Likewise.
923 (ctan_test): Likewise.
924 (ctan_test_tonearest): Likewise.
925 (ctan_test_towardzero): Likewise.
926 (ctan_test_downward): Likewise.
927 (ctan_test_upward): Likewise.
928 (ctanh_test): Likewise.
929 (ctanh_test_tonearest): Likewise.
930 (ctanh_test_towardzero): Likewise.
931 (ctanh_test_downward): Likewise.
932 (ctanh_test_upward): Likewise.
933 (erf_test): Likewise.
934 (erfc_test): Likewise.
935 (exp_test): Likewise.
936 (exp_test_tonearest): Likewise.
937 (exp_test_towardzero): Likewise.
938 (exp_test_downward): Likewise.
939 (exp_test_upward): Likewise.
940 (exp10_test): Likewise.
941 (exp2_test): Likewise.
942 (expm1_test): Likewise.
943 (fmod_test): Likewise.
944 (gamma_test): Likewise.
945 (hypot_test): Likewise.
946 (j0_test): Likewise.
947 (j1_test): Likewise.
948 (jn_test): Likewise.
949 (lgamma_test): Likewise.
950 (log_test): Likewise.
951 (log10_test): Likewise.
952 (log1p_test): Likewise.
953 (log2_test): Likewise.
954 (logb_test_downward): Likewise.
955 (pow_test): Likewise.
956 (pow_test_tonearest): Likewise.
957 (pow_test_towardzero): Likewise.
958 (pow_test_downward): Likewise.
959 (pow_test_upward): Likewise.
960 (remainder_test): Likewise.
961 (remquo_test): Likewise.
962 (sin_test): Likewise.
963 (sin_test_tonearest): Likewise.
964 (sin_test_towardzero): Likewise.
965 (sin_test_downward): Likewise.
966 (sin_test_upward): Likewise.
967 (sincos_test): Likewise.
968 (sinh_test): Likewise.
969 (sinh_test_tonearest): Likewise.
970 (sinh_test_towardzero): Likewise.
971 (sinh_test_downward): Likewise.
972 (sinh_test_upward): Likewise.
973 (sqrt_test): Likewise.
974 (tan_test): Likewise.
975 (tan_test_tonearest): Likewise.
976 (tan_test_towardzero): Likewise.
977 (tan_test_downward): Likewise.
978 (tan_test_upward): Likewise.
979 (tanh_test): Likewise.
980 (tgamma_test): Likewise.
981 (y0_test): Likewise.
982 (y1_test): Likewise.
983 (yn_test): Likewise.
984
323e5cb7
JM
985 * math/gen-libm-test.pl (adjust_arg): Remove function.
986 (special_function): Remove argument $in_func. Only handle
987 generating output for tables of tests, not inside functions.
988 (parse_args): Likewise.
989 (generate_testfile): Remove variable $in_func. Update call to
990 parse_args.
991 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
992 (MINUS_ZERO_INIT): Rename macro to minus_zero.
993 (PLUS_INFTY_INIT): Rename macro to plus_infty.
994 (MINUS_INFTY_INIT): Rename macro to minus_infty.
995 (QNAN_VALUE_INIT): Rename macro to qnan_value.
996 (MAX_VALUE_INIT): Rename macro to max_value.
997 (MIN_VALUE_INIT): Rename macro to min_value.
998 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
999 (plus_zero): Remove variable.
1000 (minus_zero): Likewise.
1001 (plus_infty): Likewise.
1002 (minus_infty): Likewise.
1003 (qnan_value): Likewise.
1004 (max_value): Likewise.
1005 (min_value): Likewise.
1006 (min_subnorm_value): Likewise.
1007
e054f494
RA
10082013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1009
1010 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
1011 uint64_t or uint32_t usage.
1012 * crypt/sha256-block.c: Likewise.
1013 * crypt/sha256-crypt.c: Likewise.
1014 * crypt/sha256.c: Likewise.
1015 * crypt/sha512-block.c: Likewise.
1016 * crypt/sha512-crypt.c: Likewise.
1017 * crypt/sha512.c: Likewise.
1018 * debug/backtrace-tst.c: Likewise.
1019 * debug/pcprofiledump.c: Likewise.
1020 * elf/cache.c: Likewise.
1021 * elf/dl-cache.c: Likewise.
1022 * elf/dl-misc.c: Likewise.
1023 * elf/dl-profile.c: Likewise.
1024 * elf/dl-support.c: Likewise.
1025 * elf/ldconfig.c: Likewise.
1026 * elf/sprof.c: Likewise.
1027 * iconv/dummy-repertoire.c: Likewise.
1028 * iconv/iconv_charmap.c: Likewise.
1029 * iconv/skeleton.c: Likewise.
1030 * iconvdata/8bit-generic.c: Likewise.
1031 * iconvdata/cp737.h: Likewise.
1032 * iconvdata/cp775.h: Likewise.
1033 * iconvdata/ibm1008.h: Likewise.
1034 * iconvdata/ibm1025.h: Likewise.
1035 * iconvdata/ibm1046.h: Likewise.
1036 * iconvdata/ibm1097.h: Likewise.
1037 * iconvdata/ibm1112.h: Likewise.
1038 * iconvdata/ibm1122.h: Likewise.
1039 * iconvdata/ibm1123.h: Likewise.
1040 * iconvdata/ibm1124.h: Likewise.
1041 * iconvdata/ibm1129.h: Likewise.
1042 * iconvdata/ibm1130.h: Likewise.
1043 * iconvdata/ibm1132.h: Likewise.
1044 * iconvdata/ibm1133.h: Likewise.
1045 * iconvdata/ibm1137.h: Likewise.
1046 * iconvdata/ibm1140.h: Likewise.
1047 * iconvdata/ibm1141.h: Likewise.
1048 * iconvdata/ibm1142.h: Likewise.
1049 * iconvdata/ibm1143.h: Likewise.
1050 * iconvdata/ibm1144.h: Likewise.
1051 * iconvdata/ibm1145.h: Likewise.
1052 * iconvdata/ibm1146.h: Likewise.
1053 * iconvdata/ibm1147.h: Likewise.
1054 * iconvdata/ibm1148.h: Likewise.
1055 * iconvdata/ibm1149.h: Likewise.
1056 * iconvdata/ibm1153.h: Likewise.
1057 * iconvdata/ibm1154.h: Likewise.
1058 * iconvdata/ibm1155.h: Likewise.
1059 * iconvdata/ibm1156.h: Likewise.
1060 * iconvdata/ibm1157.h: Likewise.
1061 * iconvdata/ibm1158.h: Likewise.
1062 * iconvdata/ibm1160.h: Likewise.
1063 * iconvdata/ibm1161.h: Likewise.
1064 * iconvdata/ibm1162.h: Likewise.
1065 * iconvdata/ibm1163.h: Likewise.
1066 * iconvdata/ibm1164.h: Likewise.
1067 * iconvdata/ibm1166.h: Likewise.
1068 * iconvdata/ibm1167.h: Likewise.
1069 * iconvdata/ibm12712.h: Likewise.
1070 * iconvdata/ibm1390.h: Likewise.
1071 * iconvdata/ibm1399.h: Likewise.
1072 * iconvdata/ibm16804.h: Likewise.
1073 * iconvdata/ibm4517.h: Likewise.
1074 * iconvdata/ibm4899.h: Likewise.
1075 * iconvdata/ibm4909.h: Likewise.
1076 * iconvdata/ibm4971.h: Likewise.
1077 * iconvdata/ibm5347.h: Likewise.
1078 * iconvdata/ibm803.h: Likewise.
1079 * iconvdata/ibm856.h: Likewise.
1080 * iconvdata/ibm901.h: Likewise.
1081 * iconvdata/ibm902.h: Likewise.
1082 * iconvdata/ibm9030.h: Likewise.
1083 * iconvdata/ibm9066.h: Likewise.
1084 * iconvdata/ibm921.h: Likewise.
1085 * iconvdata/ibm922.h: Likewise.
1086 * iconvdata/ibm9448.h: Likewise.
1087 * iconvdata/isiri-3342.h: Likewise.
1088 * iconvdata/jis0201.h: Likewise.
1089 * include/link.h: Likewise.
1090 * include/netdb.h: Likewise.
1091 * inet/check_native.c: Likewise.
1092 * inet/check_pf.c: Likewise.
1093 * inet/getipv4sourcefilter.c: Likewise.
1094 * inet/getnameinfo.c: Likewise.
1095 * inet/getsourcefilter.c: Likewise.
1096 * inet/htonl.c: Likewise.
1097 * inet/setipv4sourcefilter.c: Likewise.
1098 * inet/setsourcefilter.c: Likewise.
1099 * inet/test-inet6_opt.c: Likewise.
1100 * inet/tst-network.c: Likewise.
1101 * locale/C-collate.c: Likewise.
1102 * locale/C-ctype.c: Likewise.
1103 * locale/C-time.c: Likewise.
1104 * locale/C-translit.h: Likewise.
1105 * locale/loadarchive.c: Likewise.
1106 * locale/programs/3level.h: Likewise.
1107 * locale/programs/charmap.c: Likewise.
1108 * locale/programs/charmap.h: Likewise.
1109 * locale/programs/ld-address.c: Likewise.
1110 * locale/programs/ld-collate.c: Likewise.
1111 * locale/programs/ld-ctype.c: Likewise.
1112 * locale/programs/ld-identification.c: Likewise.
1113 * locale/programs/ld-measurement.c: Likewise.
1114 * locale/programs/ld-messages.c: Likewise.
1115 * locale/programs/ld-monetary.c: Likewise.
1116 * locale/programs/ld-name.c: Likewise.
1117 * locale/programs/ld-numeric.c: Likewise.
1118 * locale/programs/ld-paper.c: Likewise.
1119 * locale/programs/ld-telephone.c: Likewise.
1120 * locale/programs/ld-time.c: Likewise.
1121 * locale/programs/linereader.c: Likewise.
1122 * locale/programs/locale.c: Likewise.
1123 * locale/programs/locarchive.c: Likewise.
1124 * locale/programs/locfile.h: Likewise.
1125 * locale/programs/repertoire.c: Likewise.
1126 * locale/programs/simple-hash.c: Likewise.
1127 * locale/programs/simple-hash.h: Likewise.
1128 * malloc/memusage.c: Likewise.
1129 * malloc/memusagestat.c: Likewise.
1130 * nis/nis_defaults.c: Likewise.
1131 * nis/nis_hash.c: Likewise.
1132 * nis/nis_print.c: Likewise.
1133 * nis/nis_xdr.c: Likewise.
1134 * nscd/connections.c: Likewise.
1135 * nscd/hstcache.c: Likewise.
1136 * nscd/nscd_gethst_r.c: Likewise.
1137 * nscd/nscd_getserv_r.c: Likewise.
1138 * nscd/nscd_helper.c: Likewise.
1139 * nscd/servicescache.c: Likewise.
1140 * nss/makedb.c: Likewise.
1141 * nss/nss_db/db-XXX.c: Likewise.
1142 * nss/nss_db/db-initgroups.c: Likewise.
1143 * nss/nss_db/db-netgrp.c: Likewise.
1144 * nss/nss_files/files-network.c: Likewise.
1145 * nss/nss_files/files-parse.c: Likewise.
1146 * posix/bug-regex5.c: Likewise.
1147 * posix/fnmatch_loop.c: Likewise.
1148 * posix/regcomp.c: Likewise.
1149 * posix/regexec.c: Likewise.
1150 * posix/tst-rfc3484-2.c: Likewise.
1151 * posix/tst-rfc3484-3.c: Likewise.
1152 * posix/tst-rfc3484.c: Likewise.
1153 * resolv/nss_dns/dns-canon.c: Likewise.
1154 * resolv/nss_dns/dns-network.c: Likewise.
1155 * resolv/res_init.c: Likewise.
1156 * resolv/res_mkquery.c: Likewise.
1157 * resolv/tst-aton.c: Likewise.
1158 * stdlib/cxa_atexit.c: Likewise.
1159 * stdlib/cxa_finalize.c: Likewise.
1160 * stdlib/gen-fpioconst.c: Likewise.
1161 * stdlib/strtol_l.c: Likewise.
1162 * string/tst-endian.c: Likewise.
1163 * sunrpc/auth_des.c: Likewise.
1164 * sunrpc/clnt_udp.c: Likewise.
1165 * sunrpc/rtime.c: Likewise.
1166 * sunrpc/svcauth_des.c: Likewise.
1167 * sunrpc/xdr.c: Likewise.
1168 * sunrpc/xdr_intXX_t.c: Likewise.
1169 * sunrpc/xdr_rec.c: Likewise.
1170 * sysdeps/generic/ldconfig.h: Likewise.
1171 * sysdeps/generic/ldsodefs.h: Likewise.
1172 * sysdeps/generic/memusage.h: Likewise.
1173 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1174 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
1175 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
1176 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1177 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1178 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1179 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1180 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1181 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1182 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1183 * sysdeps/posix/getaddrinfo.c: Likewise.
1184 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1185 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1186 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
1187 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1188 * sysdeps/powerpc/test-gettimebase.c: Likewise.
1189 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1190 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
1191 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
1192 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1193 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
1194 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1195 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1196 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
1197 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
1198 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
1199 * sysdeps/x86_64/dl-tls.h: Likewise.
1200 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
1201 * time/alt_digit.c: Likewise.
1202 * time/era.c: Likewise.
1203 * wcsmbs/tst-c16c32-1.c: Likewise.
1204
8c75f674
JM
12052013-05-16 Joseph Myers <joseph@codesourcery.com>
1206
1207 * math/libm-test.inc (struct test_sincos_data): New type.
1208 (RUN_TEST_LOOP_sincos): New macro.
1209 (sincos_test_data): New variable.
1210 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
1211
e6e49e59
RH
12122013-05-16 Richard Henderson <rth@redhat.com>
1213
1214 * math/atest-exp2.c (LIMB64): New macro.
1215 (CONSTSZ): New macro.
1216 (mp_exp1, mp_exp_m1, mp_log2): New variables.
1217 (hexdig): Move ...
1218 (print_mpn_fp): ... to function scope.
1219 (read_mpn_hex): Remove.
1220 (get_log2): Remove.
1221 (exp2_mpn): Use mp_log2.
1222 (main): Use mp_exp1.
1223
15c7c18d
JM
12242013-05-16 Joseph Myers <joseph@codesourcery.com>
1225
105a07df
JM
1226 * math/libm-test.inc: Remove comment about not testing "inexact"
1227 exceptions.
1228 (INEXACT_EXCEPTION): New macro.
1229 (NO_INEXACT_EXCEPTION): Likewise.
1230 (INVALID_EXCEPTION_OK): Update value.
1231 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1232 (OVERFLOW_EXCEPTION_OK): Likewise.
1233 (UNDERFLOW_EXCEPTION_OK): Likewise.
1234 (IGNORE_ZERO_INF_SIGN): Likewise.
1235 (ERRNO_UNCHANGED): Likewise.
1236 (ERRNO_EDOM): Likewise.
1237 (ERRNO_ERANGE): Likewise.
1238 (test_exceptions): Handle testing "inexact" exceptions.
1239 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
1240 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
1241 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
1242 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
1243 INEXACT_EXCEPTION.
1244 (rint_towardzero_test_data): Likewise.
1245 (rint_downward_test_data): Likewise.
1246 (rint_upward_test_data): Likewise.
1247
e9eee333
JM
1248 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
1249 with OVERFLOW_EXCEPTION.
1250 (exp10_test_data): Likewise.
1251 (exp2_test_data): Likewise.
1252 (expm1_test_data): Likewise.
1253 (lgamma_test_data): Likewise.
1254 (pow_test_data): Likewise.
1255 (tgamma_test_data): Likewise.
1256 (yn_test_data): Remove duplicate test of overflow.
1257
1c38ff73
JM
1258 * math/libm-test.inc (struct test_cc_c_data): New type.
1259 (RUN_TEST_LOOP_cc_c): New macro.
1260 (cpow_test_data): New variable.
1261 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
1262
15c7c18d
JM
1263 * math/libm-test.inc (struct test_f_L_data): New type.
1264 (RUN_TEST_LOOP_f_L): New macro.
1265 (llrint_test_data): New variable.
1266 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
1267 (llrint_tonearest_test_data): New variable.
1268 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
1269 (llrint_towardzero_test_data): New variable.
1270 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
1271 (llrint_downward_test_data): New variable.
1272 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
1273 (llrint_upward_test_data): New variable.
1274 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
1275 (llround_test_data): New variable.
1276 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
1277
f137ff13
PC
12782013-05-13 Peter Collingbourne <pcc@google.com>
1279
1280 * math/atest-exp2.c (get_log2): Remove const attribute.
1281
3608cb24
JM
12822013-05-15 Joseph Myers <joseph@codesourcery.com>
1283
1284 * math/libm-test.inc (struct test_f_l_data): New type.
1285 (RUN_TEST_LOOP_f_l): New macro.
1286 (lrint_test_data): New variable.
1287 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
1288 (lrint_tonearest_test_data): New variable.
1289 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
1290 (lrint_towardzero_test_data): New variable.
1291 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
1292 (lrint_downward_test_data): New variable.
1293 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
1294 (lrint_upward_test_data): New variable.
1295 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
1296 (lround_test_data): New variable.
1297 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
1298
39b1f617
PC
12992013-05-15 Peter Collingbourne <pcc@google.com>
1300
1deff3dc
PC
1301 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
1302 (EXTRACT_WORDS64) Use where appropriate.
1303 (INSERT_WORDS64) Likewise.
1304
791f3ba0
PC
1305 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
1306 constraints with x constraints.
1307 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
1308
39b1f617
PC
1309 * malloc/obstack.c (_obstack_compat): Add initializer.
1310
12fba011
EM
13112013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
1312
1313 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
1314 si_trapno and add si_addr_lsb to _sifields.sigfault.
1315 (si_trapno): Remove macro.
1316 (si_addr_lsb): Define new macro.
1317 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1318
d369f531
JM
13192013-05-15 Joseph Myers <joseph@codesourcery.com>
1320
b861c6c4
JM
1321 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
1322 instead of TEST_f_l.
1323 (llrint_test_tonearest): Likewise.
1324 (llrint_test_towardzero): Likewise.
1325 (llrint_test_downward): Likewise.
1326 (llrint_test_upward): Likewise.
1327 (llround_test): Likewise.
1328
7abeee12
JM
1329 * math/libm-test.inc (struct test_f_i_data): Add comment.
1330 (RUN_TEST_LOOP_f_b): New macro.
1331 (RUN_TEST_LOOP_f_b_tg): Likewise.
1332 (finite_test_data): New variable.
1333 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
1334 (isfinite_test_data): New variable.
1335 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1336 (isinf_test_data): New variable.
1337 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1338 (isnan_test_data): New variable.
1339 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1340 (isnormal_test_data): New variable.
1341 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1342 (issignaling_test_data): New variable.
1343 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1344 (signbit_test_data): New variable.
1345 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1346
cbe8c4d3
JM
1347 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
1348 with INVALID_EXCEPTION.
1349 (acosh_test_data): Likewise.
1350 (asin_test_data): Likewise.
1351 (atanh_test_data): Likewise.
1352 (fmod_test_data): Likewise.
1353 (log_test_data): Likewise.
1354 (log10_test_data): Likewise.
1355 (log2_test_data): Likewise.
1356 (pow_test_data): Likewise.
1357 (sqrt_test_data): Likewise.
1358 (y0_test_data): Likewise.
1359 (y1_test_data): Likewise.
1360 (yn_test_data): Likewise.
1361
5575c0e5
JM
1362 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
1363 function contents.
1364
d369f531
JM
1365 * math/libm-test.inc (struct test_ff_i_data): New type.
1366 (RUN_TEST_LOOP_ff_i_tg): New macro.
1367 (isgreater_test_data): New variable.
1368 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1369 (isgreaterequal_test_data): New variable.
1370 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1371 (isless_test_data): New variable.
1372 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1373 (islessequal_test_data): New variable.
1374 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1375 (islessgreater_test_data): New variable.
1376 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1377 (isunordered_test_data): New variable.
1378 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1379
781fd748
DM
13802013-05-14 David S. Miller <davem@davemloft.net>
1381
1382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1383
87aa21df
JM
13842013-05-14 Joseph Myers <joseph@codesourcery.com>
1385
5e908270
JM
1386 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
1387
f71172e5
JM
1388 * math/libm-test.inc (struct test_fF_f1_data): Change type of
1389 extra_test to int.
1390 (struct test_f_i_data): Change type of max_ulp to int.
1391
8cfa635a
JM
1392 * math/libm-test.inc (test_ffI_f1_data): New type.
1393 (RUN_TEST_LOOP_ffI_f1): New macro.
1394 (remquo_test_data): New variable.
1395 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
1396
2bcb36b2
JM
1397 * setjmp/tst-setjmp-fp.c: New file.
1398 * setjmp/Makefile (tests): Add tst-setjmp-fp.
1399 (link-libm): New variable.
1400 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
1401
acbd839a
JM
1402 * math/libm-test.inc (struct test_f_i_data): New type.
1403 (RUN_TEST_LOOP_f_i): New macro.
1404 (RUN_TEST_LOOP_f_i_tg): Likewise.
1405 (fpclassify_test_data): New variable.
1406 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
1407 (ilogb_test_data): New variable.
1408 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
1409
e414d745
JM
1410 * math/libm-test.inc (scalbln_test): Correct function name in END
1411 call.
1412
d9c2a0fd
JM
1413 * math/libm-test.inc (struct test_f_f1_data): Add comment.
1414 (RUN_TEST_LOOP_fI_f1): New macro.
1415 (frexp_test_data): New variable.
1416 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
1417
9dc9095d
JM
1418 * math/libm-test.inc (struct test_fF_f1_data): New type.
1419 (RUN_TEST_LOOP_fF_f1): New macro.
1420 (modf_test_data): New variable.
1421 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
1422
87aa21df
JM
1423 * math/libm-test.inc (struct test_f_f1_data): New type.
1424 (RUN_TEST_LOOP_f_f1): New macro.
1425 (gamma_test_data): New variable.
1426 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
1427 (lgamma_test_data): New variable.
1428 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
1429
141af660
CD
14302013-05-13 Carlos O'Donell <carlos@redhat.com>
1431
1432 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
1433 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
1434 (main): Comment "tls" pseudo-hwcap.
1435
6d33265c
JM
14362013-05-13 Joseph Myers <joseph@codesourcery.com>
1437
68fc074c
JM
1438 * math/libm-test.inc (struct test_fl_f_data): New type.
1439 (RUN_TEST_LOOP_fl_f): New variable.
1440 (scalbln_test_data): New variable.
1441 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
1442
243216e1
JM
1443 * math/libm-test.inc (struct test_fi_f_data): New type.
1444 (RUN_TEST_LOOP_fi_f): New macro.
1445 (ldexp_test_data): New variable.
1446 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
1447 (scalbn_test_data): New variable.
1448 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
1449
6a1992e2
JM
1450 * math/libm-test.inc (struct test_c_f_data): New type.
1451 (RUN_TEST_LOOP_c_f): New macro.
1452 (cabs_test_data): New variable.
1453 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
1454 (carg_test_data): New variable.
1455 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
1456 (cimag_test_data): New variable.
1457 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
1458 (creal_test_data): New variable.
1459 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
1460
0e400df5
JM
1461 * math/libm-test.inc (struct test_if_f_data): New type.
1462 (RUN_TEST_LOOP_if_f): New macro.
1463 (jn_test_data): New variable.
1464 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
1465 (yn_test_data): New variable.
1466 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
1467
6d33265c
JM
1468 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
1469
f98ece5f
AZ
14702013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1471
1472 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
1473 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
1474
0f7d347b
SP
14752013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1476
43fe811b
SP
1477 * benchtests/Makefile (CPPFLAGS-nonlib): Add
1478 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
1479 (bench-deps): Add bench-timing.h.
1480 * benchtests-bench-skeleton.c: Include bench-timing.h.
1481 (main): Use TIMING_* macros instead of clock_gettime.
1482 * benchtests/bench-timing.h: New file.
1483
0f7d347b
SP
1484 [BZ #14582]
1485 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
1486 Renamed from _LIB_VERSION.
1487 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
1488
601a3a5f
JM
14892013-05-12 Joseph Myers <joseph@codesourcery.com>
1490
4f184d30
JM
1491 * math/libm-test.inc (struct test_fff_f_data): New type.
1492 (RUN_TEST_LOOP_fff_f): New macro.
1493 (fma_test_data): New variable.
1494 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
1495 (fma_towardzero_test_data): New variable.
1496 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
1497 (fma_downward_test_data): New variable.
1498 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
1499 (fma_upward_test_data): New variable.
1500 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
1501
08198877
JM
1502 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
1503 (struct test_c_c_data): New type.
1504 (RUN_TEST_LOOP_c_c): New macro.
1505 (cacos_test_data): New variable.
1506 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
1507 (cacosh_test_data): New variable.
1508 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
1509 (casin_test_data): New variable.
1510 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
1511 (casinh_test_data): New variable.
1512 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
1513 (catan_test_data): New variable.
1514 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
1515 (catanh_test_data): New variable.
1516 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
1517 (ccos_test_data): New variable.
1518 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
1519 (ccosh_test_data): New variable.
1520 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
1521 (cexp_test_data): New variable.
1522 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
1523 (clog_test_data): New variable.
1524 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
1525 (clog10_test_data): New variable.
1526 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
1527 (conj_test_data): New variable.
1528 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
1529 (cproj_test_data): New variable.
1530 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
1531 (csin_test_data): New variable.
1532 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
1533 (csinh_test_data): New variable.
1534 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
1535 (csqrt_test_data): New variable.
1536 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
1537 (ctan_test_data): New variable.
1538 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
1539 (ctan_tonearest_test_data): New variable.
1540 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1541 (ctan_towardzero_test_data): New variable.
1542 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1543 (ctan_downward_test_data): New variable.
1544 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1545 (ctan_upward_test_data): New variable.
1546 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1547 (ctanh_test_data): New variable.
1548 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
1549 (ctanh_tonearest_test_data): New variable.
1550 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1551 (ctanh_towardzero_test_data): New variable.
1552 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1553 (ctanh_downward_test_data): New variable.
1554 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1555 (ctanh_upward_test_data): New variable.
1556 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1557 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
1558 of BUILD_COMPLEX.
1559
601a3a5f
JM
1560 * math/libm-test.inc (struct test_ff_f_data): New type.
1561 (struct test_ff_f_data_nexttoward): Likewise.
1562 (RUN_TEST_LOOP_2_f): New macro.
1563 (RUN_TEST_LOOP_ff_f): Likewise.
1564 (atan2_test_data): New variable.
1565 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
1566 (copysign_test_data): New variable.
1567 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
1568 (fdim_test_data): New variable.
1569 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
1570 (fmax_test_data): New variable.
1571 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
1572 (fmin_test_data): New variable.
1573 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
1574 (fmod_test_data): New variable.
1575 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
1576 (hypot_test_data): New variable.
1577 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
1578 (nextafter_test_data): New variable.
1579 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
1580 (nexttoward_test_data): New variable.
1581 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
1582 (pow_test_data): New variable.
1583 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
1584 (pow_tonearest_test_data): New variable.
1585 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
1586 (pow_towardzero_test_data): New variable.
1587 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
1588 (pow_downward_test_data): New variable.
1589 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
1590 (pow_upward_test_data): New variable.
1591 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
1592 (remainder_test_data): New variable.
1593 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
1594 (scalb_test_data): New variable.
1595 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
1596 * sysdeps/i386/fpu/libm-test-ulps: Update.
1597
74c57478
JM
15982013-05-11 Joseph Myers <joseph@codesourcery.com>
1599
8329e4da
JM
1600 * math/libm-test.inc (fma_test): Use max_value instead of local
1601 variable fltmax.
1602 (nextafter_test): Likewise.
1603
74c57478
JM
1604 * math/libm-test.inc (acos_towardzero_test_data): New variable.
1605 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1606 (acos_downward_test_data): New variable.
1607 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1608 (acos_upward_test_data): New variable.
1609 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1610 (acosh_test_data): New variable.
1611 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
1612 (asin_test_data): New variable.
1613 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
1614 (asin_tonearest_test_data): New variable.
1615 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1616 (asin_towardzero_test_data): New variable.
1617 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1618 (asin_downward_test_data): New variable.
1619 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1620 (asin_upward_test_data): New variable.
1621 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1622 (asinh_test_data): New variable.
1623 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
1624 (atan_test_data): New variable.
1625 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
1626 (atanh_test_data): New variable.
1627 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
1628 (cbrt_test_data): New variable.
1629 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
1630 (ceil_test_data): New variable.
1631 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
1632 (cos_test_data): New variable.
1633 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
1634 (cos_tonearest_test_data): New variable.
1635 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1636 (cos_towardzero_test_data): New variable.
1637 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1638 (cos_downward_test_data): New variable.
1639 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1640 (cos_upward_test_data): New variable.
1641 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1642 (cosh_test_data): New variable.
1643 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
1644 (cosh_tonearest_test_data): New variable.
1645 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1646 (cosh_towardzero_test_data): New variable.
1647 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1648 (cosh_downward_test_data): New variable.
1649 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1650 (cosh_upward_test_data): New variable.
1651 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1652 (erf_test_data): New variable.
1653 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
1654 (erfc_test_data): New variable.
1655 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
1656 (exp_test_data): New variable.
1657 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
1658 (exp_tonearest_test_data): New variable.
1659 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1660 (exp_towardzero_test_data): New variable.
1661 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1662 (exp_downward_test_data): New variable.
1663 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1664 (exp_upward_test_data): New variable.
1665 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1666 (exp10_test_data): New variable.
1667 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
1668 (exp2_test_data): New variable.
1669 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
1670 (expm1_test_data): New variable.
1671 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
1672 (fabs_test_data): New variable.
1673 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
1674 (floor_test_data): New variable.
1675 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
1676 (j0_test_data): New variable.
1677 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
1678 (j1_test_data): New variable.
1679 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
1680 (log_test_data): New variable.
1681 (log_test): Run tests with RUN_TEST_LOOP_f_f.
1682 (log10_test_data): New variable.
1683 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
1684 (log1p_test_data): New variable.
1685 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
1686 (log2_test_data): New variable.
1687 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
1688 (logb_test_data): New variable.
1689 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
1690 (logb_downward_test_data): New variable.
1691 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1692 (nearbyint_test_data): New variable.
1693 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
1694 (rint_test_data): New variable.
1695 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
1696 (rint_tonearest_test_data): New variable.
1697 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1698 (rint_towardzero_test_data): New variable.
1699 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1700 (rint_downward_test_data): New variable.
1701 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1702 (rint_upward_test_data): New variable.
1703 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1704 (round_test_data): New variable.
1705 (round_test): Run tests with RUN_TEST_LOOP_f_f.
1706 (sin_test_data): New variable.
1707 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
1708 (sin_tonearest_test_data): New variable.
1709 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1710 (sin_towardzero_test_data): New variable.
1711 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1712 (sin_downward_test_data): New variable.
1713 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1714 (sin_upward_test_data): New variable.
1715 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1716 (sinh_test_data): New variable.
1717 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
1718 (sinh_tonearest_test_data): New variable.
1719 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1720 (sinh_towardzero_test_data): New variable.
1721 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1722 (sinh_downward_test_data): New variable.
1723 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1724 (sinh_upward_test_data): New variable.
1725 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1726 (sqrt_test_data): New variable.
1727 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
1728 (tan_test_data): New variable.
1729 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
1730 (tan_tonearest_test_data): New variable.
1731 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1732 (tan_towardzero_test_data): New variable.
1733 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1734 (tan_downward_test_data): New variable.
1735 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1736 (tan_upward_test_data): New variable.
1737 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1738 (tanh_test_data): New variable.
1739 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
1740 (tgamma_test_data): New variable.
1741 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
1742 (trunc_test_data): New variable.
1743 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
1744 (y0_test_data): New variable.
1745 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
1746 (y1_test_data): New variable.
1747 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
1748 (significand_test_data): New variable.
1749 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
1750
7187d844
CG
17512013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
1752
1753 [BZ #12387]
1754 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
1755
f63fae73
PT
17562013-05-10 Pino Toscano <toscano.pino@tiscali.it>
1757
1758 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
1759
8a67a4b3
AJ
17602013-05-10 Andreas Jaeger <aj@suse.de>
1761
1762 [BZ #15448]
1763 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
1764 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
1765
51df539d
JM
17662013-05-10 Joseph Myers <joseph@codesourcery.com>
1767
1768 * math/gen-libm-test.pl (adjust_arg): New function.
1769 (special_functions): Handle generating output in both functions
1770 and arrays.
1771 (parse_args): Likewise.
1772 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
1773 $in_func argument to parse_args.
1774 * math/libm-test.inc (struct test_f_f_data): New type.
1775 (IF_ROUND_INIT_): New macro.
1776 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
1777 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1778 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1779 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1780 (ROUND_RESTORE_): Likewise.
1781 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
1782 (ROUND_RESTORE_FE_TONEAREST): Likewise.
1783 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
1784 (ROUND_RESTORE_FE_UPWARD): Likewise.
1785 (RUN_TEST_LOOP_f_f): New macro.
1786 (acos_test_data): New variable.
1787 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
1788 (acos_tonearest_test_data): New variable.
1789 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1790
5c637fe5
SP
17912013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1792
1793 * benchtests/bench-skeleton.c (startup): Fix coding style.
1794
ab2b9461
JM
17952013-05-10 Joseph Myers <joseph@codesourcery.com>
1796
1797 [BZ #6809]
1798 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
1799 negative infinity argument.
1800 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
1801 negative infinity argument.
1802 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
1803 negative infinity argument.
1804 * math/libm-test.inc (tgamma_test): Expect errno to be set for
1805 domain errors.
1806
4c0fe6fe
FW
18072013-05-10 Florian Weimer <fweimer@redhat.com>
1808
1809 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
1810 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
1811 * iconv/iconv_prog.c (main): Likewise.
1812 * locale/programs/charmap-dir.c (charmap_readdir)
1813 (fopen_uncompressed): Likewise.
1814 * locale/programs/locfile.c (siblings_uncached)
1815 (write_locale_data): Use lstat64 instead of lstat.
1816 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
1817 stat.
1818
a3375d29
AJ
18192013-05-10 Andreas Jaeger <aj@suse.de>
1820
1821 [BZ #15395]
1822 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
1823 localization.
1824 Include <locale.h>.
1825
36129722
CD
18262013-05-09 Carlos O'Donell <carlos@redhat.com>
1827
1828 * elf/dl-close.c (_dl_close_worker): Add comments.
1829
faa7f811
JM
18302013-05-09 Joseph Myers <joseph@codesourcery.com>
1831
ed41ffef
JM
1832 [BZ #15359]
1833 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
1834 high part of pi/2.
1835 (__ieee754_rem_pio2l): Update comments.
1836
d0213cd0
JM
1837 [BZ #15429]
1838 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
1839 high part of pi/2.
1840 (__ieee754_rem_pio2l): Update comments.
1841
0d3e777a
JM
1842 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
1843 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
1844
24f56066
JM
1845 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
1846 M_PI_4l.
1847
faa7f811
JM
1848 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
1849 (M_PI_34_LOG10El): Likewise.
1850 (M_PI2_LOG10El): Likewise.
1851 (M_PI4_LOG10El): Likewise.
1852 (M_PI_LOG10El): Likewise.
1853
e9a5e0fd
AZ
18542013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1855
1856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1857
d8cd06db
JM
18582013-05-08 Joseph Myers <joseph@codesourcery.com>
1859
a0d9f9d7
JM
1860 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
1861 (MINUS_ZERO_INIT): Likewise.
1862 (PLUS_INFTY_INIT): Likewise.
1863 (MINUS_INFTY_INIT): Likewise.
1864 (QNAN_VALUE_INIT): Likewise.
1865 (MAX_VALUE_INIT): Likewise.
1866 (MIN_VALUE_INIT): Likewise.
1867 (MIN_SUBNORM_VALUE_INIT): Likewise.
1868 (plus_zero): Initialize with PLUS_ZERO_INIT.
1869 (minus_zero): Initialize with MINUS_ZERO_INIT.
1870 (plus_infty): Initialize with PLUS_INFTY_INIT.
1871 (minus_infty): Initialize with MINUS_INFTY_INIT.
1872 (qnan_value): Initialize with QNAN_VALUE_INIT.
1873 (max_value): Initialize with MAX_VALUE_INIT.
1874 (min_value): Initialize with MIN_VALUE_INIT.
1875 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
1876
ae08db3b
JM
1877 * math/libm-test.inc (RUN_TEST_if_f): New macro.
1878 (jn_test): Use TEST_if_f instead of TEST_ff_f.
1879 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
1880 (yn_test): Use TEST_if_f instead of TEST_ff_f.
1881
f44bf14a
JM
1882 * math/libm-test.inc (RUN_TEST_f_f): New macro.
1883 (RUN_TEST_2_f): Likewise.
1884 (RUN_TEST_ff_f): Likewise.
1885 (RUN_TEST_fi_f): Likewise.
1886 (RUN_TEST_fl_f): Likewise.
1887 (RUN_TEST_fff_f): Likewise.
1888 (RUN_TEST_c_f): Likewise.
1889 (RUN_TEST_f_f1): Likewise.
1890 (RUN_TEST_fF_f1): Likewise.
1891 (RUN_TEST_fI_f1): Likewise.
1892 (RUN_TEST_ffI_f1): Likewise.
1893 (RUN_TEST_c_c): Likewise.
1894 (RUN_TEST_cc_c): Likewise.
1895 (RUN_TEST_f_i): Likewise.
1896 (RUN_TEST_f_i_tg): Likewise.
1897 (RUN_TEST_ff_i_tg): Likewise.
1898 (RUN_TEST_f_b): Likewise.
1899 (RUN_TEST_f_b_tg): Likewise.
1900 (RUN_TEST_f_l): Likewise.
1901 (RUN_TEST_f_L): Likewise.
1902 (RUN_TEST_sincos): Likewise.
1903 * math/gen-libm-test.pl (new_test): Take new argument to indicate
1904 whether to show exceptions. Do not include ");\n" in return
1905 value.
1906 (special_functions): Output call to RUN_TEST_sincos instead of
1907 check_float calls. Update calls to new_test.
1908 (parse_args): Output call to single RUN_TEST_* macro instead of
1909 check_* calls and other assignments. Update calls to new_test.
1910
d8cd06db
JM
1911 [BZ #2546]
1912 [BZ #2560]
1913 [BZ #5159]
1914 [BZ #15426]
1915 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
1916 input to result for tgamma overflow.
1917 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
1918 (gamma_coeff): New variable.
1919 (NCOEFF): New macro.
1920 (gamma_positive): New function.
1921 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
1922 underflow here. Use gamma_positive instead of exp (lgamma) for
1923 other arguments.
1924 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
1925 (gamma_coeff): New variable.
1926 (NCOEFF): New macro.
1927 (gammaf_positive): New function.
1928 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
1929 underflow here. Use gamma_positive instead of exp (lgamma) for
1930 other arguments.
1931 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
1932 (gamma_coeff): New variable.
1933 (NCOEFF): New macro.
1934 (gammal_positive): New function.
1935 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
1936 underflow here. Use gamma_positive instead of exp (lgamma) for
1937 other arguments.
1938 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
1939 (gamma_coeff): New variable.
1940 (NCOEFF): New macro.
1941 (gammal_positive): New function.
1942 (__ieee754_gammal_r): Handle positive infinity, overflow and
1943 underflow here. Handle NaN the same as positive infinity. Remove
1944 check x < 0xffffffff for negative integers. Use gamma_positive
1945 instead of exp (lgamma) for other arguments.
1946 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
1947 (gamma_coeff): New variable.
1948 (NCOEFF): New macro.
1949 (gammal_positive): New function.
1950 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
1951 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
1952 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1953 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
1954 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1955 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
1956 * sysdeps/generic/math_private.h (__gamma_productf): New
1957 prototype.
1958 (__gamma_product): Likewise.
1959 (__gamma_productl): Likewise.
1960 * math/Makefile (libm-calls): Add gamma_product.
1961 * math/libm-test.inc (tgamma_test): Add more tests.
1962 * sysdeps/i386/fpu/libm-test-ulps: Update.
1963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1964
bb7cf681
OB
19652013-05-08 Ondřej Bílka <neleai@seznam.cz>
1966
1967 * benchtests/bench-skeleton.c (main): Preheat CPU.
1968
ba853947
AJ
19692013-05-07 Aurelien Jarno <aurelien@aurel32.net>
1970
1971 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
1972
8347c74c
RM
19732013-05-07 Roland McGrath <roland@hack.frob.com>
1974
1975 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
1976 and _dl_skip_args_internal.
1977
e8dd4791
CD
19782013-05-07 Carlos O'Donell <carlos@redhat.com>
1979
1980 * manual/message.texi (Message Translation): Talk about users.
1981 Message to key mapping impacts design.
1982
c7405830
RM
19832013-05-06 Roland McGrath <roland@hack.frob.com>
1984
a9173057
RM
1985 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
1986
976e2f03
RM
1987 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
1988
9723ffc5
RM
1989 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
1990 * sysdeps/wordsize-64/glob64.c: ... here.
1991
962e6658
RM
1992 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
1993 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
1994 New macros.
1995
ee586a6d
RM
1996 * debug/getlogin_r_chk.c: Moved to ...
1997 * login/getlogin_r_chk.c: ... here.
1998 * debug/Makefile (routines): Move getlogin_r_chk to ...
1999 * login/Makefile (routines): ... here.
2000 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
2001 * login/Versions (libc: GLIBC_2.4): ... here.
2002
355f9165
RM
2003 * io/poll.c (__poll): Renamed from poll.
2004 Add libc_hidden_def.
2005 (poll): Define as weak alias.
2006
bd9ffde6
RM
2007 * debug/ptsname_r_chk.c: Moved to ...
2008 * login/ptsname_r_chk.c: ... here.
2009 * debug/Makefile (routines): Move ptsname_r_chk to ...
2010 * login/Makefile (routines): ... here.
2011 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
2012 * login/Versions (libc: GLIBC_2.4): ... here.
2013
8fb16a04
RM
2014 * posix/getlogin.c: Moved to ...
2015 * login/getlogin.c: ... here.
2016 * posix/getlogin_r.c: Moved to ...
2017 * login/getlogin_r.c: ... here.
2018 * posix/getlogin_r.c: Moved to ...
2019 * login/getlogin_r.c: ... here.
2020 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
2021 * login/Makefile (routines): ... here.
2022 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
2023 * login/Versions (libc: GLIBC_2.0): ... here.
2024
b99b892f
RM
2025 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
2026 (setrlimit): Define as weak alias.
2027
c7405830
RM
2028 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
2029 Call __ names for open, ftruncate, and close.
2030 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
2031 (truncate): Define as weak alias.
2032
5bf96de5
JM
20332013-05-06 Joseph Myers <joseph@codesourcery.com>
2034
9ea3513c
JM
2035 * math/gen-libm-test.pl (parse_args): Initialize x before each
2036 test of frexp, modf and remquo.
2037
5bf96de5
JM
2038 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
2039 test signgam value.
2040
16e616a7
AZ
20412013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2042
2043 [BZ #15418]
2044 [BZ #15419]
2045 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
2046 internal tests.
2047 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2048
d5e82754
RM
20492013-05-06 Roland McGrath <roland@hack.frob.com>
2050
2051 * elf/dl-writev.h: New file.
2052 * elf/dl-misc.c: Include it.
2053 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
2054 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
2055
a7548d41
JM
20562013-05-04 Joseph Myers <joseph@codesourcery.com>
2057
b7dab1e4
JM
2058 * math/libm-test.inc (noXFails): Remove variable.
2059 (noXPasses): Likewise.
2060 (BUILD_COMPLEX_INT): Remove macro.
2061 (print_screen): Remove xfail argument.
2062 (print_screen_max_error): Likewise.
2063 (update_stats): Likewise.
2064 (print_max_error): Likewise. Update calls to other affected
2065 functions.
2066 (print_complex_max_error): Likewise.
2067 (test_single_exception): Update calls to print_screen.
2068 (test_single_errno): Likewise.
2069 (check_float_internal): Remove xfail argument. Update calls to
2070 other affected functions.
2071 (check_float): Likewise.
2072 (check_complex): Likewise.
2073 (check_int): Likewise.
2074 (check_long): Likewise.
2075 (check_bool): Likewise.
2076 (check_longlong): Likewise.
2077 (main): Don't print noXFails and noXPasses.
2078 * math/gen-libm-test.pl (top level): Don't mention expected
2079 failure handling in comment.
2080 (new_test): Don't handle expected failures.
2081 (parse_args): Don't mention expected failure handling in comment.
2082 (generate_testfile): Don't handle expected failures.
2083 (parse_ulps): Likewise.
2084 (print_ulps_file): Likewise.
2085 (get_failure): Remove function.
2086 (output_test): Don't handle expected failures.
2087 * make/README.libm-test: Don't mention expected failure handling.
2088
a7548d41
JM
2089 * math/libm-test.inc (plus_zero): Make const. Add initializer.
2090 (minus_zero): Likewise.
2091 (plus_infty): Likewise.
2092 (minus_infty): Likewise.
2093 (qnan_value): Likewise.
2094 (max_value): Likewise.
2095 (min_value): Likewise.
2096 (min_subnorm_value): Likewise.
2097 (initialize): Do not initialize those variables dynamically.
2098
60bfd54c
RM
20992013-05-03 Roland McGrath <roland@hack.frob.com>
2100
cc0e6ed8
RM
2101 * io/open.c (__open_2): Moved to ...
2102 * io/open_2.c: ... this new file.
2103 * io/open64.c (__open64_2): Moved to ...
2104 * io/open64_2.c: ... this new file.
2105 * io/openat.c (__openat_2): Moved to ...
2106 * io/openat_2.c: ... this new file.
2107 * io/openat64.c (__openat64_2): Moved to ...
2108 * io/openat64_2.c: ... this new file.
2109 * io/Makefile (routines): Add them.
2110 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
2111 * sysdeps/unix/sysv/linux/open_2.c: File removed.
2112 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
2113 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
2114 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
2115 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
2116 (__openat64): Add hidden_ver.
2117 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
2118 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
2119
60bfd54c
RM
2120 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
2121 Separately conditionalize setting of GLRO(dl_sysinfo) so
2122 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
2123 as well, but the actual setting is only under [NEED_DL_SYSINFO].
2124
83e7640f
AZ
21252013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2126
2127 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
2128 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
2129 definition.
2130 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
2131 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2132 (_libc_vdso_platform_setup): Add __vdso_time initialization.
2133 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
2134 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
2135
d5dc2af3
JM
21362013-05-03 Joseph Myers <joseph@codesourcery.com>
2137
c31a5b1e
JM
2138 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
2139 test signgam value.
2140
d5dc2af3
JM
2141 * math/libm-test.inc (hypot_test): Do not use
2142 IGNORE_ZERO_INF_SIGN.
2143
164fd39d
AJ
21442013-05-03 Andreas Jaeger <aj@suse.de>
2145
2146 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
2147 Linux 3.9.
2148 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
2149 (PF_MAX): Adjust for VSOCK change.
2150
8237f48c
AZ
21512013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2152
2153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2154
9df02941
CD
21552013-05-02 Carlos O'Donell <carlos@redhat.com>
2156
2157 [BZ #15264]
2158 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
2159 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
2160 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
2161
d422395e
DM
21622013-05-02 David S. Miller <davem@davemloft.net>
2163
2164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2165
a07c5731
OB
21662013-05-01 Ondřej Bílka <neleai@seznam.cz>
2167
2168 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
2169
1324e37f
RM
21702013-05-01 Roland McGrath <roland@hack.frob.com>
2171
2172 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
2173
0695940b
RS
21742013-05-01 Richard Smith <richard@metafoo.co.uk>
2175
bb5f27ad 2176 [BZ #14952]
0695940b
RS
2177 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
2178 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2179 Use __attribute__ ((__gnu_inline__)).
2180 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2181 Don't use __attribute__ ((__gnu_inline__)).
2182
10de07f5
JM
21832013-05-01 Joseph Myers <joseph@codesourcery.com>
2184
2185 [BZ #15423]
2186 * math/s_catan.c (__catan): Handle small real or imaginary part of
2187 input specially to avoid spurious underflow.
2188 * math/s_catanf.c (__catanf): Likewise.
2189 * math/s_catanh.c (__catanh): Likewise.
2190 * math/s_catanhf.c (__catanhf): Likewise.
2191 * math/s_catanhl.c (__catanhl): Likewise.
2192 * math/s_catanl.c (__catanl): Likewise.
2193 * math/libm-test.inc (catan_test): Add more tests.
2194 (catanh_test): Likewise.
2195 * sysdeps/i386/fpu/libm-test-ulps: Update.
2196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2197
cb4d5414
AZ
21982013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2199
2200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2201
caf84319
JM
22022013-04-30 Joseph Myers <joseph@codesourcery.com>
2203
2204 [BZ #15416]
2205 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
2206 accurately for denominator in atan2.
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
d569c6ee
SP
22172013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2218
6dbe713d
SP
2219 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
2220
f0ee064b
SP
2221 * benchtests/Makefile (bench): Remove slow benchmarks.
2222 * benchtests/atan-inputs: Add slow benchmark inputs.
2223 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
2224 (BENCH_FUNC): Accept variant offset.
2225 (VARIANT): Define.
2226 * benchtests/bench-skeleton.c (main): Run benchmark for each
2227 variant.
2228 * benchtests/cos-inputs: Add slow benchmark inputs.
2229 * benchtests/exp-inputs: Likewise.
2230 * benchtests/pow-inputs: Likewise.
2231 * benchtests/sin-inputs: Likewise.
2232 * benchtests/slowatan-inputs: Remove.
2233 * benchtests/slowatan.c: Remove.
2234 * benchtests/slowcos-inputs: Remove.
2235 * benchtests/slowcos.c: Remove.
2236 * benchtests/slowexp-inputs: Remove.
2237 * benchtests/slowexp.c: Remove.
2238 * benchtests/slowpow-inputs: Remove.
2239 * benchtests/slowpow.c: Remove.
2240 * benchtests/slowsin-inputs: Remove.
2241 * benchtests/slowsin.c: Remove.
2242 * benchtests/slowtan-inputs: Remove.
2243 * benchtests/slowtan.c: Remove.
2244 * benchtests/tan-inputs: Add slow benchmark inputs.
2245 * scripts/bench.pl: Parse comments and directives.
2246
d569c6ee
SP
2247 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
2248 in CPPFLAGS.
2249 ($(objpfx)bench-%.c): Remove *-ITER.
2250 * benchtests/bench-modf.c: Remove definition of ITER.
2251 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
2252 (main): Loop for DURATION seconds instead of fixed number of
2253 iterations.
2254 * scripts/bench.pl: Don't expect iterations in parameters.
2255
a6a242fe
RM
22562013-04-29 Roland McGrath <roland@hack.frob.com>
2257
2258 * io/fchdir.c (__fchdir): Renamed from fchdir.
2259 (fchdir): Define as weak alias.
2260
f2da7793
JM
22612013-04-29 Joseph Myers <joseph@codesourcery.com>
2262
2263 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
2264 (ERRNO_EDOM): Likewise.
2265 (ERRNO_ERANGE): Likewise.
2266 (noErrnoTests): New variable.
2267 (init_max_error): Set errno to 0.
2268 (test_single_errno): New function.
2269 (test_errno): Likewise.
2270 (check_float_internal): Call test_errno. Set errno to 0.
2271 (check_complex): Refer to errno tests in comment.
2272 (check_int): Call test_errno. Set errno to 0.
2273 (check_long): Likewise.
2274 (check_bool): Likewise.
2275 (check_longlong): Likewise.
2276 (cos_test): Use ERRNO_* flags for errno tests instead of
2277 check_int.
2278 (expm1_test): Likewise.
2279 (fmod_test): Likewise.
2280 (ilogb_test): Likewise.
2281 (lgamma_test): Likewise.
2282 (pow_test): Likewise.
2283 (remainder_test): Likewise.
2284 (sin_test): Likewise.
2285 (tan_test): Likewise.
2286 (yn_test): Likewise.
2287 (initialize): Set errno to 0.
2288 (main): Print number of errno tests.
2289 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
2290
b1a36ceb
AJ
22912013-04-29 Andreas Jaeger <aj@suse.de>
2292
c3ed8088
AJ
2293 [BZ #15084]
2294 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
2295 and RES_USEVC.
2296
f1a24198
AJ
2297 [BZ #15085]
2298 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
2299 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
2300 unimplemented.
2301
9ce3b2cb
AJ
2302 [BZ #15380]
2303 * stdlib/random.c (__initstate): Return NULL if
2304 __initstate fails.
2305
f1a24198 2306 [BZ #15086]
b1a36ceb
AJ
2307 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
2308 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
2309 RES_SNGLKUPREOP.
2310
7e7b6f36
AZ
23112013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2312
2313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2314
4d14f449
JM
23152013-04-29 Joseph Myers <joseph@codesourcery.com>
2316
2317 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
2318 of individual tests.
2319 (casin_test): Likewise.
2320 (casinh_test): Likewise.
2321
5b4217d7
JM
23222013-04-27 Joseph Myers <joseph@codesourcery.com>
2323
2324 [BZ #15409]
2325 * math/s_catan.c (__catan): Handle arguments with large real or
2326 imaginary part separately without squaring.
2327 * math/s_catanf.c (__catanf): Likewise.
2328 * math/s_catanh.c (__catanh): Likewise.
2329 * math/s_catanhf.c (__catanhf): Likewise.
2330 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2331 and redefine.
2332 (__catanhl): Handle arguments with large real or imaginary part
2333 separately without squaring.
2334 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2335 and redefine.
2336 (__catanl): Handle arguments with large real or imaginary part
2337 separately without squaring.
2338 * math/libm-test.inc (catan_test): Add more tests.
2339 (catanh_test): Likewise.
2340 * sysdeps/i386/fpu/libm-test-ulps: Update.
2341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2342
4220c3ef
AJ
23432013-04-27 Andreas Jaeger <aj@suse.de>
2344
2345 [BZ #15007]
2346 * stdlib/stdlib.h: Update guards for qecvt.
2347 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
2348 <stdlib.h>.
2349
4721b2d1
AM
23502013-04-27 Allan McRae <allan@archlinux.org>
2351
2352 * sysdeps/i386/fpu/libm-test-ulps: Update.
2353
f0302940
JM
23542013-04-26 Joseph Myers <joseph@codesourcery.com>
2355
9457fd95
JM
2356 [BZ #15406]
2357 * math/s_catan.c: Include <float.h>.
2358 (__catan): Ensure underflow exception occurs for underflowed
2359 result.
2360 * math/s_catanf.c: Include <float.h>.
2361 (__catanf): Ensure underflow exception occurs for underflowed
2362 result.
2363 * math/s_catanh.c: Include <float.h>.
2364 (__catanh): Ensure underflow exception occurs for underflowed
2365 result.
2366 * math/s_catanhf.c: Include <float.h>.
2367 (__catanhf): Ensure underflow exception occurs for underflowed
2368 result.
2369 * math/s_catanhl.c: Include <float.h>.
2370 (__catanhl): Ensure underflow exception occurs for underflowed
2371 result.
2372 * math/s_catanl.c: Include <float.h>.
2373 (__catanl): Ensure underflow exception occurs for underflowed
2374 result.
2375 * math/libm-test.inc (catan_test): Add more tests.
2376 (catanh_test): Likewise.
2377
f0302940
JM
2378 [BZ #15405]
2379 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
2380 underflowed result.
2381 * math/s_ccoshf.c (__ccoshf): Likewise.
2382 * math/s_ccoshl.c (__ccoshl): Likewise.
2383 * math/s_csin.c (__csin): Likewise.
2384 * math/s_csinf.c (__csinf): Likewise.
2385 * math/s_csinh.c (__csinh): Likewise.
2386 * math/s_csinhf.c (__csinhf): Likewise.
2387 * math/s_csinhl.c (__csinhl): Likewise.
2388 * math/s_csinl.c (__csinl): Likewise.
2389 * math/libm-test.inc (ccos_test): Add more tests.
2390 (ccosh_test): Likewise.
2391 (csin_test): Likewise.
2392 (csinh_test): Likewise.
2393
aa630f59
AZ
23942013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2395
2396 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
2397 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
2398 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
2399 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
2400 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
2401 powerpc/power5+/fpu folders.
2402 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
2403
2404
1b835983
MT
24052013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2406
2407 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2408
73709b26
JM
24092013-04-25 Joseph Myers <joseph@codesourcery.com>
2410
2411 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
2412 additions to variable.
2413 [$(config-machine) = x86_64] (modules-names): Likewise.
2414 ($(objpfx)tst-audit3): Remove dependency.
2415 ($(objpfx)tst-audit3.out): Likewise.
2416 ($(objpfx)tst-audit4): Likewise.
2417 ($(objpfx)tst-audit4.out): Likewise.
2418 ($(objpfx)tst-audit5): Likewise.
2419 ($(objpfx)tst-audit5.out): Likewise.
2420 ($(objpfx)tst-audit6): Likewise.
2421 ($(objpfx)tst-audit6.out): Likewise.
2422 ($(objpfx)tst-audit7): Likewise.
2423 ($(objpfx)tst-audit7.out): Likewise.
2424 (tst-audit3-ENV): Remove variable.
2425 (tst-audit4-ENV): Likewise.
2426 (tst-audit5-ENV): Likewise.
2427 (tst-audit6-ENV): Likewise.
2428 (tst-audit7-ENV): Likewise.
2429 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
2430 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
2431 addition to variable.
2432 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
2433 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
2434 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
2435 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
2436 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
2437 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
2438 tst-audit3, tst-audit4 and tst-audit5.
2439 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
2440 tst-audit6 and tst-audit7.
2441 [$(subdir) = elf] (modules-names): Add audit modules for those
2442 tests.
2443 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
2444 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
2445 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
2446 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
2447 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
2448 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
2449 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
2450 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
2451 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
2452 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
2453 [$(subdir) = elf] (tst-audit3-ENV): New variable.
2454 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
2455 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
2456 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
2457 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
2458 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
2459 Likewise.
2460 [$(subdir) = elf && $(config-cflags-avx) = yes]
2461 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
2462 [$(subdir) = elf && $(config-cflags-avx) = yes]
2463 (CFLAGS-tst-auditmod4a.c): Likewise.
2464 [$(subdir) = elf && $(config-cflags-avx) = yes]
2465 (CFLAGS-tst-auditmod4b.c): Likewise.
2466 [$(subdir) = elf && $(config-cflags-avx) = yes]
2467 (CFLAGS-tst-auditmod6b.c): Likewise.
2468 [$(subdir) = elf && $(config-cflags-avx) = yes]
2469 (CFLAGS-tst-auditmod6c.c): Likewise.
2470 [$(subdir) = elf && $(config-cflags-avx) = yes]
2471 (CFLAGS-tst-auditmod7b.c): Likewise.
2472 * elf/tst-audit3.c: Move to ...
2473 * sysdeps/x86_64/tst-audit3.c: ... here.
2474 * elf/tst-audit4.c: Move to ...
2475 * sysdeps/x86_64/tst-audit4.c: ... here.
2476 * elf/tst-audit5.c: Move to ...
2477 * sysdeps/x86_64/tst-audit5.c: ... here.
2478 * elf/tst-audit6.c: Move to ...
2479 * sysdeps/x86_64/tst-audit6.c: ... here.
2480 * elf/tst-audit7.c: Move to ...
2481 * sysdeps/x86_64/tst-audit7.c: ... here.
2482 * elf/tst-auditmod3a.c: Move to ...
2483 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
2484 * elf/tst-auditmod3b.c: Move to ...
2485 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
2486 * elf/tst-auditmod4a.c: Move to ...
2487 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
2488 * elf/tst-auditmod4b.c: Move to ...
2489 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
2490 * elf/tst-auditmod5a.c: Move to ...
2491 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
2492 * elf/tst-auditmod5b.c: Move to ...
2493 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
2494 * elf/tst-auditmod6a.c: Move to ...
2495 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
2496 * elf/tst-auditmod6b.c: Move to ...
2497 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
2498 * elf/tst-auditmod6c.c: Move to ...
2499 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
2500 * elf/tst-auditmod7a.c: Move to ...
2501 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
2502 * elf/tst-auditmod7b.c: Move to ...
2503 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
2504
1ef74943
PP
25052013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
2506
2507 [BZ #15366]
2508 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
2509 define unconditionally.
2510 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
2511 define unconditionally.
2512 (INT8_C, INT16_C, etc.): Likewise.
2513
93fd48c5
MR
25142013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
2515
ae9552cf
MR
2516 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
2517 __ehdr_start with hidden visibility.
2518
93fd48c5
MR
2519 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
2520
418601aa
CD
25212013-04-24 Carlos O'Donell <carlos@redhat.com>
2522
2523 * math/libm-test.inc (cos_test): Use accurate hex constants.
2524 (sincost_test): Likewise.
2525
2f38fbfe
JM
25262013-04-24 Joseph Myers <joseph@codesourcery.com>
2527
5e221800
JM
2528 * math/libm-test.inc (catan_test): Add more tests.
2529 (catanh_test): Likewise.
2530
77f143fd
JM
2531 * math/s_catanf.c (__catanf): Use suffixed floating-point
2532 constants.
2533 * math/s_catanhf.c (__catanhf): Likewise.
2534 * math/s_catanhl.c (__catanhl): Likewise.
2535 * math/s_catanl.c (__catanl): Likewise.
2536
2f38fbfe
JM
2537 [BZ #15394]
2538 * math/s_catan.c (__catan): Calculate imaginary part of result
2539 with log1p not log unless computing log of number close to 0.
2540 * math/s_catanf.c (__catanf): Likewise.
2541 * math/s_catanl.c (__catanl): Likewise.
2542 * math/s_catanh.c (__catanh): Calculate real part of result with
2543 log1p not log unless computing log of number close to 0.
2544 * math/s_catanhf.c (__catanhf): Likewise.
2545 * math/s_catanhl.c (__catanhl): Likewise.
2546 * math/libm-test.inc (catan_test): Add more tests.
2547 (catanh_test): Likewise.
2548 * sysdeps/i386/fpu/libm-test-ulps: Update.
2549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2550
45d69176
SP
25512013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2552
2553 * benchtests/Makefile: Mention files in which fast and slow
2554 paths of math functions are implemented.
2555
87f51853
RM
25562013-04-23 Roland McGrath <roland@hack.frob.com>
2557
2558 * sysdeps/posix/timespec_get.c: New file.
2559
3c026539
AZ
25602013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2561
2562 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
2563 POWER.
2564 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
2565 for POWER.
2566 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
2567 powerpc/power5/fpu folders.
2568 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
2569 * benchtests/Makefile: Add modf testcase.
2570 * benchtests/bench-modf.c: New file: Benchmark test for mo
2571
ff491d14
SP
25722013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2573
2574 [BZ #14888]
2575 * time/Makefile (tests): Add tst-strptime-whitespace.
2576 * time/strptime_l.c (get_number): Use ISSPACE.
2577 (__strptime_internal): Likewise.
2578 * time/tst-strptime-whitespace.c: New test case.
2579
7ed3f4e8
AS
25802013-04-23 Andreas Schwab <schwab@linux-m68k.org>
2581
2582 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
2583 member.
2584 (_nss_files_init): Set it here.
2585
5c95f7b6
HC
25862013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
2587
2588 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
2589 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
2590 unsigned.
2591
d34c9158
JBG
25922013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
2593
2594 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
2595
2169712d
SP
25962013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2597
2598 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
2599 size just once.
2600
29c5de99
DM
26012013-04-21 David S. Miller <davem@davemloft.net>
2602
2603 * po/ru.po: Update Russion translation from translation project.
2604
ccdad15d
AC
26052013-04-17 Adam Conrad <adconrad@0c3.net>
2606
2607 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
2608 and setfsgid.
2609
0f122b8d
CD
26102013-04-17 Carlos O'Donell <carlos@redhat.com>
2611
5c5b07da 2612 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 2613 * configure: Regenerate.
5c5b07da 2614 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
2615 Add example to error message.
2616 * sysdeps/i386/configure: Regenerate.
2617
037714dd
SP
26182013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2619
2620 * benchtests/Makefile (bench): Add cos, tan, slowcos and
2621 slowtan.
2622 * benchtests/cos-inputs: New file.
2623 * benchtests/slowcos-inputs: New file.
2624 * benchtests/slowcos.c: New file.
2625 * benchtests/slowtan-inputs: New file.
2626 * benchtests/slowtan.c: New file.
2627 * benchtests/tan-inputs: New file.
2628
e913141d
RM
26292013-04-16 Roland McGrath <roland@hack.frob.com>
2630
2631 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
2632 considered kosher.
2633
a2964074
SP
26342013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2635
4856bcd2
SP
2636 * benchtests/Makefile: Include cppflags-iterator.mk to add
2637 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
2638
a2964074
SP
2639 * Makefile.in (bench-clean): New target.
2640 * benchtests/Makefile (bench-clean): Likewise.
2641
9fbf9aca
DH
26422013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
2643
2644 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
2645
207d1e2a
TS
26462013-04-15 Thomas Schwinge <thomas@codesourcery.com>
2647
2648 * stdio-common/tstdiomisc.c: Fix coding-style violation.
2649
306dfba9
AS
26502013-04-15 Andreas Schwab <schwab@suse.de>
2651
2652 * nscd/grpcache.c (cache_addgr): Properly check for short write.
2653 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2654 * nscd/pwdcache.c (cache_addpw): Likewise.
2655 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
2656 more than recsize.
2657
206a6699
SP
26582013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2659
2660 * benchtests/Makefile (bench): Write all output to
2661 bench-out.tmp together.
2662
0582f6b3
AS
26632013-04-15 Andreas Schwab <schwab@suse.de>
2664
2665 * nscd/nscd.c (main): Don't fork again after closing files.
2666
acb4325f
SP
26672013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2668
5cb26d0a
SP
2669 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
2670
acb4325f
SP
2671 * benchtests/Rules (bench-deps): Collect dependencies into a
2672 single variable. Add Makefile to dependencies.
2673 ($(objpfx)bench-%.c): Depend on bench-deps.
2674
47792506
RM
26752013-04-12 Roland McGrath <roland@hack.frob.com>
2676 Xavier Roche <roche+kml2@exalead.com>
2677
2678 [BZ #15361]
2679 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
2680 just that it's a file descriptor.
2681 * manual/llio.texi (Synchronizing AIO Operations): Update description
2682 for EBADF error from aio_fsync.
2683
8fc1bee5
SP
26842013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2685
2686 * Rules (bench): Move target definition...
2687 * benchtests/Makefile: ... here.
2688
aba5e333
CD
26892013-04-11 Carlos O'Donell <carlos@redhat.com>
2690
2691 * math/libm-test.inc (cos_test): Fix PI/2 test.
2692 (sincos_test): Likewise.
2693 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2694 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2695
273cdee8
AS
26962013-04-11 Andreas Schwab <schwab@suse.de>
2697
6ecec3b6
AS
2698 [BZ #13988]
2699 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
2700 accept exponent character only when digits were seen.
2701 * stdio-common/Makefile (tests): Add bug26.
2702 * stdio-common/bug26.c: New file.
2703
273cdee8
AS
2704 [BZ #14293]
2705 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
2706 non-freeable.
2707
8da491f5
SP
27082013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2709
01dc6df9
SP
2710 * Makeconfig (rtld-prefix): Define built linker prefix.
2711 * Rules (run-bench): Use it.
2712 * math/Makefile (run-regen-ulps): Likewise.
2713
8da491f5
SP
2714 * Rules (bench): Remove eval.
2715
abe7f530
SP
27162013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2717 Roland McGrath <roland@hack.frob.com>
2718 Ondrej Bilka <neleai@seznam.cz>
2719
2720 [BZ #15346]
2721 * time/getdate.c: Include ctype.h and alloca.h.
2722 (__getdate_r): Trim leading and trailing spaces of input.
2723 * time/tst-getdate.c (tests): Add tests with leading and
2724 trailing spaces.
2725
61c23e62
RM
27262013-04-08 Roland McGrath <roland@hack.frob.com>
2727
2728 [BZ #14280]
2729 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
2730 when computing value.
2731
7208a313
CD
27322013-04-06 Carlos O'Donell <carlos@redhat.com>
2733
085b2d41
CD
2734 * math/README.libm-test (How can I generate "libm-test-ulps"?):
2735 Use testrun.sh to run libm tests.
2736
7208a313
CD
2737 [BZ #15309]
2738 * elf/dl-open.c (dl_open_worker): memset all of seen array.
2739
872c0acd
MM
27402013-04-06 Marko Myllynen <myllynen@redhat.com>
2741
2742 [BZ #15264]
2743 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
2744
26510bdd
CD
27452013-04-06 Carlos O'Donell <carlos@redhat.com>
2746
2747 * Makefile.in (regen-ulps): New target.
2748 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
2749 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
2750 [ifneq (no,$(PERL)] (regen-ulps): New target.
2751 [ifeq (no,$(PERL)] (regen-ulps): New target.
2752 * math/libm-test.inc (ulps_file_name): Define.
2753 (output_dir): New variable.
2754 (options): Add "output-dir" option.
2755 (parse_opt): Handle 'o' case.
2756 (main): If output_dir is non-NULL use it as a prefix
2757 otherwise use "".
2758 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
2759
a01f19c8
CD
27602013-04-06 Carlos O'Donell <carlos@redhat.com>
2761
2762 [BZ #10060, #10062]
2763 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
2764 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
2765 fail configure if __sync_val_compare_and_swap is not inlined.
2766 * sysdeps/i386/configure: Regenerate.
2767 * configure.in: Build for i686 when configured for i386.
2768 * configure: Regenerate.
2769 * README: Remove i386 reference.
2770
b7a329a5
CD
27712013-04-06 Carlos O'Donell <carlos@redhat.com>
2772
2773 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
2774 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2775
bf0f50df
TS
27762013-04-05 Thomas Schwinge <thomas@codesourcery.com>
2777
ee091edf
TS
2778 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
2779 (lmsnanval): New variables.
2780 (F): Add conversion tests.
2781 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
2782 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
2783
a8b792d6
TS
2784 * stdio-common/tstdiomisc.c (F): Properly collect individual
2785 tests' results.
2786
a1cbf437
TS
2787 [BZ #14686, #15336]
2788 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
2789 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2790 Instead, use input NaN values or generate a qNaN by arithmetic
2791 operation. Also fix bugs to comply with the standard.
2792 * math/libm-test.inc (remainder_test): Add more tests.
2793
8b43a0c9
TS
2794 [BZ #15335, #15342]
2795 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
2796 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
2797 input NaN values or generate a qNaN by arithmetic operation.
2798
d91da4ce
TS
2799 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
2800 unreachable code.
2801
bf0f50df
TS
2802 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
2803 definitions.
2804
05e166c8
JM
28052013-04-03 Joseph Myers <joseph@codesourcery.com>
2806
2807 [BZ #14478]
2808 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
2809 underflowed result.
2810 * math/s_cexpf.c (__cexpf): Likewise.
2811 * math/s_cexpl.c (__cexpl): Likewise.
2812 * math/libm-test.inc (cexp_test): Add more tests.
2813
1cef1b19
AS
28142013-04-03 Andreas Schwab <schwab@suse.de>
2815
2816 [BZ #15330]
2817 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
2818 order arrays from heap if bigger than alloca cutoff.
2819
74d87055
TS
28202013-04-03 Thomas Schwinge <thomas@codesourcery.com>
2821
2822 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
2823 (SNAN_TESTS_double): Refer to GCC PR56831.
2824 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
2825 GCC PR56828.
2826
d755bba4
SP
28272013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2828
90d5d5bb
SP
2829 * Rules (bench): Move bench.out after the run is complete.
2830
73e0cd5d
SP
2831 * Rules (bench): Echo currently running benchmark.
2832
64aabd4b
SP
2833 * benchtests/Makefile (bench): Add atan and slowatan.
2834 * benchtests/atan-inputs: New file.
2835 * benchtests/slowatan-inputs: New file.
2836 * benchtests/slowatan.c: New file.
2837
c871eccd
SP
2838 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
2839 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
2840 its value.
2841
d755bba4
SP
2842 [BZ #15305]
2843 * sysdeps/unix/sysv/linux/kernel-features.h
2844 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
2845 __ASSUME_XFS_RESTRICTED_CHOWN.
2846 * sysdeps/unix/sysv/linux/pathconf.c
2847 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2848 Save and restore errno.
2849
52ce4860
JM
28502013-04-02 Joseph Myers <joseph@codesourcery.com>
2851
2852 [BZ #15327]
2853 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
2854 arguments using __kernel_casinh.
2855 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
2856 arguments using __kernel_casinhf.
2857 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
2858 arguments using __kernel_casinhl.
2859 * math/libm-test.inc (cacosh_test): Add more tests.
2860 * sysdeps/i386/fpu/libm-test-ulps: Update.
2861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2862
81f311c2
SP
28632013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2864
e7906a47
SP
2865 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
2866 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
2867
92e3664b
SP
2868 * bench/Makefile (bench): Add sin and slowsin.
2869 * benchtests/sin-inputs: New file.
2870 * benchtests/slowsin-inputs: New file.
2871 * benchtests/slowsin.c: New file.
2872
81f311c2
SP
2873 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
2874 (bench): Add slowexp and slowpow.
2875 (exp-ITER): Increase iterations.
2876 (pow-ITER): Likewise.
2877 * benchtests/exp-inputs: Change input.
2878 * benchtests/pow-inputs: Likewise.
2879 * benchtests/slowexp-inputs: New file.
2880 * benchtests/slowexp.c: New file.
2881 * benchtests/slowpow-inputs: New file.
2882 * benchtests/slowpow.c: New file.
2883
ab0f1aa9
AZ
28842013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2885
2886 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
2887 instructions.
2888 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2889 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2890 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2891 * benchtests/Makefile: Add rint benchtest.
2892 * benchtests/rint-inputs: Input for rint benchtest.
2893
57267616
TS
28942013-04-02 Thomas Schwinge <thomas@codesourcery.com>
2895
2896 * Versions.def (libm): Add GLIBC_2.18.
2897 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
2898 hidden libm prototypes.
2899 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
2900 * math/Makefile (libm-calls): Add s_issignaling.
2901 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
2902 __issignalingf, __issignalingl. Adjust all libm.abilist files.
2903 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
2904 declaration.
2905 * math/math.h [__USE_GNU] (issignaling): New macro.
2906 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
2907 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
2908 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
2909 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
2910 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2911 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
2912 * manual/arith.texi (issignaling): New section.
2913 * manual/libm-err-tab.pl (@all_functions): Update comment.
2914 * math/gen-libm-test.pl (parse_args): Apply special handling for
2915 issignaling.
2916 * math/libm-test.inc (print_float, issignaling_test): New
2917 functions.
2918 (check_float_internal): Add issignaling checks.
2919 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
2920 default definition.
2921 * sysdeps/powerpc/math-tests.h: New file.
2922 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
2923 tests.
2924 * math/test-snan.c (TEST_FUNC): Likewise.
2925
6142896d
DM
29262013-03-30 David S. Miller <davem@davemloft.net>
2927
2928 * po/de.po: Update from translation team.
2929
ccc8cadf
JM
29302013-03-30 Joseph Myers <joseph@codesourcery.com>
2931
2932 [BZ #10357]
2933 * math/k_casinh.c (__kernel_casinh): Handle arguments with
2934 imaginary part less than 1.0 and real part less than 0.5
2935 specially.
2936 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2937 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2938 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
2939 (cacos_test): Add more tests.
2940 (casin_test): Likewise.
2941 (casinh_test): Likewise.
2942 * sysdeps/i386/fpu/libm-test-ulps: Update.
2943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2944
0f6a8d4b
SP
29452013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2946
0d1029de
SP
2947 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
2948 ONE with its value.
2949
c2d94018
SP
2950 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
2951 (__pow_mp): Replace ONE and MONE with their values.
2952 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2953 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
2954 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2955 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
2956 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2957 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2958
27ec37f1
SP
2959 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
2960
a64d7e0e
SP
2961 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
2962 (__pow_mp): Replace ZERO and MZERO with their values.
2963 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
2964 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2965 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2966 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2967 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2968 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
2969 (__sqr): Likewise.
2970
d26dd3eb
SP
2971 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
2972
0f6a8d4b
SP
2973 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
2974
e57b0c61
RM
29752013-03-28 Roland McGrath <roland@hack.frob.com>
2976
2977 * include/stdlib.h [!SHARED] (__call_tls_dtors):
2978 Declare with __attribute__ ((weak)).
2979 * stdlib/exit.c (__libc_atexit) [!SHARED]:
2980 Call __call_tls_dtors only if it's not NULL.
2981
356b3480
RM
29822013-03-28 Roland McGrath <roland@hack.frob.com>
2983
288f7d79
RM
2984 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
2985 didn't do it already, then set _dl_phdr and _dl_phnum based on the
2986 magic __ehdr_start linker symbol if it's defined.
2987 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
2988 them up here if it was already done.
2989
dc0a0263
RM
2990 * elf/dl-support.c (_dl_phdr): Make pointer to const.
2991 (_dl_aux_init): Use const in cast when setting it.
2992 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
2993 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
2994 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
2995
3d3436ae
RM
2996 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
2997 Declare them here.
2998 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
2999 * csu/libc-tls.c: Nor here.
3000 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
3001
356b3480
RM
3002 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
3003 (__libc_message): Never call vsyslog.
3004
b0f1246a
AM
30052013-03-28 Alan Modra <amodra@gmail.com>
3006
3007 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
3008 Define as empty.
3009 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
3010 Likewise.
3011
fbbe2b9a
AZ
30122013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3013
3014 [BZ #15214]
3015 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
3016 underflow.
3017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3018
1728ab37
SP
30192013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3020
7a86be6e
SP
3021 [BZ #15304]
3022 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3023 Don't add gid passed as argument.
3024
1728ab37
SP
3025 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
3026
3a7182a1
JM
30272013-03-27 Joseph Myers <joseph@codesourcery.com>
3028
3029 [BZ #15307]
3030 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3031 imaginary part between 1.0 and 1.5 and real part less than 0.5
3032 specially.
3033 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3034 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3035 * math/libm-test.inc (cacos_test): Add more tests.
3036 (casin_test): Likewise.
3037 (casinh_test): Likewise.
3038 * sysdeps/i386/fpu/libm-test-ulps: Update.
3039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3040
6f2e90e7
SP
30412013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3042
5739f705
SP
3043 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
3044 constants.
3045 (norm): Likewise.
3046 (denorm): Likewise.
3047 (__dbl_mp): Likewise.
3048 (add_magnitudes): Likewise.
3049 (sub_magnitudes): Likewise.
3050 (__add): Likewise.
3051 (__sub): Likewise.
3052 (__mul): Likewise.
3053 (__sqr): Likewise.
3054 (__inv): Likewise.
3055 (__dvd): Likewise.
3056
e375e83d
SP
3057 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
3058 commented code.
3059 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
3060 (__dubcos): Likewise.
3061 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
3062 (__ieee754_acos): Likewise.
3063 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3064 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
3065 (__exp1): Likewise.
3066 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3067 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3068 (log1): Likewise.
3069 (my_log2): Likewise.
3070 (checkint): Likewise.
3071 * sysdeps/ieee754/dbl-64/e_remainder.c
3072 (__ieee754_remainder): Likewise.
3073 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3074 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3075 (bsloww): Likewise.
3076 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3077
6f2e90e7
SP
3078 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3079 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
3080 MANTISSA_STORE_T to store computations on mantissa. Use
3081 macros for rounding and division.
3082 (denorm): Likewise.
3083 (__dbl_mp): Likewise.
3084 (add_magnitudes): Likewise.
3085 (sub_magnitudes): Likewise.
3086 (__mul): Likewise.
3087 (__sqr): Likewise.
3088 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3089 powers of two in terms of TWOPOW macro.
3090 (mp_no): Make type of mantissa as MANTISSA_T.
3091 [!RADIXI]: Define RADIXI.
3092 [!TWO52]: Define TWO52.
3093 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3094
fce14d4e
AZ
30952013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3096
3097 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
3098 llroundl symbol when building for PPC32.
3099
9ad027fb
MW
31002013-03-24 Mark H Weaver <mhw@netris.org>
3101
3102 * manual/arith.texi (Normalization Functions): Fix prototypes for
3103 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
3104
e42a38dd
AZ
31052013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3106
3107 [BZ #13889]
3108 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
3109 high value to check if expl overflow.
3110 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
3111 to check for underflow and overflow.
3112 * math/libm-test.inc: Add exp test.
3113
2e0fb521
DL
31142013-03-21 Dmitry V. Levin <ldv@altlinux.org>
3115
3116 [BZ #11120]
3117 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
3118 with NOT_IN_libc.
3119
b5784d95
AZ
31202013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3121
3122 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
3123 symbol.
3124
5aa4a1a1
TS
31252013-03-21 Thomas Schwinge <thomas@codesourcery.com>
3126
bdef0be7
TS
3127 * math/gen-libm-test.pl (parse_args, special_functions): Properly
3128 wrap blocks consisting of several statements.
3129
5aa4a1a1
TS
3130 * sysdeps/generic/math-tests.h: New file.
3131 * sysdeps/i386/fpu/math-tests.h: Likewise.
3132 * math/test-snan.c: Include it.
3133 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
3134
98c48fe5
JM
31352013-03-21 Joseph Myers <joseph@codesourcery.com>
3136
3137 [BZ #15285]
3138 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
3139 (__ieee754_j0l): Do not improve calculations using cos of twice
3140 input for inputs above LDBL_MAX / 2.0L.
3141 (__ieee754_y0l): Likewise.
3142 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
3143 (__ieee754_j1l): Do not improve calculations using cos of twice
3144 input for inputs above LDBL_MAX / 2.0L.
3145 (__ieee754_y1l): Likewise.
3146 * math/libm-test.inc (j0_test): Add another test.
3147 (j1_test): Likewise.
3148 (y0_test): Likewise.
3149 (y1_test): Likewise.
3150 * sysdeps/i386/fpu/libm-test-ulps: Update.
3151
3775a8bc
SP
31522013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3153
3154 * Rules ($(objpfx)bench-%.c): Include code from a C source
3155 file.
3156
0a1b2ae6
JM
31572013-03-21 Joseph Myers <joseph@codesourcery.com>
3158
3159 [BZ #15287]
3160 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3161 imaginary part 1.0 and real part less than 0.5 specially.
3162 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3163 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3164 * math/libm-test.inc (cacos_test): Add more tests.
3165 (casin_test): Likewise.
3166 (casinh_test): Likewise.
3167 * sysdeps/i386/fpu/libm-test-ulps: Update.
3168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3169
b33d4ce4
SP
31702013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3171
3172 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
3173 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
3174
bef0b507
JM
31752013-03-20 Joseph Myers <joseph@codesourcery.com>
3176
3177 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
3178 * config.make.in (config-cflags-sse4): Remove variable.
3179 (config-cflags-avx): Likewise.
3180 (config-cflags-sse2avx): Likewise.
3181 (config-cflags-novzeroupper): Likewise.
3182 (config-asflags-i686): Likewise.
3183 (have-mfma4): Likewise.
3184 (have-as-vis3): Likewise.
3185 (MIG): Likewise.
3186 * configure.in (MIG): Do not AC_SUBST.
3187 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
3188 (libc_cv_cc_sse4): Do not AC_SUBST.
3189 (libc_cv_cc_avx): Likewise.
3190 (libc_cv_cc_sse2avx): Likewise.
3191 (libc_cv_cc_novzeroupper): Likewise.
3192 (libc_cv_cc_fma4): Likewise.
3193 (libc_cv_as_i686): Likewise.
3194 (libc_cv_sparc_as_vis3): Likewise.
3195 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
3196 LIBC_CONFIG_VAR.
3197 (config-asflags-i686): Likewise.
3198 (config-cflags-avx): Likewise.
3199 (config-cflags-sse2avx): Likewise.
3200 (have-mfma4): Likewise.
3201 (config-cflags-novzeroupper): Likewise.
3202 * sysdeps/mach/configure.in (MIG): Likewise.
3203 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
3204 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
3205 LIBC_CONFIG_VAR.
3206 (config-cflags-avx): Likewise.
3207 (config-cflags-sse2avx): Likewise.
3208 (have-mfma4): Likewise.
3209 (config-cflags-novzeroupper): Likewise.
3210 * configure: Regenerated.
3211 * sysdeps/i386/configure: Likewise.
3212 * sysdeps/mach/configure: Likewise.
3213 * sysdeps/sparc/configure: Likewise.
3214 * sysdeps/x86_64/configure: Likewise.
3215
912cc4b3
RM
32162013-03-20 Roland McGrath <roland@hack.frob.com>
3217
3218 [BZ #14812]
3219 * locale/programs/localedef.c (options): Put N_ translation marker
3220 on argument names, not just descriptions.
3221
04eed2b0
MS
32222013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3223
3224 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
3225
a065ceff
OB
32262013-03-20 Ondřej Bílka <neleai@seznam.cz>
3227
9bb2a810 3228 [BZ #14176]
a065ceff
OB
3229 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
3230
a600e5ce
RM
32312013-03-19 Roland McGrath <roland@hack.frob.com>
3232
3233 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
3234 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
3235 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
3236 [!BEFORE_ABORT] (before_abort): New function.
3237 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
3238 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
3239 (writev_for_fatal): New function.
3240 (WRITEV_FOR_FATAL): New macro; call that.
3241 (backtrace_and_maps): New function.
3242 (BEFORE_ABORT): New macro; call that.
3243 (struct str_list): Type removed.
3244 (__libc_message, __libc_fatal): Functions removed.
3245 Include <sysdeps/posix/libc_fatal.c> instead.
3246
6b18bea6
JM
32472013-03-19 Joseph Myers <joseph@codesourcery.com>
3248
3249 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
3250 constants.
3251 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
3252 double constants.
3253
aaa8cb4b
AS
32542013-03-19 Andreas Schwab <schwab@suse.de>
3255
44673770
AS
3256 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
3257 * sysdeps/gnu/configure: Regenerate.
3258
aaa8cb4b
AS
3259 * configure.in: Substitute libc_cv_rtlddir.
3260 * configure: Regenerate.
3261 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
3262 * Makeconfig (rtlddir, inst_rtlddir): New variables.
3263 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
3264 * elf/Makefile (install-others, CFLAGS-interp.c)
3265 (ldso_install, common-ldd-rewrite): Likewise.
3266 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
3267 $(inst_slibdir)/$(rtld-installed-name).
3268 * scripts/rellns-sh: Add -p option.
3269 * Makerules (make-shlib-link): Use rellns-sh to get relative name
3270 for source.
3271
d3cfc668
SP
32722013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3273
3274 * manual/nptl.texi: Renamed to ...
3275 * manual/threads.texi: ... this.
3276 * manual/Makefile (chapters): Update.
3277
0e2b9cdd
RM
32782013-03-18 Roland McGrath <roland@hack.frob.com>
3279
3280 [BZ #14812]
3281 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
3282 on argument names, not just descriptions.
0e2b9cdd
RM
3283 * malloc/memusagestat.c (options): Likewise.
3284 * nss/getent.c (options): Likewise.
63270c24
RM
3285
32862013-03-18 Benno Schulenberg <bensberg@justemail.net>
3287
3288 [BZ #14812]
3289 * iconv/iconv_prog.c (options): Put N_ translation marker
3290 on argument names, not just descriptions.
3291 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 3292
b2e1393c
OB
32932013-03-18 Ondrej Bilka <neleai@seznam.cz>
3294
3295 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
3296 implementation which is faster on all x86_64 architectures.
3297 Tested on AMD, Intel Nehalem, SNB, IVB.
3298 * sysdeps/x86_64/strnlen.S: Likewise.
3299
3300 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3301 Remove all multiarch strlen and strnlen versions.
3302 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
3303 Remove strlen and strnlen related parts.
3304
3305 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
3306 Inline strlen part.
3307 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3308
3309 * sysdeps/x86_64/multiarch/strlen.S: Remove.
3310 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
3311 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
3312 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
3313 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3314 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
3315
ec4ff04d
CD
33162013-03-17 Carlos O'Donell <carlos@redhat.com>
3317
3318 * manual/memory.texi (Malloc Tunable Parameters):
3319 Sort parameters alphabetically. Add comments for missing entries.
3320
cd18e90a
DM
33212013-03-17 David S. Miller <davem@davemloft.net>
3322
3323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3324
2a185d32
JM
33252013-03-16 Joseph Myers <joseph@codesourcery.com>
3326
d2f9799e
JM
3327 [BZ #15283]
3328 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
3329 for arguments at most half maximum finite value.
3330 * math/libm-test.inc (j0_test): Add more tests.
3331 (j1_test): Likewise.
3332 (y0_test): Likewise.
3333 (y1_test): Likewise.
3334 * sysdeps/i386/fpu/libm-test-ulps: Update.
3335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3336
2a185d32
JM
3337 [BZ #14155]
3338 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
3339 1 / x and functions P and Q for arguments above 0x1p256L.
3340 (__ieee754_y0l): Likewise.
3341 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
3342 (__ieee754_y1l): Likewise.
3343 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
3344 (j1_test): Likewise.
3345 (y0_test): Likewise.
3346 (y1_test): Likewise.
3347
6cbec759
TS
33482013-03-16 Thomas Schwinge <thomas@codesourcery.com>
3349
3350 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
3351 variable.
3352
bc16e260
RM
33532013-03-15 Roland McGrath <roland@hack.frob.com>
3354
aefc9b8c
RM
3355 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
3356 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
3357 zero since it's initialized to EXEC_PAGESIZE.
3358
bc16e260
RM
3359 * sysdeps/unix/sysv/linux/ldsodefs.h
3360 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
3361 * sysdeps/generic/ldsodefs.h: ... here.
3362
a57da955
TS
33632013-03-15 Thomas Schwinge <thomas@codesourcery.com>
3364
af00a34d
TS
3365 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
3366
495ded2c
TS
3367 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
3368 math/test-snan.c.
3369 * math/test-snan.c: Renamed from
3370 sysdeps/powerpc/fpu/test-powerpc-snan.c.
3371 * math/Makefile (tests): Add test-snan.
3372 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
3373 test-powerpc-snan.
3374
777b0332
TS
3375 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
3376 SUFFIX. Initialize qNaN_var with __builtin_nan family of
3377 functions.
3378 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
3379 __builtin_nan family of functions.
3380 * math/libm-test.inc (initialize): Initialize qnan_value with
3381 __builtin_nan family of functions.
3382 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
3383 Remove variables.
3384 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
3385 Remove functions.
3386 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
3387 storage class. Initialize qNaN_var and sNaN_var with
3388 __builtin_nan and __builtin_nans families of functions,
3389 respectively.
3390
64d063b8
TS
3391 * math/libm-test.inc (acosh_test): Also test with qNaN input.
3392 (sqrt_test): Remove duplicate test with qNaN input.
3393 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
3394 (round_test, signbit_test, significand_test): Note missing +/-Inf
3395 as well as qNaN tests.
3396
67e971f1
TS
3397 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
3398 qNaN_var. Fix a few strings, too.
3399 * math/libm-test.inc (nan_value): Rename to qnan_value.
3400 * math/gen-libm-test.pl (%beautify): Adjust to that.
3401 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
3402 * math/test-misc.c (main): Likewise.
3403 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
3404 to __qnan_bytes, and __qnan_union, respectively.
3405 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
3406 Likewise.
3407 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
3408 and lqnanval, respectively.
3409 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
3410 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
3411 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
3412 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
3413
64487e12
TS
3414 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
3415 * math/test-misc.c (main) [__x86_64__]: Enable test for long
3416 doubles.
3417
e015e27b
TS
3418 * math/test-misc.c (main): Fix copy'n'pastos.
3419 * misc/tst-efgcvt.c (special): Likewise.
3420
a57da955
TS
3421 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
3422 Remove declarations.
3423
1e380345
SP
34242013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3425
3426 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
3427 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
3428 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
3429 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
3430
ef26eece
AZ
34312013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3432
3433 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
3434 macro to return vdso values correctly in IFUNC implementations.
3435 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3436 Optimization by using IFUNC.
3437
8cfdb7e0
SP
34382013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3439 Richard Henderson <rth@redhat.com>
3440 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3441
3442 * Makefile.in (bench): New target.
3443 * NEWS: Mention the benchmark framework.
3444 * Rules (bench): Likewise.
3445 (binaries-bench): Generate binaries for functions to
3446 benchmark.
3447 * benchtests/Makefile: New makefile for benchmark tests.
3448 * benchtests/bench-skeleton.c: New skeleton file for benchmark
3449 programs.
3450 * benchtests/exp-inputs: New input file for EXP function.
3451 * benchtests/pow-inputs: New input file for POW function.
3452 * scripts/bench.pl: New script to generate source files for
3453 benchmark programs.
3454
bcda9880
SP
34552013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3456
d22ca8cd
SP
3457 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3458 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
3459 computations on mantissa. Use macros for rounding and
3460 division.
3461 (denorm): Likewise.
3462 (__dbl_mp): Likewise.
3463 (add_magnitudes): Likewise.
3464 (sub_magnitudes): Likewise.
3465 (__mul): Likewise.
3466 (__sqr): Likewise.
3467 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3468 powers of two in terms of TWOPOW macro.
3469 (mp_no): Make type of mantissa as MANTISSA_T.
3470 [!RADIXI]: Define RADIXI.
3471 [!TWO52]: Define TWO52.
3472 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3473
bcda9880
SP
3474 * manual/nptl.texi (cindex): Modify threads to pthreads.
3475
06d5adfb
JM
34762013-03-15 Joseph Myers <joseph@codesourcery.com>
3477
3478 * sysdeps/x86_64/preconfigure: Regenerated.
3479
41c7328e
JM
34802013-03-14 Joseph Myers <joseph@codesourcery.com>
3481
3482 [BZ #14155]
3483 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
3484 0x1p28 and above.
3485 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
3486 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
3487 0x1p28 and above.
3488 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
3489 * math/libm-test.inc (j0_test): Do not allow one spurious
3490 underflow exception.
3491 (y1_test): Likewise.
3492
e25cfa60
SP
34932013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3494
0409959c
SP
3495 * manual/Makefile (chapters): Add nptl.
3496 * manual/debug.texi (Debugging Support): Add link to Threads
3497 chapter.
3498 * manual/nptl.texi: New file.
3499
e25cfa60
SP
3500 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
3501
58a1335e
PB
35022013-03-14 Petr Baudis <pasky@ucw.cz>
3503
3504 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
3505 for non-NULL pointer before the memory validity test. Pointed
3506 out by Holger Brunck <holger.brunck@keymile.com>.
3507
9dc7c64f
AS
35082013-03-13 Andreas Schwab <schwab@suse.de>
3509
3510 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
3511 instead of .os.
3512
54206aa6
JM
35132013-03-13 Joseph Myers <joseph@codesourcery.com>
3514
3515 * timezone/zic.c: Update from tzcode 2013b.
3516
e98cdb38
CD
35172013-03-12 Carlos O'Donell <carlos@redhat.com>
3518
3519 * manual/install.texi (Configuring and compiling):
3520 Mention i686 and i586.
3521 * INSTALL: Regenerate.
3522
9967e003
RM
35232013-03-12 Roland McGrath <roland@hack.frob.com>
3524
3525 * sysdeps/init_array/elf-init.c: New file.
3526 * csu/elf-init.c
3527 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
3528 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
3529
3530 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
3531 __gmon_start__ as global, but as static with a .preinit_array pointer.
3532 * sysdeps/init_array/gmon-start.c: New file. Use that.
3533 * sysdeps/init_array/crti.S: New file, empty except for comments.
3534 * sysdeps/init_array/crtn.S: Likewise.
3535
e6b5a293 35362013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
3537
3538 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
3539 definining bcopy.
80f844c9
OB
3540 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3541 Remove Prefer_SSE_for_memop.
3542 * sysdeps/x86_64/multiarch/init-arch.h: Remove
3543 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
3544 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
3545 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3546 memset-x86-64.
80f844c9 3547 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 3548 Remove bzero, memset ifunc support.
80f844c9
OB
3549 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
3550 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
3551 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3552 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3553
fb6b0fcb
AS
35542013-03-11 Andreas Schwab <schwab@suse.de>
3555
3556 [BZ #15234]
3557 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
3558 by SHLIB_COMPAT.
3559 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
3560 (GLIBC_2.16): Remove pthread_atfork.
3561
3e6bd4b1
PP
35622013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3563
3564 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
3565 (ptestcases.h): Likewise.
3566
222d7f00
RM
35672013-03-08 Roland McGrath <roland@hack.frob.com>
3568
3569 * Makeconfig ($(common-objpfx)config.status): Depend on
3570 sysdeps/*/preconfigure{,.in} too.
3571
1ba4f030
JM
35722013-03-08 Joseph Myers <joseph@codesourcery.com>
3573
a222d91a
JM
3574 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
3575 (__free_hook): Use void * instead of __malloc_ptr_t.
3576 (__malloc_hook): Likewise.
3577 (__realloc_hook): Likewise.
3578 (__memalign_hook): Likewise.
3579 (__after_morecore_hook): Likewise.
3580 * malloc/arena.c (save_malloc_hook): Likewise.
3581 (save_free_hook): Likewise.
3582 * malloc/hooks.c (malloc_hook_ini): Likewise.
3583 (realloc_hook_ini): Likewise.
3584 (memalign_hook_ini): Likewise.
3585 * malloc/malloc.c (malloc_hook_ini): Likewise.
3586 (realloc_hook_ini): Likewise.
3587 (memalign_hook_ini): Likewise.
3588 (__free_hook): Likewise.
3589 (__malloc_hook): Likewise.
3590 (__realloc_hook): Likewise.
3591 (__memalign_hook): Likewise.
3592 (__libc_malloc): Likewise.
3593 (__libc_free): Likewise.
3594 (__libc_realloc): Likewise.
3595 (__libc_memalign): Likewise.
3596 (__libc_valloc): Likewise.
3597 (__libc_pvalloc): Likewise.
3598 (__libc_calloc): Likewise.
3599 (__posix_memalign): Likewise.
3600 * malloc/morecore.c (__sbrk): Likewise.
3601 (__default_morecore): Likewise.
3602
5cc45e10
JM
3603 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
3604
dd54b864
JM
3605 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
3606 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
3607 __malloc_ptrdiff_t.
3608
1ba4f030
JM
3609 * malloc/malloc.h (__malloc_size_t): Remove macro.
3610 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
3611 __malloc_size_t.
3612 (old_memalign_hook): Likewise.
3613 (old_realloc_hook): Likewise.
3614 (struct hdr): Likewise.
3615 (flood): Likewise.
3616 (mallochook): Likewise.
3617 (memalignhook): Likewise.
3618 (reallochook): Likewise.
3619 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
3620 (tr_old_realloc_hook): Likewise.
3621 (tr_old_memalign_hook): Likewise.
3622 (tr_mallochook): Likewise.
3623 (tr_reallochook): Likewise.
3624 (tr_memalignhook): Likewise.
3625
edf66e57
AZ
36262013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3627
3628 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
3629 default_ldbl_pack and using as default implementation.
3630 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
3631 implementation.
3632 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
3633 redundant definition.
3634 (ldbl_insert_mantissa): Likewise.
3635 (ldbl_canonicalize): Likewise.
3636 (ldbl_nearbyint): Likewise.
3637 (ldbl_pack): Rename to ldbl_pack_ppc.
3638 (ldbl_unpack): Rename to ldbl_unpack_ppc.
3639 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
3640 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
3641
6d9145d8
SP
36422013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3643
3644 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
3645 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
3646 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
3647 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
3648 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
3649 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
3650 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
3651 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
3652
4dd4e157
AJ
36532013-03-07 Andreas Jaeger <aj@suse.de>
3654
3655 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3656 bits/mman-linux.h.
3657
adbb8027
SP
36582013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3659
ce544b5b
SP
3660 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
3661 Include mpa.h and declare __MPEXP.
3662 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
3663 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3664 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3665 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
3666 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3667 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3668 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
3669
4cc149fd
SP
3670 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
3671 (__slowpow): Use long double EXPL and LOGL functions to
3672 compute POW.
3673 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3674 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3675 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
3676 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3677 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3678 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
3679
e6ebd4a7
SP
3680 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
3681 intermediate variable to calculate exponent.
3682 (__sqr): Likewise.
3683 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3684 Likewise.
3685 (__sqr): Likewise.
3686
82a9811d
SP
3687 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
3688 [!NO__SQR]: Define __sqr.
3689 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
3690 and NO__SQR. Remove all code except __mul and __sqr. Include
3691 sysdeps/ieee754/dbl-64/mpa.c.
3692 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3693
adbb8027
SP
3694 [BZ #12723]
3695 * posix/Makefile (tests): Add tst-pathconf.
3696 * posix/tst-pathconf.c: New test case.
3697 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
3698 _PC_PIPE_BUF.
3699 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
3700
39120df9
PF
37012013-03-06 Patsy Franklin <pfrankli@redhat.com>
3702
3703 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
3704
67525cb8
AJ
37052013-03-06 Andreas Jaeger <aj@suse.de>
3706
664a9ce4
AJ
3707 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
3708 definition via __MAP_ANONYMOUS.
3709
8e39047d
AJ
3710 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
3711 it's not part of Linux headers.
3712
67525cb8
AJ
3713 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
3714 (MAP_HUGE_MASK): Define.
3715
3716 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3717 Define.
3718 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3719 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3720 Define.
3721 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3722 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3723 Define.
3724 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3725 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
3726 Define.
3727 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3728
3729 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
3730 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
3731 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
3732 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
3733 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
3734 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
3735
3736 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
3737 Handle f2fs.
3738
3739 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3740 Handle f2fs and efivarfs.
3741
3742 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
3743 f2fs.
3744
3745 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
3746 (EFIVARFS_MAGIC): Add.
3747 (F2FS_LINK_MAX): Add.
3748
e1b42695
PP
37492013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3750
3751 * stdio-common/vfprintf.c: Replace __builtin_expect with
3752 __glibc_unlikely.
3753
2d67d91a
JM
37542013-03-06 Joseph Myers <joseph@codesourcery.com>
3755
3756 [BZ #13550]
3757 * sysdeps/generic/bp-sym.h: Remove file.
3758 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
3759 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
3760 <bp-sym.h> and <bp-asm.h>.
3761 (__longjmp): Don't use BP_SYM.
3762 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
3763 and <bp-asm.h>.
3764 (memcpy): Don't use BP_SYM.
3765 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
3766 <bp-sym.h> and <bp-asm.h>.
3767 (memcpy): Don't use BP_SYM.
3768 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
3769 <bp-asm.h>.
3770 (memcpy): Don't use BP_SYM.
3771 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
3772 <bp-asm.h>.
3773 (memset): Don't use BP_SYM.
3774 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3775 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3776 (__bzero): Don't use BP_SYM.
3777 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3778 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3779 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
3780 <bp-sym.h> and <bp-asm.h>.
3781 (memcmp): Don't use BP_SYM. Remove comment about bounded
3782 pointers.
3783 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
3784 <bp-sym.h> and <bp-asm.h>.
3785 (memcpy): Don't use BP_SYM.
3786 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
3787 <bp-sym.h> and <bp-asm.h>.
3788 (memset): Don't use BP_SYM.
3789 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3790 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3791 (__bzero): Don't use BP_SYM.
3792 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3793 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3794 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
3795 <bp-sym.h> and <bp-asm.h>.
3796 (strncmp): Don't use BP_SYM. Remove comment about bounded
3797 pointers.
3798 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
3799 <bp-sym.h> and <bp-asm.h>.
3800 (memcpy): Don't use BP_SYM.
3801 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
3802 <bp-sym.h> and <bp-asm.h>.
3803 (memset): Don't use BP_SYM.
3804 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3805 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3806 (__bzero): Don't use BP_SYM.
3807 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3808 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3809 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
3810 <bp-sym.h> and <bp-asm.h>.
3811 (__memchr): Don't use BP_SYM.
3812 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
3813 <bp-sym.h> and <bp-asm.h>.
3814 (memcmp): Don't use BP_SYM. Remove comment about bounded
3815 pointers.
3816 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
3817 <bp-sym.h> and <bp-asm.h>.
3818 (memcpy): Don't use BP_SYM.
3819 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
3820 <bp-sym.h> and <bp-asm.h>.
3821 (__mempcpy): Don't use BP_SYM.
3822 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
3823 <bp-sym.h> and <bp-asm.h>.
3824 (__memrchr): Don't use BP_SYM.
3825 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
3826 <bp-sym.h> and <bp-asm.h>.
3827 (memset): Don't use BP_SYM.
3828 (__bzero): Likewise.
3829 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
3830 <bp-sym.h> and <bp-asm.h>.
3831 (__rawmemchr): Don't use BP_SYM.
3832 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
3833 <bp-sym.h> and <bp-asm.h>.
3834 (__STRCMP): Don't use BP_SYM.
3835 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
3836 <bp-sym.h> and <bp-asm.h>.
3837 (strchr): Don't use BP_SYM.
3838 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
3839 <bp-sym.h> and <bp-asm.h>.
3840 (__strchrnul): Don't use BP_SYM.
3841 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
3842 <bp-sym.h> and <bp-asm.h>.
3843 (strlen): Don't use BP_SYM.
3844 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
3845 <bp-sym.h> and <bp-asm.h>.
3846 (strncmp): Don't use BP_SYM. Remove comment about bounded
3847 pointers.
3848 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
3849 <bp-sym.h> and <bp-asm.h>.
3850 (__strnlen): Don't use BP_SYM.
3851 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
3852 <bp-sym.h> and <bp-asm.h>.
3853 (__GI__setjmp): Don't use BP_SYM.
3854 (_setjmp): Likewise.
3855 (__sigsetjmp): Likewise.
3856 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
3857 (L(start_addresses)): Don't use BP_SYM.
3858 (_start): Likewise.
3859 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
3860 <bp-asm.h>.
3861 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
3862 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
3863 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3864 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3865 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
3866 <bp-asm.h>.
3867 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
3868 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
3869 about bounded pointers.
3870 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3871 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3872 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
3873 <bp-asm.h>.
3874 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3875 about bounded pointers. Remove GKM FIXME comments.
3876 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3877 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
3878 <bp-asm.h>.
3879 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
3880 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
3881 Remove GKM FIXME comments.
3882 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3883 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3884 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
3885 <bp-asm.h>.
3886 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3887 about bounded pointers. Remove GKM FIXME comment.
3888 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
3889 and <bp-asm.h>.
3890 (strncmp): Don't use BP_SYM. Remove comment about bounded
3891 pointers.
3892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
3893 <bp-sym.h> and <bp-asm.h>.
3894 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
3895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
3896 <bp-sym.h> and <bp-asm.h>.
3897 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
3898 comment.
3899
cdcf361f
PP
39002013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3901
3902 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
3903 call free(NULL).
3904
3c4a2b15
DM
39052013-03-05 David S. Miller <davem@davemloft.net>
3906
3907 * po/es.po: Update from translation team.
3908
cdcf361f 39092013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
3910
3911 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
3912 <bits/mman-linux.h>.
3913 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3914 is fine.
3915 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
3916 <bits/mman-linux.h> to end of file.
3917 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3918 is fine.
3919 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
3920 <bits/mman-linux.h> to end of file.
3921 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3922 is fine.
3923 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
3924 <bits/mman-linux.h> to end of file.
3925
3926 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
3927 (MCL_CURRENT, MCL_FUTURE): Define here.
3928
5f67c04f
AK
39292013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3930
8a4473cc 3931 [BZ #15232]
5f67c04f
AK
3932 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
3933 attribute_hidden.
3934 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3935
c3e94a95
AK
39362013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3937
3938 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
3939 fourth parameter needed for rt_sigprocmask syscall.
3940 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3941 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3942 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3943 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3944 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3945 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
3946
cfb6382a
JM
39472013-03-04 Joseph Myers <joseph@codesourcery.com>
3948
3949 [BZ #13550]
3950 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
3951 comment about bounded pointers.
3952 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
3953 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
3954
539d8e01
AJ
39552013-03-04 Andreas Jaeger <aj@suse.de>
3956
3957 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
3958 common definitions.
3959
3960 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
3961 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
3962 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
3963 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3964 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
3965 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3966
2e167a70 39672013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
3968
3969 [BZ #15055]
3970 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3971 __ieee754_sqrl instead of __sqrl.
3972
68508633
JM
39732013-03-01 Joseph Myers <joseph@codesourcery.com>
3974
3975 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
3976 * sysdeps/powerpc/fpu_control.h: ... here.
3977 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
3978 * sysdeps/powerpc/bits/fenvinline.h: ... here.
3979 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
3980 * sysdeps/powerpc/bits/mathinline.h: ... here.
3981
7775448e
RM
39822013-03-01 Roland McGrath <roland@hack.frob.com>
3983
3984 * elf/dl-hwcaps.c (_dl_important_hwcaps):
3985 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
3986 to just [NEED_DL_SYSINFO_DSO].
3987 * elf/dl-support.c: Likewise.
3988 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3989 * elf/rtld.c (dl_main): Likewise.
3990 * elf/setup-vdso.h (setup_vdso): Likewise.
3991 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
3992 * sysdeps/unix/sysv/linux/dl-sysdep.c
3993 (_dl_discover_osversion): Likewise.
3994
4e9b5995
CD
39952013-03-01 Carlos O'Donell <carlos@redhat.com>
3996
3997 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
3998 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
3999
e23872c8
SP
40002013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4001
e5c74c63
SP
4002 * NEWS: Mention libm performance improvements and non-x86 PI
4003 futex support.
4004
e23872c8
SP
4005 * csu/libc-start.c (__pthread_initialize_minimal): Change
4006 function arguments.
4007 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4008
b5510883
JM
40092013-02-28 Joseph Myers <joseph@codesourcery.com>
4010
4011 [BZ #13550]
4012 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
4013 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
4014 <bp-sym.h> and <bp-asm.h>.
4015 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4016 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
4017 and <bp-asm.h>.
4018 (memcpy): Don't use BP_SYM.
4019 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
4020 <bp-asm.h>.
4021 (__mpn_add_n): Don't use BP_SYM.
4022 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
4023 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
4024 and <bp-asm.h>.
4025 (__mpn_addmul_1): Don't use BP_SYM.
4026 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4027 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
4028 <bp-sym.h>.
4029 (_setjmp): Don't use BP_SYM.
4030 (__novmx_setjmp): Likewise.
4031 (__GI__setjmp): Likewise.
4032 (__vmx_setjmp): Likewise.
4033 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
4034 <bp-sym.h>.
4035 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
4036 (__bzero): Don't use BP_SYM.
4037 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4038 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4039 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
4040 <bp-sym.h> and <bp-asm.h>.
4041 (memcpy): Don't use BP_SYM.
4042 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
4043 <bp-sym.h> and <bp-asm.h>.
4044 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4045 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
4046 <bp-sym.h> and <bp-asm.h>.
4047 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4048 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
4049 <bp-asm.h>.
4050 (__mpn_lshift): Don't use BP_SYM.
4051 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4052 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
4053 <bp-asm.h>.
4054 (memset): Don't use BP_SYM.
4055 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4056 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4057 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
4058 <bp-asm.h>.
4059 (__mpn_mul_1): Don't use BP_SYM.
4060 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4061 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
4062 <bp-sym.h> and <bp-asm.h>.
4063 (memcmp): Don't use BP_SYM.
4064 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
4065 <bp-sym.h> and <bp-asm.h>.
4066 (memcpy): Don't use BP_SYM.
4067 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
4068 <bp-sym.h> and <bp-asm.h>.
4069 (memset): Don't use BP_SYM.
4070 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
4071 <bp-sym.h> and <bp-asm.h>.
4072 (strncmp): Don't use BP_SYM.
4073 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
4074 <bp-sym.h> and <bp-asm.h>.
4075 (memcpy): Don't use BP_SYM.
4076 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
4077 <bp-sym.h> and <bp-asm.h>.
4078 (memset): Don't use BP_SYM.
4079 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
4080 <bp-sym.h> and <bp-asm.h>.
4081 (__memchr): Don't use BP_SYM.
4082 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
4083 <bp-sym.h> and <bp-asm.h>.
4084 (memcmp): Don't use BP_SYM.
4085 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
4086 <bp-sym.h> and <bp-asm.h>.
4087 (memcpy): Don't use BP_SYM.
4088 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
4089 <bp-sym.h> and <bp-asm.h>.
4090 (__mempcpy): Don't use BP_SYM.
4091 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
4092 <bp-sym.h> and <bp-asm.h>.
4093 (__memrchr): Don't use BP_SYM.
4094 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
4095 <bp-sym.h> and <bp-asm.h>.
4096 (memset): Don't use BP_SYM.
4097 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
4098 <bp-sym.h> and <bp-asm.h>.
4099 (__rawmemchr): Don't use BP_SYM.
4100 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
4101 <bp-sym.h> and <bp-asm.h>.
4102 (__STRCMP): Don't use BP_SYM.
4103 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
4104 <bp-sym.h> and <bp-asm.h>.
4105 (strchr): Don't use BP_SYM.
4106 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
4107 <bp-sym.h> and <bp-asm.h>.
4108 (__strchrnul): Don't use BP_SYM.
4109 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
4110 <bp-sym.h> and <bp-asm.h>.
4111 (strlen): Don't use BP_SYM.
4112 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
4113 <bp-sym.h> and <bp-asm.h>.
4114 (strncmp): Don't use BP_SYM.
4115 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
4116 <bp-sym.h> and <bp-asm.h>.
4117 (__strnlen): Don't use BP_SYM.
4118 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
4119 <bp-asm.h>.
4120 (__mpn_rshift): Don't use BP_SYM.
4121 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4122 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
4123 <bp-sym.h> and <bp-asm.h>.
4124 (__sigsetjmp): Don't use BP_SYM.
4125 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
4126 (L(start_addresses)): Don't use BP_SYM.
4127 (_start): Likewise.
4128 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
4129 <bp-asm.h>.
4130 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
4131 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4132 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4133 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
4134 <bp-asm.h>.
4135 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
4136 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4137 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4138 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
4139 <bp-asm.h>.
4140 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4141 comments.
4142 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4143 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
4144 <bp-asm.h>.
4145 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
4146 FIXME comments.
4147 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4148 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4149 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
4150 <bp-asm.h>.
4151 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4152 comment.
4153 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
4154 and <bp-asm.h>.
4155 (strncmp): Don't use BP_SYM,
4156 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
4157 <bp-asm.h>.
4158 (__mpn_sub_n): Don't use BP_SYM.
4159 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4160 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
4161 and <bp-asm.h>.
4162 (__mpn_submul_1): Don't use BP_SYM.
4163 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
4165 <bp-sym.h> and <bp-asm.h>.
4166 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
4168 <bp-sym.h> and <bp-asm.h>.
4169 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4170 comment.
4171
8d19fe64
SP
41722013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4173
4174 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
4175 Use ZK to minimize writes to Z.
4176 (sub_magnitudes): Simplify code a bit.
4177 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
4178 Use ZK to minimize writes to Z.
4179 (sub_magnitudes): Simplify code a bit.
4180
85bd816a
RM
41812013-02-27 Roland McGrath <roland@hack.frob.com>
4182
4183 * csu/gmon-start.c: Add special exception to license text.
4184
b5977bf2
RH
41852013-02-27 Richard Henderson <rth@redhat.com>
4186
4187 * scripts/config.guess: Update from config.git.
4188 * scripts/config.sub: Likewise.
4189
11d6e2f2
SP
41902013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4191
09c14ed2
SP
4192 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
4193
a688864e
SP
4194 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
4195
6295157a
SP
4196 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
4197
b8de2202
SP
4198 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
4199
11d6e2f2
SP
4200 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
4201
7e80ddb8
RM
42022013-02-26 Roland McGrath <roland@hack.frob.com>
4203
4204 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
4205 [$(build-shared = yes].
7e80ddb8 4206
7da6d9ed
SP
42072013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4208
45f05884
SP
4209 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
4210 (__mul): Reduce iterations for calculating mantissa.
4211
2236d359
SP
4212 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
4213 MPTWO.
4214 (__mpranred): Likewise.
4215
7da6d9ed
SP
4216 [BZ #15160]
4217 * malloc/memusagestat.c (main): Draw graphs for heap and stack
4218 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
4219
b7688c42
PE
42202013-02-26 Paul Eggert <eggert@cs.ucla.edu>
4221
4222 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
4223 Define __attribute__.
4224
53a5c423
SP
42252013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4226
4227 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
4228 unused.
4229 * posix/regex_internal.h (__attribute): Remove.
4230 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
4231 (re_string_context_at): Likewise.
4232 (bitset_not): Use __attribute__ and mark function as possibly
4233 unused.
4234 (bitset_merge): Likewise.
4235 (bitset_mask): Likewise.
4236 (re_string_char_size_at): Likewise.
4237 (re_string_wchar_at): Likewise.
4238 (re_string_elem_size_at): Likewise.
4239
60f5a8b5
SP
42402013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4241
2a983a2e
SP
4242 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
4243 code.
4244 (cc32): Likewise.
4245
e69804d1
SP
4246 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
4247 (__acr): Likewise.
4248 (__cpy): Likewise.
4249 (norm): Likewise.
4250 (denorm): Likewise.
4251 (__dbl_mp): Likewise.
4252 (add_magnitudes): Likewise.
4253 (sub_magnitudes): Likewise.
4254 (__mul): Likewise.
4255 (__inv): Likewise.
4256
2f22a1e8
SP
4257 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
4258 style.
4259
8930ddc7
SP
4260 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
4261 style.
4262
dc60cb11
SP
4263 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
4264 code.
4265
60f5a8b5
SP
4266 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
4267 up changes with default code.
4268 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
4269 Likewise.
4270
b4d1fd33
AM
42712013-02-24 Allan McRae <allan@archlinux.org>
4272
faf6f8bc
AM
4273 * manual/socket.texi (The Internet Namespace): Order menu items
4274 to match that in the file.
4275
b4d1fd33
AM
4276 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
4277 node listing of the info page menu.
4278
2366713d
JM
42792013-02-21 Joseph Myers <joseph@codesourcery.com>
4280
4281 [BZ #13550]
4282 * sysdeps/i386/bp-asm.h: Remove file.
4283 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4284 (PARMS): Do not use macros from bp-asm.h.
4285 (S1): Likewise.
4286 (S2): Likewise.
4287 (SIZE): Likewise.
4288 (__mpn_add_n): Do not use BP_SYM
4289 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
4290 "bp-asm.h".
4291 (PARMS): Do not use macros from bp-asm.h.
4292 (S1): Likewise.
4293 (SIZE): Likewise.
4294 (__mpn_addmul_1): Do not use BP_SYM
4295 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
4296 "bp-asm.h".
4297 (PARMS): Do not use macros from bp-asm.h.
4298 (SIGMSK): Likewise.
4299 (_setjmp): Likewise. Do not use BP_SYM.
4300 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
4301 "bp-asm.h".
4302 (PARMS): Do not use macros from bp-asm.h.
4303 (SIGMSK): Likewise.
4304 (setjmp): Likewise. Do not use BP_SYM.
4305 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
4306 "bp-asm.h".
4307 (PARMS): Do not use macros from bp-asm.h.
4308 (__frexp): Do not use BP_SYM.
4309 (frexp): Likewise.
4310 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
4311 "bp-asm.h".
4312 (PARMS): Do not use macros from bp-asm.h.
4313 (__frexpf): Do not use BP_SYM.
4314 (frexpf): Likewise.
4315 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
4316 "bp-asm.h".
4317 (PARMS): Do not use macros from bp-asm.h.
4318 (__frexpl): Do not use BP_SYM.
4319 (frexpl): Likewise.
4320 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
4321 "bp-asm.h".
4322 (PARMS): Do not use macros from bp-asm.h.
4323 (__remquo): Do not use BP_SYM.
4324 (remquo): Likewise.
4325 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
4326 "bp-asm.h".
4327 (PARMS): Do not use macros from bp-asm.h.
4328 (__remquof): Do not use BP_SYM.
4329 (remquof): Likewise.
4330 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
4331 "bp-asm.h".
4332 (PARMS): Do not use macros from bp-asm.h.
4333 (__remquol): Do not use BP_SYM.
4334 (remquol): Likewise.
4335 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
4336 "bp-asm.h".
4337 (PARMS): Do not use macros from bp-asm.h.
4338 (DEST): Likewise.
4339 (SRC): Likewise.
4340 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
4341 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
4342 "bp-asm.h".
4343 (PARMS): Do not use macros from bp-asm.h.
4344 (strlen): Do not use BP_SYM.
4345 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
4346 "bp-asm.h".
4347 (PARMS): Do not use macros from bp-asm.h.
4348 (S1): Likewise.
4349 (S2): Likewise.
4350 (SIZE): Likewise.
4351 (__mpn_add_n): Do not use BP_SYM.
4352 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
4353 "bp-asm.h".
4354 (PARMS): Do not use macros from bp-asm.h.
4355 (S1): Likewise.
4356 (SIZE): Likewise.
4357 (__mpn_addmul_1): Do not use BP_SYM.
4358 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
4359 weak_alias.
4360 (bzero): Likewise.
4361 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
4362 "bp-asm.h".
4363 (PARMS): Do not use macros from bp-asm.h.
4364 (S): Likewise.
4365 (SIZE): Likewise.
4366 (__mpn_lshift): Do not use BP_SYM.
4367 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
4368 "bp-asm.h".
4369 (PARMS): Do not use macros from bp-asm.h.
4370 (DEST): Likewise.
4371 (SRC): Likewise.
4372 (LEN): Likewise.
4373 (memcpy): Likewise. Do not use BP_SYM.
4374 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
4375 libc_hidden_def and weak_alias.
4376 (mempcpy): Do not use BP_SYM in weak_alias.
4377 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
4378 "bp-asm.h".
4379 (PARMS): Do not use macros from bp-asm.h.
4380 (DEST): Likewise.
4381 (LEN): Likewise.
4382 [!BZERO_P] (CHR): Likewise.
4383 (memset): Likewise. Do not use BP_SYM.
4384 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
4385 "bp-asm.h".
4386 (PARMS): Do not use macros from bp-asm.h.
4387 (S1): Likewise.
4388 (SIZE): Likewise.
4389 (__mpn_mul_1): Do not use BP_SYM.
4390 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
4391 "bp-asm.h".
4392 (PARMS): Do not use macros from bp-asm.h.
4393 (S): Likewise.
4394 (SIZE): Likewise.
4395 (__mpn_rshift): Do not use BP_SYM.
4396 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
4397 "bp-asm.h".
4398 (PARMS): Do not use macros from bp-asm.h.
4399 (STR): Likewise.
4400 (CHR): Likewise.
4401 (strchr): Likewise. Do not use BP_SYM.
4402 (index): Do not use BP_SYM in weak_alias.
4403 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
4404 "bp-asm.h".
4405 (PARMS): Do not use macros from bp-asm.h.
4406 (DEST): Likewise.
4407 (SRC): Likewise.
4408 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
4409 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
4410 "bp-asm.h".
4411 (PARMS): Do not use macros from bp-asm.h.
4412 (strlen): Do not use BP_SYM.
4413 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
4414 "bp-asm.h".
4415 (PARMS): Do not use macros from bp-asm.h.
4416 (S1): Likewise.
4417 (S2): Likewise.
4418 (SIZE): Likewise.
4419 (__mpn_sub_n): Do not use BP_SYM.
4420 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
4421 "bp-asm.h".
4422 (PARMS): Do not use macros from bp-asm.h.
4423 (S1): Likewise.
4424 (SIZE): Likewise.
4425 (__mpn_submul_1): Do not use BP_SYM.
4426 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
4427 "bp-asm.h".
4428 (PARMS): Do not use macros from bp-asm.h.
4429 (S1): Likewise.
4430 (S2): Likewise.
4431 (SIZE): Likewise.
4432 (__mpn_add_n): Do not use BP_SYM.
4433 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
4434 weak_alias.
4435 (bzero): Likewise.
4436 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
4437 "bp-asm.h".
4438 (PARMS): Do not use macros from bp-asm.h.
4439 (BLK2): Likewise.
4440 (LEN): Likewise.
4441 (memcmp): Do not use BP_SYM.
4442 (bcmp): Do not use BP_SYM in weak_alias.
4443 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
4444 "bp-asm.h".
4445 (PARMS): Do not use macros from bp-asm.h.
4446 (DEST): Likewise.
4447 (SRC): Likewise.
4448 (LEN): Likewise.
4449 (memcpy): Likewise. Do not use BP_SYM.
4450 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
4451 "bp-asm.h".
4452 (PARMS): Do not use macros from bp-asm.h.
4453 (DEST): Likewise.
4454 (SRC): Likewise.
4455 (LEN): Likewise.
4456 (memmove): Likewise. Do not use BP_SYM.
4457 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
4458 "bp-asm.h".
4459 (PARMS): Do not use macros from bp-asm.h.
4460 (DEST): Likewise.
4461 (SRC): Likewise.
4462 (LEN): Likewise.
4463 (__mempcpy): Likewise. Do not use BP_SYM.
4464 (mempcpy): Do not use BP_SYM in weak_alias.
4465 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
4466 "bp-asm.h".
4467 (PARMS): Do not use macros from bp-asm.h.
4468 (DEST): Likewise.
4469 (LEN): Likewise.
4470 [!BZERO_P] (CHR): Likewise.
4471 (memset): Likewise. Do not use BP_SYM.
4472 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
4473 "bp-asm.h".
4474 (PARMS): Do not use macros from bp-asm.h.
4475 (STR2): Likewise.
4476 (strcmp): Do not use BP_SYM.
4477 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
4478 "bp-asm.h".
4479 (PARMS): Do not use macros from bp-asm.h.
4480 (STR): Likewise.
4481 (DELIM): Likewise.
4482 [USE_AS_STRTOK_R] (SAVE): Likewise.
4483 (FUNCTION): Likewise. Do not use BP_SYM.
4484 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
4485 aliases.
4486 (strtok_r): Likewise.
4487 (__GI___strtok_r): Likewise.
4488 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4489 (PARMS): Do not use macros from bp-asm.h.
4490 (S): Likewise.
4491 (SIZE): Likewise.
4492 (__mpn_lshift): Do not use BP_SYM.
4493 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4494 (PARMS): Do not use macros from bp-asm.h.
4495 (STR): Likewise.
4496 (CHR): Likewise.
4497 (__memchr): Do not use BP_SYM.
4498 (memchr): Do not use BP_SYM in weak_alias.
4499 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4500 (PARMS): Do not use macros from bp-asm.h.
4501 (BLK2): Likewise.
4502 (LEN): Likewise.
4503 (memcmp): Do not use BP_SYM.
4504 (bcmp): Do not use BP_SYM in weak_alias.
4505 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
4506 (PARMS): Do not use macros from bp-asm.h.
4507 (S1): Likewise.
4508 (SIZE): Likewise.
4509 (__mpn_mul_1): Do not use BP_SYM.
4510 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
4511 "bp-asm.h".
4512 (PARMS): Do not use macros from bp-asm.h.
4513 (STR): Likewise.
4514 (CHR): Likewise.
4515 (__rawmemchr): Do not use BP_SYM.
4516 (rawmemchr): Do not use BP_SYM in weak_alias.
4517 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4518 (PARMS): Do not use macros from bp-asm.h.
4519 (S): Likewise.
4520 (SIZE): Likewise.
4521 (__mpn_rshift): Do not use BP_SYM.
4522 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4523 (PARMS): Do not use macros from bp-asm.h.
4524 (SIGMSK): Likewise.
4525 (__sigsetjmp): Likewise. Do not use BP_SYM.
4526 * sysdeps/i386/start.S: Do not include "bp-sym.h".
4527 (_start): Do not use BP_SYM.
4528 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
4529 (PARMS): Do not use macros from bp-asm.h.
4530 (DEST): Likewise.
4531 (SRC): Likewise.
4532 (__stpcpy): Likewise. Do not use BP_SYM.
4533 (stpcpy): Do not use BP_SYM in weak_alias.
4534 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
4535 "bp-asm.h".
4536 (PARMS): Do not use macros from bp-asm.h.
4537 (DEST): Likewise.
4538 (SRC): Likewise.
4539 (LEN): Likewise.
4540 (__stpncpy): Likewise. Do not use BP_SYM.
4541 (stpncpy): Do not use BP_SYM in weak_alias.
4542 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4543 (PARMS): Do not use macros from bp-asm.h.
4544 (STR): Likewise.
4545 (CHR): Likewise.
4546 (strchr): Likewise. Do not use BP_SYM.
4547 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
4548 "bp-asm.h".
4549 (PARMS): Do not use macros from bp-asm.h.
4550 (STR): Likewise.
4551 (CHR): Likewise.
4552 (__strchrnul): Likewise. Do not use BP_SYM.
4553 (strchrnul): Do not use BP_SYM in weak_alias.
4554 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
4555 "bp-asm.h".
4556 (PARMS): Do not use macros from bp-asm.h.
4557 (STOP): Likewise.
4558 (strcspn): Do not use BP_SYM.
4559 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
4560 "bp-asm.h".
4561 (PARMS): Do not use macros from bp-asm.h.
4562 (STR): Likewise.
4563 (STOP): Likewise.
4564 (strpbrk): Likewise. Do not use BP_SYM.
4565 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
4566 "bp-asm.h".
4567 (PARMS): Do not use macros from bp-asm.h.
4568 (STR): Likewise.
4569 (CHR): Likewise.
4570 (strrchr): Likewise. Do not use BP_SYM.
4571 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
4572 (PARMS): Do not use macros from bp-asm.h.
4573 (SKIP): Likewise.
4574 (strspn): Do not use BP_SYM.
4575 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
4576 (PARMS): Do not use macros from bp-asm.h.
4577 (STR): Likewise.
4578 (DELIM): Likewise.
4579 (SAVE): Likewise.
4580 (FUNCTION): Likewise. Do not use BP_SYM.
4581 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
4582 aliases.
4583 (strtok_r): Likewise.
4584 (__GI___strtok_r): Likewise.
4585 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4586 (PARMS): Do not use macros from bp-asm.h.
4587 (S1): Likewise.
4588 (S2): Likewise.
4589 (SIZE): Likewise.
4590 (__mpn_sub_n): Do not use BP_SYM.
4591 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
4592 "bp-asm.h".
4593 (PARMS): Do not use macros from bp-asm.h.
4594 (S1): Likewise.
4595 (SIZE): Likewise.
4596 (__mpn_submul_1): Do not use BP_SYM.
4597 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
4598 <bp-sym.h>.
4599 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
4600 and <bp-asm.h>.
4601 (PARMS): Do not use macros from bp-asm.h.
4602 (FLAGS): Likewise.
4603 (PTID): Likewise.
4604 (TLS): Likewise.
4605 (CTID): Likewise.
4606 (__clone): Do not use BP_SYM.
4607 (clone): Do not use BP_SYM in weak_alias.
4608 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
4609 and <bp-asm.h>.
4610 (PARMS): Do not use macros from bp-asm.h.
4611 (LEN): Likewise.
4612 (__mmap64): Do not use BP_SYM.
4613 (mmap64): Do not use BP_SYM in weak_alias.
4614 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4615 <bp-sym.h> and <bp-asm.h>.
4616 (PARMS): Do not use macros from bp-asm.h.
4617 (__posix_fadvise64_l64): Do not use BP_SYM.
4618 * sysdeps/unix/sysv/linux/i386/semtimedop.S
4619 (PARMS): Do not use macros from bp-asm.h.
4620 (NSOPS): Likewise.
4621 (semtimedop): Do not use BP_SYM.
4622 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
4623 and <bp-asm.h>.
4624
582a3cff
AM
46252013-02-21 Allan McRae <allan@archlinux.org>
4626
4627 * manual/message.texi (Charset conversion in gettext):
4628 Move @end statement to beginning of line.
4629
bab8a695
SP
46302013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4631
80945231
SP
4632 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
4633 static.
4634 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4635 Likewise.
4636
bab8a695
SP
4637 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
4638 (denorm): Likewise.
4639 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
4640 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
4641
e21d7aa7
AK
46422013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4643
4644 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
4645 tail-call to the resolved function if pltexit isn't needed.
4646
4c7a4263
SP
46472013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4648
4649 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
4650 or Y being zero as being unlikely.
4651 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4652 Likewise.
4653
41f49342
CD
46542013-02-20 Carlos O'Donell <carlos@redhat.com>
4655
4656 * manual/nss.texi (System Databases and Name Service Switch):
4657 Remove frobnicate @pxref.
4658
50022a93
TS
46592013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4660
4661 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4662 __attribute__ ((unused)) to __attribute__ ((__unused__)).
4663
08cbd996
PM
46642013-02-20 Petr Machata <pmachata@redhat.com>
4665
4666 * elf/elf.h (R_ARM_TARGET1): New macro.
4667 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
4668 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
4669 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
4670 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
4671 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
4672 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
4673 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
4674 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
4675 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
4676 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
4677 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
4678 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
4679 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
4680 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
4681 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
4682 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
4683 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
4684 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
4685 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
4686 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
4687 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
4688 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
4689 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
4690 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
4691 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
4692 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
4693 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
4694 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
4695 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
4696 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
4697 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
4698 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
4699 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
4700 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
4701 (R_ARM_THM_GOT_BREL12): Likewise.
4702 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
4703 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
4704 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
4705 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
4706 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
4707 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
4708 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
4709 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
4710 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
4711
c7b275d6
TS
47122013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4713
4714 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4715 __attribute_used__ to __attribute__ ((unused)).
4716
20cd7fb3
SP
47172013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4718
4719 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
4720 powerpc mpa.c.
4721 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
4722 comment formatting.
4723 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
4724
92945b52
JM
47252013-02-19 Joseph Myers <joseph@codesourcery.com>
4726
4727 [BZ #13550]
4728 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
4729 Remove macro.
4730 (ENTER): Remove both macro definitions.
4731 (LEAVE): Likewise.
4732 (CHECK_BOUNDS_LOW): Likewise.
4733 (CHECK_BOUNDS_HIGH): Likewise.
4734 (CHECK_BOUNDS_BOTH): Likewise.
4735 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
4736 (RETURN_BOUNDED_POINTER): Likewise.
4737 (RETURN_NULL_BOUNDED_POINTER): Likewise.
4738 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
4739 (POP_ERRNO_LOCATION_RETURN): Likewise.
4740 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
4741 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4742 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
4743 macros.
4744 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4745 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
4746 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
4747 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
4748 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
4749 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
4750 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
4751 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
4752 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
4753 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
4754 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
4755 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
4756 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4757 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
4758 removed macros.
4759 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4760 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
4761 macros.
4762 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4763 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
4764 * sysdeps/i386/i586/memset.S (memset): Likewise.
4765 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
4766 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4767 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
4768 macros.
4769 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4770 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
4771 Change uses of L(2) to L(out).
4772 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
4773 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
4774 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
4775 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4776 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
4777 removed macros.
4778 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4779 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
4780 macros.
4781 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4782 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
4783 (RETURN): Do not use macro LEAVE.
4784 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
4785 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
4786 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
4787 * sysdeps/i386/i686/memset.S (memset): Likewise.
4788 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
4789 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
4790 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4791 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
4792 Likewise.
4793 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4794 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
4795 L(1_2) and L(1_3) into L(1).
4796 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4797 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
4798 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4799 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
4800 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4801 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
4802 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
4803 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4804 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
4805 macros.
4806 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
4807 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4808 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
4809 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
4810 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
4811 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4812 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
4813 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
4814 * sysdeps/i386/strcspn.S (strcspn): Likewise.
4815 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
4816 * sysdeps/i386/strrchr.S (strrchr): Likewise.
4817 * sysdeps/i386/strspn.S (strspn): Likewise.
4818 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
4819 conditional code.
4820 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4821 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
4822 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4823 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
4824 L(1_3) into L(1_1).
4825 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
4826 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4827 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
4828 macros.
4829 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4830
2389741a
JJ
48312013-02-19 Jakub Jelinek <jakub@redhat.com>
4832
4833 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
4834 macro.
4835
2016b3cd
SP
48362013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4837
e4f22324
SP
4838 * math/atest-exp.c (exp_mpn): Remove ROUND.
4839 * math/atest-exp2.c (exp_mpn): Likewise.
4840 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
4841
2016b3cd
SP
4842 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
4843 * stdlib/tst-tls-atexit-lib.c: Likewise.
4844 * stdlib/tst-tls-atexit.c: Likewise.
4845
4be9b544
MF
48462013-02-18 Mike Frysinger <vapier@gentoo.org>
4847
4848 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
4849 and __attribute_alloc_size__.
4850
2f62b9ee
MF
48512013-02-18 Mike Frysinger <vapier@gentoo.org>
4852
4853 * include/programs/xmalloc.h: Change __attribute_alloc_size to
4854 __attribute_alloc_size__.
4855 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
4856 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
4857
6ff444c4
MF
48582013-02-18 Mike Frysinger <vapier@gentoo.org>
4859
4860 * include/programs/xmalloc.h: New file.
4861 * catgets/gencat.c: Include it.
4862 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
4863 * elf/pldd.c: Likewise.
4864 * iconv/iconv_charmap.c: Likewise.
4865 * iconv/iconvconfig.c: Likewise.
4866 * iconv/strtab.c: Likewise.
4867 * locale/programs/locale.c: Likewise.
4868 * locale/programs/localedef.h: Likewise.
4869 * locale/programs/simple-hash.c: Likewise.
4870 * nscd/nscd.h: Likewise.
4871 * nss/makedb.c: Likewise.
4872 * sysdeps/generic/ldconfig.h: Likewise.
4873
be179c8a
SP
48742013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4875
ba384f6e
SP
4876 * Versions.def: Add GLIBC_2.18.
4877 * include/link.h (struct link_map): New member l_tls_dtor_count.
4878 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
4879 (__call_tls_dtors): Likewise.
4880 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
4881 __cxa_thread_atexit_impl.
4882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4883 Likewise.
4884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4885 Likewise.
4886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4887 Likewise.
4888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4889 Likewise.
4890 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
4892 Likewise.
4893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
4894 Likewise.
4895 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4897 Likewise.
4898 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
4899 (tests): Add test case tst-tls-atexit.
4900 (modules-names): Add shared library for tst-tls-atexit.
4901 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
4902 (GLIBC_PRIVATE): Add __call_tls_dtors.
4903 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
4904 for libstdc++.
4905 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
4906 * stdlib/tst-tls-atexit.c: New test case.
4907 * stdlib/tst-tls-atexit-lib.c: New test case.
4908
ffaa74cf 4909 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 4910
be179c8a
SP
4911 * elf/Versions (ld): Add _dl_find_dso_for_object.
4912 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
4913 * elf/dl-open.c (_dl_find_dso_for_object): New function.
4914 (dl_open_worker): Use _dl_find_dso_for_object.
4915 * elf/dl-sym.c (do_sym): Likewise.
4916 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
4917
f78b5caa
AK
49182013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4919
4920 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
4921 Syntactic changes only.
4922 (_dl_runtime_profile): Do a tail-call to the resolved function.
4923
29691210
JM
49242013-02-17 Joseph Myers <joseph@codesourcery.com>
4925
4926 [BZ #13550]
4927 * sysdeps/x86_64/bp-asm.h: Remove file.
4928 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
4929 <bp-sym.h> and <bp-asm.h>.
4930 (__clone): Do not use BP_SYM.
4931 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
4932 <bp-sym.h> and <bp-asm.h>.
4933 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4934 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
4935 "bp-asm.h".
4936 (_setjmp): Do not use BP_SYM.
4937 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
4938 "bp-asm.h".
4939 (setjmp): Do not use BP_SYM.
4940 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
4941 libc_hidden_def.
4942 (mempcpy): Do not use BP_SYM in weak_alias.
4943 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
4944 "bp-asm.h".
4945 (strchr): Do not use BP_SYM.
4946 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
4947 "bp-asm.h".
4948 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
4949 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
4950 (_start): Do not use BP_SYM.
4951 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
4952 "bp-asm.h".
4953 (strcat): Do not use BP_SYM.
4954 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
4955 "bp-asm.h".
4956 (STRCMP): Do not use BP_SYM.
4957 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
4958 "bp-asm.h".
4959 (STRCPY): Do not use BP_SYM.
4960 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
4961 "bp-asm.h".
4962 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
4963 "bp-asm.h".
4964 (FUNCTION): Do not use BP_SYM.
4965 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
4966 weak_alias.
4967 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
4968
f238fd19
AJ
49692013-02-17 Andreas Jaeger <aj@suse.de>
4970
4971 * time/Versions: Sort entries.
4972 * string/Versions: Likewise.
4973 * resolv/Versions: Likewise.
4974 * posix/Versions: Likewise.
4975 * iconv/Versions: Likewise.
4976 * elf/Versions: Likewise.
4977 * wcsmbs/Versions: Likewise.
4978
bd07f23c 49792013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 4980
22af19f9
SP
4981 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
4982 loop termination condition.
4983
4709fe76
SP
4984 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
4985 variable to calculate EZ.
4986 (__sqr): Likewise.
2d0e0f29
SP
4987
4988 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
4989 the lower precision input.
4990
daaa7713
JM
49912013-02-15 Joseph Myers <joseph@codesourcery.com>
4992
4993 [BZ #13550]
4994 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
4995 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
4996 (run-via-rtld-prefix): Do not handle %-bp tests.
4997 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
4998 (all-object-suffixes): Remove .ob.
4999 (bppfx): Remove variable.
5000 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
5001 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
5002 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
5003 [$(build-bounded) = yes] (libtype.ob): Likewise.
5004 * Makerules (elide-routines.ob): Remove variable.
5005 (do-tests-clean): Do not handle *-bp.out.
5006 (common-mostlyclean): Do not handle *-bp and *-bp.out.
5007 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
5008 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
5009 (tests): Do not include $(tests-bp.out).
5010 (xtests): Do not include $(xtests-bp.out).
5011 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
5012 [$(build-bounded) = yes] ($(addprefix
5013 $(objpfx),$(binaries-bounded))): Remove rule.
5014 ($(objpfx)%-bp.out): Remove rule.
5015 * config.make.in (build-bounded): Remove variable.
5016 * crypt/Makefile [$(build-bounded) = yes]
5017 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
5018 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
5019 append to variable.
5020 [$(build-bounded) = yes] (install-lib): Likewise.
5021 [$(build-bounded) = yes] (generated): Likewise.
5022 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
5023 Remove rule.
5024 * intl/Makefile [$(build-bounded) = yes]
5025 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
5026 * math/Makefile [$(build-bounded) = yes]
5027 ($(tests:%=$(objpfx)%-bp): Likewise.
5028 * misc/Makefile [$(build-bounded) = yes]
5029 ($(objpfx)tst-tsearch-bp): Likewise.
5030 * nptl/Makeconfig (bounded-thread-library): Remove variable.
5031 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
5032 Remove dependency.
5033 * string/Makefile (o-objects.ob): Remove variable.
5034 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
5035 (CFLAGS-.ob): Remove variable.
5036 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
5037 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
5038 both definitions of variable.
5039 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
5040 (ASFLAGS-.ob): Remove variable.
5041
e97ed6dd
JM
50422013-02-14 Joseph Myers <joseph@codesourcery.com>
5043
2bdd4ca6
JM
5044 [BZ #13550]
5045 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
5046 Remove __BOUNDED_POINTERS__ from condition.
5047 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
5048 * string/bits/string2.h [!__NO_STRING_INLINES &&
5049 !__BOUNDED_POINTERS__]: Likewise.
5050 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
5051 Likewise.
5052 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
5053 Remove conditional code.
5054 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
5055 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
5056 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
5057 condition.
5058
e97ed6dd
JM
5059 [BZ #13550]
5060 * csu/libc-start.c: Do not include <bp-sym.h>.
5061 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
5062 * elf/dl-open.c: Do not include <bp-sym.h>.
5063 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
5064 * math/fegetenv.c: Do not include <bp-sym.h>.
5065 (fegetenv): Do not use BP_SYM in versioned symbols.
5066 * nptl/sysdeps/pthread/bits/libc-lockP.h
5067 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
5068 <bp-sym.h>.
5069 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5070 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
5071 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5072 (__pthread_mutex_destroy): Likewise.
5073 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5074 (__pthread_mutex_lock): Likewise.
5075 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5076 (__pthread_mutex_trylock): Likewise.
5077 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5078 (__pthread_mutex_unlock): Likewise.
5079 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5080 (__pthread_mutexattr_init): Likewise.
5081 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5082 (__pthread_mutexattr_destroy): Likewise.
5083 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5084 (__pthread_mutexattr_settype): Likewise.
5085 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5086 (__pthread_rwlock_init): Likewise.
5087 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5088 (__pthread_rwlock_destroy): Likewise.
5089 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5090 (__pthread_rwlock_rdlock): Likewise.
5091 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5092 (__pthread_rwlock_tryrdlock): Likewise.
5093 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5094 (__pthread_rwlock_wrlock): Likewise.
5095 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5096 (__pthread_rwlock_trywrlock): Likewise.
5097 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5098 (__pthread_rwlock_unlock): Likewise.
5099 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5100 (__pthread_key_create): Likewise.
5101 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5102 (__pthread_setspecific): Likewise.
5103 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5104 (__pthread_getspecific): Likewise.
5105 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
5106 Likewise.
5107 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5108 (_pthread_cleanup_push_defer): Likewise.
5109 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5110 (_pthread_cleanup_pop_restore): Likewise.
5111 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5112 (pthread_setcancelstate): Likewise.
5113 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
5114 <bp-sym.h>.
5115 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
5116 (memchr): Do not use BP_SYM in weak_alias.
5117 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
5118 (fegetenv): Do not use BP_SYM in versioned symbols.
5119 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
5120 (fesetenv): Do not use BP_SYM in versioned symbols.
5121 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5122 (feupdateenv): Do not use BP_SYM in versioned symbols.
5123 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5124 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5125 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
5126 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
5127 (open64): Do not use BP_SYM in weak_alias.
5128 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
5129 (fegetenv): Do not use BP_SYM in versioned symbols.
5130 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
5131 (fesetenv): Do not use BP_SYM in versioned symbols.
5132 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5133 (feupdateenv): Do not use BP_SYM in versioned symbols.
5134 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
5135 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
5136 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
5137 (feraiseexcept): Do not use BP_SYM in versioned symbols.
5138 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5139 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5140 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
5141 <bp-sym.h>.
5142 (__libc_start_main): Do not use BP_SYM.
5143
d6752ccd
SP
51442013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5145
cb57ce60
SP
5146 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
5147 redundant return line.
5148 (norm): Likewise.
5149 (denorm): Likewise.
5150 (dbl_mp): Likewise.
5151 (sub_magnitudes): Likewise.
5152 (__add): Likewise.
5153 (__sub): Likewise.
5154 (__mul): Likewise.
5155 (__inv): Likewise.
5156 (__dvd): Likewise.
5157 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
5158 (norm): Likewise.
5159 (denorm): Likewise.
5160 (dbl_mp): Likewise.
5161 (sub_magnitudes): Likewise.
5162 (__add): Likewise.
5163 (__sub): Likewise.
5164 (__mul): Likewise.
5165 (__inv): Likewise.
5166 (__dvd): Likewise.
5167
f414520d
SP
5168 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
5169 instead of __mul.
5170 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5171 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
5172 (cc32): Likewise.
5173
d6752ccd
SP
5174 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
5175 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
5176 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
5177 of __mul for squares.
5178 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
5179 function
5180 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
5181 Likewise.
5182 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
5183 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5184
70d9946a
JM
51852013-02-13 Joseph Myers <joseph@codesourcery.com>
5186
5187 [BZ #13550]
5188 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
5189 code.
5190 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
5191 prototype or function definition. Rename ubp_* variables and
5192 parameters. Remove argv definitions conditional on
5193 [__BOUNDED_POINTERS__].
5194 * debug/backtrace.c (__backtrace): Do not use __unbounded.
5195 * elf/dl-runtime.c (_dl_fixup): Likewise.
5196 * include/set-hooks.h (RUN_HOOK): Likewise.
5197 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
5198 definition.
5199 * string/strcpy.c (strcpy): Do not use __unbounded.
5200 * sysdeps/generic/frame.h (struct layout): Likewise.
5201 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
5202 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
5203 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
5204 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
5205 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
5206 (__backtrace): Likewise.
5207 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
5208 use __ptrvalue.
5209 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5210 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5211 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5212 Likewise.
5213 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
5214 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
5215 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5216 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5217 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
5218 Do not use __unbounded.
5219 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
5220 Rename __unboundedrlimits parameter to rlimits in prototype.
5221 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
5222 Do not use __unbounded.
5223 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
5224 not use __ptrvalue.
5225 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5226 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
5227 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5228 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
5229 __ptrvalue or __unbounded.
5230 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
5231 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
5232 use __unbounded.
5233 (__new_msgctl): Do not use __ptrvalue.
5234 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
5235 __unbounded.
5236 (__libc_msgrcv): Do not use __ptrvalue.
5237 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
5238 startup_info): Do not use __unbounded.
5239 (__libc_start_main): Likewise. Rename ubp_* variables and
5240 parameters. Remove argv definitions conditional on
5241 [__BOUNDED_POINTERS__].
5242 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
5243 __ptrvalue.
5244 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
5245 use __unbounded.
5246 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
5247 or __ptrvalue.
5248 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
5249 use __unbounded.
5250 (__new_shmctl): Do not use __ptrvalue.
5251 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5252 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5253 Likewise.
5254 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5255 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
5256 (__libc_sigaction): Likewise.
5257 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
5258 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
5259 Likewise.
5260 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5261
cc7834d6
OB
52622013-02-13 Ondřej Bílka <neleai@seznam.cz>
5263
ffb1ec7b 5264 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
5265
5266 * string/mempcpy.c: Implement by calling memcpy.
5267
bdf02814
SP
52682013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5269
c2af38aa
SP
5270 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
5271
4e92d59e
SP
5272 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
5273 evaluation.
5274
909279a5
SP
5275 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
5276 values in the mantissa.
5277
bdf02814
SP
5278 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
5279 minimize writes to Z.
5280 (sub_magnitudes): Simplify code a bit.
5281
cd525923
RM
52822013-02-12 Roland McGrath <roland@hack.frob.com>
5283
5284 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
5285 from the message. The linker prefixes all warnings with that already.
5286
7e2f0d2d
AS
52872013-02-12 Andreas Schwab <schwab@suse.de>
5288
a445af0b
AS
5289 [BZ #15078]
5290 * posix/regexec.c (extend_buffers): Add parameter min_len.
5291 (check_matching): Pass minimum needed length.
5292 (clean_state_log_if_needed): Likewise.
5293 (get_subexp): Likewise.
5294 * posix/Makefile (tests): Add bug-regex34.
5295 (bug-regex34-ENV): Define.
5296 * posix/bug-regex34.c: New file.
5297
7e2f0d2d
AS
5298 [BZ #11561]
5299 * posix/regcomp.c (parse_bracket_exp): When looking up collating
5300 elements compare against the byte sequence of it, not its name.
5301 * posix/Makefile (tests): Add bug-regex35.
5302 (bug-regex35-ENV): Define.
5303 * posix/bug-regex35.c: New file.
5304
a175b684
TV
53052013-02-11 Tom de Vries <tom@codesourcery.com>
5306
5307 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
5308 comment.
5309 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
5310 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
5311 (CHECK_EOL): Add undef.
5312
310998fe 53132013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
5314
5315 * bits/stdlib-bsearch.h: New file.
5316 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 5317 * stdlib/stdlib.h: Likewise.
41eda41d 5318
8ded91fb
RM
53192013-02-11 Roland McGrath <roland@hack.frob.com>
5320
5321 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
5322 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
5323 declaration.
5324 * manual/search.texi (Array Search Function): Add missing const in
5325 lfind prototype.
5326 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
5327 declaration to use rlim_t.
5328 (Basic Scheduling Functions): Remove erroneous const from
5329 sched_getparam prototype. Remove erroneous * from
5330 sched_get_priority_max and sched_get_priority_min prototypes.
5331 (Resource Usage): Fix summary @comment on vtimes to refer to
5332 sys/vtimes.h rather than vtimes.h.
5333 Add missing *s in vtimes prototype.
5334 (Limits on Resources): Fix ulimit prototype to return long int.
5335 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
5336 prototypes to use long int rather than double.
5337 (BSD Random): Fix initstate and setstate to use char *, not void *.
5338 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
5339 prototype to make second argument 'struct aiocb64 *const[]'.
5340 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
5341 (Status of AIO Operations): Remove erroneous const in aio_return and
5342 aio_return64 prototypes.
5343 (Synchronizing I/O): Fix sync prototype to return void.
5344 * manual/startup.texi (Suboptions): Remove an erroneous const in
5345 getsubopt prototype.
5346 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
5347 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
5348 use size_t rather than int.
5349 (Scanning All Users): Likewise for getpwent_r.
5350 (Setting Groups): Add missing const to setgroups prototype.
5351 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
5352 * manual/socket.texi (Host Names): Fix gethostbyaddr and
5353 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
5354 'const void *' rather than 'const char *'.
5355 (Host Address Functions): Likewise for inet_ntop.
5356 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
5357 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
5358 ssize_t for return value.
5359 (Sending Data): Likewise for send, sendto, sendmsg.
5360 (Socket Option Functions): Add a missing const in setsockopt prototype.
5361 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
5362 use wchar_t for the argument.
5363 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
5364 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
5365 take no arguments.
5366 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
5367 double/float/long double for second argument.
5368 Fix return types of significand, significandf, significandl.
5369 * manual/filesys.texi (Setting Permissions): Use mode_t for second
5370 argument in fchmod prototype.
5371 (File Owner): Use uid_t and gid_t in fchown prototype.
5372 (File Times): Add const to utimes, futimes, and lutimes prototypes.
5373 (Making Special Files): Use mode_t and dev_t in mknod prototype.
5374 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
5375 use 'const struct dirent **' as argument types to CMP function pointer
5376 argument.
5377 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
5378 (File Times): Fix summary magic @comment for struct utimbuf and utime
5379 to refer to utime.h, not time.h.
5380 * manual/string.texi (Argz Functions): Add missing const in
5381 argz_extract and argz_next prototypes.
5382 (Finding Tokens in a String): Likewise for basename.
5383 (String/Array Comparison): Fix typo in wcscasecmp prototype.
5384 (Copying and Concatenation): Fix typo in wmemmove prototype.
5385 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
5386 (Signal Stack): Remove erroneous const in sigstack prototype.
5387 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
5388 prototype.
5389 (Simple Calendar Time): Likewise for stime.
5390 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
5391 prototype.
5392 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
5393 say sys/sysctl.h instead.
5394 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
5395 and vsyslog prototypes.
5396
fe77fe6d
TV
53972013-02-11 Tom de Vries <tom@codesourcery.com>
5398
5399 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
5400 Remove.
5401
3a09b620
RM
54022013-02-11 Roland McGrath <roland@hack.frob.com>
5403
5404 * misc/sys/mman.h: Fix typo in mremap comment.
5405
550a0b89
RM
54062013-02-08 Roland McGrath <roland@hack.frob.com>
5407
5408 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
5409 the '\0' terminator.
5410
a2da1673
JM
54112013-02-08 Joseph Myers <joseph@codesourcery.com>
5412
5413 [BZ #13550]
5414 * debug/segfault.c: Don't include <bp-checks.h>.
5415 * sysdeps/generic/bp-checks.h: Remove file.
5416 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
5417 (__GETDENTS): Don't use CHECK_N.
5418 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
5419 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5420 (__getgroups): Don't use CHECK_N.
5421 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5422 (setgroups): Don't use CHECK_N.
5423 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
5424 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
5425 (__libc_msgrcv): Don't use CHECK_N.
5426 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
5427 (__libc_msgsnd): Don't use CHECK_N.
5428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
5429 <bp-checks.h>.
5430 (__libc_pread): Don't use CHECK_N.
5431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
5432 include <bp-checks.h>.
5433 (__libc_pread64): Don't use CHECK_N.
5434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
5435 include <bp-checks.h>.
5436 (__libc_pwrite): Don't use CHECK_N.
5437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
5438 include <bp-checks.h>.
5439 (__libc_pwrite64): Don't use CHECK_N.
5440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
5441 <bp-checks.h>.
5442 (__libc_pread): Don't use CHECK_N.
5443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
5444 include <bp-checks.h>.
5445 (__libc_pread64): Don't use CHECK_N.
5446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
5447 include <bp-checks.h>.
5448 (__libc_pwrite): Don't use CHECK_N.
5449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
5450 include <bp-checks.h>.
5451 (__libc_pwrite64): Don't use CHECK_N.
5452 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
5453 (do_pread): Don't use CHECK_N.
5454 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
5455 (do_pread64): Don't use CHECK_N.
5456 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
5457 (do_pwrite): Don't use CHECK_N.
5458 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
5459 (do_pwrite64): Don't use CHECK_N.
5460 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
5461 (__libc_readv): Don't use CHECK_N.
5462 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
5463 (semop): Don't use CHECK_N.
5464 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
5465 <bp-checks.h>.
5466 (semtimedop): Don't use CHECK_N.
5467 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
5468 (__libc_pread): Don't use CHECK_N.
5469 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
5470 <bp-checks.h>.
5471 (__libc_pread64): Don't use CHECK_N.
5472 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
5473 <bp-checks.h>.
5474 (__libc_pwrite): Don't use CHECK_N.
5475 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
5476 <bp-checks.h>.
5477 (__libc_pwrite64): Don't use CHECK_N.
5478 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
5479 <bp-checks.h>.
5480 (__libc_msgrcv): Don't use CHECK_N.
5481 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
5482 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
5483 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
5484 (__libc_writev): Don't use CHECK_N.
5485
b84660a8
RM
54862013-02-08 Roland McGrath <roland@hack.frob.com>
5487
7f3e75f8
RM
5488 * string/strcpy.c: Removed unused variable.
5489
b84660a8
RM
5490 * Makeconfig (+sysdep-includes): Define with := rather than =.
5491 Use an existing include/ subdir of each sysdeps dir before it.
5492
471514d3
CD
54932013-02-08 Carlos O'Donell <carlos@redhat.com>
5494
5495 * nscd/connection.c (register_traced_file): Comment function.
5496 [HAVE_INOTIFY] (union __inev): Define.
5497 [HAVE_INOTIFY] (inotify_check_files): New function.
5498 [HAVE_INOTIFY] (clear_db_cache): Likewise.
5499 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
5500 clear_db_cache.
5501 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
5502
b2d3c3be
CD
55032013-02-08 Carlos O'Donell <carlos@redhat.com>
5504
5505 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
5506 loaded if not already and that a failure is permanent.
5507
b39949d2
CD
55082013-02-08 Carlos O'Donell <carlos@redhat.com>
5509
ddacd1db 5510 [BZ #15006]
b39949d2
CD
5511 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
5512 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
5513
b2c9eff4
JM
55142013-02-08 Joseph Myers <joseph@codesourcery.com>
5515
f3aae3f3
JM
5516 [BZ #13550]
5517 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
5518 (CHECK_1_NULL_OK): Likewise.
5519 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
5520 (__fxstat): Do not use CHECK_1.
5521 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5522 <bp-checks.h>.
5523 (___fxstat64): Do not use CHECK_1.
5524 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5525 <bp-checks.h>.
5526 (__fxstatat): Do not use CHECK_1.
5527 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5528 <bp-checks.h>.
5529 (__fxstatat64): Do not use CHECK_1.
5530 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
5531 <bp-checks.h>.
5532 (__fxstat): Do not use CHECK_1.
5533 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5534 <bp-checks.h>.
5535 (__fxstatat): Do not use CHECK_1.
5536 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5537 <bp-checks.h>.
5538 (__getresgid): Do not use CHECK_1.
5539 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5540 <bp-checks.h>.
5541 (__getresuid): Do not use CHECK_1.
5542 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
5543 <bp-checks.h>.
5544 (__lxstat): Do not use CHECK_1.
5545 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5546 <bp-checks.h>.
5547 (__old_msgctl): Do not use CHECK_1.
5548 (__new_msgctl): Likewise.
5549 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
5550 <bp-checks.h>.
5551 (__new_setrlimit): Do not use CHECK_1.
5552 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5553 <bp-checks.h>.
5554 (__old_shmctl): Do not use CHECK_1.
5555 (__new_shmctl): Likewise.
5556 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
5557 <bp-checks.h>.
5558 (__xstat): Do not use CHECK_1.
5559 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
5560 (__lxstat): Do not use CHECK_1.
5561 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5562 <bp-checks.h>.
5563 (___lxstat64): Do not use CHECK_1.
5564 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
5565 (__old_msgctl): Do not use CHECK_1.
5566 (__new_msgctl): Likewise.
5567 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
5568 <bp-checks.h>.
5569 (__gettimeofday): Do not use CHECK_1.
5570 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
5571 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
5572 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
5573 <bp-checks.h>.
5574 (__gettimeofday): Do not use CHECK_1.
5575 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
5576 (__old_shmctl): Do not use CHECK_1_NULL_OK.
5577 (__new_shmctl): Do not use CHECK_1.
5578 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
5579 <bp-checks.h>.
5580 (do_sigtimedwait): Do not use CHECK_1.
5581 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
5582 <bp-checks.h>.
5583 (do_sigwaitinfo): Do not use CHECK_1.
5584 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
5585 <bp-checks.h>.
5586 (msgctl): Do not use CHECK_1.
5587 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
5588 <bp-checks.h>.
5589 (shmctl): Do not use CHECK_1.
5590 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
5591 (ustat): Do not use CHECK_1.
5592 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
5593 <bp-checks.h>.
5594 (__fxstat): Do not use CHECK_1.
5595 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5596 <bp-checks.h>.
5597 (__fxstatat): Do not use CHECK_1.
5598 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
5599 <bp-checks.h>.
5600 (__lxstat): Do not use CHECK_1.
5601 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
5602 <bp-checks.h>.
5603 (__xstat): Do not use CHECK_1.
5604 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
5605 (__xstat): Do not use CHECK_1.
5606 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
5607 (___xstat64): Do not use CHECK_1.
5608
b2c9eff4
JM
5609 [BZ #13550]
5610 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
5611 definitions.
5612 (CHECK_BOUNDS_HIGH): Likewise.
5613 * string/strcpy.c: Do not include <bp-checks.h>.
5614 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
5615
f1d70dad
RM
56162013-02-07 Roland McGrath <roland@hack.frob.com>
5617
5618 * nscd/nscd-client.h (__nscd_drop_map_ref):
5619 Add __attribute__ ((unused)).
5620 * nis/nss-nisplus.h (niserr2nss): Likewise.
5621
5622 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
5623 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
5624
5625 * csu/libc-tls.c (init_static_tls, init_slotinfo):
5626 Remove inline keyword.
5627 * include/rounding-mode.h (round_away): Likewise.
5628 * libio/wfileops.c (adjust_wide_data): Likewise.
5629 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
5630 (__m128i_strloadu_tolower): Likewise.
5631 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
5632 (__m128i_strloadu_tolower): Likewise.
5633 * time/mktime.c (ydhms_diff): Likewise.
5634 * locale/elem-hash.h (elem_hash): Likewise.
5635 * locale/setlocale.c (setdata): Likewise.
5636 * posix/regex_internal.h (re_string_char_size_at): Likewise.
5637 (re_string_wchar_at): Likewise.
5638 (bitset_not, bitset_merge, bitset_mask): Likewise.
5639 [!(__GNUC__ > 3)] (inline): Remove macro.
5640 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
5641 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
5642 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5643 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
5644 * string/memcmp.c (memcmp_bytes): Likewise.
5645 * locale/programs/locarchive.c (compute_hashval): Likewise.
5646 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
5647 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
5648 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
5649 * nss/getent.c (print_rpc, print_protocols): Likewise.
5650 (print_passwd, print_group, print_aliases): Likewise.
5651 * nis/nss-nisplus.h (niserr2nss): Likewise.
5652 * nscd/connections.c (restart_p): Likewise.
5653 Change return type to bool.
5654
eab55bfb
RM
56552013-02-05 Roland McGrath <roland@hack.frob.com>
5656
7bd642f5
RM
5657 * Makeconfig (all-Depend-files): Add existing
5658 $(sorted-subdirs:=/Depend) files.
5659 (all-subdirs): Remove nss.
5660 * sysdeps/unix/inet/Subdirs: Add it here instead.
5661 * hesiod/Depend: New file.
5662
573c29b2
RM
5663 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
5664 instead of calling alloca.
5665
b2e25af0
RM
5666 * io/lseek.c (__lseek): Rename to __libc_lseek.
5667 Define __lseek as an alias.
5668
eab55bfb
RM
5669 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
5670
9a0d1941
CD
56712013-02-04 Carlos O'Donell <carlos@redhat.com>
5672
5673 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
5674 else clause and remove check for non-standard endianness.
5675
b83bbec4
DM
56762013-02-04 David S. Miller <davem@davemloft.net>
5677
5678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5679
6277fdab
JM
56802013-02-04 Joseph Myers <joseph@codesourcery.com>
5681
5682 [BZ #13550]
5683 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
5684 (__ubp_memchr): Remove prototype.
5685 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
5686 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5687 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
5688 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5689 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
5690 Remove alias.
5691 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
5692 (__ubp_memchr): Likewise.
5693 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
5694 (__ubp_memchr): Likewise.
5695 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
5696 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
5697 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
5698 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
5699 CHECK_STRING.
5700 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5701 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
5702 (__getcwd): Do not use CHECK_STRING.
5703 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5704 <bp-checks.h>.
5705 (__real_chown): Do not use CHECK_STRING.
5706 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
5707 <bp-checks.h>.
5708 (fchownat): Do not use CHECK_STRING.
5709 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
5710 CHECK_STRING.
5711 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5712 <bp-checks.h>.
5713 (__lchown): Do not use CHECK_STRING.
5714 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5715 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5716 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5717 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5719 include <bp-checks.h>.
5720 (truncate64): Do not use CHECK_STRING.
5721 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5722 <bp-checks.h>.
5723 (__real_chown): Do not use CHECK_STRING.
5724 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5725 <bp-checks.h>.
5726 (__lchown): Do not use CHECK_STRING.
5727 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5728 <bp-checks.h>.
5729 (__chown): Do not use CHECK_STRING.
5730 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
5731 <bp-checks.h>.
5732 (truncate64): Do not use CHECK_STRING.
5733 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
5734 Likewise.
5735 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
5736 (__xmknod): Do not use CHECK_STRING.
5737 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5738 <bp-checks.h>.
5739 (__xmknodat): Do not use CHECK_STRING.
5740 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5741 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5742
903ae060
AS
57432013-02-04 Andreas Schwab <schwab@suse.de>
5744
5745 [BZ #14142]
5746 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
5747 * include/netdb.h: Likewise for h_errno.
5748 * elf/tst-stackguard1.c: Include <tls.h>.
5749
542f9466
JK
57502013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5751
5752 * elf/link.h (struct link_map): Extend the l_addr comment.
5753 * include/link.h (struct link_map): Likewise.
5754
e782a927
JM
57552013-02-01 Joseph Myers <joseph@codesourcery.com>
5756
5757 [BZ #13550]
5758 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
5759 (BOUNDED_1): Remove macro.
5760 * debug/backtrace.c: Don't include <bp-checks.h>.
5761 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
5762 (__backtrace): Likewise.
5763 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
5764 <bp-checks.h>.
5765 (__backtrace): Don't use BOUNDED_1.
5766 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
5767 <bp-checks.h>.
5768 (__backtrace): Don't use BOUNDED_1.
5769 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
5770 (__backtrace): Don't use BOUNDED_1.
5771 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
5772 (shmat): Don't use BOUNDED_N.
5773
8cf28c5e
JM
57742013-01-31 Joseph Myers <joseph@codesourcery.com>
5775
3a7ac8a0
JM
5776 [BZ #13550]
5777 * sysdeps/generic/bp-start.h: Remove file.
5778 * csu/libc-start.c: Don't include <bp-start.h>.
5779 (LIBC_START_MAIN): Set up __environ directly instead of using
5780 INIT_ARGV_and_ENVIRON.
5781 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
5782 <bp-start.h>.
5783
f3499f95
JM
5784 [BZ #13550]
5785 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
5786 definitions.
5787 (CHECK_FCNTL): Likewise.
5788 (CHECK_N_PAGES): Likewise.
5789
32a45bea
JM
5790 [BZ #13550]
5791 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
5792 definitions.
5793 (CHECK_SIGSET_NULL_OK): Likewise.
5794 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
5795 <bp-checks.h>.
5796 (sigpending): Don't use CHECK_SIGSET.
5797 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
5798 <bp-checks.h>.
5799 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5800 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
5801 <bp-checks.h>.
5802 (do_sigsuspend): Don't use CHECK_SIGSET.
5803 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
5804 use CHECK_SIGSET.
5805 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
5806 (do_sigwait): Don't use CHECK_SIGSET.
5807 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
5808 use CHECK_SIGSET.
5809 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
5810 include <bp-checks.h>.
5811 (sigpending): Don't use CHECK_SIGSET.
5812 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
5813 include <bp-checks.h>.
5814 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5815 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
5816 <bp-checks.h>.
5817 (sigpending): Don't use CHECK_SIGSET.
5818 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
5819 <bp-checks.h>.
5820 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5821
2e8a5c8c
JM
5822 [BZ #13550]
5823 * sysdeps/generic/bp-semctl.h: Remove file.
5824 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
5825 <bp-checks.h> and <bp-semctl.h>.
5826 (__old_semctl): Don't use CHECK_SEMCTL.
5827 (__new_semctl): Likewise.
5828 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
5829 and <bp-semctl.h>.
5830 (__old_semctl): Don't use CHECK_SEMCTL.
5831 (__new_semctl): Likewise.
5832 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
5833 <bp-checks.h> and <bp-semctl.h>.
5834 (__old_semctl): Don't use CHECK_SEMCTL.
5835 (__new_semctl): Likewise.
5836 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
5837 <bp-checks.h> and <bp-semctl.h>.
5838 (semctl): Don't use CHECK_SEMCTL.
5839
c2d54929
JM
5840 [BZ #13550]
5841 * Makerules (elide-bp-thunks): Remove variable.
5842 (elide-routines.oS): Don't use $(elide-bp-thunks).
5843 (elide-routines.os): Likewise.
5844 (elide-routines.o): Likewise.
5845 (elide-routines.op): Likewise.
5846 (elide-routines.og): Likewise.
5847 (objects): Don't use $(bp-thunks).
5848 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
5849 include.
5850 (common-generated): Do not add s-proto-bp.d.
5851 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
5852 (int): Likewise.
5853 (typ): Likewise.
5854 Do not generate makefile rules for bounded-pointer thunks.
5855 * sysdeps/generic/bp-thunks.h: Remove file.
5856 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
5857 * sysdeps/unix/s-proto-bp.S: Likewise.
5858
8cf28c5e
JM
5859 [BZ #15062]
5860 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
5861 parts of result separately when argument is not close to line from
5862 -i to i and one part of argument is small.
5863 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5864 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5865 * math/libm-test.inc (cacos_test): Add more tests.
5866 (casin_test): Likewise.
5867 (casinh_test): Likewise.
5868 * sysdeps/i386/fpu/libm-test-ulps: Update.
5869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5870
c4e33b8d
DM
58712013-01-31 David S. Miller <davem@davemloft.net>
5872
5873 * po/de.po: Update from translation team.
5874
3b60b421
MK
58752013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
5876
5877 * time/tzfile.c: Include stdint.h for SIZE_MAX.
5878
bb931195
TS
58792013-01-25 Thomas Schwinge <thomas@codesourcery.com>
5880
b5a5da23
TS
5881 * configure.in (_AC_PROG_CC_C89): New definition.
5882 * configure: Regenerate.
5883
bb931195
TS
5884 * configure.in (AC_PROG_CPP): New definition.
5885 * configure: Regenerate.
5886
8c53a12c
JM
58872013-01-23 Joseph Myers <joseph@codesourcery.com>
5888
5889 * debug/tst-backtrace.h: New file.
5890 * debug/tst-backtrace2.c: Include tst-backtrace.h.
5891 (ret): Remove variable.
5892 (x): Likewise.
5893 (FAIL): Remove macro.
5894 (NO_INLINE): Likewise.
5895 (fn1): Use match function instead of strstr.
5896 * debug/tst-backtrace3.c: Include tst-backtrace.h.
5897 (ret): Remove variable.
5898 (x): Likewise.
5899 (FAIL): Remove macro.
5900 (NO_INLINE): Likewise.
5901 (fn): Use match function instead of strstr.
5902 * debug/tst-backtrace4.c: Include tst-backtrace.h.
5903 (ret): Remove variable.
5904 (x): Likewise.
5905 (FAIL): Remove macro.
5906 (NO_INLINE): Likewise.
5907 (handle_signal): Use match function instead of strstr.
5908 * debug/tst-backtrace5.c: Include tst-backtrace.h.
5909 (ret): Remove variable.
5910 (x): Likewise.
5911 (FAIL): Remove macro.
5912 (NO_INLINE): Likewise.
5913 (handle_signal): Use match function instead of strstr.
5914
4858fa2a
RM
59152013-01-23 Roland McGrath <roland@hack.frob.com>
5916
5917 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
5918
bae8e7f5
DM
59192013-01-23 David S. Miller <davem@davemloft.net>
5920
5921 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
5922 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
5923 argument of CAS if possible.
5924 * sysdeps/sparc/sparc64/bits/atomic.h
5925 (__arch_compare_and_exchange_val_32_acq): Likewise.
5926 (__arch_compare_and_exchange_val_64_acq): Likewise.
5927
9cbbc4ae
PT
59282013-01-23 Pino Toscano <toscano.pino@tiscali.it>
5929
5930 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
5931 * sysdeps/posix/ulimit.c: ... this.
92a601b8 5932 Include <limits.h>.
67b3f58c 5933 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 5934
5655a0b5
AC
59352013-01-23 Adam Conrad <adconrad@0c3.net>
5936
5937 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
5938 (LDFLAGS-tst-array5): Likewise.
5939
052aff95
JM
59402013-01-23 Joseph Myers <joseph@codesourcery.com>
5941
5942 [BZ #15036]
5943 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
5944 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
5945 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
5946 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
5947
7c1e01aa
DM
59482013-01-21 David S. Miller <davem@davemloft.net>
5949
5950 * sysdeps/sparc/backtrace.c: New file.
5951 * sysdeps/sparc/sparc32/backtrace.h: New file.
5952 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
5953 * sysdeps/sparc/sparc64/backtrace.h: New file.
5954 * sysdeps/sparc/sparc64/backtrace.c: Delete.
5955 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
5956 -funwind-tables.
5957
ab087e0a
AS
59582013-01-21 Andreas Schwab <schwab@suse.de>
5959
5960 [BZ #15020]
5961 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
5962 closed its stdout.
5963
ed689c2f
AS
59642013-01-20 Andreas Schwab <schwab@linux-m68k.org>
5965
5966 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
5967 "mpa2.h".
5968 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5969
31d470ac
JM
59702013-01-18 Joseph Myers <joseph@codesourcery.com>
5971 Mark Mitchell <mark@codesourcery.com>
5972 Tom de Vries <tom@codesourcery.com>
5973 Paul Pluzhnikov <ppluzhnikov@google.com>
5974
5975 * debug/tst-backtrace2.c: New file.
5976 * debug/tst-backtrace3.c: Likewise.
5977 * debug/tst-backtrace4.c: Likewise.
5978 * debug/tst-backtrace5.c: Likewise.
5979 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
5980 (CFLAGS-tst-backtrace3.c): Likewise.
5981 (CFLAGS-tst-backtrace4.c): Likewise.
5982 (CFLAGS-tst-backtrace5.c): Likewise.
5983 (LDFLAGS-tst-backtrace2): Likewise.
5984 (LDFLAGS-tst-backtrace3): Likewise.
5985 (LDFLAGS-tst-backtrace4): Likewise.
5986 (LDFLAGS-tst-backtrace5): Likewise.
5987 (tests): Add new tests tst-backtrace2, tst-backtrace3,
5988 tst-backtrace4 and tst-backtrace5.
5989
90567f30 59902013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
5991 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5992
5993 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
5994 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
5995 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
5996 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
5997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5998 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
5999 "+r" and remove output regs list as redundant. Add explicit inline
6000 asm to specify register of return val to work around compiler codegen
6001 bug. Remove (int) cast on return value. Add return type parameter to
6002 use in macro so that this macro does not truncate return value for
6003 64-bit values.
6004 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
6005 pass to INTERNAL_VSYSCALL_NCS.
6006 (INLINE_VSYSCALL): Add 'long int' as return type to
6007 INTERNAL_VSYSCALL_NCS macro invocation.
6008 (INTERNAL_VSYSCALL): Add 'long int' as return type to
6009 INTERNAL_VSYSCALL_NCS macro invocation.
6010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6011
d3b9ea61
SP
60122013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6013
0b57daeb
SP
6014 [BZ #14496]
6015 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
6016 Fix application of SIMD FP exception mask.
6017
caa99d06
SP
6018 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
6019 mp_no from a power of two.
6020 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
6021 __mpexp_twomm1. Use __pow_mp.
6022
d3b9ea61
SP
6023 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
6024 multiplication.
6025
1dbaee3c
DM
60262013-01-17 David S. Miller <davem@davemloft.net>
6027
6028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6029
728d7b43
JM
60302013-01-17 Joseph Myers <joseph@codesourcery.com>
6031
6032 [BZ #15023]
6033 * include/complex.h: Condition contents on [!_COMPLEX_H].
6034 (__kernel_casinhf): New prototype.
6035 (__kernel_casinh): Likewise.
6036 (__kernel_casinhl): Likewise.
6037 * math/Makefile (libm_calls): Add k_casinh.
6038 * math/k_casinh.c: New file.
6039 * math/k_casinhf.c: Likewise.
6040 * math/k_casinhl.c: Likewise.
6041 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
6042 finite nonzero arguments.
6043 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
6044 finite nonzero arguments.
6045 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
6046 finite nonzero arguments.
6047 * math/s_casinh.c: Do not include <float.h>.
6048 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
6049 * math/s_casinhf.c: Do not include <float.h>.
6050 (__casinhf): Move code for finite nonzero arguments to
6051 k_casinhf.c.
6052 * math/s_casinhl.c: Do not include <float.h>.
6053 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
6054 redefine.
6055 (__casinhl): Move code for finite nonzero arguments to
6056 k_casinhl.c.
6057 * math/libm-test.inc (cacos_test): Add more tests.
6058 * sysdeps/i386/fpu/libm-test-ulps: Update.
6059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6060
2a26ef3a
PT
60612013-01-17 Pino Toscano <toscano.pino@tiscali.it>
6062
6063 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
6064 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
6065 [!HAVE_MREMAP]: Remove [defined linux] case.
6066 * malloc/arena.c: Do not include <malloc-sysdep.h>.
6067
a897655d
SP
60682013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6069
6070 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
6071
881ebe89 60722013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
6073
6074 * elf/elf.h (R_386_SIZE32): New relocation.
6075 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
6076 R_386_SIZE32.
6077 (elf_machine_rela): Likewise.
6078 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6079 R_X86_64_SIZE64 and R_X86_64_SIZE32.
6080
59981e9b
JM
60812013-01-17 Joseph Myers <joseph@codesourcery.com>
6082
6083 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
6084 (FP_FAST_FMA): Do not define.
6085 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
6086 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
6087 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
6088 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
6089 !_SOFT_FLOAT]: Likewise.
6090 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
6091 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
6092 value.
6093 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
6094 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
6095 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
6096 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
6097 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
6098 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
6099 file.
6100
cfa8054f
AS
61012013-01-16 Andreas Schwab <schwab@suse.de>
6102
6103 [BZ #14327]
6104 * include/stdlib.h (__mktemp): Add declaration.
6105 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
6106 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
6107
dd930cc5
SP
61082013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6109
881ebe89
SP
6110 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
6111 definitions.
6112 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6113 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
6114 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
6115 definitions here.
6116 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
6117 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
6118 definitions.
6119 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
6120 and ONE.
6121 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
6122 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
6123 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
6124 definitions.
6125 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
6126 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
6127 definitions.
6128 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 6129
dd930cc5
SP
6130 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
6131
c19a9f89
DM
61322013-01-15 David S. Miller <davem@davemloft.net>
6133
1aa61767
DM
6134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6135 trunc{,f} to libm-sysdep_routes.
6136 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
6138 file.
6139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
6140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
6141 file.
6142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
6143 file.
6144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
6145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
6146 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
6147 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
6148 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
6149 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
6150 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
6151 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
6152
c42d5e98
DM
6153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6154 nearbyint{,f} to libm-sysdep_routes.
6155 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
6157 New file.
6158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
6159 file.
6160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
6161 New file.
6162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
6163 file.
6164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
6165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
6166 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
6167 file.
6168 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
6169 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
6170 file.
6171 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
6172 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
6173 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
6174
c19a9f89
DM
6175 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6176 libc_feholdexcept and libc_fesetenv.
6177
357679d2
MF
61782013-01-15 Mike Frysinger <vapier@gentoo.org>
6179
6180 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
6181
65a82e3d
DM
61822013-01-14 David S. Miller <davem@davemloft.net>
6183
8b954ab9
DM
6184 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
6185 (SPARC_ASM_VIS2_IFUNC): Likewise.
6186 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
6187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
6188 use of 'siam' instruction.
6189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
6190 Likewise.
6191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
6192 Likewise.
6193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
6194 Likewise.
6195 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
6196 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6197 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
6198 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
6199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
6200 file.
6201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
6202 file.
6203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
6204 file.
6205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
6206 file.
6207 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
6208 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
6209 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
6210 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
6211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
6212 new VIS2 routines.
6213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6216 Likewise.
6217 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6218 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6219 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6220 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
6222 routines to libm-sysdep_routines.
6223 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6224
65a82e3d
DM
6225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6226 fdim/fdimf to libm-sysdep_routines.
6227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
6228 file.
6229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
6230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
6231 file.
6232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
6233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
6234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
6235 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
6236 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
6237 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
6238 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
6239
e34ab705
SP
62402013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6241
2a91b573
SP
6242 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
6243 to optimize copies.
6244
1066a534
SP
6245 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
6246 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6247 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6248
e34ab705
SP
6249 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
6250 local variable MPTWO.
6251 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6252 Likewise.
6253
aba5e596
MF
62542013-01-13 Mike Frysinger <vapier@gentoo.org>
6255
6256 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
6257 GLOB_NOESCAPE.
6258
e557e9e5
MF
62592013-01-13 Mike Frysinger <vapier@gentoo.org>
6260
6261 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
6262
0428cec9
MF
62632013-01-13 Mike Frysinger <vapier@gentoo.org>
6264
6265 * manual/pattern.texi (glob_t): Document gl_flags.
6266 (glob64_t): Likewise.
6267
8794a964
DM
62682013-01-11 David S. Miller <davem@davemloft.net>
6269
66438c3f
RM
6270 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
6271 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
6272 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
6273 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
6274 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
6275 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
6276 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
6277 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
6278 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
6279 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
6280 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
6281 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
6282 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
6283
4ae4244d
DM
6284 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6285 sparc V9 rather than using V8 code.
6286 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6287 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6288
8794a964
DM
6289 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6290 Move to...
6291 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
6292 Here.
6293
6270516e
RM
62942013-01-11 Roland McGrath <roland@hack.frob.com>
6295
6296 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
6297 not in the main loop.
6298 * configure: Regenerated.
6299
6a57d931
JM
63002013-01-11 Joseph Myers <joseph@codesourcery.com>
6301
6302 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
6303 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
6304 to just #else.
6305 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
6306 [!__GLIBC_HAVE_LONG_LONG] case.
6307 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
6308 condition to just #else.
6309 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
6310 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
6311 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
6312 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
6313 unconditional.
6314 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
6315 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6316 #elif condition to just #else.
6317 * sysdeps/unix/sysv/linux/sys/sysmacros.h
6318 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
6319 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6320 #elif condition to just #else.
6321
0e8529e9
SE
63222013-01-11 Steve Ellcey <sellcey@mips.com>
6323
6324 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
6325 (EF_MIPS_ARCH_64): Fix value.
6326 (EF_MIPS_ARCH_32R2): New.
6327 (EF_MIPS_ARCH_64R2): New.
6328
740b3dbe
L
63292013-01-11 H.J. Lu <hongjiu.lu@intel.com>
6330
6331 * Makeconfig (+link-pie-before-libc): New.
6332 (+link-pie-after-libc): Likewise.
6333 (+link-pie-tests): Likewise.
6334 (+link-pie): Rewritten.
6335 (link-before-libc): Remove $(config-LDFLAGS).
6336 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
6337 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
6338 (config-LDFLAGS): Renamed to ...
6339 (rtld-LDFLAGS): This.
6340 (rtld-tests-LDFLAGS): New macro.
6341 (link-libc-rpath-link): Likewise.
6342 (link-libc-tests-rpath-link): Likewise.
6343 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
6344 (link-libc): Prepand $(link-libc-rpath-link).
6345 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
6346 (test-program-prefix): New macro.
6347 (test-via-rtld-prefix): Likewise.
6348 (test-program-cmd): Likewise.
6349 (host-test-program-cmd): Likewise.
6350 * Makefile ($(common-objpfx)testrun.sh): Replace
6351 $(run-program-prefix) with $(test-program-prefix).
6352 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
6353 $(rtld-LDFLAGS).
6354 ($(common-objpfx)shlib.lds): Likewise.
6355 (build-module-helper): Likewise.
6356 ($(common-objpfx)format.lds): Likewise.
6357 * Rules (binaries-pie-tests): New.
6358 (binaries-pie-notests): Likewise.
6359 (binaries-pie): Rewritten.
6360 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
6361 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
6362 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
6363 (make-test-out): Replace $(host-built-program-cmd) with
6364 $(host-test-program-cmd).
6365 * config.make.in (build-hardcoded-path-in-tests): New variable.
6366 * configure.in (--enable-hardcoded-path-in-tests): New configure
6367 option.
6368 (hardcoded_path_in_tests): New AC_SUBST.
6369 * configure: Regenerated.
6370 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
6371 $(built-program-cmd) with $(test-program-cmd).
6372 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
6373 (test_program_cmd): This.
6374 * elf/Makefile ($(objpfx)order.out): Run test with
6375 $(test-program-prefix).
6376 ($(objpfx)order2.out): Likewise.
6377 ($(objpfx)tst-initorder.out): Likewise.
6378 ($(objpfx)tst-initorder2.out): Likewise.
6379 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
6380 $(test-program-cmd).
6381 ($(objpfx)tst-array1-static.out): Likewise.
6382 ($(objpfx)tst-array2.out): Likewise.
6383 ($(objpfx)tst-array3.out): Likewise.
6384 ($(objpfx)tst-array4.out): Likewise.
6385 ($(objpfx)tst-array5.out): Likewise.
6386 ($(objpfx)tst-array5-static.out): Likewise.
6387 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
6388 $(test-program-cmd).
6389 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
6390 $(run-program-prefix) with $(test-program-prefix).
6391 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
6392 (test_program_prefix): This.
6393 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
6394 $(run-program-prefix) with $(test-program-prefix).
6395 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
6396 (test_program_prefix): This.
6397 * iconvdata/tst-tables.sh: Likewise.
6398 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
6399 $(run-program-prefix) with $(test-program-prefix).
6400 ($(objpfx)tst-translit.out): Likewise.
6401 ($(objpfx)tst-gettext2.out): Likewise.
6402 ($(objpfx)tst-gettext4.out): Likewise.
6403 ($(objpfx)tst-gettext6.out): Likewise.
6404 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
6405 (test_program_prefix): This.
6406 * intl/tst-gettext2.sh: Likewise.
6407 * intl/tst-gettext4.sh Likewise.
6408 * intl/tst-gettext6.sh: Likewise.
6409 * intl/tst-translit.sh: Likewise.
6410 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
6411 with $(test-program-cmd).
6412 * libio/Makefile ($(objpfx)test-freopen.out): Replace
6413 $(run-program-prefix) with $(test-program-prefix).
6414 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
6415 (test_program_prefix): This.
6416 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
6417 $(run-program-prefix) with $(test-program-prefix).
6418 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
6419 (test_program_prefix): This.
6420 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
6421 * posix/Makefile ($(objpfx)globtest.out): Replace
6422 $(run-via-rtld-prefix) and $(test-wrapper) with
6423 $(test-program-prefix) and $(test-via-rtld-prefix).
6424 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
6425 $(test-program-prefix).
6426 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
6427 $(host-test-program-cmd).
6428 (tst-spawn-ARGS): Likewise.
6429 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
6430 $(test-program-prefix).
6431 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
6432 (test_via_rtld_prefix): This.
6433 (test_wrapper): Renamed to ...
6434 (test_program_prefix): This.
6435 (run_program_prefix): Replaced by test_program_prefix.
6436 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
6437 (test_program_prefix): This.
6438 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
6439 with $(host-test-program-cmd).
6440 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
6441 $(run-program-prefix) with $(test-program-prefix).
6442 ($(objpfx)tst-printf.out): Likewise.
6443 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
6444 $(test-program-cmd).
6445 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
6446 (test_program_prefix): This.
6447 * stdio-common/tst-unbputc.sh: Likewise.
6448 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
6449 $(run-program-prefix) with $(test-program-prefix).
6450 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
6451 (test_program_prefix): This.
6452 * string/Makefile ($(objpfx)tst-svc.out): Replace
6453 $(built-program-cmd) with $(test-program-cmd).
6454
c6fe55cf
AJ
64552013-01-11 Andreas Jaeger <aj@suse.de>
6456
6457 [BZ #15003]
6458 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
6459 value. Sync with Linux 3.7.
6460
9e6919c8
DM
64612013-01-10 David S. Miller <davem@davemloft.net>
6462
6463 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
6464 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6465 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6466
1c9f1a02
RM
64672013-01-10 Roland McGrath <roland@hack.frob.com>
6468
6469 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
6470 never set.
6471 * configure: Regenerated.
6472
b9de2dde
DM
64732013-01-10 David S. Miller <davem@davemloft.net>
6474
6475 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6476 sparc V9 rather than using V8 code.
6477 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6478 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6479
e7f68ef4
RM
64802013-01-10 Roland McGrath <roland@hack.frob.com>
6481
6482 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
6483 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
6484 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
6485 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
6486 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
6487 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
6488 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
6489 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
6490 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
6491 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
6492 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
6493 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
6494 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
6495 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
6496 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
6497 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
6498 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
6499 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
6500 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
6501 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
6502 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
6503 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
6504 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
6505 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
6506 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
6507 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
6508 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
6509
5a47cc9c
DM
65102013-01-10 David S. Miller <davem@davemloft.net>
6511
6512 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6513
4cf8f209
L
65142013-01-10 H.J. Lu <hongjiu.lu@intel.com>
6515
6516 * posix/Makefile (tests-static): New variable.
6517 (tests): Add $(tests-static).
6518 (tst-exec-static-ARGS): New variable.
6519 (tst-spawn-static-ARGS): Likewise.
6520 * posix/tst-exec-static.c: New file.
6521 * posix/tst-spawn-static.c: Likewise.
6522 * posix/tst-exec.c: Support run directly.
6523 * posix/tst-spawn.c: Likewise.
6524
fed0faa1
JM
65252013-01-10 Joseph Myers <joseph@codesourcery.com>
6526
828beb13
JM
6527 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
6528 long.
6529 * math/bits/mathcalls.h (llrint): Likewise.
6530 (llround): Likewise.
6531 * stdlib/stdlib.h (struct drand48_data): Likewise.
6532 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
6533 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
6534 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
6535 Likewise.
6536 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
6537 Likewise.
6538 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
6539 (elf_greg_t): Likewise.
6540 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
6541 (__jmp_buf): Likewise.
6542 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
6543 definitions.
6544 (llrint): Likewise, for all definitions.
6545 (llrintl): Likewise.
6546
fed0faa1
JM
6547 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
6548 Remove [__GNUC__] condition.
6549 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
6550 condition to just [__USE_ISOC99].
6551 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
6552
1a20cb20
L
65532013-01-10 H.J. Lu <hongjiu.lu@intel.com>
6554
6555 [BZ #14200]
6556 * sysdeps/unix/sysv/linux/x86/bits/environments.h
6557 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
6558 defined.
6559 (_POSIX_V6_ILP32_OFF32): Likewise.
6560 (_XBS5_ILP32_OFF32): Likewise.
6561 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
6562 (__ILP32_OFFBIG_LDFLAGS): Likewise.
6563
751b85f7
SP
65642013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6565
7490eb81
SP
6566 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
6567
751b85f7
SP
6568 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
6569 doubles __mpexp_twomm1. Adjust usage.
6570 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
6571 Remove.
6572
988197f0
AS
65732013-01-10 Andreas Schwab <schwab@suse.de>
6574
6575 [BZ #14964]
6576 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
6577 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
6578
e83d7298
DM
65792013-01-09 David S. Miller <davem@davemloft.net>
6580
034ed64b 6581 [BZ #15003]
e83d7298
DM
6582 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
6583 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
6584 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
6585 TCP_FASTOPEN): Define.
6586 (tcp_repair_opt): New structure.
6587 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
6588 enum values.
6589 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
6590 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
6591 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
6592 (tcp_cookie_transactions): New structure.
6593
d5e0b9bd
AB
65942013-01-09 Anton Blanchard <anton@samba.org>
6595
6596 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
6597 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
6598 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
6599 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6600
0c07e3ea
JM
66012013-01-09 Joseph Myers <joseph@codesourcery.com>
6602
6603 * include/features.h (__USE_ANSI): Remove.
6604
232f7002
RM
66052013-01-09 Roland McGrath <roland@hack.frob.com>
6606
ad98e30c
RM
6607 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
6608
232f7002
RM
6609 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
6610
950c99ca
SP
66112013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6612
b5792741
SP
6613 * sysdeps/s390/fpu/libm-test-ulps: Update.
6614
47cf2278
SP
6615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6616
950c99ca
SP
6617 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
6618 (__acr): Likewise.
6619 (__cpy): Likewise.
6620 (norm): Likewise.
6621 (denorm): Likewise.
6622 (__mp_dbl): Likewise.
6623 (__dbl_mp): Likewise.
6624 (add_magnitudes): Likewise.
6625 (sub_magnitudes): Likewise.
6626 (__add): Likewise.
6627 (__sub): Likewise.
6628 (__mul): Likewise.
6629 (__inv): Likewise.
6630 (__dvd): Likewise.
6631 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
6632 (__acr): Likewise.
6633 (__cpy): Likewise.
6634 (norm): Likewise.
6635 (denorm): Likewise.
6636 (__mp_dbl): Likewise.
6637 (__dbl_mp): Likewise.
6638 (add_magnitudes): Likewise.
6639 (sub_magnitudes): Likewise.
6640 (__add): Likewise.
6641 (__sub): Likewise.
6642 (__mul): Likewise.
6643 (__inv): Likewise.
6644 (__dvd): Likewise.
6645 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
6646 (__acr): Likewise.
6647 (__cpy): Likewise.
6648 (norm): Likewise.
6649 (denorm): Likewise.
6650 (__mp_dbl): Likewise.
6651 (__dbl_mp): Likewise.
6652 (add_magnitudes): Likewise.
6653 (sub_magnitudes): Likewise.
6654 (__add): Likewise.
6655 (__sub): Likewise.
6656 (__mul): Likewise.
6657 (__inv): Likewise.
6658 (__dvd): Likewise.
6659
eede9df9
JM
66602013-01-08 Joseph Myers <joseph@codesourcery.com>
6661
6662 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
6663 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
6664 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
6665 2 && __USE_EXTERN_INLINES]: Likewise.
6666
c40ea3d9
AJ
66672013-01-08 Andreas Jaeger <aj@suse.de>
6668
6669 [BZ# 14985]
6670 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
6671 Remove.
6672 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6673 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6674
2ccdea26
AB
66752013-01-07 Anton Blanchard <anton@samba.org>
6676
6677 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
6678 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6679 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
6680 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6681 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6682 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6683 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
6684 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
6685 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6686 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6687 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6688 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6689 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6690 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6691 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6692 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6693 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6694 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6695 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6696 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6697 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6698 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
6699 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6700 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6701 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
6702 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6703 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6704 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6705 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
6706 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6707 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6708 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6709 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6710 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6711 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6712 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6713 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6714 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6715 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6716 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6717 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
6718 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6719 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6720
a9708fed
JM
67212013-01-07 Joseph Myers <joseph@codesourcery.com>
6722
375607b9
JM
6723 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
6724 (__MALLOC_PMT): Likewise.
6725 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
6726 [__GNUC__], only on [_LIBC].
6727 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6728 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
6729 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6730 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
6731 forward declaration.
6732 (realloc_hook_ini): Likewise.
6733 (memalign_hook_ini): Likewise.
6734 (__libc_memalign): Do not use __MALLOC_PMT in variable
6735 declaration.
6736 (__libc_valloc): Likewise.
6737 (__libc_pvalloc): Likewise.
6738 (__libc_calloc): Likewise.
6739 (__posix_memalign): Likewise.
6740
a9708fed
JM
6741 [BZ #14996]
6742 * math/s_casinh.c: Include <float.h>.
6743 (__casinh): Do not do computation with squaring and square root
6744 for large arguments.
6745 * math/s_casinhf.c: Include <float.h>.
6746 (__casinhf): Do not do computation with squaring and square root
6747 for large arguments.
6748 * math/s_casinhl.c: Include <float.h>.
6749 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
6750 (__casinhl): Do not do computation with squaring and square root
6751 for large arguments.
6752 * math/libm-test.inc (casin_test): Add more tests.
6753 (casinh_test): Likewise.
6754 * sysdeps/i386/fpu/libm-test-ulps: Update.
6755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6756
afec409a
L
67572013-01-04 H.J. Lu <hongjiu.lu@intel.com>
6758
6759 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
6760 (__x86_64_raw_data_cache_size): Likewise.
6761 (__x86_64_data_cache_size_half): Likewise.
6762 (__x86_64_raw_data_cache_size_half): Likewise.
6763 (__x86_64_shared_cache_size): Likewise.
6764 (__x86_64_raw_shared_cache_size): Likewise.
6765 (__x86_64_shared_cache_size_half): Likewise.
6766 (__x86_64_raw_shared_cache_size_half): Likewise.
6767 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
6768 to ...
6769 (__x86_data_cache_size): This.
6770 (__x86_64_raw_data_cache_size): Renamed to ...
6771 (__x86_raw_data_cache_size): This.
6772 (__x86_64_data_cache_size_half): Renamed to ...
6773 (__x86_data_cache_size_half): This.
6774 (__x86_64_raw_data_cache_size_half): Renamed to ...
6775 (__x86_raw_data_cache_size_half): This.
6776 (__x86_64_shared_cache_size): Renamed to ...
6777 (__x86_shared_cache_size): This.
6778 (__x86_64_raw_shared_cache_size): Renamed to ...
6779 (__x86_raw_shared_cache_size): This.
6780 (__x86_64_shared_cache_size_half): Renamed to ...
6781 (__x86_shared_cache_size_half): This.
6782 (__x86_64_raw_shared_cache_size_half): Renamed to ...
6783 (__x86_raw_shared_cache_size_half): This.
6784 * sysdeps/x86_64/memcpy.S: Updated.
6785 * sysdeps/x86_64/memset.S: Likewise.
6786 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6787 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6788 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6789
0b3986d0
DM
67902013-01-04 David S. Miller <davem@davemloft.net>
6791
6792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6793
e47686e9
AS
67942013-01-04 Andreas Schwab <schwab@linux-m68k.org>
6795
d643bac1
AS
6796 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
6797 1 to avoid redefinition warning.
6798 (__USE_GNU): Don't define.
6799 (init_signaling_nan): Protoize.
6800
e47686e9
AS
6801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6802
b18decba
SP
68032013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6804
fffb407f
SP
6805 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
6806 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
6807 (__cpymn): Likewise.
6808 (norm): Remove commented code.
6809 (denorm): Likewise.
6810 (__mp_dbl): Likewise.
6811 (__inv): Likewise.
6812 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
6813 (__cpymn): Likewise.
6814 (norm): Remove commented code.
6815 (denorm): Likewise.
6816 (__mp_dbl): Likewise.
6817 (__inv): Likewise.
6818
b18decba
SP
6819 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
6820 mp_no value for 1.0 and 2.0.
6821 (norm): Use RADIXI instead of radixi.d.
6822 (denorm): Likewise.
6823 (__mul): Use 0.0 instead of zero.d.
6824 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
6825 mp_no value for 1.0 and 2.0.
6826 (norm): Use RADIXI instead of radixi.d.
6827 (denorm): Likewise.
6828 (__mul): Use 0.0 instead of zero.d.
6829
cdc1c96f
JM
68302013-01-04 Joseph Myers <joseph@codesourcery.com>
6831
6832 [BZ #14994]
6833 * math/s_casinh.c (__casinh): Reduce finite argument to first
6834 quadrant then set signs of results at the end.
6835 * math/s_casinhf.c (__casinhf): Likewise.
6836 * math/s_casinhl.c (__casinhl): Likewise.
6837 * math/libm-test.inc (casin_test): Add more tests.
6838 (casinh_test): Likewise.
6839 * sysdeps/i386/fpu/libm-test-ulps: Update.
6840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6841
302913e1
SP
68422013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6843
6420d207
SP
6844 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
6845
a9e48ab4
SP
6846 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
6847
b7837264
SP
6848 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
6849 declarations.
6850 (denorm): Likewise.
6851 (__mp_dbl): Likewise.
6852 (__inv): Likewise.
6853
f8af25d2
SP
6854 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
6855 and adjust the header comment.
6856
302913e1
SP
6857 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
6858 variable name from declaration.
6859
5d7dd1ca
L
68602013-01-03 H.J. Lu <hongjiu.lu@intel.com>
6861
6862 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6863 Initialize COMMON_CPUID_INDEX_7 element.
6864 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
6865 (CPUID_RTM): Likewise.
6866 (HAS_RTM): Likewise.
6867 (COMMON_CPUID_INDEX_7): New enum.
6868
2f5f40f4
AS
68692013-01-03 Andreas Schwab <schwab@linux-m68k.org>
6870
6871 [BZ #14981]
6872 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
6873 size is zero, record memory as freed.
6874
4056f4a0
AJ
68752013-01-03 Andreas Jaeger <aj@suse.de>
6876
6877 * po/ia.po: Add new Interlingua translation.
6878
ab15736f 68792012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
6880
6881 * locale/programs/localedef.c: Fix description of '--posix' flag.
6882
568035b7
JM
68832013-01-02 Joseph Myers <joseph@codesourcery.com>
6884
e6898b8d
JM
6885 * NEWS: Update dates in second copyright notice.
6886 * README: Update copyright dates in example.
6887 * manual/libc.texinfo: Update copyright dates.
6888 * scripts/test-installation.pl: Update copyright date in --version
6889 output.
6890
0e2f9562
JM
6891 * hurd/ctty-input.c: Fix copyright notice formatting.
6892 * hurd/ctty-output.c: Likewise.
6893 * hurd/dtable.c: Likewise.
6894 * hurd/hurd-raise.c: Likewise.
6895 * hurd/hurdprio.c: Likewise.
6896 * hurd/msgportdemux.c: Likewise.
6897 * misc/sys/file.h: Likewise.
6898 * misc/sys/ioctl.h: Likewise.
6899 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6900 * sysdeps/mach/hurd/chdir.c: Likewise.
6901 * sysdeps/mach/hurd/fchdir.c: Likewise.
6902 * sysdeps/mach/hurd/rename.c: Likewise.
6903 * sysdeps/mach/hurd/rmdir.c: Likewise.
6904 * sysdeps/mach/hurd/seekdir.c: Likewise.
6905 * sysdeps/mach/hurd/setsid.c: Likewise.
6906 * sysdeps/posix/wait3.c: Likewise.
6907
568035b7
JM
6908 * All files with FSF copyright notices: Update copyright dates
6909 using scripts/update-copyrights.
6910 * intl/plural.c: Regenerated.
6911 * locale/programs/charmap-kw.h: Likewise.
6912 * locale/programs/locfile-kw.h: Likewise.
6913
da08f647
SP
69142013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6915
0f5477af
SP
6916 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
6917 four values.
6918
44e0d4c2
SP
6919 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
6920 calculation loop and add branch prediction.
6921
4d55b4e5
SP
6922 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
6923 check access beyond bounds of m1np.
6924
da08f647
SP
6925 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
6926 MPTWO.
6927 (__inv): Remove local variable MPTWO to use the global
6928 constant.
6929 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
6930 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
6931 variable MPTWO.
6932 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
6933 MP3HALFS static const.
6934
8e051029
DM
69352013-01-01 David S. Miller <davem@davemloft.net>
6936
6937 * po/ca.po: Update from translation team.
6938
f4cf5f2d
JM
69392013-01-01 Joseph Myers <joseph@codesourcery.com>
6940
6941 * scripts/update-copyrights: New file.
6942 * Makeconfig: Reformat copyright notice.
6943 * ctype/ctype.h: Likewise.
6944 * debug/swprintf_chk.c: Likewise.
6945 * elf/dl-cache.c: Likewise.
6946 * elf/dl-debug.c: Likewise.
6947 * elf/dl-object.c: Likewise.
6948 * grp/initgroups.c: Likewise.
6949 * hurd/Makefile: Likewise.
6950 * hurd/hurd/signal.h: Likewise.
6951 * hurd/hurdfault.c: Likewise.
6952 * hurd/hurdioctl.c: Likewise.
6953 * hurd/hurdlookup.c: Likewise.
6954 * hurd/intr-msg.c: Likewise.
6955 * iconv/gconv_open.c: Likewise.
6956 * libio/swprintf.c: Likewise.
6957 * locale/lc-ctype.c: Likewise.
6958 * locale/nl_langinfo.c: Likewise.
6959 * mach/Machrules: Likewise.
6960 * mach/Makefile: Likewise.
6961 * malloc/obstack.h: Likewise.
6962 * manual/Makefile: Likewise.
6963 * manual/tsort.awk: Likewise.
6964 * misc/bits/stab.def: Likewise.
6965 * nis/nis_print_group_entry.c: Likewise.
6966 * nis/nis_table.c: Likewise.
6967 * nis/nss_compat/compat-pwd.c: Likewise.
6968 * nis/nss_compat/compat-spwd.c: Likewise.
6969 * po/Makefile: Likewise.
6970 * posix/fnmatch.c: Likewise.
6971 * posix/regex.h: Likewise.
6972 * resolv/Makefile: Likewise.
6973 * resolv/nss_dns/dns-network.c: Likewise.
6974 * resolv/res_hconf.c: Likewise.
6975 * scripts/gen-sorted.awk: Likewise.
6976 * soft-fp/soft-fp.h: Likewise.
6977 * stdio-common/printf.h: Likewise.
6978 * stdlib/monetary.h: Likewise.
6979 * stdlib/random.c: Likewise.
6980 * stdlib/random_r.c: Likewise.
6981 * sysdeps/generic/Makefile: Likewise.
6982 * sysdeps/gnu/Makefile: Likewise.
6983 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6984 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6985 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6986 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6987 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6988 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6989 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6990 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6991 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6992 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6993 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6994 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6995 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6996 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6997 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
6998 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6999 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7000 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7001 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7002 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7003 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7004 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7005 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7006 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7007 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
7008 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7009 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7010 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
7011 * sysdeps/mach/hurd/errnos.awk: Likewise.
7012 * sysdeps/mach/hurd/fork.c: Likewise.
7013 * sysdeps/mach/hurd/getcwd.c: Likewise.
7014 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
7015 * sysdeps/mach/hurd/mmap.c: Likewise.
7016 * sysdeps/mach/hurd/utimes.c: Likewise.
7017 * sysdeps/mach/hurd/xmknod.c: Likewise.
7018 * sysdeps/posix/profil.c: Likewise.
7019 * sysdeps/posix/readdir_r.c: Likewise.
7020 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7021 * sysdeps/powerpc/bits/setjmp.h: Likewise.
7022 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
7023 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7024 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7025 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7026 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7027 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7028 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7029 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7030 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7031 * sysdeps/pthread/lio_listio.c: Likewise.
7032 * sysdeps/sparc/dl-procinfo.h: Likewise.
7033 * sysdeps/unix/i386/sysdep.S: Likewise.
7034 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
7035 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
7036 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7037 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
7038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7039 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7040 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7041 * sysdeps/unix/sysv/linux/speed.c: Likewise.
7042 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7043 * sysdeps/wordsize-32/divdi3.c: Likewise.
7044 * time/sys/time.h: Likewise.
7045 * wcsmbs/Makefile: Likewise.
7046
0549fbba
DM
70472013-01-01 David S. Miller <davem@davemloft.net>
7048
a141f1a7
DM
7049 * po/fr.po: Update from translation team.
7050
0549fbba
DM
7051 * catgets/gencat.c: Update copyright year.
7052 * csu/version.c: Likewise.
7053 * debug/catchsegv.sh: Likewise.
7054 * debug/pcprofiledump.c: Likewise.
7055 * debug/xtrace.sh: Likewise.
7056 * elf/ldconfig.c: Likewise.
7057 * elf/ldd.bash.in: Likewise.
7058 * elf/pldd.c: Likewise.
7059 * elf/sotruss.ksh: Likewise.
7060 * elf/sprof.c: Likewise.
7061 * iconv/iconv_prog.c: Likewise.
7062 * iconv/iconvconfig.c: Likewise.
7063 * locale/programs/locale.c: Likewise.
7064 * locale/programs/localedef.c: Likewise.
7065 * login/programs/pt_chown.c: Likewise.
7066 * malloc/memusage.sh: Likewise.
7067 * malloc/memusagestat.c: Likewise.
7068 * malloc/mtrace.pl: Likewise.
7069 * nscd/nscd.c: Likewise.
7070 * nss/getent.c: Likewise.
7071 * nss/makedb.c: Likewise.
7072 * posix/getconf.c: Likewise.
7073
18ea052c
SP
70742012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7075
7076 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
7077 numbers.
7078
9c89fca6
MF
70792012-12-30 Mike Frysinger <vapier@gentoo.org>
7080
7081 * math/bits/mathcalls.h (modf): Use __nonnull.
7082
085ec079
SP
70832012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7084
7085 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
7086 (split): Use macro CN instead of the bare value.
7087 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
7088 could be used.
7089 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
7090 instead of the bare value.
7091 (power1): Likewise.
7092
6d9f97e1
SP
70932012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7094
d63f73be
SP
7095 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
7096 __ATAN_TWOM.
7097 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7098
6d9f97e1
SP
7099 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
7100 their values.
7101 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7102 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7103 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
7104 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7105
4c4febf5
AJ
71062012-12-28 Andreas Jaeger <aj@suse.de>
7107
af5843ef
AJ
7108 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
7109 values are from Linux 3.7.
7110
4c4febf5
AJ
7111 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
7112 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
7113
99136f82
SP
71142012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7115
2f216c3c 7116 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
7117 TRUE case.
7118
99136f82
SP
7119 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
7120 (norm): Likewise.
7121 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
7122 variables with preprocessor constants.
7123 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7124 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7125 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7126
7fffbdff
BH
71272012-12-27 Bruno Haible <bruno@clisp.org>
7128
7129 [BZ #14317]
7130 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
7131 only if needed.
7132
b76eb5f0
SP
71332012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7134
31a7fe5c
SP
7135 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
7136 and use variable directly.
7137 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
7138
b76eb5f0
SP
7139 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7140 MPONE.
7141 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
7142 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7143 variable MPONE.
7144 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7145 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7146 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
7147 include directive. Remove local variable MPONE.
7148 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
7149 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
7150 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7151
2c8bfe7d
DM
71522012-12-25 David S. Miller <davem@davemloft.net>
7153
7154 * version.h (RELEASE): Set to "development".
7155 (VERSION): Set to "2.17.90".
7156 * NEWS: Add 2.18 section.
7157
147d03b0
DM
71582012-12-21 David S. Miller <davem@davemloft.net>
7159
7160 * po/hr.po: Update from translation team.
7161
a8ebb2b9
AK
71622012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7163
7164 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
7165
95b4f1b6
SE
71662012-12-19 Steve Ellcey <sellcey@mips.com>
7167
b2d94007 7168 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 7169
cedb2a90
MS
71702012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7171
7172 * manual/contrib.texi (Contributors): Spelling correction.
7173
bbf527d6
DM
71742012-12-15 David S. Miller <davem@davemloft.net>
7175
7176 * po/ru.po: Update from translation team.
7177
bc38c906
DM
71782012-12-13 David S. Miller <davem@davemloft.net>
7179
85429b1a
DM
7180 * NEWS: Mention IFUNC testsuite enhancements.
7181
d283e353
DM
7182 * po/pl.po: Update from translation team.
7183 * po/bg.po: Likewise.
7184
bc38c906
DM
7185 * manual/contrib.texi (Contributors): Update entries for Hongjiu
7186 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
7187
a181b0d7
DM
71882012-12-11 David S. Miller <davem@davemloft.net>
7189
4641d57e
DM
7190 * po/sv.po: Update from translation team.
7191
f7bc6495
DM
7192 * po/vi.po: Update from translation team.
7193
6fc9048f
DM
7194 * po/cs.po: Update from translation team.
7195
a181b0d7
DM
7196 * po/de.po: Update from translation team.
7197 * po/eo.po: Likewise.
7198 * po/nl.po: Likewise.
7199
f70bfe80
SP
72002012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7201
3c8b4190
SP
7202 [BZ #14246]
7203 * manual/argp.texi (Argp Helper Functions): Move node to follow
7204 Argp Parsing State.
7205
f70bfe80
SP
7206 [BZ #14872]
7207 * manual/conf.texi (Limits on File System Capacity): Mention if
7208 terminating null is included in the max size.
7209
188f0adf
AJ
72102012-12-10 Andreas Jaeger <aj@suse.de>
7211
7212 * po/cs.po: Update from translation team.
7213
56e7d3ad
SP
72142012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7215
7216 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
7217 void pointer and cast to uintptr_t.
7218 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
7219 path.
7220 * sysdeps/s390/s390-64/memcpy.S: Likewise.
7221 * sysdeps/s390/s390-64/memset.S: Likewise.
7222
76f2d2ea 72232012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
7224
7225 [BZ #14833]
7226 * menual/message.texi (Message Translation): Fix typos.
7227 (Helper programs for gettext): Likewise.
7228
67cbf9a2
AS
72292012-12-07 Andreas Schwab <schwab@linux-m68k.org>
7230
7231 [BZ #14898]
7232 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
7233 Change to -1.
7234
682d0e9a
DM
72352012-12-07 David S. Miller <davem@davemloft.net>
7236
7237 * po/libc.pot: Update.
7238
573cd484
RH
72392012-12-07 Richard Henderson <rth@redhat.com>
7240
7e9da188 7241 [BZ #10114]
573cd484
RH
7242 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
7243 normal/normal case to before the switch.
7244 (_FP_DIV): Likewise.
7245
e933a943
MF
72462012-12-06 Carlos O'Donell <carlos@systemhalted.org>
7247 Mike Frysinger <vapier@gentoo.org>
7248
7249 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
7250 check for __NR_fadvise64_64.
7251
82123268
CM
72522012-12-06 Chris Metcalf <cmetcalf@tilera.com>
7253
7254 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
7255 0, not just to plain "0" as a statement.
7256 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
7257 with cw.
7258
d9814526
JM
72592012-12-06 Joseph Myers <joseph@codesourcery.com>
7260
7261 * NEWS: Use sourceware.org in Bugzilla URL.
7262
7728c574
SP
72632012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7264
f16946dd
SP
7265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7266 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7267
5704bbcb
SP
7268 * stdio-common/tst-put-error.c (do_test): Add newline to the
7269 padded test to ensure flush.
7270
17aa0516
JL
72712012-12-05 Jeff Law <law@redhat.com>
7272
7273 * sunrpc/etc.rpc (fedfs_admin): Add entry.
7274
363313b5
JM
72752012-12-05 Joseph Myers <joseph@codesourcery.com>
7276
effbd42a
JM
7277 * README: Don't refer to ports add-on as distributed separately.
7278 Mention AArch64 in list of systems supported in the ports add-on.
7279
87600365
JM
7280 * LICENSES: Add more non-FSF copyright and license notices.
7281
a0d7066a
JM
7282 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
7283 ((unused)).
7284
66ca5a5b
JM
7285 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
7286
363313b5
JM
7287 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
7288 10000 as width of padded output.
7289
b37984ad
JM
72902012-12-04 Joseph Myers <joseph@codesourcery.com>
7291
9003570a
JM
7292 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
7293
b37984ad
JM
7294 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
7295 variable LX with __attribute__ ((unused)).
7296 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7297 Likewise.
7298 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
7299 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7300 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
7301 with __attribute__ ((unused)).
7302
c8df52ec
DM
73032012-12-04 David S. Miller <davem@abraco.davemloft.net>
7304
7305 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
7306
b3b099af
JM
73072012-12-04 Joseph Myers <joseph@codesourcery.com>
7308
c33aa6e3
JM
7309 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
7310 (CFLAGS-nldbl-acos.c): New variable.
7311 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
7312 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
7313 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
7314 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
7315 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
7316 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
7317 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
7318 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
7319 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
7320 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
7321 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
7322 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
7323 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
7324 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
7325 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
7326 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
7327 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
7328 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
7329 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
7330 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
7331 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
7332 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
7333 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
7334 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
7335 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
7336 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
7337 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
7338 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
7339 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
7340 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
7341 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
7342 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
7343 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
7344 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
7345 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
7346 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
7347 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
7348 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
7349 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
7350 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
7351 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
7352 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
7353 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
7354 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
7355 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
7356 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
7357 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
7358 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
7359 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
7360 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
7361 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
7362 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
7363 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
7364 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
7365 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
7366 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
7367 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
7368 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
7369 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
7370 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
7371 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
7372 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
7373 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
7374 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
7375 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
7376 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
7377 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
7378 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
7379 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
7380 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
7381 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
7382 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
7383 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
7384 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
7385 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
7386 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
7387 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
7388 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
7389 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
7390 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
7391 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
7392 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
7393 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
7394 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
7395 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
7396 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
7397 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
7398 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
7399 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
7400 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
7401 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
7402 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
7403 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
7404 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
7405 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
7406 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
7407 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
7408
20f0018d
JM
7409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7410 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7411
b3b099af
JM
7412 [BZ #14914]
7413 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
7414 whole low double instead of just low 47 bits when splitting values
7415 into two parts.
7416
029264d1
AM
74172012-12-03 Allan McRae <allan@archlinux.org>
7418
7419 * manual/stdio.texi (Predefined Printf Handlers): Remove
7420 @hsep and @vsep usage.
7421
c9d6789e
MF
74222012-12-03 Mike Frysinger <vapier@gentoo.org>
7423
7424 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
7425 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
7426
4b7634a5
JL
74272012-12-03 Jeff Law <law@redhat.com>
7428
7429 * time/sys/time.h (settimeofday): Do not mark TV argument
7430 as __nonnull.
7431
eb6cbd24
MF
74322012-12-01 Mike Frysinger <vapier@gentoo.org>
7433
7434 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
7435 when currently writing and seek to current position when not.
7436 * libio/Makefile (tests): Remove bug-fclose1.
7437 * libio/bug-fclose1.c: Delete.
7438
f638872a
JM
74392012-12-01 Joseph Myers <joseph@codesourcery.com>
7440
7441 * manual/arith.texi (feenableexcept): Fix typo.
7442 (fedisableexcept): Likewise.
7443
48085d14
RM
74442012-11-30 Roland McGrath <roland@hack.frob.com>
7445
7446 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
7447 second, differently-typed declaration, rather than a cast.
7448
1a538b9f
SP
74492012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7450
7451 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
7452 * include/rpc/svc.h: ... here.
7453
d07f2ff1 74542012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
7455
7456 [BZ #13013]
7457 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
7458 depending n and resplen2 to catch cases where answer
7459 equals answerp2.
7460
c93ec1f0
CD
74612012-11-29 Carlos O'Donell <carlos@systemhalted.org>
7462
7463 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
7464 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
7465
37db69de
MF
74662012-11-29 Mike Frysinger <vapier@gentoo.org>
7467
7468 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
7469
e10c4e4f
RM
74702012-11-29 Roland McGrath <roland@hack.frob.com>
7471
7472 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
7473
2af1b328
JL
74742012-11-28 Jeff Law <law@redhat.com>
7475
7476 [BZ #13761]
7477 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
7478 dataset_temporary. Track alloca usage into alloca_used.
7479 If dataset is large allocate and release it via malloc/free.
7480
111db5b1
FW
74812012-06-04 Florian Weimer <fweimer@redhat.com>
7482
f06cc227 7483 [BZ #14197]
111db5b1
FW
7484 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
7485
dd694abd
DM
74862012-11-28 David S. Miller <davem@davemloft.net>
7487
7488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7489
9984dd01
JM
74902012-11-28 Joseph Myers <joseph@codesourcery.com>
7491
7492 [BZ #14803]
7493 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
7494 of pi/2 rounded to nearest to 64 bits.
7495 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
7496 nearest to 64 bits.
7497 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
7498 bits.
7499
14bc93a9
JL
75002012-11-28 Jeff Law <law@redhat.com>
7501 Martin Osvald <mosvald@redhat.com>
7502
7503 [BZ #14889]
7504 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
7505 * sunrpc/svc.c: Include time.h.
7506 (__svc_accept_failed): New function.
7507 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
7508 any reason other than EINTR, call __svc_accept_failed.
7509 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
7510 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
7511
e3c6aa3a
AS
75122012-11-28 Andreas Schwab <schwab@suse.de>
7513
7514 * scripts/abilist.awk: Also handle indirect functions in .opd
7515 section.
7516
1bead169
JM
75172012-11-28 Joseph Myers <joseph@codesourcery.com>
7518
7519 [BZ #13881]
7520 * sysdeps/x86/fpu/powl_helper.c: New file.
7521 * sysdeps/x86/fpu/Makefile: Likewise.
7522 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
7523 (p3): New object.
7524 (__ieee754_powl): Use __powl_helper for finite arguments except
7525 integer exponents below 8.
7526 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
7527 (p3): New object.
7528 (__ieee754_powl): Use __powl_helper for finite arguments except
7529 integer exponents below 8.
7530 * math/libm-test.inc (pow_test): Add more tests and enable some
7531 previously disabled tests.
7532 * sysdeps/i386/fpu/libm-test-ulps: Update.
7533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7534
0817d63d
SP
75352012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7536 Carlos O'Donell <carlos_odonell@mentor.com>
7537
7538 * nss/makedb.c (is_prime): Assert that input is odd and greater
7539 than 4. Note that fact in a comment too.
7540 (next_prime): Add 4 to input.
7541
de2fd463
SP
75422012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7543
7544 [BZ #11741]
7545 * libio/Makefile (tests): Add test case tst-fwrite-error.
7546 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
7547 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
7548 * libio/tst-fwrite-error.c: New test case.
7549
c515fb51
L
75502012-11-26 H.J. Lu <hongjiu.lu@intel.com>
7551
7552 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
7553 before casting to void *.
7554 * include/libc-internal.h (__pointer_type): New macro.
7555 (__integer_if_pointer_type_sub): Likewise.
7556 (__integer_if_pointer_type): Likewise.
7557 (cast_to_integer): Likewise.
7558 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
7559 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
7560 before casting to atomic64_t.
7561 (atomic_exchange_acq): Likewise.
7562 (__arch_exchange_and_add_body): Likewise.
7563 (__arch_add_body): Likewise.
7564 (atomic_add_negative): Likewise.
7565 (atomic_add_zero): Likewise.
7566
4cf77aa9
JM
75672012-11-26 Joseph Myers <joseph@codesourcery.com>
7568
7569 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
7570 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
7571 (add_fdes): Likewise.
7572 (linear_search_fdes): Likewise.
7573 (binary_search_unencoded_fdes): Likewise.
7574
d260b3b4
AS
75752012-11-26 Andreas Schwab <schwab@linux-m68k.org>
7576
7577 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
7578
67060746
AC
75792012-11-24 Adam Conrad <adconrad@0c3.net>
7580
7581 * configure.in: Autodetect C++ header directories.
7582 * configure: Regenerated.
7583
800938a1
MF
75842012-11-23 Mike Frysinger <vapier@gentoo.org>
7585
7586 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
7587
4e6e34e6
AS
75882012-11-23 Andreas Schwab <schwab@linux-m68k.org>
7589
7590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7591
7c7feb47
JM
75922012-11-22 Joseph Myers <joseph@codesourcery.com>
7593
7184dcdf
JM
7594 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
7595 LDBL_MANT_DIG == 106]: Disable some tests.
7596 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7597 Likewise.
7598 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7599 Likewise.
7600
0a42601f
JM
7601 [BZ #14871]
7602 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
7603 input for small inputs. Return +/- pi/2 for large inputs.
7604 * math/libm-test.inc (atan_test): Add more tests.
7605
79c9b9fe
JM
7606 * sysdeps/generic/unwind-dw2-fde-glibc.c
7607 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
7608 __attribute__ ((unused)).
7609
c60d3bf2
JM
7610 [BZ #14645]
7611 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
7612 x * y if x and y are nonzero and z is zero.
7613
ef1e0867
JM
7614 [BZ #14811]
7615 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
7616 nonzero exponents with absolute value below 0x1p-117 to +/-
7617 0x1p-117.
7618
1468ded3
JM
7619 [BZ #14869]
7620 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
7621 up arguments below 2**-450, not just those below 2**-500.
7622 * math/libm-test.inc (hypot_test): Add another test.
7623
8e27e3cc
JM
7624 [BZ #14868]
7625 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7626 Return a+b for ratio over 2**120, not 2**60.
7627 * math/libm-test.inc (hypot_test): Add another test.
7628
c9c0279b
JM
7629 * math/libm-test.inc (clog_test): Use
7630 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
7631 (clog10_test): Likewise.
7632
7c7feb47
JM
7633 [BZ #6778]
7634 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
7635
fff1530e
AS
76362012-11-22 Andreas Schwab <schwab@suse.de>
7637
7638 * sysdeps/i386/fpu/libm-test-ulps: Update.
7639
94558d30
PT
76402012-11-22 Pino Toscano <toscano.pino@tiscali.it>
7641
7642 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
7643 printf output with newline.
7644
7e1be741
L
76452012-11-21 H.J. Lu <hongjiu.lu@intel.com>
7646
6bfea974
L
7647 [BZ #14865]
7648 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
7649 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
7650 -z nodlopen, -z initfirst and -z execstack support.
7651 * configure: Regenerated.
7652
7e1be741
L
7653 * elf/elf.h (DF_1_NODIRECT): New macro.
7654 (DF_1_IGNMULDEF): Likewise.
7655 (DF_1_NOKSYMS): Likewise.
7656 (DF_1_NOHDR): Likewise.
7657 (DF_1_EDITED): Likewise.
7658 (DF_1_NORELOC): Likewise.
7659 (DF_1_SYMINTPOSE): Likewise.
7660 (DF_1_GLOBAUDIT): Likewise.
7661 (DF_1_SINGLETON): Likewise.
7662 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
7663 DT_1_SUPPORTED_MASK bits.
7664 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
7665
105ce2ce
CD
76662012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
7667
7668 * sysdeps/unix/make-syscalls.sh: Document prefixes.
7669
123be9de
TS
76702012-11-20 Thomas Schwinge <thomas@codesourcery.com>
7671
d072f3f7
TS
7672 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
7673 macro.
7674
123be9de
TS
7675 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
7676 (sendmmsg): Move declarations...
7677 * socket/sys/socket.h: ... here.
7678 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
7679 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
7680 include it from...
7681 * socket/recvmmsg.c: ... this new file.
7682 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
7683 (sendmmsg): Rename to __sendmmsg, create weak alias and make
7684 definition of __sendmmsg hidden.
7685 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
7686 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
7687 Move ENOSYS stub into and include it from...
7688 * socket/sendmmsg.c: ... this new file.
7689 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
7690 (sysdep_routines): Move recvmmsg and sendmmsg...
7691 * socket/Makefile (routines): ... here.
7692 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
7693 (GLIBC_PRIVATE): Add __sendmmsg.
7694 * include/sys/socket.h (__sendmmsg): Add declarations.
7695 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
7696 sendmmsg.
7697
cf9a5d18
JM
76982012-11-20 Joseph Myers <joseph@codesourcery.com>
7699
7700 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
7701 variable I1 with __attribute__ ((unused)).
7702 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7703
ecd4caf9
JM
77042012-11-19 Joseph Myers <joseph@codesourcery.com>
7705
be14d48f
JM
7706 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
7707 DUMMY variables with __attribute__ ((unused)).
7708
ecd4caf9
JM
7709 * bits/byteswap.h: Include <bits/types.h>.
7710 (__bswap_64): Use __uint64_t instead of unsigned long long int.
7711
986cab95
PT
77122012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7713
7714 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
7715 string_t. Do not manually set errno.
7716 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
7717 length with __strnlen. Make sure to both set errno and return it on
7718 failure.
7719
6d33cc9d
DM
77202012-11-19 David S. Miller <davem@davemloft.net>
7721
7722 With help from Joseph Myers.
7723 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
7724 very large arguments properly.
7725 * math/libm-test.inc (atan_test): New tests.
7726 (atan2_test): New tests.
7727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7729
ee663277
JM
77302012-11-19 Joseph Myers <joseph@codesourcery.com>
7731
877f2d8e
JM
7732 [BZ #14856]
7733 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
7734 Define to 3.
7735
116fc08a
JM
7736 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
7737 [POSIX] (EADDRNOTAVAIL): Likewise.
7738 [POSIX] (EAFNOSUPPORT): Likewise.
7739 [POSIX] (EALREADY): Likewise.
7740 [POSIX] (ECONNABORTED): Likewise.
7741 [POSIX] (ECONNREFUSED): Likewise.
7742 [POSIX] (ECONNRESET): Likewise.
7743 [POSIX] (EDESTADDRREQ): Likewise.
7744 [POSIX] (EDQUOT): Likewise.
7745 [POSIX] (EHOSTUNREACH): Likewise.
7746 [POSIX] (EIDRM): Likewise.
7747 [POSIX] (EISCONN): Likewise.
7748 [POSIX] (ELOOP): Likewise.
7749 [POSIX] (EMULTIHOP): Likewise.
7750 [POSIX] (ENETDOWN): Likewise.
7751 [POSIX] (ENETUNREACH): Likewise.
7752 [POSIX] (ENOBUFS): Likewise.
7753 [POSIX] (ENODATA): Likewise.
7754 [POSIX] (ENOLINK): Likewise.
7755 [POSIX] (ENOMSG): Likewise.
7756 [POSIX] (ENOPROTOOPT): Likewise.
7757 [POSIX] (ENOSR): Likewise.
7758 [POSIX] (ENOSTR): Likewise.
7759 [POSIX] (ENOTCONN): Likewise.
7760 [POSIX] (ENOTSOCK): Likewise.
7761 [POSIX] (EOPNOTSUPP): Likewise.
7762 [POSIX] (EOVERFLOW): Likewise.
7763 [POSIX] (EPROTO): Likewise.
7764 [POSIX] (EPROTONOSUPPORT): Likewise.
7765 [POSIX] (EPROTOTYPE): Likewise.
7766 [POSIX] (ESTALE): Likewise.
7767 [POSIX] (ETIME): Likewise.
7768 [POSIX] (ETXTBSY): Likewise.
7769 [POSIX] (EWOULDBLOCK): Likewise.
7770 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
7771 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
7772 [POSIX] (SEEK_CUR): Likewise.
7773 [POSIX] (SEEK_END): Likewise.
7774 [POSIX || UNIX98] (mode_t): Do not require.
7775 [POSIX] (off_t): Likewise.
7776 [POSIX] (pid_t): Likewise.
7777 [POSIX] (sys/stat.h): Do not allow header.
7778 [POSIX] (unistd.h): Likewise.
7779 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
7780 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
7781 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
7782 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
7783 require.
7784 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
7785 sigevent): Specify elements.
7786 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
7787 entry.
7788 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
7789 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
7790
a483863f
JM
7791 * conform/data/cpio.h-data [POSIX]: Disable whole file.
7792 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
7793 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
7794 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
7795 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
7796 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
7797 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
7798 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
7799 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
7800 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
7801 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
7802 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
7803 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
7804 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
7805 Likewise.
7806 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
7807 Likewise.
7808 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
7809 Likewise.
7810 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
7811 Likewise.
7812 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
7813 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
7814 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
7815 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
7816 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
7817 Specify lower bound on value.
7818 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
7819 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
7820 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
7821 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
7822 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
7823 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
7824 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
7825 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
7826 value.
7827 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
7828 as optional.
7829 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
7830 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
7831 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
7832 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
7833 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
7834 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
7835 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
7836 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
7837 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
7838 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
7839 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
7840 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
7841 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
7842 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
7843 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
7844 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
7845 entry.
7846 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
7847 optional.
7848 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
7849 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
7850 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
7851 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
7852 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
7853 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
7854 Likewise.
7855 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
7856 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
7857 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
7858 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
7859 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
7860 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
7861 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
7862 as optional.
7863 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
7864 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
7865 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
7866 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
7867 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
7868 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
7869 specify as optional.
7870 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
7871 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
7872 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
7873 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
7874 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
7875 [XPG3] (NL_LANGMAX): Likewise.
7876 [POSIX || XPG3] (NL_MSGMAX): Likewise.
7877 [POSIX || XPG3] (NL_NMAX): Likewise.
7878 [POSIX || XPG3] (NL_SETMAX): Likewise.
7879 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
7880 [XPG3] (NZERO): Likewise.
7881 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
7882 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
7883 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
7884 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
7885 (REG_ERANGE): Expect.
7886 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
7887 optional-constant.
7888 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
7889 Use (void) in prototype.
7890 [POSIX] (*_t): Allow.
7891 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
7892 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
7893 (WRDE_BADVAL): Expect.
7894
5ba924e3
JM
7895 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
7896 expect.
7897 [XPG3 || XPG4] (O_RSYNC): Likewise.
7898 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
7899 Likewise.
7900 [XPG3 || XPG4] (pthread_sigmask): Likewise.
7901 [XPG3 || XPG4] (sigqueue): Likewise.
7902 [XPG3 || XPG4] (sigtimedwait): Likewise.
7903 [XPG3 || XPG4] (sigwaitinfo): Likewise.
7904 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
7905 [XPG3 || XPG4] (vsnprintf): Likewise.
7906 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
7907 Likewise.
7908 [XPG3 || XPG4] (blksize_t): Likewise.
7909 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
7910 Likewise.
7911 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
7912 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7913 [XPG3 || XPG4] (struct itimerspec): Likewise.
7914 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
7915 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
7916 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
7917 [XPG3 || XPG4] (clockid_t): Likewise.
7918 [XPG3 || XPG4] (timer_t): Likewise.
7919 [XPG3 || XPG4] (clock_getres): Likewise.
7920 [XPG3 || XPG4] (clock_gettime): Likewise.
7921 [XPG3 || XPG4] (clock_settime): Likewise.
7922 [XPG3 || XPG4] (nanosleep): Likewise.
7923 [XPG3 || XPG4] (timer_create): Likewise.
7924 [XPG3 || XPG4] (timer_delete): Likewise.
7925 [XPG3 || XPG4] (timer_gettime): Likewise.
7926 [XPG3 || XPG4] (timer_getoverrun): Likewise.
7927 [XPG3 || XPG4] (timer_settime): Likewise.
7928 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
7929 [XPG3 || XPG4] (getlogin_r): Likewise.
7930 [XPG3 || XPG4] (pread): Likewise.
7931 [XPG3 || XPG4] (pthread_atfork): Likewise.
7932 [XPG3 || XPG4] (pwrite): Likewise.
7933
ee663277
JM
7934 [BZ #14835]
7935 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
7936 <bits/siginfo.h>.
7937
942caa16
PT
79382012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7939
e19af380
PT
7940 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
7941 finalizing MALLSTREAM.
7942
942caa16
PT
7943 * sysdeps/mach/hurd/syncfs.c: New file.
7944
cfde9b46
SP
79452012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7946
7947 [BZ #14719]
7948 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
7949 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
7950 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
7951 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
7952 (_nss_dns_gethostbyname4_r): Likewise.
7953 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
7954 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
7955
f6da27e5
PH
79562012-11-19 Peng Haitao <penght@cn.fujitsu.com>
7957
7958 [BZ #13763]
7959 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
7960
6665d4a2
SM
79612012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
7962
1f51ee92
SM
7963 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
7964 * elf/cache.c (print_entry): Print ",AArch64" for
7965 FLAG_AARCH64_LIB64
7966
6665d4a2
SM
7967 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
7968 * elf/cache.c (print_entry): Print ",hard-float" for
7969 FLAG_ARM_LIBHF.
7970
05b227bd
DM
79712012-11-18 David S. Miller <davem@davemloft.net>
7972
7973 With help from Joseph Myers.
7974 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
7975 cutoff to 2**-13.
7976 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
7977 cutoff to 2**-25.
7978 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
7979 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
7980 small.
7981 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
7982 * math/libm-test.inc (y0_test): New tests.
7983 (y1_test): New tests.
7984 * sysdeps/i386/fpu/libm-test-ulps: Update.
7985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7987
786b0b67
AS
79882012-11-18 Andreas Schwab <schwab@linux-m68k.org>
7989
7990 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
7991 64-bit targets.
7992 * configure: Regenerated.
7993
8e18b86d
DM
79942012-11-17 David S. Miller <davem@davemloft.net>
7995
7996 [BZ #14811]
7997 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
7998 nonzero exponents with absolute value below 0x1p-128 to +/-
7999 0x1p-128.
8000
531f1ae0
JM
80012012-11-17 Joseph Myers <joseph@codesourcery.com>
8002
12df29e2
JM
8003 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
8004
150dc1a0
JM
8005 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
8006
531f1ae0
JM
8007 * posix/getconf-speclist.c: New file.
8008 * posix/posix-envs.def: Likewise.
8009 * posix/confstr.c (START_ENV_GROUP): New macro.
8010 (END_ENV_GROUP): Likewise.
8011 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8012 (KNOWN_PRESENT_ENV_STRING): Likewise.
8013 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8014 (UNKNOWN_ENVIRONMENT): Likewise.
8015 (confstr): Include posix-envs.def instead of handling
8016 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
8017 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
8018 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
8019 (END_ENV_GROUP): Likewise.
8020 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8021 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8022 (UNKNOWN_ENVIRONMENT): Likewise.
8023 (__sysconf): Include posix-envs.def instead of handling associated
8024 cases directly here.
8025 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
8026 preprocessing getconf-speclist.c rather than running getconf or
8027 generating empty file.
8028
a93f9cbc
PT
80292012-11-16 Pino Toscano <toscano.pino@tiscali.it>
8030
8031 * scripts/check-local-headers.sh: Ignore 'mach' headers.
8032
d64d9f87
AL
80332012-11-16 Andrej Lajovic <natrij@gmail.com>
8034
8035 [BZ #14672]
8036 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
8037
447885eb
DM
80382012-11-16 David S. Miller <davem@davemloft.net>
8039
8040 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
8041 smaller than LDBL_EPSILON/2.0L, just return xm1.
8042
bcbf9830
L
80432012-11-16 H.J. Lu <hongjiu.lu@intel.com>
8044
8045 * elf/tst-array1.c (init): Set constructor priority to 1000.
8046 (fini): Set destructor priority to 1000.
8047 * elf/tst-array2dep.c: Likewise.
8048
2b766585
SP
80492012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8050
8051 [BZ #11741]
8052 * libio/fileops.c (_IO_new_file_write): Correctly return error.
8053 (_IO_new_file_xsputn): Also return EOF if none of the input
8054 data was written when overflow failed.
8055 * libio/iopadn.c (_IO_padn): Likewise.
8056 * libio/iowpadn.c (_IO_wpadn): Likewise.
8057 * stdio-common/tst-put-error.c: Add copyright notice.
8058 (do_test): Add case for printing padded string.
8059 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
8060 _IO_padn returned error.
8061 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
8062 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
8063 return EOF.
8064
b1848fde
SP
80652012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8066
8067 * libio/libioP.h: Add comment note that the references to C++
8068 bits are now obsolete.
8069
2fd89785
MS
80702012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8071
8072 * math/libm-test.inc (check_complex): Use asprintf.
8073
e3ea5409
JM
80742012-11-14 Joseph Myers <joseph@codesourcery.com>
8075
8076 * debug/pcprofiledump.c (print_version): Update copyright year.
8077 * malloc/memusagestat.c (print_version): Likewise.
8078
2e64d265
L
80792012-11-14 H.J. Lu <hongjiu.lu@intel.com>
8080
8081 [BZ #14831]
8082 * elf/Makefile (tests): Add tst-audit8.
8083 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
8084 ($(objpfx)tst-audit8.out): New target.
8085 (tst-audit8-ENV): New variable.
8086 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
8087 audit if l_reloc_result is NULL.
8088 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
8089 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
8090 * elf/tst-audit8.c: New file.
8091
c485e4d2
MS
80922012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8093
8094 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
8095 * misc/Makefile (CFLAGS-select.c): Define.
8096 * posix/Makefile (CFLAGS-pause.c): Define.
8097
3a0d900a
DM
80982012-11-13 David S. Miller <davem@davemloft.net>
8099
8100 * crypt/Makefile: Move test targets after toplevel Rules
8101 inclusion. Grab any necessary sysdep routines when linking.
8102 * crypt/md5.c (md5_process_block): Remove define, we will always
8103 name it __md5_process_block.
8104 (md5_finish_ctx): Update md5_process_block call.
8105 (md5_stream): Likewise.
8106 (md5_process_bytes): Likewise.
8107 (md5_process_block): Rename to __md5_process_block and move to ...
8108 * crypt/md5-block.c: ... here.
8109 * crypt/sha256.c (sha256_process_block): Move to ...
8110 * crypt/sha256-block.c: ... here.
8111 * crypt/sha512.c (sha512_process_block): Move to ...
8112 * crypt/sha512-block.c: ... here.
8113 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
8114 path.
8115 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
8116 * sysdeps/sparc/sparc64/multiarch/Makefile
8117 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
8118 crypt subdir.
8119 (localedef-aux): Add md5 crypto assembler when in locale subdir.
8120 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
8121 multiarch changes.
8122 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
8123 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
8124 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
8125 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
8126 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
8127 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
8128 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
8129 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
8130 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
8131 file.
8132 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
8133 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
8134 file.
8135 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
8136
8ca89318
JM
81372012-11-13 Joseph Myers <joseph@codesourcery.com>
8138
e27d476a
JM
8139 * timezone/tzselect.ksh: Update from tzcode git revision
8140 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
8141 * timezone/zdump.c: Likewise.
8142 * timezone/zic.c: Likewise.
8143 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
8144 in TZVERSION setting, not $(PKGVERSION).
8145 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
8146 REPORT_BUGS_TO settings.
8147
8ca89318
JM
8148 [BZ #14838]
8149 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
8150 macro.
8151
47594329
MS
81522012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8153
8154 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
8155 detection to immediately after _FP_ROUND().
8156 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
8157 bits are 0.
8158
640ac3f1
DM
81592012-11-11 David S. Miller <davem@davemloft.net>
8160
8161 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
8162 inttypes.h
8163 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
8164 __close rather than their public counterparts.
8165
3d2577bb
JM
81662012-11-10 Joseph Myers <joseph@codesourcery.com>
8167
8168 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
8169 file.
8170 [UNIX98] (sem_timedwait): Do not expect.
8171 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
8172 [XPG4 || UNIX98] (sockatmark): Do not expect.
8173 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
8174 (clock_getcpuclockid): Do not expect.
8175 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
8176 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
8177 Do not expect.
8178 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
8179 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
8180 [UNIX98] (vwscanf): Likewise.
8181 [UNIX98] (vswscanf): Likewise.
8182
fb1ae1ee
JM
81832012-11-09 Joseph Myers <joseph@codesourcery.com>
8184
9ec6f8bd
JM
8185 * timezone/version.h: Remove file.
8186 * timezone/README: Do not refer to version.h.
8187 * timezone/Makefile ($(objpfx)zic.o): New dependency on
8188 $(objpfx)version.h.
8189 ($(objpfx)zdump.o): Likewise.
c3f81911 8190 ($(objpfx)version.h): New target.
9ec6f8bd 8191
0aa8f8a1
JM
8192 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
8193 2012i.
8194 * timezone/README: Don't mention modification to tzselect.ksh.
8195 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
8196 work on unmodified tzselect.ksh. Substitute version numbers in
8197 tzselect.ksh.
8198
4e87147f
JM
8199 * Makefile (format-me): Remove.
8200 (INSTALL): Adjust indentation. Use commands directly instead of
8201 using $(format-me).
8202
8b748aed
JM
8203 * aclocal.m4 (ACX_PKGVERSION): New macro.
8204 (ACX_BUGURL): Likewise.
8205 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
8206 (PKGVERSION): New AC_DEFINE_UNQUOTED.
8207 (REPORT_BUGS_TO): Likewise.
8208 * configure: Regenerated.
8209 * config.h.in (PKGVERSION): New macro.
8210 (REPORT_BUGS_TO): Likewise.
8211 * config.make.in (PKGVERSION): New variable.
8212 (PKGVERSION_TEXI): Likewise.
8213 (REPORT_BUGS_TO): Likewise.
8214 (REPORT_BUGS_TEXI): Likewise.
8215 * Makefile (format-me): Use -I$(common-objpfx)manual.
8216 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
8217 ($(common-objpfx)manual/%): New target.
8218 (manual/%): Remove target.
8219 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
8220 (print_version): Use PKGVERSION.
8221 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
8222 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
8223 and REPORT_BUGS_TO.
8224 ($(objpfx)xtrace): Likewise.
8225 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
8226 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
8227 (print_version): Use PKGVERSION.
8228 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
8229 (do_version): Use PKGVERSION.
8230 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
8231 REPORT_BUGS_TO.
8232 (common-ldd-rewrite): Likewise.
8233 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
8234 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
8235 (print_version): Use PKGVERSION.
8236 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
8237 * elf/pldd.c (argp_program_bug_address): Remove variable.
8238 (more_help): New function.
8239 (argp): Use more_help.
8240 (print_version): Use PKGVERSION.
8241 * elf/sln.c (main): Use PKGVERSION.
8242 (usage): Use REPORT_BUGS_TO.
8243 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
8244 (top level): Use PKGVERSION.
8245 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
8246 (print_version): Use PKGVERSION.
8247 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
8248 (print_version): Use PKGVERSION.
8249 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
8250 (print_version): Use PKGVERSION.
8251 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
8252 (print_version): Use PKGVERSION.
8253 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
8254 (print_version): Use PKGVERSION.
8255 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
8256 (print_version): Use PKGVERSION.
8257 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
8258 and BUGURL.
8259 ($(objpfx)memusage): Likewise.
8260 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
8261 (do_version): Use PKGVERSION.
8262 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
8263 (print_version): Use PKGVERSION.
8264 * malloc/mtrace.pl ($PACKAGE): Remove variable.
8265 ($PKGVERSION): New variable.
8266 ($REPORT_BUGS_TO): Likewise.
8267 (usage): Use $REPORT_BUGS_TO.
8268 (top level): Use $PKGVERSION.
8269 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
8270 ($(objpfx)pkgvers.texi): New rule.
8271 ($(objpfx)stamp-pkgvers): Likewise.
8272 * manual/install.texi: Include pkgvers.texi.
8273 (--with-pkgversion): Document new configure option.
8274 (--with-bugurl): Likewise.
8275 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
8276 than necessarily for this particular distribution. Use
8277 REPORT_BUGS_TO for where to report bugs.
8278 * INSTALL: Regenerated.
8279 * manual/libc.texinfo: Include pkgvers.texi.
8280 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
8281 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
8282 (print_version): Use PKGVERSION.
8283 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
8284 (print_version): Use PKGVERSION.
8285 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
8286 (print_version): Use PKGVERSION.
8287 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
8288 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
8289 macro.
8290 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
8291 (print_version): Use PKGVERSION.
8292 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
8293 (print_version): Use PKGVERSION.
8294 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
8295 and PKGVERSION.
8296
92e4b6a9
JM
8297 * timezone/checktab.awk: Update from tzcode 2012i.
8298 * timezone/ialloc.c: Likewise.
8299 * timezone/private.h: Likewise.
8300 * timezone/scheck.c: Likewise.
8301 * timezone/tzfile.h: Likewise.
8302 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
8303 (TZVERSION): Hardcode tzcode version number.
8304 * timezone/zdump.c: Update from tzcode 2012i.
8305 * timezone/zic.c: Likewise.
8306 * timezone/version.h: New file.
8307 * timezone/README: Describe version.h. Update upstream location.
8308
9bde902c
JM
8309 [BZ #14824]
8310 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
8311 (mktemp): Enable declaration.
8312 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
8313 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
8314 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
8315 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
8316 Likewise.
8317 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
8318 Likewise.
8319 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
8320 Likewise.
8321 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
8322 Likewise.
8323 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
8324 Likewise.
8325 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
8326 Likewise.
8327
fb1ae1ee
JM
8328 [BZ #14821]
8329 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
8330 offset in buffer as u_int32_t not u_long. Consistently use memcpy
8331 for copies of such integer values.
8332 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
8333 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
8334
2c1adbcb
AJ
83352012-11-09 Andreas Jaeger <aj@suse.de>
8336
8337 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
8338 definitions and declarations that are provided by
8339 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8340
d0f8457e
AK
83412012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8342
3a235abb 8343 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
8344 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
8345 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
8346 definition.
8347
57241e26
MS
83482012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8349
8350 * elf/elf.h: Update comment before AArch64 relocations.
8351
60e8270d
DM
83522012-11-07 David S. Miller <davem@davemloft.net>
8353
8354 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
8355 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8356 (__start_context): Declare.
8357 (__makecontext_ret): Delete.
8358 (__makecontext): Hook up __start_context instead of
8359 __makecontext_ret.
8360 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8361 (sysdep_routines): Add __start_context when in stdlib.
8362
0fbb0fbc
JM
83632012-11-07 Joseph Myers <joseph@codesourcery.com>
8364
8365 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
8366 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
8367 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
8368 hardcoded "nm".
8369 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
8370 (READELF): New variable. Use it instead of hardcoded "readelf".
8371
eb48db7e
L
83722012-11-07 H.J. Lu <hongjiu.lu@intel.com>
8373
8374 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
8375 * sysdeps/x86/Makefile: Here.
8376 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
8377 * sysdeps/x86/tst-xmmymm.sh: This.
8378
05bcf62a
JM
83792012-11-07 Joseph Myers <joseph@codesourcery.com>
8380
c4b6cf53
JM
8381 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
8382 expectations.
8383 [UNIX98] (pthread_barrier_t): Do not expect.
8384 [UNIX98] (pthread_barrierattr_t): Likewise.
8385 [UNIX98] (pthread_spinlock_t): Likewise.
8386 [UNIX98] (pthread_barrier_destroy): Likewise.
8387 [UNIX98] (pthread_barrier_init): Likewise.
8388 [UNIX98] (pthread_barrier_wait): Likewise.
8389 [UNIX98] (pthread_barrierattr_destroy): Likewise.
8390 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
8391 [UNIX98] (pthread_barrierattr_init): Likewise.
8392 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
8393 [UNIX98] (pthread_getcpuclockid): Likewise.
8394 [UNIX98] (pthread_mutex_timedlock): Likewise.
8395 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
8396 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
8397 [UNIX98] (pthread_sigmask): Likewise.
8398 [UNIX98] (pthread_spin_destroy): Likewise.
8399 [UNIX98] (pthread_spin_init): Likewise.
8400 [UNIX98] (pthread_spin_lock): Likewise.
8401 [UNIX98] (pthread_spin_trylock): Likewise.
8402 [UNIX98] (pthread_spin_unlock): Likewise.
8403 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
8404 Do not expect.
8405 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
8406 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
8407 [XPG3 || XPG4] (pthread_cond_t): Likewise.
8408 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
8409 [XPG3 || XPG4] (pthread_key_t): Likewise.
8410 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
8411 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
8412 [XPG3 || XPG4] (pthread_once_t): Likewise.
8413 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
8414 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
8415 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
8416 [XPG3 || XPG4] (pthread_t): Likewise.
8417
cbe6e120
JM
8418 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
8419 not expect.
8420 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
8421
1b126443
JM
8422 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
8423 Change function return type to int.
8424
b961a573
JM
8425 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
8426 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
8427 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
8428 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
8429 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
8430 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
8431 [!POSIX] (posix_madvise): Likewise.
8432 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
8433 && !UNIX98].
8434 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
8435 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
8436 (mode_t): Likewise.
8437 (posix_mem_offset): Likewise.
8438 (posix_typed_mem_get_info): Likewise.
8439 (posix_typed_mem_open): Likewise.
8440
9e188909
JM
8441 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
8442 Change condition to [XOPEN2K8].
8443
05bcf62a
JM
8444 * conform/conformtest.pl: Preprocess allow-header data with -x c
8445 instead of from stdin.
8446 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
8447 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
8448 [C99-based standards] (cerfc): Likewise.
8449 [C99-based standards] (cexp2): Likewise.
8450 [C99-based standards] (cexpm1): Likewise.
8451 [C99-based standards] (clog10): Likewise.
8452 [C99-based standards] (clog1p): Likewise.
8453 [C99-based standards] (clog2): Likewise.
8454 [C99-based standards] (clgamma): Likewise.
8455 [C99-based standards] (ctgamma): Likewise.
8456 [C99-based standards] (cerff): Likewise.
8457 [C99-based standards] (cerfcf): Likewise.
8458 [C99-based standards] (cexp2f): Likewise.
8459 [C99-based standards] (cexpm1f): Likewise.
8460 [C99-based standards] (clog10f): Likewise.
8461 [C99-based standards] (clog1pf): Likewise.
8462 [C99-based standards] (clog2f): Likewise.
8463 [C99-based standards] (clgammaf): Likewise.
8464 [C99-based standards] (ctgammaf): Likewise.
8465 [C99-based standards] (cerfl): Likewise.
8466 [C99-based standards] (cerfcl): Likewise.
8467 [C99-based standards] (cexp2l): Likewise.
8468 [C99-based standards] (cexpm1l): Likewise.
8469 [C99-based standards] (clog10l): Likewise.
8470 [C99-based standards] (clog1pl): Likewise.
8471 [C99-based standards] (clog2l): Likewise.
8472 [C99-based standards] (clgammal): Likewise.
8473 [C99-based standards] (ctgammal): Likewise.
8474 * conform/data/inttypes.h-data [C99-based standards]: Include
8475 stdint.h-data. Remove all expectations for stdint.h contents.
8476 [C99-based standards] (PRI*): Do not allow.
8477 [C99-based standards] (SCN*): Likewise.
8478 [C99-based standards] (*_t): Likewise.
8479 [C99-based-standards] (PRId8): Expect macro.
8480 [C99-based-standards] (PRIi8): Likewise.
8481 [C99-based-standards] (PRIo8): Likewise.
8482 [C99-based-standards] (PRIu8): Likewise.
8483 [C99-based-standards] (PRIx8): Likewise.
8484 [C99-based-standards] (PRIX8): Likewise.
8485 [C99-based-standards] (SCNd8): Likewise.
8486 [C99-based-standards] (SCNi8): Likewise.
8487 [C99-based-standards] (SCNo8): Likewise.
8488 [C99-based-standards] (SCNu8): Likewise.
8489 [C99-based-standards] (SCNx8): Likewise.
8490 [C99-based-standards] (PRIdLEAST8): Likewise.
8491 [C99-based-standards] (PRIiLEAST8): Likewise.
8492 [C99-based-standards] (PRIoLEAST8): Likewise.
8493 [C99-based-standards] (PRIuLEAST8): Likewise.
8494 [C99-based-standards] (PRIxLEAST8): Likewise.
8495 [C99-based-standards] (PRIXLEAST8): Likewise.
8496 [C99-based-standards] (SCNdLEAST8): Likewise.
8497 [C99-based-standards] (SCNiLEAST8): Likewise.
8498 [C99-based-standards] (SCNoLEAST8): Likewise.
8499 [C99-based-standards] (SCNuLEAST8): Likewise.
8500 [C99-based-standards] (SCNxLEAST8): Likewise.
8501 [C99-based-standards] (PRIdFAST8): Likewise.
8502 [C99-based-standards] (PRIiFAST8): Likewise.
8503 [C99-based-standards] (PRIoFAST8): Likewise.
8504 [C99-based-standards] (PRIuFAST8): Likewise.
8505 [C99-based-standards] (PRIxFAST8): Likewise.
8506 [C99-based-standards] (PRIXFAST8): Likewise.
8507 [C99-based-standards] (SCNdFAST8): Likewise.
8508 [C99-based-standards] (SCNiFAST8): Likewise.
8509 [C99-based-standards] (SCNoFAST8): Likewise.
8510 [C99-based-standards] (SCNuFAST8): Likewise.
8511 [C99-based-standards] (SCNxFAST8): Likewise.
8512 [C99-based-standards] (PRId16): Likewise.
8513 [C99-based-standards] (PRIi16): Likewise.
8514 [C99-based-standards] (PRIo16): Likewise.
8515 [C99-based-standards] (PRIu16): Likewise.
8516 [C99-based-standards] (PRIx16): Likewise.
8517 [C99-based-standards] (PRIX16): Likewise.
8518 [C99-based-standards] (SCNd16): Likewise.
8519 [C99-based-standards] (SCNi16): Likewise.
8520 [C99-based-standards] (SCNo16): Likewise.
8521 [C99-based-standards] (SCNu16): Likewise.
8522 [C99-based-standards] (SCNx16): Likewise.
8523 [C99-based-standards] (PRIdLEAST16): Likewise.
8524 [C99-based-standards] (PRIiLEAST16): Likewise.
8525 [C99-based-standards] (PRIoLEAST16): Likewise.
8526 [C99-based-standards] (PRIuLEAST16): Likewise.
8527 [C99-based-standards] (PRIxLEAST16): Likewise.
8528 [C99-based-standards] (PRIXLEAST16): Likewise.
8529 [C99-based-standards] (SCNdLEAST16): Likewise.
8530 [C99-based-standards] (SCNiLEAST16): Likewise.
8531 [C99-based-standards] (SCNoLEAST16): Likewise.
8532 [C99-based-standards] (SCNuLEAST16): Likewise.
8533 [C99-based-standards] (SCNxLEAST16): Likewise.
8534 [C99-based-standards] (PRIdFAST16): Likewise.
8535 [C99-based-standards] (PRIiFAST16): Likewise.
8536 [C99-based-standards] (PRIoFAST16): Likewise.
8537 [C99-based-standards] (PRIuFAST16): Likewise.
8538 [C99-based-standards] (PRIxFAST16): Likewise.
8539 [C99-based-standards] (PRIXFAST16): Likewise.
8540 [C99-based-standards] (SCNdFAST16): Likewise.
8541 [C99-based-standards] (SCNiFAST16): Likewise.
8542 [C99-based-standards] (SCNoFAST16): Likewise.
8543 [C99-based-standards] (SCNuFAST16): Likewise.
8544 [C99-based-standards] (SCNxFAST16): Likewise.
8545 [C99-based-standards] (PRId32): Likewise.
8546 [C99-based-standards] (PRIi32): Likewise.
8547 [C99-based-standards] (PRIo32): Likewise.
8548 [C99-based-standards] (PRIu32): Likewise.
8549 [C99-based-standards] (PRIx32): Likewise.
8550 [C99-based-standards] (PRIX32): Likewise.
8551 [C99-based-standards] (SCNd32): Likewise.
8552 [C99-based-standards] (SCNi32): Likewise.
8553 [C99-based-standards] (SCNo32): Likewise.
8554 [C99-based-standards] (SCNu32): Likewise.
8555 [C99-based-standards] (SCNx32): Likewise.
8556 [C99-based-standards] (PRIdLEAST32): Likewise.
8557 [C99-based-standards] (PRIiLEAST32): Likewise.
8558 [C99-based-standards] (PRIoLEAST32): Likewise.
8559 [C99-based-standards] (PRIuLEAST32): Likewise.
8560 [C99-based-standards] (PRIxLEAST32): Likewise.
8561 [C99-based-standards] (PRIXLEAST32): Likewise.
8562 [C99-based-standards] (SCNdLEAST32): Likewise.
8563 [C99-based-standards] (SCNiLEAST32): Likewise.
8564 [C99-based-standards] (SCNoLEAST32): Likewise.
8565 [C99-based-standards] (SCNuLEAST32): Likewise.
8566 [C99-based-standards] (SCNxLEAST32): Likewise.
8567 [C99-based-standards] (PRIdFAST32): Likewise.
8568 [C99-based-standards] (PRIiFAST32): Likewise.
8569 [C99-based-standards] (PRIoFAST32): Likewise.
8570 [C99-based-standards] (PRIuFAST32): Likewise.
8571 [C99-based-standards] (PRIxFAST32): Likewise.
8572 [C99-based-standards] (PRIXFAST32): Likewise.
8573 [C99-based-standards] (SCNdFAST32): Likewise.
8574 [C99-based-standards] (SCNiFAST32): Likewise.
8575 [C99-based-standards] (SCNoFAST32): Likewise.
8576 [C99-based-standards] (SCNuFAST32): Likewise.
8577 [C99-based-standards] (SCNxFAST32): Likewise.
8578 [C99-based-standards] (PRId64): Likewise.
8579 [C99-based-standards] (PRIi64): Likewise.
8580 [C99-based-standards] (PRIo64): Likewise.
8581 [C99-based-standards] (PRIu64): Likewise.
8582 [C99-based-standards] (PRIx64): Likewise.
8583 [C99-based-standards] (PRIX64): Likewise.
8584 [C99-based-standards] (SCNd64): Likewise.
8585 [C99-based-standards] (SCNi64): Likewise.
8586 [C99-based-standards] (SCNo64): Likewise.
8587 [C99-based-standards] (SCNu64): Likewise.
8588 [C99-based-standards] (SCNx64): Likewise.
8589 [C99-based-standards] (PRIdLEAST64): Likewise.
8590 [C99-based-standards] (PRIiLEAST64): Likewise.
8591 [C99-based-standards] (PRIoLEAST64): Likewise.
8592 [C99-based-standards] (PRIuLEAST64): Likewise.
8593 [C99-based-standards] (PRIxLEAST64): Likewise.
8594 [C99-based-standards] (PRIXLEAST64): Likewise.
8595 [C99-based-standards] (SCNdLEAST64): Likewise.
8596 [C99-based-standards] (SCNiLEAST64): Likewise.
8597 [C99-based-standards] (SCNoLEAST64): Likewise.
8598 [C99-based-standards] (SCNuLEAST64): Likewise.
8599 [C99-based-standards] (SCNxLEAST64): Likewise.
8600 [C99-based-standards] (PRIdFAST64): Likewise.
8601 [C99-based-standards] (PRIiFAST64): Likewise.
8602 [C99-based-standards] (PRIoFAST64): Likewise.
8603 [C99-based-standards] (PRIuFAST64): Likewise.
8604 [C99-based-standards] (PRIxFAST64): Likewise.
8605 [C99-based-standards] (PRIXFAST64): Likewise.
8606 [C99-based-standards] (SCNdFAST64): Likewise.
8607 [C99-based-standards] (SCNiFAST64): Likewise.
8608 [C99-based-standards] (SCNoFAST64): Likewise.
8609 [C99-based-standards] (SCNuFAST64): Likewise.
8610 [C99-based-standards] (SCNxFAST64): Likewise.
8611 [C99-based-standards] (PRIdMAX): Likewise.
8612 [C99-based-standards] (PRIiMAX): Likewise.
8613 [C99-based-standards] (PRIoMAX): Likewise.
8614 [C99-based-standards] (PRIuMAX): Likewise.
8615 [C99-based-standards] (PRIxMAX): Likewise.
8616 [C99-based-standards] (PRIXMAX): Likewise.
8617 [C99-based-standards] (SCNdMAX): Likewise.
8618 [C99-based-standards] (SCNiMAX): Likewise.
8619 [C99-based-standards] (SCNoMAX): Likewise.
8620 [C99-based-standards] (SCNuMAX): Likewise.
8621 [C99-based-standards] (SCNxMAX): Likewise.
8622 [C99-based-standards] (PRIdPTR): Likewise.
8623 [C99-based-standards] (PRIiPTR): Likewise.
8624 [C99-based-standards] (PRIoPTR): Likewise.
8625 [C99-based-standards] (PRIuPTR): Likewise.
8626 [C99-based-standards] (PRIxPTR): Likewise.
8627 [C99-based-standards] (PRIXPTR): Likewise.
8628 [C99-based-standards] (SCNdPTR): Likewise.
8629 [C99-based-standards] (SCNiPTR): Likewise.
8630 [C99-based-standards] (SCNoPTR): Likewise.
8631 [C99-based-standards] (SCNuPTR): Likewise.
8632 [C99-based-standards] (SCNxPTR): Likewise.
8633 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
8634 allow.
8635 * conform/data/stdint.h-data: Update comments to clarify
8636 requirements.
8637 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
8638 type.
8639 [C99-based standards] (INT8_MAX): Likewise.
8640 [C99-based standards] (INT16_MIN): Likewise.
8641 [C99-based standards] (INT16_MAX): Likewise.
8642 [C99-based standards] (INT32_MIN): Likewise.
8643 [C99-based standards] (INT32_MAX): Likewise.
8644 [C99-based standards] (INT64_MIN): Likewise.
8645 [C99-based standards] (INT64_MAX): Likewise.
8646 [C99-based standards] (UINT8_MAX): Likewise.
8647 [C99-based standards] (UINT16_MAX): Likewise.
8648 [C99-based standards] (UINT32_MAX): Likewise.
8649 [C99-based standards] (UINT64_MAX): Likewise.
8650 [C99-based standards] (INT_LEAST8_MIN): Likewise.
8651 [C99-based standards] (INT_LEAST8_MAX): Likewise.
8652 [C99-based standards] (INT_LEAST16_MIN): Likewise.
8653 [C99-based standards] (INT_LEAST16_MAX): Likewise.
8654 [C99-based standards] (INT_LEAST32_MIN): Likewise.
8655 [C99-based standards] (INT_LEAST32_MAX): Likewise.
8656 [C99-based standards] (INT_LEAST64_MIN): Likewise.
8657 [C99-based standards] (INT_LEAST64_MAX): Likewise.
8658 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
8659 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
8660 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
8661 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
8662 [C99-based standards] (INT_FAST8_MIN): Likewise.
8663 [C99-based standards] (INT_FAST8_MAX): Likewise.
8664 [C99-based standards] (INT_FAST16_MIN): Likewise.
8665 [C99-based standards] (INT_FAST16_MAX): Likewise.
8666 [C99-based standards] (INT_FAST32_MIN): Likewise.
8667 [C99-based standards] (INT_FAST32_MAX): Likewise.
8668 [C99-based standards] (INT_FAST64_MIN): Likewise.
8669 [C99-based standards] (INT_FAST64_MAX): Likewise.
8670 [C99-based standards] (UINT_FAST8_MAX): Likewise.
8671 [C99-based standards] (UINT_FAST16_MAX): Likewise.
8672 [C99-based standards] (UINT_FAST32_MAX): Likewise.
8673 [C99-based standards] (UINT_FAST64_MAX): Likewise.
8674 [C99-based standards] (INTPTR_MIN): Likewise.
8675 [C99-based standards] (INTPTR_MAX): Likewise.
8676 [C99-based standards] (UINTPTR_MAX): Likewise.
8677 [C99-based standards] (INTMAX_MIN): Likewise.
8678 [C99-based standards] (INTMAX_MAX): Likewise.
8679 [C99-based standards] (UINTMAX_MAX): Likewise.
8680 [C99-based standards] (PTRDIFF_MIN): Likewise.
8681 [C99-based standards] (PTRDIFF_MAX): Likewise.
8682 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
8683 [C99-based standards] (SIZE_MAX): Likewise.
8684 [C99-based standards] (WCHAR_MAX): Likewise.
8685 [C99-based standards] (WINT_MAX): Likewise.
8686 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
8687 constraint on value.
8688 [C99-based standards] (WCHAR_MIN): Likewise.
8689 [C99-based standards] (WINT_MIN): Likewise.
8690 [C99-based standards] (*_t): Allow.
8691 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
8692 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
8693 Include math.h-data and complex.h-data. Remove all expectations
8694 of math.h and complex.h contents.
8695 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
8696 at end of line.
8697 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
8698 (struct tm): Expect tag.
8699 [C99-based-standards] (wcstof): Expect function.
8700 [C99-based-standards] (wcstold): Likewise.
8701 [C99-based-standards] (wcstoll): Likewise.
8702 [C99-based-standards] (wcstoull): Likewise.
8703 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
8704 macro-int-constant. Specify type.
8705 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
8706 constraint on value.
8707 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8708 Specify type.
8709 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
8710 Specify value.
8711 [ISO C standards]: Do not allow headers.
8712 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
8713 wcs[abcdefghijklmnopqrstuvwxyz]*.
8714 [ISO C standards] (*_t): Do not allow.
8715 * conform/data/wctype.h-data [C99-based standards] (iswblank):
8716 Expect function.
8717 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
8718 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8719 Specify type.
8720 [ISO C standards]: Do not allow headers.
8721 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
8722 is[abcdefghijklmnopqrstuvwxyz]*.
8723 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
8724 to[abcdefghijklmnopqrstuvwxyz]*.
8725 [ISO C standards] (*_t): Do not allow.
8726 * conform/data/stdalign.h-data: New file.
8727 * conform/data/stdbool.h-data: Likewise.
8728 * conform/data/stdnoreturn.h-data: Likewise.
8729
7514feb8
RM
87302012-11-07 Roland McGrath <roland@hack.frob.com>
8731
8732 [BZ #14815]
8733 * manual/filesys.texi (Directory Entries): Typo fix.
8734 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
8735
19b2ecfc
MS
87362012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8737
8738 * elf/elf.h (EM_AARCH64): New macro.
8739 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
8740 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
8741 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
8742 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
8743 (R_AARCH64_TLSDESC): Likewise.
8744 (NT_ARM_TLS): Likewise.
8745 (NT_ARM_HW_BREAK): Likewise.
8746 (NT_ARM_HW_WATCH): Likewise.
8747
60e235ee
JM
87482012-11-07 Joseph Myers <joseph@codesourcery.com>
8749
8750 [BZ #14811]
8751 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
8752 (__ieee754_powl): Saturate nonzero exponents with absolute value
8753 below 0x1p-79 to +/- 0x1p-79.
8754 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
8755 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
8756 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
8757 nonzero exponents with absolute value below 0x1p-32 to +/-
8758 0x1p-32.
8759 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
8760 (__ieee754_powl): Saturate nonzero exponents with absolute value
8761 below 0x1p-79 to +/- 0x1p-79.
8762 * math/libm-test.inc (pow_test): Add more tests.
8763
0ab234b7
AK
87642012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8765
8766 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
8767 _dl_s390_cap_flags with kernel. Increase string length.
8768 (_dl_s390_platforms): Add z196 and zEC12.
8769
45832f74
JM
87702012-11-07 Joseph Myers <joseph@codesourcery.com>
8771
8772 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
8773 Change XOPEN21K to XOPEN2K.
8774
19218757
MK
87752012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
8776
8777 * string/memmove.c: Use memcpy when possible.
8778
c5f45721
AJ
87792012-11-06 Andreas Jaeger <aj@suse.de>
8780
8781 * po/eo.po: Update from translation team.
8782
82477c28
JM
87832012-11-06 Joseph Myers <joseph@codesourcery.com>
8784
8785 [BZ #14793]
8786 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
8787 exponent and small x and y exponents, scale x or y up. Increase
8788 by 2 the exponent used in scaling up.
8789 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8790 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8791 * math/libm-test.inc (fma_test): Add more tests.
8792 (fma_test_towardzero): Likewise.
8793 (fma_test_downward): Likewise.
8794 (fma_test_upward): Likewise.
8795
99252c8c
JM
87962012-11-05 Joseph Myers <joseph@codesourcery.com>
8797
acfa885f
JM
8798 [BZ #14805]
8799 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
8800 fenv_t *.
8801
99252c8c
JM
8802 [BZ #14801]
8803 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
8804 namespace for names of struct fields.
8805 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
8806 fenv_t fields.
8807 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8808 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
8809
d6d98dea
ST
88102012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8811
8812 [BZ #3665]
8813 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
8814
e10bb107
TS
88152012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8816
8817 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
8818 PTR_DEMANGLE.
8819
8820 [BZ #5246]
8821 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
8822 PTR_DEMANGLE.
8823
a0c2940d
JM
88242012-11-04 Joseph Myers <joseph@codesourcery.com>
8825
8826 [BZ #14797]
8827 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
8828 definitely overflow as x * y not x * y + z.
8829 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8830 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8831 * math/libm-test.inc (fma_test): Add more tests.
8832 (fma_test_towardzero): Likewise.
8833 (fma_test_downward): Likewise.
8834 (fma_test_upward): Likewise.
8835
b830319d
TS
88362012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8837
8838 [BZ #157]
8839
8840 * include/stub-tag.h: Remove file.
8841 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
8842 '#include' of it.
8843 * manual/maint.texi (Porting): Don't reference it.
8844 * Makerules ($(objpfx)stubs): Likewise.
8845 * dirent/closedir.c: Don't include <stub-tag.h>.
8846 * dirent/dirfd.c: Likewise.
8847 * dirent/fdopendir.c: Likewise.
8848 * dirent/getdents.c: Likewise.
8849 * dirent/getdents64.c: Likewise.
8850 * dirent/opendir.c: Likewise.
8851 * dirent/readdir.c: Likewise.
8852 * dirent/readdir64.c: Likewise.
8853 * dirent/readdir64_r.c: Likewise.
8854 * dirent/readdir_r.c: Likewise.
8855 * dirent/rewinddir.c: Likewise.
8856 * dirent/seekdir.c: Likewise.
8857 * dirent/telldir.c: Likewise.
8858 * gmon/profil.c: Likewise.
8859 * grp/setgroups.c: Likewise.
8860 * inet/if_index.c: Likewise.
8861 * io/access.c: Likewise.
8862 * io/chdir.c: Likewise.
8863 * io/chmod.c: Likewise.
8864 * io/chown.c: Likewise.
8865 * io/close.c: Likewise.
8866 * io/dup.c: Likewise.
8867 * io/dup2.c: Likewise.
8868 * io/dup3.c: Likewise.
8869 * io/euidaccess.c: Likewise.
8870 * io/faccessat.c: Likewise.
8871 * io/fchdir.c: Likewise.
8872 * io/fchmod.c: Likewise.
8873 * io/fchmodat.c: Likewise.
8874 * io/fchown.c: Likewise.
8875 * io/fchownat.c: Likewise.
8876 * io/fcntl.c: Likewise.
8877 * io/flock.c: Likewise.
8878 * io/fstatfs.c: Likewise.
8879 * io/fstatfs64.c: Likewise.
8880 * io/fstatvfs.c: Likewise.
8881 * io/fstatvfs64.c: Likewise.
8882 * io/futimens.c: Likewise.
8883 * io/fxstat.c: Likewise.
8884 * io/fxstat64.c: Likewise.
8885 * io/fxstatat.c: Likewise.
8886 * io/fxstatat64.c: Likewise.
8887 * io/getcwd.c: Likewise.
8888 * io/isatty.c: Likewise.
8889 * io/lchmod.c: Likewise.
8890 * io/lchown.c: Likewise.
8891 * io/link.c: Likewise.
8892 * io/linkat.c: Likewise.
8893 * io/lseek.c: Likewise.
8894 * io/lseek64.c: Likewise.
8895 * io/lxstat64.c: Likewise.
8896 * io/mkdir.c: Likewise.
8897 * io/mkdirat.c: Likewise.
8898 * io/mkfifo.c: Likewise.
8899 * io/mkfifoat.c: Likewise.
8900 * io/open.c: Likewise.
8901 * io/open64.c: Likewise.
8902 * io/openat.c: Likewise.
8903 * io/openat64.c: Likewise.
8904 * io/pipe.c: Likewise.
8905 * io/pipe2.c: Likewise.
8906 * io/poll.c: Likewise.
8907 * io/posix_fadvise.c: Likewise.
8908 * io/posix_fadvise64.c: Likewise.
8909 * io/posix_fallocate.c: Likewise.
8910 * io/posix_fallocate64.c: Likewise.
8911 * io/read.c: Likewise.
8912 * io/readlink.c: Likewise.
8913 * io/readlinkat.c: Likewise.
8914 * io/rmdir.c: Likewise.
8915 * io/sendfile.c: Likewise.
8916 * io/sendfile64.c: Likewise.
8917 * io/statfs.c: Likewise.
8918 * io/statfs64.c: Likewise.
8919 * io/statvfs.c: Likewise.
8920 * io/statvfs64.c: Likewise.
8921 * io/symlink.c: Likewise.
8922 * io/symlinkat.c: Likewise.
8923 * io/ttyname.c: Likewise.
8924 * io/ttyname_r.c: Likewise.
8925 * io/umask.c: Likewise.
8926 * io/unlink.c: Likewise.
8927 * io/unlinkat.c: Likewise.
8928 * io/utime.c: Likewise.
8929 * io/utimensat.c: Likewise.
8930 * io/write.c: Likewise.
8931 * io/xmknod.c: Likewise.
8932 * io/xmknodat.c: Likewise.
8933 * io/xstat.c: Likewise.
8934 * io/xstat64.c: Likewise.
8935 * login/getpt.c: Likewise.
8936 * login/grantpt.c: Likewise.
8937 * login/unlockpt.c: Likewise.
8938 * math/e_acoshl.c: Likewise.
8939 * math/e_acosl.c: Likewise.
8940 * math/e_asinl.c: Likewise.
8941 * math/e_atan2l.c: Likewise.
8942 * math/e_atanhl.c: Likewise.
8943 * math/e_coshl.c: Likewise.
8944 * math/e_expl.c: Likewise.
8945 * math/e_fmodl.c: Likewise.
8946 * math/e_gammal_r.c: Likewise.
8947 * math/e_hypotl.c: Likewise.
8948 * math/e_j0l.c: Likewise.
8949 * math/e_j1l.c: Likewise.
8950 * math/e_jnl.c: Likewise.
8951 * math/e_lgammal_r.c: Likewise.
8952 * math/e_log10l.c: Likewise.
8953 * math/e_log2l.c: Likewise.
8954 * math/e_logl.c: Likewise.
8955 * math/e_powl.c: Likewise.
8956 * math/e_rem_pio2l.c: Likewise.
8957 * math/e_sinhl.c: Likewise.
8958 * math/e_sqrtl.c: Likewise.
8959 * math/fclrexcpt.c: Likewise.
8960 * math/fedisblxcpt.c: Likewise.
8961 * math/feenablxcpt.c: Likewise.
8962 * math/fegetenv.c: Likewise.
8963 * math/fegetexcept.c: Likewise.
8964 * math/fegetround.c: Likewise.
8965 * math/feholdexcpt.c: Likewise.
8966 * math/fesetenv.c: Likewise.
8967 * math/fesetround.c: Likewise.
8968 * math/feupdateenv.c: Likewise.
8969 * math/fgetexcptflg.c: Likewise.
8970 * math/fraiseexcpt.c: Likewise.
8971 * math/fsetexcptflg.c: Likewise.
8972 * math/ftestexcept.c: Likewise.
8973 * math/k_cosl.c: Likewise.
8974 * math/k_rem_pio2l.c: Likewise.
8975 * math/k_sinl.c: Likewise.
8976 * math/k_tanl.c: Likewise.
8977 * math/s_asinhl.c: Likewise.
8978 * math/s_atanl.c: Likewise.
8979 * math/s_cbrtl.c: Likewise.
8980 * math/s_erfl.c: Likewise.
8981 * math/s_expm1l.c: Likewise.
8982 * math/s_log1pl.c: Likewise.
8983 * math/s_tanhl.c: Likewise.
8984 * misc/acct.c: Likewise.
8985 * misc/brk.c: Likewise.
8986 * misc/chflags.c: Likewise.
8987 * misc/chroot.c: Likewise.
8988 * misc/fchflags.c: Likewise.
8989 * misc/fgetxattr.c: Likewise.
8990 * misc/flistxattr.c: Likewise.
8991 * misc/fremovexattr.c: Likewise.
8992 * misc/fsetxattr.c: Likewise.
8993 * misc/fsync.c: Likewise.
8994 * misc/ftruncate.c: Likewise.
8995 * misc/futimes.c: Likewise.
8996 * misc/futimesat.c: Likewise.
8997 * misc/getdomain.c: Likewise.
8998 * misc/getdtsz.c: Likewise.
8999 * misc/gethostid.c: Likewise.
9000 * misc/gethostname.c: Likewise.
9001 * misc/getloadavg.c: Likewise.
9002 * misc/getpagesize.c: Likewise.
9003 * misc/getsysstats.c: Likewise.
9004 * misc/getxattr.c: Likewise.
9005 * misc/gtty.c: Likewise.
9006 * misc/ioctl.c: Likewise.
9007 * misc/lgetxattr.c: Likewise.
9008 * misc/listxattr.c: Likewise.
9009 * misc/llistxattr.c: Likewise.
9010 * misc/lremovexattr.c: Likewise.
9011 * misc/lsetxattr.c: Likewise.
9012 * misc/lutimes.c: Likewise.
9013 * misc/madvise.c: Likewise.
9014 * misc/mincore.c: Likewise.
9015 * misc/mlock.c: Likewise.
9016 * misc/mlockall.c: Likewise.
9017 * misc/mmap.c: Likewise.
9018 * misc/mprotect.c: Likewise.
9019 * misc/msync.c: Likewise.
9020 * misc/munlock.c: Likewise.
9021 * misc/munlockall.c: Likewise.
9022 * misc/munmap.c: Likewise.
9023 * misc/preadv.c: Likewise.
9024 * misc/preadv64.c: Likewise.
9025 * misc/ptrace.c: Likewise.
9026 * misc/pwritev.c: Likewise.
9027 * misc/pwritev64.c: Likewise.
9028 * misc/readv.c: Likewise.
9029 * misc/reboot.c: Likewise.
9030 * misc/remap_file_pages.c: Likewise.
9031 * misc/removexattr.c: Likewise.
9032 * misc/revoke.c: Likewise.
9033 * misc/select.c: Likewise.
9034 * misc/setdomain.c: Likewise.
9035 * misc/setegid.c: Likewise.
9036 * misc/seteuid.c: Likewise.
9037 * misc/sethostid.c: Likewise.
9038 * misc/sethostname.c: Likewise.
9039 * misc/setregid.c: Likewise.
9040 * misc/setreuid.c: Likewise.
9041 * misc/setxattr.c: Likewise.
9042 * misc/sstk.c: Likewise.
9043 * misc/stty.c: Likewise.
9044 * misc/swapoff.c: Likewise.
9045 * misc/swapon.c: Likewise.
9046 * misc/sync.c: Likewise.
9047 * misc/syncfs.c: Likewise.
9048 * misc/syscall.c: Likewise.
9049 * misc/truncate.c: Likewise.
9050 * misc/ualarm.c: Likewise.
9051 * misc/usleep.c: Likewise.
9052 * misc/ustat.c: Likewise.
9053 * misc/utimes.c: Likewise.
9054 * misc/vhangup.c: Likewise.
9055 * misc/writev.c: Likewise.
9056 * posix/_exit.c: Likewise.
9057 * posix/alarm.c: Likewise.
9058 * posix/execve.c: Likewise.
9059 * posix/fexecve.c: Likewise.
9060 * posix/fork.c: Likewise.
9061 * posix/fpathconf.c: Likewise.
9062 * posix/getaddrinfo.c: Likewise.
9063 * posix/getegid.c: Likewise.
9064 * posix/geteuid.c: Likewise.
9065 * posix/getgid.c: Likewise.
9066 * posix/getgroups.c: Likewise.
9067 * posix/getlogin.c: Likewise.
9068 * posix/getlogin_r.c: Likewise.
9069 * posix/getpgid.c: Likewise.
9070 * posix/getpid.c: Likewise.
9071 * posix/getppid.c: Likewise.
9072 * posix/getresgid.c: Likewise.
9073 * posix/getresuid.c: Likewise.
9074 * posix/getsid.c: Likewise.
9075 * posix/getuid.c: Likewise.
9076 * posix/glob64.c: Likewise.
9077 * posix/nanosleep.c: Likewise.
9078 * posix/pathconf.c: Likewise.
9079 * posix/pause.c: Likewise.
9080 * posix/posix_madvise.c: Likewise.
9081 * posix/pread.c: Likewise.
9082 * posix/pread64.c: Likewise.
9083 * posix/pwrite.c: Likewise.
9084 * posix/pwrite64.c: Likewise.
9085 * posix/sched_getaffinity.c: Likewise.
9086 * posix/sched_getp.c: Likewise.
9087 * posix/sched_gets.c: Likewise.
9088 * posix/sched_primax.c: Likewise.
9089 * posix/sched_primin.c: Likewise.
9090 * posix/sched_rr_gi.c: Likewise.
9091 * posix/sched_setaffinity.c: Likewise.
9092 * posix/sched_setp.c: Likewise.
9093 * posix/sched_sets.c: Likewise.
9094 * posix/sched_yield.c: Likewise.
9095 * posix/setgid.c: Likewise.
9096 * posix/setlogin.c: Likewise.
9097 * posix/setpgid.c: Likewise.
9098 * posix/setresgid.c: Likewise.
9099 * posix/setresuid.c: Likewise.
9100 * posix/setsid.c: Likewise.
9101 * posix/setuid.c: Likewise.
9102 * posix/sleep.c: Likewise.
9103 * posix/spawni.c: Likewise.
9104 * posix/sysconf.c: Likewise.
9105 * posix/times.c: Likewise.
9106 * posix/wait.c: Likewise.
9107 * posix/wait3.c: Likewise.
9108 * posix/wait4.c: Likewise.
9109 * posix/waitpid.c: Likewise.
9110 * resolv/gai_sigqueue.c: Likewise.
9111 * resource/getpriority.c: Likewise.
9112 * resource/getrlimit.c: Likewise.
9113 * resource/getrusage.c: Likewise.
9114 * resource/nice.c: Likewise.
9115 * resource/setpriority.c: Likewise.
9116 * resource/setrlimit.c: Likewise.
9117 * resource/ulimit.c: Likewise.
9118 * rt/aio_cancel.c: Likewise.
9119 * rt/aio_fsync.c: Likewise.
9120 * rt/aio_read.c: Likewise.
9121 * rt/aio_sigqueue.c: Likewise.
9122 * rt/aio_suspend.c: Likewise.
9123 * rt/aio_write.c: Likewise.
9124 * rt/clock_getres.c: Likewise.
9125 * rt/clock_gettime.c: Likewise.
9126 * rt/clock_nanosleep.c: Likewise.
9127 * rt/clock_settime.c: Likewise.
9128 * rt/lio_listio.c: Likewise.
9129 * rt/mq_close.c: Likewise.
9130 * rt/mq_getattr.c: Likewise.
9131 * rt/mq_notify.c: Likewise.
9132 * rt/mq_open.c: Likewise.
9133 * rt/mq_receive.c: Likewise.
9134 * rt/mq_send.c: Likewise.
9135 * rt/mq_setattr.c: Likewise.
9136 * rt/mq_timedreceive.c: Likewise.
9137 * rt/mq_timedsend.c: Likewise.
9138 * rt/mq_unlink.c: Likewise.
9139 * rt/shm_open.c: Likewise.
9140 * rt/shm_unlink.c: Likewise.
9141 * rt/timer_create.c: Likewise.
9142 * rt/timer_delete.c: Likewise.
9143 * rt/timer_getoverr.c: Likewise.
9144 * rt/timer_gettime.c: Likewise.
9145 * rt/timer_settime.c: Likewise.
9146 * setjmp/__longjmp.c: Likewise.
9147 * setjmp/setjmp.c: Likewise.
9148 * signal/kill.c: Likewise.
9149 * signal/killpg.c: Likewise.
9150 * signal/raise.c: Likewise.
9151 * signal/sigaction.c: Likewise.
9152 * signal/sigaltstack.c: Likewise.
9153 * signal/sigblock.c: Likewise.
9154 * signal/sigignore.c: Likewise.
9155 * signal/sigintr.c: Likewise.
9156 * signal/signal.c: Likewise.
9157 * signal/sigpause.c: Likewise.
9158 * signal/sigpending.c: Likewise.
9159 * signal/sigqueue.c: Likewise.
9160 * signal/sigreturn.c: Likewise.
9161 * signal/sigset.c: Likewise.
9162 * signal/sigsetmask.c: Likewise.
9163 * signal/sigstack.c: Likewise.
9164 * signal/sigsuspend.c: Likewise.
9165 * signal/sigtimedwait.c: Likewise.
9166 * signal/sigvec.c: Likewise.
9167 * signal/sigwait.c: Likewise.
9168 * signal/sigwaitinfo.c: Likewise.
9169 * signal/sysv_signal.c: Likewise.
9170 * socket/accept.c: Likewise.
9171 * socket/accept4.c: Likewise.
9172 * socket/bind.c: Likewise.
9173 * socket/connect.c: Likewise.
9174 * socket/getpeername.c: Likewise.
9175 * socket/getsockname.c: Likewise.
9176 * socket/getsockopt.c: Likewise.
9177 * socket/isfdtype.c: Likewise.
9178 * socket/listen.c: Likewise.
9179 * socket/recv.c: Likewise.
9180 * socket/recvfrom.c: Likewise.
9181 * socket/recvmsg.c: Likewise.
9182 * socket/send.c: Likewise.
9183 * socket/sendmsg.c: Likewise.
9184 * socket/sendto.c: Likewise.
9185 * socket/setsockopt.c: Likewise.
9186 * socket/shutdown.c: Likewise.
9187 * socket/sockatmark.c: Likewise.
9188 * socket/socket.c: Likewise.
9189 * socket/socketpair.c: Likewise.
9190 * stdio-common/ctermid.c: Likewise.
9191 * stdio-common/cuserid.c: Likewise.
9192 * stdio-common/remove.c: Likewise.
9193 * stdio-common/rename.c: Likewise.
9194 * stdio-common/renameat.c: Likewise.
9195 * stdio-common/tempname.c: Likewise.
9196 * stdlib/getcontext.c: Likewise.
9197 * stdlib/makecontext.c: Likewise.
9198 * stdlib/setcontext.c: Likewise.
9199 * stdlib/swapcontext.c: Likewise.
9200 * stdlib/system.c: Likewise.
9201 * streams/fattach.c: Likewise.
9202 * streams/fdetach.c: Likewise.
9203 * streams/getmsg.c: Likewise.
9204 * streams/getpmsg.c: Likewise.
9205 * streams/putmsg.c: Likewise.
9206 * streams/putpmsg.c: Likewise.
9207 * sysdeps/unix/bsd/getpt.c: Likewise.
9208 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
9209 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
9210 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9212 Likewise.
9213 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
9214 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9215 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9216 * sysvipc/msgctl.c: Likewise.
9217 * sysvipc/msgget.c: Likewise.
9218 * sysvipc/msgrcv.c: Likewise.
9219 * sysvipc/msgsnd.c: Likewise.
9220 * sysvipc/semctl.c: Likewise.
9221 * sysvipc/semget.c: Likewise.
9222 * sysvipc/semop.c: Likewise.
9223 * sysvipc/semtimedop.c: Likewise.
9224 * sysvipc/shmat.c: Likewise.
9225 * sysvipc/shmctl.c: Likewise.
9226 * sysvipc/shmdt.c: Likewise.
9227 * sysvipc/shmget.c: Likewise.
9228 * termios/tcdrain.c: Likewise.
9229 * termios/tcflow.c: Likewise.
9230 * termios/tcflush.c: Likewise.
9231 * termios/tcgetattr.c: Likewise.
9232 * termios/tcgetpgrp.c: Likewise.
9233 * termios/tcsendbrk.c: Likewise.
9234 * termios/tcsetattr.c: Likewise.
9235 * termios/tcsetpgrp.c: Likewise.
9236 * time/adjtime.c: Likewise.
9237 * time/clock.c: Likewise.
9238 * time/getitimer.c: Likewise.
9239 * time/gettimeofday.c: Likewise.
9240 * time/setitimer.c: Likewise.
9241 * time/settimeofday.c: Likewise.
9242 * time/stime.c: Likewise.
9243 * time/time.c: Likewise.
9244
92452012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 9246
a20492cf
PT
9247 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
9248 /usr/old/bin.
9249
72e182e3
PT
9250 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
9251 instead of spaces.
9252 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
9253
fbeafede
JM
92542012-11-03 Joseph Myers <joseph@codesourcery.com>
9255
5b5b04d6
JM
9256 [BZ #14796]
9257 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
9258 FE_TONEAREST before applying Dekker multiplication and Knuth
9259 addition. Clear inexact exceptions and check for exact zero
9260 results afterwards.
9261 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9262 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9263 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9264 * math/libm-test.inc (fma_test): Add more tests.
9265 (fma_test_towardzero): Likewise.
9266 (fma_test_downward): Likewise.
9267 (fma_test_upward): Likewise.
9268 * sysdeps/generic/math_private.h (default_libc_fesetround): New
9269 function.
9270 (libc_fesetround): New macro.
9271 (libc_fesetroundf): Likewise.
9272 (libc_fesetroundl): Likewise.
9273 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
9274 function.
9275 (libc_fesetround_387): Likewise.
9276 (libc_fesetroundf): New macro.
9277 (libc_fesetround): Likewise.
9278 (libc_fesetroundl): Likewise.
9279 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
9280 function.
9281 (libc_fesetroundf): New macro.
9282 (libc_fesetround): Likewise.
9283 (libc_fesetroundl): Likewise.
9284 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
9285 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
9286 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
9287 libm_hidden_ver.
9288 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
9289 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
9290 libm_hidden_def.
9291 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
9292 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
9293 libm_hidden_ver.
9294 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
9295 libm_hidden_def.
9296
fbeafede
JM
9297 [BZ #3439]
9298 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
9299 integer constant usable in #if and use that to give value to enum
9300 constant.
9301 (FE_DIVBYZERO): Likewise.
9302 (FE_UNDERFLOW): Likewise.
9303 (FE_OVERFLOW): Likewise.
9304 (FE_INVALID): Likewise.
9305 (FE_INVALID_SNAN): Likewise.
9306 (FE_INVALID_ISI): Likewise.
9307 (FE_INVALID_IDI): Likewise.
9308 (FE_INVALID_ZDZ): Likewise.
9309 (FE_INVALID_IMZ): Likewise.
9310 (FE_INVALID_COMPARE): Likewise.
9311 (FE_INVALID_SOFTWARE): Likewise.
9312 (FE_INVALID_SQRT): Likewise.
9313 (FE_INVALID_INTEGER_CONVERSION): Likewise.
9314 (FE_TONEAREST): Likewise.
9315 (FE_TOWARDZERO): Likewise.
9316 (FE_UPWARD): Likewise.
9317 (FE_DOWNWARD): Likewise.
9318 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
9319 (FE_DIVBYZERO): Likewise.
9320 (FE_OVERFLOW): Likewise.
9321 (FE_UNDERFLOW): Likewise.
9322 (FE_INEXACT): Likewise.
9323 (FE_TONEAREST): Likewise.
9324 (FE_DOWNWARD): Likewise.
9325 (FE_UPWARD): Likewise.
9326 (FE_TOWARDZERO): Likewise.
9327 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
9328 (FE_UNDERFLOW): Likewise.
9329 (FE_OVERFLOW): Likewise.
9330 (FE_DIVBYZERO): Likewise.
9331 (FE_INVALID): Likewise.
9332 (FE_TONEAREST): Likewise.
9333 (FE_TOWARDZERO): Likewise.
9334 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
9335 (FE_OVERFLOW): Likewise.
9336 (FE_UNDERFLOW): Likewise.
9337 (FE_DIVBYZERO): Likewise.
9338 (FE_INEXACT): Likewise.
9339 (FE_TONEAREST): Likewise.
9340 (FE_TOWARDZERO): Likewise.
9341 (FE_UPWARD): Likewise.
9342 (FE_DOWNWARD): Likewise.
9343 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
9344 (FE_DIVBYZERO): Likewise.
9345 (FE_OVERFLOW): Likewise.
9346 (FE_UNDERFLOW): Likewise.
9347 (FE_INEXACT): Likewise.
9348 (FE_TONEAREST): Likewise.
9349 (FE_DOWNWARD): Likewise.
9350 (FE_UPWARD): Likewise.
9351 (FE_TOWARDZERO): Likewise.
9352
105ca950
CM
93532012-11-02 Chris Metcalf <cmetcalf@tilera.com>
9354
9355 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
9356
a542b389
AS
93572012-11-03 Andreas Schwab <schwab@linux-m68k.org>
9358
9359 * scripts/cross-test-ssh.sh (command): Use newlines to separate
9360 commands. Quote $PWD.
9361 (blacklist_exports): Don't use remove_newlines. Replace "declare
9362 -x" by "export".
9363 (remove_newlines): Remove.
9364
f62c8abc
L
93652012-11-02 H.J. Lu <hongjiu.lu@intel.com>
9366
9367 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
9368 * stdlib/stdlib.h (atof): Moved to ...
9369 * include/bits/stdlib-float.h: Here. New file.
9370 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
9371 * stdlib/bits/stdlib-float.h: New file.
9372 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
9373 -mno-sse -mno-mmx.
9374 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
9375 <xmmintrin.h>.
9376
0155d5b2
JM
93772012-11-02 Joseph Myers <joseph@codesourcery.com>
9378
a68d0680
JM
9379 * conform/conformtest.pl (@headers): Add fenv.h.
9380 * conform/data/fenv.h-data: New file.
9381 * include/fenv.h [_ISOMAC]: Disable all contents of file except
9382 include of <math/fenv.h>.
9383
caf7f573
JM
9384 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
9385 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
9386 && !UNIX98]. Enables tests for XOPEN2K8.
9387 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
9388 POSIX2008]: Likewise.
9389
6c073ad6
JM
9390 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
9391 (struct rusage): Do not expect type or its members.
9392
0155d5b2
JM
9393 [BZ #3439]
9394 * math/math.h (FP_NAN): Define macro to integer constant usable in
9395 #if and use that to give value to enum constant.
9396 (FP_INFINITE): Likewise.
9397 (FP_ZERO): Likewise.
9398 (FP_SUBNORMAL): Likewise.
9399 (FP_NORMAL): Likewise.
9400
b5dcacb4
AS
94012012-11-02 Andreas Schwab <schwab@linux-m68k.org>
9402
9403 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
9404 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
9405 arguments.
9406
f7934be8
RM
94072012-11-02 Roland McGrath <roland@hack.frob.com>
9408
9409 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
9410 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
9411 autoconf-time if not.
9412 * configure.in: Remove AC_PREREQ.
9413
d7d08bde
TMQMF
94142012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9415
9416 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
9417 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
9418 of the internal implementation.
9419
dcdae19a
JM
94202012-11-02 Joseph Myers <joseph@codesourcery.com>
9421
9422 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
9423 except include of <misc/sys/syslog.h>.
9424
d6cffd3e
AS
94252012-11-01 Andreas Schwab <schwab@linux-m68k.org>
9426
9427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
9428 function returns with a NULL context exit with zero.
9429
b3563932
TMQMF
94302012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9431
9432 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
9433
b288a93d
L
94342012-11-01 H.J. Lu <hongjiu.lu@intel.com>
9435
9436 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
9437 (run_program_cmd): This.
9438 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
9439 (tst_langinfo): New variable. Use it.
9440
a2421a68
SAS
94412012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
9442
9443 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
9444 floating point opcodes.
9445
6f796e1b
TS
94462012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9447
7402596b
TS
9448 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
9449 variable.
9450
d0d4f868
TS
9451 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
9452
6f796e1b
TS
9453 * sysdeps/mach/hurd/powerpc: Remove directory.
9454 * sysdeps/mach/powerpc: Likewise.
9455
4da224a2
AS
94562012-11-01 Andreas Schwab <schwab@linux-m68k.org>
9457
9458 * scripts/check-local-headers.sh: Ignore c++ headers.
9459
341dd673
TS
94602012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9461
9462 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
9463 __libc_cleanup_region_start argument.
9464
473611b2
JM
94652012-11-01 Joseph Myers <joseph@codesourcery.com>
9466
9467 [BZ #14784]
9468 [BZ #14785]
9469 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
9470 x * y using scaling, not as x * y + z.
9471 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9472 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9473 * math/libm-test.inc (fma_test): Add more tests.
9474 (fma_test_towardzero): Likewise.
9475 (fma_test_downward): Likewise.
9476 (fma_test_upward): Likewise.
9477
4078da3d
TS
94782012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9479
9480 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
9481
903252aa
JM
94822012-10-31 Joseph Myers <joseph@codesourcery.com>
9483
9484 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
9485 New variable.
9486
cbc818d0
TS
94872012-10-31 Thomas Schwinge <thomas@codesourcery.com>
9488
9489 * rt/tst-shm.c (worker): Correct checking for mmap failure.
9490
5a03cb1e
AS
94912012-10-31 Andreas Schwab <schwab@linux-m68k.org>
9492
9493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9494 Fix sort order.
9495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9496 Likewise.
9497
90aff2ff
TMQMF
94982012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9499
9500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9501 Fix the order of the list for glibc 2.17.
9502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9503 Likewise.
9504
1818fcb7
AS
95052012-10-31 Andreas Schwab <schwab@linux-m68k.org>
9506
9507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9508
ef82f4da
JM
95092012-10-31 Joseph Myers <joseph@codesourcery.com>
9510
16a0e2ec
JM
9511 [BZ #14610]
9512 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
9513 for low part of x being zero before using __atanl (y).
9514 * math/libm-test.inc (atan2_test): Add another test.
9515
0eb69512
JM
9516 * manual/install.texi (Configuring and compiling): Document
9517 general use of test-wrapper and test-wrapper-env.
9518 * INSTALL: Regenerated.
9519
ef82f4da
JM
9520 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
9521 (__fma): Do not extract and scale down low bits on after-rounding
9522 systems when result rounded to normal precision would have normal
9523 exponent.
9524 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
9525 (__fmal): Do not extract and scale down low bits on after-rounding
9526 systems when result rounded to normal precision would have normal
9527 exponent.
9528 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
9529 (__fmal): Do not extract and scale down low bits on after-rounding
9530 systems when result rounded to normal precision would have normal
9531 exponent.
9532 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
9533 macro.
9534 (fma_test): Add more tests.
9535 (fma_test_towardzero): Likewise.
9536 (fma_test_downward): Likewise.
9537 (fma_test_upward): Likewise.
9538
954ef0d9
L
95392012-10-30 H.J. Lu <hongjiu.lu@intel.com>
9540
9541 * sysdeps/i386/tininess.h: Renamed to ...
9542 * sysdeps/x86/tininess.h: This.
9543 * sysdeps/x86_64/tininess.h: Removed.
9544
df61ffb2
JM
95452012-10-30 Joseph Myers <joseph@codesourcery.com>
9546
9547 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
9548 input. Use $(build-program-cmd).
9549 ($(objpfx)tst-array1-static.out): Likewise.
9550 ($(objpfx)tst-array2.out): Likewise.
9551 ($(objpfx)tst-array3.out): Likewise.
9552 ($(objpfx)tst-array4.out): Likewise.
9553 ($(objpfx)tst-array5.out): Likewise.
9554 ($(objpfx)tst-array5-static.out): Likewise.
9555
01767843
CM
95562012-10-30 Chris Metcalf <cmetcalf@tilera.com>
9557
47cc1490
CM
9558 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
9559 if defined.
9560
01767843
CM
9561 * nss/nsswitch.h (nss_interface_function): Provide new
9562 macro for use with NSS functions.
9563 * grp/initgroups.c: Use new macro.
9564 * nss/getXXbyYY.c: Likewise.
9565 * nss/getXXbyYY_r.c: Likewise.
9566 * nss/getXXent.c: Likewise.
9567 * nss/getXXent_r.c: Likewise.
9568 * sysdeps/posix/getaddrinfo.c: Likewise.
9569
8321aa97
AJ
95702012-10-30 Andreas Jaeger <aj@suse.de>
9571
9572 * po/ru.po: Update Russion translation from translation project.
9573
2a27fd6d
JM
95742012-10-30 Joseph Myers <joseph@codesourcery.com>
9575
8627a232
JM
9576 [BZ #14152]
9577 [BZ #14783]
9578 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
9579 result and shift together with sticky bit instead of replicating
9580 round-to-nearest rounding.
9581 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9582 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9583 * math/libm-test.inc (fma_test): Add more tests. Do not permit
9584 missing underflow exceptions.
9585 (fma_test_towardzero): Add more tests.
9586 (fma_test_downward): Likewise.
9587 (fma_test_upward): Likewise.
9588
2a27fd6d
JM
9589 [BZ #14047]
9590 * sysdeps/generic/tininess.h: New file.
9591 * sysdeps/i386/tininess.h: Likewise.
9592 * sysdeps/sh/tininess.h: Likewise.
9593 * sysdeps/x86_64/tininess.h: Likewise.
9594 * stdlib/tst-strtod-underflow.c: Likewise.
9595 * stdlib/tst-tininess.c: Likewise.
9596 * stdlib/strtod_l.c: Include <tininess.h>.
9597 (round_and_return): Do not set errno for exact underflow cases.
9598 Force an underflow exception when setting errno for underflow.
9599 Determine underflow based on rounding to normal precision if
9600 TININESS_AFTER_ROUNDING.
9601 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
9602 ERANGE for exact underflow cases.
9603 * stdlib/Makefile (tests): Add tst-tininess and
9604 tst-strtod-underflow.
9605 ($(objpfx)tst-tininess): Use $(link-libm).
9606 ($(objpfx)tst-strtod-underflow): Likewise.
9607
e7170363
AJ
96082012-10-30 Andreas Jaeger <aj@suse.de>
9609
e5088dc6
AJ
9610 [BZ#14767]
9611 * elf/Makefile (tests): Remove conditional for have-initfini-array
9612 since this is now always required and the variable does not exist
9613 anymore.
9614 (tests-static): Likewise.
9615 (modules-names): Likewise.
9616
e7170363 9617 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
9618
9619 * elf/tst-array1.c (fini_array): Make writeable so that it can be
9620 merged with constructor/destructor.
9621 (init_array): Likewise.
9622 * elf/tst-array2dep.c (fini_array): Likewise.
9623 (init_array): Likewise.
9624
60457d8a
MF
96252012-10-29 Mike Frysinger <vapier@gentoo.org>
9626
9627 * manual/message.texi: Delete @cartouche tags.
9628
8bece752
PT
96292012-10-29 Pino Toscano <toscano.pino@tiscali.it>
9630
94ce799f
PT
9631 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
9632 EOPNOTSUPP.
9633 * sysdeps/mach/hurd/fsync.c: Likewise.
9634
8bece752
PT
9635 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
9636 [_POSIX_REALTIME_SIGNALS]: Change condition to
9637 [_POSIX_REALTIME_SIGNALS > 0].
9638
86ebe6b1
AJ
96392012-10-27 Andreas Jaeger <aj@suse.de>
9640
9641 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
9642 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
9643 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
9644 [__WORDSIZE != 64]: Likewise.
9645
54399c08
L
96462012-10-26 H.J. Lu <hongjiu.lu@intel.com>
9647
9648 * iconvdata/tst-table.sh: Remove ${SHELL}.
9649 * iconvdata/tst-tables.sh: Likewise.
9650
e2211bed
DM
96512012-10-25 David S. Miller <davem@davemloft.net>
9652
9653 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9654 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
9655 of strtoull.
9656
f303f97c
DM
9657 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
9658 ifunc-impl-list.c
9659 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9660 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
9661 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
9662 file.
9663
1e9d84cd
RM
96642012-10-25 Roland McGrath <roland@hack.frob.com>
9665
9666 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9667 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
9668 __getdirentries.
9669
df381762
JM
96702012-10-25 Joseph Myers <joseph@codesourcery.com>
9671 Jim Blandy <jimb@codesourcery.com>
9672
9673 * scripts/cross-test-ssh.sh: New file.
9674 * manual/install.texi (Configuring and compiling): Document use of
9675 cross-test-ssh.sh.
9676 * INSTALL: Regenerated.
9677
bff64913
PT
96782012-10-25 Pino Toscano <toscano.pino@tiscali.it>
9679
9680 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
9681 EOPNOTSUPP.
9682
25fe8932
JM
96832012-10-25 Joseph Myers <joseph@codesourcery.com>
9684
9685 * Makeconfig (run-program-prefix): Fix comment.
9686
cc1290d0
JM
96872012-10-24 Joseph Myers <joseph@codesourcery.com>
9688 Jim Blandy <jimb@codesourcery.com>
9689
9690 * Makeconfig (test-wrapper): New variable,
9691 (test-wrapper-env): Likewise.
9692 [$(cross-compiling) = yes && $(test-wrapper) != ""]
9693 (run-built-tests): Define to yes.
9694 (run-program-prefix): Use $(test-wrapper).
9695 (built-program-cmd): Likewise.
9696 * Rules (make-test-out): Use $(test-wrapper-env) and
9697 $(host-built-program-cmd).
9698 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
9699 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
9700 tst-pathopt.sh.
9701 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
9702 $(test-wrapper-env) to tst-rtld-load-self.sh.
9703 ($(objpfx)order2.out): Use $(test-wrapper).
9704 ($(objpfx)tst-initorder.out): Likewise.
9705 ($(objpfx)tst-initorder2.out): Likewise.
9706 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
9707 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
9708 (test_wrapper_env): New variable. Use it to run ld.so.
9709 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
9710 Use it to run ld.so.
9711 (test_wrapper_env): Likewise.
9712 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
9713 $(test-wrapper) to run-iconv-test.sh.
9714 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
9715 (ICONV): Use $test_wrapper.
9716 * posix/Makefile ($(objpfx)globtest.out): Pass
9717 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
9718 globtest.sh, not $(run-program-prefix).
9719 * posix/globtest.sh (run_via_rtld_prefix): New variable.
9720 (test_wrapper): Likewise.
9721 (test_wrapper_env): Likewise. Use it to run globtest with HOME
9722 set together with run_via_rtld_prefix.
9723 (run_program_prefix): Define in terms of test_wrapper and
9724 run_via_rtld_prefix.
9725
6e6249d0
RM
97262012-10-24 Roland McGrath <roland@hack.frob.com>
9727
9728 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
9729 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
9730 Targets removed.
9731
9732 [BZ #14743]
9733 * include/time.h: Remove librt_hidden_proto (clock_gettime).
9734 Declare __clock_getres, __clock_gettime, __clock_settime,
9735 __clock_nanosleep, and __clock_getcpuclockid.
9736 * rt/clock_gettime.c: Define __clock_gettime as an alias.
9737 Remove librt_hidden_def (clock_gettime).
9738 * sysdeps/unix/clock_gettime.c: Likewise.
9739 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
9740 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9741 * rt/clock_getres.c: Define __clock_getres as an alias.
9742 * sysdeps/posix/clock_getres.c: Likewise.
9743 * rt/clock_settime.c: Define __clock_settime as an alias.
9744 * sysdeps/unix/clock_settime.c: Likewise.
9745 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
9746 * sysdeps/unix/clock_nanosleep.c: Likewise.
9747 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9748 * rt/clock-compat.c: New file.
9749 * rt/Makefile (librt-routines): Add clock-compat and move
9750 $(clock-routines) to ...
9751 (routines): ... here, new variable.
9752 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
9753 Don't add get_clockfreq here.
9754 * rt/Versions (libc: GLIBC_2.17): New version set.
9755 Add clock_* symbols here.
9756 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
9757 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
9758 (GLIBC_2.17): Add clock_* symbols.
9759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9761 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9763 Likewise.
9764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9765 Likewise.
9766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9767 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9770 * NEWS: Mention the move.
9771
9772 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9773 Use __open, __read, __close rather than their public counterparts.
9774 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9775 (__get_clockfreq_via_cpuinfo): Likewise.
9776 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
9777 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
9778
9779 * config.h.in (HAVE_IFUNC): New #undef.
9780 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
9781 was successful.
9782 * configure: Regenerated.
9783
0cae3f4b
MF
97842012-10-24 Mike Frysinger <vapier@gentoo.org>
9785
9786 * configure.in: Move READELF check to start of file.
9787 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
9788 libc_cv_asm_gnu_indirect_function in the process.
9789 * configure: Regenerated.
9790
8175a253
MF
97912012-10-24 Mike Frysinger <vapier@gentoo.org>
9792
9793 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
9794 send the output to /dev/null.
9795 (libc_cv_cc_with_libunwind): Likewise.
9796 (libc_cv_as_noexecstack): Likewise.
9797 * configure: Regenerate.
9798
0708a7d1
JM
97992012-10-24 Joseph Myers <joseph@codesourcery.com>
9800
10b40d85
JM
9801 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
9802
0708a7d1
JM
9803 * posix/globtest.sh (TMPDIR): Do not set.
9804 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
9805 (testout): Likewise.
9806
9fddec1a
AJ
98072012-10-24 Andreas Jaeger <aj@suse.de>
9808
3a8db22f
AJ
9809 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
9810 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
9811 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
9812 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
9813 posix_fadvise64, posix_fallocate64.
9814
9fddec1a
AJ
9815 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
9816 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
9817 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
9818 Likewise.
9819 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
9820 Likewise.
9821 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
9822
9823 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
9824 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
9825 <bits/fcntl-linux.h>.
9826 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
9827
9828 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
9829 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
9830 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
9831 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
9832 [__WORDSIZE != 64]: Likewise.
9833
ebfd1bbd
JM
98342012-10-23 Joseph Myers <joseph@codesourcery.com>
9835
03ac099f
JM
9836 * Makeconfig (run-built-tests): New variable.
9837 * Rules [$(cross-compiling) = yes]: Change condition to
9838 [$(run-built-tests) = no].
9839 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
9840 to [$(run-built-tests) = yes].
9841 * elf/Makefile [$(cross-compiling) = no]: Likewise
9842 * grp/Makefile [$(cross-compiling) = no]: Likewise.
9843 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
9844 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
9845 * intl/Makefile [$(cross-compiling) = no]: Likewise.
9846 * io/Makefile [$(cross-compiling) = no]: Likewise.
9847 * libio/Makefile [$(cross-compiling) = no]: Likewise.
9848 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
9849 * misc/Makefile [$(cross-compiling) = no]: Likewise.
9850 * posix/Makefile [$(cross-compiling) = no]: Likewise.
9851 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
9852 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
9853 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
9854 * string/Makefile [$(cross-compiling) = no]: Likewise.
9855
ebfd1bbd
JM
9856 * posix/Makefile ($(objpfx)globtest.out): Pass
9857 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
9858 $(rtld-installed-name).
9859 * posix/globtest.sh (elf_objpfx): Remove variable.
9860 (rtld_installed_name): Likewise.
9861 (library_path): Likewise.
9862 (run_program_prefix): New variable. Use for running globtest
9863 binary.
9864
166bca24
JB
98652012-10-23 Jim Blandy <jimb@codesourcery.com>
9866 Joseph Myers <joseph@codesourcery.com>
9867
9868 * Makeconfig (host-built-program-cmd): New variable.
9869 * elf/Makefile (tst-stackguard1-ARGS): Use
9870 $(host-built-program-cmd).
9871 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
9872 (tst-spawn-ARGS): Likewise.
9873 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
9874
88866099
JM
98752012-10-23 Joseph Myers <joseph@codesourcery.com>
9876 Jim Blandy <jimb@codesourcery.com>
9877
9878 * Makeconfig (run-via-rtld-prefix): New variable.
9879 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
9880 (built-program-cmd): Likewise.
9881
b4b4c296
AJ
98822012-10-22 Andreas Jaeger <aj@suse.de>
9883
9884 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
9885 __O_RSYNC if it exists, otherwise to O_SYNC.
9886
6fb54a22
JB
98872012-10-22 Jim Blandy <jimb@codesourcery.com>
9888 Joseph Myers <joseph@codesourcery.com>
9889
9890 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
9891 /dev/null.
9892 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
9893 from /dev/null
9894 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
9895 /dev/null.
9896
481b90b9
AJ
98972012-10-22 Andreas Jaeger <aj@suse.de>
9898
2a0e2669
AJ
9899 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
9900 Define always.
9901 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
9902
76e38f9a
AJ
9903 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9904 bits/fcntl-linux.h.
9905
7cd37b43
AJ
9906 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
9907 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
9908
481b90b9
AJ
9909 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
9910 to __O_LARGEFILE.
9911 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
9912 to __O_LARGEFILE.
9913
aba75984
JB
99142012-10-21 Jim Blandy <jimb@codesourcery.com>
9915 Joseph Myers <joseph@codesourcery.com>
9916
9917 * config.make.in (NM): New variable.
9918
88d4247f
AJ
99192012-10-21 Andreas Jaeger <aj@suse.de>
9920
9921 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
9922 definitions and declarations that are provided by
9923 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9924
f2eed205
L
99252012-10-20 H.J. Lu <hongjiu.lu@intel.com>
9926
9927 [BZ #14683]
9928 * elf/Makefile (tests-static): Add tst-leaks1-static.
9929 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
9930 ($(objpfx)tst-leaks1-static): New rule.
9931 ($(objpfx)tst-leaks1-static-mem): Likewise.
9932 (tst-leaks1-static-ENV): New macro.
9933 * elf/dl-open.c (dl_open_worker): Check the main application
9934 only if SHARED is defined.
9935 * elf/tst-leaks1-static.c: New file.
9936
335e6931
AJ
99372012-10-20 Andreas Jaeger <aj@suse.de>
9938
9939 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
9940 generic values for Linux.
9941 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
9942 and declarations that are provided by <bits/fcntl-linux.h> and
9943 include <bits/fcntl-linux.h>.
9944 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9945 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9946
ac5c94d3
RM
99472012-10-20 Roland McGrath <roland@hack.frob.com>
9948
9949 * io/fcntl.h: Move include of <bits/types.h> to the top and
9950 include it unconditionally.
9951
de54b33a
L
99522012-10-20 H.J. Lu <hongjiu.lu@intel.com>
9953
228cfb01
L
9954 * wcsmbs/Makefile (tests-ifunc): New variable.
9955 (tests): Add $(tests-ifunc).
9956 * wcsmbs/test-wcschr-ifunc.c: New file.
9957 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9958 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9959 * wcsmbs/test-wcslen-ifunc.c: Likewise.
9960 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9961 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9962
69f07e5f
L
9963 * string/Makefile (tests-ifunc): New variable.
9964 (tests): Add $(tests-ifunc).
9965 * string/test-memccpy.c (TEST_NAME): New macro.
9966 * string/test-memchr.c (TEST_NAME): Likewise.
9967 * string/test-memcmp.c (TEST_NAME): Likewise.
9968 * string/test-memcpy.c (TEST_NAME): Likewise.
9969 * string/test-memmem.c (TEST_NAME): Likewise.
9970 * string/test-memmove.c (TEST_NAME): Likewise.
9971 * string/test-memset.c (TEST_NAME): Likewise.
9972 * string/test-rawmemchr.c (TEST_NAME): Likewise.
9973 * string/test-stpcpy.c (TEST_NAME): Likewise.
9974 * string/test-stpncpy.c (TEST_NAME): Likewise.
9975 * string/test-strcasecmp.c (TEST_NAME): Likewise.
9976 * string/test-strcasestr.c (TEST_NAME): Likewise.
9977 * string/test-strcat.c (TEST_NAME): Likewise.
9978 * string/test-strchr.c (TEST_NAME): Likewise.
9979 * string/test-strcmp.c(TEST_NAME): Likewise.
9980 * string/test-strcpy.c (TEST_NAME): Likewise.
9981 * string/test-strcspn.c (TEST_NAME): Likewise.
9982 * string/test-strlen.c (TEST_NAME): Likewise.
9983 * string/test-strncasecmp.c (TEST_NAME): Likewise.
9984 * string/test-strncmp.c (TEST_NAME): Likewise.
9985 * string/test-strncpy.c (TEST_NAME): Likewise.
9986 * string/test-strnlen.c (TEST_NAME): Likewise.
9987 * string/test-strpbrk.c (TEST_NAME): Likewise.
9988 * string/test-strrchr.c (TEST_NAME): Likewise.
9989 * string/test-strspn.c (TEST_NAME): Likewise.
9990 * string/test-strstr.c (TEST_NAME): Likewise.
9991 * string/test-bcopy-ifunc.c: New file.
9992 * string/test-bzero-ifunc.c: Likewise.
9993 * string/test-memccpy-ifunc.c: Likewise.
9994 * string/test-memchr-ifunc.c: Likewise.
9995 * string/test-memcmp-ifunc.c: Likewise.
9996 * string/test-memcpy-ifunc.c: Likewise.
9997 * string/test-memmem-ifunc.c: Likewise.
9998 * string/test-memmove-ifunc.c: Likewise.
9999 * string/test-mempcpy-ifunc.c: Likewise.
10000 * string/test-memset-ifunc.c: Likewise.
10001 * string/test-rawmemchr-ifunc.c: Likewise.
10002 * string/test-stpcpy-ifunc.c: Likewise.
10003 * string/test-stpncpy-ifunc.c: Likewise.
10004 * string/test-strcasecmp-ifunc.c: Likewise.
10005 * string/test-strcasestr-ifunc.c: Likewise.
10006 * string/test-strcat-ifunc.c: Likewise.
10007 * string/test-strchr-ifunc.c: Likewise.
10008 * string/test-strchrnul-ifunc.c: Likewise.
10009 * string/test-strcmp-ifunc.c: Likewise.
10010 * string/test-strcpy-ifunc.c: Likewise.
10011 * string/test-strcspn-ifunc.c: Likewise.
10012 * string/test-strlen-ifunc.c: Likewise.
10013 * string/test-strncasecmp-ifunc.c: Likewise.
10014 * string/test-strncat-ifunc.c: Likewise.
10015 * string/test-strncmp-ifunc.c: Likewise.
10016 * string/test-strncpy-ifunc.c: Likewise.
10017 * string/test-strnlen-ifunc.c: Likewise.
10018 * string/test-strpbrk-ifunc.c: Likewise.
10019 * string/test-strrchr-ifunc.c: Likewise.
10020 * string/test-strspn-ifunc.c: Likewise.
10021 * string/test-strstr-ifunc.c: Likewise.
10022
de54b33a
L
10023 * debug/Makefile (tests-ifunc): New variable.
10024 (tests): Add $(tests-ifunc).
10025 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
10026 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
10027 * debug/test-stpcpy_chk-ifunc.c: New file.
10028 * debug/test-strcpy_chk-ifunc.c: Likewise.
10029
88481c16
SP
100302012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10031
10032 [BZ #13601]
10033 * elf/dl-load.c (open_verify): Retry read if the entire ELF
10034 header is not read in.
10035
135948bd
JM
100362012-10-19 Joseph Myers <joseph@codesourcery.com>
10037
89f1c388
JM
10038 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
10039 script to $(SHELL) as $<. Pass $(common-objpfx) to script
10040 directly. Pass built executable to script as
10041 $(built-program-cmd).
10042 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
10043 $testprogram without using LD_LIBRARY_PATH and $ldso.
10044
e40a0d21
JM
10045 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
10046 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
10047 $(rtld-installed-name).
10048 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
10049 (rtld_installed_name): Likewise.
10050 (library_path): Likewise.
10051 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
10052 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
10053 $(run-program-prefix) to tst-tables.sh.
10054 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
10055 it to run tst-table-from and tst-table-to.
10056 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
10057 Pass it to tst-table.sh.
10058 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
10059 $(run-program-prefix) to tst-gettext.sh.
10060 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
10061 tst-translit.sh.
10062 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
10063 tst-gettext2.sh.
10064 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
10065 to run tst-gettext.
10066 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
10067 to run tst-gettext2.
10068 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
10069 to run tst-translit.
10070 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
10071 $(run-program-prefix) to tst-mtrace.sh.
10072 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
10073 to run tst-mtrace.
10074 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
10075 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
10076 $(rtld-installed-name).
10077 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
10078 (rtld_installed_name): Likewise.
10079 (run_program_prefix): New variable. Use it to run wordexp-test.
10080
728e272a
JM
10081 * Makeconfig (ARCH): Remove all definitions.
10082 (machine): Likewise.
10083 [ARCH]: Remove conditional code.
10084 [!objdir]: Give error.
10085 [!objdir] (objpfx): Remove.
10086 [!objdir] (common-objpfx): Likewise.
10087 [!objdir] (common-objdir): Likewise.
10088 * configure.in (config_makefile): Remove. Hardcode Makefile in
10089 AC_CONFIG_FILES call.
10090 * configure: Regenerated.
10091
d528cdcf
JM
10092 [BZ #13888]
10093 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
10094 or TMPDIR.
10095 (testout): Likewise.
10096
135948bd
JM
10097 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
10098 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
10099 $(rtld-installed-name).
10100 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
10101 (rtld_installed_name): Likwise.
10102 (runit): Remove function.
10103 (run_getconf): New variable, Use it for running getconf binary.
10104
38c78296
L
101052012-10-18 H.J. Lu <hongjiu.lu@intel.com>
10106
10107 [BZ #14716]
10108 * string/test-memmem.c (check_result): New function.
10109 (do_one_test): Use it.
10110 (check1): New function.
10111 (test_main): Use it.
10112
d077f65f
MT
101132012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
10114
10115 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
10116
ced52c71
JM
101172012-10-18 Joseph Myers <joseph@codesourcery.com>
10118
10119 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
10120 (_G_LSEEK64): Likewise.
10121 (_G_MMAP64): Likewise.
10122 (_G_FSTAT64): Likewise.
10123 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
10124 (_G_LSEEK64): Likewise.
10125 (_G_MMAP64): Likewise.
10126 (_G_FSTAT64): Likewise.
10127 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
10128 unconditional. Call __mmap64 directly.
10129 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
10130 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
10131 __lseek64 directly.
10132 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
10133 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
10134 __mmap64 directly.
10135 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
10136 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
10137 __lseek64 directly.
10138 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
10139 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
10140 __lseek64 directly.
10141 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
10142 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
10143 __lseek64 directly.
10144 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
10145 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
10146 __fxstat64 directly.
10147 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
10148 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
10149 unconditional.
10150 (freopen64) [!_G_OPEN64]: Remove conditional code.
10151 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
10152 unconditional.
10153 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
10154 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
10155 unconditional.
10156 (ftello64) [!_G_LSEEK64]: Remove conditional code.
10157 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
10158 unconditional.
10159 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10160 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
10161 unconditional.
10162 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
10163 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
10164 unconditional.
10165 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10166 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
10167 unconditional.
10168 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10169 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
10170 unconditional.
10171 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10172
b741de23
SP
101732012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10174
10175 [BZ #12140]
10176 * manual/memory.texi (Malloc Tunable Parameters): Add note
10177 about free list pointers overwriting some perturb bytes.
10178 Wording suggested by Roland McGrath.
10179
f9b9d9c9
JM
101802012-10-17 Joseph Myers <joseph@codesourcery.com>
10181
10182 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
10183 (lgamma_test): Likewise.
10184 (tgamma_test): Likewise.
10185
172a631a
FW
101862012-10-16 Florian Weimer <fweimer@redhat.com>
10187
10188 [BZ #14700]
10189 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
10190 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
10191
e9f37252
MK
101922012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
10193
10194 * NEWS: Mention BZ #14716.
10195 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
10196 when removing AVAILABLE1_USES_J macro.
10197
d394eb74
L
101982012-10-12 H.J. Lu <hongjiu.lu@intel.com>
10199
10200 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
10201 (__bswap_64): __uint64_t for unsigned 64-bit int.
10202
ca38dc17
AS
102032012-10-12 Andreas Schwab <schwab@linux-m68k.org>
10204
10205 * include/string.h (memmem): Declare libc hidden alias.
10206 * string/memmem.c (memmem): Define libc hidden alias.
10207 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
10208 __read, __close instead of open, read, close.
10209
9a387d1f
L
102102012-10-11 H.J. Lu <hongjiu.lu@intel.com>
10211
ac49ecaf
L
10212 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
10213 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
10214 global and hidden.
10215 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
10216 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
10217 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
10218 Likewise.
10219 (__rawmemchr_sse2): Likewise.
10220 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
10221 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
10222 (__strchr_sse2): Likewise.
10223 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
10224 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
10225 (__strcasecmp_sse2): Likewise.
10226 (__strncasecmp_sse2): Likewise.
10227 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
10228 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
10229 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
10230 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
10231 (__strrchr_sse2): Likewise.
10232 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
10233 ifunc-impl-list.c.
10234 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10235 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10236 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10237 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10238 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10239 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10240 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10241 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10242 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
10243 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
10244 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
10245 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
10246 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
10247 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10248 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10249 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10250 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10251 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10252 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
10253 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
10254 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
10255 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
10256 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
10257 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10258 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
10259 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10260 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10261 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10262 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10263 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10264
b090e8ea
L
10265 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
10266 global and hidden.
10267 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
10268 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
10269 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
10270 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
10271 Likewise.
10272 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
10273 Likewise.
10274 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
10275 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
10276 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
10277 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
10278 ifunc-impl-list.c.
10279 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10280 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10281 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10282 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10283 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10284 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10285 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10286 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10287 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10288 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10289 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10290 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10291 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10292 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
10293 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
10294 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10295 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
10296 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
10297 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10298 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10299 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10300 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10301 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10302 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10303 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10304 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
10305 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
10306 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
10307 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
10308 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10309 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
10310 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10311 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10312 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
10313 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10314 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10315 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10316 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10317 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10318 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10319 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
10320
11dd4af6
L
10321 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
10322 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
10323 * include/ifunc-impl-list.h: New file.
10324 * misc/ifunc-impl-list.c: Likewise.
10325 * misc/Makefile (routines): Add ifunc-impl-list.
10326 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
10327 * string/test-string.h: Include <ifunc-impl-list.h>.
10328 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
10329 impl_array): New variables.
10330 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
10331 are defined.
10332 (test_init): Call __libc_ifunc_impl_list to initialize
10333 func_list if TEST_IFUNC and TEST_NAME are defined.
10334
9a387d1f
L
10335 * string/Makefile (strop-tests): Add bcopy and bzero.
10336 * string/test-bcopy.c: New file.
10337 * string/test-bzero.c: Likewise.
10338 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
10339 defined.
10340 * string/test-memset.c: Support bzero test if TEST_BZERO is
10341 defined.
10342 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
10343 __libc_memmove.
10344 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
10345 __libc_memset.
10346 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
10347 of memset.
10348
472371b9
JM
103492012-10-10 Joseph Myers <joseph@codesourcery.com>
10350
1e4a9536
JM
10351 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
10352 * configure: Regenerated.
10353
d173d12e
JM
10354 * Makeconfig (+link-static-before-libc): Don't include
10355 $(link-static-libc).
10356
472371b9
JM
10357 * libio/libio.h (_IO_pos_t): Remove.
10358
89a3ad0b
AO
103592012-10-10 Alexandre Oliva <aoliva@redhat.com>
10360
10361 * NEWS: Add note about FIPS mode. Wording suggested by Roland
10362 McGrath.
10363
e7451425
AO
103642012-10-10 Alexandre Oliva <aoliva@redhat.com>
10365
10366 * crypt/crypt-entry.c: Include fips-private.h.
10367 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
10368 * crypt/md5c-test.c (main): Tolerate disabled MD5.
10369 * sysdeps/unix/sysv/linux/fips-private.h: New file.
10370 * sysdeps/generic/fips-private.h: New file, dummy fallback.
10371
4ba74a35
AO
103722012-10-10 Alexandre Oliva <aoliva@redhat.com>
10373
10374 * crypt/crypt-private.h: Include stdbool.h.
10375 (_ufc_setup_salt_r): Return bool.
10376 * crypt/crypt-entry.c: Include errno.h.
10377 (__crypt_r): Return NULL with EINVAL for bad salt.
10378 * crypt/crypt_util.c (bad_for_salt): New.
10379 (_ufc_setup_salt_r): Check that salt is long enough and within
10380 the specified alphabet.
10381 * crypt/badsalttest.c: New file.
10382 * crypt/Makefile (tests): Add it.
10383 ($(objpfx)badsalttest): New.
10384
f96f1242
MK
103852012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
10386
10387 * NEWS: Add entry for BZ #14602.
10388
0e8e0c1c
JM
103892012-10-09 Joseph Myers <joseph@codesourcery.com>
10390
10391 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
10392 type-generic.
10393 * math/libm-test.inc: Update comment listing what functions and
10394 macros are tested.
10395 (isgreater_test): New function.
10396 (isgreaterequal_test): Likewise.
10397 (isless_test): Likewise.
10398 (islessequal_test): Likewise.
10399 (islessgreater_test): Likewise.
10400 (isunordered_test): Likewise.
10401 (main): Call the new functions.
10402
273edc5e
RM
104032012-10-09 Roland McGrath <roland@hack.frob.com>
10404
b8493de0
RM
10405 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
10406 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
10407 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
10408 * sysdeps/i386/configure: Regenerated.
10409 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
10410 * sysdeps/mach/configure: Regenerated.
10411 * sysdeps/mach/hurd/configure: Regenerated.
10412 * sysdeps/powerpc/configure: Regenerated.
10413 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10414 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10415 * sysdeps/s390/s390-32/configure: Regenerated.
10416 * sysdeps/s390/s390-64/configure: Regenerated.
10417 * sysdeps/sh/configure: Regenerated.
10418 * sysdeps/sparc/configure: Regenerated.
10419 * sysdeps/unix/sysv/linux/configure: Regenerated.
10420 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10421 * sysdeps/x86_64/configure: Regenerated.
10422
273edc5e
RM
10423 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
10424 defined. Don't check if MAP is NULL.
10425
c8450f70
JM
104262012-10-09 Joseph Myers <joseph@codesourcery.com>
10427
10428 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
10429 (_G_stat64): Likewise.
10430 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
10431 (_G_stat64): Likewise.
10432 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
10433 instead of struct _G_stat64.
10434 * libio/fileops.c (mmap_remap_check): Likewise.
10435 (decide_maybe_mmap): Likewise.
10436 (_IO_new_file_seekoff): Likewise.
10437 (_IO_file_stat): Likewise.
10438 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
10439 _G_off64_t.
10440 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
10441 instead of struct _G_stat64.
10442 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10443
57e605ba
MK
104442012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
10445
10446 [BZ #14602]
10447 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10448 Replace with ...
10449 (CHECK_EOL): New macro.
10450 (two_way_short_needle): Check beginning of haystack for EOL. Use
10451 CHECK_EOL.
10452 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10453 Replace with CHECK_EOL.
10454 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10455 Replace with CHECK_EOL.
10456
ef1bb361
JM
104572012-10-08 Joseph Myers <joseph@codesourcery.com>
10458
10459 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
10460 type-generic.
10461 * math/libm-test.inc: Update comment listing what functions and
10462 macros are tested.
10463 (finite_test): New function.
10464 (isinf_test): Likewise.
10465 (isnan_test): Likewise.
10466 (fpclassify_test): Test subnormal input.
10467 (isfinite_test): Likewise.
10468 (isnormal_test): Likewise.
10469 (main): Call the new functions.
10470
55f11534
JN
104712012-10-08 Jonathan Nieder <jrnieder@gmail.com>
10472
10473 [BZ #14660]
10474 * Makerules (%.dynsym): Force C locale when running
10475 $(OBJDUMP) --dynamic-syms.
10476
1ab29350
AS
104772012-10-08 Andreas Schwab <schwab@linux-m68k.org>
10478
10479 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
10480 <stdint.h>.
10481
f1ecb7ef
DM
104822012-10-06 David S. Miller <davem@davemloft.net>
10483
10484 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
10485 upper 32-bits of the length value in %o2 since we use branch-on-register
10486 tests which consider the entire 64-bit register.
10487
5d41d91a
L
104882012-10-06 H.J. Lu <hongjiu.lu@intel.com>
10489
10490 * string/test-strstr.c (check2): Add a test for page boundary.
10491
3baddb72
DM
104922012-10-05 David S. Miller <davem@davemloft.net>
10493
10494 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
10495 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
10496 file.
10497 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10498 sysdep_routines.
10499 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10500 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
10501 and bzero when HWCAP_SPARC_CRYPTO is present.
10502
9cee5585
L
105032012-10-05 H.J. Lu <hongjiu.lu@intel.com>
10504
d7e0dab9
L
10505 [BZ #14602]
10506 * string/test-strstr.c (check2): New function.
10507 (test_main): Call check2.
10508
03759f47
L
10509 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
10510 and bug-strchr1.
10511 * string/bug-strcasestr1.c (do_test): Moved to ...
10512 * string/test-strcasestr.c (check1): Here. New function.
10513 (do_one_test): Break out result checking code into ...
10514 (check_result): This. New function.
10515 (do_one_test): Call check_result.
10516 (test_main): Call check1.
10517 * string/bug-strchr1.c (do_test): Moved to ...
10518 * string/test-strchr.c (check1): Here. New function.
10519 (do_one_test): Break out result checking code into ...
10520 (check_result): This. New function.
10521 (do_one_test): Call check_result.
10522 (test_main): Call check1.
10523 * string/bug-strstr1.c (main): Moved to ...
046f153e 10524 * string/test-strstr.c (check1): Here. New function.
03759f47
L
10525 (do_one_test): Break out result checking code into ...
10526 (check_result): This. New function.
10527 (do_one_test): Call check_result.
10528 (test_main): Call check1.
10529 * string/bug-strcasestr1.c: Removed.
10530 * string/bug-strchr1.c: Likewise.
10531 * string/bug-strstr1.c: Likewise.
10532
53cea63e
L
10533 * elf/Makefile (dl-routines): Add hwcaps.
10534 * elf/dl-support.c (_dl_important_hwcaps): Removed.
10535 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
10536 (_dl_important_hwcaps): Moved to ...
10537 * elf/dl-hwcaps.c: Here. New file.
10538 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
10539
9cee5585 10540 [BZ #14557]
bb859b06
L
10541 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
10542 if IS_IN_rtld isn't defined.
10543
9cee5585
L
10544 * elf/dl-support.c (_dl_sysinfo_map): New.
10545 Include "get-dynamic-info.h" and "setup-vdso.h".
10546 (_dl_non_dynamic_init): Call setup_vdso.
10547 * elf/dynamic-link.h: Don't include <assert.h>.
10548 (elf_get_dynamic_info): Moved to ...
10549 * elf/get-dynamic-info.h: Here. New file.
10550 * elf/dynamic-link.h: Include "get-dynamic-info.h".
10551 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
10552 * elf/setup-vdso.h: Here. New file.
10553 * elf/rtld.c: Include "setup-vdso.h".
10554 (dl_main): Call setup_vdso.
10555
23c31b76
JM
105562012-10-05 Joseph Myers <joseph@codesourcery.com>
10557
28234b07
JM
10558 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
10559 creal in comment listing functions tested. List finite, isinf,
10560 isnan, isless, islessequal, isgreater, isgreaterequal,
10561 islessgreater, isunordered, lgamma_r and pow10 as functions and
10562 macros not tested. Mention which functions not tested are aliases
10563 for other functions. Fix typo. Note that signs of NaNs are not
10564 tested.
10565
23c31b76
JM
10566 * scripts/config.guess: Update from config.git.
10567 * scripts/config.sub: Likewise.
10568
9043e228
RM
105692012-10-04 Roland McGrath <roland@hack.frob.com>
10570
10571 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
10572 * misc/madvise.c (madvise): Renamed to __madvise.
10573 Make madvise a weak alias.
10574 * include/sys/mman.h: Declare __madvise.
10575 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
10576 * sysdeps/unix/syscalls.list
10577 (madvise): Make __madvise the strong name, and madvise a weak alias.
10578 * sysdeps/unix/sysv/linux/syscalls.list
10579 (madvise, mmap): Remove redundant entries.
10580 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
10581 * malloc/malloc.c (mtrim): Likewise.
10582 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
10583
f57f8055
RM
105842012-10-03 Roland McGrath <roland@hack.frob.com>
10585
10586 * sysdeps/mach/hurd/dl-cache.c: File removed.
10587 * config.h.in (USE_LDCONFIG): New #undef.
10588 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
10589 * configure: Regenerated.
10590 * elf/Makefile (dl-routines): Add dl-cache only under
10591 [$(use-ldconfig) = yes].
10592 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
10593 cache on [USE_LDCONFIG].
10594 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
10595 [USE_LDCONFIG].
10596 * elf/rtld.c (dl_main): Likewise.
10597
5bb0c10a
PT
105982012-10-03 Pino Toscano <toscano.pino@tiscali.it>
10599
10600 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
10601 _SC_LEVEL4_CACHE_LINESIZE.
10602
010188c6
RM
106032012-10-03 Roland McGrath <roland@hack.frob.com>
10604
10605 * sysdeps/unix/bsd/confstr.h: File removed.
10606
b6c5ec07
AO
106072012-10-02 Alexandre Oliva <aoliva@redhat.com>
10608
10609 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
10610 sys/sdt-config.h.
10611
408223d4
RM
106122012-10-02 Roland McGrath <roland@hack.frob.com>
10613
10614 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
10615 Make 'mapoff' field ElfW(Off) rather than off_t.
10616
bb9510dc
DL
106172012-10-02 Dmitry V. Levin <ldv@altlinux.org>
10618
fc997c6e
DL
10619 * nscd/Makefile: Remove nscd-cflags and all its users.
10620 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
10621 (CFLAGS-nonlib): Add compiler flags for nscd modules.
10622
bb9510dc
DL
10623 [BZ #10631]
10624 * malloc.c (malloc_printerr): Clarify error message.
10625
05699367
L
106262012-10-02 H.J. Lu <hongjiu.lu@intel.com>
10627
10628 [BZ #14648]
10629 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10630 Set bit_FMA_Usable if FMA is supported.
10631 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
10632 macro.
10633 (bit_FMA4_Usable): Updated.
10634 (index_FMA_Usable): New macro.
10635 (CPUID_FMA): Likewise
10636 (HAS_FMA): Defined with bit_FMA_Usable.
10637
51367701
RM
106382012-10-01 Roland McGrath <roland@hack.frob.com>
10639
10640 * bits/types.h (__swblk_t): Type removed.
10641 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
10642 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
10643 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10644 (__SWBLK_T_TYPE): Likewise.
10645 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10646 (__SWBLK_T_TYPE): Likewise.
10647 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10648 (__SWBLK_T_TYPE): Likewise.
10649 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10650 (__SWBLK_T_TYPE): Likewise.
10651
4d57bf63 106522012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 10653 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
10654
10655 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
10656 (xdr_mapname): Use YPMAXMAP as maxsize.
10657 (xdr_peername): Use YPMAXPEER as maxsize.
10658 (xdr_keydat): Use YPAXRECORD as maxsize.
10659 (xdr_valdat): Use YPMAXRECORD as maxsize.
10660
93c65d43
RM
106612012-10-01 Roland McGrath <roland@hack.frob.com>
10662
497a03d6
RM
10663 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
10664
93c65d43
RM
10665 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
10666 * csu/init-first.c: ... here.
10667 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
10668 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
10669 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10670 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10671 * sysdeps/i386/init-first.c: File removed.
10672 * sysdeps/sh/init-first.c: File removed.
10673
bec749fd
JM
106742012-10-01 Joseph Myers <joseph@codesourcery.com>
10675
10676 [BZ #14645]
10677 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
10678 if x * y might underflow to zero and z is zero.
10679 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10680 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10681 * math/libm-test.inc (min_subnorm_value): New variable.
10682 (fma_test): Add more tests.
10683 (fma_test_towardzero): Likewise.
10684 (fma_test_downward): Likewise
10685 (fma_test_upward): Likewise.
10686 (initialize): Set min_subnorm_value.
10687
8ec5b013
JM
106882012-09-29 Joseph Myers <joseph@codesourcery.com>
10689
10690 [BZ #14638]
10691 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
10692 0 + 0.
10693 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
10694 mode for addition resulting in exact zero.
10695 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
10696 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
10697 exact 0 + 0.
10698 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10699 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10700 * math/libm-test.inc (fma_test): Add more tests.
10701 (fma_test_towardzero): New function.
10702 (fma_test_downward): Likewise.
10703 (fma_test_upward): Likewise.
10704 (main): Call the new functions.
10705
b1fa802e
DM
107062012-09-28 David S. Miller <davem@davemloft.net>
10707
10708 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
10709
d3b9fd9e
RM
107102012-09-28 Roland McGrath <roland@hack.frob.com>
10711
ea4d37b3
RM
10712 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
10713 instead of SIGALRM.
10714
ac51c949
RM
10715 * sysdeps/gnu/_G_config.h: Moved to ...
10716 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
10717 * sysdeps/mach/hurd/_G_config.h: Moved to ...
10718 * sysdeps/generic/_G_config.h: ... here.
10719
28c195f7
RM
10720 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
10721
848917f9
RM
10722 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
10723
6bacf05b
RM
10724 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
10725 Conditionalize target on [libnss_test1.so-version].
10726
91363dbb
RM
10727 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
10728
cc87f7d8
RM
10729 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
10730 (elfobjdir): Move out of conditionals.
10731
b1c608fe
RM
10732 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
10733 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
10734 (__nss_lookup_function): Conditionalize label remove_from_tree on
10735 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 10736
1d9a6d96
DM
107372012-09-28 David S. Miller <davem@davemloft.net>
10738
10739 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
10740 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
10741 file.
10742 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10743 sysdep_routines.
10744 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10745 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
10746 when HWCAP_SPARC_CRYPTO is present.
10747
72581615
PT
107482012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10749
10750 * io/tst-mknodat.c: Create a FIFO instead of a socket.
10751
715a900c
JL
107522012-09-28 Andreas Schwab <schwab@linux-m68k.org>
10753
10754 [BZ #6530]
10755 * stdio-common/vfprintf.c (process_string_arg): Revert
10756 2000-07-22 change.
10757
107582011-09-28 Jonathan Nieder <jrnieder@gmail.com>
10759
10760 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
10761 for testcase.
10762 * stdio-common/tst-sprintf.c: Include <locale.h>
10763 (main): Test sprintf's handling of incomplete multibyte
10764 characters.
10765
9bac1d86
L
107662012-09-28 H.J. Lu <hongjiu.lu@intel.com>
10767
10768 * elf/dl-runtime.c (VERSYMIDX): Removed.
10769 * elf/dl-version.c (VERSYMIDX): Likewise.
10770 * elf/do-rel.h (VERSYMIDX): Likewise.
10771 (VALIDX): Likewise.
10772 * elf/dynamic-link.h (VERSYMIDX): Likewise.
10773 * elf/rtld.c (VALIDX): Likewise.
10774 (ADDRIDX): Likewise.
9bac1d86
L
10775 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
10776 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
10777 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
10778 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
10779 (VALIDX): Likewise.
10780 (ADDRIDX): Likewise.
9bac1d86 10781
b31606c0
PT
107822012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10783
10784 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
10785
11541177
JL
107862012-09-28 Dmitry V. Levin <ldv@altlinux.org>
10787
10788 [BZ #11438]
10789 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
10790 to global scope.
10791 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
10792 addresses are in the same scope as 192.0.2/24.
10793 * posix/gai.conf: Document new scope table defaults.
10794
adb26fae
SP
107952012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10796
10797 [BZ #5298]
10798 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
10799 for ftell. Compute offsets from write pointers instead.
10800 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10801
4573c6b0
SP
108022012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10803
10804 [BZ #14543]
10805 * libio/Makefile (tests): New test case tst-fseek.
10806 * libio/tst-fseek.c: New test case to verify that fseek/ftell
10807 combination works in wide mode.
10808 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
10809 state when the external buffer state changes.
10810
aa9bbfe6
DM
108112012-09-27 David S. Miller <davem@davemloft.net>
10812
10813 [BZ #14376]
10814 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
10815 pass reloc->r_addend in as the 'high' argument to
10816 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
10817
784421e7
DM
10818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10819
c39bc8b8
PT
108202012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10821
10822 * rt/tst-aio2.c: Include <pthread.h>.
10823 * rt/tst-aio3.c: Likewise.
10824
1ccc2399
SE
108252012-09-27 Steve Ellcey <sellcey@mips.com>
10826
10827 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
10828
31ed4153
L
108292012-09-27 H.J. Lu <hongjiu.lu@intel.com>
10830
25f5f885
L
10831 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
10832 contents on [SHARED].
31ed4153 10833
b7bfe116
MP
108342012-09-26 Marek Polacek <polacek@redhat.com>
10835
10836 [BZ #14530]
10837 [BZ #13741]
10838 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
10839 for C++ and GCC <4.3 as well as for non GCC compilers.
10840
43c4edba
MT
108412012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10842
10843 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10844
6a1bf82f
RM
108452012-09-25 Roland McGrath <roland@hack.frob.com>
10846
10847 * Makefile.in (all, install): Declare with .PHONY.
10848 Reported by Michael Hope <michael.hope@linaro.org>.
10849
8ad11b9a
TMQMF
108502012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10851
10852 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
10853 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
10854 system header.
10855 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
10856 Likewise.
10857 (sydep_routines): Add the new and the internal functions.
10858 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
10859 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
10860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
10861 (GLIBC_2.17): Add the new function.
10862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10863 (GLIBC_2.17): Likewise.
10864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
10865 (GLIBC_2.17): Likewise.
10866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
10867 (GLIBC_2.17): Likewise.
10868 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
10869
7e2fca8d
AM
108702012-09-25 Alan Modra <amodra@gmail.com>
10871
10872 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
10873 Add release barrier before setting once_control to say
10874 initialisation is done. Add hints on lwarx. Use macro in
10875 place of isync.
10876 (clear_once_control): Add release barrier.
10877
b87c4b24
JM
108782012-09-25 Joseph Myers <joseph@codesourcery.com>
10879
d032e0d2
JM
10880 [BZ #13629]
10881 * math/s_clog.c (__clog): Handle more values close to |z| = 1
10882 specially.
10883 * math/s_clog10.c (__clog10): Likewise.
10884 * math/s_clog10f.c (__clog10f): Likewise.
10885 * math/s_clog10l.c (__clog10l): Likewise.
10886 * math/s_clogf.c (__clogf): Likewise.
10887 * math/s_clogl.c (__clogl): Likewise.
10888 * math/Makefile (libm-calls): Add x2y2m1.
10889 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
10890 (__x2y2m1): Likewise.
10891 (__x2y2m1l): Likewise.
10892 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
10893 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
10894 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10895 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10896 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
10897 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10898 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
10899 * sysdeps/i386/fpu/libm-test-ulps: Update.
10900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10901
b87c4b24
JM
10902 [BZ #14621]
10903 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
10904 int as type of variable DEPTH.
10905 (glob): Use size_t instead of int as type of variables NEWCOUNT
10906 and OLD_PATHC.
10907
6d3bf199
LD
109082012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10909
22bf5c17
LD
10910 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10911 Add s_sincosf-sse2.
10912 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
10913 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
10914 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
10915 macros for using routine as __sincosf_ia32.
10916 Use macro for function declaration and weak_alias.
10917 * sysdeps/i386/fpu/libm-test-ulps: Update.
10918
10919 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
10920 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10921
10922 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
10923 subnormal argument.
10924 * math/s_cexpf.c (__cexpf): Likewise.
10925 * math/s_csinf.c (__csinf): Likewise.
10926 * math/s_csinhf.c (__csinhf): Likewise.
10927 * math/s_ctanf.c (__ctanf): Likewise.
10928 * math/s_ctanhf.c (__ctanhf): Likewise.
10929 * math/s_ccosh.c (__ccoshf): Likewise.
10930 * math/s_cexp.c (__cexpl): Likewise.
10931 * math/s_csin.c (__csin): Likewise.
10932 * math/s_csinh.c (__csinh): Likewise.
10933 * math/s_ctan.c (__ctan): Likewise.
10934 * math/s_ctanh.c (ctanh): Likewise.
10935 * math/s_ccoshl.c (__ccoshl): Likewise.
10936 * math/s_cexpl.c (__cexpl): Likewise.
10937 * math/s_csinl.c (__csinl): Likewise.
10938 * math/s_csinhl.c (__csinhl): Likewise.
10939 * math/s_ctanl.c (__ctanl): Likewise.
10940 * math/s_ctanhl.c (__ctanhl): Likewise.
10941
203e5603
JM
109422012-09-25 Joseph Myers <joseph@codesourcery.com>
10943
10944 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
10945 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
10946 (_IO_off_t): Define to __off_t, not _G_off_t.
10947 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
10948 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
10949 (_IO_wint_t): Define to wint_t, not _G_wint_t.
10950 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
10951 type of __dummy and __dummy2 fields.
10952 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
10953 (_G_ssize_t): Likewise.
10954 (_G_off_t): Likewise.
10955 (_G_pid_t): Likewise.
10956 (_G_uid_t): Likewise.
10957 (_G_wchar_t): Likewise.
10958 (_G_wint_t): Likewise.
10959 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
10960 (_G_ssize_t): Likewise.
10961 (_G_off_t): Likewise.
10962 (_G_pid_t): Likewise.
10963 (_G_uid_t): Likewise.
10964 (_G_wchar_t): Likewise.
10965 (_G_wint_t): Likewise.
10966 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
10967 (_G_ssize_t): Likewise.
10968 (_G_off_t): Likewise.
10969 (_G_pid_t): Likewise.
10970 (_G_uid_t): Likewise.
10971 (_G_wchar_t): Likewise.
10972 (_G_wint_t): Likewise.
10973
9fab36eb
SP
109742012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10975
10976 * malloc/arena.c: Include malloc-sysdep.h.
10977 (shrink_heap): Use check_may_shrink_heap to decide if madvise
10978 is sufficient to shrink the heap or an unmap is needed.
10979 * sysdeps/generic/malloc-sysdep.h: New file. Define
10980 new function check_may_shrink_heap.
10981 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
10982 new function check_may_shrink_heap.
10983
2b4f00d1
SP
109842012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10985
10986 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
10987 comments.
10988
9a9028b1
DL
109892012-09-24 Dmitry V. Levin <ldv@altlinux.org>
10990
57c69bef
DL
10991 * catgets/test-gencat.sh: Add "set -e".
10992 * elf/tst-pathopt.sh: Likewise.
10993 * grp/tst_fgetgrent.sh: Likewise.
10994 * iconvdata/run-iconv-test.sh: Likewise.
10995 * intl/tst-gettext.sh: Likewise.
10996 * intl/tst-gettext2.sh: Likewise.
10997 * intl/tst-gettext4.sh: Likewise.
10998 * intl/tst-gettext6.sh: Likewise.
10999 * intl/tst-translit.sh: Likewise.
11000 * io/ftwtest-sh: Likewise.
11001 * libio/test-freopen.sh: Likewise.
11002 * malloc/tst-mtrace.sh: Likewise.
11003 * posix/globtest.sh: Likewise.
11004 * posix/tst-getconf.sh: Likewise.
11005 * posix/wordexp-tst.sh: Likewise.
11006 * stdio-common/tst-printf.sh: Likewise.
11007 * stdio-common/tst-unbputc.sh: Likewise.
11008 * stdlib/tst-fmtmsg.sh: Likewise.
11009 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11010 * catgets/Makefile: Do not specify -e option when running
11011 testsuite shell scripts.
11012 * elf/Makefile: Likewise.
11013 * grp/Makefile: Likewise.
11014 * iconvdata/Makefile: Likewise.
11015 * intl/Makefile: Likewise.
11016 * io/Makefile: Likewise.
11017 * libio/Makefile: Likewise.
11018 * malloc/Makefile: Likewise.
11019 * posix/Makefile: Likewise.
11020 * stdio-common/Makefile: Likewise.
11021 * stdlib/Makefile: Likewise.
11022 * sysdeps/x86_64/Makefile: Likewise.
11023
9a9028b1
DL
11024 * io/ftwtest-sh: Add copyright header.
11025 * posix/globtest.sh: Likewise.
11026 * posix/tst-getconf.sh: Likewise.
11027 * posix/wordexp-tst.sh: Likewise.
11028 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11029
ced6f16e
L
110302012-09-24 H.J. Lu <hongjiu.lu@intel.com>
11031
94b32c39
L
11032 [BZ #13679]
11033 * Makeconfig (+link): Defined as $(+link-static) if
11034 $(build-shared) isn't yes.
11035 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
11036 isn't yes.
11037 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
11038
189e935b
L
11039 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
11040
ced6f16e
L
11041 [BZ #14562]
11042 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
11043 new chunk size with MALLOC_ALIGN_MASK.
11044
a9f8e53a
JM
110452012-09-24 Joseph Myers <joseph@codesourcery.com>
11046
11047 [BZ #5044]
11048 * stdio-common/printf_fphex.c: Include <stdbool.h> and
11049 <rounding-mode.h>.
11050 (__printf_fphex): Determine rounding using get_rounding_mode and
11051 round_away.
11052 * stdio-common/tst-printf-round.c (struct hex_test): New
11053 structure.
11054 (hex_tests): New variable.
11055 (test_hex_in_one_mode): New function.
11056 (do_test): Also run tests for hex float output.
11057
43153109
JM
110582012-09-21 Joseph Myers <joseph@codesourcery.com>
11059
11060 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11061 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11062 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
11063 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11064 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11065 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
11066 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11067 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11068
8a26625d
JM
110692012-09-20 Joseph Myers <joseph@codesourcery.com>
11070
11071 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
11072 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
11073 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
11074 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
11075
f3fd569c
DL
110762012-09-19 Dmitry V. Levin <ldv@altlinux.org>
11077
11078 [BZ #14579]
11079 * elf/rtld.c (dl_main): Limit the check for self loading to normal
11080 mode only.
11081 * elf/tst-rtld-load-self.sh: New test.
11082 * elf/Makefile: Run it.
11083
63bbedd4
JM
110842012-09-18 Joseph Myers <joseph@codesourcery.com>
11085
11086 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
11087 (tst-writev-ENV): Remove.
11088 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
11089
626f8b6a
CM
110902012-09-17 Chris Metcalf <cmetcalf@tilera.com>
11091
11092 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
11093
b7aaa4d6
JM
110942012-09-17 Joseph Myers <joseph@codesourcery.com>
11095
11096 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
11097 unconditional.
11098 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
11099 Likewise.
11100 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
11101 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
11102 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
11103 Likewise.
11104
65513990
L
111052012-09-14 H.J. Lu <hongjiu.lu@intel.com>
11106
11107 [BZ #14587]
11108 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
11109 * config.make.in (have-cpp-asm-debuginfo): Removed.
11110 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
11111 * configure: Regenerated.
11112
784761be
JM
111132012-09-14 Joseph Myers <joseph@codesourcery.com>
11114
11115 [BZ #5044]
11116 * stdio-common/printf_fp.c: Include <stdbool.h> and
11117 <rounding-mode.h>.
11118 (___printf_fp): Determine rounding using get_rounding_mode and
11119 round_away.
11120 * stdio-common/tst-printf-round.c: New file.
11121 * stdio-common/Makefile (tests): Add tst-printf-round.
11122 (link-libm): New variable.
11123 ($(objpfx)tst-printf-round): Depend in $(link-libm).
11124
9503345f
L
111252012-09-13 H.J. Lu <hongjiu.lu@intel.com>
11126
11127 [BZ #14576]
11128 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
11129 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
11130 Likewise.
11131 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
11132 Likewise.
11133
ad35fc00
JM
111342012-09-13 Joseph Myers <joseph@codesourcery.com>
11135
11136 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
11137 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11138 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11139 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11140
6c9b0f68
JM
111412012-09-12 Joseph Myers <joseph@codesourcery.com>
11142
11143 [BZ #14518]
11144 * include/rounding-mode.h: New file.
11145 * sysdeps/generic/get-rounding-mode.h: Likewise.
11146 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
11147 * stdlib/strtod_l.c: Include <rounding-mode.h>.
11148 (MAX_VALUE): New macro.
11149 (MIN_VALUE): Likewise.
11150 (overflow_value): New function.
11151 (underflow_value): Likewise.
11152 (round_and_return): Use overflow_value and underflow_value to
11153 determine return values in overflow and underflow cases. Use
11154 round_away to determine rounding depending on rounding mode.
11155 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
11156 determine return values in overflow and underflow cases.
11157 * stdlib/tst-strtod-round.c: Include <fenv.h>.
11158 (struct test_results): New structure.
11159 (struct test): Use struct test_results to store expected results
11160 for all rounding modes.
11161 (TEST): Include expected results for all rounding modes.
11162 (test_in_one_mode): New function.
11163 (do_test): Use test_in_one_mode to compute and check results.
11164 Check results for all rounding modes.
11165 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
11166 $(link-libm).
11167
19fcedd5
AM
111682012-12-09 Allan McRae <allan@archlinux.org>
11169
1e9d84cd 11170 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 11171
8bbfd2f1
JM
111722012-09-11 Joseph Myers <joseph@codesourcery.com>
11173
11174 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
11175 (_G_int32_t): Likewise.
11176 (_G_uint16_t): Likewise.
11177 (_G_uint32_t): Likewise.
11178 (_G_HAVE_BOOL): Likewise.
11179 (_G_HAVE_ATEXIT): Likewise.
11180 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11181 (_G_HAVE_IO_FILE_OPEN): Likewise.
11182 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
11183 (_G_int32_t): Likewise.
11184 (_G_uint16_t): Likewise.
11185 (_G_uint32_t): Likewise.
11186 (_G_HAVE_BOOL): Likewise.
11187 (_G_HAVE_ATEXIT): Likewise.
11188 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11189 (_G_HAVE_IO_FILE_OPEN): Likewise.
11190 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
11191 (_G_int32_t): Likewise.
11192 (_G_uint16_t): Likewise.
11193 (_G_uint32_t): Likewise.
11194 (_G_HAVE_BOOL): Likewise.
11195 (_G_HAVE_ATEXIT): Likewise.
11196 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11197 (_G_HAVE_IO_FILE_OPEN): Likewise.
11198
b1dc5912
L
111992012-09-11 H.J. Lu <hongjiu.lu@intel.com>
11200
11201 * csu/libc-tls.c: Update copyright years.
11202
0e886ef9
JM
112032012-09-10 Joseph Myers <joseph@codesourcery.com>
11204
28361c5e
JM
11205 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
11206 [!_G_USING_THUNKS]: Remove conditional code.
11207 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
11208 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
11209
0e886ef9
JM
11210 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
11211 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
11212 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11213 (_G_VTABLE_LABEL_PREFIX): Likewise.
11214 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11215 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11216 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11217 (_G_VTABLE_LABEL_PREFIX): Likewise.
11218 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11219 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11220 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11221 (_G_VTABLE_LABEL_PREFIX): Likewise.
11222 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11223
bcba7aa2
L
112242012-09-10 H.J. Lu <hongjiu.lu@intel.com>
11225
11226 * libio/Makefile: Include ../Makeconfig before tests.
11227 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
11228 only if $(build-shared) is yes.
11229
06585ee8
L
11230 * iconv/gconv_db.c: Update copyright years.
11231
80ccd52c
LD
112322012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11233
11234 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
11235 unwind info if defined PIC. Fix special cases description.
11236 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
11237
11238 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
11239 DP_HI_MASK entry.
11240 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
11241
691bc9c1
L
112422012-09-07 H.J. Lu <hongjiu.lu@intel.com>
11243
3d9b46b3
L
11244 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
11245
de2139a9
L
11246 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
11247 is NULL.
11248
5ca78dd0
L
11249 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
11250 (LDLIBS-tst-chk4): This.
11251 (LDFLAGS-tst-chk5): Renamed to ...
11252 (LDLIBS-tst-chk5): This.
11253 (LDFLAGS-tst-chk6): Renamed to ...
11254 (LDLIBS-tst-chk6): This.
11255 (LDFLAGS-tst-lfschk4): Renamed to ...
11256 (LDLIBS-tst-lfschk4): This.
11257 (LDFLAGS-tst-lfschk5): Renamed to ...
11258 (LDLIBS-tst-lfschk5): This.
11259 (LDFLAGS-tst-lfschk6): Renamed to ...
11260 (LDLIBS-tst-lfschk6): This.
11261
691bc9c1
L
11262 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
11263 on $(common-objpfx)soversions.mk.
11264
65cafb1c
JM
112652012-09-07 Joseph Myers <joseph@codesourcery.com>
11266
11267 [BZ #10014]
11268 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
11269 example host name.
11270
c78ab094
SP
112712012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11272
11273 * malloc/arena.c (arena_get_retry): New function that gets
11274 another arena for the caller to try its request on.
11275 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
11276 current arena cannot fulfill the request.
11277 (__libc_memalign): Likewise.
11278 (__libc_memalign): Likewise.
11279 (__libc_pvalloc): Likewise.
11280 (__libc_calloc): Likewise.
11281
01f49f59
JT
112822012-09-05 John Tobey <john.tobey@gmail.com>
11283
11284 [BZ #13542]
11285 * manual/arith.texi (Operations on Complex): Fix description
11286 of carg branch cut.
11287
4c23fed5
JM
112882012-09-06 Joseph Myers <joseph@codesourcery.com>
11289
1d3c8572
JM
11290 [BZ #10014]
11291 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
11292 host name.
11293
4c23fed5
JM
11294 [BZ #10038]
11295 * manual/memory.texi (Memory): Make order of menu items match
11296 order of sections.
11297
04570aaa
L
112982012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11299
11300 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
11301 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
11302 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
11303
b80af2f4
L
113042012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11305
11306 * csu/libc-tls.c (static_dtv): Renamed to ...
11307 (_dl_static_dtv): This. Make it global.
11308 (_dl_initial_dtv): Removed.
11309 (__libc_setup_tls): Updated.
11310 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
11311 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
11312 DL_INITIAL_DTV.
11313
2abe9f15
PM
113142012-09-06 Petr Machata <pmachata@redhat.com>
11315
11316 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
11317 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
11318 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
11319 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
11320
0948c3af
L
113212012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11322
11323 [BZ #14545]
11324 * csu/libc-tls.c (_dl_initial_dtv): New variable.
11325 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
11326 freeing dtv[-1].
11327
a5055ad1
L
113282012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11329
11330 [BZ #14544]
11331 * Makeconfig (link-static-before-libc): Replace $(+prector)
11332 with $(+prectorT).
11333 (link-static-after-libc): Replace $(+postctor) with
11334 $(+postctorT).
11335 (link-bounded): Replace $(+prector)/$(+postctor) with
11336 $(+prectorT)/$(+postctorT).
11337 (+prectorT): New macro.
11338 (+postctorT): Likewise.
11339
ed8c2ecd
JM
113402012-09-06 Joseph Myers <joseph@codesourcery.com>
11341
11342 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
11343 (round_str): Handle values above the maximum for IBM long double
11344 as inexact.
11345 * stdlib/tst-strtod-round.c (tests): Regenerated.
11346
14c996c8
AK
113472012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11348
11349 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
11350 assembler flag.
11351 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
11352 zarch_nohighgprs around the zarch optimized routines.
11353 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11354 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11355 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
11356 for zarch.
11357
430d6ce6
DM
113582012-09-05 David S. Miller <davem@davemloft.net>
11359
11360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11361
ff04dda4
DM
11362 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
11363 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
11364 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
11365 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11366 entries.
11367
24d4e01b
AO
113682012-09-05 Alexandre Oliva <aoliva@redhat.com>
11369
11370 * malloc/arena.c: Fold copyright years.
11371 * malloc/mcheck.c, malloc/memusage.c: Likewise.
11372
61d58174
AO
113732012-09-05 Alexandre Oliva <aoliva@redhat.com>
11374
11375 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
11376
20196a5e
AO
113772012-09-05 Alexandre Oliva <aoliva@redhat.com>
11378
11379 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
11380
5c447383
AO
113812012-09-05 Alexandre Oliva <aoliva@redhat.com>
11382
11383 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
11384 change internal state upon failure.
11385
fad64255
AO
113862012-09-05 Alexandre Oliva <aoliva@redhat.com>
11387
11388 * malloc/mcheck.c (mcheck_check_all): Fix typo.
11389 * malloc/memusage.c (mmap): Likewise.
11390 (mmap64, mremap): Likewise. Adjust name in comment.
11391
1ffb8c90
SP
113922012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11393
11394 * libio/fileops.c: Fix typos in comments.
11395 * libio/oldfileops.c: Likewise.
11396 * libio/wfileops.c: Likewise.
11397
6ef9cc37
SP
113982012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11399
11400 [BZ #1349]
11401 * malloc/Makefile (tests): Add tst-malloc-usable test case.
11402 (tst-malloc-usable-ENV): Set environment for test case.
11403 * malloc/hooks.c (malloc_check_get_size): New function to get
11404 requested size.
11405 * malloc/malloc.c (musable): Use malloc_check_get_size.
11406 * malloc/tst-malloc-usable.c: New test case.
11407
4d038ae3
AS
114082012-09-05 Andreas Schwab <schwab@linux-m68k.org>
11409
11410 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
11411
c4e85184
AM
114122012-09-05 Allan McRae <allan@archlinux.org>
11413
b9dafc56 11414 [BZ #13966]
c4e85184
AM
11415 * configure.in (CXX_SYSINCLUDES): Use compiler output to
11416 determine header location.
11417 * configure: Regenerated.
11418
e1343020
AS
114192012-09-05 Andreas Schwab <schwab@linux-m68k.org>
11420
11421 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
11422 float format.
11423 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
11424 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
11425 format.
e1343020
AS
11426 (test): Regenerate.
11427
0a9f1987
DM
114282012-09-04 David S. Miller <davem@davemloft.net>
11429
11430 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
11431 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
11432 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
11433
29237804
FW
114342012-09-04 Florian Weimer <fweimer@redhat.com>
11435
11436 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
11437 failures.
11438
edb3cb88
FW
11439 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
11440
60160d83
JM
114412012-09-04 Joseph Myers <joseph@codesourcery.com>
11442
11443 [BZ #9914]
11444 * libio/iogetdelim.c: Include <limits.h>.
11445 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
11446 + len + 1 would overflow.
11447
bcd6c8dc
AJ
114482012-09-03 Andreas Jaeger <aj@suse.de>
11449
11450 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11451 * sysdeps/i386/fpu/libm-test-ulps: Update.
11452
4ffffbd2
LD
114532012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11454
11455 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11456 Add s_sinf-sse2, s_conf-sse2.
11457
11458 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
11459 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
11460 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
11461 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
11462
11463 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
11464 for using routine as __sinf_ia32.
11465 Use macro for function declaration and weak_alias.
11466 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
11467 for using routine as __cosf_ia32.
11468 Use macro for function declaration and weak_alias.
11469
11470 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
11471 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
11472
11473 * sysdeps/x86_64/fpu/s_sinf.S: New file.
11474 * sysdeps/x86_64/fpu/s_cosf.S: New file.
11475 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11476
11477 * math/libm-test.inc (cos_test): Add more test cases.
11478 (sin_test): Likewise.
11479 (sincos_test): Likewise.
11480
511fa286
AK
114812012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11482
11483 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
11484 (IFUNC_RESOLVE): Make pointers to the specialized implementations
11485 hidden.
11486 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11487
5f30cfec
L
114882012-09-02 H.J. Lu <hongjiu.lu@intel.com>
11489
11490 [BZ #14538]
11491 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
11492 first element of the GOT.
11493 (elf_machine_load_address): Return the difference between
11494 the runtime address of _DYNAMIC and elf_machine_dynamic ().
11495
0786794f
AM
114962012-09-01 Allan McRae <allan@archlinux.org>
11497
5f30cfec
L
11498 [BZ #13412]
11499 * configure.in (AWK): Require gawk version 3.0 or later.
11500 * configure: Regenerated.
0786794f 11501
26889eac
JM
115022012-09-01 Joseph Myers <joseph@codesourcery.com>
11503
11504 * sysdeps/unix/sysv/linux/kernel-features.h
11505 (__ASSUME_POSIX_CPU_TIMERS): Remove.
11506 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11507 [__NR_clock_getres]: Make code unconditional.
11508 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
11509 (clock_getcpuclockid): Remove code left unreachable by removal of
11510 conditionals.
11511 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
11512 code unconditional.
11513 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11514 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11515 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
11516 Make code unconditional.
11517 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11518 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11519 * sysdeps/unix/sysv/linux/clock_settime.c
11520 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
11521 conditional code.
11522 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
11523 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11524
d22e28b0
L
115252012-08-29 H.J. Lu <hongjiu.lu@intel.com>
11526
11527 [BZ #14476]
11528 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
11529 scripts/test-installation.pl.
11530
11531 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
11532 and $ld_so_version if it is set.
11533
050af9c4
SP
115342012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11535
11536 [BZ #14516]
11537 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
11538 failure if reading from procfs failed.
11539 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
11540
ad845c0b
JM
115412012-08-27 Joseph Myers <joseph@codesourcery.com>
11542
11543 * sysdeps/unix/sysv/linux/kernel-features.h
11544 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
11545 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11546 Remove conditional code.
11547 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11548 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
11549 Remove conditional code.
11550 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11551 * sysdeps/unix/sysv/linux/i386/fxstat.c
11552 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11553 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11554 * sysdeps/unix/sysv/linux/i386/fxstatat.c
11555 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11556 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11557 * sysdeps/unix/sysv/linux/i386/lxstat.c
11558 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11559 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11560 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
11561 Remove conditional code.
11562 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11563 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11564 Remove conditional code.
11565 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11566 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
11567 <kernel-features.h>.
11568 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
11569 Remove.
11570 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
11571 Remove conditional code.
11572 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11573 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
11574 Remove conditional.
11575
5dbf56af
MF
115762012-08-27 Mike Frysinger <vapier@gentoo.org>
11577
11578 [BZ #5400]
11579 * NEWS: Add fixed bug number.
11580
d6e70f43
JM
115812012-08-27 Joseph Myers <joseph@codesourcery.com>
11582
7efb4737
JM
11583 [BZ #14519]
11584 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
11585 underflowing exponent in case of negative sign.
11586 * stdlib/tst-strtod-round-data: Add more tests.
11587 * stdlib/tst-strtod-round.c (tests): Regenerated.
11588
af92131a
JM
11589 [BZ #3479]
11590 * stdlib/strtod_l.c (NDIG): Remove.
11591 (HEXNDIG): Likewise.
11592 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
11593 smallest representable value.
11594 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
11595 lie within an exact representation of 1/2 ulp of the result.
11596 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
11597 unconditionally.
11598 (TENS_P9_IDX): Define unconditionally.
11599 (TENS_P9_SIZE): Likewise.
11600 (TENS_P10_IDX): Likewise.
11601 (TENS_P10_SIZE): Likewise.
11602 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
11603 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
11604 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
11605 entries for 10^2^13 and 10^2^14.
11606 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
11607 (TENS_P13_IDX): Define.
11608 (TENS_P13_SIZE): Likewise.
11609 (TENS_P14_IDX): Likewise.
11610 (TENS_P14_SIZE): Likewise.
11611 (_fpioconst_pow10): Change array size to
11612 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
11613 unconditional.
11614 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
11615 1024]: Add entries for 10^2^13 and 10^2^14.
11616 [LAST_POW10 > _LAST_POW10]: Remove #error.
11617 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
11618 (_fpioconst_pow10): Change array size to
11619 FPIOCONST_POW10_ARRAY_SIZE.
11620 * stdlib/gen-fpioconst.c: New file.
11621 * stdlib/gen-tst-strtod-round.c: Likewise.
11622 * stdlib/tst-strtod-round-data: Likewise.
11623 * stdlib/tst-strtod-round.c: Likewise.
11624 * stdlib/Makefile (tests): Add tst-strtod-round.
11625
d6e70f43
JM
11626 [BZ #14459]
11627 * stdlib/strtod_l.c: Include <stdint.h>.
11628 (NDEBUG): Do not define.
11629 (round_and_return): Change EXPONENT parameter to type intmax_t.
11630 Rearrange calculations to avoid internal overflow possibilities.
11631 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
11632 Rearrange calculations to avoid internal overflow possibilities.
11633 Assert that number fits inside MPNSIZE limbs.
11634 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
11635 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
11636 calculations and add assertions to avoid internal overflow
11637 possibilities. Add casts to avoid signed/unsigned operations.
11638 * stdlib/tst-strtod-overflow.c: New file.
11639 * stdlib/Makefile (tests): Add tst-strtod-overflow.
11640
1f529f7d
MP
116412012-08-25 Marek Polacek <polacek@redhat.com>
11642
11643 * time/time.h: Fix some typos in comments.
11644
59a629f1
RM
116452012-08-23 Roland McGrath <roland@hack.frob.com>
11646
11647 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
11648 * posix/tst-rfc3484-2.c: Likewise.
11649 * posix/tst-rfc3484-3.c: Likewise.
11650
d3bafbc9
SM
116512012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
11652
11653 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
11654 (EF_ARM_ABI_FLOAT_HARD): Likewise.
11655
4efcc022
JM
116562012-08-23 Joseph Myers <joseph@codesourcery.com>
11657
11658 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
11659 #include of fxstatat64.c.
11660
3cc3ef96
RM
116612012-08-22 Roland McGrath <roland@hack.frob.com>
11662
f04e2132
RM
11663 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
11664 * shadow/getspent_r.c: Likewise.
11665 * shadow/getspnam.c: Likewise.
11666 * shadow/getspnam_r.c: Likewise.
11667 * gshadow/getsgent.c: Likewise.
11668 * gshadow/getsgent_r.c: Likewise.
11669 * gshadow/getsgnam.c: Likewise.
11670 * gshadow/getsgnam_r.c: Likewise.
11671 * inet/getnetbyad.c: Likewise.
11672 * inet/getnetbyad_r.c: Likewise.
11673 * inet/getnetbynm.c: Likewise.
11674 * inet/getnetbynm_r.c: Likewise.
11675 * inet/getnetent.c: Likewise.
11676 * inet/getnetent_r.c: Likewise.
11677 * inet/getproto.c: Likewise.
11678 * inet/getproto_r.c: Likewise.
11679 * inet/getprtent.c: Likewise.
11680 * inet/getprtent_r.c: Likewise.
11681 * inet/getprtname.c: Likewise.
11682 * inet/getprtname_r.c: Likewise.
11683 * inet/getrpcbyname.c: Likewise.
11684 * inet/getrpcbyname_r.c: Likewise.
11685 * inet/getrpcbynumber.c: Likewise.
11686 * inet/getrpcbynumber_r.c: Likewise.
11687 * inet/getrpcent.c: Likewise.
11688 * inet/getrpcent_r.c: Likewise.
11689 * inet/getaliasent.c: Likewise.
11690 * inet/getaliasent_r.c: Likewise.
11691 * inet/getaliasname.c: Likewise.
11692 * inet/getaliasname_r.c: Likewise.
11693 * nscd/getgrgid_r.c: Likewise.
11694 * nscd/getgrnam_r.c: Likewise.
11695 * nscd/gethstbyad_r.c: Likewise.
11696 * nscd/gethstbynm3_r.c: Likewise.
11697 * nscd/getpwnam_r.c: Likewise.
11698 * nscd/getpwuid_r.c: Likewise.
11699 * nscd/getsrvbynm_r.c: Likewise.
11700 * nscd/getsrvbypt_r.c: Likewise.
11701 * nscd/gai.c: Likewise.
11702
c53d909c
RM
11703 * configure.in (build_nscd): New substituted variable, set
11704 by --disable-build-nscd and defaults to $use_nscd.
11705 * configure: Regenerated.
11706 * config.make.in (build-nscd): New substituted variable.
11707 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
11708 Change conditional to require [$(build-nscd) = yes] as well.
11709 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
11710
3cc3ef96
RM
11711 [BZ# 13696]
11712 * configure.in (use_nscd): New substituted variable, set by
11713 --disable-nscd. If enabled, define USE_NSCD.
11714 * configure: Regenerated.
11715 * config.h.in: Add USE_NSCD.
11716 * config.make.in (use-nscd): New substituted variable.
11717 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
11718 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
11719 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
11720 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
11721 (CFLAGS-getgrnam_r.c): Likewise.
11722 (CFLAGS-initgroups.c): Likewise.
11723 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
11724 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
11725 Variables removed.
11726 * inet/getnetgrent_r.c
11727 (nscd_setnetgrent): New function, broken out of ...
11728 (setnetgrent): ... here. Call it.
11729 (innetgr): Conditionalize nscd bits on [USE_NSCD].
11730 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
11731 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
11732 * nscd/Makefile (routines, aux): Move definitions after include of
11733 Makeconfig. Conditionalize on [$(use-nscd) != no].
11734 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
11735 Conditionalize on [USE_NSCD].
11736 (is_nscd, nscd_init_cb): Likewise.
11737 (nss_load_library): Conditionalize init callback on [USE_NSCD].
11738 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
11739 * nss/nss_db/db-init.c: Likewise.
11740 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
11741 [USE_NSCD].
11742 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
11743 (make_request): Use it.
11744 (cache_valid_p): New function.
11745 (__check_pf): Use it.
11746 * NEWS: Add item for --disable-nscd.
11747
07e51550
DL
117482012-08-22 Dmitry V. Levin <ldv@altlinux.org>
11749
11750 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
11751 to support sed >= 4.2.1-20-ga9bf076.
11752 * configure: Regenerated.
11753
35a5b08b
RM
117542012-08-22 Roland McGrath <roland@hack.frob.com>
11755
11756 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
11757 Conditionalize whole body on [IREL].
11758
8479f23a
JL
117592012-08-22 Jeff Law <law@redhat.com>
11760
11761 [BZ #14505]
11762 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
11763 if the family is PF_UNSPEC.
11764
48da0b21
MF
117652012-08-22 Mike Frysinger <vapier@gentoo.org>
11766
11767 * Makerules (lib-version): Rename from V.
11768 (install-lib-nosubdir): Change V to lib-version.
11769
15d0da8c
WS
117702012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
11771
11772 [BZ #14252]
11773 * powerpc32/power6/wcschr.c: New file.
11774 * powerpc32/power6/wcscpy.c: New file.
11775 * powerpc32/power6/wcsrchr.c: New file.
11776 * powerpc64/power6/wcschr.c: New file.
11777 * powerpc64/power6/wcscpy.c: New file.
11778 * powerpc64/power6/wcsrchr.c: New file.
11779
bcca0895
MK
117802012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11781
11782 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
11783 (two_way_short_needle): Use it.
5a4aaa33
RM
11784 * string/strstr.c (AVAILABLE1_USES_J): Define.
11785 * string/strcasestr.c: Likewise.
99677e57
MK
11786
11787 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
11788 array references.
11789 * string/strcasestr.c (TOLOWER): Make side-effect safe.
11790
400726de
MK
11791 [BZ #11607]
11792 * NEWS: Add an entry.
11793 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
11794 define their defaults.
11795 (two_way_short_needle): Detect end-of-string on-the-fly.
11796 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
11797 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
11798 * string/bug-strcasestr1.c: New test.
11799 * string/Makefile: Run it.
11800
20a71f2c
MK
118012012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11802
11803 [BZ #11607]
11804 * string/str-two-way.h (two_way_short_needle): Optimize matching of
11805 the first character.
11806
21ad0558
RM
118072012-08-21 Roland McGrath <roland@hack.frob.com>
11808
11809 * csu/elf-init.c (__libc_csu_irel): Function removed.
11810 * csu/libc-start.c (apply_irel): New function.
11811 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
11812
0e1d9911
JM
118132012-08-21 Joseph Myers <joseph@codesourcery.com>
11814
11815 * sysdeps/unix/sysv/linux/kernel-features.h
11816 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
11817 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11818 <kernel-features.h>.
11819 [__NR_fadvise64_64]: Make code unconditional.
11820 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
11821 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11822 !__NR_fadvise64_64)]: Likewise.
11823 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11824 !__NR_fadvise64_64))]: Likewise.
11825 [__NR_fadvise64]: Make code unconditional.
11826 [!__NR_fadvise64]: Remove conditional code.
11827 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
11828 <kernel-features.h>.
11829 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11830 unconditional.
11831 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11832 conditional code.
11833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
11834 not include <kernel-features.h>.
11835 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11836 unconditional.
11837 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11838 conditional code.
11839 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
11840 include <kernel-features.h>.
11841 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11842 unconditional.
11843 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11844 conditional code.
11845
14a50c9d
WS
118462012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11847
11848 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
11849 slight instruction rearrangements per scrollpipe analysis.
11850 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11851
c0f4faf0
RM
118522012-08-20 Roland McGrath <roland@hack.frob.com>
11853
696da859
RM
11854 * manual/syslog.texi (syslog; vsyslog, closelog):
11855 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
11856 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
11857
c0f4faf0
RM
11858 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
11859 DSOCAPS to match condition on defining it.
11860
348363b2
JM
118612012-08-20 Joseph Myers <joseph@codesourcery.com>
11862
a35cbf28
JM
11863 * sysdeps/unix/sysv/linux/kernel-features.h
11864 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
11865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
11866 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11867 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
11869 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11870 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
11872 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11873 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11874
445f7ecd
JM
11875 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
11876 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
11877
348363b2
JM
11878 * sysdeps/unix/sysv/linux/kernel-features.h
11879 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
11880 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
11881 unconditional.
11882 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11883 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
11884 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11885 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11886 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
11887 Make code unconditional.
11888 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11889 (__mmap64) [!__NR_mmap2]: Likewise.
11890 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
11891 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11892 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11893 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
11894 [__NR_mmap2]: Make code unconditional.
11895 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11896 (__mmap64) [!__NR_mmap2]: Likewise.
11897
bc5bc0e5
AK
118982012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11899
11900 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
11901
88d506de
AJ
119022012-08-18 Andreas Jaeger <aj@suse.de>
11903
11904 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
11905
493387d2
MF
119062012-08-18 Mike Frysinger <vapier@gentoo.org>
11907
11908 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
11909 * include/unistd.h (__have_sock_cloexec): Likewise.
11910 (__have_pipe2): Likewise.
11911 (__have_dup3): Likewise.
11912
a277af22
MF
119132012-08-18 Mike Frysinger <vapier@gentoo.org>
11914
11915 [BZ #9685]
11916 * include/unistd.h (__have_pipe2): Change define into an extern int.
11917 (__have_dup3): Likewise.
11918 * socket/have_sock_cloexec.c: Include fcntl.h.
11919 (__have_pipe2): New variable.
11920 (__have_dup3): Likewise.
11921
fdab8fd3
MF
119222012-08-17 Mike Frysinger <vapier@gentoo.org>
11923
11924 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
11925
31035e80
MP
119262012-08-17 Marek Polacek <polacek@redhat.com>
11927
11928 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
11929 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
11930
3bd9e993
RM
119312012-08-17 Roland McGrath <roland@hack.frob.com>
11932
c91c505f
RM
11933 * configure.in: Add AC_SUBST for sysheaders.
11934 * configure: Regenerated.
11935 * config.make.in (sysheaders): New substituted variable.
11936
7c6f9d53
RM
11937 * sysdeps/unix/mkfifo.c: Moved ...
11938 * sysdeps/posix/mkfifo.c: ... here.
11939 * sysdeps/unix/mkfifoat.c: Moved ...
11940 * sysdeps/posix/mkfifoat.c: ... here.
11941
11942 * sysdeps/unix/utime.c: Moved ...
11943 * sysdeps/posix/utime.c: ... here.
11944
11945 * sysdeps/unix/time.c: Moved ...
11946 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
11947 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
11948 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
11949
11950 * sysdeps/unix/nice.c: Moved ...
11951 * sysdeps/posix/nice.c: ... here.
11952
11953 * sysdeps/unix/alarm.c: Moved ...
11954 * sysdeps/posix/alarm.c: ... here.
11955
3bd9e993
RM
11956 * intl/Makefile ($(codeset_mo)): Depend on the input file.
11957
d1f09384
JL
119582012-08-17 Jeff Law <law@redhat.com>
11959
11960 * intl/Makefile (codeset_mo): New variable.
11961 ($(codeset_mo)): New target.
11962 (tst-codeset.out): Depend on that. Remove explicit rule.
11963 (tst-gettext3.out, tst-gettext5.out): Likewise.
11964 (LOCPATH-ENV, tst-codeset-ENV): New variables.
11965 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
11966 * intl/tst-codeset.sh: Remove.
11967 * intl/tst-gettext3.sh: Likewise.
11968 * intl/tst-gettext5.sh: Likewise.
11969
2ae1ae5c
RM
119702012-08-17 Roland McGrath <roland@hack.frob.com>
11971
c31fdb83
RM
11972 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
11973 * sysdeps/unix/syscalls.list: ... here.
11974
a0844057
RM
11975 * sysdeps/posix/getaddrinfo.c
11976 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
11977 (gaiconf_init, gaiconf_reload): Use them.
11978 [!_STATBUF_ST_NSEC]
11979 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
11980 Define using time_t rather than struct timespec.
11981
750c1f2a
RM
11982 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
11983 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
11984 Macros removed.
11985 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
11986 [!NO_THREADS].
11987 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
11988 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
11989 Likewise.
11990
2ae1ae5c
RM
11991 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
11992 __libc_cleanup_push argument.
11993
e66a42f5
RM
11994 * bits/param.h: New file.
11995 * misc/sys/param.h: New file.
11996 * include/sys/param.h: New file.
11997 * misc/Makefile (headers): Add bits/param.h.
11998 * sysdeps/generic/sys/param.h: File removed.
11999 * sysdeps/unix/sysv/linux/bits/param.h: New file.
12000 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
12001 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 12002 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 12003
b7c08a66
RM
12004 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
12005 last change.
12006
b2e1c562
RM
12007 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
12008 [_IO_MTSAFE_IO].
12009 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
12010 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
12011 New macros.
12012
c75ccd4c
RM
12013 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
12014 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
12015 rather than -D_IO_MTSAFE_IO conditionally.
12016 * stdio-common/Makefile (CPPFLAGS): Likewise.
12017 * wcsmbs/Makefile (CPPFLAGS): Likewise.
12018 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
12019 Use $(libio-mtsafe).
12020 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
12021 of -D_IO_MTSAFE_IO.
12022 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
12023 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
12024 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
12025 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
12026 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
12027 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
12028 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
12029 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
12030 (CFLAGS-fread_u_chk.c): Likewise.
12031 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
12032 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
12033 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
12034 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
12035 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
12036 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
12037 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
12038 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
12039 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
12040
12041 * libio/Makefile: Test [$(libc-reentrant) = yes]
12042 instead of [$(filter %REENTRANT, $(defines)) nonempty].
12043
12044 * Makeconfig
12045 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
12046 * sysdeps/pthread/configure: File removed.
12047 * sysdeps/pthread/Makeconfig: New file.
12048 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
12049 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
12050
d9195db8
GB
120512012-08-16 Gary Benson <gbenson@redhat.com>
12052
12053 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
12054 unmapping the first object in a namespace.
12055
86466cd9
RM
120562012-08-16 Roland McGrath <roland@hack.frob.com>
12057
12058 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
12059 (__internal_setnetgrent): ... this. Add internal_function to
12060 definition. Add libc_hidden_def.
12061 (setnetgrent): Update caller.
12062 (internal_endnetgrent): Renamed to ...
12063 (__internal_endnetgrent): ... this. Add internal_function to
12064 definition. Add libc_hidden_def.
12065 (endnetgrent): Update caller.
12066 (internal_getnetgrent_r): Renamed to ...
12067 (__internal_getnetgrent_r): ... this. Add internal_function to
12068 definition. Add libc_hidden_def.
12069 (__getnetgrent_r): Update caller.
12070 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
12071
c3c8283c
JM
120722012-08-16 Joseph Myers <joseph@codesourcery.com>
12073
12074 * stdlib/longlong.h: Update from GCC.
12075
db1ee0a8
RM
120762012-08-16 Roland McGrath <roland@hack.frob.com>
12077
12078 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
12079 on _QL, which is set by umul_ppmm but never used.
12080 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
12081 variables, which are set by GMP macros but never used.
12082 * stdio-common/_itowa.c (_itowa): Likewise.
12083 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
12084 * stdlib/mod_1.c (mpn_mod_1): Likewise.
12085
30f69637
CD
120862012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
12087
12088 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
12089 struct La_sh_regs is not constant.
12090 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
12091 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
12092 and struct La_sparc64_regs are not constant.
12093
93a78ac4
JM
120942012-08-16 Joseph Myers <joseph@codesourcery.com>
12095
12096 * sysdeps/unix/sysv/linux/kernel-features.h
12097 (__ASSUME_POSIX_TIMERS): Remove.
12098 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12099 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12100 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
12101 Make code unconditional.
12102 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12103 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
12104 Make code unconditional.
12105 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12106 * sysdeps/unix/sysv/linux/clock_nanosleep.c
12107 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
12108 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12109 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
12110 Make code unconditional.
12111 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12112 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
12113 (__libc_missing_posix_timers): Remove.
12114
dd924cd7
RM
121152012-08-15 Roland McGrath <roland@hack.frob.com>
12116
4b4f2771
RM
12117 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
12118 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
12119
601c888b
RM
12120 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
12121
176790a7
RM
12122 * elf/dl-sym.c: Include <stdlib.h>.
12123
329bc018
RM
12124 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
12125 constants, which avoids warnings in 32-bit builds.
12126
e04e272d
RM
12127 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
12128 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
12129
952bf94a
RM
12130 * misc/lseek.c: File moved to ...
12131 * io/lseek.c: ... here.
12132
7c99b50a
RM
12133 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
12134
dd924cd7
RM
12135 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
12136 shifting LEN more than 31 bits at once.
12137
b3f479a8
LD
121382012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12139
12140 [BZ #14195]
8c4ae0d4
RM
12141 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
12142 segmentation fault for a case of two empty input strings.
b3f479a8
LD
12143 * string/test-strncasecmp.c (check1): Renamed to...
12144 (bz12205): ...this.
12145 (bz14195): Add new testcase for two empty input strings and N > 0.
12146 (test_main): Call new testcase, adapt for renamed function.
12147
9c55864e
AJ
121482012-08-15 Andreas Jaeger <aj@suse.de>
12149
12150 [BZ #14090]
12151 * crypt/md5test2.c: New test, based on test supplied by Serge
12152 Belyshev <belyshev@depni.sinp.msu.ru>.
12153 * crypt/Makefile (xtests): Add md5test-giant..
12154 * crypt/Makefile ($(objpfx)md5test-giant): Add.
12155
02dcb6c5
PE
121562012-08-15 Paul Eggert <eggert@cs.ucla.edu>
12157
12158 [BZ #14090]
12159 * crypt/md5.c (md5_process_block): Don't assume the buffer
12160 length is less than 2**32.
12161 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
12162 length is less than 2**64.
12163
a3f95dcc
RM
121642012-08-15 Roland McGrath <roland@hack.frob.com>
12165
be75d758
RM
12166 * string/str-two-way.h: Include <sys/param.h>.
12167 (MAX): Macro removed.
12168
7312ca90
RM
12169 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
12170 Move #define and #undef of memmove to just before and after
12171 including <string.h>.
12172
9a0a5486
RM
12173 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
12174 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
12175 and after including <string.h>. Move declarations of
12176 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
12177 to before #include "string/memmove.c".
12178
67cc348d
RM
12179 * include/dirent.h: Declare __getdirentries.
12180
a3f95dcc
RM
12181 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
12182 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
12183
ca98e171
MF
121842012-08-14 Mike Frysinger <vapier@gentoo.org>
12185
12186 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
12187 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
12188 * sysdeps/i386/configure: Regenerated.
12189 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
12190 STABS_CURRENT_FILE, and STABS_FUN.
12191 (END): Remove call to STABS_FUN_END.
12192 (STABS_CURRENT_FILE1): Delete.
12193 (STABS_CURRENT_FILE): Likewise.
12194 (STABS_FUN): Likewise.
12195 (STABS_FUN_END): Likewise.
12196 (STABS_FUN2): Likewise.
12197 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
12198 * sysdeps/x86_64/configure: Regenerated.
12199
5908bf46
RM
122002012-08-14 Roland McGrath <roland@hack.frob.com>
12201
12202 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 12203 * elf/dl-lookup.c: Likewise.
5908bf46 12204
f2c05b9e
JM
122052012-08-14 Joseph Myers <joseph@codesourcery.com>
12206
12207 * sysdeps/unix/sysv/linux/kernel-features.h
12208 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
12209 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
12210 unconditionally.
12211 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
12212 unconditionally.
12213 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
12214 condition on __ASSUME_CLONE_THREAD_FLAGS.
12215
e11f5155
AJ
122162012-08-14 Andreas Jaeger <aj@suse.de>
12217
12218 * sysdeps/i386/fpu/libm-test-ulps: Update.
12219
51a9ba86
MK
122202012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
12221
2fdd4f78
AJ
12222 * include/atomic.h (atomic_exchange_and_add): Split into ...
12223 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
12224 New atomic macros.
51a9ba86 12225
ba6cba9e
MT
122262012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
12227
12228 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12229
42443a47
JL
122302012-08-13 Jeff Law <law@redhat.com>
12231
12232 * manual/stdio.texi (snprintf): Clarify handling of the trailing
12233 null byte in the output string.
12234
121dce05
JM
122352012-08-10 Joseph Myers <joseph@codesourcery.com>
12236
12237 * sysdeps/unix/sysv/linux/kernel-features.h
12238 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
12239 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
12240 (__ASSUME_ARG_MAX_STACK_BASED): Define.
12241 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12242 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
12243 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
12244 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
12245
bf51f568
JL
122462012-08-09 Jeff Law <law@redhat.com>
12247
12248 [BZ #13939]
12249 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
12250 When avoid_arena is set, don't retry in the that arena. Pick the
12251 next one, whatever it might be.
12252 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
12253 (arena_lock): Pass in new parameter to arena_get2.
12254 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
12255 arena_get2.
12256 (__libc_malloc): Unify retrying after main arena failure with
12257 __libc_memalign version.
12258 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
12259
f85fa270
L
122602012-08-09 H.J. Lu <hongjiu.lu@intel.com>
12261
12262 [BZ #14166]
12263 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
12264 to __redirect_strstr.
12265 (__strstr_sse42): Use typeof __redirect_strstr.
12266 (__strstr_ia32): Likewise.
12267 (__libc_strstr): New prototype.
12268 (strstr): Renamed to ...
12269 (__libc_strstr): This.
12270 (strstr): New strong alias of __libc_strstr.
12271 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12272 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
12273 __redirect_time.
12274 Include <time.h>.
12275 (__libc_time): New prototype.
12276 (time_ifunc): Replace time with __libc_time.
12277 (time): New strong alias and hidden definition of __libc_time.
12278 (__GI_time): Remove strong alias.
12279 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
12280 Include <stddef.h>.
12281 (memmove): Redefined to __redirect_memmove.
12282 (__memmove_sse2): Use typeof __redirect_memmove.
12283 (__memmove_ssse3): Likewise.
12284 (__memmove_ssse3_back): Likewise.
12285 (__libc_memmove): New prototype.
12286 (memmove): Renamed to ...
12287 (__libc_memmove): This.
12288 (memmove): New strong alias of __libc_memmove.
12289
33b4a91e
MS
122902012-08-08 Mark Salter <msalter@redhat.com>
12291
12292 * elf/elf.h
12293 (R_MN10300_TLS_GD): Define.
12294 (R_MN10300_TLS_LD): Likewise.
12295 (R_MN10300_TLS_LDO): Likewise.
12296 (R_MN10300_TLS_GOTIE): Likewise.
12297 (R_MN10300_TLS_IE): Likewise.
12298 (R_MN10300_TLS_LE): Likewise.
12299 (R_MN10300_TLS_DTPMOD): Likewise.
12300 (R_MN10300_TLS_DTPOFF): Likewise.
12301 (R_MN10300_TLS_TPOFF): Likewise.
12302 (R_MN10300_SYM_DIFF): Likewise.
12303 (R_MN10300_ALIGN): Likewise.
12304 (R_MN10300_NUM): Update.
12305
b36137f1
JM
123062012-08-08 Joseph Myers <joseph@codesourcery.com>
12307
12308 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
12309 Remove.
12310
cdd915fd
RM
123112012-08-08 Roland McGrath <roland@hack.frob.com>
12312
a2433aac
RM
12313 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
12314
cdd915fd
RM
12315 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
12316 sysdeps/unix -> sysdeps/posix move.
12317 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12318
bf9b740a
AM
123192012-08-07 Allan McRae <allan@archlinux.org>
12320
12321 [BZ #14303]
12322 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
12323 (SUNOS_CPP): Likewise.
12324 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
12325 not found.
12326 (open_input): Call CPP using execvp.
12327
93df14ee
JM
123282012-08-07 Joseph Myers <joseph@codesourcery.com>
12329
12330 * sysdeps/unix/sysv/linux/kernel-features.h
12331 (__ASSUME_PROT_GROWSUPDOWN): Remove.
12332 (__ASSUME_NO_CLONE_DETACHED): Likewise.
12333 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12334 (__ASSUME_WAITID_SYSCALL): Likewise.
12335 * sysdeps/unix/sysv/linux/dl-execstack.c
12336 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
12337 code unconditional.
12338 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
12339 conditional code.
12340 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
12341 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
12342 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
12343 code.
12344 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
12345 unconditional.
12346 [__ASSUME_WAITID_SYSCALL]: Likewise.
12347 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
12348
d34689de
RM
123492012-08-07 Roland McGrath <roland@hack.frob.com>
12350
a281decc
RM
12351 * sysdeps/unix/closedir.c: Renamed to ...
12352 * sysdeps/posix/closedir.c: ... here.
12353 * sysdeps/unix/dirfd.c: Renamed to ...
12354 * sysdeps/posix/dirfd.c: ... here.
12355 * sysdeps/unix/dirstream.h: Renamed to ...
12356 * sysdeps/posix/dirstream.h: ... here.
12357 * sysdeps/unix/fdopendir.c: Renamed to ...
12358 * sysdeps/posix/fdopendir.c: ... here.
12359 * sysdeps/unix/opendir.c: Renamed to ...
12360 * sysdeps/posix/opendir.c: ... here.
12361 * sysdeps/unix/readdir.c: Renamed to ...
12362 * sysdeps/posix/readdir.c: ... here.
12363 * sysdeps/unix/readdir_r.c: Renamed to ...
12364 * sysdeps/posix/readdir_r.c: ... here.
12365 * sysdeps/unix/rewinddir.c: Renamed to ...
12366 * sysdeps/posix/rewinddir.c: ... here.
12367 * sysdeps/unix/seekdir.c: Renamed to ...
12368 * sysdeps/posix/seekdir.c: ... here.
12369 * sysdeps/unix/telldir.c: Renamed to ...
12370 * sysdeps/posix/telldir.c: ... here.
12371 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
12372 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
12373 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12374 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12375
22895b47
RM
12376 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
12377 * bits/fcntl.h: ... here.
12378
707a53b6
RM
12379 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
12380 not 0.
12381 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
12382 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
12383 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
12384 (struct flock): Move l_start, l_len to the beginning.
12385 Use __pid_t for l_pid.
12386 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
12387 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
12388 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
12389 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
12390 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
12391 [__USE_LARGEFILE64] (struct flock64): New type.
12392 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
12393
f0bd3e25
RM
12394 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
12395 * bits/dirent.h: ... here.
12396
d34689de
RM
12397 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
12398 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
12399
6dad2c06
JM
124002012-08-07 Joseph Myers <joseph@codesourcery.com>
12401
12402 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12403 Change from 2.6.0 to 2.6.16.
12404 * sysdeps/unix/sysv/linux/configure: Regenerated.
12405 * sysdeps/unix/sysv/linux/kernel-features.h
12406 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
12407 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
12408 version.
12409 (__ASSUME_UTIMES): Likewise.
12410 (__ASSUME_CLONE_STOPPED): Remove.
12411 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
12412 architectures, not kernel version.
12413 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
12414 (__ASSUME_NO_CLONE_DETACHED): Likewise.
12415 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12416 (__ASSUME_WAITID_SYSCALL): Likewise.
12417 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
12418 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
12419 * README: State 2.6.16 as minimum Linux kernel version. Do not
12420 refer to older versions.
12421
03af9520
RM
124222012-08-06 Roland McGrath <roland@hack.frob.com>
12423
8e49df1d
RM
12424 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
12425 Define alphasort64 as an alias.
12426 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
12427 Define versionsort64 as an alias.
12428 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
12429 Define scandir64 as an alias.
12430 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
12431 Define scandirat64 as an alias.
12432 * dirent/alphasort64.c (alphasort64):
12433 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
12434 * dirent/versionsort64.c: Likewise.
12435 * dirent/scandir64.c: Likewise.
12436 * dirent/scandirat64.c: Likewise.
12437 * sysdeps/wordsize-64/alphasort.c: File removed.
12438 * sysdeps/wordsize-64/alphasort64.c: File removed.
12439 * sysdeps/wordsize-64/scandir.c: File removed.
12440 * sysdeps/wordsize-64/scandir64.c: File removed.
12441 * sysdeps/wordsize-64/scandirat.c: File removed.
12442 * sysdeps/wordsize-64/scandirat64.c: File removed.
12443 * sysdeps/wordsize-64/versionsort.c: File removed.
12444 * sysdeps/wordsize-64/versionsort64.c: File removed.
12445 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
12446 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
12447 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
12448 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
12449 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
12450 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
12451 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
12452 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
12453
12454 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
12455 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
12456 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
12457 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12458 [defined __arch64__ || defined __sparcv9]
12459 (__INO_T_MATCHES_INO64_T): New macro.
12460 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12461 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
12462 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
12463 * sysdeps/unix/sysv/linux/bits/dirent.h
12464 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
12465 (_DIRENT_MATCHES_DIRENT64): New macro.
12466
03af9520
RM
12467 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
12468 Define lockf64 as an alias.
12469 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
12470 Define fseeko64 as an alias.
12471 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
12472 Define ftello64 as an alias.
12473 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
12474 Define _IO_fgetpos64 and fgetpos64 as aliases.
12475 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
12476 Define _IO_fsetpos64 and fsetpos64 as aliases.
12477 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
12478 Conditionalize body on this.
12479 * libio/fseeko64.c: Likewise.
12480 * libio/ftello64.c: Likewise.
12481 * libio/iofgetpos64.c: Likewise.
12482 * libio/iofsetpos64.c: Likewise.
12483 * sysdeps/wordsize-64/lockf.c: File removed.
12484 * sysdeps/wordsize-64/lockf64.c: File removed.
12485 * sysdeps/wordsize-64/fseeko.c: File removed.
12486 * sysdeps/wordsize-64/fseeko64.c: File removed.
12487 * sysdeps/wordsize-64/ftello.c: File removed.
12488 * sysdeps/wordsize-64/ftello64.c: File removed.
12489 * sysdeps/wordsize-64/iofgetpos.c: File removed.
12490 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
12491 * sysdeps/wordsize-64/iofsetpos.c: File removed.
12492 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
12493 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
12494 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
12495 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
12496 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
12497 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
12498 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
12499 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
12500 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
12501 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
12502 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
12503
12504 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12505 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
12506 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
12507 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12508 [defined __arch64__ || defined __sparcv9]
12509 (__OFF_T_MATCHES_OFF64_T): New macro.
12510 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12511 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12512 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12513 (__OFF_T_MATCHES_OFF64_T): New macro.
12514
c5757acd
L
125152012-08-06 H.J. Lu <hongjiu.lu@intel.com>
12516
12517 * stdlib/secure-getenv.c (__secure_getenv): Replace
12518 GLIBC_2_16 with GLIBC_2_17.
12519
3a31811e
L
125202012-08-06 H.J. Lu <hongjiu.lu@intel.com>
12521
12522 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
12523 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12524
faa2bccb
DM
125252012-08-03 David S. Miller <davem@davemloft.net>
12526
12527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12528
85fe1997
JM
125292012-08-03 Joseph Myers <joseph@codesourcery.com>
12530
12531 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
12532 Remove.
12533 (__ASSUME_CORRECT_SI_PID): Likewise.
12534 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
12535 (__ASSUME_TMPFS_NAME): Likewise.
12536 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
12537 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
12538 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
12539 (HAVE_AUX_SECURE): Make definition unconditional.
12540 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
12541 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
12542
4f75b7a0
RM
125432012-08-03 Roland McGrath <roland@hack.frob.com>
12544
12545 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
12546 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
12547 * sysdeps/mach/hurd/eloop-threshold.h: New file.
12548 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12549 __eloop_threshold instead of SYMLOOP_MAX.
12550
12551 * sysdeps/generic/eloop-threshold.h: New file.
12552 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
12553 of MAXSYMLINKS.
12554 * elf/chroot_canon.c (chroot_canon): Likewise.
12555
7aab07e4
JM
125562012-08-03 Joseph Myers <joseph@codesourcery.com>
12557
12558 [BZ #13717]
12559 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12560 Change to 2.6.0 everywhere.
12561 * sysdeps/unix/sysv/linux/configure: Regenerated.
12562 * sysdeps/unix/sysv/linux/kernel-features.h
12563 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
12564 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
12565 kernel versions.
12566 (__ASSUME_POSIX_TIMERS): Define unconditionally.
12567 (__ASSUME_FUTEX_REQUEUE): Remove.
12568 (__ASSUME_STATFS64): Define unconditionally.
12569 (__ASSUME_AT_SECURE): Likewise.
12570 (__ASSUME_CORRECT_SI_PID): Likewise.
12571 (__ASSUME_TGKILL): Define without depending on kernel version for
12572 i386.
12573 (__ASSUME_UTIMES): Likewise.
12574 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
12575 kernel version.
12576 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
12577 (__ASSUME_TMPFS_NAME): Likewise.
12578 * README: Update reference to Linux kernel versions.
12579
b67e9372
MP
125802012-08-02 Marek Polacek <polacek@redhat.com>
12581
1f529f7d 12582 [BZ# 14150]
b67e9372
MP
12583 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
12584 libc_cv_asm_type_prefix with %.
12585 * configure: Regenerated.
d2441631
RM
12586 * include/libc-symbols.h: Remove comment about
12587 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
12588 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
12589 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
12590 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
12591 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
12592 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12593 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
12594 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
12595 * elf/tst-unique2mod1.c: Likewise.
12596 * elf/tst-unique1mod2.c: Likewise.
12597 * elf/tst-unique1mod1.c: Likewise.
12598 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
12599 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
12600 Replace ASM_TYPE_DIRECTIVE with .type.
12601 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12602 * sysdeps/i386/sysdep.h: Likewise.
12603 * sysdeps/x86_64/sysdep.h: Likewise.
12604 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
12605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12606 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 12607 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
12608 * sysdeps/powerpc/powerpc32/sysdep.h:
12609 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
12610 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12611 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12612 * sysdeps/i386/fpu/e_powf.S: Likewise.
12613 * sysdeps/i386/fpu/e_expl.S: Likewise.
12614 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12615 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12616 * sysdeps/i386/fpu/e_pow.S: Likewise.
12617 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12618 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12619 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12620 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12621 * sysdeps/i386/fpu/e_log2.S: Likewise.
12622 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12623 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12624 * sysdeps/i386/fpu/e_powl.S: Likewise.
12625 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12626 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12627 * sysdeps/i386/fpu/e_logl.S: Likewise.
12628 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12629 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12630 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12631 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12632 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12633 * sysdeps/i386/fpu/e_log.S: Likewise.
12634 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12635 * sysdeps/i386/fpu/e_logf.S: Likewise.
12636 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12637 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12638 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12639 * sysdeps/i386/fpu/e_log10.S: Likewise.
12640 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12641 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12642 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12643 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12644 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12645 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
12646 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12647 * sysdeps/i386/i686/strtok.S: Likewise.
12648 * sysdeps/i386/i386-mcount.S: Likewise.
12649 * sysdeps/i386/strtok.S: Likewise.
12650 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
12651 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12652 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12653 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12654 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12655 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12656 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12657 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12658 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12659 * sysdeps/x86_64/_mcount.S: Likewise.
12660 * sysdeps/x86_64/strtok.S: Likewise.
12661 * sysdeps/sh/_mcount.S: Likewise.
12662
2747bf9a
RM
126632012-08-01 Roland McGrath <roland@hack.frob.com>
12664
12665 * libio/iofopen.c: Include <fcntl.h>.
12666 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
12667 (_IO_fopen64, fopen64): Define as aliases.
12668 * libio/iofopen64.c: Include <fcntl.h>.
12669 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
12670 Conditionalize body on this.
12671 * sysdeps/wordsize-64/iofopen.c: File removed.
12672 * sysdeps/wordsize-64/iofopen64.c: File removed.
12673
3fb791b8
MP
126742012-08-01 Marek Polacek <polacek@redhat.com>
12675
12676 * libc/Makeconfig: Use elf in place of binfmt-subdir.
12677 Use dlfcn directly instead of a variable.
12678 (binfmt-subdir): Do not define.
12679 (dlfcn): Likewise.
12680
a9f1039f
JM
126812012-08-01 Joseph Myers <joseph@codesourcery.com>
12682
23bddc06
JM
12683 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
12684 Remove all definitions.
12685 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
12686 <kernel-features.h>.
12687 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12688 (miss_F_GETOWN_EX): Remove all definitions.
12689 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
12690 macro definition.
12691 [!__ASSUME_FCNTL64]: Remove conditional code.
12692 [__ASSUME_FCNTL64]: Make code unconditional.
12693 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
12694 <kernel-features.h>.
12695 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12696 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
12697 (lockf64) [__NR_fcntl64]: Make code unconditional.
12698 (lockf64) [__ASSUME_FCNTL64]: Likewise.
12699
a9f1039f
JM
12700 * sysdeps/unix/sysv/linux/kernel-features.h
12701 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
12702 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
12703 Make code unconditional.
12704 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12705 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
12707 [__NR_vfork]: Make code unconditional.
12708 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12709 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
12711 [__NR_vfork]: Make code unconditional.
12712 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12713 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12714
09c0ee5f
RM
127152012-08-01 Roland McGrath <roland@hack.frob.com>
12716
48aec5b9
RM
12717 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
12718 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
12719
cd97c966
RM
12720 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12721 Define mkstemp64 as an alias.
3f55550c
RM
12722 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12723 Define mkstemps64 as an alias.
cd97c966
RM
12724 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12725 Define mkostemp64 as an alias.
b8625cfc
RM
12726 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12727 Define mkostemps64 as an alias.
cd97c966
RM
12728 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
12729 Conditionalize body on this.
12730 * misc/mkostemp64.c: Likewise.
b8625cfc 12731 * misc/mkostemps64.c: Likewise.
3f55550c 12732 * misc/mkstemps64.c: Likewise.
cd97c966
RM
12733 * sysdeps/wordsize-64/mkstemp64.c: File removed.
12734 * sysdeps/wordsize-64/mkostemp64.c: File removed.
12735 * sysdeps/wordsize-64/mkostemp.c: File removed.
12736 * sysdeps/wordsize-64/mkstemp.c: File removed.
12737 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
12738 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
12739 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
12740 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
12741
09c0ee5f
RM
12742 [BZ #14138]
12743 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
12744 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
12745 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
12746 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
12747
12748 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
12749 compat_symbol macros from <shlib-compat.h> rather than the underlying
12750 default_symbol_version and symbol_version macros, so that DEFAULT
12751 lines in shlib-versions are respected.
12752 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
12753
7e66ee51
FW
127542012-08-01 Florian Weimer <fweimer@redhat.com>
12755
12756 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
12757 Declare with warn_unused_result.
12758 (setgid, setregid, setegid, setresgid): Likewise.
12759 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
12760 Likewise.
12761 * WUR-REPORT: Remove set*id functions.
12762
d2a54255
PT
127632012-07-31 Pino Toscano <toscano.pino@tiscali.it>
12764
12765 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
12766
7ecdb005
RM
127672012-07-31 Roland McGrath <roland@hack.frob.com>
12768
b4180a5e 12769 [BZ #10191]
789bd351
RM
12770 * include/sys/socket.h (__libc_accept, __libc_accept4):
12771 Add attribute_hidden.
12772 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
12773
40ce302d
RM
12774 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
12775 use of PTR_MANGLE.
12776 * inet/getnetgrent_r.c (setup): Likewise.
12777
7ecdb005
RM
12778 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
12779
e2eabb2c
DM
127802012-07-31 David S. Miller <davem@davemloft.net>
12781
12782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12783
d0419dbf
JM
127842012-07-31 Joseph Myers <joseph@codesourcery.com>
12785
12786 [BZ #13629]
12787 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
12788 value between 1.0 and 2.0 and smaller part has absolute value less
12789 than 1.0.
12790 * math/s_clog10.c (__clog10): Likewise.
12791 * math/s_clog10f.c (__clog10f): Likewise.
12792 * math/s_clog10l.c (__clog10l): Likewise.
12793 * math/s_clogf.c (__clogf): Likewise.
12794 * math/s_clogl.c (__clogl): Likewise.
12795 * math/libm-test.inc (clog_test): Add more tests.
12796 (clog10_test): Likewise.
12797 * sysdeps/i386/fpu/libm-test-ulps: Update.
12798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12799
2bc13872
FW
128002012-07-31 Florian Weimer <fweimer@redhat.com>
12801
12802 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
12803 Exit with zero in case no suitable GID is found, and write a
12804 message to standard error.
12805
bea9b193
RM
128062012-07-30 Roland McGrath <roland@hack.frob.com>
12807
12808 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
12809 rather than to 1.
12810 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
12811 (MAXPATHLEN): Removed.
12812 (NOGROUP, NODEV): New macros.
12813 (setbit, clrbit, isset, isclr): New macros.
12814 (howmany, roundup, powerof2): New macros.
12815 (DEV_BSIZE): New macro.
12816
12817 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
12818 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
12819
12820 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
12821 definition on [!__NO_LONG_DOUBLE_MATH].
12822
12823 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
12824 PTR_MANGLE and PTR_DEMANGLE.
12825
12826 * socket/accept4.c (accept4): Rename to __libc_accept4.
12827 Define accept4 as a weak alias.
12828
12829 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
12830 on [_DIRENT_HAVE_D_TYPE].
12831 * io/ftw.c (ftw_dir): Likewise.
12832
12833 * io/xmknod.c (__xmknod): Don't check PATH for being null.
12834
12835 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
12836
12837 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
12838 Use the BSD numbers rather than the arbitrary ones we had.
12839 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
12840 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
12841 (SIGXCPU, SIGXFSZ): New macros.
12842 (_NSIG): Now 32.
12843
12844 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
12845 initializer on [_LIBC_REENTRANT].
12846
12847 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
12848 definitions inside [_POSIX_MAPPED_FILES].
12849
12850 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
12851
12852 * dirent/opendir.c: Include <fcntl.h>.
12853
12854 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
12855 (__libc_getspecific): Likewise.
12856 (__libc_key_create): Likewise.
12857
12858 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
12859 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
12860 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
12861 (tmpfile64): Define as alias.
12862 * sysdeps/wordsize-64/tmpfile.c: File removed.
12863 * sysdeps/wordsize-64/tmpfile64.c: File removed.
12864 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
12865 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
12866
12867 * stdio-common/vfscanf.c: Include <stdbool.h>.
12868 * nss/makedb.c: Likewise.
12869 * stdio-common/_i18n_number.h: Likewise.
12870 * argp/argp-help.c: Likewise.
12871 * posix/wordexp.c: Likewise.
12872 * sysdeps/posix/spawni.c: Likewise.
12873 * nss/nss_files/files-initgroups.c: Likewise.
12874 * stdio-common/reg-modifier.c: Include <stdlib.h>.
12875 * nss/nss_files/files-initgroups.c: Likewise.
12876 * nss/nss_db/db-netgrp.c: Likewise.
12877 * nss/nss_db/db-initgroups.c: Likewise.
12878 * io/fchmodat.c: Include <sys/stat.h>.
12879
12880 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
12881 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
12882
12883 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
12884 [HAVE_MMAP].
12885
12886 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
12887 Add multiple inclusion protection.
12888
e5abc686
DM
128892012-07-27 David S. Miller <davem@davemloft.net>
12890
12891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12892
815e6fa3
GB
128932012-07-27 Gary Benson <gbenson@redhat.com>
12894
12895 [BZ #14298]
12896 * elf/rtld.c: Include <stap-probe.h>.
12897 (dl_main): Added static probes "init_start" and "init_complete".
12898 * elf/dl-load.c: Include <stap-probe.h>.
12899 (lose): Take new parameter "nsid".
12900 Added static probe "map_failed".
12901 (_dl_map_object_from_fd): Pass namespace id to lose.
12902 Added static probe "map_start".
12903 (open_verify): Pass namespace id to lose.
12904 * elf/dl-open.c: Include <stap-probe.h>.
12905 (dl_open_worker) Added static probes "map_complete", "reloc_start"
12906 and "reloc_complete".
12907 * elf/dl-close.c: Include <stap-probe.h>.
12908 (_dl_close_worker): Added static probes "unmap_start" and
12909 "unmap_complete".
12910 * elf/rtld-debugger-interface.txt: New file documenting the above.
12911
9f98c16c
RM
129122012-07-26 Roland McGrath <roland@hack.frob.com>
12913
12914 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
12915 rather than a string variable.
12916 * sunrpc/rpc_main.c (h_output): Likewise.
12917 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
12918
f3c22df3
PT
129192012-07-26 Pino Toscano <toscano.pino@tiscali.it>
12920
12921 * inet/check_native.c: New file.
12922
3129cfc6
JM
129232012-07-26 Joseph Myers <joseph@codesourcery.com>
12924
da865e95
JM
12925 [BZ #13629]
12926 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
12927 if larger part has absolute value 1.0.
12928 * math/s_clog10.c (__clog10): Likewise.
12929 * math/s_clog10f.c (__clog10f): Likewise.
12930 * math/s_clog10l.c (__clog10l): Likewise.
12931 * math/s_clogf.c (__clogf): Likewise.
12932 * math/s_clogl.c (__clogl): Likewise.
12933 * math/libm-test.inc (clog_test): Add more tests.
12934 (clog10_test): Likewise.
12935 * sysdeps/i386/fpu/libm-test-ulps: Update.
12936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12937
3129cfc6
JM
12938 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
12939 (pltexit): Likewise.
12940 (La_regs): Likewise.
12941 (La_retval): Likewise.
12942 (int_retval): Likewise.
12943 Update #error for removed macros to refer only to definitions in
12944 tst-audit.h.
12945 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
12946 macro.
12947 (pltexit): Likewise.
12948 (La_regs): Likewise.
12949 (La_retval): Likewise.
12950 (int_retval): Likewise.
12951 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
12952 macro.
12953 (pltexit): Likewise.
12954 (La_regs): Likewise.
12955 (La_retval): Likewise.
12956 (int_retval): Likewise.
12957 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
12958 macro.
12959 (pltexit): Likewise.
12960 (La_regs): Likewise.
12961 (La_retval): Likewise.
12962 (int_retval): Likewise.
12963 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
12964 macro.
12965 (pltexit): Likewise.
12966 (La_regs): Likewise.
12967 (La_retval): Likewise.
12968 (int_retval): Likewise.
12969 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
12970 macro.
12971 (pltexit): Likewise.
12972 (La_regs): Likewise.
12973 (La_retval): Likewise.
12974 (int_retval): Likewise.
12975 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
12976 macro.
12977 (pltexit): Likewise.
12978 (La_regs): Likewise.
12979 (La_retval): Likewise.
12980 (int_retval): Likewise.
12981 * sysdeps/generic/tst-audit.h: Update comment to refer only to
12982 macro definitions in tst-audit.h.
12983 * sysdeps/i386/tst-audit.h: New file.
12984 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
12985 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
12986 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
12987 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
12988 * sysdeps/sh/tst-audit.h: Likewise.
12989 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
12990 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
12991 * sysdeps/x86_64/tst-audit.h: Likewise.
12992
bfc07087
AJ
129932012-07-26 Andreas Jaeger <aj@suse.de>
12994
b1b2aaf8
AJ
12995 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
12996 ptrace.
12997
12998 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
12999 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
13000 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
13001 PTRACE_O_MASK.
13002 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
13003 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
13004 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
13005
bfc07087
AJ
13006 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
13007 value.
13008
13009 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
13010 _sigsys.
13011 (si_call_addr, si_syscall, si_arch): Define new macro.
13012 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
13013 _sigsys.
13014 (si_call_addr, si_syscall, si_arch): Define new marcro.
13015 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
13016 _sigsys.
13017 (si_call_addr, si_syscall, si_arch): Define new macro.
13018 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
13019 _sigsys.
13020 (si_call_addr, si_syscall, si_arch): Define new macro.
13021
89b4b02f
JM
130222012-07-25 Joseph Myers <joseph@codesourcery.com>
13023
13024 [BZ #13717]
13025 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13026 Change to 2.4.21 where previously 2.4.1.
13027 * sysdeps/unix/sysv/linux/configure: Regenerated.
13028 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
13029 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
13030 Linux kernel version.
13031 (__ASSUME_STD_AUXV): Remove.
13032 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
13033 kernel version.
13034 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
13035 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
13036 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
13037 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
13038 (__ASSUME_NETLINK_SUPPORT): Likewise.
13039 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
13040 (__no_netlink_support): Remove conditional definition.
13041 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
13042 Remove.
13043 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13044 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
13045 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
13046 (if_nameindex_ioctl): Remove.
13047 (if_nameindex_netlink): Do not handle __no_netlink_support.
13048 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13049 code.
13050 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
13051 Remove conditional code.
13052 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13053 code.
13054 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
13055 unconditional.
13056 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13057 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
13058 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
13059 Remove.
13060 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
13061 [!__ASSUME_STD_AUXV]: Remove conditional code.
13062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
13063 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
13064 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
13065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
13066 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
13067 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13068 code.
13069 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13071 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
13072 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13073 conditional code.
13074 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13076 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13077 code.
13078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13079 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13080 conditional code.
13081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
13082 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13083 code unconditional.
13084 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13085 conditional code.
13086 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13087 unconditional.
13088 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13089 conditional code.
13090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13091 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13092 unconditional.
13093 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13094 conditional code.
13095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13096 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13097 code unconditional.
13098 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13099 conditional code.
13100 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13101 unconditional.
13102 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13103 conditional code.
13104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13105 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13106 code unconditional.
13107 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13108 conditional code.
13109 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13110 unconditional.
13111 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13112 conditional code.
13113
842a39cd
AS
131142012-07-25 Andreas Schwab <schwab@linux-m68k.org>
13115
13116 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
13117 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
13118 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13119 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
13120 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
13121 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13122 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13123 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13124 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
13125 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13126 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
13127 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
13128 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
13129 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13130 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13131 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
13132 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
13133 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
13134 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
13135 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
13136 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
13137 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13138 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13139
84b3fd84
FW
131402012-07-25 Florian Weimer <fweimer@redhat.com>
13141
13142 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
13143 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
13144 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
13145 Introduce __libc_secure_getenv.
0c7936d5
FW
13146 * stdlib/Versions (2.17): Add secure_getenv
13147 (GLIBC_PRIVATE): Add __libc_secure_getenv.
13148 * stdlib/secure-getenv.c: Rename __secure_getenv to
13149 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
13150 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
13151 * stdlib/tst-secure-getenv.c: New.
13152 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
13153 * manual/startup.texi (Environment Access): Document
13154 secure_getenv.
84b3fd84
FW
13155 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
13156 __libc_secure_getenv.
13157 * inet/ruserpass.c (ruserpass): Likewise.
13158 * malloc/mtrace.c (mtrace): Likewise.
13159 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 13160 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
13161 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
13162 * sysdeps/posix/tempname.c: Likewise. Evaluate
13163 HAVE_SECURE_GETENV.
13164 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 13165 __secure_getenv to __libc_secure_getenv.
84b3fd84 13166 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
13167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13168 Likewise.
13169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13170 Likewise.
13171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13173 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13177 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 13178
56e49b71
JM
131792012-07-25 Joseph Myers <joseph@codesourcery.com>
13180
13181 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
13182 (struct La_i86_retval): Likewise.
13183 (struct La_x86_64_regs): Likewise.
13184 (struct La_x86_64_retval): Likewise.
13185 (struct La_x32_regs): Likewise.
13186 (struct La_x32_retval): Likewise.
13187 (struct La_ppc32_regs): Likewise.
13188 (struct La_ppc32_retval): Likewise.
13189 (struct La_ppc64_regs): Likewise.
13190 (struct La_ppc64_retval): Likewise.
13191 (struct La_sh_regs): Likewise.
13192 (struct La_sh_retval): Likewise.
13193 (struct La_s390_32_regs): Likewise.
13194 (struct La_s390_32_retval): Likewise.
13195 (struct La_s390_64_regs): Likewise.
13196 (struct La_s390_64_retval): Likewise.
13197 (struct La_sparc32_regs): Likewise.
13198 (struct La_sparc32_retval): Likewise.
13199 (struct La_sparc64_regs): Likewise.
13200 (struct La_sparc64_retval): Likewise.
13201 (struct audit_ifaces): Remove architecture-specific pltenter and
13202 pltexit members.
13203 * sysdeps/i386/ldsodefs.h: New file.
13204 * sysdeps/powerpc/ldsodefs.h: Likewise.
13205 * sysdeps/s390/ldsodefs.h: Likewise.
13206 * sysdeps/sh/ldsodefs.h: Likewise.
13207 * sysdeps/sparc/ldsodefs.h: Likewise.
13208 * sysdeps/x86_64/ldsodefs.h: Likewise.
13209
354691b7
MP
132102012-07-25 Marek Polacek <polacek@redhat.com>
13211
13212 [BZ #6808]
13213 * math/libm-test.inc (yn_test): Add another test.
13214 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
13215 to ERANGE when the result is +-Inf.
13216 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13217 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
13218 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
13219 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
13220
bf9e2071
JM
132212012-07-24 Joseph Myers <joseph@codesourcery.com>
13222
13223 * conform/data/time.h-data (NULL): Use macro-constant. Require
13224 equal to 0.
13225 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
13226 clock_t.
13227 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
13228
57633811
TS
132292012-07-23 Thomas Schwinge <thomas@codesourcery.com>
13230
13231 * configure.in <sysdeps resolving>: Correct printing
13232 Implies_before.
13233 * configure: Regenerate.
13234
c23c33b0
TS
132352012-07-22 Thomas Schwinge <thomas@codesourcery.com>
13236
13237 * math/w_ilogb.c: Include <limits.h>.
13238 * math/w_ilogbl.c: Likewise.
13239
b5982523
JM
132402012-07-20 Joseph Myers <joseph@codesourcery.com>
13241
13242 * manual/lang.texi (__va_copy): Document primarily as ISO C99
13243 va_copy. Document allowing for unavailable va_copy only as
13244 pre-C99 compatibility.
13245 * manual/string.texi (Copying and Concatenation): Use va_copy
13246 instead of __va_copy in concat example.
13247
ac4ea442
PT
132482012-07-20 Pino Toscano <toscano.pino@tiscali.it>
13249
13250 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
13251 (__sendto): Use create_address_port. Initialize APORT and deallocate
13252 it if not null.
13253
f98eafbd
PT
13254 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
13255 with O_NOLINK passed to __file_name_lookup.
13256
898c7aab
PT
13257 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
13258 with O_NOLINK passed to __file_name_lookup.
13259
0ced335a
PT
13260 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
13261 negative N or less than NGIDS.
13262
b3404dbd
PT
13263 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
13264 type to string_t. Set ERANGE as errno and return it if NAME is not big
13265 enough. Use memcpy instead of strncpy.
13266
0f48659e
JM
132672012-07-20 Joseph Myers <joseph@codesourcery.com>
13268
13269 * elf/Makefile (check-data): Remove.
13270 (localplt.data): New vpath directive.
13271 ($(objpfx)check-localplt.out): Use localplt.data from vpath
13272 instead of $(check-data).
13273 * scripts/data/localplt-generic.data: Move to ...
13274 * sysdeps/generic/localplt.data: ... here.
13275 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
13276 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
13277 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
13278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13279 ... here.
13280 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
13281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13282 ... here.
13283 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
13284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
13285 ... here.
13286 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
13287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13288 ... here.
13289 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
13290 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
13291 ... here.
13292 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
13293 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
13294 ... here.
13295
d37cbdaa
AZ
132962012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13297
13298 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
13299 PPC32 and PPC64 files.
13300 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
13301 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
13302
46f85fc2
AK
133032012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13304
13305 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
13306 __makecontext_ret to ...
13307 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
13308 ... here and call exit if uc_link is NULL. New file.
13309 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
13310 __makecontext_ret.S.
13311 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
13312 __makecontext_ret to ...
13313 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
13314 ... here and call exit if uc_link is NULL. New file.
13315 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
13316 __makecontext_ret.S.
13317
08f43f9b
AK
133182012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13319
13320 * elf/elf.h (R_390_IRELATIVE): New definition.
13321 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
13322 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
13323 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
13324 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13325 (elf_machine_lazy_rel): Likewise.
13326 * sysdeps/s390/dl-irel.h: New file.
13327 * sysdeps/s390/s390-64/memcpy.S: New asm code.
13328 * sysdeps/s390/s390-64/memset.S: New asm code.
13329 * sysdeps/s390/s390-64/memcmp.S: New asm code.
13330 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
13331 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
13332 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
13333 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
13334 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
13335 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
13336 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
13337 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
13338 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
13339 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
13340 * sysdeps/s390/s390-32/memcpy.S: New asm code.
13341 * sysdeps/s390/s390-32/memset.S: New asm code.
13342 * sysdeps/s390/s390-32/memcmp.S: New asm code.
13343
3b05db33
MP
133442012-07-17 Marek Polacek <polacek@redhat.com>
13345
13346 [BZ #14349]
13347 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
13348 * sysdeps/s390/s390-64/configure.in: Likewise.
13349 * sysdeps/sparc/configure.in: Likewise.
13350 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
13351 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
13352 * sysdeps/i386/configure.in: Likewise.
13353 * sysdeps/x86_64/configure.in: Likewise.
13354 * sysdeps/sh/configure.in: Likewise.
13355 * sysdeps/s390/s390-32/configure: Regenerated.
13356 * sysdeps/s390/s390-64/configure: Likewise.
13357 * sysdeps/x86_64/configure: Likewise.
13358 * sysdeps/sh/configure: Likewise.
13359 * sysdeps/powerpc/powerpc64/configure: Likewise.
13360 * sysdeps/powerpc/powerpc32/configure: Likewise.
13361 * sysdeps/sparc/configure: Likwise.
13362 * sysdeps/i386/configure: Likewise.
13363
a66877c6
MP
13364 * elf/dl-open.c: Comment fixes.
13365
cfc82fd8
JM
133662012-07-17 Joseph Myers <joseph@codesourcery.com>
13367
bd29910a
JM
13368 * Makefile [CXX] (check-data): Remove.
13369 [CXX] (c++-types.data): New vpath directive.
13370 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
13371 vpath. Do not allow for C++ type data being missing.
13372 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
13373 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
13374 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
13375 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
13376 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
13377 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
13378 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
13379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13380 ... here.
13381 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
13382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13383 ... here.
13384 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
13385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
13386 ... here.
13387 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
13388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
13389 ... here.
13390 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
13391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
13392 ... here.
13393 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
13394 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
13395 ... here.
13396 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
13397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
13398 ... here.
13399 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
13400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
13401
cfc82fd8
JM
13402 * elf/tls-macros.h (TLS_LE): Move architecture-specific
13403 definitions to architecture-specific files.
13404 (TLS_IE): Likewise.
13405 (TLS_LD): Likewise.
13406 (TLS_GD): Likewise.
13407 * sysdeps/i386/tls-macros.h: New file.
13408 * sysdeps/powerpc/tls-macros.h: Likewise.
13409 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
13410 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
13411 * sysdeps/sh/tls-macros.h: Likewise.
13412 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
13413 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
13414 * sysdeps/x86_64/tls-macros.h: Likewise.
13415
f7db3170
TS
134162012-07-17 Thomas Schwinge <thomas@codesourcery.com>
13417
07cbfc23
TS
13418 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
13419 zero value for regular exit case.
13420
f7db3170
TS
13421 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13422 (__start_context): Preserve zero value for regular exit case.
13423
dc97c227
TS
134242012-07-17 Thomas Schwinge <thomas@codesourcery.com>
13425 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13426
13427 * manual/setjmp.texi (setcontext): Clarify normal process
13428 termination when uc_link is the null pointer.
13429 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
13430 exit call.
13431
d0cd7d02
AS
134322012-07-16 Andreas Schwab <schwab@linux-m68k.org>
13433
13434 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
13435 preprocessor. Test for each exception mask separately.
13436
dd318934
AJ
134372012-07-16 Andreas Jaeger <aj@suse.de>
13438
13439 * po/ru.po: Update from translation team.
13440
8048311a
JM
134412012-07-15 Joseph Myers <joseph@codesourcery.com>
13442
13443 * conform/data/string.h-data (NULL): Use macro-constant. Require
13444 equal to 0.
13445 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13446 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13447 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
13448 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
13449 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13450
b637d46e
AJ
134512012-07-13 Andreas Jaeger <aj@suse.de>
13452
13453 * po/fr.po: Update from translation team.
13454
541428fe
MP
134552012-07-12 Marek Polacek <polacek@redhat.com>
13456
13457 [BZ #14173]
13458 * math/libm-test.inc (yn_test): Add test for BZ #14173.
13459 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
13460 loop condition.
13461
ec332e94
JM
134622012-07-12 Joseph Myers <joseph@codesourcery.com>
13463
13464 [BZ #13717]
13465 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13466 Change to 2.4.1 where previously 2.4.0.
13467 * sysdeps/unix/sysv/linux/configure: Regenerated.
13468 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
13469 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
13470 version.
13471 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
13472 (__ASSUME_AT_CLKTCK): Remove.
13473 (__ASSUME_AT_PAGESIZE): Likewise.
13474 (__ASSUME_AT_XID): Likewise.
13475 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
13476 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
13477 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
13478 unconditionally.
13479 (HAVE_AUX_PAGESIZE): Likewise.
13480 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
13481 [__ASSUME_AT_CLKTCK]: Make code unconditional.
13482 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
13483
7b6e99be
JB
134842012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
13485
13486 [BZ #14307]
13487 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
13488 the temporary buffer used to invoke __gethostbyname2_r,
13489 __gethostbyaddr_r and gethostbyname4_r to make room for struct
13490 host_data / struct gaih_addrtuple.
13491 * resolv/nss_dns/dns-host.c (global scope): Move definition of
13492 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
13493 header file nss/nsswitch.h.
13494 * nss/nsswitch.h (global scope): Add definition of implementation
13495 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
13496 resolv/nss_dns/dns-host.c).
13497
608404eb
AJ
134982012-07-11 Andreas Jaeger <aj@suse.de>
13499
13500 * po/fr.po: Update from translation team.
13501
71220aca
AJ
13502 * po/sv.po: Update from translation team
13503 * po/fr.po: Another update from translation team.
13504
28cfe843
AZ
135052012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13506
13507 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
13508 for subnormals or multiply small sinh result by itself.
13509 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13511
6b90f981
DM
135122012-07-11 David S. Miller <davem@davemloft.net>
13513
13514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13515
c6825772
AS
135162012-07-10 Andreas Schwab <schwab@linux-m68k.org>
13517
13518 [BZ #14347]
13519 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
13520 (INTERNAL_MARK): Shift it here.
13521
7b8e0d49
MP
135222012-07-10 Marek Polacek <polacek@redhat.com>
13523
13524 [BZ #14151]
13525 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
13526 libc_cv_asm_global_directive with .globl.
13527 * configure: Regenerated.
13528 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
13529 with .globl.
13530 * sysdeps/i386/configure: Regenerated.
13531 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
13532 with .globl.
13533 * sysdeps/x86_64/configure: Regenerated.
13534 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
13535 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
13536 * elf/tst-unique2mod2.c: Likewise.
13537 * elf/tst-unique2mod1.c: Likewise.
13538 * elf/tst-unique1mod2.c: Likewise.
13539 * elf/tst-unique1mod1.c: Likewise.
13540 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13541 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13542 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13543 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13544 * sysdeps/mach/sysdep.h: Likewise.
13545 * sysdeps/i386/sysdep.h: Likewise.
13546 * sysdeps/i386/i386-mcount.S: Likewise.
13547 * sysdeps/x86_64/_mcount.S: Likewise.
13548 * sysdeps/x86_64/sysdep.h: Likewise.
13549 * sysdeps/sh/_mcount.S: Likewise.
13550 * sysdeps/sh/sysdep.h: Likewise.
13551 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
13552 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
13553 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
13554 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13555 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
13556 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
13557 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
13558 * locale/localeinfo.h: Likewise.
13559 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
13560 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
13561
6c55cda3
RM
135622012-07-09 Roland McGrath <roland@hack.frob.com>
13563
13564 [BZ #14336]
13565 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
13566 system".
13567 * manual/message.texi (The Uniforum approach): Likewise.
13568 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
13569 (glibc iconv Implementation): Likewise.
13570
638a572e
JM
135712012-07-09 Joseph Myers <joseph@codesourcery.com>
13572
13573 [BZ #14337]
13574 * math/s_clog.c (__clog): Avoid scaling a value down where that
13575 could result in underflow.
13576 * math/s_clog10.c (__clog10): Likewise.
13577 * math/s_clog10f.c (__clog10f): Likewise.
13578 * math/s_clog10l.c (__clog10l): Likewise.
13579 * math/s_clogf.c (__clogf): Likewise.
13580 * math/s_clogl.c (__clogl): Likewise.
13581 * math/libm-test.inc (clog_test): Add more tests.
13582 (clog10_test): Likewise.
13583 * sysdeps/i386/fpu/libm-test-ulps: Update.
13584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13585
261f4859
AS
135862012-07-06 Andreas Schwab <schwab@linux-m68k.org>
13587
0abaf3e4
AS
13588 [BZ #14283]
13589 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
13590 by 7 not 8 to examine high bit of fractional part.
13591
261f4859
AS
13592 [BZ #14042]
13593 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
13594 for call to __mcount_internal.
13595 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
13596 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
13597 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
13598
f17ac40d
JM
135992012-07-06 Joseph Myers <joseph@codesourcery.com>
13600
9ad63c23
JM
13601 [BZ #14154]
13602 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
13603 approximation for values within 0x1p-13f of an odd multiple of
13604 pi/4.
13605 * math/libm-test.inc (tan_test): Do not allow spurious underflow
13606 exception. Add more tests.
13607 * sysdeps/i386/fpu/libm-test-ulps: Update.
13608
f17ac40d
JM
13609 [BZ #6778]
13610 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
13611 inputs and return -1 for them. Do not check for +Inf in case not
13612 reachable for +Inf.
13613 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13614 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
13615 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13616 and return -1 for them. Do not check for +Inf in case not
13617 reachable for +Inf.
13618 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
13619 define.
13620 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13621 and return -1 for them. Do not check for +Inf in case not
13622 reachable for +Inf.
13623 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
13624 spurious underflow.
13625 * sysdeps/i386/fpu/libm-test-ulps: Update.
13626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13627
fb21f89b
MF
136282012-07-06 Mike Frysinger <vapier@gentoo.org>
13629
13630 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
13631
cdfe2c5e
JM
136322012-07-05 Joseph Myers <joseph@codesourcery.com>
13633
13634 [BZ #14157]
13635 [BZ #14331]
13636 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
13637 could result in spurious underflow. Scale down values above
13638 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
13639 * math/s_csqrtf.c (__csqrtf): Likewise.
13640 * math/s_csqrtl.c (__csqrtl): Likewise.
13641 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
13642 spurious underflow.
13643 * sysdeps/i386/fpu/libm-test-ulps: Update.
13644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13645
70d35b67
AS
136462012-07-04 Andreas Schwab <schwab@linux-m68k.org>
13647
704bc459
AS
13648 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
13649 xopen-msg.sed.
13650 * catgets/xopen-msg.awk: New file.
13651 * catgets/xopen-msg.sed: Removed.
13652
70d35b67
AS
13653 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
13654 po2text.sed.
13655 * intl/po2test.awk: New file.
13656 * intl/po2test.sed: Removed.
13657
ca61cf32
JM
136582012-07-04 Joseph Myers <joseph@codesourcery.com>
13659
13660 [BZ #14328]
13661 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
13662 or multiply small sinh result by itself.
13663 * math/s_ctanf.c (__ctanf): Likewise.
13664 * math/s_ctanh.c (__ctanh): Likewise.
13665 * math/s_ctanhf.c (__ctanhf): Likewise.
13666 * math/s_ctanhl.c (__ctanhl): Likewise.
13667 * math/s_ctanl.c (__ctanl): Likewise.
13668 * math/libm-test.inc (ctan_test_tonearest): New function.
13669 (ctan_test_towardzero): Likewise.
13670 (ctan_test_downward): Likewise.
13671 (ctan_test_upward): Likewise.
13672 (ctanh_test_tonearest): Likewise.
13673 (ctanh_test_towardzero): Likewise.
13674 (ctanh_test_downward): Likewise.
13675 (ctanh_test_upward): Likewise.
13676 (main): Call these new functions.
13677 * sysdeps/i386/fpu/libm-test-ulps: Update.
13678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13679
ca48a46a
MF
136802012-07-03 Mike Frysinger <vapier@gentoo.org>
13681
13682 * .gitignore: Delete /ports entry.
13683
9d63d37d
AJ
136842012-07-03 Andreas Jaeger <aj@suse.de>
13685
13686 * po/bg.po: Update from translation team.
13687 * po/cs.po: Likewise.
13688 * po/de.po: Likewise.
13689 * po/hr.po: Likewise.
13690 * po/nl.pl: Likewise.
13691 * po/pl.po: Likewise.
13692 * po/vi.po: Likewise.
13693
370ca3d2
JM
136942012-07-03 Joseph Myers <joseph@codesourcery.com>
13695
95f5a9a8
JM
13696 * Makeconfig [!+link] (+link-before-libc): New variable.
13697 [!+link] (+link-after-libc): Likewise.
13698 [!+link] (+link-tests): Likewise.
13699 [!+link] (+link): Define in terms of $(+link-before-libc) and
13700 $(+link-after-libc).
13701 [!+link-static] (+link-static-before-libc): New variable.
13702 [!+link-static] (+link-static-after-libc): Likewise.
13703 [!+link-static] (+link-static-tests): Likewise.
13704 [!+link-static] (+link-static): Define in terms of
13705 $(+link-static-before-libc) and $(+link-static-after-libc).
13706 [build-shared] (link-libc-before-gnulib): New variable.
13707 [build-shared] (link-libc-tests): Likewise.
13708 [build-shared] (link-libc): Define in terms of
13709 $(link-libc-before-gnulib).
13710 [!build-shared] (link-libc-tests): New variable.
13711 (link-libc-static-tests): New variable.
13712 [!gnulib] (gnulib-arch): New variable.
13713 [!gnulib] (gnulib-tests): Likewise.
13714 [!gnulib] (static-gnulib-arch): Likewise.
13715 [!gnulib] (static-gnulib-tests): Likewise.
13716 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
13717 Define with "=" instead of ":=".
13718 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
13719 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
13720 * Rules (binaries-all-notests): New variable.
13721 (binaries-all-tests): Likewise.
13722 (binaries-static-notests): Likewise.
13723 (binaries-static-tests): Likewise.
13724 (binaries-all): Define using $(binaries-all-notests) and
13725 $(binaries-all-tests).
13726 (binaries-static): Define using $(binaries-static-notests) and
13727 $(binaries-static-tests).
13728 (binaries-shared-tests): New variable.
13729 (binaries-shared-notests): Likewise.
13730 (binaries-shared): Remove variable.
13731 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
13732 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
13733 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
13734 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
13735 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
13736 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
13737 * elf/Makefile (sln-modules): New variable.
13738 (extra-objs): Add $(sln-modules:=.o).
13739 (ldconfig-modules): Add static-stubs.
13740 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
13741 * elf/static-stubs.c: New file.
13742
7a845b2c
JM
13743 [BZ #14283]
13744 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
13745 by 7 not 8 to examine high bit of fractional part. Use volatile
13746 variables when splitting into final array of floats if
13747 __FLT_EVAL_METHOD__ != 0.
13748 * math/libm-test.inc (cos_test): Add another test.
13749 (sin_test): Likewise.
13750 * sysdeps/i386/fpu/libm-test-ulps: Update.
13751
e2283f38
JM
13752 [BZ #14273]
13753 * math/libm-test.inc (cosh_test): Add more tests.
13754
370ca3d2
JM
13755 * version.h (RELEASE): Set to "development".
13756 (VERSION): Set to "2.16.90".
13757
ee9247c3
CD
137582012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
13759
13760 * NEWS: Update copyright. Remove last-updated date.
13761 Mention math library bug fixes and timezone data changes.
13762 * README: Mention GNU/Hurd, x32, and HPPA support status.
13763
4648c381
TS
137642012-06-28 Thomas Schwinge <thomas@codesourcery.com>
13765
13766 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
13767
aac78a43
AJ
137682012-06-27 Andreas Jaeger <aj@suse.de>
13769
13770 * manual/contrib.texi (Contributors): Add Samuel Thibault.
13771
ed3dbfad
AJ
137722012-06-25 Andreas Jaeger <aj@suse.de>
13773
13774 * sysdeps/s390/fpu/libm-test-ulps: Update.
13775
4d0ee855
AS
137762012-06-23 Andreas Schwab <schwab@linux-m68k.org>
13777 Thomas Schwinge <thomas@codesourcery.com>
13778
13779 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
13780 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
13781 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
13782 fanotify_mark.
13783
af1bce34
TS
137842012-06-23 Thomas Schwinge <thomas@codesourcery.com>
13785
a9fa33ba
TS
13786 * sysdeps/mach/start.c: Remove file.
13787 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
13788 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
13789 * sysdeps/sh/init-first.c: Likewise.
13790
58f902b8
TS
13791 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
13792 registers for frame unwinding purposes, add CFI directives.
13793 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13794 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
13795 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
13796 Likewise.
13797
1518f58b
TS
13798 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
13799 __fortify_fail returning.
13800 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13801
db9b5059
TS
13802 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
13803 sysdeps/sh/____longjmp_chk.S.
13804 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
13805 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
13806 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
13807 (gen-as-const-headers): Append sigaltstack-offsets.sym.
13808
967705fe
TS
13809 * sysdeps/sh/abort-instr.h: New file.
13810 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
13811 process in case exit returns.
13812
a9def8c4
TS
13813 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
13814 initialize the GOT register before use.
13815
2a649725
TS
13816 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
13817 calculation of ARGC > 4.
13818
af1bce34
TS
13819 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
13820 meaningful names to some local labels.
13821
d230f50a
KK
138222012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13823 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13824
13825 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
13826 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
13827 (__arch_compare_and_exchange_val_16_acq): Likewise.
13828 (__arch_compare_and_exchange_val_32_acq): Likewise.
13829 (atomic_exchange_and_add): Fix gUSA sequence.
13830 (atomic_add): Likewise.
13831 (atomic_add_negative): Likewise.
13832 (atomic_add_zero): Likewise.
13833 (atomic_bit_test_set): Likewise.
13834
0479b305
AS
138352012-06-22 Andreas Schwab <schwab@redhat.com>
13836
13837 [BZ #13579]
13838 * include/link.h (struct link_map): Add l_free_initfini.
13839 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
13840 l_initfini.
13841 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
13842 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
13843 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
13844 set.
13845
0e3933b9
CD
138462012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
13847
13848 * configure.in: Use AC_LANG_SOURCE.
13849 * configure: Regenerate.
13850
4248b1b1
RM
138512012-06-22 Roland McGrath <roland@hack.frob.com>
13852
13853 * configure.in (libc_cv_localstatedir): New substituted variable.
13854 * configure: Regenerated.
13855 * config.make.in (localstatedir): New variable, substituted from
13856 libc_cv_localstatedir.
13857 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
13858 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
13859 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
13860 * sysdeps/gnu/configure: Regenerated.
13861
006dd861
JL
138622012-06-21 Jeff Law <law@redhat.com>
13863
13864 [BZ #14277]
13865 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
13866 free. Simplify list management for _LIBC case.
13867
79662d42
JM
138682012-06-21 Joseph Myers <joseph@codesourcery.com>
13869
b7abb4bf
JM
13870 [BZ #14273]
13871 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
13872 Clear sign bit of 64-bit integer value before comparing against
13873 overflow value.
13874
79662d42
JM
13875 * sysdeps/mach/configure: Regenerated.
13876
1f150908
L
138772012-06-21 H.J. Lu <hongjiu.lu@intel.com>
13878
13879 [BZ #14278]
13880 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
13881
28363bbf
JL
138822012-06-21 Jeff Law <law@redhat.com>
13883
13884 [BZ #13882]
13885 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
13886 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 13887 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
13888 * elf/dl-open.c (dl_open_worker): Likewise.
13889
09615db4
CD
138902012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
13891
13892 * scripts/list-sources.sh: Scan PORTS for translations.
13893 * po/libc.pot: Regenerated.
13894
2174c6dd
AJ
138952012-06-21 Andreas Jaeger <aj@suse.de>
13896
13897 [BZ #12194]
13898 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
13899 warning.
13900 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
13901 * bits/byteswap-16.h (__bswap_16): Likewise.
13902 * bits/byteswap.h (__bswap_constant_16): Likewise.
13903
3ee947b1
L
139042012-06-18 H.J. Lu <hongjiu.lu@intel.com>
13905
13906 [BZ #14117]
a2f34833
L
13907 * sysdeps/i386/fpu_control.h: Removed.
13908 * sysdeps/x86_64/fpu_control.h: Moved to ...
13909 * sysdeps/x86/fpu_control.h: Here.
13910
3ee947b1
L
13911 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
13912 (_FPU_SETCW): Likewise.
13913
ed1825f8
L
139142012-06-15 H.J. Lu <hongjiu.lu@intel.com>
13915
25f1282a
L
13916 [BZ #14117]
13917 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
13918 * sysdeps/x86/fpu/bits/mathinline.h: This.
13919 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
13920
ed1825f8
L
13921 [BZ #14050]
13922 [BZ #14117]
13923 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
13924 functions if __x86_64__ is defined.
13925
36d54b74
CLT
139262012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
13927
13928 * string/endian.h: Add !__ASSEMBLER__ condition for including
13929 conversion interfaces.
13930
10285c21
JM
139312012-06-15 Joseph Myers <joseph@codesourcery.com>
13932
13933 [BZ #14241]
13934 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
13935 of ABS(x) in calculating zero to negative powers other than odd
13936 integers.
13937 * math/libm-test.inc (pow_test): Add more tests.
13938
06c5abbd
AJ
139392012-06-15 Andreas Jaeger <aj@suse.de>
13940
13941 * manual/contrib.texi (Contributors): Update entry of Liubov
13942 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
13943 Machado Filho.
13944
a3aeac40
CH
139452012-06-15 Cyril Hrubis <metan@ucw.cz>
13946
13947 * string/string.h: Add __wur to GNU version of strerror_r.
13948
49bdf4c1
L
139492012-06-14 H.J. Lu <hongjiu.lu@intel.com>
13950
13951 [BZ #14229]
13952 * string/Makefile (tests): Add tst-strtok_r.
13953 * string/tst-strtok_r.c: New file.
13954 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
13955 RAX_LP/RDX_LP on SAVE_PTR.
13956
834f9b8d
RM
139572012-06-14 Roland McGrath <roland@hack.frob.com>
13958
13959 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
13960
75fa1921
JM
139612012-06-14 Joseph Myers <joseph@codesourcery.com>
13962
13963 * libm_test.inc (csqrt_test): Allow more spurious underflow
13964 exceptions.
13965 (j0_test): Likewise.
13966 (j1_test): Likewise.
13967 (y0_test): Likewise.
13968 (y1_test): Likewise.
13969
771766df
CD
139702012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
13971
13972 * po/Makefile (libc.pot): Use UTF-8 charset.
13973
ceb9e56b
PP
139742012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
13975
13976 [BZ #14210]
13977 Suppress sign-conversion warning from FD_SET.
13978 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
13979 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
13980 not unsigned long int.
13981 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
13982
ddb28975
L
139832012-06-12 H.J. Lu <hongjiu.lu@intel.com>
13984
13985 [BZ #14050]
13986 [BZ #14117]
13987 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
13988 __extern_always_inline instead of __extern_inline.
13989 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
13990 (__signbit): Likewise.
13991 (__signbitl): Support C++ namespace.
13992 (lrintf): New inline function.
13993 (lrint): Likewise.
13994 (llrintf): Likewise.
13995 (llrint): Likewise.
13996 (fmaxf): Likewise.
13997 (fmax): Likewise.
13998 (fminf): Likewise.
13999 (fmin): Likewise.
14000 (rint): Likewise.
14001 (rintf): Likewise.
14002 (ceil): Likewise.
14003 (ceilf): Likewise.
14004 (floor): Likewise.
14005 (floorf): Likewise.
14006 (nearbyint): Likewise.
14007 (nearbyintf): Likewise.
14008
d7b4fb26
TS
140092012-06-12 Thomas Schwinge <thomas@codesourcery.com>
14010
14011 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
14012 non-default versions.
14013
eb55f5c2
RM
140142012-06-11 Roland McGrath <roland@hack.frob.com>
14015
14016 [BZ #14218]
14017 * manual/argp.texi (Argp): Reword argp_parse description slightly.
14018
366af02c
TS
140192012-06-09 Thomas Schwinge <thomas@codesourcery.com>
14020
99ff6e5c
TS
14021 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
14022 (FE_UPWARD, FE_DOWNWARD): Don't define.
14023 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
14024 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14025
366af02c
TS
14026 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
14027 reading it.
14028 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14029 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14030
793ea851
KK
140312012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14032
14033 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14034 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
14035 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
14036 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
14037
a728a38f
L
140382012-06-06 H.J. Lu <hongjiu.lu@intel.com>
14039
14040 [BZ #14117]
c08010c7
L
14041 * sysdeps/i386/fpu/bits/fenv.h: Removed.
14042 * sysdeps/i386/fpu/Implies: New file.
14043 * sysdeps/x86_64/fpu/Implies: Likewise.
14044 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
14045 * sysdeps/x86/fpu/bits/fenv.h: This.
14046
a728a38f
L
14047 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
14048 __SSE_MATH__.
14049
6e230d11
SP
140502012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14051
14052 [BZ #14134]
14053 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
14054 character 0xffff that matches the last element of the
14055 conversion table.
14056
1b671feb
AZ
140572012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14058
14059 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
14060 fmodl commit.
14061
6043738b
AZ
140622012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14063
14064 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
14065 values higher than 25.6283.
14066
34ae0b32
AZ
140672012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14068
14069 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
14070 subnormal exponent extraction and add some __builtin_expect.
14071 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
14072 Fix for subnormal mantissa calculation.
14073
1214ec8f
MF
140742012-06-04 Mike Frysinger <vapier@gentoo.org>
14075
14076 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
14077 cpu2 is -1 and errno is not ENOSYS.
14078
f3d1f93c
L
140792012-06-04 H.J. Lu <hongjiu.lu@intel.com>
14080
14081 [BZ #14117]
0e4a3cd7
L
14082 * sysdeps/i386/i486/bits/string.h: Renamed to ...
14083 * sysdeps/x86/bits/string.h: This.
14084 * sysdeps/x86_64/bits/string.h: Removed.
14085
6704c645
L
14086 * sysdeps/i386/i486/bits/string.h: Define inline functions only
14087 if not compiling for x86-64, but compiling for >= i486.
14088
48495318
L
14089 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
14090 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
14091
14adcbfc
L
14092 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
14093 New macro from Linux kernel 3.4.0.
14094 (FP_XSTATE_MAGIC2): Likewise.
14095 (FP_XSTATE_MAGIC2_SIZE): Likewise.
14096 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
14097 (struct _fpx_sw_bytes): New struct.
14098 (struct _xsave_hdr): Likewise.
14099 (struct _ymmh_state): Likewise.
14100 (struct _xstate): Likewise.
14101
68e408ab
L
14102 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
14103 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
14104 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
14105 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
14106 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
14107 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
14108
f3d1f93c
L
14109 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
14110 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
14111 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
14112 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
14113 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
14114 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
14115
d9dc34cd
TMQMF
141162012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14117
14118 [BZ #13743]
14119 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
14120 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
14121 (sysdep_headers): Include sys/platform/ppc.h.
14122 * sysdeps/powerpc/test-gettimebase.c: Test for
14123 __ppc_get_timebase() to catch future ISA opcode/insn changes.
14124 * manual/Makefile (appendices): Include platform.texi.
14125 * manual/contrib.texi (Contributors): Update @node pointers.
14126 * manual/maint.texi (Maintenance): Likewise.
14127 (Platform): New node.
14128 * manual/platform.texi: New file. Document the new features.
14129
4af3879c
SP
141302012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14131 Jakub Jelinek <jakub@redhat.com>
14132
14133 [BZ #14188]
14134 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
14135 where __builtin_expect is unavailable.
14136
2fd6ff13
DM
141372012-06-03 David S. Miller <davem@davemloft.net>
14138
14139 * stdlib/longlong.h: Updated from GCC.
14140
173f7220
AS
141412012-06-02 Andreas Schwab <schwab@linux-m68k.org>
14142
14143 [BZ #14042]
14144 * sysdeps/powerpc/powerpc32/mcount.c: New file.
14145 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
14146 __mcount_internal.
14147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14148 (GLIBC_2.16): Likewise.
14149
f34a1c6f
L
141502012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14151
14152 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
14153
88a4576f
JM
141542012-06-01 Joseph Myers <joseph@codesourcery.com>
14155
ea32bcdd
JM
14156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14157 (default-abi): New variable.
14158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
14159 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
14160 variable.
14161 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
14162 Likewise.
14163 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
14164 Likewise.
14165 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
14166 Likewise.
14167
88a4576f
JM
14168 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
14169 definition. Document in comment.
14170
402fe938
DM
141712012-06-01 David S. Miller <davem@davemloft.net>
14172
14173 * stdlib/longlong.h: Updated from GCC.
14174
3553723f
L
141752012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14176
14177 [BZ #14117]
3bd872c4
L
14178 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
14179 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
14180 sys/debugreg.h sys/io.h here.
14181 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
14182 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
14183 sys/io.h.
14184 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
14185 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
14186 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
14187 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
14188 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
14189 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
14190
3553723f
L
14191 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
14192 Define only if __x86_64__ is defined.
14193
4842e4fe
JM
141942012-06-01 Joseph Myers <joseph@codesourcery.com>
14195
c5bfe3d5
JM
14196 [BZ #14048]
14197 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
14198 Use int64_t for variable i.
14199 * math/libm-test.inc (fmod_test): Add more tests.
14200
4842e4fe
JM
14201 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
14202 z computation is not scheduled after fetestexcept.
14203 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
14204 Use math_force_eval instead of asm to ensure calculation scheduled
14205 before exception test.
14206 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
14207 Ensure a1 + u.d computation is not scheduled after fetestexcept.
14208
efb73488
AJ
142092012-06-01 Aurelien Jarno <aurelien@aurel32.net>
14210
14211 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
14212 computation is not scheduled after fetestexcept.
14213
29bcce7c
L
142142012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14215
14216 [BZ #14117]
14217 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
14218 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
14219
73a68f94
AZ
142202012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14221
14222 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
14223 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14224
67b6df78
L
142252012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14226
edf2933a 14227 [BZ #14117]
ebc64a18
L
14228 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
14229 <bits/wordsize.h>.
14230 (__WCHAR_MIN): Support __WORDSIZE == 64.
14231 (__WCHAR_MAX): Likewise.
14232
edf2933a
L
14233 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
14234 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
14235
57c6cf40
L
14236 [BZ #14183]
14237 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
14238 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
14239
67b6df78 14240 [BZ #14117]
8eb6281e
L
14241 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
14242 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
14243
aac639f4
L
14244 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
14245 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
14246
67b6df78
L
14247 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
14248 Defined to 1 if __x86_64__ isn't defined.
14249 (_STAT_VER_LINUX_OLD): New.
14250 (st_atime): Remove duplicate.
14251 (st_mtime): Likewise.
14252 (st_ctime): Likewise.
14253
1c2cfe81
DM
142542012-05-31 David S. Miller <davem@davemloft.net>
14255
14256 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
14257 entries.
14258
5be8418c
AS
142592012-06-01 Andreas Schwab <schwab@linux-m68k.org>
14260
e7725326
AS
14261 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
14262 gen-libm-test.pl.
14263
5be8418c
AS
14264 [BZ #14132]
14265 * elf/dl-reloc.c: Include <_itoa.h>.
14266 (_dl_reloc_bad_type): Remove use of INTUSE.
14267 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
14268 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
14269 * stdio-common/psiginfo.c (psiginfo): Likewise.
14270 * stdio-common/psignal.c (psignal): Likewise.
14271 * string/strsignal.c (strsignal): Likewise.
14272 * include/signal.h (_sys_siglist): Declare hidden proto.
14273 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
14274 INTVARDEF with libc_hidden_data_def.
14275 * stdio-common/itoa-udigits.c: Likewise.
14276 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
14277 (_itoa_lower_digits_internal): Remove declaration.
14278 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
14279 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
14280 (_sys_sigabbrev_internal): Remove aliases.
14281 (_sys_siglist): Define hidden alias.
14282
507352f1
MT
142832012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
14284
14285 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14286 bits/sysctl.h.
14287
42bbb1c3
L
142882012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14289
14290 [BZ #14117]
6bd784b6
L
14291 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
14292 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
14293
8bca20f0
L
14294 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
14295 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
14296 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
14297 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
14298 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
14299 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
14300
f9e890a9
L
14301 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
14302 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
14303 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
14304
471101a1
L
14305 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
14306 with __addr.
14307 (insw): Likewise.
14308 (insl): Likewise.
14309 (outsb): Likewise.
14310 (outsw): Likewise.
14311 (outsl): Likewise.
14312
6451c862
L
14313 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
14314 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
14315 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
14316
a254b8c9
L
14317 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
14318 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
14319 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
14320 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
14321 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
14322 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
14323
b8dfdd92
L
14324 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
14325 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
14326
578cd270
L
14327 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
14328 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
14329
de662f5f
L
14330 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
14331 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
14332 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
14333
25653439
L
14334 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
14335 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
14336 to ...
14337 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
14338
6bad24a0
L
14339 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
14340 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
14341 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
14342
42bbb1c3
L
14343 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
14344 for x86-64.
14345 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
14346
2d10d547
JM
143472012-05-31 Joseph Myers <joseph@codesourcery.com>
14348
14349 * math/math.h (M_El): Use two more decimal places.
14350 (M_LOG2El): Likewise.
14351 (M_LOG10El): Likewise.
14352 (M_LN2l): Likewise.
14353 (M_LN10l): Likewise.
14354 (M_PIl): Likewise.
14355 (M_PI_2l): Likewise.
14356 (M_PI_4l): Likewise.
14357 (M_1_PIl): Likewise.
14358 (M_2_PIl): Likewise.
14359 (M_2_SQRTPIl): Likewise.
14360 (M_SQRT2l): Likewise.
14361 (M_SQRT1_2l): Likewise.
14362
f230c29b
DM
143632012-05-31 David S. Miller <davem@davemloft.net>
14364
14365 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
14366 values between float registers.
14367 * sysdeps/sparc/sparc64/memset.S: Likewise.
14368 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14369
fed806c3
MF
143702012-05-31 Mike Frysinger <vapier@gentoo.org>
14371
14372 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
14373 -D_FORTIFY_SOURCE=1.
14374 (CPPFLAGS-tst-longjmp_chk.c): Define.
14375 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
14376 (CPPFLAGS-tst-longjmp_chk2.c): Define.
14377 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
14378 CFLAGS-tst-wchar-h.c.
14379
30917259
MP
143802012-05-31 Marek Polacek <polacek@redhat.com>
14381
14382 [BZ #14132]
14383 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
14384 __endmntent_internal): Remove declaration.
14385 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
14386 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
14387 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
14388
1c58d5dc
DM
143892012-05-30 David S. Miller <davem@davemloft.net>
14390
14391 * sysdeps/sparc/sparc32/soft-fp/q_util.c
14392 (___Q_simulate_exceptions): Use real FP ops rather than writing
14393 into the %fsr.
14394 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
14395 Likewise.
14396
7dc00e0d
L
143972012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14398
14399 [BZ #14117]
0bd53985
L
14400 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
14401 * sysdeps/x86/bits/xtitypes.h: This.
14402
3a257e66
L
14403 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
14404 * sysdeps/x86/bits/wordsize.h: This.
14405
62f62904
L
14406 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
14407 * sysdeps/x86/bits/huge_vall.h: This.
14408
404fe9d9
L
14409 * sysdeps/i386/bits/select.h: Removed.
14410 * sysdeps/x86_64/bits/select.h: Renamed to ...
14411 * sysdeps/x86/bits/select.h: This.
14412
d48d0446
L
14413 * sysdeps/i386/bits/setjmp.h: Removed.
14414 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
14415 * sysdeps/x86/bits/setjmp.h: This.
14416
7dc00e0d
L
14417 * sysdeps/i386/bits/mathdef.h: Removed.
14418 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
14419 * sysdeps/x86/bits/mathdef.h: This.
14420
03277f8f
AS
144212012-05-30 Andreas Schwab <schwab@linux-m68k.org>
14422
14423 [BZ #14132]
14424 * include/sys/socket.h (__connect_internal)
14425 (__libc_sa_len_internal): Remove declaration.
14426 (__connect, __libc_sa_len): Declare hidden_proto.
14427 (SA_LEN): Remove use of INTUSE.
14428 * socket/connect.c: Add libc_hidden_def.
14429 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
14430 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
14431 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
14432 alias.
14433 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14434 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
14435 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
14436 of adding _internal alias.
14437
13764867
L
144382012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14439
14440 [BZ #14117]
6bd97696
L
14441 * sysdeps/i386/bits/link.h: Removed.
14442 * sysdeps/i386/bits/linkmap.h: Likewise.
14443 * sysdeps/x86_64/bits/link.h: Renamed to ...
14444 * sysdeps/x86/bits/link.h: This.
14445 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
14446 * sysdeps/x86/bits/linkmap.h: This.
14447
f726f0bb
L
14448 * sysdeps/i386/bits/endian.h: Removed.
14449 * sysdeps/x86_64/bits/endian.h: Renamed to ...
14450 * sysdeps/x86/bits/endian.h: This.
14451
13764867
L
14452 * sysdeps/i386/bits/byteswap.h: Removed.
14453 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14454 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
14455 * sysdeps/x86/bits/byteswap.h: This.
14456 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
14457 * sysdeps/x86/bits/byteswap-16.h: This.
14458 * sysdeps/i386/Implies: Add x86.
14459 * sysdeps/x86_64/Implies: Likewise.
14460
ae251b0b
DM
144612012-05-30 David S. Miller <davem@davemloft.net>
14462
14463 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
14464 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
14465 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14466 (FP_TRAPPING_EXCEPTIONS): Define.
14467 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14468 (FP_TRAPPING_EXCEPTIONS): Define.
14469 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
14470 subnormals only when inexact has been signalled or underflow
14471 exceptions are enabled.
14472 (_FP_PACK_CANONICAL): Likewise.
14473
d5c90867
L
144742012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14475
14476 [BZ #14183]
14477 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
14478 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
14479
63f1549e
RH
144802012-05-30 Richard Henderson <rth@twiddle.net>
14481
8d8f2279
RH
14482 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
14483 with #ifndef NOT_IN_libc.
14484
63f1549e
RH
14485 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
14486 marked to avoid plt entry.
14487
0ab0291b
L
144882012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14489
14490 [BZ #14112]
14491 * Makeconfig (default-abi): New macro.
14492 (abi-includes): Likewise.
14493 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
14494 $(abi-$(default-abi)-lib-soname) for soname if defined.
14495 ($(common-objpfx)gnu/lib-names.stmp): Generate from
14496 abi-variants.
14497 * Makefile (installed-stubs): Likewise.
14498 * include/stubs-biarch.h: Removed.
14499 * scripts/lib-names.awk: Only handle one library at a time.
14500 * scripts/soversions.awk: Remove WORDSIZE support.
14501 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
14502 entries.
14503 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
14504 Removed.
14505 (syscall-list-default-condition): Likewise.
14506 (syscall-list-default-condition): Likewise.
14507 (syscall-list-includes): Likewise.
14508 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
14509 syscall-list-* with abi-*. Handle undefined abi-variants.
14510 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
14511 * sysdeps/unix/sysv/linux/i386/Implies: New file.
14512 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
14513 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
14514 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
14515 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
14516 Removed.
14517 (syscall-list-32-options): Likewise.
14518 (syscall-list-32-condition): Likewise.
14519 (syscall-list-64-options): Likewise.
14520 (syscall-list-64-condition): Likewise.
14521 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
14522 macro.
14523 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
14524 Renamed to ...
14525 (abi-*): This.
14526 (abi-64-ld-soname): New macro.
14527 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
14528 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
14529 Renamed to ...
14530 (abi-*): This.
14531 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
14532 * sysdeps/x86_64/x32/shlib-versions: Likewise.
14533
4da0431d
JM
145342012-05-30 Joseph Myers <joseph@codesourcery.com>
14535
3a85279c
JM
14536 * sysdeps/unix/sysv/linux/kernel-features.h
14537 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
14538 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
14539 include <kernel-features.h>.
14540 [!__NR_ftruncate64]: Remove conditional code.
14541 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14542 [__NR_ftruncate64]: Make code unconditional.
14543 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14544 * sysdeps/unix/sysv/linux/truncate64.c: Do not
14545 include <kernel-features.h>.
14546 [!__NR_ftruncate64]: Remove conditional code.
14547 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14548 [__NR_ftruncate64]: Make code unconditional.
14549 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
14551 include <kernel-features.h>.
14552 [!__NR_ftruncate64]: Remove conditional code.
14553 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14554 [__NR_ftruncate64]: Make code unconditional.
14555 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14557 include <kernel-features.h>.
14558 [!__NR_ftruncate64]: Remove conditional code.
14559 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14560 [__NR_ftruncate64]: Make code unconditional.
14561 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14562
4da0431d
JM
14563 * configure.in (libc_cv_fpie): Weaken to a compile test using
14564 LIBC_TRY_CC_OPTION.
14565 * configure: Regenerated.
14566
11ef492c
AK
145672012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14568
14569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
14570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
14571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
14572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14573 Refreshed.
14574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
14575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
14576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
14577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
14578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
14579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14580 Refreshed.
14581
d66ef399
DM
145822012-05-27 David S. Miller <davem@davemloft.net>
14583
14584 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
14585 (___Q_zero): New.
14586 (__Q_simulate_exceptions): Return void. Change to simulate
14587 exceptions by writing into the %fsr.
14588 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
14589 (__Qp_handle_exceptions): Likewise.
14590 (numbers): Delete.
14591 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
14592 __Qp_handle_exceptions.
14593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
14594 __Qp_handle_exceptions.
14595 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14596 as unused and give dummy FP_RND_NEAREST initializer.
14597 (FP_INHIBIT_RESULTS): Define.
14598 (___Q_simulate_exceptions): Update declaration.
14599 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
14600 formatting.
14601 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14602 as unused and give dummy FP_RND_NEAREST initializer.
14603 (__Qp_handle_exceptions): Update declaration.
14604 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
14605 formatting.
14606
04fb54b5
TS
146072012-05-27 Thomas Schwinge <thomas@codesourcery.com>
14608
14609 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
14610 the temporary FPU control word.
14611 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14612 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
14613 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
14614 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14615 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14616 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
14617 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
14618 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14619 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14620 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14621 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14622
3f99608f
KK
146232012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14624
14625 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
14626 fields.
14627
65a4de4e
CLT
146282012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
14629
14630 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
14631 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
14632 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
14633 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
14634 Likewise.
14635 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
14636 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
14637 Likewise.
14638
15749d40
UD
146392012-05-27 Ulrich Drepper <drepper@gmail.com>
14640
14641 * po/h.po: Update from translation team.
14642
25dbcb27
AS
146432012-05-26 Andreas Schwab <schwab@linux-m68k.org>
14644
3d3f8e55
AS
14645 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
14646
25dbcb27
AS
14647 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
14648 handling of denormals.
14649 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14650 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14651 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14652 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14653 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14654 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
14655 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
14656 Likewise.
14657
7ad47a80 146582012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
14659
14660 [BZ #14152]
14661 * math/libm-test.inc (fma_test): Don't always expect underflow
14662 exception.
14663
9c6ea9fa
SP
146642012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14665
14666 [BZ #12416]
14667 * elf/tst-execstack.c: Include stackinfo.h.
14668 (do_test): Adjust test case to ensure that pthread_getattr_np
14669 behaviour remains the same after marking stack executable.
14670
a8239222
JM
146712012-05-25 Joseph Myers <joseph@codesourcery.com>
14672
14673 * sysdeps/unix/sysv/linux/kernel-features.h
14674 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
14675 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
14676 kernel-features.h.
14677 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14678 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14679 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
14680 kernel-features.h.
14681 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14682 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14683
918b5606
L
146842012-05-25 H.J. Lu <hongjiu.lu@intel.com>
14685
14686 * configure.in: Define the default includes to being none.
14687 * configure: Regenerated.
14688
3a097cc7
RM
146892012-05-25 Roland McGrath <roland@hack.frob.com>
14690
8422c9a5
RM
14691 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
14692 * sysdeps/x86_64/setjmp.S: Likewise.
14693 * sysdeps/i386/bsd-setjmp.S: Likewise.
14694 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14695 * sysdeps/i386/setjmp.S: Likewise.
14696 * sysdeps/i386/__longjmp.S: Likewise.
14697 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14698 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
14699
3a097cc7
RM
14700 * include/stap-probe.h: New file.
14701 * configure.in: Handle --enable-systemtap.
14702 * configure: Regenerated.
14703 * config.h.in (USE_STAP_PROBE): New #undef.
14704 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
14705 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
14706 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
14707
21708942
JM
147082012-05-25 Joseph Myers <joseph@codesourcery.com>
14709
14710 [BZ #13717]
14711 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14712 to 2.4.0 where earlier.
14713 * sysdeps/unix/sysv/linux/configure: Regenerated.
14714 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14715 <kernel-features.h>.
14716 [__ASSUME_32BITUIDS]: Make code unconditional.
14717 [!__ASSUME_32BITUIDS]: Remove conditional code.
14718 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
14719 <kernel-features.h>.
14720 [__ASSUME_32BITUIDS]: Make code unconditional.
14721 [!__ASSUME_32BITUIDS]: Remove conditional code.
14722 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
14723 [__ASSUME_32BITUIDS]: Make code unconditional.
14724 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
14725 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
14726 <kernel-features.h>.
14727 [__ASSUME_32BITUIDS]: Make code unconditional.
14728 [!__ASSUME_32BITUIDS]: Remove conditional code.
14729 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
14730 <kernel-features.h>.
14731 [__ASSUME_32BITUIDS]: Make code unconditional.
14732 [!__ASSUME_32BITUIDS]: Remove conditional code.
14733 * sysdeps/unix/sysv/linux/i386/getgid.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/getgroups.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/getresgid.c: Do not include
14742 <kernel-features.h>.
14743 [__ASSUME_32BITUIDS]: Make code unconditional.
14744 [!__ASSUME_32BITUIDS]: Remove conditional code.
14745 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14746 <kernel-features.h>.
14747 [__ASSUME_32BITUIDS]: Make code unconditional.
14748 [!__ASSUME_32BITUIDS]: Remove conditional code.
14749 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
14750 <kernel-features.h>.
14751 [__ASSUME_32BITUIDS]: Make code unconditional.
14752 [!__ASSUME_32BITUIDS]: Remove conditional code.
14753 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14754 <kernel-features.h>.
14755 [__ASSUME_32BITUIDS]: Make code unconditional.
14756 [!__ASSUME_32BITUIDS]: Remove conditional code.
14757 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14758 <kernel-features.h>.
14759 [__ASSUME_32BITUIDS]: Make code unconditional.
14760 [!__ASSUME_32BITUIDS]: Remove conditional code.
14761 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
14762 <kernel-features.h>.
14763 [__ASSUME_32BITUIDS]: Make code unconditional.
14764 [!__ASSUME_32BITUIDS]: Remove conditional code.
14765 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
14766 <kernel-features.h>.
14767 [__NR_setresgid] (__setresgid): Do not declare.
14768 [__ASSUME_32BITUIDS]: Make code unconditional.
14769 [!__ASSUME_32BITUIDS]: Remove conditional code.
14770 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
14771 <kernel-features.h>.
14772 [__NR_setresuid] (__setresuid): Do not declare.
14773 [__ASSUME_32BITUIDS]: Make code unconditional.
14774 [!__ASSUME_32BITUIDS]: Remove conditional code.
14775 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
14776 <kernel-features.h>.
14777 [__ASSUME_32BITUIDS]: Make code unconditional.
14778 [!__ASSUME_32BITUIDS]: Remove conditional code.
14779 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
14780 <kernel-features.h>.
14781 [__ASSUME_32BITUIDS]: Make code unconditional.
14782 [!__ASSUME_32BITUIDS]: Remove conditional code.
14783 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
14784 <kernel-features.h>.
14785 [__ASSUME_32BITUIDS]: Make code unconditional.
14786 [!__ASSUME_32BITUIDS]: Remove conditional code.
14787 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
14788 <kernel-features.h>.
14789 [__ASSUME_32BITUIDS]: Make code unconditional.
14790 [!__ASSUME_32BITUIDS]: Remove conditional code.
14791 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
14792 <kernel-features.h>.
14793 [__ASSUME_32BITUIDS]: Make code unconditional.
14794 [!__ASSUME_32BITUIDS]: Remove conditional code.
14795 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
14796 <kernel-features.h>.
14797 [__ASSUME_32BITUIDS]: Make code unconditional.
14798 [!__ASSUME_32BITUIDS]: Remove conditional code.
14799 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
14800 <kernel-features.h>.
14801 [__ASSUME_32BITUIDS]: Make code unconditional.
14802 [!__ASSUME_32BITUIDS]: Remove conditional code.
14803 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
14804 <kernel-features.h>.
14805 [__ASSUME_32BITUIDS]: Make code unconditional.
14806 [!__ASSUME_32BITUIDS]: Remove conditional code.
14807 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
14808 <kernel-features.h>.
14809 [__ASSUME_32BITUIDS]: Make code unconditional.
14810 [!__ASSUME_32BITUIDS]: Remove conditional code.
14811 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14812 <kernel-features.h>.
14813 [__ASSUME_32BITUIDS]: Make code unconditional.
14814 [!__ASSUME_32BITUIDS]: Remove conditional code.
14815 * sysdeps/unix/sysv/linux/kernel-features.h
14816 (__ASSUME_SETRESUID_SYSCALL): Remove.
14817 (__ASSUME_SETRESGID_SYSCALL): Likewise.
14818 (__ASSUME_32BITUIDS): Likewise.
14819 (__ASSUME_LDT_WORKS): Likewise.
14820 (__ASSUME_O_DIRECTORY): Likewise.
14821 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
14822 architecture but not kernel version.
14823 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14824 (__ASSUME_MMAP2_SYSCALL): Likewise.
14825 (__ASSUME_STAT64_SYSCALL): Likewise.
14826 (__ASSUME_IPC64): Likewise.
14827 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
14828 <kernel-features.h>.
14829 [__ASSUME_32BITUIDS]: Make code unconditional.
14830 [!__ASSUME_32BITUIDS]: Remove conditional code.
14831 * sysdeps/unix/sysv/linux/opendir.c: Do not include
14832 <kernel-features.h>.
14833 [__ASSUME_O_DIRECTORY]: Make code unconditional.
14834 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
14835 132096]: Remove conditional code.
14836 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
14837 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14838 <kernel-features.h>.
14839 [__ASSUME_32BITUIDS]: Make code unconditional.
14840 [!__ASSUME_32BITUIDS]: Remove conditional code.
14841 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14842 <kernel-features.h>.
14843 [__ASSUME_32BITUIDS]: Make code unconditional.
14844 [!__ASSUME_32BITUIDS]: Remove conditional code.
14845 * sysdeps/unix/sysv/linux/setegid.c: Do not include
14846 <kernel-features.h>.
14847 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
14848 unconditional.
14849 (__setresgid): Do not declare.
14850 [__ASSUME_32BITUIDS]: Make code unconditional.
14851 [!__ASSUME_32BITUIDS]: Remove conditional code.
14852 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
14853 <kernel-features.h>.
14854 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
14855 unconditional.
14856 (__setresuid): Do not declare.
14857 [__ASSUME_32BITUIDS]: Make code unconditional.
14858 [!__ASSUME_32BITUIDS]: Remove conditional code.
14859 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14860 <kernel-features.h>.
14861 [__ASSUME_32BITUIDS]: Make code unconditional.
14862 [!__ASSUME_32BITUIDS]: Remove conditional code.
14863 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
14864 <kernel-features.h>.
14865 [__ASSUME_32BITUIDS]: Make code unconditional.
14866 [!__ASSUME_32BITUIDS]: Remove conditional code.
14867
a386f1cc
RH
148682012-05-25 Richard Henderson <rth@twiddle.net>
14869
14870 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
14871 dl_hwcap to ifunc resolver.
14872 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
14873 elf_ifunc_invoke.
14874 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
14875 dl_hwcap to ifunc resolver.
14876 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
14877
b6550497
JM
148782012-05-24 Joseph Myers <joseph@codesourcery.com>
14879
14880 [BZ #14153]
14881 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
14882 for |x| <= 2**-26, not 2**-57.
14883 * math/libm-test.inc (acos_test): Do not allow spurious underflow
14884 exception.
14885
b0bc23a1
JL
148862012-05-24 Jeff Law <law@redhat.com>
14887
14888 * stdio-common/Makefile (tests): Add bug25.
14889 * stdio-common/bug25.c: New test.
14890
347c92e9
L
148912012-05-24 H.J. Lu <hongjiu.lu@intel.com>
14892
14893 [BZ #13576]
14894 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
14895 multiple of MALLOC_ALIGNMENT in size.
14896 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
14897
6bcc8b3f
JM
148982012-05-24 Joseph Myers <joseph@codesourcery.com>
14899
14900 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
14901 Require >= 256.
14902 (FILENAME_MAX): Use macro-int-constant.
14903 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
14904 (_IOFBF): Use macro-int-constant.
14905 (_IOLBF): Likewise.
14906 (_IONBF): Likewise.
14907 (SEEK_CUR): Likewise.
14908 (SEEK_END): Likewise.
14909 (SEEK_SET): Likewise.
14910 (TMP_MAX): Likewise.
14911 (EOF): Use macro-int-constant. Require < 0.
14912 (NULL): Use macro-constant. Require == 0.
14913 (stdin): Require type to be FILE *.
14914 (stdout): Likewise.
14915 (stderr): Likewise.
14916 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
14917 macro-int-constant.
14918 (EXIT_SUCCESS): Likewise.
14919 (NULL): Use macro-constant. Require == 0.
14920 (RAND_MAX): Use macro-int-constant.
14921 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
14922 [C99-based standards] (strtof): Require function.
14923 [C99-based standards] (strtold): Likewise.
14924 [C99-based standards] (strtoll): Likewise.
14925 [C99-based standards] (strtoull): Likewise.
14926 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14927 [ISO || ISO99 || ISO11] (limits.h): Likewise.
14928 [ISO || ISO99 || ISO11] (math.h): Likewise.
14929 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
14930 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14931 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14932
d18ea0c5
AS
149332012-05-24 Andreas Schwab <schwab@linux-m68k.org>
14934
14935 [BZ #14132]
56d25bb8
AS
14936 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
14937 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
14938 * intl/dgettext.c (DCGETTEXT): Likewise.
14939 * intl/gettext.c (DCGETTEXT): Likewise.
14940 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
14941 * posix/regex_internal.h (gettext): Likewise.
14942 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
14943 Remove declaration.
14944 * include/argz.h (__argz_count_internal)
14945 (__argz_stringify_internal): Remove declaration.
14946 (__argz_count, __argz_stringify): Declare hidden proto.
14947 * intl/dcgettext.c: Remove use of INTDEF.
14948 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
14949 * string/argz-stringify.c: Likewise.
14950 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14951 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14952 Declare hidden proto.
d18ea0c5
AS
14953 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14954 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14955 Declare hidden proto.
14956 * include/stdio.h (__asprintf_internal): Don't declare.
14957 (__asprintf): Don't define as macro. Declare hidden proto.
14958 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
14959 (__fsetlocking): Declare hidden proto.
14960 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
14961 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
14962 hidden proto.
14963 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
14964 (_IO_setlinebuf): Remove use of INTUSE.
14965 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
14966 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
14967 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
14968 Remove declaration.
14969 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
14970 (_IO_do_flush): Remove use of INTUSE.
14971 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
14972 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
14973 (_IO_adjust_column, _IO_least_wmarker)
14974 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
14975 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
14976 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
14977 (_IO_default_doallocate, _IO_wdefault_doallocate)
14978 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
14979 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
14980 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
14981 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
14982 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
14983 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
14984 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
14985 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
14986 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
14987 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
14988 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
14989 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
14990 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
14991 proto.
14992 (_IO_flush_all_internal, _IO_adjust_column_internal)
14993 (_IO_default_uflow_internal, _IO_default_finish_internal)
14994 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
14995 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
14996 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
14997 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
14998 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
14999 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
15000 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
15001 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
15002 (_IO_file_close_internal, _IO_file_close_it_internal)
15003 (_IO_file_underflow_internal, _IO_file_overflow_internal)
15004 (_IO_file_init_internal, _IO_file_attach_internal)
15005 (_IO_file_fopen_internal, _IO_file_read_internal)
15006 (_IO_file_sync_internal, _IO_file_seek_internal)
15007 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
15008 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
15009 (_IO_str_underflow_internal, _IO_str_overflow_internal)
15010 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
15011 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
15012 (_IO_list_all_internal, _IO_link_in_internal)
15013 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
15014 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
15015 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
15016 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
15017 (_IO_do_write_internal, _IO_padn_internal)
15018 (_IO_getline_info_internal, _IO_getline_internal)
15019 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
15020 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
15021 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
15022 (_IO_vfscanf_internal, _IO_vfprintf_internal)
15023 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
15024 (_IO_init_internal, _IO_un_link_internal): Don't declare.
15025 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
15026 with libc_hidden_ver, remove use of INTUSE.
15027 * libio/genops.c: Likewise.
15028 * libio/freopen.c: Likewise.
15029 * libio/freopen64.c: Likewise.
15030 * libio/iofclose.c: Likewise.
15031 * libio/iofdopen.c: Likewise.
15032 * libio/iofflush.c: Likewise.
15033 * libio/iofflush_u.c: Likewise.
15034 * libio/iofgets.c: Likewise.
15035 * libio/iofgets_u.c: Likewise.
15036 * libio/iofopen.c: Likewise.
15037 * libio/iofopncook.c: Likewise.
15038 * libio/iofread.c: Likewise.
15039 * libio/iofread_u.c: Likewise.
15040 * libio/ioftell.c: Likewise.
15041 * libio/iofwrite.c: Likewise.
15042 * libio/iogetline.c: Likewise.
15043 * libio/iogets.c: Likewise.
15044 * libio/iogetwline.c: Likewise.
15045 * libio/iopadn.c: Likewise.
15046 * libio/iopopen.c: Likewise.
15047 * libio/ioseekoff.c: Likewise.
15048 * libio/ioseekpos.c: Likewise.
15049 * libio/iosetbuffer.c: Likewise.
15050 * libio/iosetvbuf.c: Likewise.
15051 * libio/ioungetc.c: Likewise.
15052 * libio/ioungetwc.c: Likewise.
15053 * libio/iovdprintf.c: Likewise.
15054 * libio/iovsprintf.c: Likewise.
15055 * libio/iovsscanf.c: Likewise.
15056 * libio/memstream.c: Likewise.
15057 * libio/obprintf.c: Likewise.
15058 * libio/oldfileops.c: Likewise.
15059 * libio/oldiofclose.c: Likewise.
15060 * libio/oldiofdopen.c: Likewise.
15061 * libio/oldiofopen.c: Likewise.
15062 * libio/oldiopopen.c: Likewise.
15063 * libio/oldstdfiles.c: Likewise.
15064 * libio/putc.c: Likewise.
15065 * libio/setbuf.c: Likewise.
15066 * libio/setlinebuf.c: Likewise.
15067 * libio/stdfiles.c: Likewise.
15068 * libio/strops.c: Likewise.
15069 * libio/vasprintf.c: Likewise.
15070 * libio/vscanf.c: Likewise.
15071 * libio/vsnprintf.c: Likewise.
15072 * libio/vswprintf.c: Likewise.
15073 * libio/wfiledoalloc.c: Likewise.
15074 * libio/wfileops.c: Likewise.
15075 * libio/wgenops.c: Likewise.
15076 * libio/wmemstream.c: Likewise.
15077 * libio/wstrops.c: Likewise.
15078 * libio/__fpurge.c: Likewise.
15079 * libio/__fsetlocking.c: Likewise.
15080 * assert/assert.c: Likewise.
15081 * debug/fgets_chk.c: Likewise.
15082 * debug/fgets_u_chk.c: Likewise.
15083 * debug/fread_chk.c: Likewise.
15084 * debug/fread_u_chk.c: Likewise.
15085 * debug/gets_chk.c: Likewise.
15086 * debug/obprintf_chk.c: Likewise.
15087 * debug/vasprintf_chk.c: Likewise.
15088 * debug/vdprintf_chk.c: Likewise.
15089 * debug/vsnprintf_chk.c: Likewise.
15090 * debug/vsprintf_chk.c: Likewise.
15091 * malloc/mtrace.c: Likewise.
15092 * misc/error.c: Likewise.
15093 * misc/syslog.c: Likewise.
15094 * stdio-common/asprintf.c: Likewise.
15095 * stdio-common/fxprintf.c: Likewise.
15096 * stdio-common/getw.c: Likewise.
15097 * stdio-common/isoc99_fscanf.c: Likewise.
15098 * stdio-common/isoc99_scanf.c: Likewise.
15099 * stdio-common/isoc99_vfscanf.c: Likewise.
15100 * stdio-common/isoc99_vscanf.c: Likewise.
15101 * stdio-common/isoc99_vsscanf.c: Likewise.
15102 * stdio-common/printf-prs.c: Likewise.
15103 * stdio-common/printf_fp.c: Likewise.
15104 * stdio-common/printf_fphex.c: Likewise.
15105 * stdio-common/printf_size.c: Likewise.
15106 * stdio-common/putw.c: Likewise.
15107 * stdio-common/scanf.c: Likewise.
15108 * stdio-common/sprintf.c: Likewise.
15109 * stdio-common/tmpfile.c: Likewise.
15110 * stdio-common/vfprintf.c: Likewise.
15111 * stdio-common/vfscanf.c: Likewise.
15112 * stdlib/strfmon_l.c: Likewise.
15113 * sunrpc/openchild.c: Likewise.
15114 * sunrpc/xdr_stdio.c: Likewise.
15115 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15116 * sysdeps/mach/hurd/tmpfile.c: Likewise.
15117
d6c33fda
RM
151182012-05-24 Roland McGrath <roland@hack.frob.com>
15119
c1487492
RM
15120 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15121
15122 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
15123 in the third column, to generate for the shared library an IFUNC
15124 that uses _dl_vdso_vsym.
15125 * Makerules (COMPILE.c, compile-stdin.c): New variables.
15126 * Makeconfig (object-suffixes-noshared): New variable.
15127
15128 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
15129 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
15130 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
15131 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
15132
d6c33fda
RM
15133 [BZ #14132]
15134 * include/sys/time.h (__gettimeofday): Remove macro.
15135 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
15136 * time/gettimeofday.c (__gettimeofday): Remove #undef.
15137 Remove INTDEF.
15138 (__gettimeofday): Add libc_hidden_def.
15139 (gettimeofday): Add libc_hidden_weak.
15140 * sysdeps/mach/gettimeofday.c: Likewise.
15141 * sysdeps/posix/gettimeofday.c: Likewise.
15142 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15143 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15144 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
15145 (__gettimeofday_internal): Remove strong_alias.
15146 (__gettimeofday): Add libc_hidden_def.
15147 (gettimeofday): Add libc_hidden_weak.
15148 * sysdeps/unix/syscalls.list (gettimeofday):
15149 Remove __gettimeofday_internal alias.
15150
b5a2bbe6
L
151512012-05-24 Daniel Jacobowitz <drow@false.org>
15152 H.J. Lu <hongjiu.lu@intel.com>
15153
15154 [BZ #12495]
15155 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
15156 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
15157 (largebin_index_32_big): New.
15158 (largebin_index): Use it for 16-byte alignment.
15159 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
15160 correction with front_misalign.
15161
cfba4fda
L
151622012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15163
7f907421
L
15164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
15165 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15166 Likewise.
15167 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
15168 Likewise.
15169 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15170 Likewise.
15171 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
15172 Likewise.
15173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
15174 Likewise.
15175 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
15176 Likewise.
15177 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
15178 Likewise.
15179 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15180 Likewise.
15181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
15182 Likewise.
15183 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
15184 Likewise.
15185 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15186 Likewise.
15187 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
15188 Likewise.
15189
cfba4fda
L
15190 * scripts/data/c++-types-x32-linux-gnu.data: New file.
15191 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
15192
80bad0cc
JM
151932012-05-24 Joseph Myers <joseph@codesourcery.com>
15194
7a25eb06
JM
15195 [BZ #10846]
15196 [BZ #14036]
15197 * math/libm-test.inc (exp_test): Add test from bug 14036.
15198 (pow_test): Add test from bug 10846.
15199
795405f9
JM
15200 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
15201 and other flags.
15202 (special_function): Do not include flags in test name.
15203 (parse_args): Likewise.
15204 * sysdeps/i386/fpu/libm-test-ulps: Update.
15205 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15206 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15207 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15209
80bad0cc
JM
15210 * math/gen-libm-test.pl (%beautify): Add entries for underflow
15211 exceptions.
15212 * math/libm-test.inc ("Philosophy"): Update comment about
15213 exception testing.
15214 (UNDERFLOW_EXCEPTION): New macro.
15215 (UNDERFLOW_EXCEPTION_OK): Likewise.
15216 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
15217 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
15218 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
15219 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
15220 (INVALID_EXCEPTION_OK): Update value.
15221 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15222 (OVERFLOW_EXCEPTION_OK): Likewise.
15223 (IGNORE_ZERO_INF_SIGN): Likewise.
15224 (test_exceptions): Handle underflow exceptions.
15225 (acos_test): Update for underflow exception expectations.
15226 (cexp_test): Likewise.
15227 (clog_test): Likewise.
15228 (clog10_test): Likewise.
15229 (csqrt_test): Likewise.
15230 (ctan_test): Likewise.
15231 (ctanh_test): Likewise.
15232 (exp_test): Likewise.
15233 (exp10_test): Likewise.
15234 (exp2_test): Likewise.
15235 (expm1_test): Likewise.
15236 (fma_test): Likewise.
15237 (j0_test): Likewise.
15238 (jn_test): Likewise.
15239 (nexttoward_test): Likewise.
15240 (pow_test): Likewise.
15241 (scalbn_test): Likewise.
15242 (scalbln_test): Likewise.
15243 (tan_test): Likewise.
15244 (y1_test): Likewise.
15245 * sysdeps/i386/fpu/libm-test-ulps: Update.
15246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15247
9e0e3d0b
DM
152482012-05-23 David S. Miller <davem@davemloft.net>
15249
15250 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15251 (__libc_sigaction): Remove unused local variables.
15252
ccd0a08f
L
152532012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15254
15255 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
15256
62bdf9a6
PE
152572012-05-23 Paul Eggert <eggert@cs.ucla.edu>
15258
f8591f80
PE
15259 mktime: avoid signed integer overflow
15260 * time/mktime.c (__mktime_internal): Do not mishandle the case
15261 where diff == INT_MIN.
15262
94c7d826
PE
15263 mktime: simplify computation of average
15264 * time/mktime.c (ranged_convert): Use new time_t_avg function
15265 instead of rolling our own (probably-slower) code.
15266
ce73d683
PE
15267 mktime: do not assume signed right shift propagates sign bit
15268 * time/mktime.c (isdst_differ): New static function.
15269 (__mktime_internal): No need to normalize tm_isdst now.
15270 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
15271 tm_isdst values.
15272
72a22e59
PE
15273 mktime: merge another wrapv change from gnulib
15274 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
15275 from some compilers.
15276
68605433
PE
15277 mktime: remove incorrect attempt at unusual arithmetics
15278 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
15279 The code didn't really work on such machines anyway.
15280 (TYPE_MINIMUM): Assume two's complement.
15281 (twos_complement_arithmetic): Verify that long_int and time_t
15282 are two's complement (or unsigned, in the latter case).
15283
03cf7fe3
PE
15284 mktime: check signed shifts on long_int and time_t, too
15285 * time/mktime.c (SHR): Check that shifts work as desired
15286 on the types long_int and time_t too, as SHR is used on
15287 such types.
15288
f04dfbc2
PE
15289 mktime: do not assume 'long' is wide enough
15290 * time/mktime.c (verify): Move decl up.
15291 (long_int): New type.
15292 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
15293 to remove assumption in the code that 'long' is wide enough to
15294 store year values. This assumption is not true on x32 and on
15295 some non-glibc platforms.
15296
62bdf9a6
PE
15297 mktime: merge wrapv change from gnulib
15298 * time/mktime.c (WRAPV): New macro.
15299 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
15300 (guess_time_tm, __mktime_internal): Do not assume that signed
15301 integer overflow wraps around; modern compilers generate code
15302 where this assumption is no longer valid.
15303
5e292e4f
L
153042012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15305
15306 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15307 Replace "jmp L(pseudo_end)" with "ret".
15308 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
15309 Likewise.
15310
8caf8c87
AJ
153112012-05-23 Andreas Jaeger <aj@suse.de>
15312
15313 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
15314 * sysdeps/unix/sysv/linux/poll.c: Remove file.
15315
1a09dc56
AJ
153162012-05-23 Andreas Jaeger <aj@suse.de>
15317 Maximilian Attems <max@stro.at>
15318
15319 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
15320 New macros.
15321
1c87aba0
L
153222012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15323
15324 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
15325 code so that pseudo_end is just ret and the stack pointer is
15326 correct also for static library in error case.
15327
40e45bd5
JM
153282012-05-23 Joseph Myers <joseph@codesourcery.com>
15329
c2670533
JM
15330 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
15331 move to syscalls.list.
15332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15336
40e45bd5
JM
15337 * manual/install.texi (Running make install): Do not mention Linux
15338 kernel version for which pt_chown is not needed.
15339 (Linux): Do not mention problems with nscd with 2.0 kernels.
15340 * INSTALL: Regenerated.
15341
be08eda5
AJ
153422012-05-23 Andreas Jaeger <aj@suse.de>
15343
15344 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
15345 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
15346 macro.
15347 * sysdeps/unix/sysv/linux/s390/bits/mman.h
15348 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15349 * sysdeps/unix/sysv/linux/sh/bits/mman.h
15350 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15351 * sysdeps/unix/sysv/linux/i386/bits/mman.h
15352 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15353 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
15354 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15355 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
15356 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15357 * sysdeps/unix/sysv/linux/bits/in.h
15358 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
15359
a6a056bb
RM
153602012-05-22 Roland McGrath <roland@hack.frob.com>
15361
15362 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
15363 (PREPARE_VERSION): Just use assert instead, it will be elided
15364 under [NDEBUG] anyway.
15365
c9009328
L
153662012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15367
15368 * sysdeps/unix/sysv/linux/Makefile: Include
15369 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 15370 (sysdep_routines): Remove sysctl.
c9009328
L
15371 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
15372 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
15373 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
15374 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
15375 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
15376
73338355
AJ
153772012-05-22 Andreas Jaeger <aj@suse.de>
15378
15379 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
15380 that pseudo_end is just ret and the stack pointer is correct also
15381 for static library in error case.
15382
d44638b0
PP
153832012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
15384
15385 [BZ #14122]
15386 * nss/nsswitch.c (defconfig_entries): New variable.
15387 (__nss_database_lookup): Don't leak defconfig entries.
15388 (nss_parse_service_list): Don't leak on error paths.
15389 (free_database_entries): New function.
15390 (free_defconfig): New function.
15391 (free_mem): Move common code to free_database_entries.
15392
31a39bd8
L
153932012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15394
da0331a8
L
15395 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
15396 Add arch_prctl.
15397 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
15398
31a39bd8
L
15399 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15400 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
15401 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
15402 New macro.
15403 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
15404 (INTERNAL_SYSCALL_TYPES): Likewise.
15405 (LOAD_ARGS_TYPES_[1-6]): Likewise.
15406 (LOAD_REGS_TYPES_[1-6]): Likewise.
15407 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
15408 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
15409
45470df3
AZ
154102012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15411
15412 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
15413 copysignl for GLIBC_2_0.
15414 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
15415 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
15416 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
15417 logbl for GLIBC_2_0.
15418 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
15419 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
15420
98a61bcb
L
154212012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15422
a4f6e481
L
15423 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
15424 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
15425
f63d5db6
L
15426 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15427 Use "neg %eax".
15428
98a61bcb
L
15429 * time/mktime.c: Update copyright years.
15430
95770f14
PE
154312012-05-22 Paul Eggert <eggert@cs.ucla.edu>
15432
6226efbd
PE
15433 mktime: merge comment-quoting-style change from gnulib
15434 * time/mktime.c: Quote 'like this' in comments.
15435 The GNU coding standards suggest that we no longer quote `like this',
15436 as "`" and "'" are typically rendered asymmetrically nowadays.
15437 The typical gnulib style is to quote 'like this' when quoting
15438 code, and "like this" when quoting English.
15439
b99e4f78
PE
15440 * time/mktime.c (compile-command): Add "-I.".
15441
643e01e6
PE
15442 mktime: merge mktime-internal.h change from gnulib
15443 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
15444
2554247d
PE
15445 mktime: merge time_r change from gnulib
15446 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
15447
826dd0ab
PE
15448 mktime: merge DEBUG change from gnulib
15449 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
15450 case system <time.h> has a #define.
15451
bd83aabe
PE
15452 mktime: merge <sys/types.h> change from gnulib
15453 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
15454 since <time.t> is now guaranteed to define time_t.
15455
95770f14
PE
15456 mktime: merge HAVE_CONFIG_H change from gnulib
15457 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
15458
5e1a27a9
L
154592012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15460
0e44a77e
L
15461 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15462 Use "neg %eax".
15463
5e1a27a9
L
15464 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
15465 __rlim_t cast.
15466 (struct rusage): Use anonymous union to pad each field to
15467 __syscall_slong_t.
15468
46259bec
DM
154692012-05-21 David S. Miller <davem@davemloft.net>
15470
15471 * Makefules (o-iterator): Remove .s cases.
15472 (compile-command.s): Delete.
15473 (COMPILE.s): Delete.
15474 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
15475
59f0c22e
JM
154762012-05-21 Joseph Myers <joseph@codesourcery.com>
15477
15478 * configure.in (libc_cv_predef_stack_protector): Only consider
15479 "foobar" and "__stack_chk_fail" lines in libc_undefs.
15480 * configure: Regenerated.
15481
20c07380
L
154822012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15483
bbb3154b
L
15484 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15485 New macro. Use R*LP on int and pointer.
15486 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
15487 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
15488 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
15489 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
15490
20c07380
L
15491 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
15492 [__WORDSIZE_TIME64_COMPAT32] instead of
15493 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
15494 (struct utmp): Likewise.
15495 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
15496 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
15497 Renamed to ...
15498 (__WORDSIZE_TIME64_COMPAT32): This.
15499 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
15500 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
15501 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
15502 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
15503 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
15504 (__WORDSIZE_TIME64_COMPAT32): New macro.
15505
d8d1017e
AJ
155062012-05-21 Andreas Jaeger <aj@suse.de>
15507
15508 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
15509 only if [SHARED]. Add prototype for __wcschr_ia32.
15510
6c7fb145
RM
155112012-05-21 Roland McGrath <roland@hack.frob.com>
15512
15513 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
15514 of %rbp unmolested in the jmp_buf while mangling the low bits.
15515 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
15516 unmolested high bits of %rbp while demangling the low bits.
15517 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15518
66274218
AJ
155192012-05-21 Andreas Jaeger <aj@suse.de>
15520
07c58f8f
AJ
15521 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
15522 * sunrpc/svc_simple.c: Use it for registerrpc.
15523 * sunrpc/xcrypt.c: Use it for passwd2des.
15524
66274218
AJ
15525 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
15526
61f65140
L
155272012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15528
15529 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
15530 Don't define if [__SYSCALL_WORDSIZE != 32].
15531 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
15532 New macro.
15533
5fefb436
AJ
155342012-05-21 Bruno Haible <bruno@clisp.org>
15535 Andreas Jaeger <aj@suse.de>
15536
15537 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
15538 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
15539 inptr and inend for must_buffer_ch.
15540 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
15541 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
15542 * stdio-common/Makefile (tests): Remove bug15.
15543 (bug15-ENV): Remove macro.
15544 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
15545 anymore.
15546
d8e272ab
AJ
155472012-05-19 Andreas Jaeger <aj@suse.de>
15548 Roland McGrath <roland@hack.frob.com>
15549
15550 * manual/contrib.texi: Completely rewritten. It contains now an
15551 alphabetical list of contributors and their contributions.
15552
4a56a162
RH
155532012-05-21 Richard Henderson <rth@twiddle.net>
15554
15555 * misc/getauxval.c (__getauxval): Use unsigned long int.
15556 * misc/sys/auxv.h: Include <sys/cdefs.h>.
15557 (getauxval): Use unsigned long int.
15558
d024d23c
L
155592012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15560
15561 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15562
cbc00a03
RM
155632012-05-21 Roland McGrath <roland@hack.frob.com>
15564
15565 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
15566 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
15567 __alignof__ (long double).
15568
478143fa
AZ
155692012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15570
15571 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15572
c7683a6d
RH
155732012-05-20 Richard Henderson <rth@twiddle.net>
15574
15575 * misc/getauxval.c: New file.
15576 * misc/sys/auxv.h: New file.
15577 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
15578 (routines): Add getauxval.
15579 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
15580 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
15581 * elf/dl-sysdep.c (_dl_auxv): Remove.
15582 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
15583 * elf/dl-support.c (_dl_auxv): New variable.
15584 (_dl_aux_init): Initialize it.
15585 * manual/startup.texi (Auxiliary Vector): New node.
15586 * sysdeps/generic/bits/hwcap.h: New file.
15587 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
15588 * sysdeps/powerpc/sysdep.h: ... here. Include it.
15589 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
15590 * sysdeps/sparc/sysdep.h: ... here. Include it.
15591 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
15592 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
15593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15594 Update.
c7683a6d
RH
15595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
15596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
15597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
15598 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
15599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
15602 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
15603
a6f1845d
AZ
156042012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15605
15606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15607
cbcbe830
DM
156082012-05-19 David S. Miller <davem@davemloft.net>
15609
15610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15611
e0b16cc2
JM
156122012-05-19 Joseph Myers <joseph@codesourcery.com>
15613
15614 [BZ #14123]
15615 * math/s_ccosh.c: Include <float.h>
15616 (__ccosh): Avoid internal overflow calculating sinh and cosh
15617 values before multiplying by sin and cos values.
15618 * math/s_ccoshf.c: Likewise.
15619 * math/s_ccoshl.c: Likewise.
15620 * math/s_csin.c: Likewise.
15621 * math/s_csinf.c: Likewise.
15622 * math/s_csinl.c: Likewise.
15623 * math/s_csinh.c: Likewise.
15624 * math/s_csinhf.c: Likewise.
15625 * math/s_csinhl.c: Likewise.
15626 * math/libm-test.inc (ccos_test): Add more tests.
15627 (ccosh_test): Likewise.
15628 (csin_test): Likewise.
15629 (csinh_test): Likewise.
15630 * sysdeps/i386/fpu/libm-test-ulps: Update.
15631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15632
6ad13e08
L
156332012-05-19 H.J. Lu <hongjiu.lu@intel.com>
15634
f66f0ce8
L
15635 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
15636 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
15637
6ad13e08
L
15638 * sysdeps/x86_64/x32/_itoa.h: Add comment.
15639
b1d072a7
JM
156402012-05-19 Joseph Myers <joseph@codesourcery.com>
15641
15642 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
15643 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
15644 * sysdeps/powerpc/soft-fp/Versions: Likewise.
15645 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
15646 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
15647 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
15648 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
15649 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
15650 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
15651 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
15652 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
15653 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
15654 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
15655 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
15656 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
15657 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
15658 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
15659 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
15660 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
15661 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
15662 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
15663 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
15664 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
15665 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
15666 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
15667 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
15668 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
15669 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
15670 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
15671 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
15672 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
15673
9eae47cb
AJ
156742012-05-18 Andreas Jaeger <aj@suse.de>
15675
15676 * csu/.gitignore: Delete.
15677
bb07f69f
L
156782012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15679
15680 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
15681 (timex): Use __syscall_slong_t.
15682
e6bdb741
AJ
156832012-05-18 Andreas Jaeger <aj@suse.de>
15684 Carlos O'Donell <carlos_odonell@mentor.com>
15685
15686 * manual/install.texi (Configuring and compiling): Update
15687 description about files modified in the source directory.
d6c33fda 15688 * INSTALL: Regenerated.
e6bdb741 15689
1b74487e
L
156902012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15691
15692 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
15693 value. Use "or" to set return value to -1.
15694 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
15695 negate return value.
15696
a88b64b9
TMQMF
156972012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15698
15699 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
15700 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
15701 failure if the compiler has Graphite support disabled.
15702 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
15703 Likewise.
15704 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
15705 CFLAGS-memmove.c): Likewise.
15706 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
15707 Likewise.
15708
3707636e
L
157092012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15710
610b8622
L
15711 * sysdeps/x86_64/x32/_itoa.h: New file.
15712
7cd195df
L
15713 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
15714 getdents system call only if kernel and user dirents have the
15715 same d_ino and d_off.
15716
94b07d20
L
15717 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15718 LLONG_MAX != LONG_MAX.
15719 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15720 (_fitoa_word): Likewise.
15721
18298070
L
15722 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
15723 years.
15724 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
15725 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
15726 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
15727
553c7ea4
L
15728 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
15729 include <bits/wordsize.h>. Check __x86_64__ instead of
15730 __WORDSIZE.
15731 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
15732 if __x86_64__ is defined. Use anonymous union on fpstate.
15733
3707636e
L
15734 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
15735 anonymous union.
15736
b53ef01a
AS
157372012-05-18 Andreas Schwab <schwab@linux-m68k.org>
15738
37fb1dc0
AS
15739 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
15740 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
15741 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
15742 Refer to _rtld_local_ro instead of _rtld_global_ro.
15743 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
15744 Likewise.
15745 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
15746 Likewise.
15747 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
15748 Likewise.
15749 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
15750 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
15751 of _rtld_global, and rtld_progname instead of _dl_argv[0].
15752
b53ef01a
AS
15753 * sysdeps/powerpc/powerpc32/dl-machine.c
15754 (__elf_machine_runtime_setup) [PROF]: Don't reference
15755 _dl_prof_resolve.
15756
7a185db2
AJ
157572012-05-18 Andreas Jaeger <aj@suse.de>
15758
15759 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
15760 function only available for GCCs before 3.4 since GCC 3.4
15761 introduced a builtin.
15762 (lrint): Likewise.
15763 (llrintf): Likewise.
15764 (llrint): Likewise.
15765 (fmaxf): Likewise.
15766 (fmax): Likewise.
15767 (fminf): Likewise.
15768 (fmin): Likewise.
15769 (rint): Likewise.
15770 (rintf): Likewise.
15771 (nearbyint): Likewise.
15772 (nearbyintf): Likewise.
15773 (ceil): Likewise.
15774 (ceilf): Likewise.
15775 (floor): Likewise.
15776 (floorf): Likewise.
15777
3e5aef87
L
157782012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15779
428bd707
L
15780 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
15781 on both fields and cast pointer to __syscall_ulong_t.
15782
3e5aef87
L
15783 * bits/types.h (__fsword_t): New type.
15784 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
15785 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
15786 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15787 (__FSWORD_T_TYPE): Likewise.
15788 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15789 (__FSWORD_T_TYPE): Likewise.
15790 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15791 (__FSWORD_T_TYPE): Likewise.
15792 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
15793 (__FSWORD_T_TYPE): Likewise.
15794 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
15795 __SWORD_TYPE with __fsword_t.
15796 (statfs64): Likewise.
15797
1ba7c3dc
DM
157982012-05-17 David S. Miller <davem@davemloft.net>
15799
15800 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
15801
59910343
AJ
158022012-05-17 Andreas Jaeger <aj@suse.de>
15803
15804 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
15805 warning.
15806
2e4c1e9e
L
158072012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15808
15809 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
15810
de7f5ce7
AJ
158112012-05-17 Andreas Jaeger <aj@suse.de>
15812
15813 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
15814 when it is used.
15815
286abc3d
CM
158162012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15817
15818 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
15819
477cc68e
L
158202012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15821
15822 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
15823 * sysdeps/x86_64/tst-mallocalign1.c: New file.
15824
1a0994f5
CD
158252012-05-17 Andreas Jaeger <aj@suse.de>
15826 Carlos O'Donell <carlos_odonell@mentor.com>
15827
15828 [BZ #14059]
15829 * sysdeps/x86_64/multiarch/init-arch.h
15830 (bit_YMM_Usable): Rename to...
15831 (bit_AVX_Usable): ... this.
15832 (bit_FMA4_Usable): New macro.
15833 (bit_XMM_state): New macro.
15834 (bit_YMM_state): New macro.
15835 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
15836 [__ASSEMBLER__] (index_AVX_Usable): ... this.
15837 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
15838 (CPUID_OSXSAVE): New macro.
15839 (CPUID_AVX): New macro.
15840 (CPUID_FMA4): New macro.
15841 (index_YMM_Usable): Rename to...
15842 (index_AVX_Usable): ... this.
15843 (HAS_AVX): Use HAS_ARCH_FEATURE.
15844 (HAS_FMA4): Likewise.
15845 (HAS_YMM_USABLE): Remove.
15846 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15847 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
15848 are present.
15849 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
15850 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
15851 * sysdeps/x86_64/multiarch/Makefile: Likewise.
15852 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
15853 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
15854
0af797de
CM
158552012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15856
15857 * math/libm-test.c: Support platforms without multiple rounding modes.
15858 * math/bug-nextafter.c: Support platforms without FP exceptions.
15859 * math/bug-nexttoward.c: Likewise.
15860 * math/test-fenv.c: Likewise.
15861 * math/test-misc.c: Likewise.
15862 * stdlib/bug-getcontext.c: Likewise.
15863
e39745ff
AJ
158642012-05-17 Andreas Jaeger <aj@suse.de>
15865
15866 * manual/examples/search.c (critter_cmp): Change signature to
15867 avoid warnings.
15868 * manual/string.texi (Collation Functions): Likewise.
15869
48970aba
L
158702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15871
15872 * bits/types.h: Fold copyright years.
15873 * bits/typesizes.h: Likewise.
15874 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
15875 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15876 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
15877 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
15878 * time/time.h: Likewise.
15879
bedee953
PP
158802012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
15881
15882 [BZ #208]
15883 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
15884 in instead of returning them. Return void.
15885 (__libc_mallinfo): Accumulate over all arenas.
15886 (__malloc_stats): Adjust for change in int_mallinfo interface.
15887
61653dfb
RM
158882012-05-16 Roland McGrath <roland@hack.frob.com>
15889
30b99d79
RM
15890 [BZ #10375]
15891 * configure.in (NM): Add AC_CHECK_TOOL for it.
15892 (libc_extra_cflags): New substituted variable.
15893 Check for -fstack-protector being used implicitly.
15894 * configure: Regenerated.
15895 * config.make.in (config-extra-cflags): New variable,
15896 gets @libc_extra_cflags@.
15897 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
15898
61653dfb
RM
15899 [BZ #10375]
15900 * configure.in: Check for _FORTIFY_SOURCE being predefined.
15901 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
15902 * configure: Regenerated.
15903 * config.make.in (CPPUNDEFS): New substituted variable.
15904 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
15905 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
15906 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
15907
661768bb
L
159082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15909
15910 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
15911 (mq_attr): Use __syscall_slong_t.
15912
d4261567
L
159132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15914
15915 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
15916 Check __x86_64__ instead of __WORDSIZE.
15917 (_STAT_VER_LINUX): Likewise.
15918 (stat): Check __x86_64__ instead of __WORDSIZE. Use
15919 __syscall_ulong_t and __syscall_slong_t.
15920 (stat64): Likewise.
15921
cf3ff365
L
159222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15923
15924 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
15925
76cf3e4d
L
159262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15927
15928 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
15929
a637753a
L
159302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15931
15932 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
15933 __syscall_ulong_t.
15934
d5e05119
L
15935 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
15936 include <bits/wordsize.h>. Check __x86_64__ instead of
15937 __WORDSIZE.
15938 (greg_t): Use "__extension__ long long int" if __x86_64__ is
15939 defined.
15940 (mcontext_t): Replace "unsigned long" with "unsigned long long".
15941
f62ee380
L
15942 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
15943 include <bits/wordsize.h>. Check __x86_64__ instead of
15944 __WORDSIZE.
15945 (user_regs_struct): Use "__extension__ unsigned long long"
15946 instead of "unsigned long" if __x86_64__ is defined.
15947 (user): Likewise. Pad after pointer field if __ILP32__ is
15948 defined.
15949
4e124ced
JM
159502012-05-16 Joseph Myers <joseph@codesourcery.com>
15951
6a3951a0
JM
15952 * configure.in (makeinfo): Require version 4.5 or later. Allow
15953 versions 5 to 9.
15954 * configure: Regenerated.
15955 * manual/install.texi (texinfo): Increase version requirement to
15956 4.5 or later.
15957 * INSTALL: Regenerated.
15958
4e124ced
JM
15959 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
15960
953ca31a
L
159612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15962
15963 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
15964
617aca05
L
15965 * sysdeps/x86_64/x32/ffs.c: New file.
15966
5762f7ae
L
15967 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
15968 __syscall_ulong_t.
15969 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
15970 defined. Use __syscall_ulong_t.
15971 (shminfo): Use __syscall_ulong_t.
15972 (shm_info): Likewise.
15973
a26b6856
L
15974 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
15975 __syscall_ulong_t.
15976
cb2b9ef7
L
15977 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
15978 <bits/wordsize.h>.
15979 (msgqnum_t): Use __syscall_ulong_t.
15980 (msglen_t): Likewise.
15981 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
15982 __syscall_ulong_t.
15983
34683bb0
L
15984 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
15985 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
15986
84a68786
L
15987 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
15988
48baa5f1
L
15989 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
15990 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
15991
180be88b
L
15992 * sysvipc/sys/msg.h (msgbuf): Replace long int with
15993 __syscall_slong_t.
15994
5e90c8ad
L
15995 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
15996 include <bits/wordsize.h>. Check __x86_64__ instead of
15997 __WORDSIZE.
15998
23dfb58b
L
15999 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
16000 "unsigned long long int" if __x86_64__ is defined.
16001 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
16002
ce5d54b0
L
16003 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
16004 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16005 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
16006
13dc9eac
L
16007 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
16008 <stdint.h>.
16009 (GET_PC): Cast to uintptr_t first.
16010 (GET_FRAME): Likewise.
16011 (GET_STACK): Likewise.
16012
a7895d15
L
16013 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
16014 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
16015 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
16016 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
16017 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
16018 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
16019 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
16020 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
16021 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
16022 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
16023 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
16024 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
16025 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16026 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
16027 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
16028 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
16029 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
16030 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
16031 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
16032 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
16033 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
16034 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
16035 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
16036 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
16037 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
16038 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
16039 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
16040 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
16041 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
16042
656416c9
AS
160432012-05-16 Andreas Schwab <schwab@linux-m68k.org>
16044
5bd66283
AS
16045 * Makerules (+depfiles): Also collect depfiles from .oS in
16046 $(extra-objs).
16047 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
16048 .oS, $(libnldbl-routines)).
16049
656416c9
AS
16050 * Makerules (native-compile-mkdep-flags): Define.
16051 * sunrpc/Makefile (extra-objs): Add $(addprefix
16052 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
16053 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
16054 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
16055 calling $(make-target-directory).
16056
a46f2169
L
160572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16058
16059 * bits/types.h (__snseconds_t): Removed.
16060 * time/time.h (struct timespec): Replace __snseconds_t with
16061 __syscall_slong_t.
16062 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
16063 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
16064 Likewise.
16065 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16066 (__SNSECONDS_T_TYPE): Likewise.
16067 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16068 (__SNSECONDS_T_TYPE): Likewise.
16069 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16070 (__SNSECONDS_T_TYPE): Likewise.
16071
6af6528b
L
160722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16073
16074 * sysdeps/mach/hurd/bits/typesizes.h
16075 (__SYSCALL_SLONG_TYPE): New macro.
16076 (__SYSCALL_ULONG_TYPE): Likewise.
16077
de986b56
L
160782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16079
16080 * bits/types.h (__syscall_slong_t): New type.
16081 (__syscall_ulong_t): Likewise.
16082
16083 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
16084 (__SYSCALL_ULONG_TYPE): Likewise.
16085 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16086 (__SYSCALL_SLONG_TYPE): Likewise.
16087 (__SYSCALL_ULONG_TYPE): Likewise.
16088 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16089 (__SYSCALL_SLONG_TYPE): Likewise.
16090 (__SYSCALL_ULONG_TYPE): Likewise.
16091 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16092 (__SYSCALL_SLONG_TYPE): Likewise.
16093 (__SYSCALL_ULONG_TYPE): Likewise.
16094
85736dc7
L
160952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16096
16097 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
16098 Add sigaltstack-offsets.sym.
16099 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
16100 <sigaltstack-offsets.h>.
16101 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
16102 longjmp_msg pointer.
16103 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
16104 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
16105 signal stack.
16106 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
16107
cc03b296
JM
161082012-05-15 Joseph Myers <joseph@codesourcery.com>
16109
a9538892
JM
16110 * elf/stackguard-macros.h: Remove file.
16111 * sysdeps/generic/stackguard-macros.h: New file.
16112 * sysdeps/i386/stackguard-macros.h: Likewise.
16113 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16114 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16115 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16116 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16117 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16118 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16119 * sysdeps/x86_64/stackguard-macros.h: Likewise.
16120 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
16121 <elf/stackguard-macros.h>.
16122
cc03b296
JM
16123 [BZ #14109]
16124 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
16125 __aligned__ in attribute.
16126 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
16127 (gregset_t): Likewise.
16128
93171016
L
161292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16130
16131 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
16132 * sysdeps/x86_64/64/Implies-after: Here. New file.
16133 * sysdeps/x86_64/x32/Implies-after: New file.
16134
d86813a0
L
161352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16136
16137 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
16138 and access return value for _dl_profile_fixup. Use R10_LP to
16139 load frame size.
16140
2953ec75
L
161412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16142
16143 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
16144
3b550e9e
L
161452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16146
16147 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
16148 * sysdeps/x86_64/x32/sysdep.h: New file.
16149
eda41706
L
161502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16151
16152 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
16153 * sysdeps/x86_64/setjmp.S: Likewise.
16154
9ea01d93
AZ
161552012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16156
16157 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
16158 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
16159 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
16160 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
16161 remove unused global constant.
16162
02a91938
CM
161632012-05-15 Chris Metcalf <cmetcalf@tilera.com>
16164
16165 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
16166 include of <not-cancel.h>.
16167
6540185f
RM
161682012-05-15 Roland McGrath <roland@hack.frob.com>
16169
16170 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
16171
509072a0
AJ
161722012-05-15 Jeff Law <law@redhat.com>
16173 Andreas Jaeger <aj@suse.de>
16174
16175 [BZ #13594]
16176 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
16177 out from...
16178 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
16179 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
16180 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
16181 code changing __hst_map_handle.map.
16182
ba75122d
RM
161832012-05-15 Roland McGrath <roland@hack.frob.com>
16184
16185 * configure.in (sysnames): Look for Implies-before and Implies-after
16186 files.
16187 * configure: Regenerated.
16188
890d8bd8
L
161892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16190
16191 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
16192 8-byte data alignment with LP_SIZE alignment.
16193
f6ee6623
L
161942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16195
16196 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
16197 into R10_LP.
16198
ea2626f6
L
161992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16200
16201 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
16202
085f715e
L
162032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16204
16205 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
16206 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
16207 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
16208 Likewise.
16209 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16210
be8498fc
L
162112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16212
16213 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
16214 (stackinfo_sub_sp): Likewise.
16215
70bc83b9
L
162162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16217
16218 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
16219 RAX_LP.
16220
9bc0b730
L
162212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16222
16223 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
16224 into R*_LP.
16225
6d2850e7
L
162262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16227
16228 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
16229 sizes into R*_LP.
16230
3cb84561
L
162312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16232
16233 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
16234
54e2ed81
L
162352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16236
16237 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
16238 into R11_LP and load __x86_64_shared_cache_size_half into
16239 R8_LP.
16240
8a17f349
L
162412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16242
16243 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
16244 R8_LP.
16245
777b1eea
AZ
162462012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16247
16248 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
16249 logb for POWER7.
16250 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
16251 logbf for POWER7.
16252 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
16253 logbl for POWER7.
16254 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
16255 powerpc32/power7/fpu/s_logb.c via #include.
16256 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
16257 powerpc32/power7/fpu/s_logbf.c via #include.
16258 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
16259 powerpc32/power7/fpu/s_logbl.c via #include.
16260
d20d4ac2
JM
162612012-05-15 Joseph Myers <joseph@codesourcery.com>
16262
16263 * README.libm: Remove file.
16264
6cdef1ab
L
162652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16266
16267 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
16268 count for x32. Use R*_LP and omit operand-size suffix.
16269
0b254d8f
L
162702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16271
16272 * shlib-versions: Move x86_64-.*-linux.* entries to ...
16273 * sysdeps/x86_64/64/shlib-versions: Here. New file.
16274 * sysdeps/x86_64/x32/shlib-versions: New file.
16275
ceb809dc
RM
162762012-05-14 Roland McGrath <roland@hack.frob.com>
16277
16278 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
16279 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
16280 Use _dl_fatal_printf instead.
16281
37f1abd4
JM
162822012-05-14 Joseph Myers <joseph@codesourcery.com>
16283
16284 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
16285 set if not set by the user. Do not allow for being unset.
16286 * sysdeps/unix/sysv/linux/configure: Regenerated.
16287
11de3a33
L
162882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16289
16290 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
16291 the `q' suffix from lea and replace .quad with ASM_ADDR.
16292
e02f153a
L
162932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16294
16295 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
16296 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
16297 instead of $17.
16298 (PTR_DEMANGLE): Likewise.
16299
520ae0fd
L
163002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16301
16302 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
16303 (LP_OP): Likewise.
16304 (ASM_ADDR): Likewise.
16305 (RAX_LP): Likewise.
16306 (RBP_LP): Likewise.
16307 (RBX_LP): Likewise.
16308 (RCX_LP): Likewise.
16309 (RDI_LP): Likewise.
16310 (RSI_LP): Likewise.
16311 (RSP_LP): Likewise.
16312 (R8_LP): Likewise.
16313 (R9_LP): Likewise.
16314 (R10_LP): Likewise.
16315 (R10_LP): Likewise.
16316 (R11_LP): Likewise.
16317 (R12_LP): Likewise.
16318 (R13_LP): Likewise.
16319 (R14_LP): Likewise.
16320 (R15_LP): Likewise.
16321
b985be81
L
163222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16323
16324 * sysdeps/x86_64/x32/dl-machine.h: New file.
16325
6a4888ff
AJ
163262012-05-14 Andreas Jaeger <aj@suse.de>
16327
16328 * manual/Makefile (subdir): Remove export of subdir.
16329 (all): Remove target.
16330 (.PHONY): Remove all from list.
16331 (mkinstalldirs): Remove.
16332 (.PHONY): Remove installdirs from list.
16333 ($(inst_infodir)/libc.info): Use make-target-directory.
16334 (installdirs): Remove.
16335 (subdir_%): Remove.
16336 (glibc-targets): Remove.
16337 (lib): Remove.
16338 (stubs): Remove.
16339 ($(objpfx)stubs ../po/manual.pot): Remove.
16340 ($(objpfx)stamp%): Remove.
16341 (make-target-directory): Remove.
16342 (subdir_install): Remove.
16343 (routines): Remove.
16344 (aux): Remove.
16345 (sources): Remove.
16346 (objects): Remove.
16347 (headers): Remove.
16348
16349 [BZ #13750]
16350 * manual/.gitignore: Remove, it's not needed anymore.
16351 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
16352 all files in it.
16353 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
16354 directory.
16355 (texis): Renamed to $(objpfx)texis.
16356 (texis-path): New, contains path to generated files.
16357 (chapters.%): Use texis-path for complete path, add extra argument
16358 libc-texinfo.sh.
16359 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
16360 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
16361 (summary,texi, stamp-summary): Use complete path of
16362 files. Generate files in build dir.
16363 (dir-add.texi): Build in build dir.
16364 (libm-err.texi,stamp-libm-err): Likewise.
16365 (version.texi, stamp-version): Likewise.
16366 (.%c.texi): Likewise.
16367 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
16368 (mostlyclean): Remove target.
16369 (realclean): Remove target.
16370 (generated): Add new variable with contents from mostlyclean and
16371 realclean, remove entries duplicated in common-mostlyclean, add
16372 stamp-libm-err and stamp-version.
16373 (generated-dirs): Add libc directory.
16374 ($(inst_infodir)/libc.info): Install files from build dir.
16375
16376 * manual/install.texi (Configuring and compiling): Adjust since
16377 the info files are not part of the tar ball anymore.
16378
7ac77294
AJ
163792012-05-14 Andreas Jaeger <aj@suse.de>
16380
16381 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
16382 variable.
16383
ffb7875d
JM
163842012-05-14 Joseph Myers <joseph@codesourcery.com>
16385
16386 [BZ #13717]
16387 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16388 to 2.2.0 where earlier.
16389 * sysdeps/unix/sysv/linux/configure: Regenerated.
16390 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
16391 Remove conditional code.
16392 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
16393 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
16394 Remove conditional code.
16395 [!__NR_lchown]: Likewise.
16396 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16397 [__NR_lchown]: Likewise.
16398 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
16399 comment referencing __ASSUME_LCHOWN_SYSCALL.
16400 * sysdeps/unix/sysv/linux/i386/sigaction.c
16401 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16402 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16403 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
16404 Remove conditional code.
16405 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
16406 (__protocol_available): Remove #if 0 code.
16407 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
16408 conditional code.
16409 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
16410 * sysdeps/unix/sysv/linux/kernel-features.h
16411 (__ASSUME_GETCWD_SYSCALL): Don't define.
16412 (__ASSUME_REALTIME_SIGNALS): Likewise.
16413 (__ASSUME_PREAD_SYSCALL): Likewise.
16414 (__ASSUME_PWRITE_SYSCALL): Likewise.
16415 (__ASSUME_POLL_SYSCALL): Likewise.
16416 (__ASSUME_LCHOWN_SYSCALL): Likewise.
16417 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
16418 non-SPARC.
16419 (__ASSUME_SIOCGIFNAME): Don't define.
16420 (__ASSUME_MSG_NOSIGNAL): Likewise.
16421 (__ASSUME_SENDFILE): Define unconditionally.
16422 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
16423 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
16424 conditional code.
16425 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
16426 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
16427 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
16428 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16429 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
16430 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
16431 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
16433 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16434 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16436 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16437 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
16439 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16440 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
16442 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16443 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
16445 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16446 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
16448 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16449 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
16451 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16452 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
16454 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16455 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16456 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
16457 Remove conditional code.
16458 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16459 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
16460 Remove conditional code.
16461 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16462 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
16463 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
16464 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
16465 Remove conditional code.
16466 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16467 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
16468 Remove conditional code.
16469 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16470 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
16471 Remove conditional code.
16472 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16473 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
16474 Remove conditional code.
16475 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16476 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
16477 Remove conditional code.
16478 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16479 * sysdeps/unix/sysv/linux/sh/pwrite64.c
16480 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16481 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16482 * sysdeps/unix/sysv/linux/sigaction.c
16483 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16484 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16485 * sysdeps/unix/sysv/linux/sigpending.c
16486 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16487 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16488 * sysdeps/unix/sysv/linux/sigprocmask.c
16489 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16490 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16491 * sysdeps/unix/sysv/linux/sigsuspend.c
16492 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16493 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16494 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16495 (__libc_missing_rt_sigs): Remove.
16496 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
16497 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
16498 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
16499 Remove conditional code.
16500 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
16501 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
16502 return 1.
16503 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
16504 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
16505 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
16506 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
16507
1bfb7291
AJ
165082012-05-14 Andreas Jaeger <aj@suse.de>
16509
caae5a81
AJ
16510 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
16511 it's not used in glibc.
16512 (__coshm1): Likewise.
16513 (__acosh1p): Likewise.
16514 (__sgn): Likewise.
16515
1bfb7291
AJ
16516 * manual/string.texi (Copying and Concatenation): Add missing
16517 variable in concat example.
16518 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
16519
c044d724
L
165202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16521
144c5467 16522 [BZ #14103]
c044d724
L
16523 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
16524 __builtin_clzl with __builtin_clzll.
16525
2523c62b
L
165262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16527
16528 [BZ #14104]
16529 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
16530 libc_freeres_ptr.
16531
d7bb4c42
LD
165322012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16533
16534 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
16535 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
16536 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
16537 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
16538
9dc4e1fb
MF
165392012-05-14 Mike Frysinger <vapier@gentoo.org>
16540
16541 * NEWS: Update ia64 info.
16542
c7df0112
AS
165432012-05-12 Andreas Schwab <schwab@linux-m68k.org>
16544
16545 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
16546 used as bcopy.
16547
dc70356c
TS
165482012-05-12 Thomas Schwinge <thomas@codesourcery.com>
16549
16550 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
16551 * sysdeps/unix/syscalls.list (dup3): Likewise.
16552 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
16553 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
16554
9fb1a21f
L
165552012-05-11 H.J. Lu <hongjiu.lu@intel.com>
16556
16557 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
16558 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
16559
4822a2a5
L
165602012-05-11 H.J. Lu <hongjiu.lu@intel.com>
16561
16562 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
16563 thread pointer.
16564 (TLS_IE): Use mov/add instead of movq/addq to load thread
16565 pointer.
16566 (TLS_GD_PREFIX): New.
16567 (TLS_GD): Use it.
16568
842b81d6
DM
165692012-05-11 David S. Miller <davem@davemloft.net>
16570
16571 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
16572 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
16573 (_FPU_SETCW): Likewise.
16574
1cf463cd
L
165752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16576
16577 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
16578 is 32-byte aligned.
16579
60cc4a18
AS
165802012-05-11 Andreas Schwab <schwab@linux-m68k.org>
16581
16582 [BZ #11837]
16583 * iconvdata/gb18030.c: Update tables.
16584 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
16585 characters specially.
16586 (BODY for TO_LOOP): Add encoding of missing ranges.
16587
febb44a4
TS
165882012-05-11 Thomas Schwinge <thomas@codesourcery.com>
16589
16590 [BZ #13673]
16591 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
16592 * sysdeps/mach/hurd/dup3.c: Likewise.
16593 * sysdeps/mach/hurd/readlinkat.c: Likewise.
16594 * sysdeps/powerpc/memmove.c:: Likewise.
16595
0a10fb9e
L
165962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16597
16598 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
16599 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
16600
df8a552f
L
166012012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16602
16603 * elf/elf.h (R_X86_64_RELATIVE64): New.
16604 (R_X86_64_NUM): Updated.
16605 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16606 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
16607 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
16608 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
16609 tst-quad1pie tst-quad2pie
16610 (modules-names): Add tst-quadmod1 tst-quadmod2.
16611 ($(objpfx)tst-quad1): New dependency.
16612 ($(objpfx)tst-quad2): Likewise.
16613 ($(objpfx)tst-quad1pie): Likewise.
16614 ($(objpfx)tst-quad2pie): Likewise.
16615 * sysdeps/x86_64/tst-quad1.c: New file.
16616 * sysdeps/x86_64/tst-quad1pie.c: New file.
16617 * sysdeps/x86_64/tst-quad2.c: Likewise.
16618 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
16619 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
16620 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
16621 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
16622 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
16623
f34d6f84
ST
166242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16625
f42d41d1
ST
16626 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
16627 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
16628 * streams/stropts.h (t_scalar_t): Define type.
16629
3c3571fc
ST
16630 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
16631 (_PATH_PRESERVE): Set to "/var/lib".
16632 (_PATH_RWHODIR): Set to "/var/spool/rwho".
16633
61f06bd3
ST
16634 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
16635 instead of int.
16636
918d4d71
ST
16637 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
16638 if __dir_mkfile succeeded.
16639
f34d6f84
ST
16640 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
16641 checking for _hurd_dtablesize. Unlock it right after having
16642 finished _hurd_dtable allocation.
16643
10589b4a
TS
166442012-05-10 Thomas Schwinge <thomas@schwinge.name>
16645
674cdbc7
TS
16646 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
16647 * sysdeps/mach/hurd/configure: Regenerated.
16648 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
16649 special-casing to...
16650 * sysdeps/gnu/configure.in: ... this new file.
16651 * sysdeps/unix/sysv/linux/configure: Regenerated.
16652 * sysdeps/gnu/configure: New generated file.
16653
8e41b99f
TS
16654 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
16655 for Linux: use nsec instead of usec, as well as:
16656 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
16657 members of type struct timespec.
16658 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
16659 New macros.
16660 (struct stat64): Likewise.
16661 (_STATBUF_ST_NSEC): New macro.
16662 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
16663
10589b4a
TS
16664 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16665 __strtoul_internal rather than strtoul.
16666
63643c85
PT
166672012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16668
16669 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
16670 and reject them.
16671
3faebe6a
ST
166722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16673
16674 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
16675 which preserves existing values.
16676 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
16677
c6474b07
PT
166782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16679
16680 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
16681 TIMEOUT values. Return EINVAL for NFDS values either negative or
16682 greater than FD_SETSIZE.
16683
1043890b
ST
166842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16685
16686 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
16687 allocated, call __vm_protect to finish enabling the existing space, and
16688 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
16689 allocate the remainder.
16690
37ed8b9b
PT
166912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16692
16693 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
16694 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
16695
db653660
ST
166962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16697
37ed8b9b
PT
16698 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
16699 sysdeps/mach/hurd/readlink.c.
b29d4053 16700
db653660
ST
16701 * posix/tst-sysconf.c (posix_options): Only use
16702 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
16703 _POSIX_SYNCHRONIZED_IO when they are defined
16704 * sysdeps/mach/hurd/bits/posix_opt.h:
16705 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
16706 (_XOPEN_REALTIME): Undefine macro.
16707 (_XOPEN_REALTIME_THREADS): Undefine macro.
16708 (_XOPEN_SHM): Undefine macro.
16709 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
16710 macro to -1.
16711 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
16712 macro to -1.
16713 (_POSIX_ASYNC_IO): Undefine macro.
16714 (_POSIX_PRIORITIZED_IO): Undefine macro.
16715 (_POSIX_SPIN_LOCKS): Define macro to -1.
16716
ee16e894
ST
16717 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
16718 SA_NODEFER, SA_RESETHAND.
16719 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
16720 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
16721 F_DUPFD_CLOEXEC.
16722
6103ae3b
TS
167232012-05-10 Thomas Schwinge <thomas@schwinge.name>
16724
16725 * elf/Makefile (pldd-modules): Define unconditionally.
16726
80b4e5f3
TS
167272012-05-10 Thomas Schwinge <thomas@schwinge.name>
16728
16729 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
16730
edadcbd6
ST
167312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16732
16733 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
16734 Return ENOENT when name is empty.
16735 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
16736
80694780
TS
167372012-05-10 Thomas Schwinge <thomas@schwinge.name>
16738
1792c087
TS
16739 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
16740
80694780
TS
16741 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
16742
6b645f0d
ST
167432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16744
80694780
TS
16745 Fix mlock in all cases except non-readable pages.
16746 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
16747 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 16748
6b645f0d
ST
16749 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
16750 (__mkdir): When path is `/', just fail with EEXIST.
16751 * sysdeps/mach/hurd/mkdirat.c: Likewise.
16752
e468f8a3
TS
167532012-05-10 Thomas Schwinge <thomas@schwinge.name>
16754
16755 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
16756 <sys/uio.h> (for writev).
16757 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
16758 and <sys/param.h> (for MIN).
16759
a4186cff
PT
167602012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16761
16762 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
16763 REQUESTED_TIME. Properly set the remaining time and return EINTR
16764 if interrupted.
16765
510bbf14
TS
167662012-05-10 Thomas Schwinge <thomas@schwinge.name>
16767
16768 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
16769 Depend on against $(link-rpcuserlibs).
16770
5d5722e8
ST
167712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16772
a4186cff
PT
16773 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
16774 (__libc_stack_end): Do not use attribute_relro.
16775 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
16776 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 16777 to libthread-provided value.
a4186cff
PT
16778 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
16779 attribute_relro.
5d5722e8 16780
37233df9
TS
167812012-05-10 Thomas Schwinge <thomas@schwinge.name>
16782
be971a2b
TS
16783 [BZ #3748]
16784 * bits/libc-lock.h (__libc_once_get): New macro.
16785 * sysdeps/mach/bits/libc-lock.h: Likewise.
16786 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
16787 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
16788 instead of using implementation details.
16789
37233df9
TS
16790 * libio/fileops.c: Unconditionally include <kernel-features.h>.
16791 * libio/freopen.c: Likewise.
16792 * libio/freopen64.c: Likewise.
16793 * misc/syslog.c: Likewise.
16794 * nscd/connections.c: Likewise.
16795 * nscd/netgroupcache.c: Likewise.
16796 * sysdeps/posix/getcwd.c: Likewise.
16797
38de94a5
RM
167982012-05-10 Roland McGrath <roland@hack.frob.com>
16799
16800 * math/w_ilogbf.c: Add #include <limits.h>.
16801
67530489
ST
168022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16803
a4186cff 16804 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
16805 path instead of returning without unlocking.
16806
67530489
ST
16807 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
16808 immediate-write ioctls.
16809 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
16810
5aa3a74a
TS
168112012-05-10 Thomas Schwinge <thomas@schwinge.name>
16812
18bad2ae
TS
16813 * sysdeps/mach/hurd/i386/init-first.c (init): Use
16814 __builtin_frame_address instead of making assumptions about the
16815 location of the return address relative to DATA. Force early load of
16816 the return address.
16817 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
16818 __builtin_frame_address.
16819
5aa3a74a
TS
16820 dup3 for GNU Hurd.
16821 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
16822 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
16823 implement dup3 and do some further code clean-ups.
16824 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
16825 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
16826
ecd0de9a
ST
168272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16828
cd9fa985
ST
16829 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
16830
a4186cff
PT
16831 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
16832 HURD_CRITICAL_END around holding _hurd_dtable_lock.
16833 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
16834 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
16835 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
16836 d->port.lock.
802ca5a5 16837
a4186cff
PT
16838 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
16839 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
16840 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 16841
bcf55240
TS
168422012-05-10 Thomas Schwinge <thomas@schwinge.name>
16843
6960eb42
TS
16844 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
16845 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
16846 definitions.
16847
eb43375f
TS
16848 accept4 for GNU Hurd.
16849 * include/sys/socket.h (__libc_accept4): New prototype.
16850 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
16851 to implement __libc_accept4.
16852 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
16853 __libc_accept4.
16854 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
16855
bcf55240
TS
16856 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
16857 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
16858 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
16859 signal-defines.sym.
16860
6178c55b
ST
168612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16862
a4186cff 16863 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 16864
6f080c2f
TS
168652012-05-10 Thomas Schwinge <thomas@schwinge.name>
16866
16867 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
16868 assertion on O_CLOEXEC flag.
16869 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
16870 * hurd/intern-fd.c: Likewise.
16871 * hurd/port2fd.c: Likewise.
16872
bcfe3a54
ST
168732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16874
16875 [BZ #3906]
16876 * bits/in.h (IPV6_PKTINFO): Define new macro.
16877 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
16878
89c9aa49
AZ
168792012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16880
16881 [BZ #13954]
16882 [BZ #13955]
16883 [BZ #13956]
16884 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
16885 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16886 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
16887 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16888 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16889 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16890 * math/libm-test.inc (logb_test) : Additional logb tests.
16891
021db4be
AJ
168922012-05-09 Andreas Schwab <schwab@linux-m68k.org>
16893 Andreas Jaeger <aj@suse.de>
16894
16895 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
16896 * configure: Regenerated.
16897 * config.h.in (LINK_OBSOLETE_RPC): New macro.
16898 * config.make.in (link-obsolete-rpc): New substituted variable.
16899 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
16900 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
16901 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16902 (shared-only-routines): Don't set it under [link-obsolete-rpc],
16903 so that libc.a contains the symbols.
16904 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16905 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
16906 * sunrpc/auth_none.c: Likewise.
16907 * sunrpc/auth_unix.c: Likewise.
16908 * sunrpc/authdes_prot.c: Likewise.
16909 * sunrpc/authuxprot.c: Likewise.
16910 * sunrpc/clnt_gen.c: Likewise.
16911 * sunrpc/clnt_perr.c: Likewise.
16912 * sunrpc/clnt_raw.c: Likewise.
16913 * sunrpc/clnt_simp.c: Likewise.
16914 * sunrpc/clnt_tcp.c: Likewise.
16915 * sunrpc/clnt_udp.c: Likewise.
16916 * sunrpc/clnt_unix.c: Likewise.
16917 * sunrpc/des_crypt.c: Likewise.
16918 * sunrpc/des_soft.c: Likewise.
16919 * sunrpc/get_myaddr.c: Likewise.
16920 * sunrpc/key_call.c: Likewise.
16921 * sunrpc/key_prot.c: Likewise.
16922 * sunrpc/netname.c: Likewise.
16923 * sunrpc/pm_getmaps.c: Likewise.
16924 * sunrpc/pm_getport.c: Likewise.
16925 * sunrpc/pmap_clnt.c: Likewise.
16926 * sunrpc/pmap_prot.c: Likewise.
16927 * sunrpc/pmap_prot2.c: Likewise.
16928 * sunrpc/pmap_rmt.c: Likewise.
16929 * sunrpc/publickey.c: Likewise.
16930 * sunrpc/rpc_cmsg.c: Likewise.
16931 * sunrpc/rpc_common.c: Likewise.
16932 * sunrpc/rpc_dtable.c: Likewise.
16933 * sunrpc/rpc_prot.c: Likewise.
16934 * sunrpc/rpc_thread.c: Likewise.
16935 * sunrpc/rtime.c: Likewise.
16936 * sunrpc/svc.c: Likewise.
16937 * sunrpc/svc_auth.c: Likewise.
16938 * sunrpc/svc_raw.c: Likewise.
16939 * sunrpc/svc_run.c: Likewise.
16940 * sunrpc/svc_tcp.c: Likewise.
16941 * sunrpc/svc_udp.c: Likewise.
16942 * sunrpc/svc_unix.c: Likewise.
16943 * sunrpc/svcauth_des.c: Likewise.
16944 * sunrpc/xcrypt.c: Likewise.
16945 * sunrpc/xdr.c: Likewise.
16946 * sunrpc/xdr_array.c: Likewise.
16947 * sunrpc/xdr_float.c: Likewise.
16948 * sunrpc/xdr_intXX_t.c: Likewise.
16949 * sunrpc/xdr_mem.c: Likewise.
16950 * sunrpc/xdr_rec.c: Likewise.
16951 * sunrpc/xdr_ref.c: Likewise.
16952 * sunrpc/xdr_sizeof.c: Likewise.
16953 * sunrpc/xdr_stdio.c: Likewise.
16954
b5c086a2
RM
169552012-05-10 Roland McGrath <roland@hack.frob.com>
16956
16957 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
16958 change. Update copyright years.
16959
6d74dd09
JM
169602012-05-10 Joseph Myers <joseph@codesourcery.com>
16961
16962 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
16963
28e72501
MK
169642012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
16965 Joseph Myers <joseph@codesourcery.com>
16966 Paul Pluzhnikov <ppluzhnikov@google.com>
16967
16968 [BZ #14012]
16969 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
16970 requiring rpcgen.
16971 [cross-compiling] (extra-libs): Likewise.
16972 [cross-compiling] (extra-libs-others): Likewise.
16973 [cross-compiling] (librpcsvc-routines): Likewise.
16974 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
16975 [cross-compiling] (omit-deps): Likewise.
16976 (sunrpc-CPPFLAGS): New variable.
16977 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
16978 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
16979 (cross-rpcgen-objs): New variable.
16980 (extra-objs): Append $(cross-rpcgen-objs).
16981 ($(cross-rpcgen-objs)): New rule.
16982 ($(objpfx)cross-rpcgen): Likewise.
16983 (rpcgen-cmd): Define to use $(built-program-file). Expand
16984 comment.
16985 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
16986 ($(objpfx)x%.stmp): Likewise.
16987 * sunrpc/proto.h [IS_IN_build] (_): Define.
16988 [IS_IN_build] (_libc_intl_domainname): Likewise.
16989
c8c59454
L
169902012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16991
16992 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
16993 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
16994 and R_X86_64_TPOFF64.
16995
6f27cd16
JM
169962012-05-10 Joseph Myers <joseph@codesourcery.com>
16997
16998 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
16999 sysdeps/unix/sysv/syscalls.list.
17000 (stime): Likewise.
17001 (utime): Likewise.
17002 * sysdeps/unix/sysv/syscalls.list: Remove file.
17003
02467e1c
PE
170042012-05-10 Paul Eggert <eggert@cs.ucla.edu>
17005
17006 [BZ #3440]
17007 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
17008 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
17009 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
17010 (__LC_IDENTIFICATION): Make these macros useful in #if
17011 expressions, as required by C99.
17012
da392631
AS
170132012-05-10 Andreas Schwab <schwab@linux-m68k.org>
17014
17015 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
17016 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
17017 after this.
17018
8115f29b
L
170192012-05-09 H.J. Lu <hongjiu.lu@intel.com>
17020
17021 * stdlib/longlong.h: Updated from GCC.
17022
bdd74070
AJ
170232012-05-09 Andreas Jaeger <aj@suse.de>
17024
edfe0dbe
AJ
17025 * nscd/nscd.c (run_modes): Make named enum, reorder so that
17026 default is first entry.
17027 (run_mode): Set type.
17028 (main): Remove informal message about syslog.
17029 (options): Fix typo.
17030
bcfe3a54
ST
17031 [BZ #14053]
17032 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 17033 to asm.
bcfe3a54
ST
17034 (lrint): Likewise.
17035 (llrintf): Likewise.
17036 (llrint): Likewise.
17037 (rint): Likewise.
17038 (rintf): Likewise.
17039 (nearbyint): Likewise.
17040 (nearbyintf): Likewise.
bdd74070 17041
91d8d69e
AJ
170422012-05-09 Andreas Jaeger <aj@suse.de>
17043 Pedro Alves <palves@redhat.com>
17044
17045 * nscd/nscd.c (run_mode): Use enum.
17046 (main): Cleanup coding style issue.
17047
bb90b80b
AJ
170482012-05-09 Alexandre Oliva <aoliva@redhat.com>
17049 Andreas Jaeger <aj@suse.de>
17050
bcfe3a54
ST
17051 * nscd/nscd.c (go_background): Replaced with...
17052 (run_mode): ... this.
bb90b80b 17053 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
17054 (options): Add -F --foreground.
17055 (main): Implement it.
17056 (parse_opt): Parse it.
bb90b80b 17057
1a4b75a1
AJ
170582012-05-09 Andreas Jaeger <aj@suse.de>
17059
17060 [BZ #14083]
17061 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
17062 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
17063 -Wconversion warning.
17064 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
17065 Likewise.
17066
b1cc2472
JM
170672012-05-09 Joseph Myers <joseph@codesourcery.com>
17068
17069 * conform/data/locale.h-data (NULL): Use macro-constant. Require
17070 == 0.
17071 (LC_ALL): Use macro-int-constant.
17072 (LC_COLLATE): Likewise.
17073 (LC_CTYPE): Likewise.
17074 (LC_MESSAGES): Likewise.
17075 (LC_MONETARY): Likewise.
17076 (LC_NUMERIC): Likewise.
17077 (LC_TIME): Likewise.
17078 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
17079 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17080 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17081 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
17082 Specify type.
17083 [C99-based standards] (float_t): Expect type.
17084 [C99-based standards] (double_t): Expect type.
17085 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
17086 type.
17087 [C99-based standards] (HUGE_VALL): Likewise.
17088 [C99-based standards] (INFINITY): Likewise.
17089 [C99-based standards] (NAN): Likewise.
17090 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
17091 [C99-based standards] (FP_NAN): Likewise.
17092 [C99-based standards] (FP_NORMAL): Likewise.
17093 [C99-based standards] (FP_SUBNORMAL): Likewise.
17094 [C99-based standards] (FP_ZERO): Likewise.
17095 [C99-based standards] (FP_FAST_FMA): Use
17096 optional-macro-int-constant. Specify type. Require == 1.
17097 [C99-based standards] (FP_FAST_FMAF): Likewise.
17098 [C99-based standards] (FP_FAST_FMAL): Likewise.
17099 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
17100 [C99-based standards] (FP_ILOGBNAN): Likewise.
17101 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
17102 Specify type.
17103 [C99-based standards] (MATH_ERREXCEPT): Likewise.
17104 [C99-based standards] (math_errhandling): Specify type.
17105 [ISO99 || ISO11] (signgam): Do not allow.
17106 [non-C99-based standards] (copysignf): Do not allow.
17107 [non-C99-based standards] (exp2f): Likewise.
17108 [non-C99-based standards] (log2f): Likewise.
17109 [non-C99-based standards] (modff): Allow.
17110 [non-C99-based standards] (erff): Do not allow.
17111 [non-C99-based standards] (erfcf): Likewise.
17112 [non-C99-based standards] (gammaf): Likewise.
17113 [non-C99-based standards] (hypotf): Likewise.
17114 [non-C99-based standards] (j0f): Likewise.
17115 [non-C99-based standards] (j1f): Likewise.
17116 [non-C99-based standards] (jnf): Likewise.
17117 [non-C99-based standards] (lgammaf): Likewise.
17118 [non-C99-based standards] (tgammaf): Likewise.
17119 [non-C99-based standards] (y0f): Likewise.
17120 [non-C99-based standards] (y1f): Likewise.
17121 [non-C99-based standards] (ynf): Likewise.
17122 [non-C99-based standards] (isnanf): Likewise.
17123 [non-C99-based standards] (acoshf): Likewise.
17124 [non-C99-based standards] (asinhf): Likewise.
17125 [non-C99-based standards] (atanhf): Likewise.
17126 [non-C99-based standards] (cbrtf): Likewise.
17127 [non-C99-based standards] (expm1f): Likewise.
17128 [non-C99-based standards] (ilogbf): Likewise.
17129 [non-C99-based standards] (log1pf): Likewise.
17130 [non-C99-based standards] (logbf): Likewise.
17131 [non-C99-based standards] (nextafterf): Likewise.
17132 [non-C99-based standards] (remainderf): Likewise.
17133 [non-C99-based standards] (rintf): Likewise.
17134 [non-C99-based standards] (scalbf): Likewise.
17135 [non-C99-based standards] (copysignl): Likewise.
17136 [non-C99-based standards] (exp2l): Likewise.
17137 [non-C99-based standards] (log2l): Likewise.
17138 [non-C99-based standards] (modfl): Allow.
17139 [non-C99-based standards] (erfl): Do not allow.
17140 [non-C99-based standards] (erfcl): Likewise.
17141 [non-C99-based standards] (gammal): Likewise.
17142 [non-C99-based standards] (hypotl): Likewise.
17143 [non-C99-based standards] (j0l): Likewise.
17144 [non-C99-based standards] (j1l): Likewise.
17145 [non-C99-based standards] (jnl): Likewise.
17146 [non-C99-based standards] (lgammal): Likewise.
17147 [non-C99-based standards] (tgammal): Likewise.
17148 [non-C99-based standards] (y0l): Likewise.
17149 [non-C99-based standards] (y1l): Likewise.
17150 [non-C99-based standards] (ynl): Likewise.
17151 [non-C99-based standards] (isnanl): Likewise.
17152 [non-C99-based standards] (acoshl): Likewise.
17153 [non-C99-based standards] (asinhl): Likewise.
17154 [non-C99-based standards] (atanhl): Likewise.
17155 [non-C99-based standards] (cbrtl): Likewise.
17156 [non-C99-based standards] (expm1l): Likewise.
17157 [non-C99-based standards] (ilogbl): Likewise.
17158 [non-C99-based standards] (log1pl): Likewise.
17159 [non-C99-based standards] (logbl): Likewise.
17160 [non-C99-based standards] (nextafterl): Likewise.
17161 [non-C99-based standards] (remainderl): Likewise.
17162 [non-C99-based standards] (rintl): Likewise.
17163 [non-C99-based standards] (scalbl): Likewise.
17164 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17165 [non-C99-based standards] (FP_*): Do not allow.
17166 [C99-based standards] (FP_*): Change to
17167 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17168 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17169 allow.
17170 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
17171 (SIG_ERR): Likewise.
17172 [X/Open-based standards] (SIG_HOLD): Likewise.
17173 (SIG_IGN): Likewise.
17174 (SIGABRT): Use macro-int-constant. Specify type. Require
17175 positive value.
17176 (SIGFPE): Likewise.
17177 (SIGILL): Likewise.
17178 (SIGINT): Likewise.
17179 (SIGSEGV): Likewise.
17180 (SIGTER): Likewise.
17181 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
17182 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
17183 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
17184 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
17185 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
17186 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
17187 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
17188 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
17189 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
17190 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
17191 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
17192 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
17193 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
17194 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
17195 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
17196 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
17197 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
17198 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
17199 [X/Open-based standards] (SIGTRAP): Likewise.
17200 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
17201 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
17202 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
17203 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
17204 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17205 allow.
17206
b9f1922d
IW
172072012-05-08 Ian Wienand <ianw@vmware.com>
17208
17209 [BZ #14080]
17210 * time/tzset.c (__tzset_parse_tz): Update default rules for
17211 daylight time changes in the Energy Policy Act of 2005.
17212
1db86e88
AJ
172132012-05-09 Andreas Jaeger <aj@suse.de>
17214
17215 [BZ #13983]
17216 * elf/ldconfig.c (parse_conf): Change string to make clear that
17217 ldconfig only issued a warning if ld.so.conf does not exist.
17218
dee4a4e3
DM
172192012-05-08 David S. Miller <davem@davemloft.net>
17220
ee0db190
DM
17221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
17222 movxtod instead of popping the value on the stack.
17223
dee4a4e3
DM
17224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17225
6a43ec98
CD
172262012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
17227
17228 * config.h.in: Add HAVE_ARM_PCS_VFP.
17229
05c2c961
RMG
172302012-05-08 Roland Mc Grath <roland@hack.frob.com>
17231
bcfe3a54
ST
17232 [BZ #13979]
17233 * include/features.h: Warn if user requests __FORTIFY_SOURCE
17234 checking but the checks are disabled for any reason.
05c2c961 17235
4b30f61a
L
172362012-05-08 H.J. Lu <hongjiu.lu@intel.com>
17237
17238 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
17239 and ELF64_R_TYPE with ELFW(R_TYPE).
17240
eee2bc67
JM
172412012-05-08 Joseph Myers <joseph@codesourcery.com>
17242
7ea5391a
JM
17243 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
17244 (ulimit): Likewise.
17245
eee2bc67
JM
17246 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
17247 (settimeofday): Likewise.
17248
abb66a67
MF
172492012-05-08 Mike Frysinger <vapier@gentoo.org>
17250
17251 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
17252 a struct th_u2 inside the union, and move tu_block/tu_code into
17253 a new th_u3 union of tu_block/tu_code inside of that. Move
17254 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
17255 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
17256 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
17257 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
17258 (th_stuff): Change to th_u1.tu_stuff.
17259 (th_data): Define.
17260 (th_msg): Change to th_u1.th_u2.tu_data.
17261
7f18b530
DM
172622012-05-07 David S. Miller <davem@davemloft.net>
17263
05760585
DM
17264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17265
7f18b530
DM
17266 [BZ #14074]
17267 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
17268 (SETUP_PIC_REG): Use it.
17269 (SETUP_PIC_REG_LEAF): Use it.
17270
495fd99f
JM
172712012-05-07 Joseph Myers <joseph@codesourcery.com>
17272
17273 [BZ #13885]
17274 [BZ #13923]
17275 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17276 USE_AS_EXPM1L.
17277 (EXPL_FINITE): Likewise.
17278 (FLDLOG): Likewise.
17279 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17280 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17281 e_expl.S.
17282 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17283 USE_AS_EXPM1L.
17284 (EXPL_FINITE): Likewise.
17285 (FLDLOG): Likewise.
17286 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17287 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17288 e_expl.S.
17289 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
17290 test of -max_value argument for long double.
17291 * sysdeps/i386/fpu/libm-test-ulps: Update.
17292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17293
6693d694
DM
172942012-05-06 David S. Miller <davem@davemloft.net>
17295
17296 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
17297 quad soft-float symbols whose references which are compiler
17298 generated.
17299 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17300
6c23e11c
JM
173012012-05-06 Joseph Myers <joseph@codesourcery.com>
17302
d8b82cad
JM
17303 [BZ #13884]
17304 [BZ #13914]
17305 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17306 USE_AS_EXP10L.
17307 (EXPL_FINITE): Likewise.
17308 (FLDLOG): Likewise.
17309 (c0): Likewise.
17310 (c1): Likewise.
17311 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
17312 Adjust comments for base varying.
17313 (__expl_finite): Change alias to EXPL_FINITE.
17314 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
17315 e_expl.S.
17316 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
17317 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17318 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17319 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
17320 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17321 USE_AS_EXP10L.
17322 (EXPL_FINITE): Likewise.
17323 (FLDLOG): Likewise.
17324 (c0): Likewise.
17325 (c1): Likewise.
17326 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
17327 Adjust comments for base varying.
17328 (__expl_finite): Change alias to EXPL_FINITE.
17329 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
17330 tests for bugs.
17331 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17332
6c23e11c
JM
17333 [BZ #14064]
17334 * math/libm-test.inc (check_float_internal): Correct ulp
17335 calculation for subnormal expected results.
17336
29ba805c
AJ
173372012-05-06 Andreas Jaeger <aj@suse.de>
17338
17339 * Makeconfig (+math-flags): New, set to -frounding-math.
17340 (+cflags): Add +math-flags so that all of glibc gets compiled with
17341 it.
17342
17343 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
17344
7b17aeda
JM
173452012-05-05 Joseph Myers <joseph@codesourcery.com>
17346
5779f134
JM
17347 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
17348 Disable one test.
17349
41498f4d
JM
17350 [BZ #13787]
17351 [BZ #13922]
17352 [BZ #14036]
17353 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
17354 (__ieee754_expl): Allow for and saturate large arguments.
17355 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
17356 (u_threshold): Likewise.
17357 (__exp): Call __ieee754_exp before checking for overflow and
17358 underflow.
17359 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
17360 (u_threshold): Likewise.
17361 (__expf): Call __ieee754_expf before checking for overflow and
17362 underflow.
17363 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
17364 (u_threshold): Likewise.
17365 (__expl): Call __ieee754_expl before checking for overflow and
17366 underflow.
17367 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
17368 (__ieee754_expl): Allow for and saturate large arguments.
17369 * math/libm-test.inc (exp_test): Add another test. Do not allow
17370 missing overflow exception on overflow.
17371 (expm1_test): Do not allow missing overflow exception on overflow.
17372
6698b8bf
JM
17373 * sysdeps/i386/fpu/e_expl.c: Move to ...
17374 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
17375 rather than using inline asm.
17376 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
17377 * sysdeps/x86_64/fpu/e_expl.S: Copy from
17378 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
17379
7b17aeda
JM
17380 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
17381 (nice): Likewise.
17382 (poll): Likewise.
17383 (signal): Likewise.
17384 (time): Likewise.
17385 (times): Likewise.
17386
f7c85819
JM
173872012-05-04 Joseph Myers <joseph@codesourcery.com>
17388
17389 * sysdeps/unix/syscalls.list (adjtime): Add entry from
17390 sysdeps/unix/common/syscalls.list.
17391 (fchmod): Likewise.
17392 (fchown): Likewise.
17393 (ftruncate): Likewise.
17394 (getrusage): Likewise.
17395 (gettimeofday): Likewise.
17396 (setpgid): Likewise.
17397 (setregid): Likewise.
17398 (setreuid): Likewise.
17399 (sigaction): Likewise.
17400 (truncate): Likewise.
17401 (vhangup): Likewise.
17402 * sysdeps/unix/common/syscalls.list: Remove file.
17403 * sysdeps/unix/bsd/Implies: Don't include unix/common.
17404 * sysdeps/unix/sysv/linux/Implies: Likewise.
17405
336270d0
L
174062012-05-04 H.J. Lu <hongjiu.lu@intel.com>
17407
17408 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
17409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
17410 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
17411 Moved to ...
17412 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17413 Here.
17414 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
17415 to ...
17416 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
17417 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
17418 to ...
17419 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
17420 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
17421 to ...
17422 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
17423 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
17424 to ...
17425 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
17426 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
17427 to ...
17428 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
17429 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
17430 to ...
17431 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
17432 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
17433 to ...
17434 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17435 Here.
17436 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
17437 to ...
17438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
17439 Here.
17440 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
17441 to ...
17442 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
17443 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
17444 Moved to ...
17445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
17446 Here.
17447 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
17448 to ...
17449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
17450
d128e450
JM
174512012-05-04 Joseph Myers <joseph@codesourcery.com>
17452
fa8ee516
JM
17453 * sysdeps/unix/common/bits/dirent.h: Remove file.
17454 * sysdeps/unix/common/bits/fcntl.h: Likewise.
17455
d128e450
JM
17456 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
17457 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
17458 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
17459 * sysdeps/unix/bsd/isatty.c: Likewise.
17460 * sysdeps/unix/bsd/tcdrain.c: Likewise.
17461 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
17462 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
17463
ff8faaf0 174642012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 17465
62881be4 17466 [BZ #13563]
31dc8730
AZ
17467 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
17468 long double comparison inaccuracies.
17469 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17471
6fef930c
AS
174722012-05-04 Andreas Schwab <schwab@linux-m68k.org>
17473
17474 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
17475 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
17476
8f203e6c
JM
174772012-05-04 Joseph Myers <joseph@codesourcery.com>
17478
17479 [BZ #14049]
17480 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
17481 nonzero digits before rounding a hex value.
17482 * stdlib/tst-strtod.c (tests): Add another test.
17483
5197d9c2
AK
174842012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17485
17486 * sysdeps/s390/fpu/libm-test-ulps: Update.
17487
f0c1dedf
AJ
174882012-05-03 Andreas Jaeger <aj@suse.de>
17489
17490 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
17491 does not get optimized out.
17492 (malloc_opt_barrier): New.
17493
a65ef2ae 174942012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 17495 Roland McGrath <roland@hack.frob.com>
a65ef2ae 17496
2b942cb7 17497 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 17498 intermediate file deletion.
2b942cb7 17499 (generated): Add .symlist files.
a65ef2ae 17500
54b71e02
JM
175012012-05-03 Joseph Myers <joseph@codesourcery.com>
17502
17503 [BZ #13775]
17504 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
17505 Redirect under this condition.
17506 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17507 [__USE_GNU] (__dprintf_chk): Not under this condition.
17508 [__USE_GNU] (__vdprintf_chk): Likewise.
17509 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
17510 under this condition.
17511 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17512 [__USE_XOPEN2K8] (dprintf): Define under this condition.
17513 [__USE_XOPEN2K8] (vdprintf): Likewise.
17514 [__USE_GNU] (__dprintf_chk): Not under this condition.
17515 [__USE_GNU] (__vdprintf_chk): Likewise.
17516 [__USE_GNU] (dprintf): Likewise.
17517 [__USE_GNU] (vdprintf): Likewise.
17518
d3dfcc41
RM
175192012-05-03 Roland McGrath <roland@hack.frob.com>
17520
17521 * elf/Makefile (common-generated): Set this instead of generated for
17522 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
17523 $(all-built-dso)-derived lists.
17524
7ac30cc5
AJ
175252012-05-03 Andreas Jaeger <aj@suse.de>
17526
0c51e550
AJ
17527 * sysdeps/i386/fpu/libm-test-ulps: Update.
17528
7ac30cc5
AJ
17529 * FAQ: Removed.
17530 * FAQ.in: Likewise.
17531 * scripts/gen-FAQ.pl: Likewise.
17532 * manual/install.texi (Installation): Point to online location of
17533 FAQ.
17534 * Makefile (files-for-dist): Remove FAQ.
17535 (FAQ): Remove.
17536
d4c2917f
AM
175372012-05-02 Allan McRae <allan@archlinux.org>
17538
17539 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
17540 (LDFLAGS-reldepmod5.so): Likewise.
17541 (LDFLAGS-reldep6mod1.so): Likewise.
17542 (LDFLAGS-reldep6mod4.so): Likewise.
17543 (LDFLAGS-reldep8mod3.so): Likewise.
17544 (LDFLAGS-unload4mod1.so): Likewise.
17545 (LDFLAGS-unload4mod2.so): Likewise.
17546 (LDFLAGS-tst-initorder): Likewise.
17547 (LDFLAGS-tst-initordera2.so): Likewise.
17548 (LDFLAGS-tst-initordera3.so): Likewise.
17549 (LDFLAGS-tst-initordera4.so): Likewise.
17550 (LDFLAGS-tst-initorderb2.so): Likewise.
17551 (LDFLAGS-noload): Likewise.
17552 (LDFLAGS-next): Likewise.
17553 (LDFLAGS-order2mod1.so): Likewise.
17554 (LDFLAGS-order2mod2.so): Likewise.
17555 (LDFLAGS-tst-initorder2): Likewise.
17556 (LDFLAGS-tst-initorder2a.so): Likewise.
17557 (LDFLAGS-tst-initorder2b.so): Likewise.
17558 (LDFLAGS-tst-initorder2c.so): Likewise.
17559 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
17560
d77f993f
DM
175612012-05-02 David S. Miller <davem@davemloft.net>
17562
17563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17564
171a70b4
PP
175652012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
17566
17567 [BZ #14055]
17568 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
17569
0be196ad
AJ
175702012-05-02 Andreas Jaeger <aj@suse.de>
17571
17572 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
17573 since we manipulate rounding mode.
17574 (CPPFLAGS-test-idouble.c): Likewise.
17575 (CPPFLAGS-test-ifloat.c): Likewise.
17576 (CFLAGS-test-ldouble.c): Likewise.
17577 (CFLAGS-test-double.c): Likewise.
17578 (CFLAGS-test-float.c): Likewise.
17579 (CFLAGS-test-misc.c): Likewise.
17580 (CFLAGS-test-test-fenv.c): Likewise.
17581
4f9d04aa
AZ
175822012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17583
2b942cb7
RM
17584 [BZ #2550]
17585 [BZ #2570]
17586 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
17587 comparisons to determine direction to adjust input.
4f9d04aa 17588
82a79e7d
RM
175892012-05-01 Roland McGrath <roland@hack.frob.com>
17590
f5a01ca9
RM
17591 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
17592 output to the target.
17593
90fe4186
RM
17594 * scripts/localplt.awk: New file.
17595 * elf/Makefile ($(objpfx)check-localplt): Target removed.
17596 (check-localplt-CFLAGS): Variable removed.
17597 ($(all-built-dso:=.jmprel)): New static pattern rule.
17598 (generated): Add those targets.
17599 (localplt-built-dso): New variable.
17600 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
17601
17602 * elf/check-localplt.c: File removed.
17603
82397ed6
RM
17604 * scripts/check-execstack.awk: New file.
17605 * elf/Makefile ($(objpfx)check-execstack): Target removed.
17606 (check-execstack-CFLAGS): Variable removed.
17607 ($(objpfx)check-execstack.h): Target removed.
17608 ($(objpfx)execstack-default): New target.
17609 (generated): Add that instead of check-execstack.h.
17610 ($(all-built-dso:=.phdr)): New static pattern rule.
17611 (generated): Add those targets.
17612 * elf/check-execstack.c: File removed.
17613
82a79e7d
RM
17614 * scripts/check-textrel.awk: New file.
17615 * elf/Makefile ($(objpfx)check-textrel): Target removed.
17616 (check-textrel-CFLAGS): Variable removed.
17617 (all-built-dso): Use := to define.o
17618 ($(all-built-dso:=.dyn)): New static pattern rule.
17619 (generated): Add those targets.
17620 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
17621 * config.make.in (READELF): New substituted variable.
17622 * elf/check-textrel.c: File removed.
17623
62fde54f 176242012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 17625
615605c9
JM
17626 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17627 allow.
17628 * conform/data/ctype.h-data [C99-based standards] (isblank):
17629 Expect function.
17630 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
17631 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
17632 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17633 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
17634 Specify type. Require positive value.
17635 (EILSEQ): Likewise.
17636 (ERANGE): Likewise.
17637 [ISO || POSIX] (EILSEQ): Do not expect.
17638 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
17639 Specify type. Require positive value.
17640 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
17641 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
17642 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
17643 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
17644 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
17645 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
17646 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
17647 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
17648 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
17649 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
17650 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
17651 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
17652 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
17653 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
17654 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
17655 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
17656 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
17657 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
17658 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
17659 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
17660 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
17661 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
17662 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
17663 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
17664 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
17665 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
17666 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
17667 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
17668 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
17669 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
17670 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
17671 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
17672 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
17673 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
17674 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
17675 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
17676 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
17677 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
17678 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
17679 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
17680 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
17681 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
17682 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
17683 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
17684 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
17685 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
17686 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
17687 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
17688 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
17689 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
17690 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
17691 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
17692 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
17693 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
17694 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
17695 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
17696 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
17697 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
17698 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
17699 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
17700 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
17701 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
17702 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
17703 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
17704 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
17705 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
17706 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
17707 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
17708 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
17709 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
17710 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
17711 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
17712 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
17713 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
17714 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
17715 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
17716 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
17717 Require >= 2.
17718 (FLT_ROUNDS): Expect as macro, not constant.
17719 (FLT_MANT_DIG): Use macro-int-constant.
17720 (DBL_MANT_DIG): Likewise.
17721 (LDBL_MANT_DIG): Likewise.
17722 (FLT_DIG): Likewise.
17723 (DBL_DIG): Likewise.
17724 (LDBL_DIG): Likewise.
17725 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
17726 (DBL_MIN_EXP): Likewise.
17727 (LDBL_MIN_EXP): Likewise.
17728 (FLT_MAX_EXP): Use macro-int-constant.
17729 (DBL_MAX_EXP): Likewise.
17730 (LDBL_MAX_EXP): Likewise.
17731 (FLT_MAX_10_EXP): Likewise.
17732 (DBL_MAX_10_EXP): Likewise.
17733 (LDBL_MAX_10_EXP): Likewise.
17734 (FLT_MAX): Use macro-constant.
17735 (DBL_MAX): Likewise.
17736 (LDBL_MAX): Likewise.
17737 (FLT_EPSILON): Use macro-constant. Give upper bound.
17738 (DBL_EPSILON): Likewise.
17739 (LDBL_EPSILON): Likewise.
17740 (FLT_MIN): Likewise.
17741 (DBL_MIN): Likewise.
17742 (LDBL_MIN): Likewise.
17743 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
17744 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
17745 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
17746 [ISO11] (FLT_HAS_SUBNORM): Likewise.
17747 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
17748 [ISO11] (DBL_DECIMAL_DIG): Likewise.
17749 [ISO11] (FLT_DECIMAL_DIG): Likewise.
17750 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
17751 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
17752 [ISO11] (FLT_TRUE_MIN): Likewise.
17753 [ISO11] (LDBL_TRUE_MIN): Likewise.
17754 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17755 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
17756 (SCHAR_MIN): Use macro-int-constant. Specify type.
17757 (SCHAR_MAX): Likewise.
17758 (UCHAR_MAX): Likewise.
17759 (CHAR_MIN): Likewise.
17760 (CHAR_MAX): Likewise.
17761 (MB_LEN_MAX): Use macro-int-constant.
17762 (SHRT_MIN): Use macro-int-constant. Specify type.
17763 (SHRT_MAX): Likewise.
17764 (USHRT_MAX): Likewise.
17765 (INT_MAX): Likewise.
17766 (INT_MIN): Use macro-int-constant. Specify type. Make upper
17767 bound negative.
17768 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
17769 bound with "U".
17770 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17771 bound with "L".
17772 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
17773 bound negative. Suffix upper bound with "L".
17774 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17775 bound with "UL".
17776 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
17777 Specify type.
17778 [C99-based standards] (LLONG_MAX): Likewise.
17779 [C99-based standards] (ULLONG_MAX): Likewise.
17780 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
17781 == 0.
17782 [ISO11] (max_align_t): Require type.
17783 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17784
c9140a62
JM
17785 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
17786 from $CFLAGS, without defining away __attribute__ calls.
17787 (checknamespace): Use $CFLAGS_namespace.
17788
9af0bf29
JM
17789 * conform/conformtest.pl (@keywords): Only include C99 keywords
17790 for standards based on C99 or C11.
17791
343222a2
JM
17792 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
17793 Disable tests.
17794 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
17795 UNIX98]: Likewise.
17796
661f8cf0
JM
17797 * conform/conformtest.pl: Handle "macro-int-constant" and test for
17798 usability of symbols in #if.
17799
ee74b9cb
JM
17800 * conform/conformtest.pl: If macro or constant types start
17801 "promoted:", expect the symbol to be of the following type
17802 promoted by the integer promotions.
62fde54f 17803
aafc49b3
JM
17804 * conform/conformtest.pl: Parse all "constant" and "macro" lines
17805 in one place. Also handle "macro-constant".
17806
fefdf574
JM
17807 * conform/conformtest.pl: Only accept expected macro values with
17808 "==". Parse all "macro" lines in one place.
17809 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
17810
f2d922fe
JM
17811 * conform/conformtest.pl: Handle braced types on "constant" lines
17812 instead of handling "typed-constant".
17813 * conform/data/signal.h-data: Use "constant" instead of
17814 "typed-constant".
17815
d22956c9
JM
17816 * conform/conformtest.pl: Handle "optional-" at start of lines in
17817 one place rather than duplicating several cases. Handle each
17818 format of "macro" line with initial "optional-".
17819
028e2e38
JM
17820 * conform/conformtest.pl: Only accept expected constant or
17821 optional-constant values with "==". Parse all "constant" lines in
17822 one place. Parse all "optional-constant" lines in one place.
17823 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
17824 * conform/data/fmtmsg.h-data: Likewise.
17825 * conform/data/netinet/in.h-data: Likewise.
17826 * conform/data/tar.h-data: Likewise.
17827 * conform/data/limits.h-data: Use "==" form on "constant" and
17828 "optional-constant" lines.
17829
1b8f2850
JM
17830 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
17831 Use -std=c99 for XOPEN2K.
17832 (@knownproblems): Remove.
17833 (newtoken): Don't check %isknown.
17834
a05a144b
JM
17835 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
17836 Do not expect macro.
17837 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
17838 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
17839 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
17840 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
17841 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
17842 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
17843 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
17844 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
17845 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
17846 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
17847 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
17848 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
17849 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
17850 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
17851 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
17852 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
17853 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
17854 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
17855 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
17856 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
17857 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
17858 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
17859 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
17860 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
17861 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
17862 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
17863 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
17864 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
17865 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
17866 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
17867 [XPG3] (acosh): Likewise.
17868 [XPG3] (asinh): Likewise.
17869 [XPG3] (atanh): Likewise.
17870 [XPG3] (cbrt): Likewise.
17871 [XPG3] (expm1): Likewise.
17872 [XPG3] (ilogb): Likewise.
17873 [XPG3] (log1p): Likewise.
17874 [XPG3] (logb): Likewise.
17875 [XPG3] (nextafter): Likewise.
17876 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
17877 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
17878 [XPG3] (remainder): Likewise.
17879 [XPG3] (rint): Likewise.
17880 [XPG3 || XPG4 || UNIX98] (round): Likewise.
17881 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
17882 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
17883 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
17884 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
17885 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
17886 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
17887 [UNIX98 || XOPEN2K] (scalb): Expect.
17888 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
17889 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
17890 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
17891 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
17892 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
17893 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
17894 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
17895 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
17896 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
17897 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
17898 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
17899 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
17900 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
17901 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
17902 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
17903 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
17904 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
17905 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
17906 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
17907 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
17908 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
17909 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
17910 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
17911 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
17912 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
17913 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
17914 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
17915 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
17916 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
17917 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
17918 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
17919 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
17920 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
17921 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
17922 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
17923 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
17924 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
17925 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
17926 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
17927 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
17928 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
17929 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
17930 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
17931 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
17932 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
17933 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
17934 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
17935 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
17936 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
17937 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
17938 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
17939 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
17940 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
17941 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
17942 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
17943 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
17944 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
17945 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
17946 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
17947 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
17948 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
17949 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
17950 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
17951 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
17952 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
17953 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
17954 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
17955 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
17956 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
17957 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
17958 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
17959 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
17960 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
17961 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
17962 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
17963 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
17964 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
17965 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
17966 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
17967 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
17968 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
17969 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
17970 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
17971 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
17972 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
17973 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
17974 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
17975 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
17976 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
17977 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
17978 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
17979 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
17980 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
17981 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
17982 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
17983 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
17984 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
17985 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
17986 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
17987 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
17988 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
17989 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
17990 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
17991 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
17992 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
17993 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
17994 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
17995 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
17996 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
17997 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
17998 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
17999 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
18000 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
18001 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
18002 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
18003 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
18004 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
18005 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
18006 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
18007 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
18008 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
18009 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
18010 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
18011 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
18012 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
18013 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
18014 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
18015 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
18016 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
18017 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
18018 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
18019 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
18020 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
18021 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
18022 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
18023 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
18024 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
18025
73c5ebe3
JM
18026 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
18027 _XOPEN_SOURCE_EXTENDED for XPG4.
18028
39c33b6c
JM
18029 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
18030
62fde54f
JM
18031 * Makeconfig (localtime): Remove variable.
18032 (inst_localtime-file): Likewise.
18033
0741d64c
AS
180342012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18035
18036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18037 Update.
18038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18039 Update.
18040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18041 Update.
18042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18043 Update.
18044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18045 Update.
18046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
18047 Update.
18048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18049 Update.
18050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
18051 Update.
18052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18053 Update.
18054
7cb029ee
JM
180552012-05-01 Joseph Myers <joseph@codesourcery.com>
18056
18057 [BZ #2550]
18058 [BZ #2570]
18059 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
18060 comparisons to determine direction to adjust input.
18061 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18062 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
18063 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18064 Likewise.
18065 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18066 Likewise.
18067 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18068 Likewise.
18069 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18070 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18071 Likewise.
18072 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18073 Likewise.
18074 * math/libm-test.inc (nexttoward_test): Add more tests.
18075
412bd966
AS
180762012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18077
18078 [BZ #14040]
18079 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
18080 in version GLIBC_2.1, not GLIBC_2.0.
18081 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
18082 Likewise.
18083
9568c0c2
JM
180842012-04-30 Joseph Myers <joseph@codesourcery.com>
18085
adfbc8ac
JM
18086 [BZ #13942]
18087 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
18088 (1 - x) * (1 + x).
18089 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18090 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
18091 * math/libm-test.inc (acos_test): Add more tests.
18092 (asin_test): Likewise.
18093 * sysdeps/i386/fpu/libm-test-ulps: Update.
18094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18095
5ba3cc69
JM
18096 [BZ #14034]
18097 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
18098 of square root.
18099 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
18100 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18101 * math/libm-test.inc (acos_test_tonearest): New function.
18102 (acos_test_towardzero): Likewise.
18103 (acos_test_downward): Likewise.
18104 (acos_test_upward): Likewise.
18105 (asin_test_tonearest): Likewise.
18106 (asin_test_towardzero): Likewise.
18107 (asin_test_downward): Likewise.
18108 (asin_test_upward): Likewise.
18109 (main): Call the new functions.
18110 * sysdeps/i386/fpu/libm-test-ulps: Update.
18111 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18112
9568c0c2
JM
18113 [BZ #13884]
18114 [BZ #13924]
18115 * math/e_exp10.c: Include <float.h>.
18116 (__ieee754_exp10): Handle underflow here rather than multiplying
18117 large negative argument by M_LN10.
18118 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
18119 of __ieee754_expf.
18120 * math/e_exp10l.c: Include <float.h>.
18121 (__ieee754_exp10l): Handle underflow here rather than multiplying
18122 large negative argument by M_LN10l.
18123 * math/libm-test.inc (exp10_test): Add another test. Do not allow
18124 spurious overflow exception on underflow.
18125
5ac3ea17
MP
181262012-04-29 Marek Polacek <polacek@redhat.com>
18127
18128 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
18129 (__fortify_function): New macro.
18130 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
18131 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
18132 __extern_always_inline.
18133 * libio/bits/stdio2.h: Likewise.
18134 * libio/bits/stdio.h: Likewise.
18135 * string/string.h: Likewise.
18136 * string/bits/string3.h: Likewise.
18137 * include/stdio.h: Likewise.
18138 * stdlib/bits/stdlib.h: Likewise.
18139 * stdlib/stdlib.h: Likewise.
18140 * rt/bits/mqueue2.h: Likewise.
18141 * rt/mqueue.h: Likewise.
18142 * posix/bits/unistd.h: Likewise.
18143 * posix/unistd.h: Likewise.
18144 * io/bits/poll2.h: Likewise.
18145 * io/bits/fcntl2.h: Likewise.
18146 * io/fcntl.h: Likewise.
18147 * io/sys/poll.h: Likewise.
18148 * misc/bits/syslog.h: Likewise.
18149 * misc/bits/syslog-ldbl.h: Likewise.
18150 * misc/sys/syslog.h: Likewise.
18151 * socket/bits/socket2.h: Likewise.
18152 * socket/sys/socket.h: Likewise.
18153 * debug/tst-chk1.c: Likewise.
18154 * wcsmbs/bits/wchar2.h: Likewise.
18155 * wcsmbs/bits/wchar-ldbl.h: Likewise.
18156 * wcsmbs/wchar.h: Likewise.
18157
ecf0ebfb
AJ
181582012-04-29 Andreas Jaeger <aj@suse.de>
18159
18160 * Makerules (tests): Remove enable-check-abi protection.
18161 (check-abi-warn): Remove.
18162 (check-abi-%): Remove check-abi-warn usage.
18163
18164 * configure.in: Remove check-abi configure option.
18165 * configure: Regenerated.
18166 * config.make.in (enable-check-abi): Remove.
18167
6d5c57fa
AS
181682012-04-28 Andreas Schwab <schwab@linux-m68k.org>
18169
24c5d07e 18170 [BZ #14033]
ded5180a
AS
18171 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
18172 double functions to double *_finite functions.
18173
7e0d315d
AS
18174 [BZ #13941]
18175 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
18176 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
18177 LDBL_MIN_EXP.
18178 * stdio-common/Makefile (tests): Add tst-sprintf3.
18179 * stdio-common/tst-sprintf3.c: New file.
18180
6d5c57fa
AS
18181 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
18182 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
18183
0749ff8b
JM
181842012-04-28 Joseph Myers <joseph@codesourcery.com>
18185
18186 * conform/conformtest.pl: Remove duplicate typed-constant
18187 handling.
18188
8dbd5d7b
DM
181892012-04-28 David S. Miller <davem@davemloft.net>
18190
18191 * Makerules (%.abilist): Add vpath on sysdep_dirs.
18192 (check-abi-%): Remove AWK script prerequisite and explicit
18193 abilist directory.
18194 (check-abi): Rewrite to just diff the symlist with the abilist.
18195 (config-tls, config-abi-config): Delete, no longer used.
18196 (update-abi-%): Remove AWK script and explicit abilist directory.
18197 (update-abi): Rewrite to simply compare and conditionally copy the
18198 symlist and the sysdep abilist file. Remove update-abi-config
18199 checks.
18200 * abilist/ld.abilist: Remove.
18201 * abilist/libBrokenLocale.abilist: Remove.
18202 * abilist/libanl.abilist: Remove.
18203 * abilist/libcrypt.abilist: Remove.
18204 * abilist/libdl.abilist: Remove.
18205 * abilist/librt.abilist: Remove.
18206 * abilist/libthread_db.abilist: Remove.
18207 * abilist/libutil.abilist: Remove.
18208 * scripts/extract-abilist.awk: Remove.
18209 * scripts/merge-abilist.awk: Remove.
18210 * sysdeps/generic/libcidn.abilist: New file.
18211 * sysdeps/generic/libnss_compat.abilist: New file.
18212 * sysdeps/generic/libnss_db.abilist: New file.
18213 * sysdeps/generic/libnss_dns.abilist: New file.
18214 * sysdeps/generic/libnss_files.abilist: New file.
18215 * sysdeps/generic/libnss_hesiod.abilist: New file.
18216 * sysdeps/generic/libnss_nis.abilist: New file.
18217 * sysdeps/generic/libnss_nisplus.abilist: New file.
18218 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
18219 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
18220 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
18221 file.
18222 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
18223 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
18224 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
18225 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
18226 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
18227 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
18228 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
18229 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
18230 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
18231 file.
18232 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
18233 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
18234 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
18235 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
18236 file.
18237 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
18238 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
18239 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
18240 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
18241 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
18242 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
18243 file.
18244 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
18245 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
18246 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
18247 file.
18248 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
18249 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
18250 New file.
18251 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
18252 New file.
18253 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
18254 New file.
18255 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
18256 New file.
18257 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
18258 New file.
18259 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
18260 New file.
18261 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
18262 New file.
18263 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
18264 New file.
18265 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
18266 New file.
18267 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
18268 New file.
18269 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
18270 New file.
18271 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
18272 New file.
18273 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
18274 New file.
18275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
18276 file.
18277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18278 New file.
18279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18280 New file.
18281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
18282 file.
18283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18284 New file.
18285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18286 New file.
18287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
18288 file.
18289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18290 New file.
18291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18292 New file.
18293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18294 New file.
18295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18296 New file.
18297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18298 New file.
18299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18300 New file.
18301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
18302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
18303 file.
18304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18305 New file.
18306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
18307 file.
18308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
18309 file.
18310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
18311 file.
18312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
18313 file.
18314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
18315 file.
18316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18317 New file.
18318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
18319 file.
18320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
18321 file.
18322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18323 New file.
18324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
18325 file.
18326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
18327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
18328 file.
18329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18330 New file.
18331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
18332 file.
18333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
18334 file.
18335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
18336 file.
18337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
18338 file.
18339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
18340 file.
18341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18342 New file.
18343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
18344 file.
18345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
18346 file.
18347 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18348 New file.
18349 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
18350 file.
18351 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18352 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
18353 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
18354 file.
18355 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
18356 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
18357 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
18358 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
18359 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
18360 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
18361 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
18362 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
18363 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
18364 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
18365 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
18366 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
18367 file.
18368 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18369 New file.
18370 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
18371 file.
18372 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
18373 file.
18374 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
18375 file.
18376 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
18377 file.
18378 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
18379 file.
18380 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18381 New file.
18382 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
18383 New file.
18384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
18385 file.
18386 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
18387 New file.
18388 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
18389 file.
18390 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
18391 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
18392 file.
18393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
18394 New file.
18395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
18396 file.
18397 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
18398 file.
18399 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
18400 file.
18401 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
18402 file.
18403 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
18404 file.
18405 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18406 New file.
18407 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
18408 New file.
18409 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
18410 file.
18411 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
18412 New file.
18413 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
18414 file.
18415
41d73a1b
JM
184162012-04-28 Joseph Myers <joseph@codesourcery.com>
18417
18418 * conform/conformtest.pl: Fix typo in handling typed-constant from
18419 allow-header.
18420
28aeeda4
JM
184212012-04-27 Joseph Myers <joseph@codesourcery.com>
18422
adae8f5e
JM
18423 * README: Cut down references to pre-2.6 Linux kernels and
18424 Linuxthreads. Update lists of configurations in libc and ports
18425 and sort alphabetically. Say "or newer" with Linux kernel version
18426 requirements.
18427
28aeeda4
JM
18428 * config.h.in [IS_IN_build]: Allow compiling without optimization.
18429
a462cb63
RA
184302012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18431
18432 [BZ #887]
18433 * math/libm-test.inc (logb_test_downward): New test to expose
18434 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
18435 rounding mode.
18436
6ad3493e
JM
184372012-04-27 Joseph Myers <joseph@codesourcery.com>
18438
18439 [BZ #14027]
18440 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
18441 to be done.
18442 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
18443 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
18444
2ce4f015
JM
184452012-04-26 Joseph Myers <joseph@codesourcery.com>
18446
5aeb141a
JM
18447 * sysdeps/unix/i386/brk.S: Remove file.
18448 * sysdeps/unix/i386/dl-brk.S: Likewise.
18449 * sysdeps/unix/i386/pipe.S: Likewise.
18450 * sysdeps/unix/i386/sigreturn.S: Likewise.
18451 * sysdeps/unix/i386/syscall.S: Likewise.
18452 * sysdeps/unix/i386/vfork.S: Likewise.
18453 * sysdeps/unix/i386/wait.S: Likewise.
18454
7143acae
JM
18455 * sysdeps/unix/common/tcsendbrk.c: Move to ...
18456 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
18457
2ce4f015
JM
18458 * configure.in (arm*-none*): Do not allow without
18459 --enable-hacker-mode.
18460 (netbsd*): Remove case setting base_os.
18461 (386bsd*): Likewise.
18462 (freebsd*): Likewise.
18463 (bsdi*): Likewise.
18464 (osf*): Likewise.
18465 (sunos*): Likewise.
18466 (ultrix*): Likewise.
18467 (newsos*): Likewise.
18468 (dynix*): Likewise.
18469 (*bsd*): Likewise.
18470 (sysv*): Likewise.
18471 (isc*): Likewise.
18472 (esix*): Likewise.
18473 (sco*): Likewise.
18474 (minix*): Likewise.
18475 (irix4*): Likewise.
18476 (irix6*): Likewise.
18477 (solaris[2-9]*): Likewise.
18478 (none): Likewise.
18479 * configure: Regenerated.
18480
0ac229c8
AZ
184812012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18482
18483 [BZ #11521]
18484 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
18485 overflow or cancellation in calculating denominator.
18486 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
18487 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
18488 down expression to avoid unexpected rounding in newer GCCs.
18489 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
18490
33f244f4
DM
184912012-04-26 David S. Miller <davem@davemloft.net>
18492
18493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
18494 long-double compat symbols.
18495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
18499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
18503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
18504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
18505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
18506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
18507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18508
cfa1f3e8
DM
185092012-04-25 David S. Miller <davem@davemloft.net>
18510
18511 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
18512 HWCAP_* values only after the memory barriers have been defined.
18513 (atomic_full_barrier): Define.
18514 (atomic_read_barrier): Define.
18515 (atomic_write_barrier): Define.
18516
6e236b92
SP
185172012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18518
18519 * shlib-versions: Add libgcc_s version information.
18520 * sysdeps/generic/libgcc_s.h: Remove.
18521 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
18522 libgcc_s.h.
18523 * sysdeps/gnu/unwind-resume.c: Likewise.
18524 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
18525
aab39a09
DM
185262012-04-25 David S. Miller <davem@davemloft.net>
18527
18528 * sysdeps/unix/sparc/brk.S: Delete.
18529 * sysdeps/unix/sparc/dl-brk.S: Delete.
18530 * sysdeps/unix/sparc/pipe.S: Delete.
18531 * sysdeps/unix/sparc/sysdep.S: Delete.
18532 * sysdeps/unix/sparc/sysdep.h: Delete.
18533 * sysdeps/unix/sparc/vfork.S: Delete.
18534 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
18535 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
18536 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
18537 ret_ERRVAL, r0, r1, MOVE): Define.
18538 (JUMPTARGET): Remove.
18539 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
18540 sysdeps/unix/sparc/sysdep.h
18541 (ENTRY, END): Remove.
18542 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18543
a3cc4f48
JM
185442012-04-25 Joseph Myers <joseph@codesourcery.com>
18545
2ed8cda2
JM
18546 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
18547 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
18548 -DIS_IN_build.
18549
35d76d59
JM
18550 * timezone/README: Update upstream location and email address for
18551 tzcode and tzdata.
18552 * timezone/zdump.c: Update from tzcode 2012b.
18553 * timezone/zic.c: Likewise.
18554
a3cc4f48
JM
18555 * configure.in (libc_cv_as_needed): Remove test.
18556 * configure: Regenerated.
18557 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
18558 conditional definition.
18559 [$(have-as-needed) != yes] (no-as-needed): Likewise.
18560 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
18561 * config.make.in (have-as-needed): Remove variable.
18562
ceab42c3
SP
185632012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18564 Paul Pluzhnikov <ppluzhnikov@google.com>
18565
18566 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
18567 strings correctly.
18568
3ce2865f
CLT
185692012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
18570
18571 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
18572 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
18573 * sysdeps/sh/strlen.S: Likewise.
18574
f37e0d68
JM
185752012-04-24 Joseph Myers <joseph@codesourcery.com>
18576
ae186e9a
JM
18577 * sysdeps/unix/fork.S: Remove file.
18578 * sysdeps/unix/i386/fork.S: Likewise.
18579 * sysdeps/unix/sparc/fork.S: Likewise.
18580
b96914af
JM
18581 * sysdeps/unix/system.c: Remove file.
18582 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
18583
f37e0d68
JM
18584 * sysdeps/unix/getegid.S: Remove file.
18585 * sysdeps/unix/geteuid.S: Likewise.
18586
87ef29ca
RM
185872012-04-24 Roland McGrath <roland@hack.frob.com>
18588
83bcd236
RM
18589 * scripts/check-localplt.awk: New file.
18590 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
18591 of diff.
18592 * scripts/data/localplt-generic.data: Add a comment.
18593
87ef29ca
RM
18594 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
18595 NODE when __dir_mkfile failed.
18596 * sysdeps/mach/hurd/symlinkat.c: Likewise.
18597 Reported by Ludovic Courtès <ludo@gnu.org>.
18598
e5a6e567
AJ
185992012-04-24 Andreas Jaeger <aj@suse.de>
18600
18601 * Makerules (common-clean): Also remove gen-as-const-headers
18602 files.
18603
c1820385
JM
186042012-04-24 Joseph Myers <joseph@codesourcery.com>
18605
18606 * Makerules (native-compile): Do not change working directory for
18607 build. Use $(OUTPUT_OPTION) in command.
18608 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
18609
94e02fc4
AZ
186102012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18611
18612 [BZ #13886]
18613 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
18614 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
18615 * math/libm-test.inc (floor_test): Add more tests.
18616 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
18617
3a533ca3
JM
186182012-04-24 Joseph Myers <joseph@codesourcery.com>
18619
940ab4b3
JM
18620 * sysdeps/unix/getdents.c: Remove file.
18621 * sysdeps/unix/sysv/getdents.c: Likewise.
18622 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
18623
90e037bd
JM
18624 * sysdeps/unix/syscalls.list (madvise): Add syscall from
18625 sysdeps/unix/mman/syscalls.list.
18626 (mmap): Likewise.
18627 (mprotect): Likewise.
18628 (msync): Likewise.
18629 (munmap): Likewise.
18630 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
18631 * sysdeps/unix/mman/syscalls.list: Remove.
18632 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
18633
3a533ca3
JM
18634 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
18635 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
18636 * configure: Regenerated.
18637 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
18638 $(libgcc_s_suffix).
18639 * config.make.in (libgcc_s_suffix): Remove variable.
18640
1ad743de
JM
186412012-04-23 Joseph Myers <joseph@codesourcery.com>
18642
4ad451e2
JM
18643 * sysdeps/unix/sysv/gethostname.c: Move to ...
18644 * sysdeps/posix/gethostname.c: ... here.
18645
5e37ce39
JM
18646 * sysdeps/unix/execve.S: Remove file.
18647
1ad743de
JM
18648 * sysdeps/unix/_exit.S: Remove file.
18649
4e681b5b
AJ
186502012-04-23 Andreas Jaeger <aj@suse.de>
18651
18652 [BZ #13739]
18653 * manual/Makefile: Remove make dist support, there's no
18654 need for a stand-alone documentation tar ball.
18655 (TEXI2DVI): Define always, it's not in Makeconfig.
18656 (dist): Removed.
18657 (tar-it): Removed.
18658 (edition): Removed.
18659 (glibc-doc-$(edition).tar): Removed
18660 (%.Z): Removed.
18661 (%.gz): Removed.
18662 (%.uu): Removed.
18663 (ETAGS): Remove, it's in Makeconfig.
18664 (move-if-change): Remove, it's in Makeconfig.
18665
38686a03 186662012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
18667
18668 [BZ #13970]
18669 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
18670 (strtod, strtof, strtold, strtol, strtoul, strtoq)
18671 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
18672 (strtod_l, strtof_l, strtold_l): Remove __wur.
18673 It is not necessarily an error to ignore strtol's return value.
18674 One can reliably look at the stored endptr to decide whether
18675 the number had valid syntax.
18676
7c0616fa
AJ
186772012-04-21 Andreas Jaeger <aj@suse.de>
18678
803cb6b7 18679 [BZ #13739]
7c0616fa
AJ
18680 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
18681
b0fe253f
JM
186822012-04-21 Joseph Myers <joseph@codesourcery.com>
18683
18684 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
18685 * sysdeps/unix/sysv/Versions: Remove file.
18686
8280f22d
MT
186872012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
18688
18689 [BZ #13927]
18690 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18691
75ce411f 186922012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
18693
18694 [BZ #7064]
18695 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
18696 version from __vm86.
18697
097d59fa
JM
186982012-04-20 Joseph Myers <joseph@codesourcery.com>
18699
a90f3bcb
JM
18700 * sysdeps/unix/common/lxstat.c: Remove file.
18701 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
18702
edc7ea78
JM
18703 * sysdeps/unix/sysv/Makefile: Remove file.
18704
cb78c221
JM
18705 * sysdeps/unix/sysv/direct.h: Remove file.
18706
efa6a45f
JM
18707 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
18708 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
18709 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
18710 * sysdeps/unix/sysv/bits/signum.h: Likewise.
18711 * sysdeps/unix/sysv/bits/stat.h: Likewise.
18712 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
18713 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
18714
9c9f2d0c
JM
18715 * sysdeps/unix/sysv/setrlimit.c: Remove file.
18716
4541c83b
JM
18717 * sysdeps/unix/xmknod.c: Remove file.
18718 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
18719
f5d153a0
JM
18720 * sysdeps/unix/sysv/settimeofday.c: Remove file.
18721
aa746595
JM
18722 * sysdeps/unix/sysv/i386/time.S: Remove file.
18723
cce5905e
JM
18724 * sysdeps/unix/fxstat.c: Remove file.
18725 * sysdeps/unix/xstat.c: Likewise.
18726 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
18727
37fa3841
JM
18728 * sysdeps/unix/sysv/sigaction.c: Remove file.
18729
ff1962a3
JM
18730 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
18731 (sysdep_headers): Remove variable.
18732 [termio.h not in sysdep_headers] (generated): Likewise.
18733 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
18734 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
18735 * sysdeps/unix/sysv/tcdrain.c: Likewise.
18736 * sysdeps/unix/sysv/tcflow.c: Likewise.
18737 * sysdeps/unix/sysv/tcflush.c: Likewise.
18738 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
18739 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
18740 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
18741 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
18742 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
18743
e7740d31
JM
18744 * sysdeps/unix/siglist.c: Remove file.
18745
ee06f18b
JM
18746 * sysdeps/unix/getppid.S: Remove file.
18747
097d59fa
JM
18748 * sysdeps/unix/mkdir.c: Remove file.
18749 * sysdeps/unix/rmdir.c: Likewise.
18750
ff3d51ec
AS
187512012-04-19 Andreas Schwab <schwab@linux-m68k.org>
18752
18753 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
18754 ERR_MAX value.
18755 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
18756 errlist-compat value.
18757
50f81fd7
DM
187582012-04-18 David S. Miller <davem@davemloft.net>
18759
18760 * sysdeps/generic/memcopy.h (reg_char): Delete.
18761 * debug/strcat_chk.c: Use char, not reg_char.
18762 * debug/strcpy_chk.c: Likewise.
18763 * debug/strncat_chk.c: Likewise.
18764 * debug/strncpy_chk.c: Likewise.
18765 * string/memchr.c: Likewise.
18766 * string/memrchr.c: Likewise.
18767 * string/rawmemchr.c: Likewise.
18768 * string/strcat.c: Likewise.
18769 * string/strchr.c: Likewise.
18770 * string/strchrnul.c: Likewise.
18771 * string/strcmp.c: Likewise.
18772 * string/strcpy.c: Likewise.
18773 * string/strncat.c: Likewise.
18774 * string/strncmp.c: Likewise.
18775 * string/strncpy.c: Likewise.
18776
8ff41c46
WS
187772012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18778
18779 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
18780 __builtin_memcopy is called when src and dest ranges are known to not
18781 overlap.
18782
6b652f46
WS
187832012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18784
18785 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
18786 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
18787 fwd_align_merge macro call.
18788 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
18789 bwd_align_merge macro call.
18790 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18791
b282631e
WS
187922012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18793
18794 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
18795 bwd_align_merge macros.
18796 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
18797 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
18798 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18799
95aa737c
DM
188002012-04-18 David S. Miller <davem@davemloft.net>
18801
18802 * sysdeps/sparc/sparc64/memcopy.h: Delete.
18803
7a99a614
AJ
188042012-04-18 Andreas Jaeger <aj@suse.de>
18805
18806 [BZ# 6794]
18807 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
18808 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
18809 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18810
18811 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
18812 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
18813 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18814
18815 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
18816 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
18817 Adjust for changed ldbl-128 files.
18818
18819 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
18820 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
18821 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18822
e5270c23
DM
188232012-04-17 David S. Miller <davem@davemloft.net>
18824
18825 * sysdeps/sparc/sparc32/memcopy.h: Delete.
18826
fb5e92c9
AS
188272012-04-17 Andreas Schwab <schwab@linux-m68k.org>
18828
18829 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
18830 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
18831 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
18832 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
18833 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18834 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
18835
76da7265
AZ
188362012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18837
18838 [BZ #6794]
18839 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
18840 * math/libm-test.inc: Add ilogb errno and exception tests.
18841 * math/w_ilogb.c: New file: ilogb wrapper.
18842 * math/w_ilogbf.c: New file: ilogbf wrapper.
18843 * math/w_ilogbl.c: New file: ilogbl wrapper.
18844 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
18845 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
18846 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
18847 exception being thrown with 0.0 as argument.
18848 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
18849 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
18850 exception being thrown with 0.0 as argument.
18851 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
18852 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18853 exception being thrown with 0.0 as argument.
18854 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
18855 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18856 exception being thrown with 0.0 as argument.
18857 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
18858 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 18859 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
18860 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
18861 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
18862 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
18863 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
18864 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
18865 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
18866
0396e69d
PB
188672012-04-17 Petr Baudis <pasky@ucw.cz>
18868
18869 * include/sys/uio.h: Change __vector to __iovec to avoid clash
18870 with altivec.
18871
750b5926
MP
188722012-04-16 Marek Polacek <polacek@redhat.com>
18873
18874 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
18875
751728a1
MP
188762012-04-16 Marek Polacek <polacek@redhat.com>
18877
18878 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
18879 operands of fdivp instruction.
18880
34a27407
L
188812012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18882
18883 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
18884 * elf/tst-auditmod3b.c: Likewise.
18885 * elf/tst-auditmod4b.c: Likewise.
18886 * elf/tst-auditmod5b.c: Likewise.
18887 * elf/tst-auditmod6b.c: Likewise.
18888 * elf/tst-auditmod6c.c: Likewise.
18889 * elf/tst-auditmod7b.c: Likewise.
18890 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
18891 * sysdeps/x86_64/preconfigure.in: Likewise.
18892 * sysdeps/x86_64/preconfigure: Regenerated.
18893
7e73e17d
L
188942012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18895
18896 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
18897 __ILP32__.
18898
c7a6ab72
AB
188992012-04-13 Antoine Balestrat <merkil33@gmail.com>
18900
18901 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18902 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
18903
a9e8e0e0
CL
189042012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
18905
18906 [BZ #13973]
18907 * locale/iso-639.def: Fix gl language name. Spotted by
18908 Yaron Shahrabani.
18909
ec98af7d
RM
189102012-04-12 Roland McGrath <roland@hack.frob.com>
18911
18912 [BZ #2074]
18913 * libio/libio.h (__io_write_fn): Update comment.
18914
247c3ede
PB
189152012-04-12 Petr Baudis <pasky@ucw.cz>
18916
18917 [BZ #2074]
18918 * stdio.texi (Hook Functions): The user provided writer function
18919 is not allowed to return -1.
18920
55939d6d
DM
189212012-04-11 David S. Miller <davem@davemloft.net>
18922
18923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18924
90020f5a
MF
189252012-04-11 Mike Frysinger <vapier@gentoo.org>
18926
18927 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
18928 Add a leading slash to rtkaio.
18929
288f9098
JM
189302012-04-11 Jim Meyering <meyering@redhat.com>
18931
90020f5a
MF
18932 [BZ #11959]
18933 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
18934 It is not necessarily an error to ignore fwrite's return
18935 value. One can reliably use ferror to test for errors after
18936 the fact.
288f9098 18937
4be2b570
L
189382012-04-10 H.J. Lu <hongjiu.lu@intel.com>
18939
18940 * bits/types.h (__snseconds_t): New type.
18941 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
18942
18943 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
18944 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18945 (__SNSECONDS_T_TYPE): Likewise.
18946 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18947 (__SNSECONDS_T_TYPE): Likewise.
18948 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18949 (__SNSECONDS_T_TYPE): Likewise.
18950
288f9098 189512012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
18952
18953 [BZ #2636]
18954 * manual/time.texi (Processor Time): Return type of times is
18955 elapsed real time since an arbitrary point in the past.
18956 (CPU Time): Move CLK_TCK from here...
18957 (Processor Time): ...to here. Correct description.
18958 * manual/conf.texi (Constants for Sysconf): Correct description of
18959 _SC_CLK_TCK.
18960
d7dd4413
DM
189612012-04-10 David S. Miller <davem@davemloft.net>
18962
18963 [BZ #13967]
18964 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
18965 where the is a gap between DT_REL(A) and DT_JMPREL.
18966
b46068fc
L
189672012-04-10 H.J. Lu <hongjiu.lu@intel.com>
18968
18969 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
18970 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
18971 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
18972
73d65cc3
SP
189732012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18974
18975 * elf/dl-support.c (_dl_inhibit_cache): New variable.
18976 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
18977 (dl_main): Handle --inhibit-cache.
18978 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
18979 _dl_inhibit_cache.
18980 * elf/dl-load.c (_dl_map_object): Use it.
18981 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
18982
bcc8d661
JM
189832012-04-09 Joseph Myers <joseph@codesourcery.com>
18984
8f9a2fae
JM
18985 [BZ #13872]
18986 * sysdeps/i386/fpu/e_powl.S (p78): New object.
18987 (__ieee754_powl): Saturate large exponents rather than testing for
18988 overflow of y*log2(x).
18989 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18990 * math/libm-test.inc (pow_test): Do not permit spurious overflow
18991 exceptions.
18992
bcc8d661
JM
18993 [BZ #11521]
18994 * math/s_ctan.c: Include <float.h>.
18995 (__ctan): Avoid internal overflow or cancellation in calculating
18996 denominator.
18997 * math/s_ctanf.c: Likewise.
18998 * math/s_ctanl.c: Likewise.
18999 * math/s_ctanh.c: Likewise.
19000 * math/s_ctanhf.c: Likewise.
19001 * math/s_ctanhl.c: Likewise.
19002 * math/libm-test.inc (ctan_test): Add more tests.
19003 (ctanh_test): Likewise.
19004 * sysdeps/i386/fpu/libm-test-ulps: Update.
19005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19006
823fbbb4
AJ
190072012-04-09 Andreas Jaeger <aj@suse.de>
19008
03879793
AJ
19009 [BZ #6894]
19010 * manual/filesys.texi (Directory Entries): Mention that d_namlen
19011 is an optional BSD extension.
19012
823fbbb4
AJ
19013 [BZ #10254]
19014 * manual/stdio.texi (Opening Streams): Document additional fopen
19015 parameters.
19016
8de131cb
RM
190172012-04-09 Roland McGrath <roland@hack.frob.com>
19018
19019 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
19020 %eax without telling the compiler.
19021
c0ed9d7d
CD
190222012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
19023
19024 [BZ # 13963]
19025 * manual/install.texi: Use sourceware.org.
19026
c483f6b4
JM
190272012-04-09 Joseph Myers <joseph@codesourcery.com>
19028
d7dd9453
JM
19029 [BZ #13873]
19030 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
19031 (__ieee754_pow): Generate overflow and underflow using huge*huge
19032 and tiny*tiny rather than just returning constant infinity or zero
19033 for large exponents.
19034 * math/libm-test.inc (pow_test): Require overflow exceptions for
19035 applicable cases of large exponents.
19036
c483f6b4
JM
19037 [BZ #706]
19038 * sysdeps/i386/fpu/e_pow.S (p10): New object.
19039 (__ieee754_pow): Use iterative multiplication algorithm only for
19040 integer exponents with absolute value below 1024. Check for odd
19041 integer exponents when using algorithm for real exponents.
19042 * math/libm-test.inc (pow_test): Add more tests.
19043 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19044
d2de7579
JM
190452012-04-08 Joseph Myers <joseph@codesourcery.com>
19046
19047 [BZ #13705]
19048 * math/libm-test.inc (exp_test): Do not allow overflow exception
19049 on underflow test.
19050
f77f1232
AJ
190512012-04-08 Aurelien Jarno <aurelien@aurel32.net>
19052
19053 [BZ #13705]
19054 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
19055 instead of __kernel_standard_f.
19056
3884932b
MF
190572012-04-08 Mike Frysinger <vapier@gentoo.org>
19058
19059 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
19060 * sysdeps/x86_64/memset_chk.S: Likewise.
19061
54472e9c
AJ
190622012-04-08 Andreas Jaeger <aj@suse.de>
19063
6ab0fbfc
AJ
19064 [BZ #10153]
19065 * manual/startup.texi (Environment Access): Describe return value
19066 for putenv and setenv.
19067
61efba8c
AJ
19068 [BZ #6895]
19069 * manual/filesys.texi (Directory Entries): Add description for
19070 DT_LNK.
19071
95c3f29a
AJ
19072 [BZ #6890]
19073 * manual/filesys.texi (Directory Entries): Clarify that it's file
19074 system not operating system in the description of DT_UNKNOWN.
19075
54472e9c
AJ
19076 [BZ #6578]
19077 * manual/syslog.texi (closelog): Fix reference, it's openlog.
19078
624254b1
SC
190792012-04-08 Stephen Compall <s11@member.fsf.org>
19080
19081 [BZ #6649]
19082 * manual/llio.texi (Opening and Closing Files): Add cross
19083 reference to explain mode argument.
19084
1e4920e0
MF
190852012-04-07 Mike Frysinger <vapier@gentoo.org>
19086
19087 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
19088 * sysdeps/x86_64/memset_chk.S: Likewise.
19089
5ed848f3
DM
190902012-04-07 David S. Miller <davem@davemloft.net>
19091
19092 * elf/elf.h (R_SPARC_WDISP10): Define.
19093 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
19094 R_SPARC_SIZE32.
19095 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
19096 R_SPARC_SIZE64 and R_SPARC_H34.
19097
96154cd8
CD
190982012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
19099
19100 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
19101 conditions and remove no longer applicable assertion.
19102
9904dc47
L
191032012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19104
19105 * bits/byteswap.h: Include <features.h>.
19106 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19107 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19108
f8887d0a
L
191092012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19110
19111 * bits/byteswap.h (__bswap_16): Removed.
19112 Include <bits/byteswap-16.h> to get __bswap_16.
19113 * sysdeps/i386/bits/byteswap.h: Likewise.
19114 * sysdeps/s390/bits/byteswap.h: Likewise.
19115 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19116 * bits/byteswap-16.h: New file.
19117 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19118 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19119 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
19120 * string/Makefile (headers): Add bits/byteswap-16.h.
19121
62470f60
PP
191222012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19123
19124 [BZ #13895]
19125 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
19126 extra indirection.
19127 * nss/Makefile (tests-static, tests): Add tst-nss-static.
19128 * nss/tst-nss-static.c: New.
19129
4dad7bab
RM
191302012-04-06 Robert Millan <rmh@gnu.org>
19131
19132 [BZ #6486]
19133 * manual/llio.texi (File Position Primitive): lseek
19134 refers to WHENCE when it really means OFFSET.
19135
e9142a17
AJ
191362012-04-06 Andreas Jaeger <aj@suse.de>
19137
2c040eff
AJ
19138 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
19139 strncmp declarations.
19140
e9142a17
AJ
19141 * abilist/libc.abilist: Add __poll and __ppoll.
19142
ff9f1c5f
DM
191432012-04-05 David S. Miller <davem@davemloft.net>
19144
dcd2ae90
DM
19145 * scripts/check-local-headers.sh: Accept a host triplet in the
19146 path matched by the exclude regexp.
19147
993eb054
DM
19148 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
19149 definition.
19150 * sysdeps/powerpc/powerpc32/dl-machine.h
19151 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
19152 * sysdeps/s390/s390-32/dl-machine.h
19153 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19154 * sysdeps/sparc/sparc32/dl-machine.h
19155 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19156 * sysdeps/sparc/sparc64/dl-machine.h
19157 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19158
ff9f1c5f
DM
19159 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
19160 lazy binding.
48e2e132 19161 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
19162 undefined symbol errors.
19163
48e2e132 19164 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
19165 DT_NEEDED entries.
19166
e80d6f94
MM
191672012-04-05 Michael Matz <matz@suse.de>
19168
19169 [BZ #13592]
19170 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
19171
349fa79f
AJ
191722012-04-05 Andreas Jaeger <aj@suse.de>
19173
19174 [BZ #13908]
19175 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
19176 comment.
19177
f402708f
KK
191782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19179
19180 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
19181 which ROUND is no valid rounding mode.
19182
2ecccfc9
KK
191832012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19184
19185 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
19186 read again.
19187 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
19188
8a53f50f
KK
191892012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19190
19191 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
19192 an exception using FPU order intentionally.
19193
191942012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19195
19196 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
19197 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
19198 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
19199 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
19200
d653abb7
SJ
192012012-04-05 Simon Josefsson <simon@josefsson.org>
19202
19203 [BZ #12340]
19204 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
19205 EINVAL when BUFLEN is too smal.
19206
c3b1bf7d
TS
192072012-04-05 Thomas Schwinge <thomas@codesourcery.com>
19208
19209 [BZ #13553]
19210 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
19211 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
19212
b1aa60f3
AJ
192132012-04-03 Andreas Jaeger <aj@suse.de>
19214
c3b1bf7d 19215 [BZ #13938]
67f60a26
AJ
19216 * manual/setjmp.texi (System V contexts): Fix sentence.
19217
b1aa60f3
AJ
19218 [BZ #13926]
19219 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
19220 New macro for this case.
19221 [!__GNUC__] (__bswap_64): New inline function for this case.
19222 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19223 * bits/byteswap.h: Likewise.
19224 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
19225 ull, guard with __GLIBC_HAVE_LONG_LONG.
19226
19227 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
19228 __GLIBC_HAVE_LONG_LONG.
19229
19230 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
19231 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
19232
39c59c35
TMQMF
192332012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19234
19235 [BZ #13691]
19236 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
19237 inptr and inend, rather than using last_ch.
19238
135ffda8
DM
192392012-04-02 David S. Miller <davem@davemloft.net>
19240
19241 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
19242 * stdio-common/printf-parse.h (read_int): Change return type to
19243 'int', return -1 on INT_MAX overflow.
19244 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
19245 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
19246 overflows INT_MAX. Check for overflow of in-format-string precision
19247 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
19248 SIZE_MAX not INT_MAX for integer overflow test.
19249 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
19250 skip the construct in the format string but do not record anything.
19251 * stdio-common/bug22.c: Adjust to test both width/prevision
19252 INT_MAX overflow as well as total length INT_MAX overflow. Check
19253 explicitly for proper errno values.
19254
228c019e
TS
192552012-04-02 Thomas Schwinge <thomas@codesourcery.com>
19256
302cadd3
TS
19257 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
19258 CHAR_MAX.
19259 * string/test-strcmp.c [! WIDE]: Likewise.
19260 * time/tst-mktime2.c: Likewise for INT_MAX.
19261 * string/test-string.h: #include <sys/param.h> for MIN.
19262
228c019e
TS
19263 * csu/init-first.c (__libc_init_first): Call __ctype_init.
19264 * sysdeps/i386/init-first.c (init): Likewise.
19265 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
19266 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
19267 * sysdeps/sh/init-first.c (init): Likewise.
19268
cfa633f5
UD
192692012-04-01 Ulrich Drepper <drepper@gmail.com>
19270
19271 * po/ru.po: Update from translation team.
d1635ef8 19272 * po/vi.po: Likewise.
cfa633f5 19273
6cd0a5ea
SP
192742012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19275
19276 * resolv/nss_dns/dns-host.c: Merge copyright years.
19277
4b43400f
LD
192782012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19279
19280 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19281 Optimize memcpy with prefetch if
19282 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
19283 src, dst pointers have unequal 16 byte alignments.
19284
48c41d04
SP
192852012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19286
19287 [BZ #13928]
19288 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
19289 from a CNAME entry and return the minimum ttl for the query.
19290 (gaih_getanswer_slice): Likewise.
19291
b8dc394d
JL
192922012-03-30 Jeff Law <law@redhat.com>
19293
19294 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
19295 due to long keys.
19296 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
19297 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
19298
2f5a5ed0
JL
19299 * resolv/nss_dns/dns-host.c: Update copyright year.
19300
1d39e359
UD
193012012-03-30 Ulrich Drepper <drepper@gmail.com>
19302
c030f70c 19303 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 19304 requests to save a system call. Fix check that all bytes are sent.
c030f70c 19305
1d39e359
UD
19306 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
19307 comments for sendmmsg.
19308
193092012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
19310
19311 [BZ #13691]
19312 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
19313 with only 1 character between 0x0041 and 0x01b0.
19314 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
19315 * wcsmbs/tst-mbsnrtowcs.c: New file.
19316
20fde227
DM
193172012-03-29 David S. Miller <davem@davemloft.net>
19318
19319 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
19320 small copies by hand.
19321
984a4237
JL
193222012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19323
19324 [BZ #13761]
19325 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
19326 _nss_compat_initgroups_dyn): Fall back to malloc/free
19327 for large group memberships.
19328
18c9d62b
DM
193292012-03-28 David S. Miller <davem@davemloft.net>
19330
88d85d4f
DM
19331 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
19332 that branches into memcpy.
19333 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19334 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
19335 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19336 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
19337 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
19338 bits.
19339 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
19340 implementation too.
19341 * sysdeps/sparc/mempcpy.S: New file.
19342
e5aa83e1
DM
19343 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
19344 the IFUNC routine in the libc case.
19345 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19346
88570753
DM
19347 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
19348 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
19349 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
19350 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
19351 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
19352 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
19353 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
19354 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
19355
249d7567
DM
19356 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
19357 loop to 256 bytes instead of 64 bytes and fix test signedness.
19358
18c9d62b
DM
19359 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
19360 * sysdeps/sparc/sparc32/Makefile: rather than here...
19361 * sysdeps/sparc/sparc64/Makefile: and here.
19362
05f3d1f6
UD
193632012-03-28 Ulrich Drepper <drepper@gmail.com>
19364
19365 * malloc/mallocbug.c: Avoid warnings about unused variables.
19366
86ae07a8
JL
193672012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19368
19369 [BZ #13760]
19370 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
19371 in the right place. Discard and retry query if response is
19372 larger than input buffer size.
19373
41bf21a1
JM
193742012-03-28 Joseph Myers <joseph@codesourcery.com>
19375
d6270972
JM
19376 [BZ #369]
19377 [BZ #2678]
19378 [BZ #3866]
19379 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
19380 x for large integer exponent.
19381 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19382 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
19383 sign of result as needed afterwards.
19384 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19385 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
19386 result for underflowing pow the same as for overflow.
19387 (__kernel_standard_l): Handle powl overflow and underflow here
19388 rather than calling __kernel_standard.
19389 * math/libm-test.inc (pow_test): Add more tests.
19390
414fca03 19391 [BZ #3868]
41bf21a1
JM
19392 [BZ #13879]
19393 [BZ #13910]
19394 [BZ #13911]
19395 [BZ #13912]
19396 [BZ #13913]
19397 [BZ #13915]
19398 [BZ #13916]
19399 [BZ #13917]
19400 [BZ #13918]
19401 [BZ #13919]
19402 [BZ #13920]
19403 [BZ #13921]
19404 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
19405 * sysdeps/ieee754/k_standard.c: Include <float.h>.
19406 (__kernel_standard_l): New function.
19407 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
19408 __kernel_standard.
19409 * math/w_acosl.c (__acosl): Likewise.
19410 * math/w_asinl.c (__asinl): Likewise.
19411 * math/w_atan2l.c (__atan2l): Likewise.
19412 * math/w_atanhl.c (__atanhl): Likewise.
19413 * math/w_coshl.c (__coshl): Likewise.
19414 * math/w_exp10l.c (__exp10l): Likewise.
19415 * math/w_exp2l.c (__exp2l): Likewise.
19416 * math/w_fmodl.c (__fmodl): Likewise.
19417 * math/w_hypotl.c (__hypotl): Likewise.
19418 * math/w_j0l.c (__j0l, __y0l): Likewise.
19419 * math/w_j1l.c (__j1l, __y1l): Likewise.
19420 * math/w_jnl.c (__jnl, __ynl): Likewise.
19421 * math/w_lgammal.c (__lgammal): Likewise.
19422 * math/w_log10l.c (__log10l): Likewise.
19423 * math/w_log2l.c (__log2l): Likewise.
19424 * math/w_logl.c (__logl): Likewise.
19425 * math/w_powl.c (__powl): Likewise.
19426 * math/w_remainderl.c (__remainderl): Likewise.
19427 * math/w_scalbl.c (sysv_scalbl): Likewise.
19428 * math/w_sinhl.c (__sinhl): Likewise.
19429 * math/w_sqrtl.c (__sqrtl): Likewise.
19430 * math/w_tgammal.c (__tgammal): Likewise.
19431 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
19432 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
19433 * math/libm-test.inc (acos_test): Add more tests.
19434 (acosh_test): Likewise.
19435 (asin_test): Likewise.
19436 (atanh_test): Likewise.
19437 (exp_test): Likewise.
19438 (exp10_test): Likewise.
19439 (exp2_test): Likewise.
19440 (expm1_test): Likewise.
19441 (lgamma_test): Likewise.
19442 (log_test): Likewise.
19443 (log10_test): Likewise.
19444 (log1p_test): Likewise.
19445 (log2_test): Likewise.
19446 (pow_test): Do not allow some spurious overflow exceptions.
19447 (sqrt_test): Add more tests.
19448 (tgamma_test): Likewise.
19449 (y0_test): Likewise.
19450 (y1_test): Likewise.
19451 (yn_test): Likewise.
19452
dd62fda6
AB
194532012-03-27 Anton Blanchard <anton@samba.org>
19454
19455 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
19456 MAP_HUGETLB.
19457 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19458 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19459 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19460
1e3cdfda
AJ
194612012-03-27 David S. Miller <davem@davemloft.net>
19462
b855ab85
DM
19463 * conform/Makefile: Run run-conformtest.sh using $(BASH).
19464
1e3cdfda
AJ
19465 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
19466 have-as-vis3 check.
19467
194682012-03-27 Andreas Jaeger <aj@suse.de>
19469
19470 * sysdeps/x86_64/elf/configure.in: Moved to ...
19471 * sysdeps/x86_64/configure.in: ... here.
19472 * sysdeps/x86_64/elf/start.S: Moved to ...
19473 * sysdeps/x86_64/start.S: ... here.
19474 * sysdeps/x86_64/elf/configure: Delete.
19475
19476 * sysdeps/x86_64/configure.in: Merge contents from
19477 sysdeps/i386/configure.in (without i686 check).
19478
19479 * sysdeps/i386/elf/Versions: Merge into ...
19480 * sysdeps/i386/Versions: ... this.
19481 * sysdeps/i386/elf/Versions: Delete file.
19482 * sysdeps/i386/elf/start.S: Moved to ...
19483 * sysdeps/i386/start.S: ...here.
19484 * sysdeps/i386/elf/configure.in: Merge into...
19485 * sysdeps/i386/configure.in: ...here.
19486 * sysdeps/i386/elf/configure.in: Delete file.
19487 * sysdeps/i386/elf/configure: Delete file.
19488
19489 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
19490 * debug/backtracesyms.c: ... here.
19491 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
19492 * debug/backtracesymsfd.c: ... here.
19493 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
19494 * sysdeps/generic/ifunc-sel.h: ... here.
19495
19496 * sysdeps/unix/i386/start.c: Delete file.
19497 * sysdeps/unix/sparc/start.c: Delete file.
19498 * sysdeps/unix/start.c: Delete file.
19499
19500 * sysdeps/sh/elf/configure.in: Moved to ...
19501 * sysdeps/sh/configure.in: ... here.
19502 * sysdeps/sh/elf/start.S: Moved to ...
19503 * sysdeps/sh/start.S: ... here.
19504 * sysdeps/sh/elf/configure: Delete file.
19505
19506 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
19507 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
19508 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
19509 * sysdeps/powerpc/powerpc64/entry.h: ... here.
19510 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
19511 * sysdeps/powerpc/powerpc64/start.S: here.
19512 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
19513 * sysdeps/powerpc/powerpc64/Makefile: ... this.
19514 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
19515 * sysdeps/powerpc/powerpc64/configure.in: ... this.
19516 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
19517
19518 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
19519 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
19520 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
19521 * sysdeps/powerpc/powerpc32/start.S: ... here.
19522 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
19523 * sysdeps/powerpc/powerpc32/configure.in: ... this.
19524 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
19525
19526 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
19527 * sysdeps/powerpc/ifunc-sel.h: ... here.
19528 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
19529 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
19530
19531 * sysdeps/sparc/elf/configure.in: Moved to ...
19532 * sysdeps/sparc/configure.in: ... here.
19533 * sysdeps/sparc/elf/configure: Delete file.
19534 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
19535 * sysdeps/sparc/sparc32/start.S: ... here.
19536 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
19537 * sysdeps/sparc/sparc64/start.S: ... here.
19538 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
19539 * sysdeps/sparc/sparc32/Makefile: ... this.
19540 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
19541 * sysdeps/sparc/sparc64/Makefile: ... this.
19542
19543 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
19544 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
19545 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
19546 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
19547 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
19548 * sysdeps/s390/s390-32/setjmp.S: ... here.
19549 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
19550 * sysdeps/s390/s390-32/configure.in: ... here.
19551 * sysdeps/s390/s390-32/elf/configure: Delete file.
19552 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
19553 * sysdeps/s390/s390-32/start.S: ... here.
19554
19555 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
19556 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
19557 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
19558 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
19559 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
19560 * sysdeps/s390/s390-64/setjmp.S: ... here.
19561 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
19562 * sysdeps/s390/s390-64/configure.in: ... here
19563 * sysdeps/s390/s390-64/elf/configure: Delete file.
19564 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
19565 * sysdeps/s390/s390-64/start.S: ... here.
19566 * sysdeps/s390/s390-64/elf/configure: Delete.
19567
19568 * configure.in: Remove support for elf directories in sysdeps.
19569
19570 * configure: Regenerated.
19571 * sysdeps/i386/configure: Regenerated.
19572 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19573 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19574 * sysdeps/s390/s390-32/configure: Regenerated.
19575 * sysdeps/s390/s390-64/configure: Regenerated.
19576 * sysdeps/sh/configure: Regenerated.
19577 * sysdeps/sparc/configure: Regenerated.
19578 * sysdeps/x86_64/configure: Regenerated.
19579
a3f61311
AS
195802012-03-26 Andreas Schwab <schwab@linux-m68k.org>
19581
c876e002
AS
19582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19583
a3f61311
AS
19584 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
19585 denormal result into account.
19586
ac4c54f0
RM
195872012-03-25 Roland McGrath <roland@hack.frob.com>
19588
19589 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
19590 Reported by Allan McRae <allan@archlinux.org>.
19591
6a9b9c02
JL
195922012-03-23 Jeff Law <law@redhat.com>
19593
19594 * nss/getnssent.c (__nss_getent): Fix typo.
19595
4c42a0c1
DM
195962012-03-23 David S. Miller <davem@davemloft.net>
19597
19598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19599
1532c7ac
L
196002012-03-23 H.J. Lu <hongjiu.lu@intel.com>
19601
19602 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
19603 to pad to uint64_t for each field.
19604 (dl_tls_index): Replace unsigned long with uint64_t.
19605
3ff42526
PP
196062012-03-23 Daniel Jacobowitz <dmj@google.com>
19607 Paul Pluzhnikov <ppluzhnikov@google.com>
19608
19609 [BZ #6528]
19610 * grp/Makefile (otherlibs): Don't set it.
19611 * inet/Makefile (otherlibs): Likewise.
19612 * login/Makefile (otherlibs): Likewise.
19613 * nscd/Makefile (otherlibs): Likewise.
19614 * posix/Makefile (otherlibs): Likewise.
19615 * pwd/Makefile (otherlibs): Likewise.
19616 * rt/Makefile (otherlibs): Likewise.
19617 * sunrpc/Makefile (otherlibs): Likewise.
19618 * nss/Makefile (otherlibs): Likewise.
19619 Add libnss_files to routines and static-only-routines.
19620 ($(objpfx)getent): Remove rule.
19621 * resolv/Makefile: Add libnss_dns and libresolv to routines and
19622 static-only-routines.
19623
7c69cd14
JM
196242012-03-22 Joseph Myers <joseph@codesourcery.com>
19625
19626 [BZ #13892]
19627 * math/s_cexp.c: Include <float.h>.
19628 (__cexp): Handle exp result overflowing not necessarily
19629 overflowing both real and imaginary parts of result.
19630 * math/s_cexpf.c: Likewise.
19631 * math/s_cexpl.c: Likewise.
19632 * math/libm-test.inc (cexp_test): Add more tests.
19633 * sysdeps/i386/fpu/libm-test-ulps: Update.
19634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19635
81b035fe
L
196362012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19637
19638 * include/link.h (ELFW): New macro.
19639 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
19640 Replace ELF64_R_TYPE with ELFW(R_TYPE).
19641
1da7940c
L
196422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19643
19644 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
19645 with uint64_t.
19646
b749dbb9
L
196472012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19648
19649 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
19650 declaration.
19651 (struct La_x32_retval): Likewise.
19652
2ff87f3f
L
196532012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19654
19655 * sysdeps/x86_64/preconfigure.in: New file.
19656 * sysdeps/x86_64/preconfigure: New generated file.
19657
c0df8e69
JM
196582012-03-22 Joseph Myers <joseph@codesourcery.com>
19659
48e44791
JM
19660 [BZ #13824]
19661 * math/e_exp2l.c: Include <float.h>.
19662 (__ieee754_exp2l): Handle overflow and underflow cases
19663 separately. Only pass fractional part of argument to
19664 __ieee754_expl.
19665 * math/libm-test.inc (exp2_test): Add more tests.
19666
c0df8e69
JM
19667 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
19668 negating x to take absolute value.
19669 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19670 Likewise.
19671 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19672 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19673 Likewise.
19674 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
19675 computing low part if x was negated.
19676 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19677
c8e43ba7
L
196782012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19679
19680 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
19681 la_x32_gnu_pltexit.
19682 (pltexit): Cast int_retval to ptrdiff_t.
19683 * elf/tst-auditmod3b.c: Likewise.
19684 * elf/tst-auditmod4b.c: Likewise.
19685 * elf/tst-auditmod5b.c: Likewise.
19686 * elf/tst-auditmod6b.c: Likewise.
19687 * elf/tst-auditmod6c.c: Likewise.
19688 * elf/tst-auditmod7b.c: Likewise.
19689
19690 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
19691 and x32_gnu_pltexit.
19692
19693 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
19694 __ELF_NATIVE_CLASS.
19695 (La_x32_regs): New macro.
19696 (La_x32_retval): Likewise.
19697 (la_x32_gnu_pltenter): New function prototype.
19698 (la_x32_gnu_pltexit): Likewise.
19699
7998fa78
AS
197002012-03-21 Andreas Schwab <schwab@linux-m68k.org>
19701
dcb33988
AS
19702 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
19703 exponent.
19704
233fc563
AS
19705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19706
7998fa78
AS
19707 * configure.in (libc_cv_cc_nofma): Check for option to disable
19708 generation of FMA instructions.
19709 * configure: Regenerate.
19710 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
19711 * sysdeps/ieee754/dbl-64/Makefile: New file.
19712 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19713 Remove brandred-fma4.
19714 (CFLAGS-brandred-fma4.c): Remove.
19715 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
19716 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
19717 define.
19718 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
19719 define.
19720
8e95c99a
L
197212012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19722
19723 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19724 LLONG_MAX != LONG_MAX.
19725 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19726 (_fitoa_word): Likewise.
19727 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
19728 LLONG_MAX != LONG_MAX.
19729 * stdio-common/_itowa.h: Include <_itoa.h>.
19730 (_itowa_word): Use _ITOA_WORD_TYPE on value.
19731 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
19732 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
19733 only if not defined.
19734 (_ITOA_WORD_TYPE): Likewise.
19735 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19736 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
19737
6f4db457
DM
197382012-03-21 David S. Miller <davem@davemloft.net>
19739
19740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19741
7785fe5a
L
197422012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19743
19744 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
19745 of x86_64 when setting libc_cv_slibdir, libdir and
19746 libc_cv_localedir.
19747 * sysdeps/unix/sysv/linux/configure: Regenerated.
19748
4535cd55
JM
197492012-03-21 Joseph Myers <joseph@codesourcery.com>
19750
19751 * manual/lang.texi (Old Varargs): Remove section.
19752 (How Variadic): Update menu.
19753 (va_start): Do not mention varargs.h.
19754
17228132
TS
197552012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19756 Joseph Myers <joseph@codesourcery.com>
19757
19758 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
19759 link test.
19760 * configure: Regenerated.
19761
8149f976
TS
197622012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19763
05f3d1f6
UD
19764 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
19765 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
19766 conformtest.pl
8149f976 19767
1a4ac776
JM
197682012-03-21 Joseph Myers <joseph@codesourcery.com>
19769
be22ce65
JM
19770 * NOTES: Remove.
19771 * Makefile (files-for-dist): Remove NOTES.
19772 (NOTES): Remove rule.
19773 * README: Don't refer to NOTES.
19774 * manual/creature.texi: Don't include macros.texi.
19775 * manual/intro.texi (creature.texi): Remove comment referring to
19776 NOTES.
19777
40b601fb
JM
19778 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
19779 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
19780 * configure: Regenerated.
19781 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
19782 LIBC_TRY_CC_OPTION.
19783 (libc_cv_as_i686): Likewise.
19784 (libc_cv_cc_avx): Likewise.
19785 (libc_cv_cc_sse2avx): Likewise.
19786 (libc_cv_cc_fma4): Likewise.
19787 (libc_cv_cc_novzeroupper): Likewise.
19788 * sysdeps/i386/configure: Regenerated.
19789
1a4ac776
JM
19790 [BZ #13883]
19791 * sysdeps/i386/fpu/s_cexp.S: Remove.
19792 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19793 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19794 * math/libm-test.inc (cexp_test): Add more tests.
19795 * sysdeps/i386/fpu/libm-test-ulps: Update.
19796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19797
a458e7fe
AM
197982012-03-21 Allan McRae <allan@archlinux.org>
19799
19800 * timezone/Makefile: Do not install iso3166.tab and zone.tab
19801
0cb7efc5
JM
198022012-03-21 Joseph Myers <joseph@codesourcery.com>
19803
19804 [BZ #13871]
19805 * math/w_exp2.c: Do not include <float.h>.
19806 (o_threshold, u_threshold): Remove.
19807 (__exp2): Calculate result before checking finiteness and calling
19808 __kernel_standard.
19809 * math/w_exp2f.c: Likewise.
19810 * math/w_exp2l.c: Likewise.
19811 * math/libm-test.inc (exp2_test): Require overflow exception for
19812 1e6 input.
2460d3aa
JM
19813
19814 [BZ #3866]
19815 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
19816 range of signed 64-bit integers before using fistpll. Remove
19817 checks for whether integers fit in mantissa bits.
19818 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
19819 the range of signed 32-bit integers before using fistpl. Remove
19820 checks for whether integers fit in mantissa bits.
19821 * sysdeps/i386/fpu/e_powl.S (p64): New object.
19822 (__ieee754_powl): Test for y outside the range of signed 64-bit
19823 integers before using fistpll. Reduce 64-bit values to 63-bit
19824 ones as needed.
19825 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
19826 divide-by-zero is raised for zero to large negative powers.
19827 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
19828 (__ieee754_powl): Test for y outside the range of signed 64-bit
19829 integers before using fistpll. Reduce 64-bit values to 63-bit
19830 ones as needed.
19831 * math/libm-test.inc (pow_test): Add more tests.
19832
eb96ffb0
L
198332012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19834
19835 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
19836 <stdio-common/_itoa.h>.
19837 * debug/segfault.c: Likewise.
19838 * elf/dl-cache.c: Likewise.
19839 * elf/dl-minimal.c: Likewise.
19840 * elf/dl-misc.c: Likewise.
19841 * elf/dl-sysdep.c: Likewise.
19842 * elf/dl-version.c: Likewise.
19843 * elf/rtld.c: Likewise.
19844 * hurd/hurdsock.c: Likewise.
19845 * hurd/lookup-retry.c: Likewise.
19846 * malloc/malloc.c: Likewise.
19847 * malloc/mtrace.c: Likewise.
19848 * nscd/nscd_getgr_r.c: Likewise.
19849 * nscd/nscd_getpw_r.c: Likewise.
19850 * nscd/nscd_getserv_r.c: Likewise.
19851 * posix/getopt_init.c: Likewise.
19852 * posix/wordexp.c: Likewise.
19853 * stdio-common/_itoa.c: Likewise.
19854 * stdio-common/printf_fphex.c: Likewise.
19855 * stdio-common/vfprintf.c: Likewise.
19856 * string/_strerror.c: Likewise.
19857 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
19858 * sysdeps/i386/i686/hp-timing.h: Likewise.
19859 * sysdeps/mach/_strerror.c: Likewise.
19860 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
19861 * sysdeps/mach/hurd/sethostid.c: Likewise.
19862 * sysdeps/mach/hurd/xmknodat.c: Likewise.
19863 * sysdeps/mach/xpg-strerror.c: Likewise.
19864 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19865 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19866 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
19867 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
19868 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19869 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
19870 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
19871 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
19872 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
19873 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
19874 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
19875 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19876 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
19877 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19878 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19879 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
19880 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
19881 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
19882 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
19883 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
19884 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
19885
19886 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
19887
19888 * stdio-common/_itoa.h: Moved to ...
19889 * sysdeps/generic/_itoa.h: Here.
19890
19891 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
19892
19893 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
19894 instead of "_itoa.h" and "_itowa.h".
19895 * stdio-common/vfprintf.: Likewise.
19896
d1af992d
L
198972012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19898
19899 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
19900 <bits/wordsize.h>.
19901 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
19902 (__signbit): Likwise.
19903 (llrintf): Likwise.
19904 (llrint): Likwise.
19905
114883e0
L
199062012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19907
19908 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
19909 __WORDSIZE != 64.
19910
c135cc1b
JM
199112012-03-20 Joseph Myers <joseph@codesourcery.com>
19912
19913 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
19914 OVERFLOW_EXCEPTION_OK.
19915 * math/libm-test.inc ("Philosophy"): Update comment about
19916 exception testing.
19917 (OVERFLOW_EXCEPTION): Define.
19918 (OVERFLOW_EXCEPTION_OK): Likewise.
19919 (INVALID_EXCEPTION_OK): Renumber.
19920 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19921 (IGNORE_ZERO_INF_SIGN): Likewise.
19922 (test_exceptions): Handle FE_OVERFLOW.
19923 (exp10_test): Expect overflow exceptions.
19924 (exp2_test): Likewise.
19925 (expm1_test): Likewise.
19926 (nextafter_test): Likewise.
19927 (pow_test): Likewise.
19928 (scalbn_test): Likewise.
19929 (scalbln_test): Likewise.
19930
95443d88
L
199312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19932
19933 * sysdeps/x86_64/bits/atomic.h
19934 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
19935 64bit integer.
19936 (atomic_exchange_acq): Likewise.
19937 (__arch_exchange_and_add_body): Likewise.
19938 (__arch_add_body): Likewise.
19939 (atomic_add_negative): Likewise.
19940 (atomic_add_zero): Likewise.
19941
490df6c4
L
199422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19943
c2722551 19944 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
19945 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
19946
5e52b189
L
199472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19948
19949 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
19950 Check __x86_64__ instead of __WORDSIZE.
19951
a9879d4c
L
199522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19953
19954 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
19955
5df98260
DM
199562012-03-19 David S. Miller <davem@davemloft.net>
19957
e1497744
DM
19958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19959
5df98260
DM
19960 * sysdeps/sparc/fpu/fenv_private.h: New file.
19961 * sysdeps/sparc/fpu/math_private.h: Use it.
19962 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
19963 Remove.
19964 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
19965 (libc_feholdexcept_setroundl): Remove.
19966 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
19967 Remove.
19968 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
19969 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
19970
b4c35121
L
199712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19972
19973 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
19974 int64_t instead of long int.
19975 (INSERT_WORDS64): Likwise.
19976
56965fd7
L
199772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19978
19979 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
19980 _Unwind_GetCFA return to _Unwind_Ptr first.
19981
83d1aec8
JM
199822012-03-19 Joseph Myers <joseph@codesourcery.com>
19983
1897ad44
JM
19984 [BZ #13629]
19985 * math/s_clog.c: Include <float.h>.
19986 (__clog): Scale large or subnormal inputs.
19987 * math/s_clogf.c: Likewise.
19988 * math/s_clogl.c: Likewise.
19989 * math/s_clog10.c: Include <float.h>.
19990 (M_LOG10_2): Define.
19991 (__clog10): Scale large or subnormal inputs.
19992 * math/s_clog10f.c: Likewise.
19993 * math/s_clog10l.c: Likewise.
19994 * math/libm-test.inc (clog_test): Add more tests.
19995 (clog10_test): Likewise.
19996 * sysdeps/i386/fpu/libm-test-ulps: Update.
19997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19998
7726d6a9
JM
19999 [BZ #11451]
20000 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
20001 x and y.
20002 * math/libm-test.inc (atan2_test): Add another test.
20003
83d1aec8
JM
20004 * Makerules (common-objdir-compile): Remove.
20005 * sysdeps/unix/Makefile (config-generated): Do not add
20006 $(unix-generated) to variable.
20007 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
20008 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
20009 Remove rule.
20010 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
20011 Likewise.
20012 [generic bits/local_lim.h] (before-compile): Do not append to
20013 variable.
20014 [generic bits/local_lim.h] (common-generated): Likewise.
20015 [generic sys/param.h] (before-compile): Do not append to variable.
20016 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
20017 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
20018 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
20019 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
20020 include.
20021 [generic sys/param.h] (sys/param.h-includes): Remove variable.
20022 [generic sys/param.h] (sys/param.h-includes): Remove rule.
20023 [generic sys/param.h] ($(addprefix
20024 $(common-objpfx),$(sys/param.h-includes))): Likewise.
20025 [generic sys/param.h] (common-generated): Do not append to
20026 variable.
20027 [generic sys/param.h] (sysdep_headers): Likewise.
20028 [generic bits/errno.h] (before-compile): Do not append to
20029 variable.
20030 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
20031 rule.
20032 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
20033 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
20034 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
20035 [generic bits/errno.h] (common-generated): Do not append to
20036 variable.
20037 [generic bits/ioctls.h] (before-compile): Do not append to
20038 variable.
20039 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
20040 rule.
20041 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
20042 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
20043 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
20044 rule.
20045 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
20046 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
20047 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
20048 [generic bits/ioctls.h] (common-generated): Do not append to
20049 variable.
20050 [generic sys/syscall.h] (syscall.h): Remove variable.
20051 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
20052 rule.
20053 [generic sys/syscall.h] (before-compile): Do not append to
20054 variable.
20055 [generic sys/syscall.h] (common-generated): Likewise.
20056 * sysdeps/unix/errnos-tmpl.c: Remove file.
20057 * sysdeps/unix/errnos.awk: Likewise.
20058 * sysdeps/unix/ioctls-tmpl.c: Likewise.
20059 * sysdeps/unix/ioctls.awk: Likewise.
20060 * sysdeps/unix/mk-local_lim.c: Likewise.
20061 * sysdeps/unix/snarf-ioctls: Likewise.
20062
4851a949
RH
200632012-03-19 Richard Henderson <rth@twiddle.net>
20064
bd37f2ee
RH
20065 * sysdeps/i386/fpu/fenv_private.h: New file.
20066 * sysdeps/i386/fpu/math_private.h: Use it.
20067 (math_opt_barrier, math_force_eval): Remove.
20068 (libc_feholdexcept_setround_53bit): Remove.
20069 (libc_feupdateenv_53bit): Remove.
20070 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20071 (math_opt_barrier, math_force_eval): Remove.
20072 (libc_feholdexcept): Remove.
20073 (libc_feholdexcept_setround): Remove.
20074 (libc_fetestexcept, libc_fesetenv): Remove.
20075 (libc_feupdateenv_test): Remove.
20076 (libc_feupdateenv, libc_feholdsetround): Remove.
20077 (libc_feresetround): Remove.
20078
d0adc922
RH
20079 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
20080 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20081
0fe0f1f8
RH
20082 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
20083 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
20084 (libc_feupdateenv_testl): New.
20085 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
20086 (libc_feupdateenv_testf): New.
20087 (libc_feupdateenv): Use libc_feupdateenv_test.
20088 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
20089 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
20090
eb92c487
RH
20091 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
20092 (libc_feholdsetroundf, libc_feholdsetroundl): New.
20093 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
20094 (libc_feresetround_noex): New.
20095 (libc_feresetround_noexf): New.
20096 (libc_feresetround_noexl): New.
20097 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
20098 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
20099 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
20100 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
20101 SET_RESTORE_ROUND.
20102 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20103 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
20104 (__cos): Likewise.
20105 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
20106 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20107 SET_RESTORE_ROUND_NOEX.
20108 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
20109 SET_RESTORE_ROUND_NOEXF.
20110 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
20111 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
20112 (libc_feholdsetroundf): New.
20113 (libc_feresetround, libc_feresetroundf): New.
20114
7d2e8012
RH
20115 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
20116 (libc_feholdexcept_setround_53bit): Convert from macro to function.
20117 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
20118
b4dabbb4
RH
20119 * sysdeps/generic/math_private.h: Include <fenv.h>.
20120 (default_libc_feholdexcept): New.
20121 (default_libc_feholdexcept_setround): New.
20122 (default_libc_fesetenv, default_libc_feupdateenv): New.
20123 (libc_feholdexcept): Only define if undefined.
20124 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
20125 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
20126 (libc_feholdexcept_setroundl): Likewise.
20127 (libc_feholdexcept_setround_53bit): Likewise.
20128 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
20129 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
20130 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
20131 (libc_feupdateenv_53bit): Likewise.
20132 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
20133 (libc_feholdexcept): Convert from macro to inline function.
20134 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
20135 (libc_fesetenv, libc_feupdateenv): Likewise.
20136
4851a949
RH
20137 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
20138 not previously defined.
20139 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
20140 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
20141 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
20142 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
20143 * sysdeps/ieee754/flt-32/math_private.h: New file.
20144 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
20145 math_private.h below SET_FLOAT_WORD.
20146 (__isnan, __isinf_ns, __finite): Remove.
20147 (__isnanf, __isinf_nsf, __finitef): Remove.
20148
e79d442e
AS
201492012-03-18 Andreas Schwab <schwab@linux-m68k.org>
20150
20151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20152
90b80344
DM
201532012-03-17 David S. Miller <davem@davemloft.net>
20154
20155 [BZ #6471]
20156 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
20157 for 2.16.
20158
edc21804
DM
201592012-03-16 David S. Miller <davem@davemloft.net>
20160
77e927af
DM
20161 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
20162 warnings.
20163
374976dd
DM
20164 [BZ #6471]
20165 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
20166 properly.
20167 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
20168 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
20169 sysdep_routines when subdir is sysvipc.
20170 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
20171 __getshmlba helper.
20172
edc21804
DM
20173 * sysdeps/sparc/fpu/libm-test/ulps: Update.
20174
473c3ef3
L
201752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20176
20177 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
20178 [__LP64__].
20179
eb0f39b6
L
201802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20181
20182 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
20183 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
20184 (__lround): Renamed to ...
20185 (__llround): This. Replace long int with long long int.
20186 Define lround functions as aliases of llround functions.
20187 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
20188
6b6cd74b
L
201892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20190
20191 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
20192 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
20193 adresses to uintptr_t. Replace "long int" and "unsigned long
20194 int" with "greg_t" on va_arg.
20195
f1a77b01
L
201962012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20197
20198 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
20199 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
20200
20201 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
20202 Move e_machine check before EI_CLASS check. Handle x32
20203 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
20204 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
20205 SKIP_EM_IA_64 and include
20206 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
20207
20208 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
20209 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
20210 (add_system_dir): New macro.
20211
20212 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
20213 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
20214
11b90b9f
JM
202152012-03-16 Joseph Myers <joseph@codesourcery.com>
20216
c36e1d23
JM
20217 [BZ #2551]
20218 [BZ #2552]
20219 [BZ #2553]
20220 [BZ #2554]
20221 [BZ #2562]
20222 [BZ #2563]
20223 [BZ #2565]
20224 [BZ #2566]
20225 [BZ #2576]
20226 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
20227 (y0): Likewise.
20228 * math/w_j0f.c (j0f): Likewise.
20229 (y0f): Likewise.
20230 * math/w_j0l.c (__j0l): Likewise.
20231 (__y0l): Likewise.
20232 * math/w_j1.c (j1): Likewise.
20233 (y1): Likewise.
20234 * math/w_j1f.c (j1f): Likewise.
20235 (y1f): Likewise.
20236 * math/w_j1l.c (__j1l): Likewise.
20237 (__y1l): Likewise.
20238 * math/w_jn.c (jn): Likewise.
20239 (yn): Likewise.
20240 * math/w_jnf.c (jnf): Likewise.
20241 (ynf): Likewise.
20242 * math/w_jnl.c (__jnl): Likewise.
20243 (__ynl): Likewise.
20244 * math/libm-test.inc (j0_test): Add more tests.
20245 (j1_test): Likewise.
20246 (jn_test): Likewise. Add trailing semicolon to existing test.
20247 (y0_test): Likewise.
20248 (y1_test): Likewise.
20249 * sysdeps/i386/fpu/libm-test-ulps: Update.
20250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20251
11b90b9f
JM
20252 [BZ #13851]
20253 [BZ #13854]
20254 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20255 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
20256 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
20257 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
20258 (__tanl): Set errno for infinite argument.
20259 * sysdeps/i386/fpu/mptan.c: Remove.
20260 * sysdeps/i386/fpu/s_tan.S: Likewise.
20261 * sysdeps/i386/fpu/s_tanl.S: Likewise.
20262 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
20263 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
20264 * math/libm-test.inc (tan_test): Add more tests and enable more
20265 tests for double and long double.
20266 * sysdeps/i386/fpu/libm-test-ulps: Update.
20267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20268
6a1bd2a1
JK
202692012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
20270
20271 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
20272 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
20273
10a803e0
RM
202742012-03-16 Roland McGrath <roland@hack.frob.com>
20275
20276 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
20277 * configure.in: Use it for both main tree and add-ons.
20278 * configure: Regenerated.
20279
f196c7f7
L
202802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20281
20282 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
20283
8848d99d
JM
202842012-03-16 Joseph Myers <joseph@codesourcery.com>
20285
96cbe7f4
JM
20286 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
20287 in comment.
20288
8848d99d
JM
20289 [BZ #13851]
20290 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
20291 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
20292 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
20293 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
20294 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
20295 infinite argument.
20296 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
20297 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
20298 != 0 for prec == 2.
20299 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
20300 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
20301 * sysdeps/i386/fpu/s_cosl.S: Likewise.
20302 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
20303 * sysdeps/i386/fpu/s_sinl.S: Likewise.
20304 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
20305 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
20306 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
20307 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
20308 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
20309 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
20310 * math/libm-test.inc (cos_test): Add more tests and enable more
20311 tests for long double.
20312 (sin_test): Likewise.
20313 (sincos_test): Likewise.
20314 * sysdeps/i386/fpu/libm-test-ulps: Update.
20315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20316
dd7f4703
DM
203172012-03-16 David S. Miller <davem@davemloft.net>
20318
20319 * sysdeps/sparc/fpu/math_private.h: New file.
20320
006f1daa
DM
203212012-03-15 David S. Miller <davem@davemloft.net>
20322
c0c83bc8
DM
20323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
20324 file.
e6a62e18 20325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
20326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
20327 file.
e6a62e18
DM
20328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
20329 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
20330 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
20331 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
20332 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
20333 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
20334 sysdep routines.
20335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20336
88cb87d9
DM
20337 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
20338 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
20339
006f1daa 20340 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
20341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
20342 sparc-ifunc.h
006f1daa 20343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
20344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20345 Likewise.
20346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20347 Likewise.
006f1daa
DM
20348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
20349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
20351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20352 Likewise.
006f1daa
DM
20353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
20355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
20357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
20358 Likewise.
20359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
20360 Likewise.
006f1daa
DM
20361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
20364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
20365 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20366 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20367 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
20368 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
20369 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20370 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20371 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
20372 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
20373 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
20374 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
20375 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
20376 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20377 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
20378 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20379 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
20380 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20381 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
20382 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20383 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
20384 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20385
11e0098e
AS
203862012-03-15 Andreas Schwab <schwab@linux-m68k.org>
20387
20388 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
20389 scaling.
20390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20391
e85b09d0
AJ
203922012-03-15 Andreas Jaeger <aj@suse.de>
20393
20394 [BZ #13852]
20395 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
20396 ieee754/flt-32 implementation for sin, cos and sincos.
20397 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
20398 * sysdeps/i386/fpu/s_cosf.S: Likewise.
20399 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
20400 * sysdeps/i386/fpu/s_sinf.S: Likewise.
20401 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
20402 ieee754/flt-32 implementation for tan.
20403
20404 * math/libm-test.inc (cos_test): Enable some large input tests for
20405 float as well
20406 (sin_test): Likewise.
20407 (sincos_test): Likewise.
20408 (tan_test): Add tests for large input.
20409
20410 * sysdeps/i386/fpu/libm-test-ulps: Update.
20411
81c64153
AJ
204122012-03-15 Andreas Jaeger <aj@suse.de>
20413
20414 [BZ #13658]
20415 * math/libm-test.inc (cos_test): Add more test cases.
20416 (sin_test): Likewise.
20417 (sincos_test): Likewise.
20418
7bbfa5c6
AJ
204192012-03-15 Andreas Jaeger <aj@suse.de>
20420
20421 [BZ #13837]
20422 * math/libm-test.inc (cos_test): Add a test case for large input
20423 value.
20424 (sin_test): Likewise.
20425 (sincos_test): Likewise.
20426
204272012-03-15 Andreas Jaeger <aj@suse.de>,
20428 Joseph Myers <joseph@codesourcery.com>
20429
20430 [BZ #13658]
0671f479 20431 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
20432 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
20433 * sysdeps/i386/fpu/branred.c: Likewise.
20434 * sysdeps/i386/fpu/dosincos.c: Likewise.
20435 * sysdeps/i386/fpu/mpa.c: Likewise.
20436 * sysdeps/i386/fpu/s_cos.S: Likewise.
20437 * sysdeps/i386/fpu/s_sin.S: Likewise.
20438 * sysdeps/i386/fpu/s_sincos.S: Likewise.
20439 * sysdeps/i386/fpu/sincos32.c: Likewise.
20440
20441 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
20442 Define.
20443 (libc_feupdateenv_53bit): Define.
20444 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
20445 Define.
20446 (libc_feupdateenv_53bit): Define.
20447
20448 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
20449 53 bit (without extend i386 double precision).
20450
20451 * math/libm-test.inc (sincos_test): Add tests for large input.
20452 (sin): Likewise.
20453 (cos): Likewise.
20454
20455 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20456
9cad04ea
AS
204572012-03-15 Andreas Schwab <schwab@linux-m68k.org>
20458
20459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20460
f7062b9a
DM
204612012-03-15 David S. Miller <davem@davemloft.net>
20462
20463 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
20464 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
20465 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
20466 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
20467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
20468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
20469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
20470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
20471 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
20472 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
20473 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
20474 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
20475 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
20476 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
20477 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
20478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
20479 file.
f7062b9a 20480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
20481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
20482 file.
f7062b9a 20483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
20484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
20485 file.
f7062b9a 20486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
20487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
20488 file.
f7062b9a
DM
20489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
20490 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
20491 fmin/fmax sysdep routines.
20492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20493
7bd951ff
DM
204942012-03-14 David S. Miller <davem@davemloft.net>
20495
559398ab
DM
20496 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
20497 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
20498 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
20499 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
20500 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
20501 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
20502 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
20503 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
20504 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
20505 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
20506 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
20507 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
20508 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
20509 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
20510 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
20511 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
20512 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
20513 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
20514 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
20515 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
20516 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
20517 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
20518 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
20519 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
20520 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
20521 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
20522 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
20523 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
20524 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
20525 routines.
20526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
20527 file.
559398ab 20528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
20529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
20530 file.
559398ab 20531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
20532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
20533 file.
559398ab 20534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
20535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
20536 file.
559398ab 20537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
20538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
20539 file.
559398ab 20540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
20541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
20542 file.
20543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
20544 file.
20545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
20546 file.
20547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
20548 file.
20549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
20550 New file.
20551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
20552 file.
20553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
20554 file.
559398ab 20555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
20556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
20557 file.
559398ab 20558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
20559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
20560 file.
559398ab 20561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
20562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
20563 file.
559398ab 20564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
20565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
20566 VIS3 routines.
559398ab
DM
20567
20568 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20569 New file.
20570
5a1c1e32
DM
20571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20572
eae47a36
DM
20573 * sysdeps/sparc/configure.in: New file.
20574 * sysdeps/sparc/configure: Generate.
20575 * configure.in (libc_cv_sparc_as_vis3): Substitute.
20576 * configure: Regenerate.
20577 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
20578 * config.make.in (have-as-vis3): New.
20579 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
20580 available use -Av9d instead of -Av9a.
20581 * sysdeps/sparc/sparc64/Makefile: Likewise.
20582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
20583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
20584 New file.
20585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
20586 file.
20587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
20588 New file.
20589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
20590 file.
eae47a36
DM
20591 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
20592 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
20593 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
20594 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
20595 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
20596
c0c83bc8
DM
20597 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
20598 fzeros/fnegs to load 0x80000000 into a float register instead of
20599 using the stack.
7bd951ff
DM
20600 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
20601
bd951ccb
JM
206022012-03-14 Joseph Myers <joseph@codesourcery.com>
20603
20604 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20605 bits/syscall.h.
20606 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
20607 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
20608 ($(inst_includedir)/bits/syscall.h): Remove rule.
20609 ($(objpfx)bits/syscall.d): Include instead of
20610 $(objpfx)syscall-list.d.
20611 (generated): Change syscall-list.h and syscall-list.d to
20612 bits/syscall.h and bits/syscall.d.
20613
bb4e6db2
RM
206142012-03-14 Roland McGrath <roland@hack.frob.com>
20615
20616 [BZ #13846]
20617 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
20618
aa4a2ae1
JM
206192012-03-14 Joseph Myers <joseph@codesourcery.com>
20620
e456826d
JM
20621 [BZ #13841]
20622 * math/s_csqrt.c: Include <float.h>.
20623 (__csqrt): Scale large or subnormal inputs.
20624 * math/s_csqrtf.c: Likewise.
20625 * math/s_csqrtl.c: Likewise.
20626 * math/libm-test.inc (csqrt_test): Add more tests.
20627 * sysdeps/i386/fpu/libm-test-ulps: Update.
20628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20629
aa4a2ae1
JM
20630 [BZ #13840]
20631 * math/libm-test.inc (hypot_test): Add more tests.
20632
7c10fd35
DM
206332012-03-13 David S. Miller <davem@davemloft.net>
20634
20635 [BZ #13840]
20636 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
20637 double-precision for the calculation instead of scaling.
20638
f453b98b
JM
206392012-03-13 Joseph Myers <joseph@codesourcery.com>
20640
20641 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
20642 manipulate bits before adding and subtracting TWO52[sx].
20643 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
20644 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
20645 Likewise.
20646 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
20647
09a3453f
DM
206482012-03-13 David S. Miller <davem@davemloft.net>
20649
8e59da90
DM
20650 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
20651 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
20652 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
20653 rtld-global-offsets.h
20654 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20655
2a8ab7f2
DM
20656 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
20657 large parameters.
20658
10f62770
DM
20659 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
20660
5f0bdb18
DM
20661 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
20662 'err' in the ifdef scope in which it is actually used.
20663
09a3453f
DM
20664 * nss/nss_db/db-init.c: Include string.h
20665
b4b2eb5e
DM
206662012-03-12 David S. Miller <davem@davemloft.net>
20667
98bb2f1c
DM
20668 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20669 masking out of the most significant byte of random value used.
20670 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20671 Fix coding style in previous change.
20672
b4b2eb5e
DM
20673 * sysdeps/unix/sysv/linux/kernel-features.h
20674 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
20675 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
20676 expression.
20677 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
20678 later.
20679
6e226b09
DM
206802012-03-11 David S. Miller <davem@davemloft.net>
20681
a1bcbd40
DM
20682 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20683 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
20684 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
20685 for 'resultvar' otherwise things get truncated on 64-bit.
20686
cb9d6174
DM
20687 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20688 Fix masking out of the most significant byte of random value used.
20689
6e226b09
DM
20690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20691
058c132d
AS
206922012-03-10 Andreas Schwab <schwab@linux-m68k.org>
20693
20694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20695
2d2cd515
DM
206962012-03-09 David S. Miller <davem@davemloft.net>
20697
20698 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
20699 variables with appropriate CPP guards.
20700 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
20701 frame pointer, not the stack pointer. Correct layout comments. Fix test
20702 on resulting framesize and the management of the outregs buffer for pltexit.
20703 Preserve floating point return values across _dl_call_pltexit call.
20704 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
20705 framesize and the management of the outregs buffer for pltexit.
20706 Preserve floating point return values across _dl_call_pltexit
20707 call.
20708 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
20709 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
20710 (print_exit): Fix format string for return register value.
20711
9a07f9d0
JM
207122012-03-10 Joseph Myers <joseph@codesourcery.com>
20713
20714 * sunrpc/Makefile (others): Add rpcgen.
20715 ($(objpfx)rpcgen): Remove special build rule and dependency on
20716 libc.
20717 * sunrpc/rpcgen.c: New file.
20718
547b5e30
PE
207192012-03-09 Paul Eggert <eggert@cs.ucla.edu>
20720
c524201a
PE
20721 [BZ #13673]
20722 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
20723 * stdio-common/bug-vfprintf-nargs.c: Likewise.
20724 * sysdeps/i386/crti.S: Likewise.
20725 * sysdeps/i386/crtn.S: Likewise.
20726 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
20727 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
20728 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
20729 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
20730 * sysdeps/sh/crti.S: Likewise.
20731 * sysdeps/sh/crtn.S: Likewise.
20732 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20733
7b6235f2
PE
20734 [BZ #13673]
20735 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
20736 with URL.
20737 * locale/programs/locfile-kw.gperf: Likewise.
20738 * locale/programs/charmap-kw.h: Regenerated.
20739 * locale/programs/locfile-kw.h: Likewise.
20740
547b5e30
PE
20741 [BZ #13673]
20742 * intl/plural.y: Replace FSF snail mail address with URL.
20743 * intl/plural.c: Regenerated.
20744
5f0a5dae
RH
207452012-03-09 Richard Henderson <rth@twiddle.net>
20746
20747 * include/math_private.h: Remove file.
20748 * math/math_private.h: Move file ...
20749 * sysdeps/generic/math_private.h: ... here.
20750
b8c03620
RH
20751 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
20752 * sysdeps/powerpc/fpu/math_private.h: Likewise.
20753 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20754
4e234f5d 20755 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
20756 and <math_private.h>.
20757 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20758 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20759 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20760 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20761 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20762 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
20763 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20764 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20765 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20766 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20767 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20768 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20769 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20770 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20771 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20772 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20773 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20774 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20775 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20776 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20777 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20778 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20779 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20780 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20781 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20782 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20783 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20784 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20785 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20786 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20787 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20788 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20789 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20790 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20791 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20792 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20793 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20794 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20795 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20796 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20797 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
20798 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20799 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20800 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20801 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20802 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20803 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
20804 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20805 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20806 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20807 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20808 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
20809 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20810 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20811 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20812 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20813 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20814 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20815 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20816 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
20817 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20818 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20819 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20820 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20821 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
20822 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20823 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20824 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20825 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
20826 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
20827 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20828 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20829 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20830 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20831 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
20832 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
20833 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
20834 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20835 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
20836 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
20837 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20838 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
20839 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20840 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20841 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20842 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
20843 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
20844 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
20845 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20846 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20847 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20848 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20849 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20850 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20851 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20852 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20853 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20854 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20855 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20856 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20857 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20858 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20859 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20860 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20861 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20862 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20863 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20864 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20865 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20866 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20867 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20868 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20869 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20870 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20871 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
20872 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20873 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20874 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20875 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20876 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20877 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20878 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20879 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20880 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
20881 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20882 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20883 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20884 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
20885 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20886 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
20887 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
20888 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20889 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20890 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
20891 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
20892 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20893 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20894 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20895 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
20896 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20897 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20898 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20899 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20900 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
20901 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
20902 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20903 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20904 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20905 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
20906 * sysdeps/ieee754/k_standard.c: Likewise.
20907 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20908 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20909 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20910 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20911 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20912 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20913 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20914 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20915 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20916 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20917 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20918 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20919 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20920 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20921 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20922 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20923 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20924 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20925 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20926 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
20927 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
20928 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
20929 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20930 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20931 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20932 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20933 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20934 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20935 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20936 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20937 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20938 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20939 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20940 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20941 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20942 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20943 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20944 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
20945 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
20946 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20947 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20948 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20949 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20950 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20951 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20952 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20953 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20954 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20955 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20956 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20957 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20958 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20959 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20960 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
20961 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20962 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20963 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
20964 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
20965 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20966 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20967 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20968 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20969 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20970 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20971 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20972 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20973 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20974 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20975 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20976 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20977 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20978 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20979 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20980 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20981 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20982 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20983 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
20984 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20985 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20986 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20987 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20988 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20989 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20990 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20991 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
20992 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20993 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20994 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20995 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20996 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20997 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
20998 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20999 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21000 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21001 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21002 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21003 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
21004 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21005 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21006 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
21007 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21008 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21009 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21010 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21011 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
21012 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21013 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21014 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21015 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
21016 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21017 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21018 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21019 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21020 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21021 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21022 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21023 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21024 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21025 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21026 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21027 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21028 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21029 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21030 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21031 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21032 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
21033 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21034 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21035 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21036 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21037 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21038 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21039 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21040 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21041 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21042 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21043 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
21044 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21045 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21046 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
21047 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
21048 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21049 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
21050 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
21051 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21052 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21053 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21054 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21055 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21056 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
21057 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21058 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21059 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21060 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21061 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
21062 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
21063 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21064 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21065 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21066 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21067 * sysdeps/ieee754/s_lib_version.c: Likewise.
21068 * sysdeps/ieee754/s_matherr.c: Likewise.
21069 * sysdeps/ieee754/s_signgam.c: Likewise.
21070 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21071 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21072 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
21073 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
21074 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
21075 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21076 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
21077 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
21078 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
21079 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
21080 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21081 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
21082 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21083 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21084 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
21085 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21086 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21087 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21088 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21089 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21090 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 21091
1991fa03
JM
210922012-03-09 Joseph Myers <joseph@codesourcery.com>
21093
21094 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
21095 * sunrpc/rpc_main.c: Likewise.
21096 * sunrpc/rpc_svcout.c: Likewise.
21097
60d6f5a6
DM
210982012-03-09 David S. Miller <davem@davemloft.net>
21099
21100 * include/math_private.h: New file.
21101
4962050e
JM
211022012-03-09 Joseph Myers <joseph@codesourcery.com>
21103
02a6f887
JM
21104 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
21105 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
21106 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
21107 from <bits/socket_type.h>.
21108 (enum __socket_type): Don't define here.
21109 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
21110 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21111 bits/socket_type.h.
21112
c6e013c1
JM
21113 [BZ #13566]
21114 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
21115 checking __USE_GNU.
21116
4962050e
JM
21117 * Makerules ($(inst_includedir)/%.h): New rule.
21118 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
21119 (install-others): Remove variable setting.
21120 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
21121
38842f45
RH
211222012-03-08 Richard Henderson <rth@twiddle.net>
21123
67bb6da6
RH
21124 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
21125 from macro to inline function; merge with the
21126 !__LIBC_INTERNAL_MATH_INLINES version.
21127 (__ieee754_sqrtf): Likewise.
21128
15194b4b
RH
21129 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
21130 to inline function.
21131 (__rintf, __floor, __floorf): Likewise.
21132
64e21ede
RH
21133 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
21134 macro to inline function.
21135 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
21136
38842f45
RH
21137 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
21138 not <math/math_private.h>.
21139
c64bf5fe
DM
211402012-03-08 David S. Miller <davem@davemloft.net>
21141
21142 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
21143 copyright year.
21144 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
21145
82d86f28
TS
211462012-03-08 Thomas Schwinge <thomas@codesourcery.com>
21147
21148 * resolv/gai_misc.c (handle_requests): Fix struct timespec
21149 normalization.
21150 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
21151 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21152
aea5d727
UD
211532012-03-08 Ulrich Drepper <drepper@gmail.com>
21154
21155 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
21156 be defined individually, they must be defined as a block. Define
21157 S for printing a string instead of hidint the different by using a
21158 macro for adding the 'l'.
21159 * stdio-common/tst-fphex-wide.c: Adjust.
21160
70bca0a3
MP
211612012-03-07 Marek Polacek <polacek@redhat.com>
21162
21163 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
21164
65b81130
MP
211652012-03-08 Marek Polacek <polacek@redhat.com>
21166
21167 [BZ #13806]
21168 * stdio-common/Makefile (tests): Add tst-fphex-wide.
21169 * stdio-common/tst-fphex.c: Define a few macros to make the
21170 test reusable. Use them.
21171 * stdio-common/tst-fphex-wide.c: New file.
21172
07037eeb
JM
211732012-03-08 Joseph Myers <joseph@codesourcery.com>
21174
a7a93d50
JM
21175 [BZ #6911]
21176 * manual/macros.texi (gnusystems): New macro.
21177 (nongnusystems): Likewise.
21178 (gnulinuxhurdsystems): Likewise.
21179 (gnuhurdsystems): Likewise..
21180 (gnulinuxsystems): Likewise.
21181 * manual/charset.texi: Use new macros or @theglibc{} to refer to
21182 variants of the GNU system, not "GNU system".
21183 * manual/conf.texi: Likewise.
21184 * manual/errno.texi: Likewise. Update example of errno macro
21185 expansion.
21186 * manual/filesys.texi: Likewise.
21187 (getumask): Document as specific to GNU/Hurd.
21188 * manual/install.texi: Likewise. Reword some references to
21189 GNU/Linux.
21190 * manual/intro.texi: Likewise.
21191 * manual/io.texi: Likewise.
21192 (File Name Portability): Detail which constraints are inapplicable
21193 to all GNU systems and which are only inapplicable to GNU/Hurd.
21194 * manual/job.texi: Likewise.
21195 * manual/llio.texi: Likewise.
21196 (O_NOCTTY): Document as present on GNU/Linux.
21197 * manual/maint.texi: Likewise.
21198 * manual/memory.texi: Likewise.
21199 * manual/pattern.texi: Likewise.
21200 * manual/pipe.texi: Likewise.
21201 * manual/process.texi: Likewise.
21202 * manual/resource.texi: Likewise.
21203 (RUSAGE_CHILDREN): Remove statement about specifying a particular
21204 child on GNU/Hurd.
21205 * manual/setjmp.texi: Likewise.
21206 * manual/signal.texi: Likewise.
21207 * manual/startup.texi: Likewise.
21208 * manual/stdio.texi: Likewise.
21209 * manual/terminal.texi: Likewise.
21210 (ONLCR): Document as POSIX.
21211 (OXTABS): Document availability on GNU/Linux as XTABS.
21212 (ONOEOT): Document availability separately from other bits.
21213 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
21214 * manual/time.texi: Likewise.
21215 * manual/users.texi: Likewise.
21216 * INSTALL: Regenerated.
21217 * sysdeps/gnu/errlist.c: Regenerated.
21218
07037eeb
JM
21219 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
21220 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
21221 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
21222 puts.
21223 * configure: Regenerated.
21224
d1d3431a
JM
212252012-03-07 Joseph Myers <joseph@codesourcery.com>
21226
af6a1e37
JM
21227 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
21228 default includes instead of AC_HEADER_CHECK.
21229 * sysdeps/i386/configure: Regenerated.
21230
d1d3431a
JM
21231 [BZ #10716]
21232 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
21233 * math/s_cacoshf.c (__cacoshf): Likewise.
21234 * math/s_cacoshl.c (__cacoshl): Likewise.
21235 * math/s_casinh.c (__casinh): Set signs of result from argument.
21236 * math/s_casinhf.c (__casinhf): Likewise.
21237 * math/s_casinhl.c (__casinhl): Likewise.
21238 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
21239 (casinh_test): Add more tests.
21240 * sysdeps/i386/fpu/libm-test-ulps: Update.
21241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21242
482ff4da
UD
212432012-03-07 Ulrich Drepper <drepper@gmail.com>
21244
872fda05
UD
21245 * po/zh_TW.po: Update from translation team.
21246
a4300c7a
UD
21247 * login/Makefile (distribute): Remove variable.
21248 * catgets/Makefile: Likewise.
21249 * mach/Makefile: Likewise.
21250 * malloc/Makefile: Likewise.
21251 * misc/Makefile: Likewise.
21252 * iconv/Makefile: Likewise.
21253 * nscd/Makefile: Likewise.
21254 * hurd/Makefile: Likewise.
21255 * manual/Makefile: Likewise.
21256 * locale/Makefile: Likewise.
21257 * intl/Makefile: Likewise.
21258 * conform/Makefile: Likewise.
21259 * nss/Makefile: Likewise.
21260 * time/Makefile: Likewise.
21261 * soft-fp/Makefile: Likewise.
21262 * dirent/Makefile: Likewise.
21263 * gmon/Makefile: Likewise.
21264 * po/Makefile: Likewise.
21265 * rt/Makefile: Likewise.
21266 * socket/Makefile: Likewise.
21267 * math/Makefile: Likewise.
21268 * signal/Makefile: Likewise.
21269 * debug/Makefile: Likewise.
21270 * elf/Makefile: Likewise.
21271 * timezone/Makefile: Likewise.
21272 * stdlib/Makefile: Likewise.
21273 * iconvdata/Makefile: Likewise.
21274 * sunrpc/Makefile: Likewise.
21275 * io/Makefile: Likewise.
21276 * argp/Makefile: Likewise.
21277 * inet/Makefile: Likewise.
21278 * hesiod/Makefile: Likewise.
21279 * grp/Makefile: Likewise.
21280 * csu/Makefile: Likewise.
21281 * wctype/Makefile: Likewise.
21282 * crypt/Makefile: Likewise.
21283 * libio/Makefile: Likewise.
21284 * string/Makefile: Likewise.
21285 * nis/Makefile: Likewise.
21286 * resolv/Makefile: Likewise.
21287 * stdio-common/Makefile: Likewise.
21288 * wcsmbs/Makefile: Likewise.
21289 * dlfcn/Makefile: Likewise.
21290 * posix/Makefile: Likewise.
21291
3b7c4e74 21292 [BZ #6959]
482ff4da
UD
21293 * timezone/Makefile: Don't install timezone files, just the programs
21294 and scripts.
21295
f72ed77d
UD
212962012-03-06 Ulrich Drepper <drepper@gmail.com>
21297
a000466f
UD
21298 * nss/databases.def: Add missing gshadow entry.
21299
f72ed77d
UD
21300 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
21301
a53b7a4e
MP
213022012-03-06 Marek Polacek <polacek@redhat.com>
21303
21304 [BZ #13726]
21305 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
21306 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21307 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
21308 * stdio-common/tst-long-dbl-fphex.c: New file.
21309
e9258400
DM
213102012-03-06 David S. Miller <davem@davemloft.net>
21311
21312 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21313 (set_obp_int): New function.
21314 (get_obp_int): New function.
21315 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
21316 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
21317 Avoid unused variable warnings on 'val' and use builtin_expect.
21318 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
21319 __builtin_expect.
e9258400
DM
21320 (INLINE_CLONE_SYSCALL): Likewise.
21321
3bd2c723
DM
213222012-03-05 David S. Miller <davem@davemloft.net>
21323
21324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21325
bbb78d03
AS
213262012-03-05 Andreas Schwab <schwab@linux-m68k.org>
21327
884c5db4
AS
21328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21329
bbb78d03
AS
21330 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
21331 only for |x| >= 40.
21332 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21333
1c9f702a 213342012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
21335
21336 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
21337 Replace gettimeofday with __vdso_gettimeofday.
21338
7be16f82
RM
21339 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21340 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
21341 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
21342
21343 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
21344 time with __vdso_time.
21345
ed58a00f
JM
213462012-03-05 Joseph Myers <joseph@codesourcery.com>
21347
21348 * manual/lang.texi (size_t): Note types to which size_t may be
21349 equivalent with the GNU C Library, but do not describe when
21350 differences between them are significant.
21351
30ee4ced
AJ
213522012-03-05 Andreas Jaeger <aj@suse.de>
21353
21354 * sysdeps/i386/fpu/libm-test-ulps: Update.
21355
b7cd39e8
JM
213562012-03-05 Joseph Myers <joseph@codesourcery.com>
21357
21358 [BZ #3976]
21359 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
21360 (__ieee754_pow): Save and restore rounding mode and use
21361 round-to-nearest for main computations.
21362 * math/libm-test.inc (pow_test_tonearest): New function.
21363 (pow_test_towardzero): Likewise.
21364 (pow_test_downward): Likewise.
21365 (pow_test_upward): Likewise.
21366 (main): Call the new functions.
21367 * sysdeps/i386/fpu/libm-test-ulps: Update.
21368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
21369
21370 [BZ #3976]
21371 * math/libm-test.inc (cosh_test_tonearest): New function.
21372 (cosh_test_towardzero): Likewise.
21373 (cosh_test_downward): Likewise.
21374 (cosh_test_upward): Likewise.
21375 (sinh_test_tonearest): Likewise.
21376 (sinh_test_towardzero): Likewise.
21377 (sinh_test_downward): Likewise.
21378 (sinh_test_upward): Likewise.
21379 (main): Call the new functions.
21380 * sysdeps/i386/fpu/libm-test-ulps: Update.
21381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21382
6c6a98c9
TV
213832012-03-05 Tom de Vries <tom@codesourcery.com>
21384
21385 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
21386 default stack guard is set in last bytes.
21387 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
21388
21bb2d2e 213892012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 21390
21bb2d2e 21391 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 21392
21bb2d2e
AJ
21393 [BZ #13656]
21394 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
21395 possibly allocate from heap instead of stack.
21396 * stdio-common/bug-vfprintf-nargs.c: New file.
21397 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 21398
c6922934
AS
213992012-03-03 Andreas Schwab <schwab@linux-m68k.org>
21400
21401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21402
bc957d53
MP
214032012-03-03 Marek Polacek <polacek@redhat.com>
21404
21405 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
21406 * math/math_private.h: Likewise.
21407 * stdlib/tst-strtod.c: Likewise.
21408 * sysdeps/i386/i486/bits/atomic.h: Likewise.
21409 * sysdeps/x86_64/bits/atomic.h: Likewise.
21410
6358490d
DM
214112012-03-02 David S. Miller <davem@davemloft.net>
21412
21413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
21414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
21415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
21416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
21417 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
21418 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
21419 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
21420 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
21421
01ae168d
RM
214222012-03-02 Roland McGrath <roland@hack.frob.com>
21423
d9a17c07
RM
21424 [BZ #13792]
21425 * manual/examples/README: New file, says the example source files
21426 can be used under GPL>=2.
21427 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
21428 line containing just "*/".
21429 * manual/examples/add.c: Add copyright header (GPL>=2).
21430 * manual/examples/argp-ex1.c: Likewise.
21431 * manual/examples/argp-ex2.c: Likewise.
21432 * manual/examples/argp-ex3.c: Likewise.
21433 * manual/examples/argp-ex4.c: Likewise.
21434 * manual/examples/atexit.c: Likewise.
21435 * manual/examples/db.c: Likewise.
21436 * manual/examples/dir.c: Likewise.
21437 * manual/examples/dir2.c: Likewise.
21438 * manual/examples/execinfo.c: Likewise.
21439 * manual/examples/filecli.c: Likewise.
21440 * manual/examples/filesrv.c: Likewise.
21441 * manual/examples/fmtmsgexpl.c: Likewise.
21442 * manual/examples/genpass.c: Likewise.
21443 * manual/examples/inetcli.c: Likewise.
21444 * manual/examples/inetsrv.c: Likewise.
21445 * manual/examples/isockad.c: Likewise.
21446 * manual/examples/longopt.c: Likewise.
21447 * manual/examples/memopen.c: Likewise.
21448 * manual/examples/memstrm.c: Likewise.
21449 * manual/examples/mkfsock.c: Likewise.
21450 * manual/examples/mkisock.c: Likewise.
21451 * manual/examples/mygetpass.c: Likewise.
21452 * manual/examples/pipe.c: Likewise.
21453 * manual/examples/popen.c: Likewise.
21454 * manual/examples/rprintf.c: Likewise.
21455 * manual/examples/search.c: Likewise.
21456 * manual/examples/select.c: Likewise.
21457 * manual/examples/setjmp.c: Likewise.
21458 * manual/examples/sigh1.c: Likewise.
21459 * manual/examples/sigusr.c: Likewise.
21460 * manual/examples/stpcpy.c: Likewise.
21461 * manual/examples/strdupa.c: Likewise.
21462 * manual/examples/strftim.c: Likewise.
21463 * manual/examples/strncat.c: Likewise.
21464 * manual/examples/subopt.c: Likewise.
21465 * manual/examples/swapcontext.c: Likewise.
21466 * manual/examples/termios.c: Likewise.
21467 * manual/examples/testopt.c: Likewise.
21468 * manual/examples/testpass.c: Likewise.
21469 * manual/examples/timeval_subtract.c: Likewise.
21470
01ae168d
RM
21471 [BZ #13792]
21472 * manual/time.texi (Elapsed Time): Move timeval_subtract example
21473 function to ...
21474 * manual/timeval_subtract.c.texi: ... here, new file.
21475
49efa33d
DM
214762012-03-02 David S. Miller <davem@davemloft.net>
21477
21478 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
21479
28afd92d
JM
214802012-03-02 Joseph Myers <joseph@codesourcery.com>
21481
804360ed
JM
21482 [BZ #3976]
21483 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
21484 (__sin): Save and restore rounding mode and use round-to-nearest
21485 for all computations.
21486 (__cos): Save and restore rounding mode and use round-to-nearest
21487 for all computations.
21488 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
21489 <fenv.h>.
21490 (tan): Save and restore rounding mode and use round-to-nearest for
21491 all computations.
21492 * math/libm-test.inc (cos_test_tonearest): New function.
21493 (cos_test_towardzero): Likewise.
21494 (cos_test_downward): Likewise.
21495 (cos_test_upward): Likewise.
21496 (sin_test_tonearest): Likewise.
21497 (sin_test_towardzero): Likewise.
21498 (sin_test_downward): Likewise.
21499 (sin_test_upward): Likewise.
21500 (tan_test_tonearest): Likewise.
21501 (tan_test_towardzero): Likewise.
21502 (tan_test_downward): Likewise.
21503 (tan_test_upward): Likewise.
21504 (main): Call the new functions.
21505 * sysdeps/i386/fpu/libm-test-ulps: Update.
21506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21507
a6d06d7b
JM
21508 [BZ #10135]
21509 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
21510 small n, then large n, before computing and testing k+n.
21511 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21512 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
21513 Likewise.
21514 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
21515 Likewise.
21516 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
21517 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
21518 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
21519 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
21520 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21521 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21522 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
21523 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
21524 * math/libm-test.inc (scalbn_test): Add more tests.
21525 (scalbln_test): Likewise.
21526
07e12bb3
JM
21527 * manual/filesys.texi (mode_t): Describe constraints on size and
21528 signedness, not exact equivalence to a particular type.
21529 (ino_t): Likewise.
21530 (ino64_t): Likewise.
21531 (dev_t): Likewise.
21532 (nlink_t): Likewise.
21533 (blkcnt_t): Likewise.
21534 (blkcnt64_t): Likewise.
21535 * manual/llio.texi (off_t): Likewise.
21536
28afd92d
JM
21537 [BZ #3976]
21538 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
21539 (__ieee754_exp): Save and restore rounding mode and use
21540 round-to-nearest for all computations.
21541 * math/libm-test.inc (exp_test_tonearest): New function.
21542 (exp_test_towardzero): Likewise.
21543 (exp_test_downward): Likewise.
21544 (exp_test_upward): Likewise.
21545 (main): Call the new functions.
21546 * sysdeps/i386/fpu/libm-test-ulps: Update.
21547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21548
b1eeb65d
CD
215492012-03-01 Chris Demetriou <cgd@google.com>
21550
21551 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
21552 have predictable order.
21553
53362a4b
DM
215542012-03-01 David S. Miller <davem@davemloft.net>
21555
3c969083
DM
21556 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
21557
759707de
DM
21558 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
21559 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
21560 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
21561 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
21562
dfdb8ff2
DM
21563 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
21564 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
21565 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
21566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
21567 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
21568 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
21569 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
21570 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
21571 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
21572
ead89f96
DM
21573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21574
7f66bd07
DM
21575 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
21576 * sysdeps/sparc/fpu/libm-test-ulps: to here.
21577 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
21578
53362a4b
DM
21579 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
21580 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21581 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
21582 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
21583 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
21584 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
21585 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
21586 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21587 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
21588 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
21589 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
21590 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21591 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21592 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
21593 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21594 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21595 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
21596 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
21597 * sysdeps/sparc/elf/configure: Regenerated.
21598
7b1902cb
JM
215992012-03-01 Joseph Myers <joseph@codesourcery.com>
21600
bec039bc
JM
21601 * configure.in (AS, LD): Require binutils 2.20 or later.
21602 * configure: Regenerated.
21603 * manual/install.texi (Tools for Compilation): Give binutils 2.20
21604 as required minimum version.
21605 * INSTALL: Regenerated.
21606
7b1902cb
JM
21607 [BZ #2541]
21608 [BZ #4108]
21609 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
21610 before squaring exponent.
21611 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
21612 bottom long double and 27 bits of top long double before squaring
21613 exponent.
21614 * math/libm-test.inc (erfc_test): Add more tests.
21615 * sysdeps/i386/fpu/libm-test-ulps: Update.
21616 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21618
f775c276
KT
216192012-03-01 Kai Tietz <ktietz@redhat.com>
21620
21621 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
21622 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
21623 containing bit-fields.
21624 * soft-fp/extended.h (_FP_UNION_E): Likewise.
21625 * soft-fp/single.h (_FP_UNION_S): Likewise.
21626 * soft-fp/double.h (_FP_UNION_D): Likewise.
21627
5b8a4d4a
JM
216282012-02-29 Joseph Myers <joseph@codesourcery.com>
21629
0bab47b6
JM
21630 [BZ #13786]
21631 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
21632 not include ../strcmp.S.
21633 [USE_AS_STRNCASECMP_L]: Likewise.
21634 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
21635 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
21636 * sysdeps/i386/i686/multiarch/strncase_l-c.c
21637 (__strncasecmp_l_ia32): Define as alias to
21638 __strncasecmp_l_nonascii.
21639
0fcad3e2
JM
21640 [BZ #5794]
21641 * math/libm-test.inc (expm1_test): Add test for bug 5794.
21642 * sysdeps/i386/fpu/libm-test-ulps: Update.
21643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21644
5b8a4d4a
JM
21645 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
21646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21647
8fdceb2e
JL
216482012-02-29 Jeff Law <law@redhat.com>
21649
21650 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
21651 out of bounds read.
21652
1f393a11
MP
216532012-02-29 Marek Polacek <polacek@redhat.com>
21654
21655 [BZ #13706]
21656 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
21657 * elf/Makefile: Add rules to run tst-unused-dep.out.
21658
8847f037
DM
216592012-02-28 David S. Miller <davem@davemloft.net>
21660
21661 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
21662 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
21663 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
21664 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
21665 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
21666 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
21667
169d7f11
JM
216682012-02-29 Joseph Myers <joseph@codesourcery.com>
21669
21670 * math/libm-test.inc (llround_test): Move one test from
21671 lround_test. Use TEST_f_L in moved test.
21672 (lround_test): Move misplaced test to llround_test. Add testcase
21673 from bug 2561.
21674
39adf059
UD
216752012-02-28 Ulrich Drepper <drepper@gmail.com>
21676
21677 * sysdeps/x86_64/fpu/e_expf.S: New file.
21678 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
21679
71b5d1c5
SB
216802012-02-28 Stanislav Brabec <sbrabec@suse.cz>
21681
21682 [BZ #13637]
21683 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
21684 of remain_len that may cause incomplete multi-byte character and
21685 false match.
21686 * posix/bug-regex33.c: New file.
21687 * posix/Makefile (tests): Add bug-regex33.
21688
1f77f049
JM
216892012-02-28 Joseph Myers <joseph@codesourcery.com>
21690
21691 * manual/macros.texi: New file.
21692 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
21693 * manual/libc.texinfo: Include macros.texi.
21694 * manual/creatute.texi: Likewise.
21695 * manual/install.texi: Likewise.
21696 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
21697 @glibcadj{} in references to the GNU C Library.
21698 * manual/charset.texi: Likewise.
21699 * manual/conf.texi: Likewise.
21700 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
21701 when not using those macros.
21702 * manual/creature.texi: Likewise.
21703 * manual/crypt.texi: Likewise.
21704 * manual/errno.texi: Likewise.
21705 * manual/filesys.texi: Likewise.
21706 * manual/header.texi: Likewise.
21707 * manual/install.texi: Likewise.
21708 * manual/intro.texi: Likewise.
21709 * manual/io.texi: Likewise.
21710 * manual/job.texi: Likewise.
21711 * manual/lang.texi: Likewise.
21712 * manual/libc.texiinfo: Likewise.
21713 * manual/llio.texi: Likewise.
21714 * manual/locale.texi: Likewise.
21715 * manual/maint.texi: Likewise.
21716 * manual/math.texi: Likewise.
21717 * manual/memory.texi: Likewise.
21718 * manual/message.texi: Likewise.
21719 * manual/nss.texi: Likewise.
21720 * manual/pattern.texi: Likewise.
21721 * manual/process.texi: Likewise.
21722 * manual/resource.texi: Likewise.
21723 * manual/search.texi: Likewise.
21724 * manual/setjmp.texi: Likewise.
21725 * manual/signal.texi: Likewise.
21726 * manual/socket.texi: Likewise.
21727 * manual/startup.texi: Likewise.
21728 * manual/stdio.texi: Likewise.
21729 * manual/string.texi: Likewise.
21730 * manual/sysinfo.texi: Likewise.
21731 * manual/syslog.texi: Likewise.
21732 * manual/terminal.texi: Likewise.
21733 * manual/time.texi: Likewise.
21734 * manual/users.texi: Likewise.
21735 * INSTALL: Regenerated.
21736 * NOTES: Regenerated.
d40c5d54 21737 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 21738
450bf206
AS
217392012-02-28 Andreas Schwab <schwab@linux-m68k.org>
21740
21741 * include/dirent.h: Include <dirstream.h> before
21742 <dirent/dirent.h>.
21743
741a235b
DM
217442012-02-28 David S. Miller <davem@davemloft.net>
21745
21746 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
21747 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
21748 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
21749 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
21750
d6b5aa58
DM
217512012-02-27 David S. Miller <davem@davemloft.net>
21752
1aff59a3
DM
21753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
21754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
21755 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
21756 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
21757
d6b5aa58
DM
21758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
21759 frame pointer instead of stack pointer relative arg slot.
21760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21761 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21762 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21763
433f48bf
CD
217642012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
21765
21766 [BZ #3992]
21767 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
21768
d674b76d
DM
217692012-02-27 David S. Miller <davem@davemloft.net>
21770
21771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
21772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
21775 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21776 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21777 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
21778 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
21779
0e7727f7
JM
217802012-02-27 Joseph Myers <joseph@codesourcery.com>
21781
21782 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
21783 later. Allow versions 5-9.
43be4ca2 21784 * configure: Regenerated.
0e7727f7
JM
21785 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
21786 required minimum version and 4.6 as recommended version. Do not
21787 mention bugs in GCC 2.7 and 2.8.
43be4ca2 21788 * INSTALL: Regenerated.
0e7727f7 21789
a78bc654
DM
217902012-02-27 David S. Miller <davem@davemloft.net>
21791
428d5830
DM
21792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
21793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
21794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
21795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
21796 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
21797 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
21798 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
21799 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
21800
a78bc654
DM
21801 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
21802 manipulate bits before adding and subtracting TWO112[sx].
21803 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21804
4579f81c
RM
218052012-02-27 Roland McGrath <roland@hack.frob.com>
21806
36c8acb4
RM
21807 [BZ #13775]
21808 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
21809 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
21810 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
21811 being in POSIX, because they are in 1003.1-2008.
21812
84ad622b
RM
21813 * rt/tst-aio.c: Include <fcntl.h>.
21814 * rt/tst-aio7.c: Likewise.
21815 * rt/tst-aio64.c: Likewise.
21816
4579f81c
RM
21817 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
21818
abd923db
JM
218192012-02-27 Joseph Myers <joseph@codesourcery.com>
21820
21821 * manual/install.texi (--with-headers): Describe headers as
21822 interface headers, not private headers.
21823 (Specific advice for GNU/Linux systems): Describe use of headers
21824 from "make headers_install", not private headers from older
21825 kernels.
43be4ca2 21826 * INSTALL: Regenerated.
abd923db
JM
21827 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
21828 Change to 2.6.19.
21829 * sysdeps/unix/sysv/linux/configure: Regenerated.
21830
6664049b
JM
21831 * manual/llio.texi (fclean): Remove documentation.
21832
bb8b6697
JM
21833 * manual/Makefile (libc-texi-generated): New variable. Include
21834 version.texi.
21835 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
21836 $(libc-texi-generated), not duplicated list of files.
21837 (version.texi, stamp-version): New rules.
21838 (realclean): Remove $(libc-texi-generated), not individual files
21839 from that list. Do not remove dir-add.texinfo.
21840 * manual/libc.texinfo: Comment out uses of edition numbers and
21841 references to printed manual. Remove last-updated dates.
21842 (EDITION): Comment out.
21843 (ISBN): Likewise.
21844 (VERSION, UPDATED): Remove.
21845 (version.texi): Include.
21846
12e5c3b9
AS
218472012-02-27 Andreas Schwab <schwab@linux-m68k.org>
21848
21849 * sysdeps/posix/spawni.c: Include <signal.h>.
21850 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
21851 * sysdeps/pthread/aio_fsync.c: Likewise.
21852
4efeffc1 218532012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 21854
ba63ba08
UD
21855 * conform/Makefile (tests): Run only when not cross-compiling and
21856 when fast-check is not defined.
21857
d94a4670
UD
21858 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
21859 * conform/data/limits.h-data: Fixes for POSIX2008.
21860 * conform/run-conformtest.sh: Run all tests.
21861 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
21862 headers.
21863 * include/bits/dlfcn.h: Likewise.
21864 * include/langinfo.h: Likewise.
21865 * include/monetary.h: Likewise.
21866 * include/sys/poll.h: Likewise.
21867
21868 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
21869 for __USE_GNU.
21870 * posix/spawn.h: Define __need_sigset_t.
21871 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
21872 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
21873 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
21874 to get sigevent_t only.
21875 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
21876 only for __USE_GNU.
21877 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21878 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21879 process_vm_writev only for __USE_GNU.
21880 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
21881
21882 * conform/Makefile: For now ignore errors from run-conformtest.
21883 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
21884 POSIX to avoid namespace pollution. Don't prepend headers.
21885 * conform/data/aio.h-data: Fixes for POSIX testing.
21886 * conform/data/fcntl.h-data: Likewise.
21887 * conform/data/glob.h-data: Likewise.
21888 * conform/data/grp.h-data: Likewise.
21889 * conform/data/pthread.h-data: Likewise.
21890 * conform/data/pwd.h-data: Likewise.
21891 * conform/data/signal.h-data: Likewise.
21892 * conform/data/spawn.h-data: Likewise.
21893 * conform/data/stdio.h-data: Likewise.
21894 * conform/data/stdlib.h-data: Likewise.
21895 * conform/data/stropts.h-data: Likewise.
21896 * conform/data/sys/mman.h-data: Likewise.
21897 * conform/data/sys/stat.h-data: Likewise.
21898 * conform/data/sys/types.h-data: Likewise.
21899 * conform/data/sys/wait.h-data: Likewise.
21900 * conform/data/time.h-data: Likewise.
21901 * conform/data/unistd.h-data: Likewise.
21902 * conform/data/utime.h-data: Likewise.
21903
21904 * io/sys/stat.h: fchmod was always in POSIX.
21905 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
21906 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
21907 * rt/aio.h: Define __need_timespec before including <time.h>.
21908 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
21909 struct. Add forward declaration of pthread_attr_t and use it in
21910 sigevent.
21911 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21912 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21913 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
21914 always remove CLK_TCK definition.
21915
c20105c3
AS
219162012-02-26 Andreas Schwab <schwab@linux-m68k.org>
21917
21918 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
21919
7a270350
UD
219202012-02-25 Ulrich Drepper <drepper@gmail.com>
21921
31341567
UD
21922 * conform/run-conformtest.sh: New file.
21923 * conform/Makefile: Run run-conformtest for tests.
21924 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
21925 support.
21926
21927 * conform/data/uchar.h-data: New file.
21928 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
21929 * conform/data/arpa/inet.h-data: Likewise.
21930 * conform/data/assert.h-data: Likewise.
21931 * conform/data/complex.h-data: Likewise.
21932 * conform/data/cpio.h-data: Likewise.
21933 * conform/data/ctype.h-data: Likewise.
21934 * conform/data/dirent.h-data: Likewise.
21935 * conform/data/dlfcn.h-data: Likewise.
21936 * conform/data/errno.h-data: Likewise.
21937 * conform/data/fcntl.h-data: Likewise.
21938 * conform/data/float.h-data: Likewise.
21939 * conform/data/fmtmsg.h-data: Likewise.
21940 * conform/data/fnmatch.h-data: Likewise.
21941 * conform/data/ftw.h-data: Likewise.
21942 * conform/data/glob.h-data: Likewise.
21943 * conform/data/grp.h-data: Likewise.
21944 * conform/data/iconv.h-data: Likewise.
21945 * conform/data/inttypes.h-data: Likewise.
21946 * conform/data/langinfo.h-data: Likewise.
21947 * conform/data/libgen.h-data: Likewise.
21948 * conform/data/limits.h-data: Likewise.
21949 * conform/data/locale.h-data: Likewise.
21950 * conform/data/math.h-data: Likewise.
21951 * conform/data/monetary.h-data: Likewise.
21952 * conform/data/mqueue.h-data: Likewise.
21953 * conform/data/ndbm.h-data: Likewise.
21954 * conform/data/net/if.h-data: Likewise.
21955 * conform/data/netdb.h-data: Likewise.
21956 * conform/data/netinet/in.h-data: Likewise.
21957 * conform/data/nl_types.h-data: Likewise.
21958 * conform/data/poll.h-data: Likewise.
21959 * conform/data/pthread.h-data: Likewise.
21960 * conform/data/pwd.h-data: Likewise.
21961 * conform/data/regex.h-data: Likewise.
21962 * conform/data/sched.h-data: Likewise.
21963 * conform/data/search.h-data: Likewise.
21964 * conform/data/semaphore.h-data: Likewise.
21965 * conform/data/setjmp.h-data: Likewise.
21966 * conform/data/signal.h-data: Likewise.
21967 * conform/data/spawn.h-data: Likewise.
21968 * conform/data/stdarg.h-data: Likewise.
21969 * conform/data/stdio.h-data: Likewise.
21970 * conform/data/stdlib.h-data: Likewise.
21971 * conform/data/string.h-data: Likewise.
21972 * conform/data/strings.h-data: Likewise.
21973 * conform/data/stropts.h-data: Likewise.
21974 * conform/data/sys/ipc.h-data: Likewise.
21975 * conform/data/sys/mman.h-data: Likewise.
21976 * conform/data/sys/msg.h-data: Likewise.
21977 * conform/data/sys/resource.h-data: Likewise.
21978 * conform/data/sys/select.h-data: Likewise.
21979 * conform/data/sys/sem.h-data: Likewise.
21980 * conform/data/sys/shm.h-data: Likewise.
21981 * conform/data/sys/socket.h-data: Likewise.
21982 * conform/data/sys/stat.h-data: Likewise.
21983 * conform/data/sys/statvfs.h-data: Likewise.
21984 * conform/data/sys/time.h-data: Likewise.
21985 * conform/data/sys/timeb.h-data: Likewise.
21986 * conform/data/sys/times.h-data: Likewise.
21987 * conform/data/sys/types.h-data: Likewise.
21988 * conform/data/sys/uio.h-data: Likewise.
21989 * conform/data/sys/un.h-data: Likewise.
21990 * conform/data/sys/utsname.h-data: Likewise.
21991 * conform/data/sys/wait.h-data: Likewise.
21992 * conform/data/syslog.h-data: Likewise.
21993 * conform/data/tar.h-data: Likewise.
21994 * conform/data/termios.h-data: Likewise.
21995 * conform/data/utime.h-data: Likewise.
21996 * conform/data/utmpx.h-data: Likewise.
21997 * conform/data/varargs.h-data: Likewise.
21998 * conform/data/wchar.h-data: Likewise.
21999 * conform/data/wctype.h-data: Likewise.
22000 * conform/data/wordexp.h-data: Likewise.
22001
22002 * include/stropts.h: New file.
22003 * include/uchar.h: New file.
22004 * include/aio.h: Changes to allow conformtest.pl to use the headers.
22005 * include/assert.h: Likewise.
22006 * include/ctype.h: Likewise.
22007 * include/dirent.h: Likewise.
22008 * include/dlfcn.h: Likewise.
22009 * include/fcntl.h: Likewise.
22010 * include/fnmatch.h: Likewise.
22011 * include/glob.h: Likewise.
22012 * include/grp.h: Likewise.
22013 * include/libio.h: Likewise.
22014 * include/locale.h: Likewise.
22015 * include/math.h: Likewise.
22016 * include/net/if.h: Likewise.
22017 * include/netdb.h: Likewise.
22018 * include/netinet/in.h: Likewise.
22019 * include/pthread.h: Likewise.
22020 * include/pwd.h: Likewise.
22021 * include/regex.h: Likewise.
22022 * include/sched.h: Likewise.
22023 * include/search.h: Likewise.
22024 * include/setjmp.h: Likewise.
22025 * include/signal.h: Likewise.
22026 * include/stdio.h: Likewise.
22027 * include/stdlib.h: Likewise.
22028 * include/string.h: Likewise.
22029 * include/sys/cdefs.h: Likewise.
22030 * include/sys/mman.h: Likewise.
22031 * include/sys/msg.h: Likewise.
22032 * include/sys/resource.h: Likewise.
22033 * include/sys/select.h: Likewise.
22034 * include/sys/socket.h: Likewise.
22035 * include/sys/stat.h: Likewise.
22036 * include/sys/statvfs.h: Likewise.
22037 * include/sys/time.h: Likewise.
22038 * include/sys/times.h: Likewise.
22039 * include/sys/uio.h: Likewise.
22040 * include/sys/utsname.h: Likewise.
22041 * include/sys/wait.h: Likewise.
22042 * include/termios.h: Likewise.
22043 * include/time.h: Likewise.
22044 * include/ulimit.h: Likewise.
22045 * include/unistd.h: Likewise.
22046 * include/utime.h: Likewise.
22047 * include/wchar.h: Likewise.
22048 * include/wctype.h: Likewise.
22049 * include/wordexp.h: Likewise.
22050
22051 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
22052
7a270350
UD
22053 * time/time.h: TIME_UTC must be a macro.
22054 Make timespec_get available for ISO C11 only as well.
22055
7724defc
UD
220562012-02-24 Ulrich Drepper <drepper@gmail.com>
22057
22058 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
22059 Reported by Peng Haitao <penght@cn.fujitsu.com>.
22060
6b1d1d46
JM
220612012-02-24 Joseph Myers <joseph@codesourcery.com>
22062
22063 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 22064
0f8bbd69
JM
220652012-02-24 Joseph Myers <joseph@codesourcery.com>
22066
22067 * manual/texinfo.tex: Update to version 2012-01-19.16.
22068
66ab80bc
JM
220692012-02-24 Joseph Myers <joseph@codesourcery.com>
22070
22071 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
22072
74981cc5
RM
220732012-02-24 Roland McGrath <roland@hack.frob.com>
22074
ee968201
RM
22075 [BZ #13738]
22076 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
22077 * manual/fdl-1.3.texi: New file.
22078 * manual/fdl-1.1.texi: File removed.
22079
74981cc5
RM
22080 [BZ #13738]
22081 * manual/libc.texinfo (FDL_VERSION): New @set.
22082 Use it for mention of FDL in cover text.
22083 (Documentation License): Use it in @include file name.
22084
7bb764bc
JM
220852012-02-22 Joseph Myers <joseph@codesourcery.com>
22086 Roland McGrath <roland@hack.frob.com>
22087
22088 [BZ #5461]
22089 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
22090 not LONG_LONG_MAX and LONG_LONG_MIN.
22091 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
22092 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
22093 name.
22094 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
22095
6cbeae47
JM
220962012-02-22 Joseph Myers <joseph@codesourcery.com>
22097
22098 [BZ #2547]
22099 [BZ #11365]
22100 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
22101 manipulate bits before adding and subtracting TWO23[sx].
22102 * math/libm-test.inc (nearbyint_test): Add more tests.
22103
fe45ce09
JM
221042012-02-22 Joseph Myers <joseph@codesourcery.com>
22105
22106 [BZ #2548]
22107 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
22108 bits before adding and subtracting TWO23[sx].
22109 * math/libm-test.inc (rint_test): Add more tests.
22110 (rint_test_tonearest): Likewise.
22111 (rint_test_towardzero): Likewise.
22112 (rint_test_downward): Likewise.
22113 (rint_test_upward: Likewise.
22114
ff3b3d82
JM
221152012-02-22 Joseph Myers <joseph@codesourcery.com>
22116
22117 [BZ #10110]
22118 * include/stdc-predef.h: New file. Extracted from features.h.
22119 * include/features.h: Include stdc-predef.h.
22120 * Makefile (headers): Add stdc-predef.h.
22121 * CONFORMANCE (Compiler limitations): Update.
22122
ef0aab35
JM
221232012-02-22 Joseph Myers <joseph@codesourcery.com>
22124
22125 * manual/libc.texinfo (VERSION, UPDATED): Revert.
22126
58639409
DM
221272012-02-21 David S. Miller <davem@davemloft.net>
22128
22129 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
22130 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22131
c0e70b25
DM
221322012-02-20 David S. Miller <davem@davemloft.net>
22133
22134 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
22135 using a normal save/restore sequence, rather than allocating a
22136 dummy stack frame just to store a frame pointer and restore.
22137 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22138
fb06851d
JM
221392012-02-21 Joseph Myers <joseph@codesourcery.com>
22140
22141 * manual/install.texi: Fix stray word in line-wrapped comment.
22142
7a8b71c3
DM
221432012-02-20 David S. Miller <davem@davemloft.net>
22144
d510c123
DM
22145 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
22146 both binutils and gcc support GOTDATA.
22147
0722d7c2
DM
22148 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
22149 "rd %pc" in the PIC register setup sequences.
22150
3d2b3019
DM
22151 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
22152 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22153 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22154 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22155 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22156 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22157 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22158 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22159 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
22160 (SYSCALL_ERROR_HANDLER): Likewise.
22161 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22162 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22163 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
22164 (SYSCALL_ERROR_HANDLER): Likewise.
22165
c80098a9
DM
22166 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
22167 (HAVE_GCC_GOTDATA): New.
22168 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
22169 relocation support in both binutils and gcc.
22170 * sysdeps/sparc/elf/configure: Regenerate.
22171
3a2545a0
DM
22172 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
22173 * sysdeps/sparc/sparc32/elf/configure: Delete.
22174 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
22175 * sysdeps/sparc/sparc64/elf/configure: Delete.
22176 * sysdeps/sparc/elf/configure.in: New file.
22177 * sysdeps/sparc/elf/configure: Generate.
22178
7a8b71c3
DM
22179 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
22180 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
22181 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22182 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
22183 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
22184
f1e86fca
JM
221852012-02-21 Joseph Myers <joseph@codesourcery.com>
22186
22187 * manual/install.texi: Do not mention specific glibc version
22188 numbers.
22189 * manual/libc.texinfo (VERSION, UPDATED): Update.
22190 (@copying): Use @copyright{} and range of years.
22191
0e7dfaef
JM
221922012-02-21 Joseph Myers <joseph@codesourcery.com>
22193
22194 [BZ #13695]
22195 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
22196 [crti.S not in sysdirs] (generated): Do not append.
22197 [crti.S not in sysdirs] (omit-deps): Likewise.
22198 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
22199 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
22200 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
22201 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
22202 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
22203 Likewise.
22204 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
22205 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
22206 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
22207 * csu/defs.awk: Remove file.
22208 * sysdeps/generic/initfini.c: Likewise.
22209 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
22210 variable.
22211 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
22212 Likewise.
22213
599af3ca
JM
222142012-02-20 Joseph Myers <joseph@codesourcery.com>
22215
22216 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
22217 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
22218 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
22219 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
22220 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22221 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
22222 <bits/epoll.h>.
22223 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
22224 (__EPOLL_PACKED): Define to empty if not defined by
22225 <bits/epoll.h>.
22226 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
22227 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22228 bits/epoll.h.
22229
0e499750
JM
222302012-02-20 Joseph Myers <joseph@codesourcery.com>
22231
22232 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
22233 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
22234 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
22235 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
22236 <bits/timerfd.h>.
22237 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
22238 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22239 bits/timerfd.h.
22240
5ad91f6e
JM
222412012-02-20 Joseph Myers <joseph@codesourcery.com>
22242
22243 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
22244 in C locale.
22245 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22246 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22247 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
22248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22249
06b99b02
AJ
222502012-02-20 Aurelien Jarno <aurelien@aurel32.net>
22251
22252 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22253 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22254
7638c0fd
AS
222552012-02-19 Andreas Schwab <schwab@linux-m68k.org>
22256
22257 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
22258 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
22259 defined.
22260 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
22261 Likewise.
22262 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
22263 entry for 2.16.
22264
92221550
AJ
222652012-02-19 Aurelien Jarno <aurelien@aurel32.net>
22266
22267 * math/w_acos.c: Use non-signaling floating-point comparisons.
22268 * math/w_acosf.c: Likewise.
22269 * math/w_acosh.c: Likewise.
22270 * math/w_acoshf.c: Likewise.
22271 * math/w_acoshl.c: Likewise.
22272 * math/w_acosl.c: Likewise.
22273 * math/w_asin.c: Likewise.
22274 * math/w_asinf.c: Likewise.
22275 * math/w_asinl.c: Likewise.
22276 * math/w_atanh.c: Likewise.
22277 * math/w_atanhf.c: Likewise.
22278 * math/w_atanhl.c: Likewise.
22279 * math/w_exp2.c: Likewise.
22280 * math/w_exp2f.c: Likewise.
22281 * math/w_exp2l.c: Likewise.
22282 * math/w_j0.c: Likewise.
22283 * math/w_j0f.c: Likewise.
22284 * math/w_j0l.c: Likewise.
22285 * math/w_j1.c: Likewise.
22286 * math/w_j1f.c: Likewise.
22287 * math/w_j1l.c: Likewise.
22288 * math/w_jn.c: Likewise.
22289 * math/w_jnf.c: Likewise.
22290 * math/w_log.c: Likewise.
22291 * math/w_log10.c: Likewise.
22292 * math/w_log10f.c: Likewise.
22293 * math/w_log10l.c: Likewise.
22294 * math/w_log2.c: Likewise.
22295 * math/w_log2f.c: Likewise.
22296 * math/w_log2l.c: Likewise.
22297 * math/w_logf.c: Likewise.
22298 * math/w_logl.c: Likewise.
22299 * math/w_sqrt.c: Likewise.
22300 * math/w_sqrtf.c: Likewise.
22301 * math/w_sqrtl.c: Likewise.
22302 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22303 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
22304 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22305 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22306 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22307
ebaf36eb
JM
223082012-02-19 Joseph Myers <joseph@codesourcery.com>
22309
22310 [BZ #9739]
22311 * manual/string.texi (strnlen): Use correct parameter name in
22312 equivalent expression.
22313
71c254a6
JM
223142012-02-19 Joseph Myers <joseph@codesourcery.com>
22315
22316 [BZ #11174]
22317 * manual/users.texi (seteuid): Consistently use neweuid for
22318 argument name.
22319
16d2c631
JM
223202012-02-19 Joseph Myers <joseph@codesourcery.com>
22321
22322 [BZ #13704]
22323 * manual/nss.texi (Services in the NSS configuration): Correct
22324 list of services in example configuration file.
22325
cd837b09
NB
223262012-02-19 Nick Bowler <nbowler@draconx.ca>
22327
22328 [BZ #11322]
22329 * manual/arith.texi: Remove statements about negative zero
22330 behaving identically to zero.
22331
02c4bbad
JM
223322012-02-18 Joseph Myers <joseph@codesourcery.com>
22333
22334 [BZ #5993]
22335 * manual/install.texi: Do not document upgrading from libc5.
22336
366842e7
JM
223372012-02-18 Joseph Myers <joseph@codesourcery.com>
22338
22339 [BZ #4596]
22340 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
22341
dd54084d
DM
223422012-02-18 David S. Miller <davem@davemloft.net>
22343
22344 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
22345 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
22346 %o7 across the call.
22347 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
22348 instead.
22349 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
22350 SETUP_PIC_REG_LEAF.
22351 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22352 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
22353 * sysdeps/sparc/crtn.S: Likewise.
22354
2bcc53a3
UD
223552012-02-17 Ulrich Drepper <drepper@gmail.com>
22356
22357 * aout/Makefile: Remove.
22358
09c093b5
RK
223592012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
22360
22361 [BZ #13058]
22362 * manual/examples/argp-ex1.c (main): Format definition in GNU
22363 style.
22364 * manual/examples/argp-ex2.c (main): Likewise.
22365 * manual/examples/argp-ex3.c (main): Likewise.
22366 * manual/examples/argp-ex4.c (main): Likewise.
22367 * manual/examples/longopt.c (main): Use new-style prototype
22368 definition.
22369 * manual/examples/strncat.c (main): Specify return type and use
22370 (void) for arguments.
22371 * manual/examples/subopt.c (main): Use char **argv argument.
22372
2ee633a2
JM
223732012-02-17 Joseph Myers <joseph@codesourcery.com>
22374
22375 [BZ #5077]
22376 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
22377 rounding modes.
22378
0520adde
FB
223792012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
22380
22381 [BZ #6907]
22382 * manual/string.texi (strchr): Change when strchrnul is
22383 recommended.
22384
3f4081cd
DGM
223852012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
22386
22387 [BZ #174]
22388 * manual/locale.texi (setlocale): Document LOCPATH.
22389
d1b10e78
JM
223902012-02-17 Joseph Myers <joseph@codesourcery.com>
22391
22392 [BZ #10210]
22393 * manual/process.texi (execle): Move @dots{} before last argument.
22394
79c6869c
PB
223952012-02-17 Paul Bolle <pebolle@tiscali.nl>
22396
22397 [BZ #12047]
22398 * manual/charset.texi (Generic Charset Conversion): Fix typo
22399 (LC_TYPE -> LC_CTYPE).
22400
cc6e48bc
NB
224012012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
22402
22403 [BZ #5805]
22404 * manual/arith.texi (scalbn): Use @var{} on parameter names.
22405 (scalbnf): Likewise.
22406 (scalbnl): Likewise.
22407 (scalbln): Likewise.
22408 (scalblnf): Likewise.
22409 (scalblnl): Likewise.
22410 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
22411 (vwarnx): Likewise.
22412 (verr): Likewise.
22413 (verrx): Likewise.
22414 * manual/filesys.texi (telldir): Use braces around return type.
22415 * manual/llio.texi (mmap): Add space after comma.
22416 (mmap64): Likewise.
22417 * manual/math.texi (jn): Use @var{} on parameter names.
22418 (jnf): Likewise.
22419 (jnl): Likewise.
22420 (yn): Likewise.
22421 (ynf): Likewise.
22422 (ynl): Likewise.
22423 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
22424 line.
22425 * manual/resource.texi (ulimit): Use @dots{} instead of literal
22426 "...".
22427 (sched_get_priority_min): Remove semicolon on @deftypefun line.
22428 (sched_get_priority_max): Likewise.
22429 * manual/signal.texi (sigvec): Add space after comma.
22430 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
22431 names.
22432 (if_indextoname): Likewise.
22433 (if_freenameindex): Likewise.
22434 (sendto): Use ',' instead of '.' in prototype.
22435 * manual/startup.texi (syscall): Use @dots{} instead of literal
22436 "...".
22437 * manual/stdio.texi (__fpending): Separate initial words of
22438 paragraph from @deftypefun line.
22439 * manual/syslog.texi (syslog): Use @dots{} instead of literal
22440 "...".
22441 (vsyslog): Use @var{} on parameter names.
22442 * manual/terminal.texi (stty): Use @var{} on parameter names.
22443 * manual/users.texi (getutmp): Use @var{} on parameter names.
22444 (getutmpx): Likewise.
22445
5b23062f
JM
224462012-02-17 Joseph Myers <joseph@codesourcery.com>
22447
22448 [BZ #6884]
22449 * manual/stdio.texi (fopen): Fix typos in description of
22450 ",ccs=STRING".
22451
8dee4833
AJ
224522012-02-17 Aurelien Jarno <aurelien@aurel32.net>
22453
22454 [BZ #4026]
22455 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
22456 get clock_id definition.
22457
9078ce93
TS
224582012-02-17 Thomas Schwinge <thomas@schwinge.name>
22459
22460 [BZ #4822]
22461 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
22462 (madvise): Cast every argument to void on its own.
22463
3835c55f
JM
224642012-02-17 Joseph Myers <joseph@codesourcery.com>
22465
22466 [BZ #9902]
22467 * manual/startup.texi (Exit Status): Fix typo.
22468
35c47e37
JM
224692012-02-17 Joseph Myers <joseph@codesourcery.com>
22470
22471 [BZ #10140]
22472 * manual/examples/argp-ex1.c: Include <stdlib.h>.
22473 * manual/examples/argp-ex2.c: Likewise.
22474 * manual/examples/argp-ex3.c: Likewise.
22475
e3b69ca7
RH
224762012-02-16 Richard Henderson <rth@redhat.com>
22477
22478 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
22479 * sysdeps/s390/s390-32/initfini.c: Remove.
22480 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
22481 * sysdeps/s390/s390-64/initfini.c: Remove.
22482
df83af67
KK
224832012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22484
22485 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
22486 compiler output for sysdeps/generic/initfini.c.
22487 * sysdeps/sh/elf/initfini.c: Remove file.
22488
f63f3380
DM
224892012-02-16 David S. Miller <davem@davemloft.net>
22490
fb59b3a4
DM
22491 [BZ #11494]
22492 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
22493
f63f3380
DM
22494 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
22495 * sysdeps/sparc/crti.S: New file.
22496 * sysdeps/sparc/crtn.S: New file.
22497 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
22498 * sysdeps/sparc/sparc64/Makefile: Likewise.
22499
df6a4a4a
MF
225002012-02-15 Mike Frysinger <vapier@gentoo.org>
22501
6dd8f3dc 22502 [BZ #3335]
df6a4a4a
MF
22503 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
22504
1cac7236
RM
225052012-02-15 Roland McGrath <roland@hack.frob.com>
22506
d2c736f8
RM
22507 [BZ #4822]
22508 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
22509
1cac7236
RM
22510 * mach/devstream.c (cookie_io_functions_t): Macro removed.
22511 (write, read, close): Likewise.
22512 Patch by Aurelien Jarno <aurelien@aurel32.net>.
22513
8e475601
JM
225142012-02-15 Joseph Myers <joseph@codesourcery.com>
22515
22516 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
22517 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
22518 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
22519 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
22520 <bits/signalfd.h>.
22521 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
22522 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22523 bits/signalfd.h.
22524
ed656b40
MP
225252012-02-14 Marek Polacek <polacek@redhat.com>
22526
22527 * sysdeps/x86_64/crti.S: New file.
22528 * sysdeps/x86_64/crtn.S: New file.
22529 * sysdeps/x86_64/elf/initfini.c: Remove file.
22530
2a979d3a
JM
225312012-02-13 Joseph Myers <joseph@codesourcery.com>
22532
22533 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
22534 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
22535 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
22536 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
22537 <bits/inotify.h>.
22538 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
22539 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22540 bits/inotify.h.
22541
2a418ac3
JM
225422012-02-13 Joseph Myers <joseph@codesourcery.com>
22543
22544 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
22545 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
22546 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
22547 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
22548 <bits/eventfd.h>.
22549 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
22550 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22551 bits/eventfd.h.
22552
fb779be7
TS
225532012-02-10 Thomas Schwinge <thomas@codesourcery.com>
22554
e19e83c5
RM
22555 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
22556 __feraiseexcept instead of feraiseexcept.
7c35ffed 22557
fb779be7
TS
22558 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
22559 nanosleep invocations.
22560 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
22561 strings, and add error checking for a nanosleep invocations.
22562
59ba27a6
PE
225632012-02-09 Paul Eggert <eggert@cs.ucla.edu>
22564
22565 Replace FSF snail mail address with URLs, as per GNU coding standards.
22566 Most of the snail mail addresses were wrong anyway, and omitting
22567 them makes the source code easier to maintain. Almost all of the
22568 changes are to license notices and to locale LC_IDENTIFICATION
22569 addresses, except for this one:
22570 * manual/libc.texinfo: In "Published by", give the FSF's URL,
22571 not its snail mail address.
22572
57b957eb
RH
225732012-02-09 Richard Henderson <rth@twiddle.net>
22574
af850b1c
RH
22575 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
22576 of kernel-features.h.
22577
57b957eb
RH
22578 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
22579
6b73181a
MP
225802012-02-08 Marek Polacek <polacek@redhat.com>
22581
22582 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
22583 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
22584 * sysdeps/gnu/_G_config.h: Likewise.
22585 * sysdeps/generic/_G_config.h: Likewise.
22586
26ecc33a
AS
225872012-02-08 Andreas Schwab <schwab@linux-m68k.org>
22588
6c6dbc63
AS
22589 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
22590 tests.
22591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22592
e216c012
AS
22593 * sysdeps/powerpc/powerpc32/crti.S: New file.
22594 * sysdeps/powerpc/powerpc32/crtn.S: New file.
22595 * sysdeps/powerpc/powerpc64/crti.S: New file.
22596 * sysdeps/powerpc/powerpc64/crtn.S: New file.
22597
26ecc33a
AS
22598 * Makeconfig (have-initfini): Don't set.
22599 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
22600 * configure.in (nopic_initfini): Don't substitute.
22601 * config.h.in (HAVE_INITFINI): Don't #undef.
22602 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
22603 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
22604
3add8e13
JM
226052012-02-08 Joseph Myers <joseph@codesourcery.com>
22606
22607 Support crti.S and crtn.S provided directly by architectures.
22608 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
22609 [crti.S in sysdirs] (omit-deps): Likewise.
22610 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
22611 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
22612 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
22613 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
22614 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
22615 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
22616 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
22617 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
22618 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
22619 compiler output for sysdeps/generic/initfini.c.
22620 * sysdeps/i386/elf/Makefile: Remove file.
22621 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
22622
a22f12b4
MP
226232012-02-07 Marek Polacek <polacek@redhat.com>
22624
22625 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
22626 * sysdeps/gnu/_G_config.h: Likewise.
22627 * sysdeps/mach/hurd/_G_config.h: Likewise.
22628
148cf100
MP
226292012-02-07 Marek Polacek <polacek@redhat.com>
22630
22631 * math/Makefile (tests): Add tst-CMPLX2.
22632 * math/tst-CMPLX2.c: New file.
22633
cfdc0dd7
AS
226342012-02-07 Andreas Schwab <schwab@linux-m68k.org>
22635
84ba42c4
AS
22636 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22637
cfdc0dd7
AS
22638 * math/libm-test.inc (jn_test): Add missing L suffix.
22639
622c86f4
MP
226402012-02-06 Marek Polacek <polacek@redhat.com>
22641
22642 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
22643 * sysdeps/i386/fpu/e_powf.S: Likewise.
22644 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22645 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22646 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22647 * sysdeps/i386/fpu/e_pow.S: Likewise.
22648 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22649 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22650 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22651 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22652 * sysdeps/i386/fpu/e_log2.S: Likewise.
22653 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22654 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22655 * sysdeps/i386/fpu/e_powl.S: Likewise.
22656 * sysdeps/i386/fpu/s_log1p.S: Likewise.
22657 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22658 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22659 * sysdeps/i386/fpu/e_logl.S: Likewise.
22660 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22661 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
22662 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22663 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22664 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22665 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22666 * sysdeps/i386/fpu/e_log.S: Likewise.
22667 * sysdeps/i386/fpu/s_cexp.S: Likewise.
22668 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22669 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
22670 * sysdeps/i386/fpu/e_logf.S: Likewise.
22671 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22672 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22673 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
22674 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22675 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22676 * sysdeps/i386/fpu/e_log10.S: Likewise.
22677 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22678 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22679 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22680 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22681 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22682 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22683 * sysdeps/i386/asm-syntax.h: Likewise.
22684 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22685 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22686 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22687 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
22688 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
22689 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22690 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22691 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22692 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22693 * sysdeps/powerpc/sysdep.h: Likewise.
22694 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22695 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22696
d4a54ac6
JM
226972012-02-06 Joseph Myers <joseph@codesourcery.com>
22698
22699 [BZ #411]
22700 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
22701
314054ea
JM
227022012-02-06 Joseph Myers <joseph@codesourcery.com>
22703
22704 * sysdeps/i386/sysdep.h: Include <features.h>.
22705 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
22706 version.
22707
d8e0ca50
JM
227082012-02-05 Joseph Myers <joseph@codesourcery.com>
22709
22710 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
22711 Define.
22712 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
22713 LOAD_PIC_REG_STR.
22714
b1da7dd9
JM
227152012-02-03 Joseph Myers <joseph@codesourcery.com>
22716
22717 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
22718 (SETUP_PIC_REG): Use GET_PC_THUNK.
22719 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
22720 macro.
22721
9a1d9254
JM
227222012-02-03 Joseph Myers <joseph@codesourcery.com>
22723
22724 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
22725 for non-PIC compilation.
22726 (SETUP_PIC_REG): Add .p2align directive.
22727 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
22728 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
22729 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22730 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22731 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22732 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22733 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
22734 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22735 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22736 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22737 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22738 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22739 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22740 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22741 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22742 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22743 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22744 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22745 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22746 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22747 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22748 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22749 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22750 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22751 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22752 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22753 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22754 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22755 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22756 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22757 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22758 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22759 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22760 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22761 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22762 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22763 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22764 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22765 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22766 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22767 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22768
65dc3b75
JM
227692012-02-03 Joseph Myers <joseph@codesourcery.com>
22770
22771 * math/tst-CMPLX.c: Include <stdio.h>.
22772
d55bf177
JM
227732012-01-31 Joseph Myers <joseph@codesourcery.com>
22774
22775 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
22776 float.
22777 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
22778 * sysdeps/sparc/bits/mathdef.h: Likewise.
22779
69db4f8f
MP
227802012-01-31 Marek Polacek <polacek@redhat.com>
22781
22782 * libio/libio.h: Don't define _PARAMS.
22783 * locale/programs/config.h: Don't define PARAMS.
22784 * stdlib/strtol_l.c: Likewise.
22785 (__strtol_l): Remove PARAMS from the prototype.
22786
41b81892
UD
227872012-01-31 Ulrich Drepper <drepper@gmail.com>
22788
3b49edc0
UD
22789 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
22790 names. Just use the correct names. Remove unnecessary wrapper
22791 functions.
22792 * malloc/arena.c: Likewise.
22793 * malloc/hooks.c: Likewise.
22794
41b81892
UD
22795 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
22796 ARENA_TEST says not to. Simplify test for creation of a new arena.
22797 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
22798
27a25b6e
UD
227992012-01-30 Ulrich Drepper <drepper@gmail.com>
22800
22801 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
22802 into tail calls.
22803 (update_get_addr): New function.
22804 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
22805 GET_ADDR_MODULE parameter.
22806
c8a89e7d
JM
228072012-01-30 Joseph Myers <joseph@codesourcery.com>
22808
22809 * crypt/cert.c: Remove __STDC__ conditionals.
22810 * crypt/crypt-entry.c: Likewise.
22811 * crypt/crypt_util.c: Likewise.
22812 * libio/filedoalloc.c: Likewise.
22813 * libio/fileops.c: Likewise.
22814 * libio/genops.c: Likewise.
22815 * libio/iofclose.c: Likewise.
22816 * libio/iofdopen.c: Likewise.
22817 * libio/iofopen.c: Likewise.
22818 * libio/iofopen64.c: Likewise.
22819 * libio/iogetdelim.c: Likewise.
22820 * libio/iopopen.c: Likewise.
22821 * libio/obprintf.c: Likewise.
22822 * libio/oldfileops.c: Likewise.
22823 * libio/oldiofclose.c: Likewise.
22824 * libio/oldiofdopen.c: Likewise.
22825 * libio/oldiofopen.c: Likewise.
22826 * libio/oldiopopen.c: Likewise.
22827 * libio/wfiledoalloc.c: Likewise.
22828 * libio/wgenops.c: Likewise.
22829 * locale/programs/xmalloc.c: Likewise.
22830 * misc/syslog.c: Likewise.
22831 * stdio-common/xbug.c: Likewise.
22832 * string/memchr.c: Likewise.
22833 * string/memcmp.c: Likewise.
22834 * string/memrchr.c: Likewise.
22835 * string/rawmemchr.c: Likewise.
22836 * sysdeps/posix/getcwd.c: Likewise.
22837 * time/strftime_l.c: Likewise.
22838
3b100462
JM
228392012-01-30 Joseph Myers <joseph@codesourcery.com>
22840
22841 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
22842 * config.make.in (config-cflags-sse2avx): Define.
22843 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
22844 Fix typo.
22845
607998af
CM
228462012-01-29 Chris Metcalf <cmetcalf@tilera.com>
22847
22848 * scripts/config.guess: Update from upstream config git repository.
22849 * scripts/config.sub: Likewise.
22850
3601428f
CM
228512012-01-28 Chris Metcalf <cmetcalf@tilera.com>
22852
3ac8b282
CM
22853 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
22854 (EM_NUM): Update.
22855 (R_TILEPRO_*, R_TILEGX_*): New macros.
22856
e034841e
CM
22857 * scripts/firstversions.awk: Fix bug in version range handling.
22858
540d7568
CM
22859 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
22860
3601428f
CM
22861 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
22862
463de862
CM
22863 * include/sys/epoll.h: New file.
22864 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
22865 libc_hidden_def.
22866
73139a76
UD
228672012-01-28 Ulrich Drepper <drepper@gmail.com>
22868
96bc5b45
UD
22869 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
22870 Avoid unnecessary __WORDSIZE == 64 test.
22871 (fmaxf): Use VEX format if possible.
22872 (fmax): Likewise.
22873 (fminf): Likewise.
22874 (fmin): Likewise.
22875
56f6f6a2
UD
22876 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
22877 * math/math_private.h: Remove libc_fegetround* and
22878 libc_fesetround*.
22879 * sysdeps/i386/configure.in: Check for -msse2avx.
22880 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
22881 also if SSE2AVX is defined.
22882 Remove libc_fegetround* and libc_fesetround*.
22883 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
22884 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
22885 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
22886 of HAS_YMM_USABLE.
22887 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22888 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22889 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22890 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22891 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22892
73139a76
UD
22893 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
22894
d73f93a4
AZ
228952012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22896
22897 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
22898 size is not set.
22899 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22900
6ee65ed6
UD
229012012-01-27 Ulrich Drepper <drepper@gmail.com>
22902
22903 [BZ #13618]
22904 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
22905 relocation.
22906 * Makeconfig (libm): Define.
22907 * elf/Makefile: Add rules to build and run tst-relsort1.
22908 * elf/tst-relsort1.c: New file.
22909 * elf/tst-relsort1mod1.c: New file.
22910 * elf/tst-relsort1mod2.c: New file.
22911
8db21882
JM
229122012-01-27 Joseph Myers <joseph@codesourcery.com>
22913
22914 * math/s_ldexp.c: Remove __STDC__ conditionals.
22915 * math/s_ldexpf.c: Likewise.
22916 * math/s_ldexpl.c: Likewise.
22917 * math/s_nextafter.c: Likewise.
22918 * math/s_nexttowardf.c: Likewise.
22919 * math/s_significand.c: Likewise.
22920 * math/s_significandf.c: Likewise.
22921 * math/s_significandl.c: Likewise.
22922 * math/w_jnl.c: Likewise.
22923 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22924 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22925 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22926 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22927 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22928 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22929 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
22930 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22931 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22932 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22933 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22934 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22935 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22936 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22937 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22938 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22939 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22940 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22941 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22942 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22943 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22944 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22945 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22946 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22947 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22948 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22949 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22950 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22951 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22952 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22953 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22954 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22955 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22956 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22957 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22958 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22959 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22960 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22961 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22962 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22963 * sysdeps/ieee754/k_standard.c: Likewise.
22964 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22965 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22966 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22967 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22968 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22969 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22970 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22971 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22972 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22973 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22974 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22975 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22976 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22977 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22978 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22979 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22980 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22981 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22982 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22983 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22984 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22985 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22986 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22987 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22988 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22989 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22990 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22991 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22992 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22993 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22994 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22995 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
22996 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22997 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22998 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22999 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23000 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
23001 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23002 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23003 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
23004 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
23005 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23006 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23007 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
23008 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23009 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23010 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23011 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23012 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23013 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23014 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
23015 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23016 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23017 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23018 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23019 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23020 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
23021 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23022 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23023 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23024 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23025 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23026 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23027 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23028 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23029 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23030 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23031 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23032 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23033 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23034 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23035 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23036 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23037 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23038 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23039 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23040 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23041 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23042 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23043 * sysdeps/ieee754/s_matherr.c: Likewise.
23044 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23045 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23046 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23047 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23048
965a54a4
JM
230492012-01-26 Joseph Myers <joseph@codesourcery.com>
23050
23051 * crypt/md5.h: Remove __STDC__ conditionals.
23052 * libio/libioP.h: Likewise.
23053 * locale/programs/config.h: Likewise.
23054 * sysdeps/generic/sysdep.h: Likewise.
23055 * sysdeps/i386/asm-syntax.h: Likewise.
23056 * sysdeps/s390/asm-syntax.h: Likewise.
23057 * sysdeps/unix/sysdep.h: Likewise.
23058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23060
7071ad79
JM
230612012-01-26 Joseph Myers <joseph@codesourcery.com>
23062
23063 * libio/libio.h: Remove __STDC__ conditionals.
23064 * malloc/obstack.h: Likewise.
23065 * math/complex.h: Likewise.
23066 * math/math.h: Likewise.
23067 * sysdeps/generic/_G_config.h: Likewise.
23068 * sysdeps/gnu/_G_config.h: Likewise.
23069 * sysdeps/mach/hurd/_G_config.h: Likewise.
23070 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23071 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23072 * sysdeps/sparc/bits/mathdef.h: Likewise.
23073
afc5ed09
UD
230742012-01-26 Ulrich Drepper <drepper@gmail.com>
23075
23076 [BZ #13583]
23077 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 23078 Clean up HAS_* macros.
afc5ed09 23079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
23080 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
23081 possible.
23082 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
23083 HAS_AVX.
23084 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23085 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23086 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23087 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23088 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 23089
bdb6de1d
JM
230902012-01-25 Joseph Myers <joseph@codesourcery.com>
23091
23092 * elf/tst-unique3.cc (gets): Remove declaration.
23093 * elf/tst-unique3lib.cc (gets): Likewise.
23094 * elf/tst-unique3lib2.cc (gets): Likewise.
23095 * elf/tst-unique4.cc (gets): Likewise.
23096
b15549e6
UD
230972012-01-24 Ulrich Drepper <drepper@gmail.com>
23098
23099 * include/stdio.h: Add C++ protection. Add gets declarations and
23100 definitions.
23101 * debug/tst-chk1.c: Don't declare gets here.
23102 * stdio-common/tst-gets.c: Likewise.
23103
a037381f
JM
231042012-01-24 Joseph Myers <joseph@codesourcery.com>
23105
23106 * posix/glob: Remove directory.
23107
f1d4aa75
JM
231082012-01-24 Joseph Myers <joseph@codesourcery.com>
23109
23110 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
23111
81c0c964
PT
231122012-01-22 Pino Toscano <toscano.pino@tiscali.it>
23113
23114 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
23115 of the non-standard EPFNOSUPPORT.
23116
0ea698ae
ST
231172011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
23118
23119 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
23120 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
23121 ANYWHERE set to 1 only on KERN_NO_SPACE error.
23122
d220b117
UD
231232012-01-21 Ulrich Drepper <drepper@gmail.com>
23124
23125 * wcsmbs/uchar.h: Test __STDC_VERSION__.
23126
3e1aa84e
UD
231272012-01-20 Ulrich Drepper <drepper@gmail.com>
23128
23129 * nscd/aicache.c (addhstaiX): Do not cache negative results of
23130 transient errors.
23131 * nscd/grpcache.c (cache_addgr): Likewise.
23132 * nscd/hstcache.c (cache_addhst): Likewise.
23133 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23134 * nscd/pwdcache.c (cache_addpw): Likewise.
23135 * nscd/servicescache.c (cache_addserv): Likewise.
23136
400aa020
UD
231372012-01-16 Ulrich Drepper <drepper@gmail.com>
23138
d77e7869
UD
23139 * malloc/malloc.c: Various cleanups.
23140 * malloc/hooks.c: Likewise.
23141
400aa020
UD
23142 * stdlib/Makefile (tests): Add bug-fmtmsg1.
23143 * stdlib/bug-fmtmsg1.c: New file.
23144
23145 * stdlib/fmtmsg.c (init): Add missing unlock.
23146 Patch by Peng Haitao <penght@cn.fujitsu.com>.
23147
e0a309cf
MP
231482012-01-12 Marek Polacek <polacek@redhat.com>
23149
23150 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
23151 and _GNU_SOURCE.
23152
929d11c7
WS
231532012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23154
23155 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
23156 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
23157 macro to ensure uniqueness of label name.
23158 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23159 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23160
41d0e869
UD
231612012-01-11 Ulrich Drepper <drepper@gmail.com>
23162
0cc5ed3b
UD
23163 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
23164
41d0e869
UD
23165 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
23166 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23167 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23168 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
23169
a47a831a
UD
231702012-01-10 Ulrich Drepper <drepper@gmail.com>
23171
daa891c0
UD
23172 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
23173
23174 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
23175 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23176 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23177
e58ef0f2
UD
23178 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
23179
a47a831a 23180 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
23181 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23182 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 23183 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
23184
23185 * math/bits/math-finite.h: Add ldexp support.
23186
a0bfc9c7
MP
231872012-01-10 Marek Polacek <polacek@redhat.com>
23188
23189 * locale/programs/localedef.h (show_archive_content): Add noreturn
23190 attribute.
23191
d6e97a1d
UD
231922012-01-09 Ulrich Drepper <drepper@gmail.com>
23193
23194 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
23195
d5835c26
UD
231962012-01-08 Ulrich Drepper <drepper@gmail.com>
23197
e5f484c6
UD
23198 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
23199
d5835c26
UD
23200 * io/Makefile (headers): Add bits/poll2.h.
23201
d1f741e9
WS
232022011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
23203
23204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
23205 typo #include statement.
23206
ec09c1c4
UD
232072012-01-08 Ulrich Drepper <drepper@gmail.com>
23208
23209 * include/sys/cdefs.h: Define __attribute_alloc_size.
23210 * catgets/gencat.c: Add alloc_size attribute and apply consistently
23211 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
23212 * elf/pldd.c: Likewise.
23213 * iconv/iconv_charmap.c: Likewise.
23214 * iconv/iconvconfig.c: Likewise.
23215 * iconv/strtab.c: Likewise.
23216 * locale/programs/locale.c: Likewise.
23217 * locale/programs/localedef.h: Likewise.
23218 * locale/programs/simple-hash.c: Likewise.
23219 * nscd/nscd.h: Likewise.
23220 * nss/makedb.c: Likewise.
23221 * sysdeps/generic/ldconfig.h: Likewise.
23222 * locale/programs/localedef.c: Remove xmalloc prototype.
23223 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
23224
20b38e03
PP
232252012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23226
23227 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
23228 appropriate.
23229
a0da5fe1
UD
232302012-01-08 Ulrich Drepper <drepper@gmail.com>
23231
1d5a644a 23232 * math/Makefile (tests): Add tst-CMPLX.
669704fd 23233 * math/tst-CMPLX.c: New file.
1d5a644a 23234
8784a6db
UD
23235 * math/complex.h (CMPLXL): Fix typo.
23236
d9a216c0
UD
23237 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
23238 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
23239 GLIBC_2.16.
23240 * debug/tst-chk1.c: Add poll and ppoll tests.
23241 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
23242 * include/sys/poll.h: Add hidden proto for ppoll.
23243 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
23244 * sysdeps/mach/hurd/ppoll.c: Likewise.
23245 * io/ppoll.c: Likewise.
23246 * debug/poll_chk.c: New file.
23247 * debug/ppoll_chk.c: New file.
23248 * include/bits/poll2.h: New file.
23249 * io/bits/poll2.h: New file.
23250
ac097f5c
UD
23251 [BZ #1350]
23252 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
23253
2119dcfa
UD
23254 * configure.in: static is always set to yes. Remove.
23255 * config.make.in: Don't set build-static.
23256 * Makeconfig: Remove use of build-static.
23257 * dlfcn/Makefile: Likewise.
23258 * elf/Makefile: Likewise.
23259 * math/Makefile: Likewise.
23260 * misc/Makefile: Likewise.
23261 * nptl/Makefile: Likewise.
23262 * sysdeps/mach/hurd/Makefile: Likewise.
23263
121766a9
UD
23264 * configure.in: PWD_P is not used anymore.
23265 * config.make.in: Remove PWD_P entry.
23266
51a1d39c 23267 * configure.in: Remove last remnants of RANLIB.
8720d066 23268 No need to check for signed size_t anymore.
215f4bdc
UD
23269 Don't set libc_commonpagesize and libc_relro_required here for Alpha
23270 and IA-64.
3857022a 23271 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
23272 * aclocal.m4: Likewise.
23273
d3ed7225
UD
23274 * wcsmbs/mbrtoc16.c: Implement using towc function.
23275 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
23276 * wcsmbs/wcsmbsload.c: Likewise.
23277 * iconv/gconv_simple.c: Likewise.
23278 * iconv/gconv_int.h: Likewise.
23279 * iconv/gconv_builtin.h: Likewise.
23280 * iconv/iconv_prog.c: Remove CHAR16 handling.
23281
23282 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
23283
23284 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
23285
a0da5fe1
UD
23286 * configure.in: Remove --with-elf and --enable-bounded options.
23287 Dont set base_machine for ia64. More non-ELF conditions removed.
23288 Remove testing and setting of leading underscore information.
23289 * config.make.in (build-bounded): Set to no.
23290 * config.h.in: Remove NO_UNDERSCORES entry.
23291 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
23292 them.
23293 * csu/start.c: Remove !NO_UNDERSCORE code.
23294 * locale/localeinfo.h: Likewise.
23295 * sysdeps/generic/machine-gmon.h: Likewise.
23296 * sysdeps/generic/sysdep.h: Likewise.
23297 * sysdeps/i386/sysdep.h: Likewise.
23298 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23299 * sysdeps/mach/sysdep.h: Likewise.
23300 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23301 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23302 * sysdeps/sh/sysdep.h: Likewise.
23303 * sysdeps/sparc/sparc32/alloca.S: Likewise.
23304 * sysdeps/unix/i386/sysdep.S: Likewise.
23305 * sysdeps/unix/sparc/start.c: Likewise.
23306 * sysdeps/unix/sparc/sysdep.S: Likewise.
23307 * sysdeps/unix/sparc/sysdep.h: Likewise.
23308 * sysdeps/unix/start.c: Likewise.
23309 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23310 * sysdeps/x86_64/sysdep.h: Likewise.
23311
df78418a
UD
233122012-01-07 Ulrich Drepper <drepper@gmail.com>
23313
a784e502
UD
23314 [BZ #13553]
23315 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
23316 for non-gcc.
23317 * argp/argp-fmtstream.h: Use const instead __const.
23318 * argp/argp.h: Likewise.
23319 * assert/assert.h: Likewise.
23320 * bits/fenv.h: Likewise.
23321 * bits/sched.h: Likewise.
23322 * bits/sigset.h: Likewise.
23323 * bits/sigthread.h: Likewise.
23324 * catgets/nl_types.h: Likewise.
23325 * conform/data/pthread.h-data: Likewise.
23326 * crypt/crypt-private.h: Likewise.
23327 * crypt/crypt.h: Likewise.
23328 * crypt/crypt_util.c: Likewise.
23329 * ctype/ctype.h: Likewise.
23330 * debug/execinfo.h: Likewise.
23331 * debug/mbsnrtowcs_chk.c: Likewise.
23332 * debug/mbsrtowcs_chk.c: Likewise.
23333 * debug/wcsnrtombs_chk.c: Likewise.
23334 * debug/wcsrtombs_chk.c: Likewise.
23335 * debug/wcstombs_chk.c: Likewise.
23336 * dirent/dirent.h: Likewise.
23337 * dlfcn/dlfcn.h: Likewise.
23338 * elf/neededtest4.c: Likewise.
23339 * grp/grp.h: Likewise.
23340 * gshadow/gshadow.h: Likewise.
23341 * iconv/gconv.h: Likewise.
23342 * iconv/gconv_int.h: Likewise.
23343 * iconv/gconv_simple.c: Likewise.
23344 * iconv/iconv.h: Likewise.
23345 * iconv/loop.c: Likewise.
23346 * iconv/skeleton.c: Likewise.
23347 * include/aio.h: Likewise.
23348 * include/aliases.h: Likewise.
23349 * include/argz.h: Likewise.
23350 * include/arpa/inet.h: Likewise.
23351 * include/assert.h: Likewise.
23352 * include/dirent.h: Likewise.
23353 * include/dlfcn.h: Likewise.
23354 * include/execinfo.h: Likewise.
23355 * include/fcntl.h: Likewise.
23356 * include/fenv.h: Likewise.
23357 * include/glob.h: Likewise.
23358 * include/grp.h: Likewise.
23359 * include/libintl.h: Likewise.
23360 * include/mntent.h: Likewise.
23361 * include/netdb.h: Likewise.
23362 * include/pwd.h: Likewise.
23363 * include/rpc/netdb.h: Likewise.
23364 * include/sched.h: Likewise.
23365 * include/search.h: Likewise.
23366 * include/shadow.h: Likewise.
23367 * include/signal.h: Likewise.
23368 * include/stdio.h: Likewise.
23369 * include/stdlib.h: Likewise.
23370 * include/string.h: Likewise.
23371 * include/sys/socket.h: Likewise.
23372 * include/sys/stat.h: Likewise.
23373 * include/sys/statfs.h: Likewise.
23374 * include/sys/statvfs.h: Likewise.
23375 * include/sys/syslog.h: Likewise.
23376 * include/sys/time.h: Likewise.
23377 * include/sys/uio.h: Likewise.
23378 * include/time.h: Likewise.
23379 * include/unistd.h: Likewise.
23380 * include/utmp.h: Likewise.
23381 * include/wchar.h: Likewise.
23382 * include/wctype.h: Likewise.
23383 * inet/aliases.h: Likewise.
23384 * inet/arpa/inet.h: Likewise.
23385 * inet/netinet/ether.h: Likewise.
23386 * inet/netinet/in.h: Likewise.
23387 * intl/libintl.h: Likewise.
23388 * io/bits/fcntl2.h: Likewise.
23389 * io/fcntl.h: Likewise.
23390 * io/ftw.h: Likewise.
23391 * io/sys/poll.h: Likewise.
23392 * io/sys/stat.h: Likewise.
23393 * io/sys/statfs.h: Likewise.
23394 * io/sys/statvfs.h: Likewise.
23395 * io/utime.h: Likewise.
23396 * libio/bits/stdio.h: Likewise.
23397 * libio/bits/stdio2.h: Likewise.
23398 * libio/libio.h: Likewise.
23399 * libio/libioP.h: Likewise.
23400 * libio/stdio.h: Likewise.
23401 * locale/lc-ctype.c: Likewise.
23402 * locale/locale.h: Likewise.
23403 * login/utmp.h: Likewise.
23404 * malloc/arena.c: Likewise.
23405 * malloc/malloc.c: Likewise.
23406 * malloc/malloc.h: Likewise.
23407 * malloc/mcheck.c: Likewise.
23408 * malloc/mtrace.c: Likewise.
23409 * math/bits/mathcalls.h: Likewise.
23410 * math/fenv.h: Likewise.
23411 * math/math_private.h: Likewise.
23412 * misc/bits/error.h: Likewise.
23413 * misc/bits/syslog.h: Likewise.
23414 * misc/err.h: Likewise.
23415 * misc/error.h: Likewise.
23416 * misc/fstab.h: Likewise.
23417 * misc/mntent.h: Likewise.
23418 * misc/regexp.h: Likewise.
23419 * misc/search.h: Likewise.
23420 * misc/sgtty.h: Likewise.
23421 * misc/sys/mman.h: Likewise.
23422 * misc/sys/syslog.h: Likewise.
23423 * misc/sys/uio.h: Likewise.
23424 * misc/sys/xattr.h: Likewise.
23425 * misc/ttyent.h: Likewise.
23426 * nis/rpcsvc/ypclnt.h: Likewise.
23427 * nss/nss.h: Likewise.
23428 * posix/bits/unistd.h: Likewise.
23429 * posix/fnmatch.h: Likewise.
23430 * posix/glob.h: Likewise.
23431 * posix/sched.h: Likewise.
23432 * posix/spawn.h: Likewise.
23433 * posix/sys/wait.h: Likewise.
23434 * posix/unistd.h: Likewise.
23435 * posix/wordexp.h: Likewise.
23436 * pwd/pwd.h: Likewise.
23437 * resolv/netdb.h: Likewise.
23438 * resource/sys/resource.h: Likewise.
23439 * rt/aio.h: Likewise.
23440 * rt/bits/mqueue2.h: Likewise.
23441 * rt/mqueue.h: Likewise.
23442 * shadow/shadow.h: Likewise.
23443 * signal/signal.h: Likewise.
23444 * socket/send.c: Likewise.
23445 * socket/sendto.c: Likewise.
23446 * socket/sys/socket.h: Likewise.
23447 * stdio-common/printf.h: Likewise.
23448 * stdlib/bits/stdlib.h: Likewise.
23449 * stdlib/fmtmsg.h: Likewise.
23450 * stdlib/monetary.h: Likewise.
23451 * stdlib/stdlib.h: Likewise.
23452 * stdlib/ucontext.h: Likewise.
23453 * streams/stropts.h: Likewise.
23454 * string/argz.h: Likewise.
23455 * string/bits/string2.h: Likewise.
23456 * string/string.h: Likewise.
23457 * string/strings.h: Likewise.
23458 * sunrpc/rpc/auth.h: Likewise.
23459 * sunrpc/rpc/auth_des.h: Likewise.
23460 * sunrpc/rpc/clnt.h: Likewise.
23461 * sunrpc/rpc/netdb.h: Likewise.
23462 * sunrpc/rpc/pmap_clnt.h: Likewise.
23463 * sunrpc/rpc/xdr.h: Likewise.
23464 * sysdeps/generic/inttypes.h: Likewise.
23465 * sysdeps/generic/net/if.h: Likewise.
23466 * sysdeps/generic/sys/swap.h: Likewise.
23467 * sysdeps/gnu/net/if.h: Likewise.
23468 * sysdeps/gnu/utmpx.h: Likewise.
23469 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
23470 * sysdeps/i386/i486/bits/string.h: Likewise.
23471 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
23472 * sysdeps/s390/bits/string.h: Likewise.
23473 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
23474 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
23475 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
23476 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
23477 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
23478 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
23479 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
23480 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
23481 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
23482 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
23483 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
23484 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23485 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
23486 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23487 * sysdeps/unix/sysv/linux/readv.c: Likewise.
23488 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
23489 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
23490 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23491 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
23492 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
23493 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23494 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
23495 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
23496 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
23497 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
23498 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
23499 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
23500 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23501 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
23502 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
23503 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
23504 * sysvipc/sys/ipc.h: Likewise.
23505 * sysvipc/sys/msg.h: Likewise.
23506 * sysvipc/sys/sem.h: Likewise.
23507 * sysvipc/sys/shm.h: Likewise.
23508 * termios/termios.h: Likewise.
23509 * time/sys/time.h: Likewise.
23510 * time/time.h: Likewise.
23511 * wcsmbs/bits/wchar2.h: Likewise.
23512 * wcsmbs/uchar.h: Likewise.
23513 * wcsmbs/wchar.h: Likewise.
23514 * wctype/wctype.h: Likewise.
23515
0269750c
UD
23516 [BZ #13551]
23517 * Makeconfig: Remove all but ELF support including AIX support.
23518 * Makerules: Likewise.
23519 * config.h.in: Likewise.
23520 * config.make.in: Likewise.
23521 * configure: Likewise.
23522 * configure.in: Likewise.
23523 * csu/Makefile: Likewise.
23524 * csu/version.c: Likewise.
23525 * debug/Makefile: Likewise.
23526 * dlfcn/Makefile: Likewise.
23527 * elf/Makefile: Likewise.
23528 * extra-lib.mk: Likewise.
23529 * iconv/Makefile: Likewise.
23530 * include/libc-symbols.h: Likewise.
23531 * include/shlib-compat.h: Likewise.
23532 * resolv/Makefile: Likewise.
23533 * resolv/res_libc.c: Likewise.
23534 * rt/Makefile: Likewise.
23535 * sysdeps/i386/asm-syntax.h: Likewise.
23536 * sysdeps/i386/sysdep.h: Likewise.
23537 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23538 * sysdeps/mach/sysdep.h: Likewise.
23539 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
23540 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
23541 * sysdeps/s390/asm-syntax.h: Likewise.
23542 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23543 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23544 * sysdeps/sh/sysdep.h: Likewise.
23545 * sysdeps/unix/sparc/sysdep.h: Likewise.
23546 * sysdeps/wordsize-32/divdi3.c: Likewise.
23547 * sysdeps/x86_64/sysdep.h: Likewise.
23548
00bbd29b
UD
23549 * argp/Versions: Remove _argp_unlock_xxx.
23550
23551 [BZ #13559]
23552 * abilist/ld.abilist: Update. Adjust for removal of tls option.
23553 * abilist/libBrokenLocale.abilist: Likewise.
23554 * abilist/libanl.abilist: Likewise.
23555 * abilist/libc.abilist: Likewise.
23556 * abilist/libcrypt.abilist: Likewise.
23557 * abilist/libdl.abilist: Likewise.
23558 * abilist/libm.abilist: Likewise.
23559 * abilist/libnsl.abilist: Likewise.
23560 * abilist/libpthread.abilist: Likewise.
23561 * abilist/libresolv.abilist: Likewise.
23562 * abilist/librt.abilist: Likewise.
23563 * abilist/libthread_db.abilist: Likewise.
23564 * abilist/libutil.abilist: Likewise.
23565 * abilist/libnss_db.abilist: New file.
23566
23567 * scripts/abilist.awk: Add support for indirect functions.
23568
a2693a0e
UD
23569 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
23570
3f05895f
UD
23571 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
23572
ecb6fb48
UD
23573 * shlib-versions: Remove entries for ports architectures.
23574
664f8cb9
UD
23575 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
23576 files in ports.
23577 * elf/stackguard-macros.h: Remove support for IA-64.
23578 * elf/tst-auditmod1.c: Likewise.
23579 * sysdeps/generic/ldsodefs.h: Likewise.
23580
7ae81d88
UD
23581 * sysdeps/unix/sysv/linux/configure.in: Ports should define
23582 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
23583 configure files.
23584
bdeba135
UD
23585 [BZ #13552]
23586 * configure.in: Remove --enable-omitfp support.
23587 * FAQ.in: Adjust.
23588 * config.make.in: Likewise.
23589 * Makeconfig: Likewise.
23590 * manual/install.texi: Likewise.
23591
d75a0a62
UD
23592 In case anyone cares, the IA-64 architecture could move to ports.
23593 * sysdeps/ia64/*: Removed.
23594 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 23595 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 23596
dcc9756b
UD
23597 [BZ #13555]
23598 * configure.in: Remove entries for unsupported architectures.
23599
d3761ebc 23600 [BZ #13533]
9954432e
UD
23601 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
23602 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
23603 routines.
23604 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
23605 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
23606 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
23607 fall back to using wcrtomb.
23608 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
23609 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
23610 renaming.
23611 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
23612 * wcsmbs/tst-c16c32-1.c: New file.
23613
23614 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
23615 local variable.
23616
c3a87236
UD
23617 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
23618
28926a1b
UD
23619 * elf/tst-unique3.cc: Add explicit declaration of gets.
23620 * elf/tst-unique3lib.cc: Likewise.
23621 * elf/tst-unique3lib2.cc: Likewise.
23622 * elf/tst-unique4.cc: Likewise.
23623
df78418a
UD
23624 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
23625
8ecd6b2a
JM
236262012-01-06 Joseph Myers <joseph@codesourcery.com>
23627
23628 [BZ #13566]
23629 * assert/assert.h (static_assert): Don't define for C++.
23630 * libio/stdio.h (gets): Do declare for C++ <= C++11.
23631 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
23632
9f115170
UD
236332012-01-03 Ulrich Drepper <drepper@gmail.com>
23634
5e0d0300
UD
23635 * iconv/loop.c (single loop): Fix assertion in storing of
23636 remaining bytes.
23637
9f115170
UD
23638 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
23639
81fb02b0
UD
236402012-01-01 Ulrich Drepper <drepper@gmail.com>
23641
23642 * posix/getconf.c: Update copyright year.
23643 * nss/getent.c: Likewise.
a316c1f6 23644 * nss/makedb.c: Likewise.
81fb02b0
UD
23645 * iconv/iconvconfig.c: Likewise.
23646 * iconv/iconv_prog.c: Likewise.
23647 * elf/ldconfig.c: Likewise.
a316c1f6
UD
23648 * elf/pldd.c: Likewise.
23649 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
23650 * catgets/gencat.c: Likewise.
23651 * csu/version.c: Likewise.
23652 * elf/ldd.bash.in: Likewise.
23653 * elf/sprof.c (print_version): Likewise.
23654 * locale/programs/locale.c: Likewise.
23655 * locale/programs/localedef.c: Likewise.
a316c1f6 23656 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
23657 * nscd/nscd.c (print_version): Likewise.
23658 * debug/xtrace.sh: Likewise.
23659 * malloc/memusage.sh: Likewise.
23660 * malloc/mtrace.pl: Likewise.
23661 * debug/catchsegv.sh: Likewise.
23662
2ba92745
JJ
236632011-12-30 Jakub Jelinek <jakub@redhat.com>
23664
23665 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
23666 pure attribute.
23667
dadebdae
UD
236682011-12-24 Ulrich Drepper <drepper@gmail.com>
23669
d3761ebc 23670 [BZ #13533]
db6af3eb
UD
23671 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
23672 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
23673 transformations.
23674 * iconv/gconv_int.h: Likewise.
23675 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
23676 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
23677 from libc for GLIBC_2.16.
23678 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
23679 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
23680 * wcsmbs/uchar.h: Really define mbstate_t.
23681 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
23682 * wcsmbs/c16rtomb.c: New file.
23683 * wcsmbs/mbrtoc16.c: New file.
23684 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
23685 for C/POSIX locale.
23686 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
23687 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
23688
dadebdae
UD
23689 * wcsmbs/wchar.h: Add missing __restrict.
23690
67371b56
UD
236912011-12-23 Ulrich Drepper <drepper@gmail.com>
23692
74033a25
UD
23693 [BZ #13532]
23694 * time/Makefile (routines): Add timespec_get.
23695 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
23696 * time/time.h: Define TIME_UTC and declare timespec_get. Define
23697 timespec for ISO C11.
23698 * time/timespec_get.c: New file.
23699 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
23700 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
23701
380d7e87
UD
23702 [BZ #13531]
23703 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
23704 * stdlib/stdlib.h: Declare aligned_alloc.
23705 * Versions.def: Add GLIBC_2.16 for libc.
23706 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
23707
4e9e7a35
UD
23708 [BZ 13527]
23709 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
23710 ISO C11.
23711
380d7e87 23712 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
23713 code.
23714
03a71829
UD
23715 [BZ #13528]
23716 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
23717
839e283e
UD
23718 [BZ #13529]
23719 * assert/assert.h (static_assert): Define.
23720
ce5294e2 23721 * version.h: Update for 2.16 development version.
90fa7312 23722
8d44e150 23723 [BZ #13526]
d7809905
UD
23724 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
23725 _ISOC11_SOURCE.
23726
c0da14cd
UD
23727 * version.h (RELEASE): Bump for 2.15 release.
23728 * include/features.h (__GLIBC_MINOR__): Bump to 15.
23729
530a3249
MP
23730 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
23731 Patch by Marek Polacek <mpolacek@redhat.com>.
23732
67371b56
UD
23733 * bits/byteswap.h: Protect long long constants with __extension__.
23734 * sysdeps/i386/bits/byteswap.h: Likewise.
23735 * sysdeps/ia64/bits/byteswap.h: Likewise.
23736 * sysdeps/s390/bits/byteswap.h: Likewise.
23737 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23738
15db4de1
LD
237392011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23740
23741 [BZ #13540]
bbe315ea
LD
23742 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
23743 destination buffer.
15db4de1
LD
23744 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
23745
2b2596b1
MP
237462011-12-23 Marek Polacek <polacek@redhat.com>
23747
23748 * elf/dl-addr.c (determine_info): Add inline keyword.
23749 * elf/tst-auditmod4b.c (check_avx): Likewise.
23750 * elf/tst-auditmod6b.c (check_avx): Likewise.
23751 * elf/tst-auditmod6c.c (check_avx): Likewise.
23752 * elf/tst-auditmod7b.c (check_avx): Likewise.
23753
70c6c246
UD
237542011-12-23 Ulrich Drepper <drepper@gmail.com>
23755
23756 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
23757 !__SSE_MATH__.
23758
c044cf14
LD
237592011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23760
15db4de1 23761 [BZ #13540]
c044cf14
LD
23762 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
23763 processing for last bytes.
23764
6b13d9d9
BH
237652011-08-06 Bruno Haible <bruno@clisp.org>
23766
d455f537
BH
23767 [BZ #13061]
23768 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
23769 U+0385, not to U+1FEE.
23770
6b13d9d9
BH
23771 [BZ #13062]
23772 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
23773 entry for U+00A5 U+0301.
23774
db910efd
UD
237752011-12-22 Ulrich Drepper <drepper@gmail.com>
23776
27deeafc
UD
23777 [BZ #13166]
23778 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
23779 buffer for the output is too small.
23780
aed9d171
UD
23781 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
23782 optimization.
23783
db910efd
UD
23784 [BZ #13185]
23785 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
23786 SSE flags if possible.
23787
2bd779ae
LD
237882011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23789
e7f9dac3 23790 [BZ #13540]
2bd779ae
LD
23791 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
23792 processing for last bytes.
23793
154bfc16
JM
237942011-12-22 Joseph Myers <joseph@codesourcery.com>
23795
23796 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
23797 (syscall-list-default-options, syscall-list-default-condition)
23798 (syscall-list-includes): Define.
23799 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
23800 list of ABIs and options and #if conditions for each ABI. Do not
23801 handle common syscalls between ABIs specially.
23802 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
23803 Remove.
23804 (syscall-list-variants, syscall-list-32bit-options)
23805 (syscall-list-32bit-condition, syscall-list-64bit-options)
23806 (syscall-list-64bit-condition): Define.
23807 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
23808 (syscall-list-variants, syscall-list-32bit-options)
23809 (syscall-list-32bit-condition, syscall-list-64bit-options)
23810 (syscall-list-64bit-condition): Define.
23811 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
23812 Remove.
23813 (syscall-list-variants, syscall-list-32bit-options)
23814 (syscall-list-32bit-condition, syscall-list-64bit-options)
23815 (syscall-list-64bit-condition): Define.
23816 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
23817 Remove.
23818 (syscall-list-variants, syscall-list-32bit-options)
23819 (syscall-list-32bit-condition, syscall-list-64bit-options)
23820 (syscall-list-64bit-condition): Define.
23821
21eaf3a5
UD
238222011-12-22 Ulrich Drepper <drepper@gmail.com>
23823
16c6f992
UD
23824 * locale/iso-639.def: Add brx entry.
23825
41043168
UD
23826 [BZ #13328]
23827 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
23828 Proposed by Mariusz_Cukr <marcukr@op.pl>.
23829
21eaf3a5
UD
23830 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
23831 __feraiseexcept_renamed.
23832
e3a851a2
UD
238332011-12-21 Ulrich Drepper <drepper@gmail.com>
23834
4920765e
UD
23835 [BZ #13538]
23836 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
23837 EPOLLET with unsigned values.
23838 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23839 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23840
e3a851a2
UD
23841 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
23842 to large cancellation.
23843 * math/s_cacoshf.c: Likewise.
23844 * math/s_cacoshl.c: Likewise.
23845
b27e24b8
RK
238462011-11-18 Richard B. Kreckel <kreckel@ginac.de>
23847
23848 [BZ #13305]
aebefeee 23849 [BZ #12786]
b27e24b8
RK
23850 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
23851 * math/s_cacoshf.c: Likewise.
23852 * math/s_cacoshl.c: Likewise.
23853
ee190f67
UD
238542011-12-21 Ulrich Drepper <drepper@gmail.com>
23855
23856 [BZ #13439]
23857 * iconv/gconv.h: Define __GCONV_SWAP.
23858 * iconvdata/unicode.c: The swap bit must be stored in __flags.
23859 * iconvdata/utf-16.c: Likewise.
23860 * iconvdata/utf-32.c: Likewise.
23861
707f25df
AS
238622011-12-21 Andreas Schwab <schwab@linux-m68k.org>
23863
23864 [BZ #13524]
23865 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
23866 numerator after shifting it by one limb.
23867
d2daaa1e
RÁE
238682011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
23869
23870 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
23871 under [__USE_EXTERN_INLINES].
23872
a4647e72
UD
238732011-12-17 Ulrich Drepper <drepper@gmail.com>
23874
23875 [BZ #13446]
23876 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
23877
f0b264f1
AZ
238782011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23879
23880 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
23881 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
23882 optimized code.
23883 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
23884 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
23885 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
23886 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
23887 for strncasecmp/strncasecmp_l compilation.
23888 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
23889 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
23890
8ef4f244
MP
238912011-12-08 Marek Polacek <mpolacek@redhat.com>
23892
23893 [BZ #13484]
23894 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
23895 of __asm__.
23896
97ac2654
UD
238972011-12-17 Ulrich Drepper <drepper@gmail.com>
23898
23899 [BZ #13506]
23900 * time/tzfile.c (__tzfile_read): Check values from file header.
23901
91d2a845
WS
239022011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
23903
23904 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
23905 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
23906 * powerpc/powerpc32/dl-start.S: Likewise.
23907 * powerpc/powerpc32/elf/start.S: Likewise.
23908 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23909 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
23910 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
23911 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
23912 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23913 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
23914 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
23915 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23916 * powerpc/powerpc32/fpu/s_round.S: Likewise.
23917 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23918 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23919 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23920 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
23921 * powerpc/powerpc32/memset.S: Likewise.
23922 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23923 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23924 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23925 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23926 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23927 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23928 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23929 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23930 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
23931 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
23932 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
23933 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23934 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23935
a1267ba1
AZ
239362011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23937
23938 * math/libm-test.inc: Added more nearbyint tests.
23939 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
23940 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
23941 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
23942 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
23943
ad8ac1bd
RL
239442011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
23945
23946 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
23947 FD_CLOEXEC.
23948
1d3e4b61
UD
239492011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23950
23951 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
23952 Add wcscpy-ssse3 wcscpy-c.
23953 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
23954 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
23955 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
23956 * sysdeps/x86_64/wcschr.S: New file.
23957 * sysdeps/x86_64/wcsrchr.S: New file.
23958 * string/test-strcmp.c: Remove checking of wcscmp function for
23959 wrong alignments.
23960 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
23961 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
23962 wcsrchr-sse2 wcsrchr-c.
23963 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
23964 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
23965 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
23966 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
23967 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
23968 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
23969 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
23970 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
23971 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
23972 * wcsmbc/wcschr.c (WCSCHR): New macro.
23973
5b330a2d
UD
239742011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23975
23976 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
23977 * wcsmbs/test-wcsrchr.c: New file.
23978 * string/test-strrchr.c: Add wcsrchr support.
23979 (WIDE): New macro.
23980 * wcsmbs/test-wcscpy.c: New file.
23981 * string/test-strcpy.c: Add wcscpy support.
23982 (WIDE): New macro.
26428b7c 23983
f039c043
UD
239842011-12-10 Ulrich Drepper <drepper@gmail.com>
23985
23986 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
23987 the inner loop.
23988
850fb039
AS
239892011-12-06 Andreas Schwab <schwab@linux-m68k.org>
23990
23991 [BZ #13472]
23992 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
23993
4efbd5cb
UD
239942011-12-04 Ulrich Drepper <drepper@gmail.com>
23995
52ff5dd0 23996 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 23997 Minor optimizations.
52ff5dd0 23998
4efbd5cb
UD
23999 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
24000 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
24001 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24002
8a426e12
UD
240032011-12-03 Ulrich Drepper <drepper@gmail.com>
24004
aff2453d
UD
24005 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
24006 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
24007 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
24008 for gcc to avoid warnings.
24009 * inet/Makefile (tests): Add tst-checks.
24010 * inet/tst-checks.c: New file.
24011
24012 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
24013 warning.
24014
24015 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
24016 __wmemcmp_sse2.
24017
24018 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
24019 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
24020
8a426e12
UD
24021 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
24022
9bea3473
UD
240232011-12-02 Ulrich Drepper <drepper@gmail.com>
24024
3a965496
UD
24025 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
24026 problem.
24027
9bea3473
UD
24028 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
24029
f101631b
UD
240302011-11-29 Joseph Myers <joseph@codesourcery.com>
24031
24032 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
24033 conditional on GCC version.
24034 (__arch_compare_and_exchange_val_8_acq)
24035 (__arch_compare_and_exchange_val_16_acq)
24036 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
24037 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
24038 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
24039
a98275aa
UD
240402011-12-02 Joseph Myers <joseph@codesourcery.com>
24041
24042 * sysdeps/sh/backtrace.c: New file.
24043
d4cc29a2
AS
240442011-12-02 Andreas Schwab <schwab@redhat.com>
24045
24046 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
24047 parenthesis.
24048
6257af2d
AS
240492011-12-01 Andreas Schwab <schwab@redhat.com>
24050
24051 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
24052 falling back to utime.
24053
b5f44c1a
AS
240542011-11-30 Andreas Schwab <schwab@redhat.com>
24055
24056 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
24057 expectations for float.
24058
f3a6cc0a
AS
240592011-11-29 Andreas Schwab <schwab@redhat.com>
24060
24061 * locale/weight.h (findidx): Add parameter len.
24062 * locale/weightwc.h (findidx): Likewise.
24063 * posix/fnmatch_loop.c (FCT): Adjust caller.
24064 * posix/regcomp.c (build_equiv_class): Likewise.
24065 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
24066 * posix/regexec.c (check_node_accept_bytes): Likewise.
24067 * string/strcoll_l.c (STRCOLL): Likewise.
24068 * string/strxfrm_l.c (STRXFRM): Likewise.
24069
9d65ea3a
UD
240702011-11-17 Ulrich Drepper <drepper@gmail.com>
24071
24072 * Makefile.in: Remove CVSOPT handling.
24073 * configure.in: Remove use of AC_REVISION.
24074 * iconvdata/Makefile (distribute): No need to filter out CVS.
24075 * scripts/list-sources.sh: Remove CVS, subversion and monotone
24076 handling.
24077
5583a086
AS
240782011-11-16 Andreas Schwab <schwab@redhat.com>
24079
24080 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
24081 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
24082 [USE_AS_STRNCASECMP_L]: Likewise.
24083 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
24084 NO_TLS_DIRECT_SEG_REFS.
24085 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
24086 Fix argument offsets for non-PIC.
24087 [USE_AS_STRNCASECMP_L]: Likewise.
24088 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
24089 NO_TLS_DIRECT_SEG_REFS.
24090
d62a8200
UD
240912011-11-15 Ulrich Drepper <drepper@gmail.com>
24092
9d65ea3a 24093 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
24094 O_CLOEXEC.
24095 * locale/loadlocale.c (_nl_load_locale): Likewise.
24096
09f93bd3
AS
240972011-11-15 Andreas Schwab <schwab@redhat.com>
24098
446514f9
AS
24099 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
24100 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
24101 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
24102 (SYSCALL_GETTIME): Set errno on error.
24103
09f93bd3
AS
24104 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
24105 count references to noai6ai_cached.
24106
312be3f9
UD
241072011-11-15 Ulrich Drepper <drepper@gmail.com>
24108
24109 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
24110
24111 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
24112 FD_CLOEXEC for /proc/self/maps.
24113
24114 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
24115 FD_CLOEXEC for /proc/meminfo.
24116
24117 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
24118 gai.conf.
24119
24120 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
24121 FD_CLOEXEC for given file.
24122
24123 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
24124
24125 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
24126 FD_CLOEXEC for /etc/hosts.
24127 (_gethtent): Likewise.
24128
24129 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
24130
24131 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
24132 cancellation and set FD_CLOEXEC for /etc/netgroup.
24133
24134 * nss/nss_files/files-key.c (search): Don't allow cancellation when
24135 reading /etc/publickey.
24136
24137 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
24138 allow cancellation when reading /etc/group.
24139
24140 * nss/nss_files/files-alias.c (internal_setent): Don't allow
24141 cancellation.
24142 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
24143
24144 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
24145 when using data file.
24146
24147 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
24148
24149 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
24150 (write_nis_obj): Use "c" and "e" in fopen.
24151
24152 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
24153
24154 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
24155
24156 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
24157
24158 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
24159
24160 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
24161 locale.alias.
24162
24163 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
24164
24165 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
24166
24167 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
24168
24169 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
24170 file parsing and set FD_CLOEXEC.
24171
82af0fa8
UD
241722011-11-14 Ulrich Drepper <drepper@gmail.com>
24173
24174 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
24175
a5fb313c
AS
241762011-11-14 Andreas Schwab <schwab@redhat.com>
24177
24178 * malloc/arena.c (arena_get2): Don't call reused_arena when
24179 _int_new_arena failed.
24180
6abf3465
UD
241812011-11-14 Ulrich Drepper <drepper@gmail.com>
24182
24183 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
24184 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
24185 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
24186 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24187 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24188 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
24189 to compile strcasecmp and strncasecmp.
24190 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
24191 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
24192
24193 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
24194
76e3966e
UD
241952011-11-13 Ulrich Drepper <drepper@gmail.com>
24196
24197 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
24198 locale-defines.sym to gen-as-const-headers.
24199 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
24200 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
24201 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
24202 to compile strcasecmp and strncasecmp.
24203 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
24204 strcasecmp_l and strncasecmp_l.
24205 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
24206 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
24207 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
24208 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
24209 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
24210 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
24211 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
24212 * sysdeps/i386/i686/multiarch/strncase.S: New file.
24213 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
24214 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
24215 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
24216
ab26144e
UD
242172011-11-12 Ulrich Drepper <drepper@gmail.com>
24218
7edb22ef
UD
24219 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
24220 result of SYSDEP_GETTIME_CPU to retval.
24221 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
24222 parameter list to macro. Remove trailing semicolon. Adjust users.
24223
9694fc44
UD
24224 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
24225 variable.
24226
8ad89ef8
UD
24227 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
24228 mantissa words.
24229 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
24230
0c822ef9
UD
24231 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
24232 from unused variable.
24233
874e0564
UD
24234 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
24235 DWARF definitions.
24236 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
24237 for assembling.
24238
3a2edc79
UD
24239 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
24240 over namespaces.
24241
f3c2577f
UD
24242 * sunrpc/rpc_prot.c (rejected): Fix case value.
24243
294ce126
UD
24244 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
24245 unsigned long long int to avoid warnings in shift.
24246
5e2b63c6
UD
24247 * posix/regex_internal.c (re_string_reconstruct): Actually use result
24248 of use of trans.
24249 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
24250 variable tmp.
24251
e7f4b08e
UD
24252 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
24253 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24254 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24255
ab26144e
UD
24256 * nis/nis_table.c (nis_list): Use variable of correct type for
24257 result of __follow_path call.
24258
8a6d5255
AZ
242592011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24260
24261 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
24262 of math functions ceil, trunc, floor, round, and sqrt, when
24263 avaliable on the platform.
24264 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
24265 name clash.
24266 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24267 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24268 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24269
aaddc98c
MP
242702011-10-30 Marek Polacek <mpolacek@redhat.com>
24271
24272 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
24273 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24274
95b7042b
RM
242752011-11-11 Roland McGrath <roland@hack.frob.com>
24276
24277 * include/unistd.h: Fix __readlink return type.
24278 Reported by Chris Metcalf <cmetcalf@tilera.com>.
24279
57769839
UD
242802011-11-11 Ulrich Drepper <drepper@gmail.com>
24281
24282 * stdlib/ucontext.h: Undo last change for makecontext.
24283
edc5984d
AS
242842011-11-11 Andreas Schwab <schwab@redhat.com>
24285
98591e58
AS
24286 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
24287
edc5984d
AS
24288 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
24289 * setjmp/setjmp.h: Mark functions as non-leaf.
24290 * setjmp/bits/setjmp2.h: Likewise.
24291 * stdlib/ucontext.h: Likewise.
24292
77cdc054
AS
242932011-11-10 Andreas Schwab <schwab@redhat.com>
24294
24295 * malloc/arena.c (_int_new_arena): Don't increment narenas.
24296 (reused_arena): Don't check arena limit.
24297 (arena_get2): Atomically check arena limit.
24298
fe72eebd
UD
242992011-11-08 Ulrich Drepper <drepper@gmail.com>
24300
5f078c32
UD
24301 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
24302 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
24303
fe72eebd
UD
24304 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
24305 instructions.
24306
ae1bc2fa
AS
243072011-11-07 Andreas Schwab <schwab@redhat.com>
24308
7583a88d
AS
24309 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
24310 handler when locking.
24311
ae1bc2fa
AS
24312 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24313 Fix size of allocated buffer.
24314
10fb0bfa
AS
243152011-11-04 Andreas Schwab <schwab@redhat.com>
24316
998832a4
AS
24317 [BZ #10103]
24318 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
24319 declarations for long double functions.
24320 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
24321
10fb0bfa
AS
24322 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
24323
3d7ba52b
AS
243242011-11-03 Andreas Schwab <schwab@redhat.com>
24325
a9ae54a1
AS
24326 * nscd/nscd.c (main): Don't start AVC thread until credentials are
24327 installed.
24328
3d7ba52b
AS
24329 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
24330 is disabled.
24331
bc8db248
ST
243322011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
24333
24334 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
24335
45b96dd6
AS
243362011-11-01 Andreas Schwab <schwab@linux-m68k.org>
24337
647776f6
AS
24338 * include/alloca.h (stackinfo_alloca_round): Define.
24339 (extend_alloca): Use it.
24340 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
24341 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
24342 here.
24343
d91a8b93
AS
24344 * scripts/check-local-headers.sh: Ignore libaudit.h.
24345
45b96dd6
AS
24346 * nscd/Makefile (extra-objs): Make recursively expanded.
24347
432d41ce
UD
243482011-11-01 Ulrich Drepper <drepper@gmail.com>
24349
34372fc6
UD
24350 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
24351 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24352
fadb59f8
UD
24353 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
24354 * posix/tst-rfc3484-2.c: Likewise.
24355 * posix/tst-rfc3484-3.c: Likewise.
24356
78239589
UD
24357 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24358 process_vm_writev.
24359 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
24360 process_vm_writev.
24361 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
24362 process_vm_writev from libc using GLIBC_2.15 version.
24363
432d41ce
UD
24364 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
24365
02f9c6cf
PP
243662011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
24367
24368 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
24369 stack usage.
24370
3a2c0242
UD
243712011-10-31 Ulrich Drepper <drepper@gmail.com>
24372
f4ec4833
UD
24373 [BZ #13367]
24374 * nss/getent.c (initgroups_keys): Show error message in case no group
24375 names are given.
24376
3a2c0242
UD
24377 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
24378 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
24379 __bump_nl_timestamp.
24380 * nscd/connections (nscd_init): When host database is served open
24381 netlink socket and request notification about configuration changes.
24382 (main_loop_poll): Track netlink file descriptor and bump timestamp
24383 in case data becomes available.
24384 (main_loop_epoll): Likewise.
24385 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
24386 (database_pers_head): Add extra_data fileds.
24387 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
24388 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
24389 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
24390 Adjust caller.
24391 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
24392 in6ai data, call __free_in6ai.
24393 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
24394 Add -DHAVE_NETLINK.
24395 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
24396 interface information. Reuse previous data if netlink timestamp
24397 is not changed.
24398 (__bump_nl_timestamp): New function.
24399 (__free_in6ai): New function.
24400
636064eb
UD
244012011-10-30 Ulrich Drepper <drepper@gmail.com>
24402
24403 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
24404 close_not_cancel_no_status here.
24405 (__check_pf): Reorganize code a bit to not call close twice if OOM.
24406
9beb2334
UD
244072011-10-29 Ulrich Drepper <drepper@gmail.com>
24408
6ef76f3b
UD
24409 [BZ #13276]
24410 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
24411 return value.
24412
0ffc4f3e 24413 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
24414 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
24415 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
24416
cb95113e
UD
244172011-07-03 Andreas Jaeger <aj@suse.de>
24418
24419 [BZ #10709]
24420 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
24421 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
24422 * math/libm-test.inc (sin_test): Add test case.
24423
a1b560ff
UD
244242011-10-29 Ulrich Drepper <drepper@gmail.com>
24425
c9aaface
UD
24426 [BZ #13337]
24427 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
24428 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24429
d272e7f1
UD
24430 * elf/chroot_canon.c (chroot_canon): Cleanups.
24431
1bc33071
UD
24432 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
24433
1760874d
TJ
24434 [BZ #13335]
24435 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
24436 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24437
51d91b18
UD
24438 * string/test-strchr.c: Make usable for strchrnul testing.
24439 * string/test-strchrnul.c: New file.
24440 * string/Makefile (strop-tests): Add strchrnul.
24441
a1b560ff 24442 * po/it.po: Update from translation team.
b611fb81 24443 * po/es.po: Likewise.
a1b560ff 24444
a5b81e1f
UD
244452011-10-28 Ulrich Drepper <drepper@gmail.com>
24446
fd52bc6d
UD
24447 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
24448 the three constants needed as parameters. Drop the others.
24449 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
24450 __m128i_strloadu_tolower.
52e4b9eb
UD
24451 Create and initialize variable zero and use it in all the places
24452 where _mm_setzero_si128 was used.
fd52bc6d 24453
a5b81e1f
UD
24454 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
24455 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
24456 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
24457 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
24458 anymore.
24459 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
24460 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
24461 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
24462 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
24463 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
24464 __mpranred, __mptan.
24465 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
24466 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
24467 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
24468 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
24469 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
24470 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
24471 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
24472 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
24473 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
24474
b4343346
AS
244752011-10-28 Andreas Schwab <schwab@redhat.com>
24476
0c92d8a8
AS
24477 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
24478 redefine if SHARED.
24479 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
24480
b4343346
AS
24481 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
24482 wide char related routines to wcsmbs subdir.
24483
3871f58f
AS
244842011-10-27 Andreas Schwab <schwab@redhat.com>
24485
24486 [BZ #13344]
24487 * misc/sys/cdefs.h (__THROWNL): Define.
24488 * posix/unistd.h: Use __THREADNL instead of __THREAD
24489 for memory synchronization functions.
24490
94d44d9f
RM
244912011-10-26 Roland McGrath <roland@hack.frob.com>
24492
21b64b15 24493 [BZ #13349]
94d44d9f
RM
24494 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
24495 doesn't exist.
24496 * manual/stdio.texi (Obstack Streams): Node removed.
24497
f6ce9294
AS
244982011-10-26 Andreas Schwab <schwab@redhat.com>
24499
80479147
AS
24500 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
24501 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24502 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24503
f6ce9294
AS
24504 * math/math_private.h (math_force_eval): Allow non-addressable
24505 arguments.
24506 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
24507
618280a1
UD
245082011-10-25 Ulrich Drepper <drepper@gmail.com>
24509
e0016b11
UD
24510 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
24511 file is not needed.
24512
24513 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
24514 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
24515 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24516 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24517 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24518 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24519 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24520 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
24521 Add AVX variants.
24522 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
24523 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
24524 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
24525 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
24526 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
24527 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
24528 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
24529 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
24530 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
24531 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
24532 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
24533 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
24534 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
24535 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
24536 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
24537 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
24538 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
24539 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
24540 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
24541
24542 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
24543 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
24544
618280a1
UD
24545 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
24546 place. Use VEX encoding when compiling for AVX.
24547
37822576
AS
245482011-10-25 Andreas Schwab <schwab@redhat.com>
24549
1f1e1947
AS
24550 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
24551 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24552
37822576
AS
24553 * string/test-strchr.c (do_test): Don't generate NUL bytes.
24554
31ea014d
UD
245552011-10-25 Ulrich Drepper <drepper@gmail.com>
24556
d7826aa1 24557 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 24558 useless if() expression.
d7826aa1
UD
24559 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24560 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24561 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24562 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24563 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24564 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24565 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24566 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24567 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24568 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24569 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24570 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24571 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24572 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24573 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24574 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24575 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24576 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24577 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24578
31ea014d
UD
24579 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
24580
16437fec
AS
245812011-10-25 Andreas Schwab <schwab@redhat.com>
24582
24583 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
24584 condition.
24585 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24586
31d3cc00
UD
245872011-10-25 Ulrich Drepper <drepper@gmail.com>
24588
24589 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
24590 .text section. Avoid duplicate constants.
24591 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24592 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24593 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24594 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24595 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24596 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24597 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24598 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24599 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24600 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
24601 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24602 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24603 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24604 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24605 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24606 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24607 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24608 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24609 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24610 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24611 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24612 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24613 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24614 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
24615 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
24616 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
24617 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
24618 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
24619 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
24620 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
24621 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
24622 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
24623 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24624 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
24625 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
24626 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
24627 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
24628 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
24629 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
24630 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
24631 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
24632 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
24633 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
24634 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24635 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
24636
58985aa9
UD
246372011-10-24 Ulrich Drepper <drepper@gmail.com>
24638
202c9deb
UD
24639 * sysdeps/x86_64/dla.h: Move to ...
24640 * sysdeps/x86_64/fpu/dla.h: ...here.
24641 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
24642 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 24643
af968f62
UD
24644 * config.make.in: Add have-mfma4 entry.
24645 * configure.in: Substitute libc_cv_cc_fma4.
24646 * math/Makefile (dbl-only-routines): Add sincostab.
24647 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
24648 Use __sincostab not sincos.
24649 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
24650 name is a macro.
24651 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24652 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24653 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24654 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
24655 using __copysign.
24656 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
24657 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
24658 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
24659 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
24660 and __inv.
24661 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
24662 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
24663 __copysign.
24664 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
24665 define aliases when function name is a macro.
24666 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
24667 sysdeps/ieee754/dbl-64/sincos.tbl.
24668 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
24669 fma4-enabled routines.
24670 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
24671 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
24672 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
24673 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
24674 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
24675 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
24676 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
24677 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
24678 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
24679 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
24680 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
24681 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
24682 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
24683 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
24684 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
24685 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
24686 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
24687 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
24688 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
24689 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
24690 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
24691 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
24692 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
24693 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
24694 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
24695 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
24696 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
24697 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
24698 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
24699 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
24700
58985aa9
UD
24701 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
24702 rename.
24703 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24704 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24705 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24706 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24707 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24708 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24709 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24710 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24711
a201fbcf
AS
247122011-10-24 Andreas Schwab <schwab@redhat.com>
24713
24714 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
24715
fc2ee42a
LD
247162011-10-23 Ulrich Drepper <drepper@gmail.com>
24717
bb3129bd
UD
24718 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
24719
0275fff8
UD
24720 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
24721 prediction.
24722 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
24723
2fa2ae85
UD
24724 * string/strnlen.c: Don't define STRNLEN, reverse logic.
24725 Remove unused variable magic_bits.
24726 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
24727
fc2ee42a
LD
24728 * string/strnlen.c: Define and use STRNLEN macro.
24729 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
24730 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
24731 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
24732 * wcsmbs/wcslen.c: Define and use WCSLEN.
24733 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
24734 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
24735 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
24736 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
24737 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
24738 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
24739 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24740
ce7dd29f
LD
247412011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24742
24743 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24744 strnlen-sse2-no-bsf.
24745 Rename strlen-no-bsf to strlen-sse2-no-bsf.
24746 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
24747 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
24748 Add strnlen support.
24749 (USE_AS_STRNLEN): New macro.
24750 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
24751 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
24752 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
24753 * sysdeps/x86_64/wcslen.S: New file.
24754
979c70a3
MZ
247552011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
24756
24757 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24758 XMM-moves are used for copying on small sizes.
24759
2d09f82f
LD
247602011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24761
24762 * wcsmbs/Makefile (strop-tests): Add wcschr.
24763 * wcsmbs/test-wcschr.c: New file.
24764 * string/test-strchr.c: Update.
24765 Add wcschr support.
24766 (WIDE): New macro.
24767
619fccca
LD
247682011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24769
2d09f82f 24770 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
24771 * wcsmbs/test-wcslen.c: New file.
24772 * string/test-strlen.c: Update.
24773 Add wcslen support.
24774 (WIDE): New macro.
24775
09f699ea
UD
247762011-10-23 Ulrich Drepper <drepper@gmail.com>
24777
24778 * po/it.po: Update from translation team.
24779
95584d3b
LD
247802011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24781
24782 * sysdeps/x86_64/wcscmp.S: Update.
24783 Fix wrong comparison semantics.
24784 wcscmp shall use signed comparison not unsigned.
24785 Don't use substraction to avoid overflow bug.
24786 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24787 * wcsmbc/wcscmp.c: Likewise.
24788 * string/test-strcmp.c: Likewise.
24789 Add new tests to check cases with negative values.
24790
c8b3296b
UD
247912011-10-23 Ulrich Drepper <drepper@gmail.com>
24792
24793 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
24794 * sysdeps/x86_64/dla.h: ...here. New file.
24795 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
24796 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24797 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24798 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24799 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24800 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24801 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24802 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24803 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24804
246ad57a
AS
248052011-10-23 Andreas Schwab <schwab@linux-m68k.org>
24806
24807 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
24808 __ynl_finite aliases.
24809
a1a87169
UD
248102011-10-22 Ulrich Drepper <drepper@gmail.com>
24811
0d355eb7
UD
24812 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24813
a1a87169
UD
24814 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
24815 define DLA_FMA.
24816 [DLA_FMA] (EMULV): Use DLA_FMA.
24817 [DLA_FMA] (MUL12): Use EMULV.
24818 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
24819 that are not needed.
24820 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24821 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24822 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24823 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24824 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24825 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24826 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24827
ee2aafe0
AS
248282011-10-22 Andreas Schwab <schwab@linux-m68k.org>
24829
24830 * math/s_nan.c: Undef __nan.
24831 * math/s_nanf.c: Undef __nanf.
24832 * math/s_nanl.c: Undef __nanl.
24833 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
24834 "math_private.h".
24835
bc62c2fb
UD
248362011-10-22 Ulrich Drepper <drepper@gmail.com>
24837
77425c63
UD
24838 * math/s_catan.c: Add branch predictions.
24839 * math/s_catanf.c: Likewise.
24840 * math/s_catanh.c: Likewise.
24841 * math/s_catanhf.c: Likewise.
24842 * math/s_catanhl.c: Likewise.
24843 * math/s_catanl.c: Likewise.
24844 * math/s_cexp.c: Likewise.
24845 * math/s_cexpf.c: Likewise.
24846 * math/s_cexpl.c: Likewise.
24847 * math/s_clog.c: Likewise.
24848 * math/s_clog10.c: Likewise.
24849 * math/s_clog10f.c: Likewise.
24850 * math/s_clog10l.c: Likewise.
24851 * math/s_clogf.c: Likewise.
24852 * math/s_clogl.c: Likewise.
24853 * math/s_csqrt.c: Likewise.
24854 * math/s_csqrtf.c: Likewise.
24855 * math/s_csqrtl.c: Likewise.
24856 * math/s_ctanf.c: Likewise.
24857 * math/s_ctanh.c: Likewise.
24858 * math/s_ctanhf.c: Likewise.
24859 * math/s_ctanhl.c: Likewise.
24860 * math/s_ctanl.c: Likewise.
24861
bc62c2fb
UD
24862 * math/math_private.h: Define __nan, __nanf, __nanl.
24863 * math/s_cacosh.c: Include <math_private.h>.
24864 * math/s_cacoshl.c: Likewise.
24865 * math/s_casinh.c: Likewise.
24866 * math/s_casinhf.c: Likewise.
24867 * math/s_casinhl.c: Likewise.
24868 * math/s_ccos.c: Rely entire on ccosh.
24869 * math/s_ccosf.c: Rely entire on ccoshf.
24870 * math/s_ccosl.c: Rely entirely on ccoshl.
24871 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
24872 Remove tests for FE_INVALID.
24873 * math/s_ccoshf.c: Likewise.
24874 * math/s_ccoshl.c: Likewise.
24875 * math/s_csin.c: Likewise.
24876 * math/s_csinf.c: Likewise.
24877 * math/s_csinh.c Likewise.
24878 * math/s_csinhf.c: Likewise.
24879 * math/s_csinhl.c: Likewise.
24880 * math/s_csinl.c: Likewise.
24881 * math/s_ctan.c: Likewise.
24882 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
24883 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
24884 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
24885
8ec250a4
UD
248862011-10-21 Ulrich Drepper <drepper@gmail.com>
24887
c196fed8
UD
24888 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
24889 compilation problems.
24890
8ec250a4
UD
24891 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
24892 __builtin_expect.
24893
8d4f46c6
UD
248942011-10-20 Ulrich Drepper <drepper@gmail.com>
24895
ed72b654
UD
24896 * sysdeps/i386/configure.in: Test for -mfma4 option.
24897 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
24898 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
24899 COMMON_CPUID_INDEX_80000001.
24900 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
24901 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
24902 use it if FMA3 is not supported.
24903 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
24904
8d4f46c6
UD
24905 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
24906 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24907
d45c60c2
AS
249082011-10-20 Andreas Schwab <schwab@redhat.com>
24909
24910 [BZ #12892]
24911 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
24912 it would create a cycle with a link time dependency.
24913
d9a4d2ab
UD
249142011-10-19 Ulrich Drepper <drepper@gmail.com>
24915
855d1560
UD
24916 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
24917 instruction.
24918 * string/Makefile (strop-tests): Add rawmemchr.
24919 * string/test-rawmemchr.c: New file.
24920
d9a4d2ab
UD
24921 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
24922 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
24923 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
24924 when compiling str{,n}casecmp and when AVX is available. Hook up
24925 new optimized code in initializers.
24926
8f3b1ffe
AS
249272011-10-19 Andreas Schwab <schwab@redhat.com>
24928
24929 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
24930 __feraiseexcept instead of feraiseexcept.
24931
d38f1dba
UD
249322011-10-18 Ulrich Drepper <drepper@gmail.com>
24933
d9a8d0ab
UD
24934 * math/math_private.h: Define defaults for libc_fetestexcept and
24935 libc_feupdateenv.
24936 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
24937 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
24938 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24939 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24940 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24941 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24942 libc_fetestexcept and libc_feupdateenv.
24943
4855e3dd
UD
24944 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
24945 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
24946 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
24947 * sysdeps/x86_64/fpu/math_private.h: Define special version of
24948 libc_feholdexcept_setround.
24949
581d30e3
UD
24950 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
24951 Add s_nearbyint-c and s_nearbyintf-c.
24952 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
24953 nearbyintf inlines.
24954 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
24955 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
24956 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
24957 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
24958
d38f1dba
UD
24959 * math/math_private.h: Define defaults for libc_fegetround,
24960 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
24961 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
24962 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
24963 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
24964 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
24965 standard functions.
24966 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24967 Remove comments and hacks for old compiler versions.
24968 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24969 libc_fegetround, libc_fesetround, libc_feholdexcept, and
24970 libc_feholdexceptl.
24971
caa6c9d8
AS
249722011-10-18 Andreas Schwab <schwab@redhat.com>
24973
24974 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
24975 (__feraiseexcept_renamed): Add __NTH.
24976 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
24977 namespace violations.
24978
97c066e6
UD
249792011-10-17 Ulrich Drepper <drepper@gmail.com>
24980
99ce7b04
UD
24981 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
24982
1004d182
UD
24983 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
24984
228a984d
UD
24985 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
24986 recently added interfaces.
24987 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
24988
c8553a6a
UD
24989 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
24990 about macro parameter expansion.
24991
ed22dcf6
UD
24992 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
24993 __NO_MATH_INLINES is defined. Cleanups.
24994
24995 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
24996 and __floorf is target has SSE4.1.
24997 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
24998 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
24999 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
25000 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
25001
b171c137
UD
25002 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
25003 name.
25004 (floorf): Likewise.
25005
97c066e6
UD
25006 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
25007
629f62ef
AS
250082011-10-17 Andreas Schwab <schwab@redhat.com>
25009
49a43d80
AS
25010 * misc/sys/cdefs.h: Fix last change.
25011
629f62ef
AS
25012 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
25013 database lookup.
25014
e453f6cd
UD
250152011-10-16 Ulrich Drepper <drepper@gmail.com>
25016
aa78043a
UD
25017 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
25018
ad0f5cad
UD
25019 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
25020 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25021 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25022 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25023 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25024 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25025 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25026 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25027 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25028 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
25029 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
25030 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
25031 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
25032 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
25033 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
25034 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
25035 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
25036 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
25037 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
25038 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
25039 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
25040 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
25041
25042 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
25043 ceil, ceilf, floor, floorf.
25044
25045 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
25046 Perform IRELATIVE relocations last.
25047
e453f6cd
UD
25048 * elf/do-rel.h: Add another parameter nrelative, replacing the
25049 local variable with the same name. Change name of the function
25050 to end in Rel or Rela (uppercase).
25051 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
25052 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
25053 elf_dynamic_do_##reloc function.
25054
fd5bdc09
UD
250552011-10-15 Ulrich Drepper <drepper@gmail.com>
25056
79b195b5
UD
25057 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
25058 is sufficient, at least on modern CPUs.
25059
d4a28569
UD
25060 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
25061
b61099b5
UD
25062 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
25063 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
25064
bcf01e6d
UD
25065 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
25066 __expl_finite.
25067 * math/bits/math-finite.h: Add entries for exp.
25068 * math/e_expl.c: Add __*_finite alias.
25069 * sysdeps/i386/fpu/e_exp.S: Likewise.
25070 * sysdeps/i386/fpu/e_expf.S: Likewise.
25071 * sysdeps/i386/fpu/e_expl.c: Likewise.
25072 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25073 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25074 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25075 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25076 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
25077 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25078 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25079
ba1a0d59
UD
25080 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
25081 is sufficient, at least on modern CPUs.
25082
fd5bdc09
UD
25083 * ctype/ctype-info.c (__ctype_init): Define.
25084 * include/ctype.h (__ctype_init): Declare.
25085 (__ctype_b_loc): The variable is always initialized.
25086 (__ctype_toupper_loc): Likewise.
25087 (__ctype_tolower_loc): Likewise.
25088 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
25089 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
25090
7872cfb0
AS
250912011-10-15 Andreas Schwab <schwab@linux-m68k.org>
25092
b468825a
AS
25093 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
25094
7872cfb0
AS
25095 * configure.in: Also look in $cxxmachine/include for C++ system
25096 headers.
25097
be13f7bf
LD
250982011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25099
25100 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
25101 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
25102 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
25103 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
25104 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
25105 (USE_AS_WMEMCMP): New macro.
25106 Fixing indents.
25107 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
25108 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
25109 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
25110 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
25111 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25112 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
25113 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
25114 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
25115 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
25116 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
25117 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
25118 (USE_AS_WMEMCMP): New macro.
25119 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
25120 * sysdeps/string/test-memcmp.c: Update.
25121 Fix simple_wmemcmp.
25122 Add new tests.
25123 * wcsmbs/wmemcmp.c: Update.
25124 (WMEMCMP): New macro.
25125 Fix overflow bug.
25126
556a2007
AJ
251272011-10-12 Andreas Jaeger <aj@suse.de>
25128
25129 [BZ #13268]
25130 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
25131
538faaa7
UD
251322011-10-15 Ulrich Drepper <drepper@gmail.com>
25133
ab6737ff
UD
25134 * libio/iofwide.c (do_length): Avoid warning.
25135
538faaa7
UD
25136 * ctype/ctype.h (__isctype_f): Add missing __THROW.
25137
396a21b1
UD
251382011-10-14 Ulrich Drepper <drepper@gmail.com>
25139
cdf2901f
UD
25140 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
25141
38ad40ce
UD
25142 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
25143 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
25144 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
25145 * sysdeps/i386/i686/fpu/e_log.S: New file.
25146 * sysdeps/i386/i686/fpu/e_logf.S: New file.
25147 * sysdeps/i386/i686/fpu/e_logl.S: New file.
25148
396a21b1
UD
25149 * ctype/ctype.h: Add support for inlined isXXX functions when
25150 compiling C++ code.
25151
6b1f68c9
AS
251522011-10-14 Andreas Schwab <schwab@redhat.com>
25153
349290c0
AS
25154 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25155
6b1f68c9
AS
25156 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
25157
f2282d42
RM
251582011-10-13 Roland McGrath <roland@hack.frob.com>
25159
25160 [BZ #13291]
25161 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
25162
5298ffa8
AS
251632011-10-13 Andreas Schwab <schwab@redhat.com>
25164
714fad23
AS
25165 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
25166 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
25167 feraiseexcept.
25168
81dcc7fb
AS
25169 * sysdeps/x86_64/memrchr.S: Check for zero size.
25170
5298ffa8
AS
25171 * string/stratcliff.c: Add memrchr tests.
25172
951fbcec
LD
251732011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25174
25175 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25176 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
25177 rawmemchr-sse2 rawmemchr-sse2-bsf.
25178 * sysdeps/i386/i686/multiarch/memchr.S: New file.
25179 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
25180 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
25181 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
25182 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
25183 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
25184 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
25185 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
25186 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
25187 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
25188 * string/memrchr.c (MEMRCHR): New macro.
25189
0ac5ae23
UD
251902011-10-12 Ulrich Drepper <drepper@gmail.com>
25191
25192 Add integration with gcc's -ffinite-math-only and optimize wrapper
25193 functions in libm.
25194 * Versions.def: Define GLIBC_2.15 version for libm.
25195 * math/Makefile (headers): Add bits/math-finite.h.
25196 * math/bits/math-finite.h: New file.
25197 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
25198 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
25199 * math/e_acoshl.c: Add __*_finite alias.
25200 * math/e_acosl.c: Likewise.
25201 * math/e_asinl.c: Likewise.
25202 * math/e_atan2l.c: Likewise.
25203 * math/e_atanhl.c: Likewise.
25204 * math/e_coshl.c: Likewise.
25205 * math/e_exp10.c: Likewise.
25206 * math/e_exp10f.c: Likewise.
25207 * math/e_exp10l.c: Likewise.
25208 * math/e_exp2l.c: Likewise.
25209 * math/e_fmodl.c: Likewise.
25210 * math/e_gammal_r.c: Likewise.
25211 * math/e_hypotl.c: Likewise.
25212 * math/e_j0l.c: Likewise.
25213 * math/e_j1l.c: Likewise.
25214 * math/e_jnl.c: Likewise.
25215 * math/e_lgammal_r.c: Likewise.
25216 * math/e_log10l.c: Likewise.
25217 * math/e_log2l.c: Likewise.
25218 * math/e_logl.c: Likewise.
25219 * math/e_powl.c: Likewise.
25220 * math/e_sinhl.c: Likewise.
25221 * math/e_sqrtl.c: Likewise.
25222 * math/e_scalb.c: Completely rewritten and optimized.
25223 * math/e_scalbf.c: Likewise.
25224 * math/e_scalbl.c: Likewise.
25225 * math/w_acos.c: Likewise.
25226 * math/w_acosf.c: Likewise.
25227 * math/w_acosl.c: Likewise.
25228 * math/w_acosh.c: Likewise.
25229 * math/w_acoshf.c: Likewise.
25230 * math/w_acoshl.c: Likewise.
25231 * math/w_asin.c: Likewise.
25232 * math/w_asinf.c: Likewise.
25233 * math/w_asinl.c: Likewise.
25234 * math/w_atan2.c: Likewise.
25235 * math/w_atan2f.c: Likewise.
25236 * math/w_atan2l.c: Likewise.
25237 * math/w_atanh.c: Likewise.
25238 * math/w_atanhf.c: Likewise.
25239 * math/w_atanhl.c: Likewise.
25240 * math/w_exp10.c: Likewise.
25241 * math/w_exp10f.c: Likewise.
25242 * math/w_exp10l.c: Likewise.
25243 * math/w_fmod.c: Likewise.
25244 * math/w_fmodf.c: Likewise.
25245 * math/w_fmodl.c: Likewise.
25246 * math/w_j0.c: Likewise.
25247 * math/w_j0f.c: Likewise.
25248 * math/w_j0l.c: Likewise.
25249 * math/w_j1.c: Likewise.
25250 * math/w_j1f.c: Likewise.
25251 * math/w_j1l.c: Likewise.
25252 * math/w_jn.c: Likewise.
25253 * math/w_jnf.c: Likewise.
25254 * math/w_log.c: Likewise.
25255 * math/w_logf.c: Likewise.
25256 * math/w_logl.c: Likewise.
25257 * math/w_log10.c: Likewise.
25258 * math/w_log10f.c: Likewise.
25259 * math/w_log10l.c: Likewise.
25260 * math/w_log2.c: Likewise.
25261 * math/w_log2f.c: Likewise.
25262 * math/w_log2l.c: Likewise.
25263 * math/w_pow.c: Likewise.
25264 * math/w_powf.c: Likewise.
25265 * math/w_powl.c: Likewise.
25266 * math/w_remainder.c: Likewise.
25267 * math/w_remainderf.c: Likewise.
25268 * math/w_remainderl.c: Likewise.
25269 * math/w_scalb.c: Likewise.
25270 * math/w_scalbf.c: Likewise.
25271 * math/w_scalbl.c: Likewise.
25272 * math/w_sqrt.c: Likewise.
25273 * math/w_sqrtf.c: Likewise.
25274 * math/w_sqrtl.c: Likewise.
25275 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
25276 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
25277 used.
25278 * math/math_private.h: Declare __kernel_standard_f.
25279 * math/w_cosh.c: Remove cruft and optimize a bit.
25280 * math/w_coshf.c: Likewise.
25281 * math/w_coshl.c: Likewise.
25282 * math/w_exp2.c: Likewise.
25283 * math/w_exp2f.c: Likewise.
25284 * math/w_exp2l.c: Likewise.
25285 * math/w_hypot.c: Likewise.
25286 * math/w_hypotf.c: Likewise.
25287 * math/w_hypotl.c: Likewise.
25288 * math/w_lgamma.c: Likewise.
25289 * math/w_lgamma_r.c: Likewise.
25290 * math/w_lgammaf.c: Likewise.
25291 * math/w_lgammaf_r.c: Likewise.
25292 * math/w_lgammal.c: Likewise.
25293 * math/w_lgammal_r.c: Likewise.
25294 * math/w_sinh.c: Likewise.
25295 * math/w_sinhf.c: Likewise.
25296 * math/w_sinhl.c: Likewise.
25297 * math/w_tgamma.c: Likewise.
25298 * math/w_tgammaf.c: Likewise.
25299 * math/w_tgammal.c: Likewise.
25300 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25301 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25302 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
25303 Minor optimizations. Pretty printing. Remove cruft.
25304 * sysdeps/i386/fpu/e_acosf.S: Likewise.
25305 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25306 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25307 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25308 * sysdeps/i386/fpu/e_acosl.c: Likewise.
25309 * sysdeps/i386/fpu/e_asin.S: Likewise.
25310 * sysdeps/i386/fpu/e_asinf.S: Likewise.
25311 * sysdeps/i386/fpu/e_atan2.S: Likewise.
25312 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
25313 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
25314 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25315 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25316 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25317 * sysdeps/i386/fpu/e_exp10.S: Likewise.
25318 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
25319 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
25320 * sysdeps/i386/fpu/e_exp2.S: Likewise.
25321 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
25322 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
25323 * sysdeps/i386/fpu/e_fmod.S: Likewise.
25324 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
25325 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
25326 * sysdeps/i386/fpu/e_hypot.S: Likewise.
25327 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
25328 * sysdeps/i386/fpu/e_log.S: Likewise.
25329 * sysdeps/i386/fpu/e_log10.S: Likewise.
25330 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25331 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25332 * sysdeps/i386/fpu/e_log2.S: Likewise.
25333 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25334 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25335 * sysdeps/i386/fpu/e_logf.S: Likewise.
25336 * sysdeps/i386/fpu/e_logl.S: Likewise.
25337 * sysdeps/i386/fpu/e_pow.S: Likewise.
25338 * sysdeps/i386/fpu/e_powf.S: Likewise.
25339 * sysdeps/i386/fpu/e_powl.S: Likewise.
25340 * sysdeps/i386/fpu/e_remainder.S: Likewise.
25341 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
25342 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
25343 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25344 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25345 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25346 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
25347 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
25348 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
25349 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25350 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25351 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25352 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25353 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25354 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25355 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25356 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25357 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25358 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25359 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25360 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25361 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25362 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25363 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25364 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25365 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25366 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25367 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25368 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25369 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25370 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25371 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25372 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25373 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25374 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25375 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25376 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25377 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
25378 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25379 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25380 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25381 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25382 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25383 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25384 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25385 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25386 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25387 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25388 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25389 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25390 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25391 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25392 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25393 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25394 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25395 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25396 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25397 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25398 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
25399 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25400 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25401 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25402 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25403 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25404 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25405 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25406 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25407 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25408 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25409 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25410 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25411 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25412 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25413 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25414 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25415 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25416 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25417 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
25418 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25419 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25420 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25421 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25422 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25423 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25424 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25425 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25426 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25427 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25428 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25429 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25430 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25431 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
25432 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25433 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25434 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25435 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25436 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25437 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25438 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25439 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25440 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25441 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25442 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25443 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25444 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25445 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25446 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
25447 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
25448 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
25449 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
25450 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
25451 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
25452 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
25453 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25454 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25455 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25456 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25457 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
25458 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25459 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
25460 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
25461 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
25462 (__isnanf): Likewise.
25463 (__isinf_ns): Likewise.
25464 (__isinf_nsf): Likewise.
25465 (__finite): Likewise.
25466 (__finitef): Likewise.
25467 (__ieee754_sqrt): Define as macro.
25468 (__ieee754_sqrtf): Define as macro.
25469 (__ieee754_sqrtl): Define as macro.
25470 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
25471 inlined copy.
25472 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
25473 __FINITE_MATH_ONLY__ consistent.
25474 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
25475
12cc2fcd
AS
254762011-10-10 Andreas Schwab <schwab@linux-m68k.org>
25477
a843a204
AS
25478 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
25479 of rawmemchr.
25480
12cc2fcd
AS
25481 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
25482
c853acd5
UD
254832011-10-09 Ulrich Drepper <drepper@gmail.com>
25484
25485 * po/ja.po: Update from translation team.
25486
c658d255
RM
254872011-10-08 Roland McGrath <roland@hack.frob.com>
25488
110946e4
RM
25489 * locale/programs/locarchive.c (prepare_address_space): New function.
25490 (create_archive, enlarge_archive, open_archive): Use it.
25491
50604220
RM
25492 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
25493 inside [SHARED], where it is used.
25494
c658d255
RM
25495 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
25496
25497 * nss/getent.c (netgroup_keys): Remove unused variable.
25498 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25499
6a621eb7
UD
255002011-10-08 Ulrich Drepper <drepper@gmail.com>
25501
7edb55ce
UD
25502 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
25503 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
25504 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
25505 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
25506 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
25507 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
25508 * math/Makefile (libm-calls): Add s_isinf_ns.
25509 * math/divtc3.c: Use __isinf_nsl instead of isinf.
25510 * math/multc3.c: Likewise.
25511 * math/s_casin.c: Likewise.
25512 * math/s_casinf.c: Likewise.
25513 * math/s_casinl.c: Likewise.
25514 * math/s_ccos.c: Likewise.
25515 * math/s_ccosf.c: Likewise.
25516 * math/s_ccosl.c: Likewise.
25517 * math/s_ctan.c: Likewise.
25518 * math/s_ctanf.c: Likewise.
25519 * math/s_ctanh.c: Likewise.
25520 * math/s_ctanhf.c: Likewise.
25521 * math/s_ctanhl.c: Likewise.
25522 * math/s_ctanl.c: Likewise.
25523 * math/w_fmod.c: Likewise.
25524 * math/w_fmodf.c: Likewise.
25525 * math/w_fmodl.c: Likewise.
25526 * math/w_remainder.c: Likewise.
25527 * math/w_remainderf.c: Likewise.
25528 * math/w_remainderl.c: Likewise.
25529 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
25530 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
25531 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
25532 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
25533 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
25534 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
25535 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
25536 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
25537
187da0ae
UD
25538 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
25539 of the number.
25540 * stdio-common/printf_fphex.c: Likewise.
25541 * stdio-common/printf_size.c: Likewise.
25542
9277c064
UD
25543 * math/e_exp10.c: Include math_private.h using <...> not "...".
25544 * math/e_exp10f.c: Likewise.
25545 * math/e_exp10l.c: Likewise.
25546 * math/e_exp2l.c: Likewise.
25547 * math/e_j0l.c: Likewise.
25548 * math/e_j1l.c: Likewise.
25549 * math/e_jnl.c: Likewise.
25550 * math/e_lgammal_r.c: Likewise.
25551 * math/e_rem_pio2l.c: Likewise.
25552 * math/e_scalb.c: Likewise.
25553 * math/e_scalbf.c: Likewise.
25554 * math/e_scalbl.c: Likewise.
25555 * math/k_cosl.c: Likewise.
25556 * math/k_sinl.c: Likewise.
25557 * math/k_tanl.c: Likewise.
25558 * math/s_cacoshf.c: Likewise.
25559 * math/s_catan.c: Likewise.
25560 * math/s_catanf.c: Likewise.
25561 * math/s_catanh.c: Likewise.
25562 * math/s_catanhf.c: Likewise.
25563 * math/s_catanhl.c: Likewise.
25564 * math/s_catanl.c: Likewise.
25565 * math/s_ccosh.c: Likewise.
25566 * math/s_ccoshf.c: Likewise.
25567 * math/s_ccoshl.c: Likewise.
25568 * math/s_cexp.c: Likewise.
25569 * math/s_cexpf.c: Likewise.
25570 * math/s_cexpl.c: Likewise.
25571 * math/s_clog.c: Likewise.
25572 * math/s_clog10.c: Likewise.
25573 * math/s_clog10f.c: Likewise.
25574 * math/s_clog10l.c: Likewise.
25575 * math/s_clogf.c: Likewise.
25576 * math/s_clogl.c: Likewise.
25577 * math/s_csin.c: Likewise.
25578 * math/s_csinf.c: Likewise.
25579 * math/s_csinh.c: Likewise.
25580 * math/s_csinhf.c: Likewise.
25581 * math/s_csinhl.c: Likewise.
25582 * math/s_csinl.c: Likewise.
25583 * math/s_csqrt.c: Likewise.
25584 * math/s_csqrtf.c: Likewise.
25585 * math/s_csqrtl.c: Likewise.
25586 * math/s_ctan.c: Likewise.
25587 * math/s_ctanf.c: Likewise.
25588 * math/s_ctanh.c: Likewise.
25589 * math/s_ctanhf.c: Likewise.
25590 * math/s_ctanhl.c: Likewise.
25591 * math/s_ctanl.c: Likewise.
25592 * math/s_ldexp.c: Likewise.
25593 * math/s_ldexpf.c: Likewise.
25594 * math/s_ldexpl.c: Likewise.
25595 * math/s_significand.c: Likewise.
25596 * math/s_significandf.c: Likewise.
25597 * math/s_significandl.c: Likewise.
25598 * math/w_acos.c: Likewise.
25599 * math/w_acosf.c: Likewise.
25600 * math/w_acosh.c: Likewise.
25601 * math/w_acoshf.c: Likewise.
25602 * math/w_acoshl.c: Likewise.
25603 * math/w_acosl.c: Likewise.
25604 * math/w_asin.c: Likewise.
25605 * math/w_asinf.c: Likewise.
25606 * math/w_asinl.c: Likewise.
25607 * math/w_atan2.c: Likewise.
25608 * math/w_atan2f.c: Likewise.
25609 * math/w_atan2l.c: Likewise.
25610 * math/w_atanh.c: Likewise.
25611 * math/w_atanhf.c: Likewise.
25612 * math/w_atanhl.c: Likewise.
25613 * math/w_cosh.c: Likewise.
25614 * math/w_coshf.c: Likewise.
25615 * math/w_coshl.c: Likewise.
25616 * math/w_dremf.c: Likewise.
25617 * math/w_exp10.c: Likewise.
25618 * math/w_exp10f.c: Likewise.
25619 * math/w_exp10l.c: Likewise.
25620 * math/w_exp2.c: Likewise.
25621 * math/w_exp2f.c: Likewise.
25622 * math/w_fmod.c: Likewise.
25623 * math/w_fmodf.c: Likewise.
25624 * math/w_fmodl.c: Likewise.
25625 * math/w_hypot.c: Likewise.
25626 * math/w_hypotf.c: Likewise.
25627 * math/w_hypotl.c: Likewise.
25628 * math/w_j0.c: Likewise.
25629 * math/w_j0f.c: Likewise.
25630 * math/w_j0l.c: Likewise.
25631 * math/w_j1.c: Likewise.
25632 * math/w_j1f.c: Likewise.
25633 * math/w_j1l.c: Likewise.
25634 * math/w_jn.c: Likewise.
25635 * math/w_jnf.c: Likewise.
25636 * math/w_jnl.c: Likewise.
25637 * math/w_lgamma.c: Likewise.
25638 * math/w_lgamma_r.c: Likewise.
25639 * math/w_lgammaf.c: Likewise.
25640 * math/w_lgammaf_r.c: Likewise.
25641 * math/w_lgammal.c: Likewise.
25642 * math/w_lgammal_r.c: Likewise.
25643 * math/w_log.c: Likewise.
25644 * math/w_log10.c: Likewise.
25645 * math/w_log10f.c: Likewise.
25646 * math/w_log10l.c: Likewise.
25647 * math/w_log2.c: Likewise.
25648 * math/w_log2f.c: Likewise.
25649 * math/w_log2l.c: Likewise.
25650 * math/w_logf.c: Likewise.
25651 * math/w_logl.c: Likewise.
25652 * math/w_pow.c: Likewise.
25653 * math/w_powf.c: Likewise.
25654 * math/w_powl.c: Likewise.
25655 * math/w_remainder.c: Likewise.
25656 * math/w_remainderf.c: Likewise.
25657 * math/w_remainderl.c: Likewise.
25658 * math/w_scalb.c: Likewise.
25659 * math/w_scalbf.c: Likewise.
25660 * math/w_scalbl.c: Likewise.
25661 * math/w_sinh.c: Likewise.
25662 * math/w_sinhf.c: Likewise.
25663 * math/w_sinhl.c: Likewise.
25664 * math/w_sqrt.c: Likewise.
25665 * math/w_sqrtf.c: Likewise.
25666 * math/w_sqrtl.c: Likewise.
25667 * math/w_tgamma.c: Likewise.
25668 * math/w_tgammaf.c: Likewise.
25669 * math/w_tgammal.c: Likewise.
25670
6a621eb7
UD
25671 * po/ja.po: Update from translation team.
25672
bf582445
AJ
256732011-09-29 Andreas Jaeger <aj@suse.de>
25674
f9efbf3a
AJ
25675 [BZ #13179]
25676 * sunrpc/netname.c (netname2host): Fix logic.
25677
bf582445
AJ
25678 [BZ #6779]
25679 [BZ #6783]
25680 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
25681 correctly.
25682 * math/w_remainder.c (__remainder): Likewise.
25683 * math/w_remainderf.c (__remainderf): Likewise.
25684 * math/libm-test.inc (remainder_test): Add test cases.
25685
48693bea
AK
256862011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25687
25688 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
25689 sdiv_qrnnd.
25690
42622229
LD
256912011-10-07 Ulrich Drepper <drepper@gmail.com>
25692
25693 * string/test-memcmp.c: Avoid unncessary #defines.
25694 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25695
093ecf92
LD
256962011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25697
25698 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
25699 Use new sse2 version for core i3 - i7 as it's faster
25700 than sse42 version.
25701 (bit_Prefer_PMINUB_for_stringop): New.
25702 * sysdeps/x86_64/rawmemchr.S: Update.
25703 Replace with faster SSE2 version.
25704 * sysdeps/x86_64/memrchr.S: New file.
25705 * sysdeps/x86_64/memchr.S: Update.
25706 Replace with faster SSE2 version.
25707
fde56e5c
MP
257082011-09-12 Marek Polacek <mpolacek@redhat.com>
25709
25710 * elf/dl-load.c (lose): Add cast to avoid warning.
25711
21fd49a9
UD
257122011-10-07 Ulrich Drepper <drepper@gmail.com>
25713
5a06e643
UD
25714 * po/ca.po: Update from translation team.
25715
684ae515
UD
25716 * inet/getnetgrent_r.c: Hook up nscd.
25717 * nscd/Makefile (routines): Add nscd_netgroup.
25718 (nscd-modules): Add netgroupcache.
25719 (CFLAGS-netgroupcache.c): Define.
25720 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
25721 (cache_search): Add const to second parameter.
25722 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
25723 INNETGR.
25724 (dbs): Add netgrdb entry.
25725 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
25726 (verify_persistent_db): Handle netgrdb.
25727 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
25728 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
25729 GETFDNETGR.
25730 (netgroup_response_header): Define.
25731 (innetgroup_response_header): Define.
25732 (datahead): Add netgroup_response_header and innetgroup_response_header
25733 elements.
25734 * nscd/nscd.conf: Add entries for netgroup cache.
25735 * nscd/nscd.h (dbtype): Add netgrdb.
25736 (_PATH_NSCD_NETGROUP_DB): Define.
25737 (netgroup_iov_disabled): Declare.
25738 (xmalloc, xcalloc, xrealloc): Move declarations here.
25739 (cache_search): Adjust prototype.
25740 Add netgroup-related prototypes.
25741 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
25742 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
25743 (__nscd_innetgr): Declare.
25744 * nscd/selinux.c (perms): Use access_vector_t as element type and
25745 add netgroup-related initializers.
25746 * nscd/netgroupcache.c: New file.
25747 * nscd/nscd_netgroup.c: New file.
25748 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
25749 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
25750 For four parameters use innetgr.
25751 * nss/nss_files/files-init.c: Add definition and callback for netgr.
25752 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
25753 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
25754 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
25755
21fd49a9
UD
25756 * nscd/connections.c (register_traced_file): Don't register file
25757 for disabled databases.
25758
054c0457
UD
257592011-10-06 Ulrich Drepper <drepper@gmail.com>
25760
32b63198
UD
25761 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
25762
054c0457
UD
25763 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
25764 from tree and freeing node.
25765
64031225
JO
257662011-09-25 Jiri Olsa <jolsa@redhat.com>
25767
25768 * nss/nsswitch.c (__nss_database_lookup): Handle
25769 nss_parse_service_list out of memory case.
25770
0490345c
JO
257712011-09-15 Jiri Olsa <jolsa@redhat.com>
25772
25773 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
25774 out of memory case.
25775
3a62d00d
AS
257762011-10-04 Andreas Schwab <schwab@redhat.com>
25777
25778 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
25779 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
25780 pass it down.
25781 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
25782 elf_machine_rela, elf_machine_lazy_rel.
25783 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
25784 (ELF_DYNAMIC_DO_REL): Likewise.
25785 (ELF_DYNAMIC_DO_RELA): Likewise.
25786 (ELF_DYNAMIC_RELOCATE): Likewise.
25787 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
25788 to ELF_DYNAMIC_DO_REL.
25789 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
25790 (dl_main): In trace mode always set __RTLD_NOIFUNC.
25791 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
25792 elf_machine_rela.
25793 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
25794 skip_ifunc, don't call ifunc function if non-zero.
25795 (elf_machine_rela): Likewise.
25796 (elf_machine_lazy_rel): Likewise.
25797 (elf_machine_lazy_rela): Likewise.
25798 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
25799 (elf_machine_lazy_rel): Likewise.
25800 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25801 Likewise.
25802 (elf_machine_lazy_rel): Likewise.
25803 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25804 Likewise.
25805 (elf_machine_lazy_rel): Likewise.
25806 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
25807 (elf_machine_lazy_rel): Likewise.
25808 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
25809 (elf_machine_lazy_rel): Likewise.
25810 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25811 (elf_machine_lazy_rel): Likewise.
25812 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25813 (elf_machine_lazy_rel): Likewise.
25814 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25815 (elf_machine_lazy_rel): Likewise.
25816 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25817 (elf_machine_lazy_rel): Likewise.
25818
68577918
UD
258192011-09-28 Ulrich Drepper <drepper@gmail.com>
25820
25821 * nss/nss_files/files-init.c (_nss_files_init): Use static
25822 initialization for all the *_traced_file variables.
25823
68822d74
AS
258242011-09-28 Andreas Schwab <schwab@redhat.com>
25825
25826 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25827
2056100b
RM
258282011-09-27 Roland McGrath <roland@hack.frob.com>
25829
25830 [BZ #13226]
25831 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
25832
32c76b63
AS
258332011-09-27 Andreas Schwab <schwab@redhat.com>
25834
25835 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25836 Reread the line before reparsing it.
25837
bf972c9d
AS
258382011-09-26 Andreas Schwab <schwab@redhat.com>
25839
25840 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
25841
e057a1b5
JM
258422011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
25843 Maxim Kuvyrkov <maxim@codesourcery.com>
25844 Joseph Myers <joseph@codesourcery.com>
25845
25846 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
25847 if needed for __stack_chk_guard.
25848
bc7e1c36
RM
258492011-09-19 Roland McGrath <roland@hack.frob.com>
25850
ecb1482f
RM
25851 * sysdeps/posix/spawni.c (script_execute): Always define it.
25852 It will be optimized away if unused.
25853 (maybe_script_execute): New function.
25854 (__spawni): Call it.
25855
bc7e1c36
RM
25856 * Makerules: Don't include tls.make.
25857 (config-tls): Always set to thread.
25858 * tls.make.c: File removed.
25859
1c3b002b
MF
258602011-09-19 Mike Frysinger <vapier@gentoo.org>
25861
25862 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
25863 * config.make.in (CPPFLAGS-config): New substituted variable.
25864
2840865d
UD
258652011-09-15 Ulrich Drepper <drepper@gmail.com>
25866
88738eb6
UD
25867 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
25868
cbf645a6 25869 [BZ #13192]
2840865d
UD
25870 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
25871 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
25872
b402e91a
RM
258732011-09-15 Roland McGrath <roland@hack.frob.com>
25874
25875 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
25876 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
25877 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25878 (CALL_FAIL): Likewise.
25879 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
25880 (CALL_FAIL): Macro removed.
25881 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
25882
4c1a1f71
UD
258832011-09-15 Ulrich Drepper <drepper@gmail.com>
25884
25885 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
25886 for __FINITE_MATH_ONLY__ == 1.
25887
edc121be
AS
258882011-09-15 Andreas Schwab <schwab@redhat.com>
25889
25890 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
25891 __ieee754_sqrt instead of sqrt.
25892 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
25893 __ieee754_sqrtf instead of sqrtf.
25894 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
25895 __floorf instead of floorf.
25896 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
25897 __floorf, __truncf instead of floorf, truncf.
25898
cd205654
UD
258992011-09-14 Ulrich Drepper <drepper@gmail.com>
25900
ee4d0315
UD
25901 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
25902
cd205654
UD
25903 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
25904 __extern_always_inline.
25905 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
25906 32-bit.
25907
48b67d71
AS
259082011-09-14 Andreas Schwab <schwab@redhat.com>
25909
25910 * elf/rtld.c (dl_main): Also relocate in dependency order when
25911 doing symbol dependency testing.
25912
1ae12c75
AS
259132011-09-13 Andreas Schwab <schwab@linux-m68k.org>
25914
25915 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25916 Always define `refsym'.
25917
995a80df
AS
259182011-09-13 Andreas Schwab <schwab@redhat.com>
25919
e529793b
AS
25920 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
25921 (__FD_ELT): Renamed from __FDELT.
25922 * misc/bits/select2.h (__FD_ELT): Likewise.
25923 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
25924 __FD_MASK instead of __FDELT, __FDMASK.
25925 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25926 Likewise.
25927 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25928 Likewise.
25929
52d4fef8
AS
25930 * elf/Makefile (gen-ldd): Fix pattern.
25931
995a80df
AS
25932 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
25933 (init_tls): Likewise.
25934
8682f8b0
UD
259352011-09-12 Ulrich Drepper <drepper@gmail.com>
25936
25937 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
25938
de82006d
AS
259392011-09-12 Andreas Schwab <schwab@redhat.com>
25940
a7c8e6a1
AS
25941 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
25942 `struct cmsghdr *' instead of `void *'.
25943 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
25944 Likewise.
25945
0f31fe77
AS
259462011-09-11 Andreas Schwab <schwab@linux-m68k.org>
25947
25948 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
25949 if non-absolute.
25950 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
25951 ldd_rewrite_script.
0f31fe77 25952
32b4c839
UD
259532011-09-11 Ulrich Drepper <drepper@gmail.com>
25954
83cd1420
UD
25955 * configure.in: Remove --with-tls option.
25956 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
25957 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
25958 out in case it is missing.
25959 * sysdeps/ia64/elf/configure.in: Likewise.
25960 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
25961 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
25962 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
25963 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
25964 * sysdeps/sh/elf/configure.in: Likewise.
25965 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
25966 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25967 * sysdeps/x86_64/elf/configure.in: Likewise.
25968 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
25969 * sysdeps/mach/hurd/tls.h: Likewise.
25970
633f745d
UD
25971 [BZ #13067]
25972 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
25973
f318beb8
UD
25974 [BZ #13090]
25975 * configure.in: Fix use of AC_INIT.
25976
32b4c839
UD
25977 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
25978
3ce1f295
UD
259792011-09-10 Ulrich Drepper <drepper@gmail.com>
25980
bb016596
UD
25981 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
25982 __set_errno.
8e58439c
UD
25983 * malloc/hooks.c: Likewise.
25984
aebae053 25985 [BZ #11929]
02d46fc4
UD
25986 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
25987 variables statically.
25988 (narenas): Initialize.
25989 (list_lock): Initialize.
bb016596
UD
25990 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
25991 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
25992 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
25993 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
25994 Add initializers to main_arena and mp_.
25995 (malloc_state): Remove pagesize member. Change all users to use
25996 GLRO(dl_pagesize).
25997
25998 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
25999 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
26000 is always initialized.
26001
22a89187
UD
26002 * malloc/malloc.c: Removed unused configurations and dead code.
26003 * malloc/arena.c: Likewise.
26004 * malloc/hooks.c: Likewise.
02d46fc4 26005 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 26006
d063d164
UD
26007 * include/tls.h: Removed. USE___THREAD must always be defined.
26008 * bits/libc-tsd.h: Don't handle !USE___THREAD.
26009 * elf/dl-libc.c: Likewise.
26010 * elf/dl-tsd.c: Likewise.
26011 * include/errno.h: Likewise.
26012 * include/netdb.h: Likewise.
26013 * include/resolv.h: Likewise.
26014 * inet/herrno-loc.c: Likewise.
26015 * inet/herrno.c: Likewise.
26016 * malloc/arena.c: Likewise.
26017 * malloc/hooks.c: Likewise.
26018 * malloc/malloc.c: Likewise.
26019 * resolv/res-state.c: Likewise.
26020 * resolv/res_libc.c: Likewise.
26021 * sysdeps/i386/dl-machine.h: Likewise.
26022 * sysdeps/ia64/dl-machine.h: Likewise.
26023 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26024 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26025 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26026 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26027 * sysdeps/sh/dl-machine.h: Likewise.
26028 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26029 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26030 * sysdeps/unix/i386/sysdep.S: Likewise.
26031 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26032 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26033 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26034 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26035 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26036 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26037 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26038 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26039 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26040 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26041 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26042 * sysdeps/x86_64/dl-machine.h: Likewise.
26043 * tls.make.c: Likewise.
26044
3ce1f295
UD
26045 * configure.in: Remove --with-__thread option. Make tests for
26046 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
26047 tls_model attribute fail if no support is available. Remove
26048 USE_IN_LIBIO.
26049 * Makeconfig: Adjust for dropped configure option. All features are
26050 now mandatory.
26051 * Makerules: Likewise.
26052 * Versions.def: Likewise.
26053 * argp/argp-fmtstream.c: Likewise.
26054 * argp/argp-fmtstream.h: Likewise.
26055 * argp/argp-help.c: Likewise.
26056 * assert/assert.c: Likewise.
26057 * config.h.in: Likewise.
26058 * config.make.in: Likewise.
26059 * configure: Likewise.
26060 * configure.in: Likewise.
26061 * csu/Versions: Likewise.
26062 * csu/init.c: Likewise.
26063 * elf/tst-audit2.c: Likewise.
26064 * elf/tst-tls10.c: Likewise.
26065 * elf/tst-tls10.h: Likewise.
26066 * elf/tst-tls11.c: Likewise.
26067 * elf/tst-tls12.c: Likewise.
26068 * elf/tst-tls14.c: Likewise.
26069 * elf/tst-tlsmod11.c: Likewise.
26070 * elf/tst-tlsmod12.c: Likewise.
26071 * elf/tst-tlsmod13.c: Likewise.
26072 * elf/tst-tlsmod13a.c: Likewise.
26073 * elf/tst-tlsmod14a.c: Likewise.
26074 * elf/tst-tlsmod15b.c: Likewise.
26075 * elf/tst-tlsmod16a.c: Likewise.
26076 * elf/tst-tlsmod16b.c: Likewise.
26077 * elf/tst-tlsmod7.c: Likewise.
26078 * elf/tst-tlsmod8.c: Likewise.
26079 * elf/tst-tlsmod9.c: Likewise.
26080 * gmon/gmon.c: Likewise.
26081 * grp/fgetgrent_r.c: Likewise.
26082 * grp/putgrent.c: Likewise.
26083 * hurd/fopenport.c: Likewise.
26084 * include/libc-symbols.h: Likewise.
26085 * include/tls.h: Likewise.
26086 * intl/gettextP.h: Likewise.
26087 * intl/loadinfo.h: Likewise.
26088 * locale/global-locale.c: Likewise.
26089 * locale/localeinfo.h: Likewise.
26090 * mach/devstream.c: Likewise.
26091 * malloc/arena.c: Likewise.
26092 * malloc/set-freeres.c: Likewise.
26093 * misc/err.c: Likewise.
26094 * misc/getttyent.c: Likewise.
26095 * misc/mntent_r.c: Likewise.
26096 * posix/getopt.c: Likewise.
26097 * posix/wordexp.c: Likewise.
26098 * pwd/fgetpwent_r.c: Likewise.
26099 * resolv/Versions: Likewise.
26100 * resolv/res_hconf.c: Likewise.
26101 * shadow/fgetspent_r.c: Likewise.
26102 * shadow/putspent.c: Likewise.
26103 * stdio-common/printf_fphex.c: Likewise.
26104 * stdio-common/tmpfile.c: Likewise.
26105 * stdlib/abort.c: Likewise.
26106 * stdlib/fmtmsg.c: Likewise.
26107 * sunrpc/auth_unix.c: Likewise.
26108 * sunrpc/clnt_perr.c: Likewise.
26109 * sunrpc/clnt_tcp.c: Likewise.
26110 * sunrpc/clnt_udp.c: Likewise.
26111 * sunrpc/clnt_unix.c: Likewise.
26112 * sunrpc/openchild.c: Likewise.
26113 * sunrpc/svc_simple.c: Likewise.
26114 * sunrpc/svc_tcp.c: Likewise.
26115 * sunrpc/svc_udp.c: Likewise.
26116 * sunrpc/svc_unix.c: Likewise.
26117 * sunrpc/xdr.c: Likewise.
26118 * sunrpc/xdr_array.c: Likewise.
26119 * sunrpc/xdr_rec.c: Likewise.
26120 * sunrpc/xdr_ref.c: Likewise.
26121 * sunrpc/xdr_stdio.c: Likewise.
26122
1248c1c4
PB
261232011-09-09 Ulrich Drepper <drepper@gmail.com>
26124
26125 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26126
261272011-07-03 Andreas Jaeger <aj@suse.de>
26128
26129 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
26130 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
26131 regenerate with gen-libm-tests.pl.
26132
261332010-05-12 Petr Baudis <pasky@suse.cz>
26134
26135 [BZ #11589]
26136 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
26137 around j0() zero points by switching to j1().
26138 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26139 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26140 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26141 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26142
f22e1074
UD
261432011-09-09 Ulrich Drepper <drepper@gmail.com>
26144
f19009c1
UD
26145 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
26146 instead of 0.
26147 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 26148 instead of 0.
f19009c1
UD
26149 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26150 Patch in part by Pavel Roskin <proski@gnu.org>.
26151
3f8cc204
UD
26152 [BZ #13138]
26153 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
26154 realloc.
26155 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
26156 Free memory block if necessary.
26157
f22e1074
UD
26158 [BZ #12847]
26159 * libio/genops.c (INTDEF): For string streams the _lock pointer can
26160 be NULL. Don't lock in this case.
26161
0a2349f9
RM
261622011-09-09 Roland McGrath <roland@hack.frob.com>
26163
26164 * elf/elf.h (ELFOSABI_GNU): New macro.
26165 (ELFOSABI_LINUX): Define to that.
26166
f3cdd467
DZ
261672011-07-29 Denis Zaitceff <zaitceff@gmail.com>
26168
26169 * string/strncat.c (strncat): Undef the symbol in case it has been
26170 defined in bits/string.h.
26171
74718d13
UD
261722011-09-09 Ulrich Drepper <drepper@gmail.com>
26173
633e9e0f
UD
26174 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
26175
0a2349f9 26176 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
26177 link map.
26178
f9924780
AJ
261792011-08-17 Andreas Jaeger <aj@suse.de>
26180
26181 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
26182
7f5517aa
PP
261832011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26184 Ian Lance Taylor <iant@google.com>
26185
26186 * math/libm-test.inc (lround_test): New testcase.
26187 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
26188
762011fe
UD
261892011-09-08 Ulrich Drepper <drepper@gmail.com>
26190
92963737
UD
26191 * Makefile: Remove support for automatic cvs check-ins.
26192 * Makerules: Likewise.
26193 * config.make.in: Likewise.
26194 * configure.in: Likewise.
26195 * intl/Makefile: Likewise.
26196 * locale/Makefile: Likewise.
26197 * po/Makefile: Likewise.
26198 * posix/Makefile: Likewise.
26199 * sysdeps/gnu/Makefile: Likewise.
26200 * sysdeps/mach/hurd/Makefile: Likewise.
26201 * sysdeps/sparc/sparc32/Makefile: Likewise.
26202
b0727fd8
JS
26203 [BZ #13118]
26204 * posix/Makefile (bug-regex32-ENV): Define.
26205 Patch by John Stanley <jpsinthemix@verizon.net>.
26206
a0f33f99
UD
26207 * misc/Makefile (headers): Add bits/select2.h.
26208 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
26209 * misc/bits/select2.h: New file.
26210 * include/bits/select2.h: New file.
26211 * debug/Makefile (routines): Add fdelt_chk.
26212 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
26213 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
26214 FD_ISSET.
26215 * debug/fdelt_chk.c: New file.
26216
762011fe
UD
26217 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
26218 * wcsmbs/test-wmemcmp.c: Likewise.
26219 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 26220 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
26221
262222011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26223
26224 * string/Makefile (strop-tests): Add memcmp.
26225 * string/test-wmemcmp.c: New file.
26226 * string/test-memcmp.c: Add wmemcmp support.
26227
7f513ec8
RM
262282011-09-08 Roland McGrath <roland@hack.frob.com>
26229
0442afb4
RM
26230 [BZ #13153]
26231 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
26232 2011-07-19 change.
26233
7f513ec8
RM
26234 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
26235 garbage value in a __mach_port_mod_refs call in the cases of the
26236 task-self and thread-self ports.
26237
a12b2239
ST
262382011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26239
26240 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
26241
610f9ab4
AS
262422011-09-08 Andreas Schwab <schwab@redhat.com>
26243
7f513ec8 26244 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 26245
48882a1a
LD
262462011-09-07 Ulrich Drepper <drepper@gmail.com>
26247
b49865be
UD
26248 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
26249
fdc86bc9
UD
26250 * elf/dl-libc.c (dlerror_run): Pass back error code from
26251 dl_catch_error.
26252
c966526a
UD
26253 [BZ #13123]
26254 * elf/dl-load.c (lose): Free l_origin if it is valid.
26255
48882a1a
LD
26256 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
26257 names.
26258 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26259 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26260 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26261 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26262 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26263 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
26264
77a2a8b4
AZ
262652011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26266
26267 * sysdeps/powerpc/fpu/e_hypot.c: New file.
26268 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
26269 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
26270 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
26271 * sysdeps/powerpc/fpu/k_cosf.c: New file.
26272 * sysdeps/powerpc/fpu/k_sinf.c: New file.
26273 * sysdeps/powerpc/fpu/s_cosf.c: New file.
26274 * sysdeps/powerpc/fpu/s_sinf.c: New file.
26275 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
26276 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
26277
24f579d8
AM
262782011-08-15 Alan Modra <amodra@gmail.com>
26279
26280 [BZ #13092]
26281 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
26282 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
26283 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
26284 ppc_mcount to static-only-routines.
26285 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
26286 __mcount_internal.
26287 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
26288 __mcount_internal with usual JUMPTARGET. Remove useless nop.
26289
3d4837df
UD
262902011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
26291
26292 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
26293 for finite and infinity parameters.
26294
22700377
WS
262952011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26296
26297 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
26298 and add nop instructions for throughput optimization.
26299 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26300
5025581e
WS
263012011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
26302
26303 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
26304 aligned copy for power7 with vector-scalar instructions.
26305 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26306
08a300c9
L
263072011-07-24 H.J. Lu <hongjiu.lu@intel.com>
26308
26309 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
26310 AVX check.
26311
59178ef9
AS
263122011-09-07 Andreas Schwab <schwab@redhat.com>
26313
26314 [BZ #13144]
26315 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
26316 last change.
26317
e38ba7ab
UD
263182011-09-07 Ulrich Drepper <drepper@gmail.com>
26319
26320 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26321 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
26322 syscall wrapper around clock_gettime in __vdso_clock_gettime.
26323 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
26324 clock_gettime.
26325
d53a73ac
UD
263262011-09-06 Ulrich Drepper <drepper@gmail.com>
26327
fc8bffcc
UD
26328 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
26329 Forgot to demangle the pointer.
26330
ceaa0c5d
UD
26331 * sysdeps/i386/sysdep.h: Define atom_text_section.
26332 * sysdeps/x86_64/sysdep.h: Likewise.
26333 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
26334 section with atom_text_section.
26335 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26336 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26337 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
26338 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
26339 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
26340
a77d3c17
UD
26341 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
26342 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
26343 already be defined. Change to take two parameters and don't assign
26344 result to variable. Adjust all users.
26345 Define INTERNAL_GETTIME if not already defined.
26346 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
26347 call.
26348 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
26349 HAVE_CLOCK_GETTIME_VSYSCALL.
26350 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
26351
d53a73ac
UD
26352 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
26353 gettimeofday vsyscall, just use time.
26354
a8f84144
AS
263552011-09-06 Andreas Schwab <schwab@redhat.com>
26356
26357 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
26358 <errno.h>.
26359
ef606249
UD
263602011-09-06 Ulrich Drepper <drepper@gmail.com>
26361
26362 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
26363 syscall on x86-64.
26364 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
26365 syscall.
26366 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
26367 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
26368 syscall if possible.
26369
6585cb60
UD
263702011-09-05 Ulrich Drepper <drepper@gmail.com>
26371
26372 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
26373 e_ident. Don't pass to find_mapsXX.
26374 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
26375
a5f524e4
LD
263762011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26377
26378 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26379 strchr-sse2-no-bsf strrchr-sse2-no-bsf
26380 * sysdeps/x86_64/multiarch/strchr.S: Update.
26381 Check bit_slow_BSF bit.
26382 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26383 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
26384 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
26385
554881ef
UD
263862011-09-05 Ulrich Drepper <drepper@gmail.com>
26387
d96de963
UD
26388 [BZ #13134]
26389 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
26390 before glibc 2.15.
26391 (tryshell): Define.
26392 (__spawni): Change last parameter to be flag. Test
26393 SPAWN_XFLAGS_USE_PATH flag to use path or not.
26394 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
26395 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
26396 * posix/spawni.c: Likewise.
26397 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
26398 * posix/spawnp.c: Likewise. Change normal version to use
26399 SPAWN_XFLAGS_USE_PATH.
26400 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
26401 SPAWN_XFLAGS_TRY_SHELL.
26402
d48e5868
UD
26403 [BZ #13150]
26404 * posix/glob.h: Remove gcc 1.x support.
26405
554881ef
UD
26406 [BZ #13068]
26407 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
26408
693fb948
LD
264092011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26410
26411 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26412 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
26413 strrchr-sse2-bsf
26414 * sysdeps/i386/i686/multiarch/strchr.S: New file.
26415 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
26416 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
26417 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
26418 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
26419 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
26420
1b48c537
UD
264212011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26422
49d42c37
UD
26423 * sysdeps/x86_64/wcscmp.S: New file.
26424
1b48c537
UD
26425 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
26426 wcscmp-c wcscmp-sse2
26427 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
26428 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
26429 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
26430 * wcsmbs/wcscmp.c: Allow renaming.
26431
15c95c5d
DM
264322011-09-05 David S. Miller <davem@davemloft.net>
26433
26434 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
26435 stack slot, rather than the struct return pointer slot.
26436 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
26437 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
26438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
26439 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
26440
2f0ad8f3
UD
264412011-09-05 Ulrich Drepper <drepper@gmail.com>
26442
d88ae418
UD
26443 * po/ja.po: Update from translation team.
26444
2f0ad8f3
UD
26445 [BZ #13144]
26446 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
26447 kernel in 64-bit binaries.
26448
5f4318d1
DM
264492011-09-01 David S. Miller <davem@davemloft.net>
26450
26451 * elf/elf.h (HWCAP_SPARC_*): Move to..
26452 * sysdeps/sparc/sysdep.h: this new file and add new values.
26453 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
26454 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
26455 _DL_HWCAP_COUNT to 24.
26456 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26457 entries.
26458 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
26459 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
26460 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
26461 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
26462 instead of magic constants.
26463 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26464
3ba57516
DM
264652011-08-31 David S. Miller <davem@davemloft.net>
26466
26467 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
26468 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
26469 Reimplement to do errno handling inline.
26470 (SYSCALL_ERROR_HANDLER): New macro.
26471 (__SYSCALL_STRING): Do not do errno handling in asm.
26472 (__CLONE_SYSCALL_STRING): Delete.
26473 (__INTERNAL_SYSCALL_STRING): Delete.
26474 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
26475 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
26476 (PSEUDO): Reimplement to do errno handling inline.
26477 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
26478 (SYSCALL_ERROR_HANDLER): New macro.
26479 (__SYSCALL_STRING): Do not do errno handling in asm.
26480 (__CLONE_SYSCALL_STRING): Delete.
26481 (__INTERNAL_SYSCALL_STRING): Delete.
26482 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
26483 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
26484 i386.
26485 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
26486 (inline_syscall*): Add 'err' argument.
26487 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
26488 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
26489 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
26490 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
26491
26492 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
26493 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26494
2bc17433
AS
264952011-08-30 Andreas Schwab <schwab@redhat.com>
26496
26497 * elf/rtld.c (dl_main): Relocate objects in dependency order.
26498
fbeb5f4d
JO
264992011-08-29 Jiri Olsa <jolsa@redhat.com>
26500
26501 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
26502 directive.
26503
ad69cc26
DM
265042011-08-24 David S. Miller <davem@davemloft.net>
26505
26506 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
26507
39dd69df
AS
265082011-08-24 Andreas Schwab <schwab@redhat.com>
26509
26510 * elf/Makefile: Add rules to build and run unload8 test.
26511 * elf/unload8.c: New file.
26512 * elf/unload8mod1.c: New file.
26513 * elf/unload8mod1x.c: New file.
26514 * elf/unload8mod2.c: New file.
26515 * elf/unload8mod3.c: New file.
26516
26517 * elf/dl-close.c (_dl_close_worker): Reset private search list if
26518 it wasn't used.
26519
2c0b250a
DM
265202011-08-23 David S. Miller <davem@davemloft.net>
26521
26522 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
26523 subtract stack bias.
26524 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
26525 %sp not %fp in calculations.
26526 (_JMPBUF_UNWINDS_ADJ): Likewise.
26527
22044b48
DM
26528 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
26529 (aio_suspend): Call it to force an exception region around the
26530 AIO_MISC_WAIT() invocation.
26531
2cae4995
AS
265322011-08-23 Andreas Schwab <schwab@redhat.com>
26533
26534 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
26535 backslash.
26536
873a772e
AJ
265372011-07-04 Aurelien Jarno <aurelien@aurel32.net>
26538
26539 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
26540 protection macro.
26541 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
26542 and <dl-machine.h>.
26543 (Elf64_FuncDesc): Remove.
26544
25ad0df1
DM
265452011-08-22 David S. Miller <davem@davemloft.net>
26546
26547 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
26548 sigaltstack check, add missing cfi directives.
26549 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
26550 missing cfi directives, and sigaltstack handling.
26551
e888bcbe
AS
265522011-08-16 Andreas Schwab <schwab@redhat.com>
26553
26554 [BZ #11724]
26555 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
26556 object is seen twice.
26557 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26558
26559 * elf/Makefile (distribute): Add tst-initorder2.c.
26560 (tests): Add tst-initorder2.
26561 (modules-names): Add tst-initorder2a tst-initorder2b
26562 tst-initorder2c tst-initorder2d. Add rules to build them.
26563 ($(objpfx)tst-initorder2.out): New rule.
26564 * elf/tst-initorder2.c: New file.
26565 * elf/tst-initorder2.exp: New file.
26566
87162f46
AS
265672011-08-22 Andreas Schwab <schwab@redhat.com>
26568
70538b7f
AS
26569 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
26570
f55ffe58
AS
26571 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
26572 dependencies back to end of function.
26573
87162f46
AS
26574 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26575 $(elfobjdir)/ld.so.
26576
91b392a4
UD
265772011-08-21 Ulrich Drepper <drepper@gmail.com>
26578
26579 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
26580 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
26581 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
26582 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
26583 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
26584 of __vdso_gettimeofday.
26585 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
26586 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
26587 attribute_hidden.
26588 (_libc_vdso_platform_setup): Remove initialization of
26589 __vdso_gettimeofday and __vdso_time.
26590
5c43483f
UD
265912011-08-20 Ulrich Drepper <drepper@gmail.com>
26592
775a77e7
UD
26593 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
26594 and fgetc_unlocked.
26595 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
26596 getc_unlocked.
89f447ed 26597
49c74ba9
UD
26598 * elf/dl-open.c (add_to_global): Report additions to the global scope
26599 for LD_DEBUG=scopes.
26600 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 26601 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 26602
5c43483f
UD
26603 [BZ #13114]
26604 * stdio-common/Makefile (tests): Add bug24.
26605 * stdio-common/bug24.c: New file.
26606
a101b025
AJ
266072011-08-19 Andreas Jaeger <aj@suse.de>
26608
26609 [BZ #13114]
26610 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
26611 non-existant file when using close-on-exec mode.
26612
c88f1766
UD
266132011-08-20 Ulrich Drepper <drepper@gmail.com>
26614
0276a718
UD
26615 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
26616 the very first instruction.
26617
c88f1766
UD
26618 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
26619 the CFI state in the end.
26620 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
26621 inclusion of dl-trampoline.h.
26622 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
26623
51ccffa0
AS
266242011-08-19 Andreas Schwab <schwab@redhat.com>
26625
94d7165f
AS
26626 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
26627 expectations for long double.
26628
51ccffa0
AS
26629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
26630 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
26631
fd708658 266322011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
26633
26634 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
26635 artificual limit depends upon the system page size.
26636
44f0a71e
UD
266372011-08-17 Ulrich Drepper <drepper@gmail.com>
26638
26639 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
26640 * resolv/Makefile: Define CFLAGS-libresolv.
26641
8de79a24
AS
266422011-08-17 Andreas Schwab <schwab@redhat.com>
26643
26644 * nss/makedb.c (compute_tables): Make variables used in nested
26645 function static.
26646
27724598
UD
266472011-08-17 Ulrich Drepper <drepper@gmail.com>
26648
c5305d88
UD
26649 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
26650 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
26651 if buffer was too small.
26652
27724598
UD
26653 * elf/pldd.c (main): Attach to all threads in the process.
26654 Rewrite /proc handling to use *at functions.
26655
076fe015
UD
266562011-08-16 Ulrich Drepper <drepper@gmail.com>
26657
174baab3
UD
26658 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
26659 specifies first scope to show.
26660 (dl_open_worker): Update callers. Move printing scope of new
26661 object to before the relocation.
44f0a71e 26662 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
26663 * sysdeps/generic/ldsodefs.h: Update declaration.
26664
076fe015
UD
26665 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
26666 string for the scope number.
26667
a60df2c3
UD
266682011-08-14 Ulrich Drepper <drepper@gmail.com>
26669
26670 * nscd/servicescache.c (cache_addserv): Make sure written is always
26671 initialized.
26672
5e4287d1
RM
266732011-08-14 Roland McGrath <roland@hack.frob.com>
26674
85ae0589
RM
26675 * sysdeps/i386/i486/bits/atomic.h
26676 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
26677 statement expression, so as to suppress "set but not used" warning.
26678 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
26679
69f63097
RM
26680 * string/strncat.c (STRNCAT): Use prototype definition.
26681
675456ef
RM
26682 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
26683 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
26684 -Iprograms here.
26685 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
26686 (localedef-modules): Add localedef.
26687 (locale-modules): Add locale.
26688
5e4287d1
RM
26689 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
26690 * elf/rtld.c (dl_main): Invert order of assignment in last change,
26691 to avoid a warning.
26692
9c96ff23
DM
266932011-08-14 David S. Miller <davem@davemloft.net>
26694
26695 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
26696 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
26697
f9ddf089
UD
266982011-08-13 Ulrich Drepper <drepper@gmail.com>
26699
44f0a71e 26700 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
26701 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
26702 * elf/rtld.c (dl_main): Set l_name of vDSO.
26703 Call _dl_show_scope when DL_DEBUG_SCOPES.
26704 (process_dl_debug): Recognize scopes flag and also set it for all.
26705 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
26706 Declare _dl_show_scope.
26707
1dc27704
UD
26708 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
26709 (do_dlopen): Pass caller_dlopen to dl_open.
26710 (__libc_dlopen_mode): Initialize caller_dlopen.
26711
f9ddf089
UD
26712 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
26713 of libc. Make tolower call locale-independent. Optimize a bit by
26714 using isdigit instead of isalnum.
26715 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
26716
9ac533d3
UD
267172011-08-12 Ulrich Drepper <drepper@gmail.com>
26718
26719 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
26720 was a dependency or dynamically loaded.
26721
89edf2e9
UD
267222011-08-11 Ulrich Drepper <drepper@gmail.com>
26723
8e999d29
UD
26724 * intl/l10nflist.c: Allow architecture-specific pop function.
26725 * sysdeps/x86_64/l10nflist.c: New file.
26726
89edf2e9
UD
26727 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
26728 classification.
26729
14d96785
AS
267302011-08-10 Andreas Schwab <schwab@redhat.com>
26731
26732 * include/dirent.h: Add libc_hidden_proto for scandirat and
26733 scandirat64. Don't declare __scandirat64.
26734 * dirent/scandirat.c: Add libc_hidden_def.
26735 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
26736 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
26737
6761ac04
DM
267382011-08-10 David S. Miller <davem@davemloft.net>
26739
26740 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
26741 enum.
26742 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26743 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26744 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26745
c55fbd1e
UD
267462011-08-09 Ulrich Drepper <drepper@gmail.com>
26747
26748 * Versions.def [libc]: Add GLIBC_2.15.
26749 * dirent/Makefile (routines): Add scandirat and scandirat64.
26750 * dirent/Versions [libc]: Export scandirat and scandirat64 for
26751 GLIBC_2.15.
26752 * dirent/dirent.h: Declare scandirat and scandirat64.
26753 * dirent/scandirat.c: New file.
26754 * dirent/scandirat64.c: New file.
26755 * sysdeps/wordsize-64/scandirat.c: New file.
26756 * sysdeps/wordsize-64/scandirat64.c: New file.
26757 * dirent/opendir.c: Define opendirat.
26758 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
26759 using scandirat.
26760 * dirent/scandir64.c: Adjust for scandir.c change.
26761 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
26762 __scandirat64, and __scandir_cancel_handler.
26763 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
26764 additional parameter and use openat instead of open (outside of ld.so).
26765 Add new __opendir as wrapper around __opendirat.
26766 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
26767 here without requiring old scandirat implementation.
26768
879165f2
UD
267692011-08-08 Ulrich Drepper <drepper@gmail.com>
26770
26771 * dirent/scandir.c (cancel_handler): Renamed to
26772 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
26773 defined. Adjust users.
26774 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
26775 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
26776
cb7e923b
UD
267772011-08-04 Ulrich Drepper <drepper@gmail.com>
26778
16292edd
UD
26779 * string/test-string.h (IMPL): Use __STRING to expand name and then
26780 stringify it.
26781
cb7e923b
UD
26782 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
26783 of cleanups.
26784
cff82933
LD
267852011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26786
26787 * string/Makefile: Update.
26788 (strop-tests): Append strncat.
26789 * string/test-wcscmp.c: New file.
26790 New comprehensive test for wcscmp.
26791 * string/test-strcmp.c: Update.
26792 (WIDE): New define.
26793
9be9bfcc
AS
267942011-07-22 Andreas Schwab <schwab@redhat.com>
26795
26796 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
26797 line.
26798
2e96f1c7
AS
267992011-07-26 Andreas Schwab <schwab@redhat.com>
26800
26801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26802 encoding to ACE if AI_IDN.
26803
85188888
JJ
268042011-08-01 Jakub Jelinek <jakub@redhat.com>
26805
26806 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
26807 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
26808
5fa16e9b
LD
268092011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26810
26811 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
26812 Fix overflow bug in strncat.
26813 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26814
26815 * string/test-strncat.c: Update.
26816 Add new tests for checking overflow bugs.
26817
268182011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26819
26820 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26821 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
26822 * sysdeps/i386/i686/multiarch/strcat.S: New file.
26823 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
26824 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
26825 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
26826 * sysdeps/i386/i686/multiarch/strncat.S: New file.
26827 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
26828 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
26829
26830 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
26831 (USE_AS_STRCAT): Define.
26832 Add strcat and strncat support.
26833 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26834
8c1a459f
AS
268352011-07-25 Andreas Schwab <schwab@redhat.com>
26836
26837 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
26838 __n bigger than INT_MAX+1.
26839 (__strncmp_g): Likewise.
26840
bba33c28
UD
268412011-07-23 Ulrich Drepper <drepper@gmail.com>
26842
798be72d
UD
26843 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
26844 * libio/stido.h: Likewise.
26845
8accd4dc
UD
26846 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
26847 (AF_NFC): Define.
26848 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
26849 (AF_NFC): Define.
26850
cbff0d96
UD
26851 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
26852 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26853 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26854 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
26855 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26856
9191c04a
UD
26857 [BZ #13021]
26858 * scripts/test-installation.pl: Don't expect libnss_test1 to be
26859 installed.
26860
bba33c28
UD
26861 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
26862 typo.
26863 (_dl_x86_64_save_sse): Likewise.
26864
90f139dd
UD
268652011-07-22 Ulrich Drepper <drepper@gmail.com>
26866
1aae088a
UD
26867 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
26868 OSXSAVE.
26869 (_dl_x86_64_save_sse): Likewise.
26870
8e2045f5
UD
26871 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
26872
90f139dd
UD
26873 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
26874
1d002f25
AS
268752011-07-21 Andreas Schwab <schwab@redhat.com>
26876
26877 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
26878 change.
26879 (_dl_x86_64_save_sse): Use correct AVX check.
26880
21137f89
UD
268812011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26882
26883 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
26884 bug in strncpy/strncat.
26885 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26886
a65c0b7a
UD
268872011-07-21 Ulrich Drepper <drepper@gmail.com>
26888
26889 * string/tester.c (test_strcat): Add tests for different alignments
26890 of source and destination.
26891 (test_strncat): Likewise.
26892
6986b98a
UD
268932011-07-20 Ulrich Drepper <drepper@gmail.com>
26894
90bb2039
UD
26895 [BZ #12852]
26896 * posix/glob.c (glob): Check passed in values before using them in
26897 expressions to avoid some overflows.
26898 (glob_in_dir): Likewise.
26899
5644ef54
UD
26900 [BZ #13007]
26901 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
26902 check for AVX enablement so that we don't crash with old kernels and
26903 new hardware.
26904 * elf/tst-audit4.c: Add same checks here.
26905 * elf/tst-audit6.c: Likewise.
26906
26907 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 26908
bfc9dc9b
AS
269092011-07-09 Andreas Schwab <schwab@linux-m68k.org>
26910
26911 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
26912
702e64bb
UD
269132011-07-20 Ulrich Drepper <drepper@gmail.com>
26914
26915 * po/cs.po: Update from translation team.
26916 * po/bg.po: Likewise.
26917
295e904f
MP
269182011-07-12 Marek Polacek <mpolacek@redhat.com>
26919
26920 * misc/sys/cdefs.h: Add support for const attribute.
26921 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
26922 to gnu_dev_{major,minor,makedev} functions.
26923
3ff94596
MP
269242011-07-20 Marek Polacek <mpolacek@redhat.com>
26925
26926 * intl/dcigettext.c (get_output_charset): Add missing bracket.
26927
28b59fca
AS
269282011-07-20 Andreas Schwab <schwab@redhat.com>
26929
26930 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
26931 strlen results.
26932
19df733e
AK
269332011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26934
26935 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26936 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
26937 register in order to avoid conflicts with the soft frame pointer
26938 being held in r11 when necessary.
26939 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26940 (INTERNAL_VSYSCALL_NCS): Likewise.
26941
c8835729
MP
269422011-07-14 Marek Polacek <mpolacek@redhat.com>
26943
26944 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
26945 * elf/dl-fini.c (_dl_fini): Adjust caller.
26946 * elf/dl-close.c (_dl_close_worker): Likewise.
26947 * sysdeps/generic/ldsodefs.h: Adjust declaration.
26948
b902330c
MP
269492011-07-15 Marek Polacek <mpolacek@redhat.com>
26950
8991e135
MP
26951 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
26952 "aux_cache->nlibs < 0".
26953
b902330c
MP
26954 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
26955 in the reload-count case.
26956
99710781
LD
269572011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26958
26959 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26960 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
26961 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
26962 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
26963 * sysdeps/x86_64/multiarch/strcat.S: New file.
26964 * sysdeps/x86_64/multiarch/strncat.S: New file.
26965 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
26966 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
26967 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
26968 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
26969 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
26970 (USE_AS_STRCAT): Define.
26971 Add strcat and strncat support.
26972 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
26973 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26974 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
26975 * string/strncat.c: Update.
26976 (USE_AS_STRNCAT): Define.
26977 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26978 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
26979 and i7.
26980 * sysdeps/x86_64/multiarch/init-arch.h
26981 (bit_Prefer_PMINUB_for_stringop): New.
26982 (index_Prefer_PMINUB_for_stringop): Likewise.
26983 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
26984 bit_Prefer_PMINUB_for_stringop.
26985
7dc6bd90
UD
269862011-07-19 Ulrich Drepper <drepper@gmail.com>
26987
26988 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
26989 buffer64.
26990 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
26991 of casting of buffer.
26992 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
26993 buffer32 and buffer64.
26994 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
26995 writes instead of casting of buffer.
26996 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
26997 buffer32.
26998 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
26999 casting of buffer.
27000
e0e72284
AS
270012011-07-19 Andreas Schwab <schwab@redhat.com>
27002
27003 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
27004
feb1eb0b
UD
270052011-07-19 Ulrich Drepper <drepper@gmail.com>
27006
27007 * nscd/nscd.c (termination_handler): Don't do anything for a database
27008 if it has not yet been initialized.
27009
298711ff
UD
270102011-07-18 Ulrich Drepper <drepper@gmail.com>
27011
27012 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27013
270142011-07-15 Marek Polacek <mpolacek@redhat.com>
27015
27016 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27017
f9d68389
UD
270182011-07-18 Ulrich Drepper <drepper@gmail.com>
27019
27020 * po/nl.po: Update from translation team.
27021 * po/sv.po: Likewise.
27022
db290cf5
RM
270232011-07-16 Roland McGrath <roland@hack.frob.com>
27024
27025 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
27026 now disallowed by GCC.
5c550700 27027
fd5e21c7
RM
27028 * configure.in (use-default-link): Default to yes if a test -shared
27029 link meets our qualifications.
27030 * configure: Regenerated.
27031
5c550700
RM
27032 * config.make.in (output-format): New variable.
27033 * configure.in: Check for ld --print-output-format support.
27034 * configure: Regenerated.
27035 * Makerules ($(common-objpfx)format.lds)
27036 [$(output-format) != unknown]: Just use $(output-format),
27037 instead of the linker-script munging.
27038
9fa2c032
RM
270392011-07-14 Roland McGrath <roland@hack.frob.com>
27040
a6928d51
RM
27041 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
27042 of $(common-objpfx)shlib.lds.
27043 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
27044
661607b3
RM
27045 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
27046 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
27047
9fa2c032
RM
27048 * configure.in (-z relro check): Adjust test code to add a large
27049 writable data section after it.
27050 * configure: Regenerated.
27051
defe9061
RM
270522011-07-11 Roland McGrath <roland@hack.frob.com>
27053
27054 * configure.in (-z relro check): Fix test code to make the variable
27055 truly const.
27056 * configure: Regenerated.
27057
319b9ad4
UD
270582011-07-11 Ulrich Drepper <drepper@gmail.com>
27059
27060 * nscd/nscd.h (struct traced_file): Define.
27061 (struct database_dyn): Remove inotify_descr, reset_res, and filename
27062 elements. Add traced_files.
27063 (inotify_fd): Declare.
27064 (register_traced_file): Declare.
27065 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
27066 (inotify_fd): Export.
27067 (resolv_conf_descr): Remove.
27068 (nscd_init): Move inotify descriptor creation to main.
27069 Don't register files for notification here.
27070 (register_traced_file): New function.
27071 (invalidate_cache): Don't use reset_res to determine whether to call
27072 res_init, go through the list of registered files.
27073 (main_loop_poll): The inotify descriptors are now stored in the
27074 structures for the traced files.
27075 (main_loop_epoll): Likewise
27076 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
27077 to __nss_disable_nscd.
27078 * nscd/cache.c (prune_cache): There is no single inotify descriptor
27079 for a database anymore. Check the records for all the registered
27080 files instead.
27081 * nss/Makefile (libnss_files-routines): Add files-init.
27082 (libnss_db-routines): Add db-init.
27083 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
27084 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
27085 * nss/nss_db/db-init.c: New file.
27086 * nss/nss_files/files-init.c: New file.
27087 * nss/nsswitch.c (nss_load_library): New function. Broken out of
27088 __nss_lookup_function.
27089 (__nss_lookup_function): Call nss_load_library.
27090 (nss_load_all_libraries): New function.
27091 (__nss_disable_nscd): Take parameter with callback function for files
27092 to register. Set is_nscd. Load all the DSOs for the NSS modules
27093 used for the cached services.
27094 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
27095 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
27096 options for features to all the files in nscd.
27097
27098 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
27099
23bee3e8
RM
271002011-07-10 Roland McGrath <roland@hack.frob.com>
27101
27102 * csu/elf-init.c (__libc_csu_init): Comment typo.
27103
46a5b7f0
UD
271042011-07-09 Ulrich Drepper <drepper@gmail.com>
27105
27106 * po/pl.po: Update from translation team.
27107 * po/ja.po: Likewise.
27108 * po/ru.po: Likewise.
27109 * po/ko.po: Likewise.
27110 * po/fr.po: Likewise.
27111
d30cf5bb
RM
271122011-07-09 Roland McGrath <roland@hack.frob.com>
27113
113ddea4
RM
27114 * configure.in (.ctors/.dtors header and trailer check):
27115 Use an empirical test on a built program.
27116 * configure: Regenerated.
27117
574920b4
RM
27118 * configure.in (-z relro check): Use an empirical test on a built DSO.
27119 Detect, but do not require, on ia64.
27120 * configure: Regenerated.
27121
d30cf5bb
RM
27122 * configure.in (READELF): Find it with AC_CHECK_TOOL.
27123 Update tests that use readelf to use $READELF instead.
27124 * configure: Regenerated.
27125
8538fdb3
UD
271262011-07-08 Ulrich Drepper <drepper@gmail.com>
27127
27128 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
27129 if the result is not used.
27130
04d08991
AJ
271312011-07-05 Andreas Jaeger <aj@suse.de>
27132
27133 [BZ#9696]
27134 * stdlib/tst-strtod.c: Add testcase.
27135
de283087
AD
271362011-07-07 Ulrich Drepper <drepper@gmail.com>
27137
4e5f31c8 27138 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 27139 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
27140 The latter has a higher limit. Take additional parameter to pass to
27141 the new function.
27142 (__pathconf): Pass file to __statfs_link_max.
27143 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
27144 __statfs_link_max.
27145 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
27146 __statfs_link_max.
27147
de283087
AD
27148 [BZ #12868]
27149 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
27150 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27151 Handle Lustre.
27152 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
27153 (__statfs_filesize_max): Likewise.
27154 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
27155
c75fa153
AJ
271562011-07-05 Andreas Jaeger <aj@suse.de>
27157
27158 * resolv/res_comp.c (dn_skipname): Remove unused variable.
27159
1a544854
UD
271602011-07-06 Marek Polacek <mpolacek@redhat.com>
27161
27162 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
27163 `status' variable.
27164 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
27165 Likewise.
27166
6f0eec67
UD
271672011-07-04 H.J. Lu <hongjiu.lu@intel.com>
27168
27169 * Makefile (strop-tests): Add strncat.
27170 * string/test-strncat.c: New file.
27171
aae30307
UD
271722011-06-30 Marek Polacek <mpolacek@redhat.com>
27173
27174 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
27175
c0cfb5eb
UD
271762011-06-21 Andreas Jaeger <aj@suse.de>
27177
27178 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
27179 Copy rule from iconvdata/Makefile.
27180
01636b21
UD
271812011-07-06 Ulrich Drepper <drepper@gmail.com>
27182
27183 [BZ #12922]
27184 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
27185 but no long options are defined, just return 'W'.
27186
9895c8bc
UD
271872011-06-22 Marek Polacek <mpolacek@redhat.com>
27188
27189 [BZ #9696]
27190 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
27191
5d4cf042
UD
271922011-07-06 Ulrich Drepper <drepper@gmail.com>
27193
27194 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
27195 netgroups to read.
960e5535 27196 (innetgr): Likewise.
5d4cf042 27197
751eb97e
RM
271982011-07-05 Roland McGrath <roland@hack.frob.com>
27199
27200 * config.make.in (install_root): Default to $(DESTDIR).
27201
f15f1e45
UD
272022011-07-05 Ulrich Drepper <drepper@gmail.com>
27203
27204 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
27205
4e34ac6a
RM
272062011-07-02 Roland McGrath <roland@hack.frob.com>
27207
5e9b6af4
RM
27208 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
27209
84f9ea0f
RM
27210 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
27211 containing directory rather than embedding absolute directory names.
27212
ea5ee9f7
RM
27213 * scripts/check-local-headers.sh: Rewritten using awk.
27214 Match by word, not by line. Print error messages for matches.
27215 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
27216
1b74661a
RM
27217 * Makerules [shlib-lds-flags empty]:
27218 ($(common-objpfx)libc_pic.opts): New target.
27219 ($(common-objpfx)libc_pic.os.clean): New target.
27220 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
27221
27222 * config.make.in (OBJCOPY): New variable.
27223 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
27224 * configure: Regenerated.
27225
f781ef40
RM
27226 * config.make.in (use-default-link): New variable.
27227 * configure.in (use_default_link): Grok --with-default-link to set it.
27228 * configure: Regenerated.
27229 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
27230 (shlib-lds, shlib-lds-flags): Define to empty.
27231
2d4fa81e
RM
27232 * Makerules (shlib-lds): New variable.
27233 (shlib-lds-flags): New variable.
27234 (build-shlib, build-moduile, build-module-asneeded): Use it.
27235 ($(common-objpfx)libc.so): Use $(shlib-lds).
27236 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
27237 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
27238
31fffa6b
RM
27239 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
27240 DT_FLAGS/DT_FLAGS_1 with zero flags.
27241
4e34ac6a
RM
27242 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
27243 linker script munging.
27244
fcfc776b
UD
272452011-07-02 Ulrich Drepper <drepper@gmail.com>
27246
27247 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
27248 as 128-bit value.
27249 * crypt/sha512.c (sha512_process_block): Perform total addition using
27250 128-bit if possible.
27251 (__sha512_finish_ctx): Likewise.
27252 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
27253 as 64-bit value.
27254 * crypt/sha256.c (SWAP64): Define.
27255 (sha256_process_block): Perform total addition using 64-bit if
27256 possible.
27257 (__sha256_finish_ctx): Likewise.
27258
99231d9a
UD
272592011-07-01 Ulrich Drepper <drepper@gmail.com>
27260
27261 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
27262 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27263 * nscd/hstcache.c (cache_addhst): Likewise.
27264 * nscd/grpcache.c (cache_addgr): Likewise.
27265 * nscd/aicache.c (addhstaiX): Likewise
27266 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
27267
445b4a53
TK
272682011-07-01 Thorsten Kukuk <kukuk@suse.de>
27269
27270 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
27271 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27272 * nscd/hstcache.c (cache_addhst): Likewise.
27273 * nscd/grpcache.c (cache_addgr): Likewise.
27274 * nscd/aicache.c (addhstaiX): Likewise
27275
6d4d8e8e
AS
272762011-07-01 Andreas Schwab <schwab@redhat.com>
27277
27278 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
27279 domain only when needed.
27280
89f654c5
AS
272812011-06-30 Andreas Schwab <schwab@redhat.com>
27282
27283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
27284 is always restored.
27285
cf3b23ff
UD
272862011-06-29 Ulrich Drepper <drepper@gmail.com>
27287
27288 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
27289 are re-adding the entry.
27290 * nscd/servicescache.c (cache_addserv): Likewise.
27291
751626f9
AJ
272922011-06-30 Aurelien Jarno <aurelien@aurel32.net>
27293
27294 * sysdeps/generic/dl-irel.h: fix protection against multiple
27295 inclusions.
27296 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
27297
9113ea1f
UD
272982011-06-28 Ulrich Drepper <drepper@gmail.com>
27299
5c0b8d90
UD
27300 [BZ #12935]
27301 * malloc/memusage.sh: Fix quoting in message.
27302 * debug/xtrace.sh: Likewise.
27303
9113ea1f
UD
27304 * configure.in: Remove support for --experimental-malloc option, make
27305 it the default.
27306 * config.make.in: Likewise.
27307 * malloc/Makefile: Likewise.
27308
a4172181
AS
273092011-06-27 Andreas Schwab <schwab@redhat.com>
27310
27311 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
27312 two-byte characters.
27313
78a7eee7
RM
273142011-06-27 Roland McGrath <roland@hack.frob.com>
27315
62bede13
RM
27316 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
27317 AC_CACHE_CHECK invocation.
27318 * configure: Regenerated.
27319
78a7eee7
RM
27320 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
27321
5ce33a62
UD
273222011-06-27 Ulrich Drepper <drepper@gmail.com>
27323
034807a9
UD
27324 [BZ #12350]
27325 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
27326 bit from old_res_options.
27327
4902da17
UD
27328 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
27329
5ce33a62
UD
27330 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
27331 value type for setfct.
27332
c2344f56
L
273332011-06-23 H.J. Lu <hongjiu.lu@intel.com>
27334
27335 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27336 __gettimeofday instead of gettimeofday.
27337
68468076
UD
273382011-06-26 Ulrich Drepper <drepper@gmail.com>
27339
27340 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
27341
acb0d739
L
273422011-06-24 H.J. Lu <hongjiu.lu@intel.com>
27343
27344 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
27345
27346 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
27347 info.
27348
8912479f
L
273492011-06-22 H.J. Lu <hongjiu.lu@intel.com>
27350
27351 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27352 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
27353 strcpy-sse2-unaligned strncpy-sse2-unaligned
27354 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
27355 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
27356 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
27357 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
27358 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
27359 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
27360 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
27361 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
27362 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
27363 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
27364 (STRCPY): Support SSE2 and SSSE3 versions.
27365
d5495a11
UD
273662011-06-24 Ulrich Drepper <drepper@gmail.com>
27367
27368 [BZ #12874]
27369 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
27370 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
27371 kernels which artificially limit size of requests.
27372
0b1cbaae
L
273732011-06-22 H.J. Lu <hongjiu.lu@intel.com>
27374
27375 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27376 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
27377 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
27378 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
27379 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
27380 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
27381 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
27382 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
27383 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
27384 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
27385 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
27386 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
27387 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
27388 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
27389 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
27390 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27391 Enable unaligned load optimization for Intel Core i3, i5 and i7
27392 processors.
27393 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
27394 Define.
27395 (index_Fast_Unaligned_Load): Define.
27396 (HAS_FAST_UNALIGNED_LOAD): Define.
27397
07f494a0
MP
273982011-06-23 Marek Polacek <mpolacek@redhat.com>
27399
27400 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
27401
fa3fc0fe
UD
274022011-06-22 Ulrich Drepper <drepper@gmail.com>
27403
27404 [BZ #12907]
27405 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
27406 until it is clear that the information is realy needed.
27407 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
27408
e12df166
AS
274092011-06-22 Andreas Schwab <schwab@redhat.com>
27410
27411 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
27412
852eb34d
UD
274132011-06-22 Ulrich Drepper <drepper@gmail.com>
27414
84e2a551
UD
27415 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27416 /sys/devices/system/cpu/online if it is usable.
27417
852eb34d
UD
27418 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
27419 reading the information from the /proc filesystem to once a second.
27420
6e502e19
UD
274212011-06-21 Andreas Jaeger <aj@suse.de>
27422
27423 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
27424 NULL after inclusion of kernel headers.
27425
75d39ff2
UD
274262011-06-21 Ulrich Drepper <drepper@gmail.com>
27427
51f9aa6a
UD
27428 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
27429 calls to internal_setent.
27430
c0244a9d
UD
27431 [BZ #12885]
27432 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
27433 addresses using gethostbyname4_r ignore IPv4 addresses.
27434
c5e3c2ae
UD
27435 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
27436 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
27437
75d39ff2
UD
27438 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
27439
42675c6f
DM
274402011-06-20 David S. Miller <davem@davemloft.net>
27441
27442 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
27443 inclusions.
27444 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
27445
27446 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
27447 (elf_irel): Use it.
27448 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
27449 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
27450 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
27451 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
27452 * sysdeps/x86_64/dl-irel.h: Likewise.
27453
27454 * elf/dl-runtime.c: Use elf_ifunc_invoke.
27455 * elf/dl-sym.c: Likewise.
27456
57912a71
UD
274572011-06-15 Ulrich Drepper <drepper@gmail.com>
27458
27459 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
27460 need to dereference resplen2.
27461
ee22793d
AS
274622011-06-14 Andreas Schwab <schwab@redhat.com>
27463
27464 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
27465
a9e836b0
UD
274662011-06-15 Ulrich Drepper <drepper@gmail.com>
27467
77fb9117
UD
27468 * Makeconfig: Define vardbdir and inst_vardbdir.
27469 * nss/Makefile: Add rules to install db-Makefile.
27470
40c1b22c
UD
27471 * nss/nss_db/db-XXX.c: Cleanup.
27472
9f2da732
UD
27473 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
27474 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
27475 GLIBC_PRIVATE.
27476 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
27477 * nss/makedb.c: Implement -g option to specify that value strings
27478 are generated and should not be added to table iterated over for
27479 get*ent calls.
27480 * nss/nss_db/db-initgroups.c: New file.
27481
82e9a1f7
UD
27482 * nss/getent.c: Add support for initgroups lookups through getgrouplist
27483 interface.
27484
c41af17e
UD
27485 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
27486 (internal_getgrouplist): Adjust to name change.
27487 Update use_initgroups_entry if this is not the first call.
27488 * nss/databases.def: Add initgroups entry.
27489
a9e836b0
UD
27490 * nss/makedb.c (compute_tables): Check result of multiple hash table
27491 sizes to minimize maximum chain length.
27492
2666d441
UD
274932011-06-14 Ulrich Drepper <drepper@gmail.com>
27494
27495 * Versions.def: Add entry for libnss_db.
27496 * shlib-versions: Likewise.
27497 * nss/Makefile: Add rules to build libnss_db.
27498 * nss/Versions: Add libnss_db information. Organize libnss_files
27499 entries better.
27500 * nss/db-Makefile: Add gshadow support. Change rules for the new
27501 makedb progra. Some minor improvements to generate smaller files.
27502 * nss/nss_db/nss_db.h: Move NSS database header data structures to
27503 here from...
27504 * nss/makedb.c: ...here.
27505 Improve database format to be smaller and require less memory at
27506 runtime.
27507 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
27508 db anymore.
27509 * nss/nss_db/db-netgrp.c: Likewise.
27510 * nss/nss_db/db-open.c: Likewise.
27511 * nss/nss_files/flies-XXX.x: Adjust comments.
27512 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
27513 * nss/nss_files/files-grp.c: Likewise.
27514 * nss/nss_files/files-hosts.c: Likewise.
27515 * nss/nss_files/files-network.c: Likewise.
27516 * nss/nss_files/files-proto.c: Likewise.
27517 * nss/nss_files/files-pwd.c: Likewise.
27518 * nss/nss_files/files-rpc.c: Likewise.
27519 * nss/nss_files/files-service.c: Likewise.
27520 * nss/nss_files/files-sgrp.c: Likewise.
27521 * nss/nss_files/files-spwd.c: Likewise.
27522 * nss/nss_db/db-alias.c: Removed.
27523 * nss/nss_db/dummy-db.h: Removed.
27524
9ee76b5a
UD
275252011-06-02 Ulrich Drepper <drepper@gmail.com>
27526
27527 * nss/makedb.c: Rewritten to not use database library.
27528 * nss/Makefile: Update to build new makedb program.
27529
c71ca1f8
AJ
275302011-06-14 Andreas Jaeger <aj@suse.de>
27531
27532 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
27533 memset declaration.
27534
3154bfb8
UD
275352011-06-10 Andreas Schwab <schwab@redhat.com>
27536
27537 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
27538 tmpbuf.
27539
b350afab
RM
275402011-06-10 Roland McGrath <roland@hack.frob.com>
27541
decd4e50
RM
27542 * Makerules (shlib.lds): Fail if the linker script comes out empty.
27543 * elf/Makefile ($(objpfx)ld.so): Likewise.
27544
5615eaf2
RM
27545 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
27546 Don't list ld.so twice in dependencies.
27547
27548 * posix/bug-regex31.c: Include <stdlib.h>.
27549
27550 * nscd/hstcache.c (cache_addhst): Remove unused variable.
27551
27552 * nis/nss_compat/compat-spwd.c
27553 (getspent_next_nss_netgr): Remove unused variable.
27554 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
27555
27556 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
27557 nonmembers" output to use the right array.
27558
27559 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
27560
27561 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
27562
27563 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
27564 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
27565 * catgets/gencat.c (read_input_file): Likewise.
27566 * locale/programs/locarchive.c (enlarge_archive): Likewise.
27567
27568 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
27569 variable definition inside #if's controlling its use.
27570
27571 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
27572
27573 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
27574
27575 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
27576
27577 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
27578 unreachable code.
27579
27580 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
27581
b68e08db
RM
27582 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
27583 * configure: Regenerated.
27584
b350afab
RM
27585 * Makerules: Revert last change.
27586 * elf/Makefile: Likewise.
27587
28368601
RM
275882011-06-09 Roland McGrath <roland@hack.frob.com>
27589
27590 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
27591 * elf/Makefile ($(objpfx)librtld.os): Likewise.
27592 (reloc-link): Likewise.
27593
11988f8f
UD
275942011-06-09 Ulrich Drepper <drepper@gmail.com>
27595
27596 * elf/Makefile: Add rules to build pldd.
27597 * elf/pldd.c: New file.
27598 * elf/pldd-xx.c: New file.
27599
e80fab37
UD
276002011-06-07 Ulrich Drepper <drepper@gmail.com>
27601
27602 * version.h: Update for 2.15 development version.
27603
9b849836
DM
276042011-06-07 David S. Miller <davem@davemloft.net>
27605
27606 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
27607 ifuncs.
27608 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
27609 elf_machine_lazy_rel): Likewise.
27610 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27611 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
27612 elf_machine_lazy_rel): Likewise.
27613 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
27614 dl_hwcap via passed in argument.
27615 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
27616 Likewise.
27617
5a31b283
AK
276182011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27619
27620 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
27621
069e52f8
RM
276222011-06-06 Roland McGrath <roland@hack.frob.com>
27623
27624 [BZ #12849]
27625 * manual/fdl-1.1.texi: New file, verbatim from:
27626 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
27627 * manual/lgpl-2.1.texi: New file, verbatim from:
27628 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
27629 * manual/Makefile (licenses): New variable, list those new file names.
27630 (texis): Use it.
27631 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
27632
27633 * manual/fdl.texi: File removed.
27634 * manual/lesser.texi: File removed.
27635 * manual/libc.texinfo (Copying, Documentation License):
27636 Use new @include file names, put @appendix directive before @include.
27637
f16846a5
JJ
276382011-06-04 Jakub Jelinek <jakub@redhat.com>
27639
27640 [BZ #12841]
27641 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
27642 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
27643 (mq_open): Add __NTH.
27644
3d29045b
L
276452011-06-02 H.J. Lu <hongjiu.lu@intel.com>
27646
27647 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27648 Assume Intel Core i3/i5/i7 processor if AVX is available.
27649
8c297311
UD
276502011-05-31 Ulrich Drepper <drepper@gmail.com>
27651
27652 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27653 typo.
27654
c8fc0c91
UD
276552011-05-31 Andreas Schwab <schwab@redhat.com>
27656
27657 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
27658 memory. Use alloca_account. Fix memory leak when retrying.
27659
5b27a807
UD
276602011-05-31 Ulrich Drepper <drepper@gmail.com>
27661
356f8bc6
UD
27662 * version.h (RELEASE): Bump for 2.14 release.
27663 * include/features.h (__GLIBC_MINOR__): Bump to 14.
27664
5b27a807
UD
27665 * config.make.in (RANLIB): Remove entry.
27666
01f16ab0
UD
276672011-05-30 Ulrich Drepper <drepper@gmail.com>
27668
41fce8bd
UD
27669 * po/Makefile (po-sed-cmd): Add ksh to extensions.
27670 (libc.pot): Work around missing support for .ksh extension in xgettext.
27671
4769ae77
UD
27672 [BZ #12684]
27673 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
27674 if both request failed.
27675 (send_dg): In case of server errors clear resplen or *resplen2.
27676
6b1e7d19
UD
27677 [BZ #12454]
27678 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
27679 when there are multiple maps.
27680 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
27681 (_dl_fini): Remove test here.
27682
01f16ab0
UD
27683 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
27684
b1ebd700
UD
276852011-05-29 Ulrich Drepper <drepper@gmail.com>
27686
7ae22829
UD
27687 [BZ #12350]
27688 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
27689 bit from old_res_options.
27690 (gaih_inet): Likewise.
27691
553149f6 27692 [BZ #11099]
18a84741 27693 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
27694 as signed.
27695
652ffab1
UD
27696 * resolv/res_init.c (res_setoptions): Make the code more compact.
27697
16985fd0
UD
27698 [BZ #11558]
27699 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
27700 set RES_USEVC.
27701
0464f746
UD
27702 [BZ #11634]
27703 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
27704
7d17596c
UD
27705 * malloc/malloc.h: Mark malloc hook variables as deprecated.
27706
cf6bbbd7
UD
27707 [BZ #11781]
27708 * malloc/malloc.h: Declare malloc hook variables as volatile.
27709
13f1ab36
UD
27710 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
27711 in last patch.
27712
b1ebd700
UD
27713 [BZ #11799]
27714 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 27715 raise in the comment.
80e2212d
UD
27716 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27717 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27718 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 27719
ce67228d
UD
277202011-05-28 Ulrich Drepper <drepper@gmail.com>
27721
8887a920
UD
27722 [BZ #12811]
27723 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
27724 grow the buffers more if it already has to be sufficient.
27725 (build_wcs_upper_buffer): Likewise.
27726 * posix/regexec.c (check_matching): Likewise.
27727 (clean_state_log_if_needed): Likewise.
27728 (extend_buffers): Don't enlarge buffers beyond size of the input
27729 buffer.
27730 Patches mostly by Emil Wojak <emil@wojak.eu>.
27731 * posix/bug-regex32.c: New file.
27732 * posix/Makefile (tests): Add bug-regex32.
27733
4f031072
UD
27734 * locale/findlocale.c (_nl_find_locale): Return right away if
27735 _nl_explode_name failed.
27736 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27737
d0478f0c
UD
27738 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
27739
de81b246
UD
27740 * debug/xtrace.sh: Unify messages.
27741 * malloc/memusage.sh: Likewise.
27742
c738465a
UD
27743 [BZ #12813]
27744 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
27745 time symbol from vDSO. Substitute with vsyscall if not available.
27746 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
27747 __vdso_time.
27748
f1f929d7
UD
27749 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
27750 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
27751 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
27752 Add sendmmsg and internal_sendmmsg.
27753 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
27754 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
27755 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
27756
ce67228d
UD
27757 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
27758 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
27759 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
27760
e57420c6
UD
277612011-05-27 Ulrich Drepper <drepper@gmail.com>
27762
a8509ca5
UD
27763 [BZ #12813]
27764 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
27765 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
27766 available.
27767 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
27768 __vdso_getcpu.
27769
e57420c6
UD
27770 [BZ #12814]
27771 * iconvdata/Makefile (tests): Add bug-iconv9.
27772 * iconvdata/bug-iconv9.c: New file.
27773
4d07db15
AS
277742011-05-27 Andreas Schwab <schwab@redhat.com>
27775
27776 [BZ #12814]
27777 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
27778
ea486f69
JJ
277792011-05-25 Jakub Jelinek <jakub@redhat.com>
27780
27781 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27782 (struct user_regs_struct): Change intcs field back to cs.
27783
6f038433
UD
277842011-05-25 Ulrich Drepper <drepper@gmail.com>
27785
27786 * po/ja.po: Update from translation team.
27787
67f86a25
UD
277882011-05-23 Ulrich Drepper <drepper@gmail.com>
27789
27790 [BZ #12795]
27791 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
27792 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
27793
def7fbd6
AS
277942011-05-20 Andreas Schwab <schwab@redhat.com>
27795
27796 * stdlib/longlong.h: Update from GCC.
27797
f50ef8f1
AS
277982011-05-23 Andreas Schwab <schwab@redhat.com>
27799
27800 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
27801 parameter name.
27802 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
27803 Add parameter name.
27804 (__sysconf): Pass it down.
27805
de7ce8f1
UD
278062011-05-22 Ulrich Drepper <drepper@gmail.com>
27807
f2962a71
UD
27808 [BZ #12671]
27809 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
27810 some situations.
27811 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27812 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
27813 add in in __libc_use_alloca calls. Adjust callers.
27814 (glob): Use malloc in some situations.
27815
de7ce8f1
UD
27816 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
27817 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
27818 pltexit.
27819
aec84f53
UD
278202011-05-21 Ulrich Drepper <drepper@gmail.com>
27821
05bb4a68
UD
27822 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
27823 and CLOCK_BOOTTIME_ALARM.
27824
7ea72f99
UD
27825 [BZ #12782]
27826 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
27827 is returned.
27828
7e4afad5
UD
27829 * string/_strerror.c (__strerror_r): Print negative errors as signed
27830 numbers.
27831
8e211fec
UD
27832 [BZ #12777]
27833 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
27834 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
27835 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
27836
f7d82dc9
UD
27837 * configure.in: Fix typo in redirection and correct removal of test
27838 files in two cases.
27839
cc9e536d
UD
27840 [BZ #12788]
27841 * locale/setlocale.c (new_composite_name): Fix test to check for
27842 identical name of all categories.
27843
aec84f53
UD
27844 [BZ #12792]
27845 * libio/filedoalloc.c (local_isatty): New function.
27846 (_IO_file_doallocate): Use local_isatty.
27847 * stdio-common/perror.c (perror): In case a new stream is used
27848 forward the stream error.
27849 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
27850 error flag.
27851
78e64fdc
RT
278522011-05-20 Ulrich Drepper <drepper@gmail.com>
27853
34a9094f
UD
27854 [BZ #11869]
27855 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
27856 alloca.
27857 * include/alloca.h (extend_alloca_account): Define.
27858
78e64fdc
RT
27859 [BZ #11857]
27860 * posix/regex.h: Fix comments with documentation of user-accessible
27861 fields after compilation and describe correct free'ing of pattern
27862 after re_compile_pattern.
27863 Patch by Reuben Thomas <rrt@sc3d.org>.
27864
457bddfc
RA
278652011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
27866
27867 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
27868 and -mno-altivec to prevent the compiler from using Altivec and/or
27869 VSX instructions when the corresponding registers are not available.
27870
a4527b51
AS
278712011-05-19 Andreas Schwab <schwab@redhat.com>
27872
27873 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
27874
ed690b2f
UD
278752011-05-19 Ulrich Drepper <drepper@gmail.com>
27876
27877 * libio/freopen.c (freopen): Use __dup2, not dup2.
27878 * libio/freopen64.c (freopen64): Likewise.
27879
8db73634
L
278802011-05-17 H.J. Lu <hongjiu.lu@intel.com>
27881
27882 [BZ #12775]
27883 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
27884 * math/Makefile (tests): Add test-powl.
27885 (CFLAGS-test-powl.c): Define.
27886 * math/test-powl.c: New file.
27887
0a197a9d
L
278882011-05-16 H.J. Lu <hongjiu.lu@intel.com>
27889
27890 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
27891
ee30c380
UD
278922011-05-17 Ulrich Drepper <drepper@gmail.com>
27893
27894 [BZ #11837]
27895 * iconvdata/gb18030.c: Update to GB18020-2005.
27896
6ce75379
UD
278972011-05-16 Ulrich Drepper <drepper@gmail.com>
27898
a4b89fd8
AR
27899 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
27900 RE_SYNTAX_POSIX_AWK): Update to match recent development.
27901 Patch by Aharon Robbins <arnold@skeeve.com>.
27902
ea389b12
UD
27903 [BZ #11892]
27904 * stdlib/putenv.c (putenv): Don't always create copy of the variable
27905 on the stack.
27906
68a3f91f
UD
27907 [BZ #11895]
27908 * misc/pselect.c (__pselect): Handle timeout value errors hidden
27909 through underflows.
27910
15cc7dd1
UD
27911 [BZ #12766]
27912 * misc/error.c (error_at_line): Ensure file_name and old_file_name
27913 point to strings before performing equality test for error_one_per_line
27914 mode.
27915
f3799213
UD
27916 [BZ #11697]
27917 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
27918
d79a9c94
UD
27919 [BZ #11820]
27920 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27921 (struct user_fpregs_struct): Avoid __uint*_t types.
27922
56e5eb46
UD
27923 [BZ #6420]
27924 * malloc/mtrace.c (tr_where): Add additional parameter to point to
27925 symbol info. Use it instead of calling _dl_addr locally.
27926 (lock_and_info): New function.
27927 (tr_freehook): Call lock_and_info and pass symbol info as additional
27928 parameter to tr_where.
27929 (tr_mallochook): Likewise.
27930 (tr_reallochook): Likewise.
27931 (tr_memalignhook): Likewise.
27932
6ce75379
UD
27933 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
27934 used and couldn't be at all thread-safe.
27935
f8a3b5bf
UD
279362011-05-15 Ulrich Drepper <drepper@gmail.com>
27937
94b7cc37
UD
27938 * libio/freopen.c (freopen): Don't close old file descriptor
27939 before the new one is opened. Instead dup the new file descriptor
27940 to the old one after the new stream is created.
27941 * libio/freopen64.c (freopen64): Likewise.
27942 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
27943 * libio/fileops.c (_IO_new_file_close_it): Handle new
27944 _IO_FLAGS2_NOCLOSE flag.
27945 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
27946 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
27947 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
27948 _IO_FLAGS2_NOCLOSE flag.
27949 * include/unistd.h: Add hidden_proto for dup3.
27950 Define __have_dup3.
27951 * io/dup3.c: Define hidden symbol.
27952 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
27953
bd25564e
UD
27954 [BZ #7101]
27955 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
27956 when an incomplete long option is used.
27957 * posix/tst-getopt_long1.c: New file.
27958 * posix/Makefile (tests): Add tst-getopt_long1.
27959
c84cfef4
UD
27960 [BZ #10138]
27961 * scripts/config.guess: Update from autoconf-2.68.
27962 * scripts/config.sub: Likewise.
27963
3b85df27
UD
27964 [BZ #10157]
27965 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
27966 tests into ...
27967 (has_cpuclock): ...this. New function.
27968 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
27969 macro here based on has_cpuclock code.
27970
15a856b1
UD
27971 [BZ #10149]
27972 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27973 First byte (not low byte) is now always NUL.
27974 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
27975
05f399e6
UD
27976 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27977 Use non-cancelable interfaces.
27978
10a52685 27979 [BZ #9809]
94ecc67d
UD
27980 * locale/iso-639.def: Add entry for Sorani.
27981
f8a3b5bf
UD
27982 [BZ #11901]
27983 * include/stdlib.h: Move include protection to the right place.
27984 Define abort_msg_s. Declare __abort_msg with it.
27985 * stdlib/abort.c (__abort_msg): Adjust type.
27986 * assert/assert.c (__assert_fail_base): New function. Majority
27987 of code from __assert_fail. Allocate memory for __abort_msg with
27988 mmap.
27989 (__assert_fail): Now call __assert_fail_base.
27990 * assert/assert-perr.c: Remove bulk of implementation. Use
27991 __assert_fail_base.
27992 * include/assert.hL Declare __assert_fail_base.
27993 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
27994 mmap.
27995 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
27996
1af4e298
UD
279972011-05-14 Ulrich Drepper <drepper@gmail.com>
27998
f8a3b5bf 27999 [BZ #11952]
d26dfc60
MG
28000 [BZ #12453]
28001 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
28002 until all modules are registered in the DTV.
28003 * elf/Makefile: Add rules to build and run tst-tls19.
28004 * elf/tst-tls19.c: New file.
28005 * elf/tst-tls19mod1.c: New file.
28006 * elf/tst-tls19mod2.c: New file.
28007 * elf/tst-tls19mod3.c: New file.
28008 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
28009
2fc54d6f
UD
28010 [BZ #12083]
28011 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
28012 correctly.
28013
98d76b46
UD
28014 [BZ #12601]
28015 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
28016 two-byte sequence errors.
28017 * iconvdata/Makefile (tests): Add bug-iconv8.
28018 * iconvdata/bug-iconv8.c: New file.
28019
da3c19ef
UD
28020 [BZ #12626]
28021 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
28022 buf2 definition.
28023
ca408c15
UD
28024 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
28025
d6f67f7d
UD
28026 [BZ #12432]
28027 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
28028 (dummy_getcfa): New function.
28029 (init): Get _Unwind_GetCFA address, use dummy if not found.
28030 (backtrace_helper): In recursion check, also check whether CFA changes.
28031 (__backtrace): Completely initialize arg.
28032
1af4e298 28033 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
28034 storing incomplete byte sequence in state object. Avoid testing for
28035 guaranteed too small input if we know there is enough data available.
1af4e298 28036
da62f81b
AS
280372011-05-11 Andreas Schwab <schwab@redhat.com>
28038
28039 * Makeconfig (+link-pie): Indent.
28040 * Rules (binaries-pie): Define if $(have-fpie) and
28041 $(build-shared).
28042 (binaries-shared): Also filter out $(binaries-pie).
28043 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
28044 * nscd/Makefile (others-pie): Add nscd.
28045 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
28046 ($(objpfx)nscd): Remove command override.
28047 * login/Makefile (others-pie): Add pt_chown.
28048 ($(objpfx)pt_chown): Remove command override.
28049 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
28050 remove command overrides.
28051
fcabc0f8
UD
280522011-05-13 Ulrich Drepper <drepper@gmail.com>
28053
20030ae6
UD
28054 * libio/tst_putwc.c: Fix error messages.
28055
fcabc0f8
UD
28056 [BZ #12724]
28057 * libio/fileops.c (_IO_new_file_close_it): Always flush when
28058 currently writing and seek to current position when not.
28059 * libio/Makefile (tests): Add bug-fclose1.
28060 * libio/bug-fclose1.c: New file.
28061
320a5dc0
PB
280622011-05-12 Ulrich Drepper <drepper@gmail.com>
28063
28064 [BZ #12511]
28065 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
28066 don't set DF_1_NODELETE here.
28067 (do_lookup_x): When entering new entry test for copy relocation
28068 and if necessary set DF_1_NODELETE flag.
28069 * elf/tst-unique4.cc: New file.
28070 * elf/tst-unique4.h: New file.
28071 * elf/tst-unique4lib.cc: New file.
28072 * elf/Makefile: Add rules to build and run tst-unique4.
28073 Patch by Piotr Bury <pbury@goahead.com>.
28074
22836f52
UD
280752011-05-11 Ulrich Drepper <drepper@gmail.com>
28076
f574184a
UD
28077 [BZ #12052]
28078 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
28079
e1fb097f
UD
28080 [BZ #12625]
28081 * misc/mntent_r.c (addmntent): Flush the stream after the output
28082
22836f52
UD
28083 [BZ #12393]
28084 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
28085 (is_trusted_path_normalize): Skip initial colon. Append slash
28086 to empty buffer. Duplicate is_trusted_path code but allow
28087 constructed patch to be prefix.
28088 (is_dst): Allow $ORIGIN followed by /.
28089 (_dl_dst_substitute): Correct clearing of check_for_trusted.
28090 Correct testing of result of is_trusted_path_normalize
28091 (decompose_rpath): Fix warning.
28092
7b3b0b2a
UD
280932011-05-10 Ulrich Drepper <drepper@gmail.com>
28094
28095 [BZ #11257]
28096 * grp/initgroups.c (internal_getgrouplist): When we found the service
28097 list through the initgroups entry in nsswitch.conf do not always
28098 continue on a successful lookup. Don't always use the
eac80ce2 28099 __nss_group_database value if it is set.
7b3b0b2a
UD
28100 * nss/nsswitch.conf (initgroups): Change action for successful db
28101 lookup to continue for compatibility.
28102
2a81eaa5
UD
281032011-05-09 Ulrich Drepper <drepper@gmail.com>
28104
be97a69e
UD
28105 [BZ #11532]
28106 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
28107 and CP774 modules.
28108 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
28109 and CP774 modules.
28110 * iconvdata/tst-tables.sh: Likewise.
28111 * iconvdata/cp770.c: New file.
28112 * iconvdata/cp771.c: New file.
28113 * iconvdata/cp772.c: New file.
28114 * iconvdata/cp773.c: New file.
28115 * iconvdata/cp774.c: New file.
28116 * iconvdata/testdata/CP770: New file.
28117 * iconvdata/testdata/CP770..UTF8: New file.
28118 * iconvdata/testdata/CP771: New file.
28119 * iconvdata/testdata/CP771..UTF8: New file.
28120 * iconvdata/testdata/CP772: New file.
28121 * iconvdata/testdata/CP772..UTF8: New file.
28122 * iconvdata/testdata/CP773: New file.
28123 * iconvdata/testdata/CP773..UTF8: New file.
28124 * iconvdata/testdata/CP774: New file.
28125 * iconvdata/testdata/CP774..UTF8: New file.
28126
28127 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
28128 END CHARMAP line.
28129 * iconvdata/gen-8bit-gap.sh: Likewise.
28130 * iconvdata/gen-8bit.sh: Likewise.
28131
c1e9e399
UD
28132 * locale/iso-639.def: Add ary entry.
28133
24c55fb3 28134 [BZ #11258]
96b4b1b0
UD
28135 * locale/C-translit.h.in: Add U20A1 transliteration.
28136
bdc2f971
KB
28137 [BZ #12178]
28138 * locale/iso-639.def: Add wae entry.
28139 Patch by Kevin Bortis <bortis@translate-wae.ch>.
28140
2952b117
UD
28141 [BZ #12545]
28142 * locale/programs/localedef.c (construct_output_path): Use ssize_t
28143 for n.
28144
2a81eaa5
UD
28145 [BZ #12711]
28146 * locale/C-translit.h.in: Add entry for U20B9.
28147 Patch by pravin.d.s@gmail.com.
28148
28377d1b
UD
281492011-05-08 Ulrich Drepper <drepper@gmail.com>
28150
7fb90fb8
UD
28151 [BZ #12713]
28152 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
28153 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
28154 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
28155 in rtld. Use *stat64.
7fb90fb8 28156 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 28157 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 28158 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
28159 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
28160 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
28161 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
28162 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
28163 __fstatat64 macros.
7fb90fb8
UD
28164 * include/dirent.h: Add libc_hidden_proto for rewinddir.
28165 * dirent/rewinddir.c: Add libc_hidden_def.
28166 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 28167 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 28168
28377d1b
UD
28169 * include/dirent.h (__alloc_dir): Add flags parameter.
28170 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
28171 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
28172 __alloc_dir.
28173 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
28174 from fdopendir if O_CLOEXEC is already set.
28175
66bdbaa4
AM
281762011-03-15 Alan Modra <amodra@gmail.com>
28177
28178 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
28179 l_tls_firstbyte_offset non-zero. Save padding offset in
28180 l_tls_firstbyte_offset for later use.
28181 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
28182 freeing static tls block.
28183
95721191
JN
281842011-03-05 Jonathan Nieder <jrnieder@gmail.com>
28185
28186 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
28187 where #ifdef was intended. The intent is to prevent ARG_MAX from
28188 being defined by the kernel headers.
28189
f87dfb1f
UD
281902011-05-07 Ulrich Drepper <drepper@gmail.com>
28191
28192 [BZ #12734]
28193 * resolv/resolv.h: Define RES_NOTLDQUERY.
28194 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
28195 no-tld-query and set RES_NOTLDQUERY.
28196 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
28197 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
28198 modern BIND to search name as TLD unless forbidden.
28199
47c3cd7a
UD
282002011-05-07 Petr Baudis <pasky@suse.cz>
28201 Ulrich Drepper <drepper@gmail.com>
28202
28203 [BZ #12393]
28204 * elf/dl-load.c (fillin_rpath): Move trusted path check...
28205 (is_trusted_path): ...to here.
c1e9ea35 28206 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 28207 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 28208 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 28209
8a35c912
PP
282102011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28211
28212 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
28213 __BEGIN/__END_DECLS.
28214
acd41f47
UD
282152011-05-06 Ulrich Drepper <drepper@gmail.com>
28216
28217 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
28218 NSS_STATUS_NOTFOUND if no record was found.
28219
597df647
AS
282202011-05-05 Andreas Schwab <schwab@redhat.com>
28221
28222 * sunrpc/Makefile (headers): Add rpc/netdb.h.
28223 (headers-not-in-tirpc): Remove rpc/netdb.h
28224 * resolv/netdb.h: Revert last change.
28225
b9af1301
PP
282262011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28227
28228 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
28229 circular dependency between libgcc.a and libc.a.
28230
4e34d5f5
AS
282312011-05-05 Andreas Schwab <schwab@redhat.com>
28232
28233 * resolv/netdb.h: Don't include <rpc/netdb.h>.
28234 * nis/Makefile: Don't install rpcsvc/*.
28235 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
28236 instead of <rpc/types.h>.
28237 (MAXHOSTNAMELEN): Define.
28238
00ee369c
AS
282392011-05-03 Andreas Schwab <schwab@redhat.com>
28240
28241 * elf/ldconfig.c (add_dir): Don't crash on empty path.
28242
0b592a30
MB
282432011-04-28 Maciej Babinski <mbabinski@google.com>
28244
28245 [BZ #12714]
28246 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
28247 gethostbyname4_r when IPv6 results are possible.
28248
6e04cbbe
UD
282492011-05-02 Ulrich Drepper <drepper@gmail.com>
28250
28251 [BZ #12723]
28252 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
28253 _PC_PIPE_BUF handling.
28254
e4ecafe0
BH
282552011-04-30 Bruno Haible <bruno@clisp.org>
28256
28257 [BZ #12717]
28258 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
28259 * resolv/netdb.h (getnameinfo): Change type of flags parameter
28260 to 'int'.
28261 * inet/getnameinfo.c (getnameinfo): Likewise.
28262
125ee683
UD
282632011-04-29 Ulrich Drepper <drepper@gmail.com>
28264
28265 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
28266 to groups setting in database lookup.
28267 * nss/nsswitch.conf: Add initgroups entry.
28268
b722481a
EB
282692011-04-22 Ulrich Drepper <drepper@gmail.com>
28270
28271 [BZ #12685]
28272 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
28273 mode string.
28274 Patch by Eric Blake <eblake@redhat.com>.
28275
4df46dbd
L
282762011-04-20 H.J. Lu <hongjiu.lu@intel.com>
28277
28278 * sunrpc/Makefile (need-export-routines): Add svc_run.
28279 (routines): Remove svc_run.
28280 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
28281 * sunrpc/clnt_perr.c (clnt_perrno): Export.
28282 * sunrpc/svc_run.c (svc_run): Likewise.
28283 * sunrpc/svc_udp.c (svcudp_create): Likewise.
28284
e84142d2
UD
282852011-04-21 Ulrich Drepper <drepper@gmail.com>
28286
28287 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
28288 problem in reallocation in last patch.
28289
877175d8
UD
282902011-04-20 Ulrich Drepper <drepper@gmail.com>
28291
28292 * sunrpc/Makefile: Move inclusion of Rules.
28293
ab8eed78
UD
282942011-04-19 Ulrich Drepper <drepper@gmail.com>
28295
28296 * nss/nss_files/files-initgroups.c: New file.
28297 * nss/Makefile (libnss_files-routines): Add files-initgroups.
28298 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
28299 _nss_files_initgroups_dyn.
28300
e3d8f584
RS
283012011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
28302
28303 * elf/elf.h (R_ARM_IRELATIVE): Define.
28304
af190f45
UD
283052011-04-19 Ulrich Drepper <drepper@gmail.com>
28306
28307 * po/ru.po: Update from translation team.
28308
53cf59ef
UD
283092011-04-17 Ulrich Drepper <drepper@gmail.com>
28310
28311 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
28312 dependencies.
28313
4c559bcd
MF
283142011-02-06 Mike Frysinger <vapier@gentoo.org>
28315
28316 [BZ #12653]
28317 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
28318 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
28319 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28320 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28321 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28322
4420675c
AS
283232011-03-28 Andreas Schwab <schwab@linux-m68k.org>
28324
28325 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
28326 differing bytes.
28327 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28328 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28329 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28330
75ea32ab
UD
283312011-04-17 Ulrich Drepper <drepper@gmail.com>
28332
28333 [BZ #12420]
28334 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
28335 storing it.
28336 * stdlib/bug-getcontext.c: New file.
28337 * stdlib/Makefile: Add rules to build and run bug-getcontext.
28338
27390476
AK
283392011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28340
28341 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
28342 instructions into .machine "z9-109".
28343 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
28344 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
28345
10442705
AK
283462011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28347
28348 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
28349 between environment variables and auxiliary vector.
28350
7b57bfe5
UD
283512011-04-16 Ulrich Drepper <drepper@gmail.com>
28352
28353 * Makefile: Add rules to build linkobj/libc.so.
28354 * include/libc-symbols.h: Define libc_hidden_nolink.
28355 * include/rpc/auth.h: Mark functions which are to be hidden.
28356 * include/rpc/auth_des.h: Likewise.
28357 * include/rpc/auth_unix.h: Likewise.
28358 * include/rpc/clnt.h: Likewise.
28359 * include/rpc/des_crypt.h: Likewise.
28360 * include/rpc/key_prot.h: Likewise.
28361 * include/rpc/pmap_clnt.h: Likewise.
28362 * include/rpc/pmap_prot.h: Likewise.
28363 * include/rpc/pmap_rmt.h: Likewise.
28364 * include/rpc/rpc_msg.h: Likewise.
28365 * include/rpc/svc.h: Likewise.
28366 * include/rpc/svc_auth.h: Likewise.
28367 * include/rpc/xdr.h: Likewise.
28368 * nis/Makefile: Link all DSOs against linkobj/libc.so.
28369 * nss/Makefile: Likewise.
28370 * sunrpc/Makefile: Don't install headers. Build library with normal
28371 entry points. Don't build rpcinfo. Link RPC tests appropriately.
28372 * sunrpc/auth_des.c: Hide exported symbols by default, export some
28373 for the compat linking library. Remove use of INTDEF/INTUSE.
28374 * sunrpc/auth_none.c: Likewise.
28375 * sunrpc/auth_unix.c: Likewise.
28376 * sunrpc/authdes_prot.c: Likewise.
28377 * sunrpc/authuxprot.c: Likewise.
28378 * sunrpc/clnt_gen.c: Likewise.
28379 * sunrpc/clnt_perr.c: Likewise.
28380 * sunrpc/clnt_raw.c: Likewise.
28381 * sunrpc/clnt_simp.c: Likewise.
28382 * sunrpc/clnt_tcp.c: Likewise.
28383 * sunrpc/clnt_udp.c: Likewise.
28384 * sunrpc/clnt_unix.c: Likewise.
28385 * sunrpc/des_crypt.c: Likewise.
28386 * sunrpc/des_soft.c: Likewise.
28387 * sunrpc/get_myaddr.c: Likewise.
28388 * sunrpc/key_call.c: Likewise.
28389 * sunrpc/key_prot.c: Likewise.
28390 * sunrpc/netname.c: Likewise.
28391 * sunrpc/pm_getmaps.c: Likewise.
28392 * sunrpc/pm_getport.c: Likewise.
28393 * sunrpc/pmap_clnt.c: Likewise.
28394 * sunrpc/pmap_prot.c: Likewise.
28395 * sunrpc/pmap_prot2.c: Likewise.
28396 * sunrpc/pmap_rmt.c: Likewise.
28397 * sunrpc/publickey.c: Likewise.
28398 * sunrpc/rpc_cmsg.c: Likewise.
28399 * sunrpc/rpc_common.c: Likewise.
28400 * sunrpc/rpc_dtable.c: Likewise.
28401 * sunrpc/rpc_prot.c: Likewise.
28402 * sunrpc/rpc_thread.c: Likewise.
28403 * sunrpc/rtime.c: Likewise.
28404 * sunrpc/svc.c: Likewise.
28405 * sunrpc/svc_auth.c: Likewise.
28406 * sunrpc/svc_authux.c: Likewise.
28407 * sunrpc/svc_raw.c: Likewise.
28408 * sunrpc/svc_run.c: Likewise.
28409 * sunrpc/svc_simple.c: Likewise.
28410 * sunrpc/svc_tcp.c: Likewise.
28411 * sunrpc/svc_udp.c: Likewise.
28412 * sunrpc/svc_unix.c: Likewise.
28413 * sunrpc/svcauth_des.c: Likewise.
28414 * sunrpc/xcrypt.c: Likewise.
28415 * sunrpc/xdr.c: Likewise.
28416 * sunrpc/xdr_array.c: Likewise.
28417 * sunrpc/xdr_float.c: Likewise.
28418 * sunrpc/xdr_intXX_t.c: Likewise.
28419 * sunrpc/xdr_mem.c: Likewise.
28420 * sunrpc/xdr_rec.c: Likewise.
28421 * sunrpc/xdr_ref.c: Likewise.
28422 * sunrpc/xdr_sizeof.c: Likewise.
28423 * sunrpc/xdr_stdio.c: Likewise.
28424
e6c61494
UD
284252011-04-10 Ulrich Drepper <drepper@gmail.com>
28426
28427 [BZ #12650]
28428 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
28429 * sysdeps/ia64/dl-tls.h: Likewise.
28430 * sysdeps/powerpc/dl-tls.h: Likewise.
28431 * sysdeps/s390/dl-tls.h: Likewise.
28432 * sysdeps/sh/dl-tls.h: Likewise.
28433 * sysdeps/sparc/dl-tls.h: Likewise.
28434 * sysdeps/x86_64/dl-tls.h: Likewise.
28435 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
28436
34fe483e
AS
284372011-03-14 Andreas Schwab <schwab@redhat.com>
28438
28439 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
28440 rpath element also skip the following colon.
28441 (expand_dynamic_string_token): Add is_path parameter and pass
28442 down to DL_DST_REQUIRED and _dl_dst_substitute.
28443 (decompose_rpath): Call expand_dynamic_string_token with
28444 non-zero is_path. Ignore empty rpaths.
28445 (_dl_map_object_from_fd): Call expand_dynamic_string_token
28446 with zero is_path.
28447
f12a32e6
AS
284482011-04-08 Andreas Schwab <schwab@linux-m68k.org>
28449
28450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28451 Make cancelable.
28452
38a7d692
UD
284532011-04-09 Ulrich Drepper <drepper@gmail.com>
28454
28455 [BZ #12655]
28456 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
28457 Patch by Filipe David Manana <fdmanana@apache.org>.
28458
e451d22b
AS
284592011-04-07 Andreas Schwab <schwab@redhat.com>
28460
28461 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
28462 Maintain aligned stack.
28463 (CHECK_RSP): Remove unused macro.
28464
dedc7c7b
UD
284652011-04-03 Ulrich Drepper <drepper@gmail.com>
28466
28467 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
28468 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
28469
94521213
UD
284702011-04-02 Ulrich Drepper <drepper@gmail.com>
28471
28472 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
28473
8cb700c0 28474 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 28475
0354e355
L
284762011-03-26 H.J. Lu <hongjiu.lu@intel.com>
28477
28478 [BZ #12518]
28479 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
28480 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
28481 * sysdeps/x86_64/memmove.c: New file.
28482 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
28483 (memcpy): Renamed to ...
28484 (__new_memcpy): This.
28485 (memcpy): Provide GLIBC_2_14 memcpy.
28486 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
28487 (memcpy): Provide GLIBC_2_2_5 memcpy.
28488
8593482f
UD
284892011-04-01 Ulrich Drepper <drepper@gmail.com>
28490
28491 [BZ #12631]
28492 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
28493
81a5726b
AS
284942011-03-30 Andreas Schwab <schwab@redhat.com>
28495
28496 * misc/syncfs.c: New file.
28497 * misc/Makefile (routines): Add syncfs.
28498 * posix/unistd.h: Declare syncfs.
28499 * sysdeps/unix/syscalls.list: Add syncfs.
28500
00e5419f
AS
285012011-04-01 Andreas Schwab <schwab@redhat.com>
28502
28503 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
28504 open_by_handle_at.
28505 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28506 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28507 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28508 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28509 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28510 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
28511 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28512
748876bf
UD
285132011-04-01 Ulrich Drepper <drepper@gmail.com>
28514
658e451d
UD
28515 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
28516 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28517 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
28518 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28519 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28520 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28521 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28522
748876bf
UD
28523 * io/Makefile: Compile fallocate.c, fallocate64.c, and
28524 sync_file_range.c with -fexceptions.
28525 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
28526 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
28527 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
28528 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
28529 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
28530 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28531 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
28532 sync_file_range as cancellation point
28533 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
28534 now a wrapper around __call_sync_file_range with cancellation handling.
28535 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
28536 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
28537 function name to __call_sync_file_range.
28538 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
28539 Add call_sync_file_range.
748876bf 28540
6e63d5e1
AS
285412011-04-01 Andreas Schwab <schwab@redhat.com>
28542
28543 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 28544 bits/timex.h.
6e63d5e1 28545
46998f74
UD
285462011-04-01 Ulrich Drepper <drepper@gmail.com>
28547
4c1423ed
UD
28548 * iconv/iconv.h: Fix typo in comment.
28549 * io/fcntl.h: Likewise.
28550 * libio/stdio.h: Likewise.
28551 * posix/spawn.h: Likewise.
28552 * posix/unistd.h: Likewise.
28553 * stdlib/stdlib.h: Likewise.
28554 * time/time.h: Likewise.
28555 * wcsmbs/wchar.h: Likewise.
28556
158648c0
UD
28557 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
28558 open_by_handle): Add.
28559 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
28560 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
28561 Augment a few comments.
28562 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28563 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28564 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28565 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28566 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28567 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
28568 open_by_handle.
28569
46998f74
UD
28570 * io/fcntl.h (AT_EMPTY_PATH): Define.
28571
83fe108b
UD
285722011-03-30 Ulrich Drepper <drepper@gmail.com>
28573
28574 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
28575 * sysdeps/unix/sysv/linux/bits/time.h: New file.
28576 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
28577 to...
28578 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
28579 * Versions.def: Add GLIBC_2.14.
28580 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
28581 Export.
83fe108b 28582
bb242059
UD
285832011-03-22 Ulrich Drepper <drepper@gmail.com>
28584
28585 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
28586 round counter.
28587 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28588
c97a1282
L
285892011-03-20 H.J. Lu <hongjiu.lu@intel.com>
28590
28591 [BZ #12597]
28592 * string/test-strncmp.c (do_page_test): New function.
28593 (check2): Likewise.
28594 (test_main): Call check2.
28595 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
28596
2a115601
UD
285972011-03-20 Ulrich Drepper <drepper@gmail.com>
28598
28599 [BZ #12587]
28600 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
28601 Handle cache information in CPU leaf 4.
28602 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28603
8126d904
UD
286042011-03-18 Ulrich Drepper <drepper@gmail.com>
28605
042c49c6 28606 [BZ #12583]
8126d904
UD
28607 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
28608 character representation.
28609 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
28610
ccfe366e
RA
286112011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
28612
28613 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
28614 END(__isnan) to END(__isnanf) to match function entry point/label
28615 EALIGN(__isnanf,...).
28616
c6e13027
JJ
286172011-03-10 Jakub Jelinek <jakub@redhat.com>
28618
28619 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
28620
33f85a3f
UD
286212011-03-10 Ulrich Drepper <drepper@gmail.com>
28622
028478fa
UD
28623 [BZ #12510]
28624 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
28625 copy from the symbol referenced in the relocation to initialize the
28626 used variable.
28627 Patch by Piotr Bury <pbury@goahead.com>.
28628 * elf/Makefile: Add rules to build and tst-unique3.
28629 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
28630 * elf/tst-unique3.cc: New file.
28631 * elf/tst-unique3.h: New file.
28632 * elf/tst-unique3lib.cc: New file.
28633 * elf/tst-unique3lib2.cc: New file.
28634
33f85a3f
UD
28635 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
28636
03592fc7
MF
286372011-03-10 Mike Frysinger <vapier@gentoo.org>
28638
28639 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
28640 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
28641 to _start.
03592fc7 28642
6a5ee102
UD
286432011-03-06 Ulrich Drepper <drepper@gmail.com>
28644
28645 * elf/dl-load.c (_dl_map_object): If we are looking for the first
28646 to-be-loaded object along a path to loader is ld.so.
28647
7e4ba49c
HJ
286482011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28649 Ulrich Drepper <drepper@gmail.com>
28650
28651 * sysdeps/x86_64/memset.S: After aligning destination, code
28652 branches to different locations depending on the value of
28653 misalignment, when multiarch is enabled. Fix this.
28654
286552011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28656
28657 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
28658 Set _x86_64_preferred_memory_instruction for AMD processsors.
28659 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28660 Set bit_Prefer_SSE_for_memop for AMD processors.
28661
13a804de
UD
286622011-03-04 Ulrich Drepper <drepper@gmail.com>
28663
28664 * libio/fmemopen.c (fmemopen): Optimize a bit.
28665
9d25c392
AS
286662011-03-03 Andreas Schwab <schwab@redhat.com>
28667
28668 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
28669
a5543c6a
RM
286702011-03-03 Roland McGrath <roland@redhat.com>
28671
28672 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
28673
012d35f7
DM
286742011-02-28 Aurelien Jarno <aurelien@aurel32.net>
28675
7e4ba49c 28676 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
28677 __bzero_ultra1 instead of __memset_ultra1.
28678
4bff6e01
AS
286792011-02-23 Andreas Schwab <schwab@redhat.com>
28680 Ulrich Drepper <drepper@gmail.com>
28681
28682 [BZ #12509]
28683 * include/link.h (struct link_map): Add l_orig_initfini.
28684 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
28685 returning unsuccessfully.
28686 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
28687 close of a file loaded at startup, restore the original l_initfini
28688 list.
28689 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
28690 list, store the pointer.
28691 * elf/Makefile ($(objpfx)noload-mem): New rule.
28692 (noload-ENV): Define.
28693 (tests): Add $(objpfx)noload-mem.
28694 * elf/noload.c: Include <memcheck.h>.
28695 (main): Call mtrace. Close all opened handles.
28696
f2092faf
AS
286972011-02-17 Andreas Schwab <schwab@redhat.com>
28698
28699 [BZ #12454]
28700 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
28701 dependencies are missing.
28702
6c8a2e88
ST
287032011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
28704
f2092faf 28705 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
28706 Hurd needs munmap.
28707 * sysdeps/mach/hurd/ifreq.h: New file.
28708
84a42118
PB
287092011-01-27 Petr Baudis <pasky@suse.cz>
28710 Ulrich Drepper <drepper@gmail.com>
28711
071f805e 28712 [BZ 12445]#
84a42118
PB
28713 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
28714 to extend_alloca().
28715 * stdio-common/bug23.c: New file.
28716 * stdio-common/Makefile (tests): Add bug23.
28717
e23fe25b
AS
287182010-09-28 Andreas Schwab <schwab@redhat.com>
28719 Ulrich Drepper <drepper@gmail.com>
28720
28721 [BZ #12489]
28722 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
28723 before performing relro protection. At old place add assertion
28724 to make sure nothing changed.
28725
d3f02e10
NS
287262011-02-17 Nathan Sidwell <nathan@codesourcery.com>
28727 Glauber de Oliveira Costa <glommer@gmail.com>
28728
28729 * elf/elf.h: Add new ARM TLS relocs.
28730
d55fd7a5
RA
287312011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
28732
28733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28734 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
28735 cast from r3.
28736 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
28737 'tests' variable.
28738 * sysdeps/wordsize-64/tst-writev.c: New file.
28739
2206397e
RA
287402011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
28741
28742 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
28743 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
28744 insns in _dl_start to prevent a TOC reference before relocs are
28745 resolved.
28746
e9433893
UD
287472011-02-15 Ulrich Drepper <drepper@gmail.com>
28748
28749 [BZ #12469]
28750 * Makeconfig: Remove RANLIB definition.
28751 * Makerules: Don't use RANLIB.
28752 * aclocal.m4: Remove ranlib test.
28753 * configure.in: No need to check for ranlib.
28754 * elf/rtld-Rules: Don't use RANLIB.
28755
f75286c6
ST
287562011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
28757
8e31c82d
ST
28758 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
28759 protection macro.
28760 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
28761 inclusion protection macro.
28762
f75286c6
ST
28763 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
28764 SIGRTMIN and SIGRTMAX and print information in that case only when
28765 SIGRTMIN is defined.
28766
c1d0e639
JJ
287672011-02-11 Jakub Jelinek <jakub@redhat.com>
28768
28769 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
28770 arginfo fn returning -1.
28771
28772 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
28773 and thousands string is zero terminated.
28774
edf9294e
AS
287752011-02-03 Andreas Schwab <schwab@redhat.com>
28776
28777 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
28778 sysdeps/unix/sysv/linux/bits/socket.h.
28779
2b7e92df
ST
287802011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
28781
edf9294e
AS
28782 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
28783 (__CPU_COUNT): Remove old macros.
28784 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
28785 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
28786 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
28787 (__sched_cpualloc, __sched_cpufree): Add declarations.
28788
a4c7ea7b
UD
287892011-02-05 Ulrich Drepper <drepper@gmail.com>
28790
28791 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
28792 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
28793 * nscd/aicache.c (addhstaiX): Return timeout of added value.
28794 (readdhstai): Return value of addhstaiX call.
28795 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
28796 (addgrbyX): Return value returned by cache_addgr.
28797 (readdgrbyname): Return value returned by addgrbyX.
28798 (readdgrbygid): Likewise.
28799 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
28800 (addpwbyX): Return value returned by cache_addpw.
28801 (readdpwbyname): Return value returned by addhstbyX.
28802 (readdpwbyuid): Likewise.
28803 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
28804 (addservbyX): Return value returned by cache_addserv.
28805 (readdservbyname): Return value returned by addservbyX:
28806 (readdservbyport): Likewise.
28807 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
28808 (addhstbyX): Return value returned by cache_addhst.
28809 (readdhstbyname): Return value returned by addhstbyX.
28810 (readdhstbyaddr): Likewise.
28811 (readdhstbynamev6): Likewise.
28812 (readdhstbyaddrv6): Likewise.
28813 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
28814 (readdinitgroups): Return value returned by addinitgroupsX.
28815 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
28816 (prune_cache): Keep track of timeout value of re-added entries.
28817 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
28818 * nscd/nscd.h: Adjust prototypes of readd* functions.
28819
a0bf67cc
RM
288202011-02-04 Roland McGrath <roland@redhat.com>
28821
28822 * nis/nis_server.c (nis_servstate): Use the right name for 0.
28823 (nis_stats): Likewise.
28824 * nis/nis_modify.c (nis_modify): Likewise.
28825 * nis/nis_remove.c (nis_remove): Likewise.
28826 * nis/nis_add.c (nis_add): Likewise.
28827
28828 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
28829
28830 * posix/fnmatch_loop.c: Add some consts.
28831
28832 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
28833
435b95eb
L
288342011-02-02 H.J. Lu <hongjiu.lu@intel.com>
28835
28836 [BZ #12460]
28837 * config.make.in (config-cflags-novzeroupper): Define.
28838 * configure.in: Substitute libc_cv_cc_novzeroupper.
28839 * elf/Makefile (AVX-CFLAGS): Define.
28840 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
28841 (CFLAGS-tst-auditmod4a.c): Likewise.
28842 (CFLAGS-tst-auditmod4b.c): Likewise.
28843 (CFLAGS-tst-auditmod6b.c): Likewise.
28844 (CFLAGS-tst-auditmod6c.c): Likewise.
28845 (CFLAGS-tst-auditmod7b.c): Likewise.
28846 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
28847
8517b15e
UD
288482011-02-02 Ulrich Drepper <drepper@gmail.com>
28849
28850 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
28851 function to the callback.
28852 Patch partly by Jiri Olsa <jolsa@redhat.com>.
28853
10a656fe
AS
288542011-02-02 Andreas Schwab <schwab@redhat.com>
28855
28856 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
28857 of errno.
28858
968dad0a
UD
288592011-01-19 Ulrich Drepper <drepper@gmail.com>
28860
9f94d2ea 28861 [BZ #11724]
968dad0a
UD
28862 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
28863 of constructors.
28864 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
28865 of destructors.
28866 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
28867
28868 [BZ #11724]
28869 * elf/Makefile: Add rules to build and run new test.
28870 * elf/tst-initorder.c: New file.
28871 * elf/tst-initorder.exp: New file.
28872 * elf/tst-initordera1.c: New file.
28873 * elf/tst-initordera2.c: New file.
28874 * elf/tst-initordera3.c: New file.
28875 * elf/tst-initordera4.c: New file.
28876 * elf/tst-initorderb1.c: New file.
28877 * elf/tst-initorderb2.c: New file.
28878 * elf/tst-order-a1.c: New file.
28879 * elf/tst-order-a2.c: New file.
28880 * elf/tst-order-a3.c: New file.
28881 * elf/tst-order-a4.c: New file.
28882 * elf/tst-order-b1.c: New file.
28883 * elf/tst-order-b2.c: New file.
28884 * elf/tst-order-main.c: New file.
28885 New test case by George Gensure <werkt0@gmail.com>.
28886
86e92359
UD
288872010-10-01 Andreas Schwab <schwab@redhat.com>
28888
28889 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28890 decoding ACE if AI_CANONIDN.
28891
5d5732b0
UD
288922011-01-18 Ulrich Drepper <drepper@gmail.com>
28893
28894 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
28895
a77e8cbc
UD
288962011-01-17 Ulrich Drepper <drepper@gmail.com>
28897
6392473f
UD
28898 * version.h (RELEASE): Bump for 2.13 release.
28899 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
28900
620a0529
UD
28901 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
28902
18ba70a5
UD
28903 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
28904 MADV_NOHUGEPAGE.
32465c3e
UD
28905 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
28906 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28907 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28908 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28909 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28910 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
28911
c0dafcf1
UD
28912 * posix/getconf.c: Update copyright year.
28913 * catgets/gencat.c: Likewise.
28914 * csu/version.c: Likewise.
28915 * debug/catchsegv.sh: Likewise.
28916 * debug/xtrace.sh: Likewise.
28917 * elf/ldconfig.c: Likewise.
28918 * elf/ldd.bash.in: Likewise.
28919 * elf/sprof.c (print_version): Likewise.
28920 * iconv/iconv_prog.c: Likewise.
28921 * iconv/iconvconfig.c: Likewise.
28922 * locale/programs/locale.c: Likewise.
28923 * locale/programs/localedef.c: Likewise.
28924 * malloc/memusage.sh: Likewise.
28925 * malloc/mtrace.pl: Likewise.
28926 * nscd/nscd.c (print_version): Likewise.
28927 * nss/getent.c: Likewise.
28928
a77e8cbc
UD
28929 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
28930 PF_CAIF, and PF_ALG.
28931 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28932
77e8bddf
AS
289332011-01-16 Andreas Schwab <schwab@linux-m68k.org>
28934
1f20b93a
AS
28935 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
28936 (modules-names): Use them.
28937 (ifunc-test-modules, ifunc-pie-tests): Define.
28938 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
28939 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
28940 (test-extras): Likewise.
28941 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
28942 $(compile-command.c).
28943 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
28944 (all-built-dso): Define.
28945 (check-textrel.out, check-execstack.out): Depend on it.
28946
77e8bddf
AS
28947 * configure.in: Don't override --enable-multi-arch.
28948
bc425b33
UD
289492011-01-15 Ulrich Drepper <drepper@gmail.com>
28950
28951 [BZ #6812]
28952 * nscd/hstcache.c (tryagain): Define.
28953 (cache_addhst): Return tryagain not notfound for temporary errors.
28954 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
28955 failed.
28956
794c3ad3
UD
289572011-01-14 Ulrich Drepper <drepper@gmail.com>
28958
70181fdd
UD
28959 [BZ #10563]
28960 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
28961 to make the syscall.
28962 * sysdeps/unix/sysv/linux/setgroups.c: New file.
28963
794c3ad3
UD
28964 [BZ #12378]
28965 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
28966 and fall back to matching as normal character if the string ends before
28967 the matching ']' is found. This is what POSIX requires.
28968 * posix/testfnm.c: Adjust test result.
28969 * posix/globtest.sh: Adjust test result. Add new test.
28970 * posix/tst-fnmatch.input: Likewise.
28971 * posix/tst-fnmatch2.c: Add new test.
28972
68dc9497
AS
289732010-12-28 Andreas Schwab <schwab@linux-m68k.org>
28974
28975 * elf/Makefile (check-execstack): Revert last change. Depend on
28976 check-execstack.h.
28977 (check-execstack.h): New target.
28978 (generated): Add check-execstack.h.
28979 * elf/check-execstack.c: Include "check-execstack.h".
28980 (main): Revert last change.
28981 (handle_file): Return zero if GNU_STACK is absent and
28982 DEFAULT_STACK_PERMS doesn't include PF_X.
28983
451f001b
UD
289842011-01-13 Ulrich Drepper <drepper@gmail.com>
28985
cfa28e56
UD
28986 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
28987 in child fails because the descriptor is already closed.
8cf8ce17
UD
28988 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
28989 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
28990 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 28991
1086d70d
UD
28992 [BZ #12397]
28993 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
28994 syscall.
28995
451f001b
UD
28996 [BZ #10484]
28997 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
28998 temporary buffer used to handle multi lookups locally.
a85b5cb4 28999 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 29000
08769175
UD
290012011-01-12 Ulrich Drepper <drepper@gmail.com>
29002
29003 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
29004 loader is ld.so.
29005
5e49c52e
UD
290062011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
29007
29008 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
29009 alignment for SSE2.
29010
60522a5f
UD
290112011-01-12 Ulrich Drepper <drepper@gmail.com>
29012
29013 [BZ #12394]
29014 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
29015 characters. When rounding increased number of integer digits recompute
29016 number of groups.
29017 * stdio-common/tst-grouping.c: New file.
29018 * stdio-common/Makefile: Add rules to build and run tst-grouping.
29019
f257bbd7
UD
290202011-01-09 Ulrich Drepper <drepper@gmail.com>
29021
29022 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
29023 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
29024
29025 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
29026 void.
29027 * bits/select.h: Likewise.
29028
fa9c15cb
UD
290292011-01-08 Ulrich Drepper <drepper@gmail.com>
29030
29031 * po/ja.po: Update from translation team.
29032
16c2895f
DM
290332011-01-04 David S. Miller <davem@sunset.davemloft.net>
29034
29035 [BZ #11155]
29036 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
29037 implementation just like for lxstat, fxstatat, et al.
29038
2543fef2
JM
290392010-12-27 Jim Meyering <meyering@redhat.com>
29040
29041 [BZ #12348]
29042 * posix/regexec.c (build_trtable): Return failure indication upon
29043 calloc failure. Otherwise, re_search_internal could infloop on OOM.
29044
98727dbe
UD
290452010-12-25 Ulrich Drepper <drepper@gmail.com>
29046
5bd6dc5c
UD
29047 [BZ #12201]
29048 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
29049 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
29050 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
29051 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
29052
97983464
UD
29053 [BZ #12207]
29054 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
29055
98727dbe
UD
29056 [BZ #12204]
29057 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
29058 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
29059
4a531bb0
L
290602010-12-15 H.J. Lu <hongjiu.lu@intel.com>
29061
29062 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
29063 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
29064 script has SORT_BY_INIT_PRIORITY.
29065 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
29066 NO_CTORS_DTORS_SECTIONS is defined.
29067 * elf/soinit.c: Likewise.
29068 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
29069 NO_CTORS_DTORS_SECTIONS is defined.
29070 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
29071 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
29072 * sysdeps/sh/init-first.c: Likewise.
29073 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
29074
07eb4b71
UD
290752010-12-24 Ulrich Drepper <drepper@gmail.com>
29076
29077 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
29078 always use the slow path.
29079
30950a5f
RA
290802010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
29081
29082 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
29083 similar rule which adds the sysdep directories to the header search in
29084 order to pick up the correct platform stackinfo.h.
29085 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
29086 perform test if it is, otherwise return successfully without testing.
29087 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
29088 DEFAULT_STACK_PERMS define in stackinfo.h.
29089 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
29090 defined in stackinfo.h.
29091 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
29092 DEFAULT_STACK_PERMS defined in stackinfo.h.
29093 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
29094 * sysdeps/ia64/stackinfo.h: Likewise.
29095 * sysdeps/s390/stackinfo.h: Likewise.
29096 * sysdeps/sh/stackinfo.h: Likewise.
29097 * sysdeps/sparc/stackinfo.h: Likewise.
29098 * sysdeps/x86_64/stackinfo.h: Likewise.
29099 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
29100 PF_X for powerpc64. Retain PF_X for powerpc32.
29101
db753e2c
UD
291022010-12-19 Ulrich Drepper <drepper@gmail.com>
29103
14b697f7
UD
29104 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
29105 accurately.
db753e2c
UD
29106 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
29107 GETDENTS_64BIT_ALIGNED.
29108
28300719
UD
291092010-12-14 Ulrich Drepper <dreper@gmail.com>
29110
14b697f7 29111 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 29112
4f197237
AS
291132010-12-10 Andreas Schwab <schwab@redhat.com>
29114
dbb0472f
AS
29115 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
29116 _GNU_SOURCE.
29117
4f197237
AS
29118 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
29119 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
29120 Remove __restrict.
29121 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
29122 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
29123
fb88ac72
UD
291242010-12-09 Ulrich Drepper <drepper@gmail.com>
29125
29126 [BZ #11655]
29127 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
29128 are initialized.
29129
42acbb92
JJ
291302010-12-09 Jakub Jelinek <jakub@redhat.com>
29131
29132 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
29133
c038d98d
UD
291342010-12-03 Ulrich Drepper <drepper@gmail.com>
29135
29136 * po/it.po: Update from translation team.
29137
3a4a2499
L
291382010-12-01 H.J. Lu <hongjiu.lu@intel.com>
29139
29140 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
29141 unused codes.
29142
1e24cf6e
UD
291432010-11-30 Ulrich Drepper <drepper@gmail.com>
29144
29145 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
29146
a7690819
AS
291472010-11-24 Andreas Schwab <schwab@redhat.com>
29148
29149 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
29150 specially.
29151 (gaih_getanswer_slice): Likewise.
29152
3bf8d1b1
JJ
291532010-10-20 Jakub Jelinek <jakub@redhat.com>
29154
29155 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
29156
6db52fbb
PB
291572010-05-31 Petr Baudis <pasky@suse.cz>
29158
29159 [BZ #11149]
29160 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
29161 silently even in the chroot mode.
29162
eaca7569
UD
291632010-11-22 Ulrich Drepper <drepper@gmail.com>
29164
29165 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
29166 last patch a bit. Pretty printing
29167
3056dcdb
UD
291682010-05-31 Petr Baudis <pasky@suse.cz>
29169
29170 [BZ #10085]
29171 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
29172 initialization of skip_initgroups_dyn.
29173
cf7c9078
UD
291742010-11-19 Ulrich Drepper <drepper@gmail.com>
29175
29176 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
29177 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29178
a1fb5e3e
UD
291792010-11-16 Ulrich Drepper <drepper@gmail.com>
29180
29181 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
29182
3540d66b
AS
291832010-11-11 Andreas Schwab <schwab@redhat.com>
29184
29185 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
29186 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
29187 (tst-fnmatch-ENV): Set MALLOC_TRACE.
29188 ($(objpfx)tst-fnmatch-mem): New rule.
29189 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
29190 * posix/tst-fnmatch.c (main): Call mtrace.
29191
13b69574
L
291922010-11-11 H.J. Lu <hongjiu.lu@intel.com>
29193
29194 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29195 Support Intel processor model 6 and model 0x2c.
29196
da93d214
LM
291972010-11-10 Luis Machado <luisgpm@br.ibm.com>
29198
29199 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
29200 signed comparison.
29201
8ca52c6e
L
292022010-11-09 H.J. Lu <hongjiu.lu@intel.com>
29203
29204 [BZ #12205]
29205 * string/test-strncasecmp.c (check_result): New function.
29206 (do_one_test): Use it.
29207 (check1): New function.
29208 (test_main): Use it.
29209 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
29210 Support strcasecmp and strncasecmp.
29211
69da074d
UD
292122010-11-08 Ulrich Drepper <drepper@gmail.com>
29213
29214 [BZ #12194]
29215 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
29216 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29217
ff02d528
L
292182010-11-07 H.J. Lu <hongjiu.lu@intel.com>
29219
29220 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
29221 IFUNC support.
29222 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29223 memset-x86-64.
29224 * sysdeps/x86_64/multiarch/bzero.S: New file.
29225 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
29226 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
29227 * sysdeps/x86_64/multiarch/memset.S: New file.
29228 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
29229 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29230 Set bit_Prefer_SSE_for_memop for Intel processors.
29231 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
29232 Define.
29233 (index_Prefer_SSE_for_memop): Define.
29234 (HAS_PREFER_SSE_FOR_MEMOP): Define.
29235
344d0b54
LM
292362010-11-04 Luis Machado <luisgpm@br.ibm.com>
29237
29238 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
29239 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
29240
c0dde15b
UD
292412010-11-03 H.J. Lu <hongjiu.lu@intel.com>
29242
29243 [BZ #12191]
29244 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29245 (__x86_64_raw_data_cache_size_half): Likewise.
29246 (__x86_64_raw_shared_cache_size): Likewise.
29247 (__x86_64_raw_shared_cache_size_half): Likewise.
29248
29249 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29250 (__x86_64_raw_data_cache_size_half): Likewise.
29251 (__x86_64_raw_shared_cache_size): Likewise.
29252 (__x86_64_raw_shared_cache_size_half): Likewise.
29253 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
29254 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
29255 and __x86_64_raw_shared_cache_size_half. Round
29256 __x86_64_data_cache_size_half, __x86_64_data_cache_size
29257 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
29258 to multiple of 256 bytes.
29259
0e516e0e
MS
292602010-11-03 Ulrich Drepper <drepper@gmail.com>
29261
29262 [BZ #12167]
29263 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
29264 of inacessible symlinks. Verify result of symlink before returning it.
29265 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
29266 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
29267
0e012e87
ER
292682010-10-28 Erich Ritz <erichritz@gmail.com>
29269
29270 * math/math.h (isinf): Fix typo in comment.
29271
de0ff7bc
UD
292722010-11-01 Ulrich Drepper <drepper@gmail.com>
29273
29274 * po/da.po: Update from translation team.
29275
fa41c84d
UD
292762010-10-26 Ulrich Drepper <drepper@gmail.com>
29277
29278 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
29279 is added to the list.
29280
f0967738
AK
292812010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29282 Ulrich Drepper <drepper@gmail.com>
29283
29284 * elf/dl-object.c (_dl_new_object): Don't append the new object to
29285 the global list here. Move code to...
29286 (_dl_add_to_namespace_list): ...here. New function.
29287 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
29288 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
29289 * elf/dl-load.c (lose): Don't remove the element from the list.
29290 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
29291 (_dl_map_object): Likewise.
29292
292932010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
29294
29295 [BZ #12159]
29296 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
29297 into all bytes of SSE register.
29298 Patch by Richard Li <richardpku@gmail.com>.
29299
f0967738 293002010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
29301
29302 [BZ #12140]
29303 * malloc/malloc.c (_int_free): Fill correct number of bytes when
29304 perturbing.
29305
d0b9e94f
MB
293062010-10-20 Michael B. Brutman <brutman@us.ibm.com>
29307
29308 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
29309 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
29310 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
29311 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
29313 submachine.
29314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
29315
8e9f92e9
AS
293162010-10-22 Andreas Schwab <schwab@redhat.com>
29317
29318 * include/dlfcn.h (__RTLD_SECURE): Define.
29319 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
29320 mode & __RTLD_SECURE instead.
29321 (open_path): Rename preloaded parameter to secure.
29322 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
29323 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
29324 * elf/dl-deps.c (openaux): Likewise.
29325 * elf/rtld.c (struct map_args): Remove is_preloaded.
29326 (map_doit): Don't use it.
29327 (dl_main): Likewise.
29328 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
29329 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
29330
bc96fbda
AS
293312010-09-09 Andreas Schwab <schwab@redhat.com>
29332
29333 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
29334 (sysd-rules-targets): Remove duplicates.
29335 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
29336 rtld-%.$o dependency.
29337
22cd1c9b
AS
293382010-10-18 Andreas Schwab <schwab@redhat.com>
29339
29340 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
29341 _dl_map_object do it.
29342
18edac48
UD
293432010-10-19 Ulrich Drepper <drepper@gmail.com>
29344
29345 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
29346 fast fma builtins, define the macros in the C99 standard.
29347 (FP_FAST_FMAF): Likewise.
29348 (FP_FAST_FMAL): Likewise.
29349 * sysdeps/x86_64/bits/mathdef.h: Likewise.
29350
29351 * bits/mathdef.h: Update copyright year.
29352 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29353
d2050124
MM
293542010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
29355
29356 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
29357 builtins, define the macros in the C99 standard.
29358 (FP_FAST_FMAF): Likewise.
29359 (FP_FAST_FMAL): Likewise.
29360 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
29361 multiply/add.
29362 (FP_FAST_FMAF): Likewise.
29363
475facd1
JJ
293642010-10-15 Jakub Jelinek <jakub@redhat.com>
29365
29366 [BZ #3268]
29367 * math/libm-test.inc (fma_test): Some new testcases.
29368 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
29369 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
29370 y and infinite z. Do multiplication by C already in long double.
29371 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
29372 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
29373 y and infinite z. Do bitwise or of inexact bit into u.d.
29374 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
29375 * sysdeps/i386/fpu/s_fmaf.S: Removed.
29376 * sysdeps/i386/fpu/s_fma.S: Removed.
29377 * sysdeps/i386/fpu/s_fmal.S: Removed.
29378
7c08a05c
JJ
293792010-10-16 Jakub Jelinek <jakub@redhat.com>
29380
29381 [BZ #3268]
29382 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
29383 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
29384 computation is not scheduled after fetestexcept. Fix value
29385 of minimum denormal long double.
29386
f3f7372d
JJ
293872010-10-14 Jakub Jelinek <jakub@redhat.com>
29388
29389 [BZ #3268]
29390 * math/libm-test.inc (fma_test): Add some more tests.
29391 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
29392 correctly.
29393
14d43591
AS
293942010-10-15 Andreas Schwab <schwab@redhat.com>
29395
29396 * scripts/data/localplt-s390-linux-gnu.data: New file.
29397 * scripts/data/localplt-s390x-linux-gnu.data: New file.
29398
5e908464
JJ
293992010-10-13 Jakub Jelinek <jakub@redhat.com>
29400
29401 [BZ #3268]
29402 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
29403 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
29404 instead of dbl-64.
29405 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
29406 inlines.
29407 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
29408 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
29409 if one of x and y is very large and the other is subnormal.
29410 * sysdeps/s390/fpu/s_fmaf.c: New file.
29411 * sysdeps/s390/fpu/s_fma.c: New file.
29412 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
29413 * sysdeps/powerpc/fpu/s_fma.S: New file.
29414 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
29415 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
29416 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
29417
294182010-10-12 Jakub Jelinek <jakub@redhat.com>
29419
29420 [BZ #3268]
29421 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
29422 fma tests.
29423 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
29424 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
29425 * sysdeps/i386/i686/multiarch/s_fma.c: Include
29426 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
29427 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
29428 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
29429 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
29430
b833d51f
UD
294312010-10-12 Ulrich Drepper <drepper@redhat.com>
29432
29433 [BZ #12078]
29434 * posix/regcomp.c (parse_branch): One more memory leak plugged.
29435 * posix/bug-regex31.input: Add test case.
29436
1751705d
UD
294372010-10-11 Ulrich Drepper <drepper@gmail.com>
29438
e9b9cbf5
UD
29439 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
29440 * posix/bug-regex31.input: New file.
29441
29442 [BZ #12078]
29443 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
29444 (parse_sub_exp): Fix last change, use postorder.
29445
ef06edbe
UD
29446 * posix/bug-regex31.c: New file.
29447 * posix/Makefile: Add rules to build and run bug-regex31.
29448
a129c80d
UD
29449 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
29450
29451 [BZ #12078]
29452 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
29453
b76b818e
UD
29454 [BZ #12108]
29455 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
29456 to have entries in sys_siglist.
29457
1751705d
UD
29458 [BZ #12093]
29459 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
29460 be NULL.
29461
9ff8d36f
JJ
294622010-10-07 Jakub Jelinek <jakub@redhat.com>
29463
29464 [BZ #3268]
29465 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
29466 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
29467 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
29468 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
29469 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29470 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
29471 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
29472 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
29473 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
29474 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
29475 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
29476 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
29477 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29478 * math/ftestexcept.c (fetestexcept): Likewise.
29479 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
29480 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
29481 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
29482 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
29483 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
29484 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
29485 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29486
af325969
UD
294872010-10-11 Ulrich Drepper <drepper@gmail.com>
29488
c579b202 29489 [BZ #12107]
af325969
UD
29490 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
29491 newline.
29492
67a67b95
UD
294932010-10-06 Ulrich Drepper <drepper@gmail.com>
29494
29495 * string/bug-strstr1.c: New file.
29496 * string/Makefile: Add rules to build and run bug-strstr1.
29497
5fb308bc
EB
294982010-10-05 Eric Blake <eblake@redhat.com>
29499
29500 [BZ #12092]
29501 * string/str-two-way.h (two_way_long_needle): Always clear memory
29502 when skipping input due to the shift table.
29503
45db99c7
UD
295042010-10-03 Ulrich Drepper <drepper@gmail.com>
29505
3b111893
UD
29506 [BZ #12005]
29507 * malloc/mcheck.c: Handle large requests.
29508
45db99c7
UD
29509 [BZ #12077]
29510 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
29511 for strncmp and strncasecmp.
29512 * string/stratcliff.c: Add tests for strcmp and strncmp.
29513 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
29514
cf7a1eb8
NI
295152010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29516
29517 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
29518 __set_fpscr.
29519
6484ba5e
AJ
295202010-09-30 Andreas Jaeger <aj@suse.de>
29521
29522 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
29523 (CGROUP_SUPER_MAGIC): Define.
29524 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29525 Handle btrfs and cgroup file systems.
29526 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29527 Likewise.
29528
91c42559
LM
295292010-09-27 Luis Machado <luisgpm@br.ibm.com>
29530
29531 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
29532 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
29533
87a97932
AK
295342010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29535
29536 [BZ #12067]
29537 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
29538 trying to locate the ELF header.
29539
c21cc9bc
AS
295402010-09-27 Andreas Schwab <schwab@redhat.com>
29541
29542 [BZ #11611]
29543 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
29544 Mask out sign-bit copies when constructing f_fsid.
29545
315970f6
PB
295462010-09-24 Petr Baudis <pasky@suse.cz>
29547
29548 * debug/stack_chk_fail_local.c: Add missing licence exception.
29549 * debug/warning-nop.c: Likewise.
29550
1ac7a2c7
JM
295512010-09-15 Joseph Myers <joseph@codesourcery.com>
29552
29553 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
29554 implementing getdents64 using getdents syscall, set d_type if
29555 __ASSUME_GETDENTS32_D_TYPE.
29556
56801c50
AS
295572010-09-16 Andreas Schwab <schwab@redhat.com>
29558
29559 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
29560 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
29561
dda51327
UD
295622010-09-21 Ulrich Drepper <drepper@redhat.com>
29563
29564 [BZ #12037]
29565 * posix/unistd.h: Undo change of feature selection for ftruncate from
29566 2010-01-11.
29567
8ffcee4a
UD
295682010-09-20 Ulrich Drepper <drepper@redhat.com>
29569
a545ecd9 29570 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
29571 detection.
29572
e24f0a8b
AS
295732010-09-20 Andreas Schwab <schwab@redhat.com>
29574
29575 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
29576 fanotify_mark.
29577 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
29578
7291c56f
AS
295792010-09-14 Andreas Schwab <schwab@redhat.com>
29580
29581 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
29582 variables after CHECK_SP call.
29583 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
29584
bc5fb037
AS
295852010-09-13 Andreas Schwab <schwab@redhat.com>
29586 Ulrich Drepper <drepper@redhat.com>
29587
29588 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
29589 re-relocationg ld.so.
29590 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
29591 _dl_init_paths call.
29592 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
29593 here anymore.
29594
e66e7419
UD
295952010-09-14 Ulrich Drepper <drepper@redhat.com>
29596
29597 * resolv/res_init.c (__res_vinit): Count the default server we added.
29598
c044aa75
CLT
295992010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
29600 Ulrich Drepper <drepper@redhat.com>
29601
29602 [BZ #11968]
29603 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29604 (____longjmp_chk): Use %ebx for saving value across system call.
29605 Add unwind info.
29606
32cf4069
AS
296072010-09-06 Andreas Schwab <schwab@redhat.com>
29608
29609 * manual/Makefile: Don't mix pattern rules with normal rules.
29610
817328ee
AS
296112010-09-05 Andreas Schwab <schwab@linux-m68k.org>
29612
29613 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
29614 operation.
29615 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
29616 * libio/iofopncook.c (_IO_cookie_init): Likewise.
29617 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
29618 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
29619 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29620 Likewise.
29621
29fddf61
UD
296222010-09-04 Ulrich Drepper <drepper@redhat.com>
29623
29624 [BZ #11979]
29625 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
29626 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
29627
0959ffc9
UD
296282010-09-02 Ulrich Drepper <drepper@redhat.com>
29629
29630 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
29631 * sysdeps/x86_64/addmul_1.S: Likewise.
29632 * sysdeps/x86_64/lshift.S: Likewise.
29633 * sysdeps/x86_64/mul_1.S: Likewise.
29634 * sysdeps/x86_64/rshift.S: Likewise.
29635 * sysdeps/x86_64/sub_n.S: Likewise.
29636 * sysdeps/x86_64/submul_1.S: Likewise.
29637
ece29840
ST
296382010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
29639
0959ffc9
UD
29640 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
29641 Define __sched_param instead of SCHED_* and sched_param when
ece29840 29642 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 29643 * bits/sched.h [__need_schedparam]
ece29840 29644 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
29645 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
29646 (__defined_schedparam): Define to 1.
ece29840
ST
29647 (__sched_param): New structure, identical to sched_param.
29648 (__need_schedparam): Undefine.
29649
e53a31fe
MF
296502010-08-31 Mike Frysinger <vapier@gentoo.org>
29651
fdc0c10d
MF
29652 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
29653 (epoll_create1): Declare.
29654
e53a31fe
MF
29655 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
29656
a726d796
AS
296572010-08-31 Andreas Schwab <schwab@redhat.com>
29658
29659 [BZ #7066]
29660 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
29661 shifting retval into place.
29662
2f3e3dc7
UD
296632010-09-01 Ulrich Drepper <drepper@redhat.com>
29664
f2933da9
UD
29665 * nis/rpcsvc/nis.h: Update copyright notice.
29666 * nis/rpcsvc/nis.x: Likewise.
29667 * nis/rpcsvc/nis_callback.h: Likewise.
29668 * nis/rpcsvc/nis_callback.x: Likewise.
29669 * nis/rpcsvc/nis_object.x: Likewise.
29670 * nis/rpcsvc/nis_tags.h: Likewise.
29671 * nis/rpcsvc/yp.h: Likewise.
29672 * nis/rpcsvc/yp.x: Likewise.
29673 * nis/rpcsvc/ypupd.h: Likewise.
29674 * nis/yp_xdr.c: Likewise.
29675 * nis/ypupdate_xdr.c: Likewise.
29676
2f3e3dc7
UD
29677 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
29678 mainly the body of pmap_getport. Add parameters to specify timeouts.
29679 (pmap_getport): Use __libc_rpc_getport.
29680 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
29681 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
29682 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
29683
f3dcc2f9
AS
296842010-08-31 Andreas Schwab <schwab@linux-m68k.org>
29685
29686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
29687 fanotify_mark.
29688
6d34eb5b
RM
296892010-08-27 Roland McGrath <roland@redhat.com>
29690
29691 * sysdeps/i386/i686/multiarch/Makefile
29692 (CFLAGS-varshift.c): New variable.
29693
9ea3de11
UD
296942010-08-27 Ulrich Drepper <drepper@redhat.com>
29695
c96d23fc
UD
29696 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
29697 * sysdeps/i386/i686/multiarch/varshift.c: New file.
29698
9ea3de11
UD
29699 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
29700
29701 * sysdeps/x86_64/strlen.S: Minimal code improvement.
29702
623aac7f
L
297032010-08-26 H.J. Lu <hongjiu.lu@intel.com>
29704
29705 * sysdeps/x86_64/strlen.S: Unroll the loop.
29706 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29707 strlen-sse2 strlen-sse2-bsf.
29708 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
29709 __strlen_no_bsf if bit_Slow_BSF is set.
29710 (__strlen_sse42): Removed.
29711 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
29712 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
29713
8b2b7715
RM
297142010-08-25 Roland McGrath <roland@redhat.com>
29715
29716 * sysdeps/x86_64/multiarch/varshift.S: File removed.
29717 * sysdeps/x86_64/multiarch/varshift.c: New file.
29718 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
29719 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
29720 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
29721 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29722
e73015f2
L
297232010-08-25 H.J. Lu <hongjiu.lu@intel.com>
29724
29725 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29726 strlen-sse2 strlen-sse2-bsf.
29727 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
29728 __strlen_sse2_bsf if bit_Slow_BSF is unset.
29729 (__strlen_sse2): Removed.
29730 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
29731 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
29732 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29733 bit_Slow_BSF for Atom.
29734 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
29735 (index_Slow_BSF): Define.
29736 (HAS_SLOW_BSF): Define.
29737
df24a73e
UD
297382010-08-25 Ulrich Drepper <drepper@redhat.com>
29739
29740 [BZ #10851]
29741 * resolv/res_init.c (__res_vinit): When no server address at all
29742 is given default to loopback.
29743
f2ac4868
RM
297442010-08-24 Roland McGrath <roland@redhat.com>
29745
09055553
RM
29746 * configure.in: Remove config-name.h generation.
29747 * configure: Regenerated.
29748 * config-name.in: File removed.
29749 * scripts/config-uname.sh: New file.
29750 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
29751 ($(objdir)config-name.h): New target.
29752
f2ac4868
RM
29753 * sunrpc/rpc_parse.h: Avoid nested comment.
29754
73f27d5e
RH
297552010-08-24 Richard Henderson <rth@redhat.com>
29756 Ulrich Drepper <drepper@redhat.com>
29757 H.J. Lu <hongjiu.lu@intel.com>
29758
29759 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
29760 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
29761 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
29762 Replace _mm_srli_si128 with __m128i_shift_right. Replace
29763 _mm_alignr_epi8 with _mm_loadu_si128.
29764 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
29765 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
29766 (__m128i_shift_right): Removed.
29767 * sysdeps/i386/i686/multiarch/varshift.h: New file.
29768 * sysdeps/i386/i686/multiarch/varshift.S: New file.
29769 * sysdeps/x86_64/multiarch/varshift.h: New file.
29770 * sysdeps/x86_64/multiarch/varshift.S: New file.
29771
84b9230c
MF
297722010-08-21 Mike Frysinger <vapier@gentoo.org>
29773
29774 * configure.in: Move assembler checks to before sysdep dir checking.
29775
9bbd0ddc
PB
297762010-08-20 Petr Baudis <pasky@suse.cz>
29777
29778 * LICENSES: Sync the sunrpc license.
29779
9da4bb31
UD
297802010-08-19 Ulrich Drepper <drepper@redhat.com>
29781
a7ab6ec8
UD
29782 * sunrpc/auth_des.c: Update copyright notice once again.
29783 * sunrpc/auth_none.c: Likewise.
29784 * sunrpc/auth_unix.c: Likewise.
29785 * sunrpc/authdes_prot.c: Likewise.
29786 * sunrpc/authuxprot.c: Likewise.
29787 * sunrpc/bindrsvprt.c: Likewise.
29788 * sunrpc/clnt_gen.c: Likewise.
29789 * sunrpc/clnt_perr.c: Likewise.
29790 * sunrpc/clnt_raw.c: Likewise.
29791 * sunrpc/clnt_simp.c: Likewise.
29792 * sunrpc/clnt_tcp.c: Likewise.
29793 * sunrpc/clnt_udp.c: Likewise.
29794 * sunrpc/clnt_unix.c: Likewise.
29795 * sunrpc/des_crypt.c: Likewise.
29796 * sunrpc/des_soft.c: Likewise.
29797 * sunrpc/get_myaddr.c: Likewise.
29798 * sunrpc/getrpcport.c: Likewise.
29799 * sunrpc/key_call.c: Likewise.
29800 * sunrpc/key_prot.c: Likewise.
29801 * sunrpc/openchild.c: Likewise.
29802 * sunrpc/pm_getmaps.c: Likewise.
29803 * sunrpc/pm_getport.c: Likewise.
29804 * sunrpc/pmap_clnt.c: Likewise.
29805 * sunrpc/pmap_prot.c: Likewise.
29806 * sunrpc/pmap_prot2.c: Likewise.
29807 * sunrpc/pmap_rmt.c: Likewise.
29808 * sunrpc/rpc/auth.h: Likewise.
29809 * sunrpc/rpc/auth_unix.h: Likewise.
29810 * sunrpc/rpc/clnt.h: Likewise.
29811 * sunrpc/rpc/des_crypt.h: Likewise.
29812 * sunrpc/rpc/key_prot.h: Likewise.
29813 * sunrpc/rpc/netdb.h: Likewise.
29814 * sunrpc/rpc/pmap_clnt.h: Likewise.
29815 * sunrpc/rpc/pmap_prot.h: Likewise.
29816 * sunrpc/rpc/pmap_rmt.h: Likewise.
29817 * sunrpc/rpc/rpc.h: Likewise.
29818 * sunrpc/rpc/rpc_des.h: Likewise.
29819 * sunrpc/rpc/rpc_msg.h: Likewise.
29820 * sunrpc/rpc/svc.h: Likewise.
29821 * sunrpc/rpc/svc_auth.h: Likewise.
29822 * sunrpc/rpc/types.h: Likewise.
29823 * sunrpc/rpc/xdr.h: Likewise.
29824 * sunrpc/rpc_clntout.c: Likewise.
29825 * sunrpc/rpc_cmsg.c: Likewise.
29826 * sunrpc/rpc_common.c: Likewise.
29827 * sunrpc/rpc_cout.c: Likewise.
29828 * sunrpc/rpc_dtable.c: Likewise.
29829 * sunrpc/rpc_hout.c: Likewise.
29830 * sunrpc/rpc_main.c: Likewise.
29831 * sunrpc/rpc_parse.c: Likewise.
29832 * sunrpc/rpc_parse.h: Likewise.
29833 * sunrpc/rpc_prot.c: Likewise.
29834 * sunrpc/rpc_sample.c: Likewise.
29835 * sunrpc/rpc_scan.c: Likewise.
29836 * sunrpc/rpc_scan.h: Likewise.
29837 * sunrpc/rpc_svcout.c: Likewise.
29838 * sunrpc/rpc_tblout.c: Likewise.
29839 * sunrpc/rpc_util.c: Likewise.
29840 * sunrpc/rpc_util.h: Likewise.
29841 * sunrpc/rpcinfo.c: Likewise.
29842 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
29843 * sunrpc/rpcsvc/key_prot.x: Likewise.
29844 * sunrpc/rpcsvc/klm_prot.x: Likewise.
29845 * sunrpc/rpcsvc/mount.x: Likewise.
29846 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
29847 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
29848 * sunrpc/rpcsvc/rex.x: Likewise.
29849 * sunrpc/rpcsvc/rstat.x: Likewise.
29850 * sunrpc/rpcsvc/rusers.x: Likewise.
29851 * sunrpc/rpcsvc/sm_inter.x: Likewise.
29852 * sunrpc/rpcsvc/spray.x: Likewise.
29853 * sunrpc/rpcsvc/yppasswd.x: Likewise.
29854 * sunrpc/rtime.c: Likewise.
29855 * sunrpc/svc.c: Likewise.
29856 * sunrpc/svc_auth.c: Likewise.
29857 * sunrpc/svc_authux.c: Likewise.
29858 * sunrpc/svc_raw.c: Likewise.
29859 * sunrpc/svc_run.c: Likewise.
29860 * sunrpc/svc_simple.c: Likewise.
29861 * sunrpc/svc_tcp.c: Likewise.
29862 * sunrpc/svc_udp.c: Likewise.
29863 * sunrpc/svc_unix.c: Likewise.
29864 * sunrpc/svcauth_des.c: Likewise.
29865 * sunrpc/xcrypt.c: Likewise.
29866 * sunrpc/xdr.c: Likewise.
29867 * sunrpc/xdr_array.c: Likewise.
29868 * sunrpc/xdr_float.c: Likewise.
29869 * sunrpc/xdr_mem.c: Likewise.
29870 * sunrpc/xdr_rec.c: Likewise.
29871 * sunrpc/xdr_ref.c: Likewise.
29872 * sunrpc/xdr_sizeof.c: Likewise.
29873 * sunrpc/xdr_stdio.c: Likewise.
29874
9da4bb31
UD
29875 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
29876 handling.
29877
bdaa77bc
AS
298782010-08-19 Andreas Schwab <schwab@redhat.com>
29879
29880 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
29881
fe2f79db
LM
298822010-08-19 Luis Machado <luisgpm@br.ibm.com>
29883
29884 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
29885 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
29886 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
29887 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
29888 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
29889 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
29890 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
29891 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
29892 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
29893 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
29894 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
29895 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
29896 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
29897 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
29898
b9b42ee0
AB
298992010-07-26 Anton Blanchard <anton@samba.org>
29900
29901 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
29902 * malloc/arena.c (heap_trim): Likewise.
29903
1c06ba31
UD
299042010-08-16 Ulrich Drepper <drepper@redhat.com>
29905
29906 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
29907 here. Not...
29908 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
29909 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
29910
f8392f40
L
299112010-08-12 H.J. Lu <hongjiu.lu@intel.com>
29912
29913 * sysdeps/i386/elf/Makefile: New file.
29914
3162f12e
AS
299152010-08-14 Andreas Schwab <schwab@linux-m68k.org>
29916
29917 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
29918 from fanotify_init.
29919 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
29920 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
29921
28c90b2c
UD
299222010-08-15 Ulrich Drepper <drepper@redhat.com>
29923
29924 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
29925 of strncasecmp_l.
1feccb6c 29926 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 29927
ca6bb004
UD
299282010-08-14 Ulrich Drepper <drepper@redhat.com>
29929
e9f82e0d
UD
29930 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
29931 strncase_l-nonascii.
29932 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
29933 Add strncase_l-ssse3.
29934 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
29935 * sysdeps/x86_64/strcmp.S: Likewise.
29936 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
29937 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
29938 * sysdeps/x86_64/strncase.S: New file.
29939 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
29940 * sysdeps/x86_64/strncase_l.S: New file.
29941 * string/Makefile (strop-tests): Add strncasecmp.
29942 * string/test-strncasecmp.c: New file.
29943
29944 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
29945 warning.
29946
ca6bb004
UD
29947 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
29948 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
29949
052fa7b3
AS
299502010-08-14 Andreas Schwab <schwab@linux-m68k.org>
29951
29952 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
29953
962dba78
UD
299542010-08-12 Ulrich Drepper <drepper@redhat.com>
29955
29956 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
29957 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
29958 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
29959
bebff237
AM
299602010-05-01 Alan Modra <amodra@gmail.com>
29961
29962 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
29963 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
29964 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
29965 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
29966 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
29967 tidying. Don't tail-call __sigjmp_save for static lib.
29968 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
29969 save location.
29970 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
29971 (CALL_MCOUNT): Add eh info, and nop after bl.
29972 (TAIL_CALL_SYSCALL_ERROR): New macro.
29973 (PSEUDO_RET): Use it.
29974 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29975 Correct save location of integer regs and cr.
29976 (_dl_profile_resolve): Correct cr save location. Delete nops
29977 after bl when SHARED. Reduce cfi size a little by better
29978 placement of cfi directives.
29979 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
29980 make a stack frame. Instead use parm save area as a temp.
29981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
29982 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
29983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
29984 Don't make a stack frame for parent, use parm save area.
29985 Increase child stack frame to 112 bytes. Don't save unused reg,
29986 and adjust reg usage. Set up cfi on error recovery and
29987 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
29988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29989 (__makecontext): Add dummy nop after jump to exit.
29990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
29991 Use correct parm save area and cr save, reduce stack frame.
29992 Correct cfi for possible PSEUDO_RET frame setup.
29993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
29994 Branch to local label emitted by PSEUDO_RET rather than
29995 __syscall_error.
29996
02637374
AS
299972010-08-12 Andreas Schwab <schwab@redhat.com>
29998
29999 [BZ #11904]
30000 * locale/programs/locale.c (print_assignment): New function.
30001 (show_locale_vars): Use it.
30002
c3e2f19b
UD
300032010-08-11 Ulrich Drepper <drepper@redhat.com>
30004
3cdaa6ad
UD
30005 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
30006 field.
30007 (struct statfs64): Likewise.
30008 (_STATFS_F_FLAGS): Define.
30009 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
30010 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30011 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
30012 (ST_VALID): Define locally.
30013 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
30014 __statvfs_getflags, use the provided value.
30015 * sysdeps/unix/sysv/linux/kernel-features.h: Define
30016 __ASSUME_STATFS_F_FLAGS.
30017
754f7da3
UD
30018 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
30019
10b3bedc
UD
30020 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
30021 Add sys/fanotify.h.
30022 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
30023 fanotify_mask for GLIBC_2.13.
30024 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
30025 fanotify_init and fanotify_mark.
30026 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30027 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
30028
c08fb0d7
UD
30029 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
30030 Add prlimit.
30031 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
30032 prlimit64 for GLIBC_2.13.
30033 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
30034 prlimit64.
30035 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
30036 syscall.
30037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
30038 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30039 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
30040 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
30041 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
30042 add prlimit alias.
30043 * sysdeps/unix/sysv/linux/prlimit.c: New file.
30044
15bac72b
UD
30045 [BZ #11903]
30046 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
30047 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
30048
c3e2f19b
UD
30049 * nss/Makefile: Add rules to build and run tst-nss-test1.
30050 * shlib-versions: Add entry for libnss_test1.
30051 * nss/nss_test1.c: New file.
30052 * nss/tst-nss-test1.c: New file.
30053
30054 * nss/nsswitch.c (__nss_database_custom): Define new variable.
30055 (__nss_configure_lookup): Set appropriate entry in
30056 __nss_configure_lookup to true.
30057 * nss/nsswitch.h: Define enum with indeces of databases in
30058 databases and __nss_database_custom arrays. Declare
30059 __nss_database_custom.
30060 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
30061 to avoid using nscd when custom rules are installed.
30062 * nss/getXXbyYY_r.c: Likewise.
30063 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30064
30065 * nss/nss_files/files-parse.c: Whitespace fixes.
30066
f15ce4d8
UD
300672010-08-09 Ulrich Drepper <drepper@redhat.com>
30068
30069 [BZ #11883]
30070 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
30071 * posix/fnmatch_loop.c: Likewise.
30072
d22e4cc9
AK
300732010-07-17 Andi Kleen <ak@linux.intel.com>
30074
30075 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
30076 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
30077 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
30078 * Versions.def [GLIBC_2.13]: Add.
30079
805bc17d
UD
300802010-08-06 Ulrich Drepper <drepper@redhat.com>
30081
30082 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30083 Also fail if tpwd after pwuid call is NULL.
30084
5a42321d
ST
300852010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
30086
30087 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
30088 when converting to ms.
30089
fd3ebeda
ST
300902010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30091
30092 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
30093 EOPNOTSUPP errors with ENOTTY.
30094 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
30095 EOPNOTSUPP errors with ENOTTY.
30096
73507d3a
UD
300972010-07-31 Ulrich Drepper <drepper@redhat.com>
30098
30099 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30100 Add strcasecmp_l-ssse3.
30101 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
30102 strcasecmp.
30103 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
30104 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
30105 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
30106
fe36dd02
UD
301072010-07-30 Ulrich Drepper <drepper@redhat.com>
30108
66f6765a
UD
30109 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
30110
42e08a54
UD
30111 * string/Makefile (strop-tests): Add strcasecmp.
30112 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30113 strcasecmp_l-nonascii.
30114 (gen-as-const-headers): Add locale-defines.sym.
30115 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
30116 * sysdeps/x86_64/strcasecmp.S: New file.
30117 * sysdeps/x86_64/strcasecmp_l.S: New file.
30118 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
30119 * sysdeps/x86_64/locale-defines.sym: New file.
30120 * string/test-strcasecmp.c: New file.
30121
fe36dd02
UD
30122 * string/test-strcasestr.c: Test both ends of the range of characters.
30123 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
30124
48cbc0d6
RM
301252010-07-29 Roland McGrath <roland@redhat.com>
30126
76e6d6bc 30127 [BZ #11856]
48cbc0d6
RM
30128 * manual/locale.texi (Yes-or-No Questions): Fix example code.
30129
880113d9
UD
301302010-07-27 Ulrich Drepper <drepper@redhat.com>
30131
30132 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
30133 for ld.so.
30134
deb9cabb
AS
301352010-07-27 Andreas Schwab <schwab@redhat.com>
30136
30137 * manual/memory.texi (Malloc Tunable Parameters): Document
30138 M_PERTURB.
30139
1c7570ff
RM
301402010-07-26 Roland McGrath <roland@redhat.com>
30141
30142 [BZ #11840]
30143 * configure.in (-fgnu89-inline check): Set and substitute
30144 gnu89_inline, not libc_cv_gnu89_inline.
30145 * configure: Regenerated.
30146 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
30147
24fb0f88
UD
301482010-07-26 Ulrich Drepper <drepper@redhat.com>
30149
30150 * string/test-strnlen.c: New file.
30151 * string/Makefile (strop-tests): Add strnlen.
30152 * string/tester.c (test_strnlen): Add a few more test cases.
30153 * string/tst-strlen.c: Better error reporting.
30154
30155 * sysdeps/x86_64/strnlen.S: New file.
30156
8e96b93a
UD
301572010-07-24 Ulrich Drepper <drepper@redhat.com>
30158
30159 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
30160 lower-latency instructions.
30161
dbc676d4
UD
301622010-07-23 Ulrich Drepper <drepper@redhat.com>
30163
30164 * string/test-strcasestr.c: New file.
30165 * string/test-strstr.c: New file.
30166 * string/Makefile (strop-tests): Add strstr and strcasestr.
30167 * string/str-two-way.h: Don't undefine MAX.
30168 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
30169
f6a31e0e
AS
301702010-07-21 Andreas Schwab <schwab@redhat.com>
30171
30172 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30173 strcasestr-nonascii.
30174 (CFLAGS-strcasestr-nonascii.c): Define.
30175 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
30176 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
30177 Remove unused attribute.
30178
5dbc3b6c
RM
301792010-07-20 Roland McGrath <roland@redhat.com>
30180
30181 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
30182 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
30183 ld.so.cache was broken. With it, there is no way to disable dsocaps
30184 like LD_HWCAP_MASK can disable hwcaps.
30185
23d101d8
EPM
301862010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30187
30188 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
30189
cc9f2e47
UD
301902010-07-16 Ulrich Drepper <drepper@redhat.com>
30191
30192 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
30193 call in strcasestr.
30194 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
30195 __strcasestr_sse42_nonascii.
30196 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
30197 strcasestr-nonascii.c.
30198 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
30199
77c1b069
LM
302002010-06-15 Luis Machado <luisgpm@br.ibm.com>
30201
30202 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
30203 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
30204 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
30205 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
30206
440566c3
UD
302072010-07-09 Ulrich Drepper <drepper@redhat.com>
30208
30209 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
30210 fcntl.
30211
5be9d05d
AS
302122010-07-06 Andreas Schwab <schwab@redhat.com>
30213
c30b7ee2 30214 [BZ #11577]
5be9d05d
AS
30215 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
30216 dl_signal_cerror.
30217
8a492a67
UD
302182010-07-06 Ulrich Drepper <drepper@redhat.com>
30219
30220 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
30221 _PC_PIPE_BUF using F_GETPIPE_SZ.
30222
713df3d5
RM
302232010-07-05 Roland McGrath <roland@redhat.com>
30224
30225 * manual/arith.texi (Rounding Functions): Fix rint description
30226 implicit in round description.
30227
702e8f14
UD
302282010-07-02 Ulrich Drepper <drepper@redhat.com>
30229
30230 * elf/Makefile: Fix linking for a few tests to make recent linker
30231 happy.
30232
52ed8be9
AS
302332010-06-30 Andreas Schwab <schwab@redhat.com>
30234
30235 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30236 $(common-objpfx)libc_nonshared.a.
30237
f47c9a11
LM
302382010-06-21 Luis Machado <luisgpm@br.ibm.com>
30239
30240 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
30241 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
30242 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30243 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30244 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
30245 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
30246 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30247 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
30249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
30250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
30251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
30253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
30255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
30256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
30257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
30258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
30260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
30262 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
30263 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
30264 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
30265 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
30266 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
30267 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
30268 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
30269 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
30270 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
30271 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
30272 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
30273 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
30274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
30275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
30276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
30277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
30278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
30279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
30280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
30281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
30282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
30283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
30284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
30285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
30286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
30287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
30288
6fb8cbcb
L
302892010-06-25 H.J. Lu <hongjiu.lu@intel.com>
30290
30291 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
30292 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
30293 * string/memmove.c (memmove): Renamed to ...
30294 (MEMMOVE): ...this. Default to memmove.
30295 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
30296 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
30297 (END_CHK): Define.
30298 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30299 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
30300 mempcpy-ssse3-back memmove-ssse3-back.
30301 * sysdeps/x86_64/multiarch/bcopy.S: New file .
30302 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
30303 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
30304 * sysdeps/x86_64/multiarch/memcpy.S: New file.
30305 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
30306 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
30307 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
30308 * sysdeps/x86_64/multiarch/memmove.c: New file.
30309 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
30310 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
30311 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
30312 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
30313 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
30314 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
30315 Define.
30316 (index_Fast_Copy_Backward): Define.
30317 (HAS_ARCH_FEATURE): Define.
30318 (HAS_FAST_REP_STRING): Define.
30319 (HAS_FAST_COPY_BACKWARD): Define.
30320
4e733bac 303212010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
30322
30323 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30324 Restore proper fallback handling.
30325
63c4ed22
UD
303262010-06-19 Ulrich Drepper <drepper@redhat.com>
30327
ac2b484c
UD
30328 [BZ #11701]
30329 * posix/group_member.c (__group_member): Correct checking loop.
30330
63c4ed22
UD
30331 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
30332 OOM in getpwuid_r correctly. Return error number when the caller
30333 should return, otherwise -1.
30334 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
30335 call returning > 0 value.
30336 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
30337
765ade4b
AS
303382010-06-07 Andreas Schwab <schwab@redhat.com>
30339
30340 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
30341 libc_nonshared.a from targets in modules-names.
30342
80da2e09
KS
303432010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
30344
30345 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
30346 requires it.
30347
158db122
LM
303482010-06-10 Luis Machado <luisgpm@br.ibm.com>
30349
30350 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
30351 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
30352 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
30353 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
30354
caa78cf8
AS
303552010-06-02 Andreas Schwab <schwab@redhat.com>
30356
30357 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
30358
b2ef2c01
UD
303592010-06-14 Ulrich Drepper <drepper@redhat.com>
30360
30361 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
30362 and F_GETPIPE_SZ.
30363 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30364 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30365 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30366 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30367 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30368 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
30369
fbd643b6
RM
303702010-06-14 Roland McGrath <roland@redhat.com>
30371
30372 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
30373
f32f2869
JJ
303742010-06-07 Jakub Jelinek <jakub@redhat.com>
30375
30376 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
30377 __REDIRECT followed by __THROW.
30378 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
30379 * posix/getopt.h (getopt): Likewise.
30380
2a50c078
EPM
303812010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30382
30383 * hurd/lookup-at.c (__file_name_lookup_at): Accept
30384 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
30385 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
30386 in AT_FLAGS.
30387 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
30388 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
30389
eb5ad2eb
LM
303902010-05-28 Luis Machado <luisgpm@br.ibm.com>
30391
30392 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
30393
3c88fe1e
L
303942010-05-26 H.J. Lu <hongjiu.lu@intel.com>
30395
30396 [BZ #11640]
30397 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30398 Properly check family and model.
30399
d2f73151
TY
304002010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
30401
30402 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
30403
ebd2e13d
LM
304042010-05-24 Luis Machado <luisgpm@br.ibm.com>
30405
30406 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
30407
b32b8b45
UD
304082010-05-21 Ulrich Drepper <drepper@redhat.com>
30409
30410 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
30411 symbol reference.
30412
9acbe24d
AS
304132010-05-19 Andreas Schwab <schwab@redhat.com>
30414
30415 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
30416 symbol reference.
30417
f0ccf6ea
AS
304182010-05-21 Andreas Schwab <schwab@redhat.com>
30419
3d04ff3a
AS
30420 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
30421 and internal_recvmmsg.
30422 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
30423 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
30424 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
30425 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
30426
f0ccf6ea
AS
30427 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
30428 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30429 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30430
5b08ac57
AS
304312010-05-20 Andreas Schwab <schwab@redhat.com>
30432
30433 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
30434
4828935d
LM
304352010-05-17 Luis Machado <luisgpm@br.ibm.com>
30436
30437 POWER7 optimizations.
30438 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
30439 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
30440
373d545e
UD
304412010-05-19 Ulrich Drepper <drepper@redhat.com>
30442
30443 * version.h: Update for 2.13 development version.
30444
21a2b1ae
AS
304452010-05-12 Andrew Stubbs <ams@codesourcery.com>
30446
30447 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
30448 exceptions. Return 0.
30449
3f7dcb2b
RM
304502010-05-07 Roland McGrath <roland@redhat.com>
30451
30452 * elf/ldconfig.c (main): Add a const.
30453
5f24d53a 304542010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 30455
a160f8d8
UD
30456 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
30457 (args_options): Add no-idn option.
30458 (ahosts_keys_int): Add idn_flags to ai_flags.
30459 (parse_option): Handle 'i' option to clear idn_flags.
30460
5f24d53a
UD
30461 * malloc/malloc.c (_int_free): Possible race in the most recently
30462 added check. Only act on the data if no current modification
30463 happened.
265bb1ce
UD
30464
30465See ChangeLog.17 for earlier changes.
This page took 3.95777 seconds and 5 git commands to generate.