]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
* stdio-common/bug26.c (main): Correct fscanf template.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
2b66ef5d
TS
12013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2
528c2405
TS
3 * stdio-common/bug26.c (main): Correct fscanf template.
4
07b4c13d
TS
5 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6 declare _dl_skip_args.
7
ec9dd97c
TS
8 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
9 Don't declare.
10
2b66ef5d
TS
11 * manual/platform.texi: Add missing @end deftypefun.
12
4f8dfe27
JM
132013-05-24 Joseph Myers <joseph@codesourcery.com>
14
0323d086
JM
15 [BZ #15529]
16 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17 bit of mantissa of 2^16382.
18 * math/libm-test.inc (hypot_test_data): Add more tests.
19
dd4259b9
JM
20 * math/libm-test.inc: Add drem and pow10 to list of tested
21 functions.
22 (pow10_test): New function.
23 (drem_test): Likewise.
24 (drem_test_tonearest): Likewise.
25 (drem_test_towardzero): Likewise.
26 (drem_test_downward): Likewise.
27 (drem_test_upward): Likewise.
28 (main): Call the new functions.
29
4f8dfe27
JM
30 * math/libm-test.inc (finite_test_data): Remove.
31 (finite_test): Run tests from isfinite_test_data.
32 (gamma_test_data): Remove.
33 (gamma_test): Run tests from lgamma_test_data.
34 * sysdeps/i386/fpu/libm-test-ulps: Update.
35 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36
d116b7c4
AZ
372013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38
39 * manual/platform.texi: Add PowerPC PPR function set documentation.
40 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
41 implementation.
42
e96e3767
CD
432013-05-24 Carlos O'Donell <carlos@redhat.com>
44
45 * math/libm-test.inc (MAX_EXP): Define.
46 (ULPDIFF): Define.
47 (ulp): New function.
48 (check_float_internal): Use ULPDIFF.
49 (cpow_test): Disable failing test.
50 (check_ulp): Test ulp() implemetnation.
51 (main): Call check_ulp before starting tests.
52
b679a606
JM
532013-05-24 Joseph Myers <joseph@codesourcery.com>
54
e8bdba36
JM
55 * math/gen-libm-test.pl (generate_testfile): Do not handle
56 START_DATA and END_DATA.
57 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
58 END_DATA.
59 (acos_tonearest_test_data): Likewise.
60 (acos_towardzero_test_data): Likewise.
61 (acos_downward_test_data): Likewise.
62 (acos_upward_test_data): Likewise.
63 (acosh_test_data): Likewise.
64 (asin_test_data): Likewise.
65 (asin_tonearest_test_data): Likewise.
66 (asin_towardzero_test_data): Likewise.
67 (asin_downward_test_data): Likewise.
68 (asin_upward_test_data): Likewise.
69 (asinh_test_data): Likewise.
70 (atan_test_data): Likewise.
71 (atanh_test_data): Likewise.
72 (atan2_test_data): Likewise.
73 (cabs_test_data): Likewise.
74 (cacos_test_data): Likewise.
75 (cacosh_test_data): Likewise.
76 (carg_test_data): Likewise.
77 (casin_test_data): Likewise.
78 (casinh_test_data): Likewise.
79 (catan_test_data): Likewise.
80 (catanh_test_data): Likewise.
81 (cbrt_test_data): Likewise.
82 (ccos_test_data): Likewise.
83 (ccosh_test_data): Likewise.
84 (ceil_test_data): Likewise.
85 (cexp_test_data): Likewise.
86 (cimag_test_data): Likewise.
87 (clog_test_data): Likewise.
88 (clog10_test_data): Likewise.
89 (conj_test_data): Likewise.
90 (copysign_test_data): Likewise.
91 (cos_test_data): Likewise.
92 (cos_tonearest_test_data): Likewise.
93 (cos_towardzero_test_data): Likewise.
94 (cos_downward_test_data): Likewise.
95 (cos_upward_test_data): Likewise.
96 (cosh_test_data): Likewise.
97 (cosh_tonearest_test_data): Likewise.
98 (cosh_towardzero_test_data): Likewise.
99 (cosh_downward_test_data): Likewise.
100 (cosh_upward_test_data): Likewise.
101 (cpow_test_data): Likewise.
102 (cproj_test_data): Likewise.
103 (creal_test_data): Likewise.
104 (csin_test_data): Likewise.
105 (csinh_test_data): Likewise.
106 (csqrt_test_data): Likewise.
107 (ctan_test_data): Likewise.
108 (ctan_tonearest_test_data): Likewise.
109 (ctan_towardzero_test_data): Likewise.
110 (ctan_downward_test_data): Likewise.
111 (ctan_upward_test_data): Likewise.
112 (ctanh_test_data): Likewise.
113 (ctanh_tonearest_test_data): Likewise.
114 (ctanh_towardzero_test_data): Likewise.
115 (ctanh_downward_test_data): Likewise.
116 (ctanh_upward_test_data): Likewise.
117 (erf_test_data): Likewise.
118 (erfc_test_data): Likewise.
119 (exp_test_data): Likewise.
120 (exp_tonearest_test_data): Likewise.
121 (exp_towardzero_test_data): Likewise.
122 (exp_downward_test_data): Likewise.
123 (exp_upward_test_data): Likewise.
124 (exp10_test_data): Likewise.
125 (exp2_test_data): Likewise.
126 (expm1_test_data): Likewise.
127 (fabs_test_data): Likewise.
128 (fdim_test_data): Likewise.
129 (finite_test_data): Likewise.
130 (floor_test_data): Likewise.
131 (fma_test_data): Likewise.
132 (fma_towardzero_test_data): Likewise.
133 (fma_downward_test_data): Likewise.
134 (fma_upward_test_data): Likewise.
135 (fmax_test_data): Likewise.
136 (fmin_test_data): Likewise.
137 (fmod_test_data): Likewise.
138 (fpclassify_test_data): Likewise.
139 (frexp_test_data): Likewise.
140 (gamma_test_data): Likewise.
141 (hypot_test_data): Likewise.
142 (ilogb_test_data): Likewise.
143 (isfinite_test_data): Likewise.
144 (isgreater_test_data): Likewise.
145 (isgreaterequal_test_data): Likewise.
146 (isinf_test_data): Likewise.
147 (isless_test_data): Likewise.
148 (islessequal_test_data): Likewise.
149 (islessgreater_test_data): Likewise.
150 (isnan_test_data): Likewise.
151 (isnormal_test_data): Likewise.
152 (issignaling_test_data): Likewise.
153 (isunordered_test_data): Likewise.
154 (j0_test_data): Likewise.
155 (j1_test_data): Likewise.
156 (jn_test_data): Likewise.
157 (ldexp_test_data): Likewise.
158 (lgamma_test_data): Likewise.
159 (lrint_test_data): Likewise.
160 (lrint_tonearest_test_data): Likewise.
161 (lrint_towardzero_test_data): Likewise.
162 (lrint_downward_test_data): Likewise.
163 (lrint_upward_test_data): Likewise.
164 (llrint_test_data): Likewise.
165 (llrint_tonearest_test_data): Likewise.
166 (llrint_towardzero_test_data): Likewise.
167 (llrint_downward_test_data): Likewise.
168 (llrint_upward_test_data): Likewise.
169 (log_test_data): Likewise.
170 (log10_test_data): Likewise.
171 (log1p_test_data): Likewise.
172 (log2_test_data): Likewise.
173 (logb_test_data): Likewise.
174 (logb_downward_test_data): Likewise.
175 (lround_test_data): Likewise.
176 (llround_test_data): Likewise.
177 (modf_test_data): Likewise.
178 (nearbyint_test_data): Likewise.
179 (nextafter_test_data): Likewise.
180 (nexttoward_test_data): Likewise.
181 (pow_test_data): Likewise.
182 (pow_tonearest_test_data): Likewise.
183 (pow_towardzero_test_data): Likewise.
184 (pow_downward_test_data): Likewise.
185 (pow_upward_test_data): Likewise.
186 (remainder_test_data): Likewise.
187 (remainder_tonearest_test_data): Likewise.
188 (remainder_towardzero_test_data): Likewise.
189 (remainder_downward_test_data): Likewise.
190 (remainder_upward_test_data): Likewise.
191 (remquo_test_data): Likewise.
192 (rint_test_data): Likewise.
193 (rint_tonearest_test_data): Likewise.
194 (rint_towardzero_test_data): Likewise.
195 (rint_downward_test_data): Likewise.
196 (rint_upward_test_data): Likewise.
197 (round_test_data): Likewise.
198 (scalb_test_data): Likewise.
199 (scalbn_test_data): Likewise.
200 (scalbln_test_data): Likewise.
201 (signbit_test_data): Likewise.
202 (sin_test_data): Likewise.
203 (sin_tonearest_test_data): Likewise.
204 (sin_towardzero_test_data): Likewise.
205 (sin_downward_test_data): Likewise.
206 (sin_upward_test_data): Likewise.
207 (sincos_test_data): Likewise.
208 (sinh_test_data): Likewise.
209 (sinh_tonearest_test_data): Likewise.
210 (sinh_towardzero_test_data): Likewise.
211 (sinh_downward_test_data): Likewise.
212 (sinh_upward_test_data): Likewise.
213 (sqrt_test_data): Likewise.
214 (tan_test_data): Likewise.
215 (tan_tonearest_test_data): Likewise.
216 (tan_towardzero_test_data): Likewise.
217 (tan_downward_test_data): Likewise.
218 (tan_upward_test_data): Likewise.
219 (tanh_test_data): Likewise.
220 (tgamma_test_data): Likewise.
221 (trunc_test_data): Likewise.
222 (y0_test_data): Likewise.
223 (y1_test_data): Likewise.
224 (yn_test_data): Likewise.
225 (significand_test_data): Likewise.
226
b679a606
JM
227 * math/gen-libm-test.pl (@functions): Remove variable.
228 (generate_testfile): Don't handle START and END lines.
229 * math/libm-test.inc (START): New macro.
230 (END): Likewise.
231 (END_COMPLEX): Likewise.
232 (acos_test): Use END macro without arguments.
233 (acos_test_tonearest): Likewise.
234 (acos_test_towardzero): Likewise.
235 (acos_test_downward): Likewise.
236 (acos_test_upward): Likewise.
237 (acosh_test): Likewise.
238 (asin_test): Likewise.
239 (asin_test_tonearest): Likewise.
240 (asin_test_towardzero): Likewise.
241 (asin_test_downward): Likewise.
242 (asin_test_upward): Likewise.
243 (asinh_test): Likewise.
244 (atan_test): Likewise.
245 (atanh_test): Likewise.
246 (atan2_test): Likewise.
247 (cabs_test): Likewise.
248 (cacos_test): Use END_COMPLEX macro without arguments.
249 (cacosh_test): Likewise.
250 (carg_test): Use END macro without arguments.
251 (casin_test): Use END_COMPLEX macro without arguments.
252 (casinh_test): Likewise.
253 (catan_test): Likewise.
254 (catanh_test): Likewise.
255 (cbrt_test): Use END macro without arguments.
256 (ccos_test): Use END_COMPLEX macro without arguments.
257 (ccosh_test): Likewise.
258 (ceil_test): Use END macro without arguments.
259 (cexp_test): Use END_COMPLEX macro without arguments.
260 (cimag_test): Use END macro without arguments.
261 (clog_test): Use END_COMPLEX macro without arguments.
262 (clog10_test): Likewise.
263 (conj_test): Likewise.
264 (copysign_test): Use END macro without arguments.
265 (cos_test): Likewise.
266 (cos_test_tonearest): Likewise.
267 (cos_test_towardzero): Likewise.
268 (cos_test_downward): Likewise.
269 (cos_test_upward): Likewise.
270 (cosh_test): Likewise.
271 (cosh_test_tonearest): Likewise.
272 (cosh_test_towardzero): Likewise.
273 (cosh_test_downward): Likewise.
274 (cosh_test_upward): Likewise.
275 (cpow_test): Use END_COMPLEX macro without arguments.
276 (cproj_test): Likewise.
277 (creal_test): Use END macro without arguments.
278 (csin_test): Use END_COMPLEX macro without arguments.
279 (csinh_test): Likewise.
280 (csqrt_test): Likewise.
281 (ctan_test): Likewise.
282 (ctan_test_tonearest): Likewise.
283 (ctan_test_towardzero): Likewise.
284 (ctan_test_downward): Likewise.
285 (ctan_test_upward): Likewise.
286 (ctanh_test): Likewise.
287 (ctanh_test_tonearest): Likewise.
288 (ctanh_test_towardzero): Likewise.
289 (ctanh_test_downward): Likewise.
290 (ctanh_test_upward): Likewise.
291 (erf_test): Use END macro without arguments.
292 (erfc_test): Likewise.
293 (exp_test): Likewise.
294 (exp_test_tonearest): Likewise.
295 (exp_test_towardzero): Likewise.
296 (exp_test_downward): Likewise.
297 (exp_test_upward): Likewise.
298 (exp10_test): Likewise.
299 (exp2_test): Likewise.
300 (expm1_test): Likewise.
301 (fabs_test): Likewise.
302 (fdim_test): Likewise.
303 (finite_test): Likewise.
304 (floor_test): Likewise.
305 (fma_test): Likewise.
306 (fma_test_towardzero): Likewise.
307 (fma_test_downward): Likewise.
308 (fma_test_upward): Likewise.
309 (fmax_test): Likewise.
310 (fmin_test): Likewise.
311 (fmod_test): Likewise.
312 (fpclassify_test): Likewise.
313 (frexp_test): Likewise.
314 (gamma_test): Likewise.
315 (hypot_test): Likewise.
316 (ilogb_test): Likewise.
317 (isfinite_test): Likewise.
318 (isgreater_test): Likewise.
319 (isgreaterequal_test): Likewise.
320 (isinf_test): Likewise.
321 (isless_test): Likewise.
322 (islessequal_test): Likewise.
323 (islessgreater_test): Likewise.
324 (isnan_test): Likewise.
325 (isnormal_test): Likewise.
326 (issignaling_test): Likewise.
327 (isunordered_test): Likewise.
328 (j0_test): Likewise.
329 (j1_test): Likewise.
330 (jn_test): Likewise.
331 (ldexp_test): Likewise.
332 (lgamma_test): Likewise.
333 (lrint_test): Likewise.
334 (lrint_test_tonearest): Likewise.
335 (lrint_test_towardzero): Likewise.
336 (lrint_test_downward): Likewise.
337 (lrint_test_upward): Likewise.
338 (llrint_test): Likewise.
339 (llrint_test_tonearest): Likewise.
340 (llrint_test_towardzero): Likewise.
341 (llrint_test_downward): Likewise.
342 (llrint_test_upward): Likewise.
343 (log_test): Likewise.
344 (log10_test): Likewise.
345 (log1p_test): Likewise.
346 (log2_test): Likewise.
347 (logb_test): Likewise.
348 (logb_test_downward): Likewise.
349 (lround_test): Likewise.
350 (llround_test): Likewise.
351 (modf_test): Likewise.
352 (nearbyint_test): Likewise.
353 (nextafter_test): Likewise.
354 (nexttoward_test): Likewise.
355 (pow_test): Likewise.
356 (pow_test_tonearest): Likewise.
357 (pow_test_towardzero): Likewise.
358 (pow_test_downward): Likewise.
359 (pow_test_upward): Likewise.
360 (remainder_test): Likewise.
361 (remainder_test_tonearest): Likewise.
362 (remainder_test_towardzero): Likewise.
363 (remainder_test_downward): Likewise.
364 (remainder_test_upward): Likewise.
365 (remquo_test): Likewise.
366 (rint_test): Likewise.
367 (rint_test_tonearest): Likewise.
368 (rint_test_towardzero): Likewise.
369 (rint_test_downward): Likewise.
370 (rint_test_upward): Likewise.
371 (round_test): Likewise.
372 (scalb_test): Likewise.
373 (scalbn_test): Likewise.
374 (scalbln_test): Likewise.
375 (signbit_test): Likewise.
376 (sin_test): Likewise.
377 (sin_test_tonearest): Likewise.
378 (sin_test_towardzero): Likewise.
379 (sin_test_downward): Likewise.
380 (sin_test_upward): Likewise.
381 (sincos_test): Likewise.
382 (sinh_test): Likewise.
383 (sinh_test_tonearest): Likewise.
384 (sinh_test_towardzero): Likewise.
385 (sinh_test_downward): Likewise.
386 (sinh_test_upward): Likewise.
387 (sqrt_test): Likewise.
388 (tan_test): Likewise.
389 (tan_test_tonearest): Likewise.
390 (tan_test_towardzero): Likewise.
391 (tan_test_downward): Likewise.
392 (tan_test_upward): Likewise.
393 (tanh_test): Likewise.
394 (tgamma_test): Likewise.
395 (trunc_test): Likewise.
396 (y0_test): Likewise.
397 (y1_test): Likewise.
398 (yn_test): Likewise.
399 (significand_test): Likewise.
400
bae143d2
OB
4012013-05-24 Ondřej Bílka <neleai@seznam.cz>
402
403 [BZ #15381]
404 * libio/genops.c (_IO_no_init): Initialize wide struct info.
405
9323d39b
EM
4062013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
407
d4ea44a0 408 [BZ #14894]
9323d39b
EM
409 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
410 __ppc_mdoio and __ppc_mdoom.
411 * manual/platform.texi: Document new functions __ppc_yield,
412 __ppc_mdoio and __ppc_mdoom.
413
13e23af7
CD
4142013-05-22 Carlos O'Donell <carlos@redhat.com>
415
416 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
417 (main): Mention "tls" pseudo-hwcap is legacy.
418 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
419
351fe550
JM
4202013-05-22 Joseph Myers <joseph@codesourcery.com>
421
422 * math/gen-libm-test.pl (parse_args): Output only string of
423 arguments as text for test name, not full call or descriptions of
424 tests for extra outputs.
425 (generate_testfile): Do not pass function name to parse_args.
426 Generate this_func variable from START.
427 * math/libm-test.inc (struct test_f_f_data): Rename test_name
428 field to arg_str.
429 (struct test_ff_f_data): Likewise.
430 (test_ff_f_data_nexttoward): Likewise.
431 (struct test_fi_f_data): Likewise.
432 (struct test_fl_f_data): Likewise.
433 (struct test_if_f_data): Likewise.
434 (struct test_fff_f_data): Likewise.
435 (struct test_c_f_data): Likewise.
436 (struct test_f_f1_data): Likewise. Remove field extra_name.
437 (struct test_fF_f1_data): Likewise.
438 (struct test_ffI_f1_data): Likewise.
439 (struct test_c_c_data): Rename test_name field to arg_str.
440 (struct test_cc_c_data): Likewise.
441 (struct test_f_i_data): Likewise.
442 (struct test_ff_i_data): Likewise.
443 (struct test_f_l_data): Likewise.
444 (struct test_f_L_data): Likewise.
445 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
446 and extra2_name.
447 (COMMON_TEST_SETUP): New macro.
448 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
449 (COMMON_TEST_CLEANUP): Likewise.
450 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
451 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
452 macros.
453 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
454 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
455 macros.
456 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
457 (RUN_TEST_fff_f): Take argument string. Call new setup and
458 cleanup macros.
459 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
460 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
461 macros.
462 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
463 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
464 macros.
465 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
466 (RUN_TEST_fF_f1): Take argument string. Call new setup and
467 cleanup macros.
468 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
469 (RUN_TEST_fI_f1): Take argument string. Call new setup and
470 cleanup macros.
471 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
472 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
473 cleanup macros.
474 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
475 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
476 macros.
477 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
478 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
479 macros.
480 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
481 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
482 macros.
483 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
484 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
485 cleanup macros.
486 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
487 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
488 cleanup macros.
489 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
490 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
491 macros.
492 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
493 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
494 cleanup macros.
495 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
496 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
497 macros.
498 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
499 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
500 macros.
501 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
502 (RUN_TEST_fFF_11): Take argument string. Call new setup and
503 cleanup macros.
504 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
505
85118d4d
EBM
5062013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
507
508 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
509 to _sifields.sigfault.
510 (si_addr_lsb): Define new macro.
511 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
512 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
513 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
514
7a44c18f
CD
5152013-05-03 Carlos O'Donell <carlos at redhat.com>
516
517 [BZ #15441]
518 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
519 returns -1.
520 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
521 null return -1.
522 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
523 loading the domain.
524
b50a7181
JM
5252013-05-22 Joseph Myers <joseph@codesourcery.com>
526
527 * math/gen-libm-test.pl (parse_args): Do not include expected
528 result in test name.
529 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
530 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
531 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
532 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
533 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
535
051063c8
SP
5362013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
537
3ce9e010
SP
538 * benchtests/Makefile: Sort function entries.
539
051063c8
SP
540 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
541 tanh, asinh, acosh, atanh.
542 * benchtests/acos-inputs: New file.
543 * benchtests/acosh-inputs: New file.
544 * benchtests/asin-inputs: New file.
545 * benchtests/asinh-inputs: New file.
546 * benchtests/atanh-inputs: New file.
547 * benchtests/cosh-inputs: New file.
548 * benchtests/log-inputs: New file.
549 * benchtests/sinh-inputs: New file.
550 * benchtests/tanh-inputs: New file.
551
47c22455
DL
5522013-05-21 Dmitry V. Levin <ldv@altlinux.org>
553
554 [BZ #15339]
555 * posix/tst-getaddrinfo4.c: New test.
556 * posix/Makefile (tests): Add it.
557
3d04f5db
SP
5582013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
559
560 [BZ #15339]
561 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
562 when no services were used.
563 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
564 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
565
d5dd6189
AS
5662013-05-21 Andreas Schwab <schwab@suse.de>
567
568 [BZ #15014]
569 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
570 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
571 successful.
572 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
573 redundant variable declarations and reallocation of buffer when
574 parsing as IPv6 address. Always set NSS status when called from
575 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
576 buffer too small. Correct computation of needed size.
577 * nss/Makefile (tests): Add test-digits-dots.
578 * nss/test-digits-dots.c: New test.
579
fef94eab
SP
5802013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
581
582 * benchtests/Makefile: Remove instructions for adding
583 benchmark tests.
584 * benchtests/README: New file to explain how to execute and
585 enhance the benchmark tests.
586
e39adf43
AS
5872013-05-21 Andreas Schwab <schwab@suse.de>
588
589 [BZ #15493]
590 * setjmp/Makefile (tests): Add tst-sigsetjmp.
591 * setjmp/tst-sigsetjmp.c: New test.
592
b2b671b6
OB
5932013-05-20 Ondřej Bílka <neleai@seznam.cz>
594
595 * sysdeps/x86_64/memset.S (memset): New implementation.
596 (__bzero): Likewise.
597 (__memset_tail): New function.
598
2d48b41c
OB
5992013-05-20 Ondřej Bílka <neleai@seznam.cz>
600
601 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
602 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
603 __memcpy_sse2_unaligned ifunc selection.
604 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
605 Add memcpy-sse2-unaligned.S.
606 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
607 Add: __memcpy_sse2_unaligned.
608
f16cc3eb
JM
6092013-05-19 Joseph Myers <joseph@codesourcery.com>
610
3e694268
JM
611 [BZ #15490]
612 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
613 math_force_eval before restoring floating-point envrionment.
614 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
615 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
616 Likewise.
617 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
618 <math_private.h>.
619 (__nearbyintl): Use math_force_eval before restoring
620 floating-point environment.
621 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
622
db62a907
JM
623 * math/gen-libm-test.pl (special_functions): Remove.
624 (parse_args): Don't handle TEST_extra. Handle functions with no
625 return value.
626 * math/libm-test.inc (struct test_sincos_data): Replace with
627 struct test_fFF_11_data.
628 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
629 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
630 (sincos_test_data): Change element type to struct
631 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
632 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
633 RUN_TEST_LOOP_sincos.
634 * math/README.libm-test: Don't mention special handling of
635 individual functions.
636 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
637 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
638 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
639 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
640 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
642
f16cc3eb
JM
643 * math/gen-libm-test.pl (get_variable): Remove function.
644 (parse_args): Don't show pointer parameters to call in test
645 names. Use "extra output N" in test names for extra outputs
646 rather than naming variables.
647
3779b5b6
JM
6482013-05-18 Joseph Myers <joseph@codesourcery.com>
649
2ee094ff
JM
650 [BZ #15488]
651 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
652 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
653 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
654 double tests.
655 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
656 disable.
657 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
658 check_long_double.
659
3779b5b6
JM
660 * math/gen-libm-test.pl (@tests): Remove variable.
661 ($count): Likewise.
662 (new_test): Remove function.
663 (show_exceptions): New function.
664 (special_functions): Use show_exceptions instead of new_test.
665 (parse_args): Likewise.
666 (generate_testfile): Pass only function name in generated call to
667 print_max_error or print_complex_max_error.
668 (get_ulps): Do not handle complex tests specially.
669 (output_test): Rename to ...
670 (get_all_ulps_for_test): ... this. Return a string rather than
671 printing to a file. Require ulps to be present.
672 (output_ulps): Generate arrays rather than #defines.
673 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
674 (struct ulp_data): New type.
675 (BUILD_COMPLEX_ULP): Remove macro.
676 (compare_ulp_data): New function.
677 (find_ulps): Likewise.
678 (find_test_ulps): Likewise.
679 (find_function_ulps): Likewise.
680 (find_complex_function_ulps): Likewise.
681 (print_max_error): Determine allowed ulps using
682 find_function_ulps.
683 (print_complex_max_error): Determine allowed ulps using
684 find_complex_function_ulps.
685 (check_float_internal): Determine max ulps using find_test_ulps.
686 (check_float): Do not take max_ulp parameter. Update call to
687 check_float_internal.
688 (check_complex): Likewise.
689 (check_int): Do not take max_ulp parameter.
690 (check_long): Likewise.
691 (check_bool): Likewise.
692 (check_longlong): Likewise.
693 (struct test_f_f_data): Remove max_ulp field.
694 (struct test_ff_f_data): Likewise.
695 (struct test_ff_f_data_nexttoward): Likewise.
696 (struct test_fi_f_data): Likewise.
697 (struct test_fl_f_data): Likewise.
698 (struct test_if_f_data): Likewise.
699 (struct test_fff_f_data): Likewise.
700 (struct test_c_f_data): Likewise.
701 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
702 (struct test_fF_f1_data): Likewise.
703 (struct test_ffI_f1_data): Likewise.
704 (struct test_c_c_data): Remove max_ulp field.
705 (struct test_cc_c_data): Likewise.
706 (struct test_f_i_data): Likewise.
707 (struct test_ff_i_data): Likewise.
708 (struct test_f_l_data): Likewise.
709 (struct test_f_L_data): Likewise.
710 (struct test_sincos_data): Likewise.
711 (RUN_TEST_f_f): Do not handle ulps.
712 (RUN_TEST_LOOP_f_f): Likewise.
713 (RUN_TEST_2_f): Likewise.
714 (RUN_TEST_LOOP_2_f): Likewise.
715 (RUN_TEST_fff_f): Likewise.
716 (RUN_TEST_LOOP_fff_f): Likewise.
717 (RUN_TEST_c_f): Likewise.
718 (RUN_TEST_LOOP_c_f): Likewise.
719 (RUN_TEST_f_f1): Likewise.
720 (RUN_TEST_LOOP_f_f1): Likewise.
721 (RUN_TEST_fF_f1): Likewise.
722 (RUN_TEST_LOOP_fF_f1): Likewise.
723 (RUN_TEST_fI_f1): Likewise.
724 (RUN_TEST_LOOP_fI_f1): Likewise.
725 (RUN_TEST_ffI_f1): Likewise.
726 (RUN_TEST_LOOP_ffI_f1): Likewise.
727 (RUN_TEST_c_c): Likewise.
728 (RUN_TEST_LOOP_c_c): Likewise.
729 (RUN_TEST_cc_c): Likewise.
730 (RUN_TEST_LOOP_cc_c): Likewise.
731 (RUN_TEST_f_i): Likewise.
732 (RUN_TEST_LOOP_f_i): Likewise.
733 (RUN_TEST_f_i_tg): Likewise.
734 (RUN_TEST_LOOP_f_i_tg): Likewise.
735 (RUN_TEST_ff_i_tg): Likewise.
736 (RUN_TEST_LOOP_ff_i_tg): Likewise.
737 (RUN_TEST_f_b): Likewise.
738 (RUN_TEST_LOOP_f_b): Likewise.
739 (RUN_TEST_f_b_tg): Likewise.
740 (RUN_TEST_LOOP_f_b_tg): Likewise.
741 (RUN_TEST_f_l): Likewise.
742 (RUN_TEST_LOOP_f_l): Likewise.
743 (RUN_TEST_f_L): Likewise.
744 (RUN_TEST_LOOP_f_L): Likewise.
745 (RUN_TEST_sincos): Likewise.
746 (RUN_TEST_LOOP_sincos): Likewise.
747
8269107f
JM
7482013-05-17 Joseph Myers <joseph@codesourcery.com>
749
bb38759d
JM
750 [BZ #15480]
751 [BZ #15485]
752 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
753 main case of finite arguments, set rounding mode to FE_TONEAREST
754 and discard exceptions.
755 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
756 exceptions.
757 (remainder_tonearest_test_data): New variable.
758 (remainder_test_tonearest): New function.
759 (remainder_towardzero_test_data): New variable.
760 (remainder_test_towardzero): New function.
761 (remainder_downward_test_data): New variable.
762 (remainder_test_downward): New function.
763 (remainder_upward_test_data): New variable.
764 (remainder_test_upward): New function.
765 (main): Call the new test functions.
766
a00bdcf0
JM
767 * math/libm-test.inc (struct test_f_f1_data): Remove field
768 extra_init.
769 (struct test_fF_f1_data): Likewise.
770 (struct test_ffI_f1_data): Likewise.
771 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
772 based on value of EXTRA_EXPECTED.
773 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
774 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
775 EXTRA_VAR based on value of EXTRA_EXPECTED.
776 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
777 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
778 EXTRA_VAR based on value of EXTRA_EXPECTED.
779 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
780 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
781 EXTRA_VAR based on value of EXTRA_EXPECTED.
782 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
783 * math/gen-libm-test.pl (parse_args): Don't output initializers
784 for extra output values.
785
de407f79
JM
786 * math/libm-test.inc (check_int): Expect result to be exactly
787 equal to expected value and do not handle ulps.
788 (check_long): Likewise.
789 (check_longlong): Likewise.
790
8269107f
JM
791 * math/libm-test.inc (ceil_test_data): Test for "inexact"
792 exceptions.
793 (cimag_test_data): Likewise.
794 (conj_test_data): Likewise.
795 (copysign_test_data): Likewise.
796 (cproj_test_data): Likewise.
797 (creal_test_data): Likewise.
798 (fabs_test_data): Likewise.
799 (fdim_test_data): Likewise.
800 (finite_test_data): Likewise.
801 (floor_test_data): Likewise.
802 (fmax_test_data): Likewise.
803 (fmin_test_data): Likewise.
804 (fmod_test_data): Likewise.
805 (fpclassify_test_data): Likewise.
806 (frexp_test_data): Likewise.
807 (ilogb_test_data): Likewise.
808 (isfinite_test_data): Likewise.
809 (isgreater_test_data): Likewise.
810 (isgreaterequal_test_data): Likewise.
811 (isinf_test_data): Likewise.
812 (isless_test_data): Likewise.
813 (islessequal_test_data): Likewise.
814 (islessgreater_test_data): Likewise.
815 (isnan_test_data): Likewise.
816 (isnormal_test_data): Likewise.
817 (issignaling_test_data): Likewise.
818 (isunordered_test_data): Likewise.
819 (ldexp_test_data): Likewise.
820 (lrint_test_data): Likewise.
821 (lrint_test_data) [TEST_FLOAT]: Disable one test.
822 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
823 (lrint_tonearest_test_data): Test for "inexact" exceptions.
824 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
825 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
826 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
827 test input.
828 (lrint_towardzero_test_data): Test for "inexact" exceptions.
829 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
830 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
831 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
832 that test input.
833 (lrint_downward_test_data): Test for "inexact" exceptions.
834 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
835 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
836 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
837 test input.
838 (lrint_upward_test_data): Test for "inexact" exceptions.
839 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
840 test input.
841 (llrint_test_data): Test for "inexact" exceptions.
842 (llrint_test_data) [TEST_FLOAT]: Disable one test.
843 (llrint_tonearest_test_data): Test for "inexact" exceptions.
844 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
845 (llrint_towardzero_test_data): Test for "inexact" exceptions.
846 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
847 (llrint_downward_test_data): Test for "inexact" exceptions.
848 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
849 (llrint_upward_test_data): Test for "inexact" exceptions.
850 (logb_test_data): Likewise.
851 (logb_downward_test_data): Likewise.
852 (nextafter_test_data): Likewise.
853 (nexttoward_test_data): Likewise.
854 (remainder_test_data): Likewise.
855 (remquo_test_data): Likewise.
856 (scalbn_test_data): Likewise.
857 (scalbln_test_data): Likewise.
858 (signbit_test_data): Likewise.
859 (sqrt_test_data): Likewise.
860 (significand_test_data): Likewise.
861
48a18de1
SP
8622013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
863
864 [BZ #15424]
865 * benchtests/bench-modf.c (struct args): Mark arg0 as
866 volatile.
867 * scripts/bench.pl: Mark members of struct args as volatile.
868
13d3b41a
AZ
8692013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
870
68191c1d 871 [BZ # 15497]
13d3b41a
AZ
872 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
873 negative infinity on POWER6 or lower.
874 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
875
2848b105
MR
8762013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
877
878 [BZ #15442]
879 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
880 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
881 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
882 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
883 (_FP_SETQNAN): New macro.
884 (_FP_SETQNAN_SEMIRAW): Likewise.
885 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
886 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
887 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
888 (FP_EXTEND): Use _FP_FRAC_SNANP.
889 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
890 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
891 into account.
892 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
893 New macro.
894 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
895 Likewise.
896
323e5cb7
JM
8972013-05-16 Joseph Myers <joseph@codesourcery.com>
898
c58b274f
JM
899 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
900 with DIVIDE_BY_ZERO_EXCEPTION.
901 (gamma_test_data): Likewise.
902 (lgamma_test_data): Likewise.
903 (log_test_data): Likewise.
904 (log10_test_data): Likewise.
905 (log2_test_data): Likewise.
906 (tgamma_test_data): Likewise.
907
0ab34904
JM
908 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
909 (acos_test_tonearest): Likewise.
910 (acos_test_towardzero): Likewise.
911 (acos_test_downward): Likewise.
912 (acos_test_upward): Likewise.
913 (acosh_test): Likewise.
914 (asin_test): Likewise.
915 (asin_test_tonearest): Likewise.
916 (asin_test_towardzero): Likewise.
917 (asin_test_downward): Likewise.
918 (asin_test_upward): Likewise.
919 (asinh_test): Likewise.
920 (atan_test): Likewise.
921 (atanh_test): Likewise.
922 (atan2_test): Likewise.
923 (cabs_test): Likewise.
924 (cacos_test): Likewise.
925 (cacosh_test): Likewise.
926 (casin_test): Likewise.
927 (casinh_test): Likewise.
928 (catan_test): Likewise.
929 (catanh_test): Likewise.
930 (cbrt_test): Likewise.
931 (ccos_test): Likewise.
932 (ccosh_test): Likewise.
933 (cexp_test): Likewise.
934 (clog_test): Likewise.
935 (clog10_test): Likewise.
936 (cos_test): Likewise.
937 (cos_test_tonearest): Likewise.
938 (cos_test_towardzero): Likewise.
939 (cos_test_downward): Likewise.
940 (cos_test_upward): Likewise.
941 (cosh_test): Likewise.
942 (cosh_test_tonearest): Likewise.
943 (cosh_test_towardzero): Likewise.
944 (cosh_test_downward): Likewise.
945 (cosh_test_upward): Likewise.
946 (cpow_test): Likewise.
947 (csin_test): Likewise.
948 (csinh_test): Likewise.
949 (csqrt_test): Likewise.
950 (ctan_test): Likewise.
951 (ctan_test_tonearest): Likewise.
952 (ctan_test_towardzero): Likewise.
953 (ctan_test_downward): Likewise.
954 (ctan_test_upward): Likewise.
955 (ctanh_test): Likewise.
956 (ctanh_test_tonearest): Likewise.
957 (ctanh_test_towardzero): Likewise.
958 (ctanh_test_downward): Likewise.
959 (ctanh_test_upward): Likewise.
960 (erf_test): Likewise.
961 (erfc_test): Likewise.
962 (exp_test): Likewise.
963 (exp_test_tonearest): Likewise.
964 (exp_test_towardzero): Likewise.
965 (exp_test_downward): Likewise.
966 (exp_test_upward): Likewise.
967 (exp10_test): Likewise.
968 (exp2_test): Likewise.
969 (expm1_test): Likewise.
970 (fmod_test): Likewise.
971 (gamma_test): Likewise.
972 (hypot_test): Likewise.
973 (j0_test): Likewise.
974 (j1_test): Likewise.
975 (jn_test): Likewise.
976 (lgamma_test): Likewise.
977 (log_test): Likewise.
978 (log10_test): Likewise.
979 (log1p_test): Likewise.
980 (log2_test): Likewise.
981 (logb_test_downward): Likewise.
982 (pow_test): Likewise.
983 (pow_test_tonearest): Likewise.
984 (pow_test_towardzero): Likewise.
985 (pow_test_downward): Likewise.
986 (pow_test_upward): Likewise.
987 (remainder_test): Likewise.
988 (remquo_test): Likewise.
989 (sin_test): Likewise.
990 (sin_test_tonearest): Likewise.
991 (sin_test_towardzero): Likewise.
992 (sin_test_downward): Likewise.
993 (sin_test_upward): Likewise.
994 (sincos_test): Likewise.
995 (sinh_test): Likewise.
996 (sinh_test_tonearest): Likewise.
997 (sinh_test_towardzero): Likewise.
998 (sinh_test_downward): Likewise.
999 (sinh_test_upward): Likewise.
1000 (sqrt_test): Likewise.
1001 (tan_test): Likewise.
1002 (tan_test_tonearest): Likewise.
1003 (tan_test_towardzero): Likewise.
1004 (tan_test_downward): Likewise.
1005 (tan_test_upward): Likewise.
1006 (tanh_test): Likewise.
1007 (tgamma_test): Likewise.
1008 (y0_test): Likewise.
1009 (y1_test): Likewise.
1010 (yn_test): Likewise.
1011
323e5cb7
JM
1012 * math/gen-libm-test.pl (adjust_arg): Remove function.
1013 (special_function): Remove argument $in_func. Only handle
1014 generating output for tables of tests, not inside functions.
1015 (parse_args): Likewise.
1016 (generate_testfile): Remove variable $in_func. Update call to
1017 parse_args.
1018 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
1019 (MINUS_ZERO_INIT): Rename macro to minus_zero.
1020 (PLUS_INFTY_INIT): Rename macro to plus_infty.
1021 (MINUS_INFTY_INIT): Rename macro to minus_infty.
1022 (QNAN_VALUE_INIT): Rename macro to qnan_value.
1023 (MAX_VALUE_INIT): Rename macro to max_value.
1024 (MIN_VALUE_INIT): Rename macro to min_value.
1025 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
1026 (plus_zero): Remove variable.
1027 (minus_zero): Likewise.
1028 (plus_infty): Likewise.
1029 (minus_infty): Likewise.
1030 (qnan_value): Likewise.
1031 (max_value): Likewise.
1032 (min_value): Likewise.
1033 (min_subnorm_value): Likewise.
1034
e054f494
RA
10352013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1036
1037 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
1038 uint64_t or uint32_t usage.
1039 * crypt/sha256-block.c: Likewise.
1040 * crypt/sha256-crypt.c: Likewise.
1041 * crypt/sha256.c: Likewise.
1042 * crypt/sha512-block.c: Likewise.
1043 * crypt/sha512-crypt.c: Likewise.
1044 * crypt/sha512.c: Likewise.
1045 * debug/backtrace-tst.c: Likewise.
1046 * debug/pcprofiledump.c: Likewise.
1047 * elf/cache.c: Likewise.
1048 * elf/dl-cache.c: Likewise.
1049 * elf/dl-misc.c: Likewise.
1050 * elf/dl-profile.c: Likewise.
1051 * elf/dl-support.c: Likewise.
1052 * elf/ldconfig.c: Likewise.
1053 * elf/sprof.c: Likewise.
1054 * iconv/dummy-repertoire.c: Likewise.
1055 * iconv/iconv_charmap.c: Likewise.
1056 * iconv/skeleton.c: Likewise.
1057 * iconvdata/8bit-generic.c: Likewise.
1058 * iconvdata/cp737.h: Likewise.
1059 * iconvdata/cp775.h: Likewise.
1060 * iconvdata/ibm1008.h: Likewise.
1061 * iconvdata/ibm1025.h: Likewise.
1062 * iconvdata/ibm1046.h: Likewise.
1063 * iconvdata/ibm1097.h: Likewise.
1064 * iconvdata/ibm1112.h: Likewise.
1065 * iconvdata/ibm1122.h: Likewise.
1066 * iconvdata/ibm1123.h: Likewise.
1067 * iconvdata/ibm1124.h: Likewise.
1068 * iconvdata/ibm1129.h: Likewise.
1069 * iconvdata/ibm1130.h: Likewise.
1070 * iconvdata/ibm1132.h: Likewise.
1071 * iconvdata/ibm1133.h: Likewise.
1072 * iconvdata/ibm1137.h: Likewise.
1073 * iconvdata/ibm1140.h: Likewise.
1074 * iconvdata/ibm1141.h: Likewise.
1075 * iconvdata/ibm1142.h: Likewise.
1076 * iconvdata/ibm1143.h: Likewise.
1077 * iconvdata/ibm1144.h: Likewise.
1078 * iconvdata/ibm1145.h: Likewise.
1079 * iconvdata/ibm1146.h: Likewise.
1080 * iconvdata/ibm1147.h: Likewise.
1081 * iconvdata/ibm1148.h: Likewise.
1082 * iconvdata/ibm1149.h: Likewise.
1083 * iconvdata/ibm1153.h: Likewise.
1084 * iconvdata/ibm1154.h: Likewise.
1085 * iconvdata/ibm1155.h: Likewise.
1086 * iconvdata/ibm1156.h: Likewise.
1087 * iconvdata/ibm1157.h: Likewise.
1088 * iconvdata/ibm1158.h: Likewise.
1089 * iconvdata/ibm1160.h: Likewise.
1090 * iconvdata/ibm1161.h: Likewise.
1091 * iconvdata/ibm1162.h: Likewise.
1092 * iconvdata/ibm1163.h: Likewise.
1093 * iconvdata/ibm1164.h: Likewise.
1094 * iconvdata/ibm1166.h: Likewise.
1095 * iconvdata/ibm1167.h: Likewise.
1096 * iconvdata/ibm12712.h: Likewise.
1097 * iconvdata/ibm1390.h: Likewise.
1098 * iconvdata/ibm1399.h: Likewise.
1099 * iconvdata/ibm16804.h: Likewise.
1100 * iconvdata/ibm4517.h: Likewise.
1101 * iconvdata/ibm4899.h: Likewise.
1102 * iconvdata/ibm4909.h: Likewise.
1103 * iconvdata/ibm4971.h: Likewise.
1104 * iconvdata/ibm5347.h: Likewise.
1105 * iconvdata/ibm803.h: Likewise.
1106 * iconvdata/ibm856.h: Likewise.
1107 * iconvdata/ibm901.h: Likewise.
1108 * iconvdata/ibm902.h: Likewise.
1109 * iconvdata/ibm9030.h: Likewise.
1110 * iconvdata/ibm9066.h: Likewise.
1111 * iconvdata/ibm921.h: Likewise.
1112 * iconvdata/ibm922.h: Likewise.
1113 * iconvdata/ibm9448.h: Likewise.
1114 * iconvdata/isiri-3342.h: Likewise.
1115 * iconvdata/jis0201.h: Likewise.
1116 * include/link.h: Likewise.
1117 * include/netdb.h: Likewise.
1118 * inet/check_native.c: Likewise.
1119 * inet/check_pf.c: Likewise.
1120 * inet/getipv4sourcefilter.c: Likewise.
1121 * inet/getnameinfo.c: Likewise.
1122 * inet/getsourcefilter.c: Likewise.
1123 * inet/htonl.c: Likewise.
1124 * inet/setipv4sourcefilter.c: Likewise.
1125 * inet/setsourcefilter.c: Likewise.
1126 * inet/test-inet6_opt.c: Likewise.
1127 * inet/tst-network.c: Likewise.
1128 * locale/C-collate.c: Likewise.
1129 * locale/C-ctype.c: Likewise.
1130 * locale/C-time.c: Likewise.
1131 * locale/C-translit.h: Likewise.
1132 * locale/loadarchive.c: Likewise.
1133 * locale/programs/3level.h: Likewise.
1134 * locale/programs/charmap.c: Likewise.
1135 * locale/programs/charmap.h: Likewise.
1136 * locale/programs/ld-address.c: Likewise.
1137 * locale/programs/ld-collate.c: Likewise.
1138 * locale/programs/ld-ctype.c: Likewise.
1139 * locale/programs/ld-identification.c: Likewise.
1140 * locale/programs/ld-measurement.c: Likewise.
1141 * locale/programs/ld-messages.c: Likewise.
1142 * locale/programs/ld-monetary.c: Likewise.
1143 * locale/programs/ld-name.c: Likewise.
1144 * locale/programs/ld-numeric.c: Likewise.
1145 * locale/programs/ld-paper.c: Likewise.
1146 * locale/programs/ld-telephone.c: Likewise.
1147 * locale/programs/ld-time.c: Likewise.
1148 * locale/programs/linereader.c: Likewise.
1149 * locale/programs/locale.c: Likewise.
1150 * locale/programs/locarchive.c: Likewise.
1151 * locale/programs/locfile.h: Likewise.
1152 * locale/programs/repertoire.c: Likewise.
1153 * locale/programs/simple-hash.c: Likewise.
1154 * locale/programs/simple-hash.h: Likewise.
1155 * malloc/memusage.c: Likewise.
1156 * malloc/memusagestat.c: Likewise.
1157 * nis/nis_defaults.c: Likewise.
1158 * nis/nis_hash.c: Likewise.
1159 * nis/nis_print.c: Likewise.
1160 * nis/nis_xdr.c: Likewise.
1161 * nscd/connections.c: Likewise.
1162 * nscd/hstcache.c: Likewise.
1163 * nscd/nscd_gethst_r.c: Likewise.
1164 * nscd/nscd_getserv_r.c: Likewise.
1165 * nscd/nscd_helper.c: Likewise.
1166 * nscd/servicescache.c: Likewise.
1167 * nss/makedb.c: Likewise.
1168 * nss/nss_db/db-XXX.c: Likewise.
1169 * nss/nss_db/db-initgroups.c: Likewise.
1170 * nss/nss_db/db-netgrp.c: Likewise.
1171 * nss/nss_files/files-network.c: Likewise.
1172 * nss/nss_files/files-parse.c: Likewise.
1173 * posix/bug-regex5.c: Likewise.
1174 * posix/fnmatch_loop.c: Likewise.
1175 * posix/regcomp.c: Likewise.
1176 * posix/regexec.c: Likewise.
1177 * posix/tst-rfc3484-2.c: Likewise.
1178 * posix/tst-rfc3484-3.c: Likewise.
1179 * posix/tst-rfc3484.c: Likewise.
1180 * resolv/nss_dns/dns-canon.c: Likewise.
1181 * resolv/nss_dns/dns-network.c: Likewise.
1182 * resolv/res_init.c: Likewise.
1183 * resolv/res_mkquery.c: Likewise.
1184 * resolv/tst-aton.c: Likewise.
1185 * stdlib/cxa_atexit.c: Likewise.
1186 * stdlib/cxa_finalize.c: Likewise.
1187 * stdlib/gen-fpioconst.c: Likewise.
1188 * stdlib/strtol_l.c: Likewise.
1189 * string/tst-endian.c: Likewise.
1190 * sunrpc/auth_des.c: Likewise.
1191 * sunrpc/clnt_udp.c: Likewise.
1192 * sunrpc/rtime.c: Likewise.
1193 * sunrpc/svcauth_des.c: Likewise.
1194 * sunrpc/xdr.c: Likewise.
1195 * sunrpc/xdr_intXX_t.c: Likewise.
1196 * sunrpc/xdr_rec.c: Likewise.
1197 * sysdeps/generic/ldconfig.h: Likewise.
1198 * sysdeps/generic/ldsodefs.h: Likewise.
1199 * sysdeps/generic/memusage.h: Likewise.
1200 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1201 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
1202 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
1203 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1204 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1205 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1206 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1207 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1208 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1209 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1210 * sysdeps/posix/getaddrinfo.c: Likewise.
1211 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1212 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1213 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
1214 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1215 * sysdeps/powerpc/test-gettimebase.c: Likewise.
1216 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1217 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
1218 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
1219 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1220 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
1221 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1222 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1223 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
1224 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
1225 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
1226 * sysdeps/x86_64/dl-tls.h: Likewise.
1227 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
1228 * time/alt_digit.c: Likewise.
1229 * time/era.c: Likewise.
1230 * wcsmbs/tst-c16c32-1.c: Likewise.
1231
8c75f674
JM
12322013-05-16 Joseph Myers <joseph@codesourcery.com>
1233
1234 * math/libm-test.inc (struct test_sincos_data): New type.
1235 (RUN_TEST_LOOP_sincos): New macro.
1236 (sincos_test_data): New variable.
1237 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
1238
e6e49e59
RH
12392013-05-16 Richard Henderson <rth@redhat.com>
1240
1241 * math/atest-exp2.c (LIMB64): New macro.
1242 (CONSTSZ): New macro.
1243 (mp_exp1, mp_exp_m1, mp_log2): New variables.
1244 (hexdig): Move ...
1245 (print_mpn_fp): ... to function scope.
1246 (read_mpn_hex): Remove.
1247 (get_log2): Remove.
1248 (exp2_mpn): Use mp_log2.
1249 (main): Use mp_exp1.
1250
15c7c18d
JM
12512013-05-16 Joseph Myers <joseph@codesourcery.com>
1252
105a07df
JM
1253 * math/libm-test.inc: Remove comment about not testing "inexact"
1254 exceptions.
1255 (INEXACT_EXCEPTION): New macro.
1256 (NO_INEXACT_EXCEPTION): Likewise.
1257 (INVALID_EXCEPTION_OK): Update value.
1258 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1259 (OVERFLOW_EXCEPTION_OK): Likewise.
1260 (UNDERFLOW_EXCEPTION_OK): Likewise.
1261 (IGNORE_ZERO_INF_SIGN): Likewise.
1262 (ERRNO_UNCHANGED): Likewise.
1263 (ERRNO_EDOM): Likewise.
1264 (ERRNO_ERANGE): Likewise.
1265 (test_exceptions): Handle testing "inexact" exceptions.
1266 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
1267 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
1268 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
1269 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
1270 INEXACT_EXCEPTION.
1271 (rint_towardzero_test_data): Likewise.
1272 (rint_downward_test_data): Likewise.
1273 (rint_upward_test_data): Likewise.
1274
e9eee333
JM
1275 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
1276 with OVERFLOW_EXCEPTION.
1277 (exp10_test_data): Likewise.
1278 (exp2_test_data): Likewise.
1279 (expm1_test_data): Likewise.
1280 (lgamma_test_data): Likewise.
1281 (pow_test_data): Likewise.
1282 (tgamma_test_data): Likewise.
1283 (yn_test_data): Remove duplicate test of overflow.
1284
1c38ff73
JM
1285 * math/libm-test.inc (struct test_cc_c_data): New type.
1286 (RUN_TEST_LOOP_cc_c): New macro.
1287 (cpow_test_data): New variable.
1288 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
1289
15c7c18d
JM
1290 * math/libm-test.inc (struct test_f_L_data): New type.
1291 (RUN_TEST_LOOP_f_L): New macro.
1292 (llrint_test_data): New variable.
1293 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
1294 (llrint_tonearest_test_data): New variable.
1295 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
1296 (llrint_towardzero_test_data): New variable.
1297 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
1298 (llrint_downward_test_data): New variable.
1299 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
1300 (llrint_upward_test_data): New variable.
1301 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
1302 (llround_test_data): New variable.
1303 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
1304
f137ff13
PC
13052013-05-13 Peter Collingbourne <pcc@google.com>
1306
1307 * math/atest-exp2.c (get_log2): Remove const attribute.
1308
3608cb24
JM
13092013-05-15 Joseph Myers <joseph@codesourcery.com>
1310
1311 * math/libm-test.inc (struct test_f_l_data): New type.
1312 (RUN_TEST_LOOP_f_l): New macro.
1313 (lrint_test_data): New variable.
1314 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
1315 (lrint_tonearest_test_data): New variable.
1316 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
1317 (lrint_towardzero_test_data): New variable.
1318 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
1319 (lrint_downward_test_data): New variable.
1320 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
1321 (lrint_upward_test_data): New variable.
1322 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
1323 (lround_test_data): New variable.
1324 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
1325
39b1f617
PC
13262013-05-15 Peter Collingbourne <pcc@google.com>
1327
1deff3dc
PC
1328 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
1329 (EXTRACT_WORDS64) Use where appropriate.
1330 (INSERT_WORDS64) Likewise.
1331
791f3ba0
PC
1332 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
1333 constraints with x constraints.
1334 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
1335
39b1f617
PC
1336 * malloc/obstack.c (_obstack_compat): Add initializer.
1337
12fba011
EM
13382013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
1339
1340 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
1341 si_trapno and add si_addr_lsb to _sifields.sigfault.
1342 (si_trapno): Remove macro.
1343 (si_addr_lsb): Define new macro.
1344 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1345
d369f531
JM
13462013-05-15 Joseph Myers <joseph@codesourcery.com>
1347
b861c6c4
JM
1348 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
1349 instead of TEST_f_l.
1350 (llrint_test_tonearest): Likewise.
1351 (llrint_test_towardzero): Likewise.
1352 (llrint_test_downward): Likewise.
1353 (llrint_test_upward): Likewise.
1354 (llround_test): Likewise.
1355
7abeee12
JM
1356 * math/libm-test.inc (struct test_f_i_data): Add comment.
1357 (RUN_TEST_LOOP_f_b): New macro.
1358 (RUN_TEST_LOOP_f_b_tg): Likewise.
1359 (finite_test_data): New variable.
1360 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
1361 (isfinite_test_data): New variable.
1362 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1363 (isinf_test_data): New variable.
1364 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1365 (isnan_test_data): New variable.
1366 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1367 (isnormal_test_data): New variable.
1368 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1369 (issignaling_test_data): New variable.
1370 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1371 (signbit_test_data): New variable.
1372 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1373
cbe8c4d3
JM
1374 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
1375 with INVALID_EXCEPTION.
1376 (acosh_test_data): Likewise.
1377 (asin_test_data): Likewise.
1378 (atanh_test_data): Likewise.
1379 (fmod_test_data): Likewise.
1380 (log_test_data): Likewise.
1381 (log10_test_data): Likewise.
1382 (log2_test_data): Likewise.
1383 (pow_test_data): Likewise.
1384 (sqrt_test_data): Likewise.
1385 (y0_test_data): Likewise.
1386 (y1_test_data): Likewise.
1387 (yn_test_data): Likewise.
1388
5575c0e5
JM
1389 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
1390 function contents.
1391
d369f531
JM
1392 * math/libm-test.inc (struct test_ff_i_data): New type.
1393 (RUN_TEST_LOOP_ff_i_tg): New macro.
1394 (isgreater_test_data): New variable.
1395 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1396 (isgreaterequal_test_data): New variable.
1397 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1398 (isless_test_data): New variable.
1399 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1400 (islessequal_test_data): New variable.
1401 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1402 (islessgreater_test_data): New variable.
1403 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1404 (isunordered_test_data): New variable.
1405 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1406
781fd748
DM
14072013-05-14 David S. Miller <davem@davemloft.net>
1408
1409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1410
87aa21df
JM
14112013-05-14 Joseph Myers <joseph@codesourcery.com>
1412
5e908270
JM
1413 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
1414
f71172e5
JM
1415 * math/libm-test.inc (struct test_fF_f1_data): Change type of
1416 extra_test to int.
1417 (struct test_f_i_data): Change type of max_ulp to int.
1418
8cfa635a
JM
1419 * math/libm-test.inc (test_ffI_f1_data): New type.
1420 (RUN_TEST_LOOP_ffI_f1): New macro.
1421 (remquo_test_data): New variable.
1422 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
1423
2bcb36b2
JM
1424 * setjmp/tst-setjmp-fp.c: New file.
1425 * setjmp/Makefile (tests): Add tst-setjmp-fp.
1426 (link-libm): New variable.
1427 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
1428
acbd839a
JM
1429 * math/libm-test.inc (struct test_f_i_data): New type.
1430 (RUN_TEST_LOOP_f_i): New macro.
1431 (RUN_TEST_LOOP_f_i_tg): Likewise.
1432 (fpclassify_test_data): New variable.
1433 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
1434 (ilogb_test_data): New variable.
1435 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
1436
e414d745
JM
1437 * math/libm-test.inc (scalbln_test): Correct function name in END
1438 call.
1439
d9c2a0fd
JM
1440 * math/libm-test.inc (struct test_f_f1_data): Add comment.
1441 (RUN_TEST_LOOP_fI_f1): New macro.
1442 (frexp_test_data): New variable.
1443 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
1444
9dc9095d
JM
1445 * math/libm-test.inc (struct test_fF_f1_data): New type.
1446 (RUN_TEST_LOOP_fF_f1): New macro.
1447 (modf_test_data): New variable.
1448 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
1449
87aa21df
JM
1450 * math/libm-test.inc (struct test_f_f1_data): New type.
1451 (RUN_TEST_LOOP_f_f1): New macro.
1452 (gamma_test_data): New variable.
1453 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
1454 (lgamma_test_data): New variable.
1455 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
1456
141af660
CD
14572013-05-13 Carlos O'Donell <carlos@redhat.com>
1458
1459 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
1460 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
1461 (main): Comment "tls" pseudo-hwcap.
1462
6d33265c
JM
14632013-05-13 Joseph Myers <joseph@codesourcery.com>
1464
68fc074c
JM
1465 * math/libm-test.inc (struct test_fl_f_data): New type.
1466 (RUN_TEST_LOOP_fl_f): New variable.
1467 (scalbln_test_data): New variable.
1468 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
1469
243216e1
JM
1470 * math/libm-test.inc (struct test_fi_f_data): New type.
1471 (RUN_TEST_LOOP_fi_f): New macro.
1472 (ldexp_test_data): New variable.
1473 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
1474 (scalbn_test_data): New variable.
1475 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
1476
6a1992e2
JM
1477 * math/libm-test.inc (struct test_c_f_data): New type.
1478 (RUN_TEST_LOOP_c_f): New macro.
1479 (cabs_test_data): New variable.
1480 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
1481 (carg_test_data): New variable.
1482 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
1483 (cimag_test_data): New variable.
1484 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
1485 (creal_test_data): New variable.
1486 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
1487
0e400df5
JM
1488 * math/libm-test.inc (struct test_if_f_data): New type.
1489 (RUN_TEST_LOOP_if_f): New macro.
1490 (jn_test_data): New variable.
1491 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
1492 (yn_test_data): New variable.
1493 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
1494
6d33265c
JM
1495 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
1496
f98ece5f
AZ
14972013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1498
1499 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
1500 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
1501
0f7d347b
SP
15022013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1503
43fe811b
SP
1504 * benchtests/Makefile (CPPFLAGS-nonlib): Add
1505 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
1506 (bench-deps): Add bench-timing.h.
1507 * benchtests-bench-skeleton.c: Include bench-timing.h.
1508 (main): Use TIMING_* macros instead of clock_gettime.
1509 * benchtests/bench-timing.h: New file.
1510
0f7d347b
SP
1511 [BZ #14582]
1512 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
1513 Renamed from _LIB_VERSION.
1514 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
1515
601a3a5f
JM
15162013-05-12 Joseph Myers <joseph@codesourcery.com>
1517
4f184d30
JM
1518 * math/libm-test.inc (struct test_fff_f_data): New type.
1519 (RUN_TEST_LOOP_fff_f): New macro.
1520 (fma_test_data): New variable.
1521 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
1522 (fma_towardzero_test_data): New variable.
1523 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
1524 (fma_downward_test_data): New variable.
1525 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
1526 (fma_upward_test_data): New variable.
1527 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
1528
08198877
JM
1529 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
1530 (struct test_c_c_data): New type.
1531 (RUN_TEST_LOOP_c_c): New macro.
1532 (cacos_test_data): New variable.
1533 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
1534 (cacosh_test_data): New variable.
1535 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
1536 (casin_test_data): New variable.
1537 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
1538 (casinh_test_data): New variable.
1539 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
1540 (catan_test_data): New variable.
1541 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
1542 (catanh_test_data): New variable.
1543 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
1544 (ccos_test_data): New variable.
1545 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
1546 (ccosh_test_data): New variable.
1547 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
1548 (cexp_test_data): New variable.
1549 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
1550 (clog_test_data): New variable.
1551 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
1552 (clog10_test_data): New variable.
1553 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
1554 (conj_test_data): New variable.
1555 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
1556 (cproj_test_data): New variable.
1557 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
1558 (csin_test_data): New variable.
1559 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
1560 (csinh_test_data): New variable.
1561 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
1562 (csqrt_test_data): New variable.
1563 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
1564 (ctan_test_data): New variable.
1565 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
1566 (ctan_tonearest_test_data): New variable.
1567 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1568 (ctan_towardzero_test_data): New variable.
1569 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1570 (ctan_downward_test_data): New variable.
1571 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1572 (ctan_upward_test_data): New variable.
1573 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1574 (ctanh_test_data): New variable.
1575 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
1576 (ctanh_tonearest_test_data): New variable.
1577 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1578 (ctanh_towardzero_test_data): New variable.
1579 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1580 (ctanh_downward_test_data): New variable.
1581 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1582 (ctanh_upward_test_data): New variable.
1583 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1584 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
1585 of BUILD_COMPLEX.
1586
601a3a5f
JM
1587 * math/libm-test.inc (struct test_ff_f_data): New type.
1588 (struct test_ff_f_data_nexttoward): Likewise.
1589 (RUN_TEST_LOOP_2_f): New macro.
1590 (RUN_TEST_LOOP_ff_f): Likewise.
1591 (atan2_test_data): New variable.
1592 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
1593 (copysign_test_data): New variable.
1594 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
1595 (fdim_test_data): New variable.
1596 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
1597 (fmax_test_data): New variable.
1598 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
1599 (fmin_test_data): New variable.
1600 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
1601 (fmod_test_data): New variable.
1602 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
1603 (hypot_test_data): New variable.
1604 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
1605 (nextafter_test_data): New variable.
1606 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
1607 (nexttoward_test_data): New variable.
1608 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
1609 (pow_test_data): New variable.
1610 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
1611 (pow_tonearest_test_data): New variable.
1612 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
1613 (pow_towardzero_test_data): New variable.
1614 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
1615 (pow_downward_test_data): New variable.
1616 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
1617 (pow_upward_test_data): New variable.
1618 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
1619 (remainder_test_data): New variable.
1620 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
1621 (scalb_test_data): New variable.
1622 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
1623 * sysdeps/i386/fpu/libm-test-ulps: Update.
1624
74c57478
JM
16252013-05-11 Joseph Myers <joseph@codesourcery.com>
1626
8329e4da
JM
1627 * math/libm-test.inc (fma_test): Use max_value instead of local
1628 variable fltmax.
1629 (nextafter_test): Likewise.
1630
74c57478
JM
1631 * math/libm-test.inc (acos_towardzero_test_data): New variable.
1632 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1633 (acos_downward_test_data): New variable.
1634 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1635 (acos_upward_test_data): New variable.
1636 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1637 (acosh_test_data): New variable.
1638 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
1639 (asin_test_data): New variable.
1640 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
1641 (asin_tonearest_test_data): New variable.
1642 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1643 (asin_towardzero_test_data): New variable.
1644 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1645 (asin_downward_test_data): New variable.
1646 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1647 (asin_upward_test_data): New variable.
1648 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1649 (asinh_test_data): New variable.
1650 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
1651 (atan_test_data): New variable.
1652 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
1653 (atanh_test_data): New variable.
1654 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
1655 (cbrt_test_data): New variable.
1656 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
1657 (ceil_test_data): New variable.
1658 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
1659 (cos_test_data): New variable.
1660 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
1661 (cos_tonearest_test_data): New variable.
1662 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1663 (cos_towardzero_test_data): New variable.
1664 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1665 (cos_downward_test_data): New variable.
1666 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1667 (cos_upward_test_data): New variable.
1668 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1669 (cosh_test_data): New variable.
1670 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
1671 (cosh_tonearest_test_data): New variable.
1672 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1673 (cosh_towardzero_test_data): New variable.
1674 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1675 (cosh_downward_test_data): New variable.
1676 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1677 (cosh_upward_test_data): New variable.
1678 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1679 (erf_test_data): New variable.
1680 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
1681 (erfc_test_data): New variable.
1682 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
1683 (exp_test_data): New variable.
1684 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
1685 (exp_tonearest_test_data): New variable.
1686 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1687 (exp_towardzero_test_data): New variable.
1688 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1689 (exp_downward_test_data): New variable.
1690 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1691 (exp_upward_test_data): New variable.
1692 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1693 (exp10_test_data): New variable.
1694 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
1695 (exp2_test_data): New variable.
1696 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
1697 (expm1_test_data): New variable.
1698 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
1699 (fabs_test_data): New variable.
1700 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
1701 (floor_test_data): New variable.
1702 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
1703 (j0_test_data): New variable.
1704 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
1705 (j1_test_data): New variable.
1706 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
1707 (log_test_data): New variable.
1708 (log_test): Run tests with RUN_TEST_LOOP_f_f.
1709 (log10_test_data): New variable.
1710 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
1711 (log1p_test_data): New variable.
1712 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
1713 (log2_test_data): New variable.
1714 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
1715 (logb_test_data): New variable.
1716 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
1717 (logb_downward_test_data): New variable.
1718 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1719 (nearbyint_test_data): New variable.
1720 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
1721 (rint_test_data): New variable.
1722 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
1723 (rint_tonearest_test_data): New variable.
1724 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1725 (rint_towardzero_test_data): New variable.
1726 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1727 (rint_downward_test_data): New variable.
1728 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1729 (rint_upward_test_data): New variable.
1730 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1731 (round_test_data): New variable.
1732 (round_test): Run tests with RUN_TEST_LOOP_f_f.
1733 (sin_test_data): New variable.
1734 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
1735 (sin_tonearest_test_data): New variable.
1736 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1737 (sin_towardzero_test_data): New variable.
1738 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1739 (sin_downward_test_data): New variable.
1740 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1741 (sin_upward_test_data): New variable.
1742 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1743 (sinh_test_data): New variable.
1744 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
1745 (sinh_tonearest_test_data): New variable.
1746 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1747 (sinh_towardzero_test_data): New variable.
1748 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1749 (sinh_downward_test_data): New variable.
1750 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1751 (sinh_upward_test_data): New variable.
1752 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1753 (sqrt_test_data): New variable.
1754 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
1755 (tan_test_data): New variable.
1756 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
1757 (tan_tonearest_test_data): New variable.
1758 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1759 (tan_towardzero_test_data): New variable.
1760 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1761 (tan_downward_test_data): New variable.
1762 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1763 (tan_upward_test_data): New variable.
1764 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1765 (tanh_test_data): New variable.
1766 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
1767 (tgamma_test_data): New variable.
1768 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
1769 (trunc_test_data): New variable.
1770 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
1771 (y0_test_data): New variable.
1772 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
1773 (y1_test_data): New variable.
1774 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
1775 (significand_test_data): New variable.
1776 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
1777
7187d844
CG
17782013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
1779
1780 [BZ #12387]
1781 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
1782
f63fae73
PT
17832013-05-10 Pino Toscano <toscano.pino@tiscali.it>
1784
1785 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
1786
8a67a4b3
AJ
17872013-05-10 Andreas Jaeger <aj@suse.de>
1788
1789 [BZ #15448]
1790 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
1791 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
1792
51df539d
JM
17932013-05-10 Joseph Myers <joseph@codesourcery.com>
1794
1795 * math/gen-libm-test.pl (adjust_arg): New function.
1796 (special_functions): Handle generating output in both functions
1797 and arrays.
1798 (parse_args): Likewise.
1799 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
1800 $in_func argument to parse_args.
1801 * math/libm-test.inc (struct test_f_f_data): New type.
1802 (IF_ROUND_INIT_): New macro.
1803 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
1804 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1805 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1806 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1807 (ROUND_RESTORE_): Likewise.
1808 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
1809 (ROUND_RESTORE_FE_TONEAREST): Likewise.
1810 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
1811 (ROUND_RESTORE_FE_UPWARD): Likewise.
1812 (RUN_TEST_LOOP_f_f): New macro.
1813 (acos_test_data): New variable.
1814 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
1815 (acos_tonearest_test_data): New variable.
1816 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1817
5c637fe5
SP
18182013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1819
1820 * benchtests/bench-skeleton.c (startup): Fix coding style.
1821
ab2b9461
JM
18222013-05-10 Joseph Myers <joseph@codesourcery.com>
1823
1824 [BZ #6809]
1825 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
1826 negative infinity argument.
1827 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
1828 negative infinity argument.
1829 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
1830 negative infinity argument.
1831 * math/libm-test.inc (tgamma_test): Expect errno to be set for
1832 domain errors.
1833
4c0fe6fe
FW
18342013-05-10 Florian Weimer <fweimer@redhat.com>
1835
1836 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
1837 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
1838 * iconv/iconv_prog.c (main): Likewise.
1839 * locale/programs/charmap-dir.c (charmap_readdir)
1840 (fopen_uncompressed): Likewise.
1841 * locale/programs/locfile.c (siblings_uncached)
1842 (write_locale_data): Use lstat64 instead of lstat.
1843 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
1844 stat.
1845
a3375d29
AJ
18462013-05-10 Andreas Jaeger <aj@suse.de>
1847
1848 [BZ #15395]
1849 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
1850 localization.
1851 Include <locale.h>.
1852
36129722
CD
18532013-05-09 Carlos O'Donell <carlos@redhat.com>
1854
1855 * elf/dl-close.c (_dl_close_worker): Add comments.
1856
faa7f811
JM
18572013-05-09 Joseph Myers <joseph@codesourcery.com>
1858
ed41ffef
JM
1859 [BZ #15359]
1860 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
1861 high part of pi/2.
1862 (__ieee754_rem_pio2l): Update comments.
1863
d0213cd0
JM
1864 [BZ #15429]
1865 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
1866 high part of pi/2.
1867 (__ieee754_rem_pio2l): Update comments.
1868
0d3e777a
JM
1869 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
1870 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
1871
24f56066
JM
1872 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
1873 M_PI_4l.
1874
faa7f811
JM
1875 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
1876 (M_PI_34_LOG10El): Likewise.
1877 (M_PI2_LOG10El): Likewise.
1878 (M_PI4_LOG10El): Likewise.
1879 (M_PI_LOG10El): Likewise.
1880
e9a5e0fd
AZ
18812013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1882
1883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1884
d8cd06db
JM
18852013-05-08 Joseph Myers <joseph@codesourcery.com>
1886
a0d9f9d7
JM
1887 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
1888 (MINUS_ZERO_INIT): Likewise.
1889 (PLUS_INFTY_INIT): Likewise.
1890 (MINUS_INFTY_INIT): Likewise.
1891 (QNAN_VALUE_INIT): Likewise.
1892 (MAX_VALUE_INIT): Likewise.
1893 (MIN_VALUE_INIT): Likewise.
1894 (MIN_SUBNORM_VALUE_INIT): Likewise.
1895 (plus_zero): Initialize with PLUS_ZERO_INIT.
1896 (minus_zero): Initialize with MINUS_ZERO_INIT.
1897 (plus_infty): Initialize with PLUS_INFTY_INIT.
1898 (minus_infty): Initialize with MINUS_INFTY_INIT.
1899 (qnan_value): Initialize with QNAN_VALUE_INIT.
1900 (max_value): Initialize with MAX_VALUE_INIT.
1901 (min_value): Initialize with MIN_VALUE_INIT.
1902 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
1903
ae08db3b
JM
1904 * math/libm-test.inc (RUN_TEST_if_f): New macro.
1905 (jn_test): Use TEST_if_f instead of TEST_ff_f.
1906 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
1907 (yn_test): Use TEST_if_f instead of TEST_ff_f.
1908
f44bf14a
JM
1909 * math/libm-test.inc (RUN_TEST_f_f): New macro.
1910 (RUN_TEST_2_f): Likewise.
1911 (RUN_TEST_ff_f): Likewise.
1912 (RUN_TEST_fi_f): Likewise.
1913 (RUN_TEST_fl_f): Likewise.
1914 (RUN_TEST_fff_f): Likewise.
1915 (RUN_TEST_c_f): Likewise.
1916 (RUN_TEST_f_f1): Likewise.
1917 (RUN_TEST_fF_f1): Likewise.
1918 (RUN_TEST_fI_f1): Likewise.
1919 (RUN_TEST_ffI_f1): Likewise.
1920 (RUN_TEST_c_c): Likewise.
1921 (RUN_TEST_cc_c): Likewise.
1922 (RUN_TEST_f_i): Likewise.
1923 (RUN_TEST_f_i_tg): Likewise.
1924 (RUN_TEST_ff_i_tg): Likewise.
1925 (RUN_TEST_f_b): Likewise.
1926 (RUN_TEST_f_b_tg): Likewise.
1927 (RUN_TEST_f_l): Likewise.
1928 (RUN_TEST_f_L): Likewise.
1929 (RUN_TEST_sincos): Likewise.
1930 * math/gen-libm-test.pl (new_test): Take new argument to indicate
1931 whether to show exceptions. Do not include ");\n" in return
1932 value.
1933 (special_functions): Output call to RUN_TEST_sincos instead of
1934 check_float calls. Update calls to new_test.
1935 (parse_args): Output call to single RUN_TEST_* macro instead of
1936 check_* calls and other assignments. Update calls to new_test.
1937
d8cd06db
JM
1938 [BZ #2546]
1939 [BZ #2560]
1940 [BZ #5159]
1941 [BZ #15426]
1942 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
1943 input to result for tgamma overflow.
1944 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
1945 (gamma_coeff): New variable.
1946 (NCOEFF): New macro.
1947 (gamma_positive): New function.
1948 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
1949 underflow here. Use gamma_positive instead of exp (lgamma) for
1950 other arguments.
1951 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
1952 (gamma_coeff): New variable.
1953 (NCOEFF): New macro.
1954 (gammaf_positive): New function.
1955 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
1956 underflow here. Use gamma_positive instead of exp (lgamma) for
1957 other arguments.
1958 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
1959 (gamma_coeff): New variable.
1960 (NCOEFF): New macro.
1961 (gammal_positive): New function.
1962 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
1963 underflow here. Use gamma_positive instead of exp (lgamma) for
1964 other arguments.
1965 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
1966 (gamma_coeff): New variable.
1967 (NCOEFF): New macro.
1968 (gammal_positive): New function.
1969 (__ieee754_gammal_r): Handle positive infinity, overflow and
1970 underflow here. Handle NaN the same as positive infinity. Remove
1971 check x < 0xffffffff for negative integers. Use gamma_positive
1972 instead of exp (lgamma) for other arguments.
1973 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
1974 (gamma_coeff): New variable.
1975 (NCOEFF): New macro.
1976 (gammal_positive): New function.
1977 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
1978 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
1979 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1980 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
1981 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1982 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
1983 * sysdeps/generic/math_private.h (__gamma_productf): New
1984 prototype.
1985 (__gamma_product): Likewise.
1986 (__gamma_productl): Likewise.
1987 * math/Makefile (libm-calls): Add gamma_product.
1988 * math/libm-test.inc (tgamma_test): Add more tests.
1989 * sysdeps/i386/fpu/libm-test-ulps: Update.
1990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1991
bb7cf681
OB
19922013-05-08 Ondřej Bílka <neleai@seznam.cz>
1993
1994 * benchtests/bench-skeleton.c (main): Preheat CPU.
1995
ba853947
AJ
19962013-05-07 Aurelien Jarno <aurelien@aurel32.net>
1997
1998 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
1999
8347c74c
RM
20002013-05-07 Roland McGrath <roland@hack.frob.com>
2001
2002 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
2003 and _dl_skip_args_internal.
2004
e8dd4791
CD
20052013-05-07 Carlos O'Donell <carlos@redhat.com>
2006
2007 * manual/message.texi (Message Translation): Talk about users.
2008 Message to key mapping impacts design.
2009
c7405830
RM
20102013-05-06 Roland McGrath <roland@hack.frob.com>
2011
a9173057
RM
2012 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
2013
976e2f03
RM
2014 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
2015
9723ffc5
RM
2016 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
2017 * sysdeps/wordsize-64/glob64.c: ... here.
2018
962e6658
RM
2019 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
2020 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
2021 New macros.
2022
ee586a6d
RM
2023 * debug/getlogin_r_chk.c: Moved to ...
2024 * login/getlogin_r_chk.c: ... here.
2025 * debug/Makefile (routines): Move getlogin_r_chk to ...
2026 * login/Makefile (routines): ... here.
2027 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
2028 * login/Versions (libc: GLIBC_2.4): ... here.
2029
355f9165
RM
2030 * io/poll.c (__poll): Renamed from poll.
2031 Add libc_hidden_def.
2032 (poll): Define as weak alias.
2033
bd9ffde6
RM
2034 * debug/ptsname_r_chk.c: Moved to ...
2035 * login/ptsname_r_chk.c: ... here.
2036 * debug/Makefile (routines): Move ptsname_r_chk to ...
2037 * login/Makefile (routines): ... here.
2038 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
2039 * login/Versions (libc: GLIBC_2.4): ... here.
2040
8fb16a04
RM
2041 * posix/getlogin.c: Moved to ...
2042 * login/getlogin.c: ... here.
2043 * posix/getlogin_r.c: Moved to ...
2044 * login/getlogin_r.c: ... here.
2045 * posix/getlogin_r.c: Moved to ...
2046 * login/getlogin_r.c: ... here.
2047 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
2048 * login/Makefile (routines): ... here.
2049 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
2050 * login/Versions (libc: GLIBC_2.0): ... here.
2051
b99b892f
RM
2052 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
2053 (setrlimit): Define as weak alias.
2054
c7405830
RM
2055 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
2056 Call __ names for open, ftruncate, and close.
2057 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
2058 (truncate): Define as weak alias.
2059
5bf96de5
JM
20602013-05-06 Joseph Myers <joseph@codesourcery.com>
2061
9ea3513c
JM
2062 * math/gen-libm-test.pl (parse_args): Initialize x before each
2063 test of frexp, modf and remquo.
2064
5bf96de5
JM
2065 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
2066 test signgam value.
2067
16e616a7
AZ
20682013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2069
2070 [BZ #15418]
2071 [BZ #15419]
2072 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
2073 internal tests.
2074 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2075
d5e82754
RM
20762013-05-06 Roland McGrath <roland@hack.frob.com>
2077
2078 * elf/dl-writev.h: New file.
2079 * elf/dl-misc.c: Include it.
2080 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
2081 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
2082
a7548d41
JM
20832013-05-04 Joseph Myers <joseph@codesourcery.com>
2084
b7dab1e4
JM
2085 * math/libm-test.inc (noXFails): Remove variable.
2086 (noXPasses): Likewise.
2087 (BUILD_COMPLEX_INT): Remove macro.
2088 (print_screen): Remove xfail argument.
2089 (print_screen_max_error): Likewise.
2090 (update_stats): Likewise.
2091 (print_max_error): Likewise. Update calls to other affected
2092 functions.
2093 (print_complex_max_error): Likewise.
2094 (test_single_exception): Update calls to print_screen.
2095 (test_single_errno): Likewise.
2096 (check_float_internal): Remove xfail argument. Update calls to
2097 other affected functions.
2098 (check_float): Likewise.
2099 (check_complex): Likewise.
2100 (check_int): Likewise.
2101 (check_long): Likewise.
2102 (check_bool): Likewise.
2103 (check_longlong): Likewise.
2104 (main): Don't print noXFails and noXPasses.
2105 * math/gen-libm-test.pl (top level): Don't mention expected
2106 failure handling in comment.
2107 (new_test): Don't handle expected failures.
2108 (parse_args): Don't mention expected failure handling in comment.
2109 (generate_testfile): Don't handle expected failures.
2110 (parse_ulps): Likewise.
2111 (print_ulps_file): Likewise.
2112 (get_failure): Remove function.
2113 (output_test): Don't handle expected failures.
2114 * make/README.libm-test: Don't mention expected failure handling.
2115
a7548d41
JM
2116 * math/libm-test.inc (plus_zero): Make const. Add initializer.
2117 (minus_zero): Likewise.
2118 (plus_infty): Likewise.
2119 (minus_infty): Likewise.
2120 (qnan_value): Likewise.
2121 (max_value): Likewise.
2122 (min_value): Likewise.
2123 (min_subnorm_value): Likewise.
2124 (initialize): Do not initialize those variables dynamically.
2125
60bfd54c
RM
21262013-05-03 Roland McGrath <roland@hack.frob.com>
2127
cc0e6ed8
RM
2128 * io/open.c (__open_2): Moved to ...
2129 * io/open_2.c: ... this new file.
2130 * io/open64.c (__open64_2): Moved to ...
2131 * io/open64_2.c: ... this new file.
2132 * io/openat.c (__openat_2): Moved to ...
2133 * io/openat_2.c: ... this new file.
2134 * io/openat64.c (__openat64_2): Moved to ...
2135 * io/openat64_2.c: ... this new file.
2136 * io/Makefile (routines): Add them.
2137 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
2138 * sysdeps/unix/sysv/linux/open_2.c: File removed.
2139 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
2140 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
2141 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
2142 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
2143 (__openat64): Add hidden_ver.
2144 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
2145 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
2146
60bfd54c
RM
2147 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
2148 Separately conditionalize setting of GLRO(dl_sysinfo) so
2149 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
2150 as well, but the actual setting is only under [NEED_DL_SYSINFO].
2151
83e7640f
AZ
21522013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2153
2154 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
2155 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
2156 definition.
2157 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
2158 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2159 (_libc_vdso_platform_setup): Add __vdso_time initialization.
2160 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
2161 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
2162
d5dc2af3
JM
21632013-05-03 Joseph Myers <joseph@codesourcery.com>
2164
c31a5b1e
JM
2165 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
2166 test signgam value.
2167
d5dc2af3
JM
2168 * math/libm-test.inc (hypot_test): Do not use
2169 IGNORE_ZERO_INF_SIGN.
2170
164fd39d
AJ
21712013-05-03 Andreas Jaeger <aj@suse.de>
2172
2173 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
2174 Linux 3.9.
2175 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
2176 (PF_MAX): Adjust for VSOCK change.
2177
8237f48c
AZ
21782013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2179
2180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2181
9df02941
CD
21822013-05-02 Carlos O'Donell <carlos@redhat.com>
2183
2184 [BZ #15264]
2185 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
2186 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
2187 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
2188
d422395e
DM
21892013-05-02 David S. Miller <davem@davemloft.net>
2190
2191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2192
a07c5731
OB
21932013-05-01 Ondřej Bílka <neleai@seznam.cz>
2194
2195 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
2196
1324e37f
RM
21972013-05-01 Roland McGrath <roland@hack.frob.com>
2198
2199 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
2200
0695940b
RS
22012013-05-01 Richard Smith <richard@metafoo.co.uk>
2202
bb5f27ad 2203 [BZ #14952]
0695940b
RS
2204 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
2205 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2206 Use __attribute__ ((__gnu_inline__)).
2207 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2208 Don't use __attribute__ ((__gnu_inline__)).
2209
10de07f5
JM
22102013-05-01 Joseph Myers <joseph@codesourcery.com>
2211
2212 [BZ #15423]
2213 * math/s_catan.c (__catan): Handle small real or imaginary part of
2214 input specially to avoid spurious underflow.
2215 * math/s_catanf.c (__catanf): Likewise.
2216 * math/s_catanh.c (__catanh): Likewise.
2217 * math/s_catanhf.c (__catanhf): Likewise.
2218 * math/s_catanhl.c (__catanhl): Likewise.
2219 * math/s_catanl.c (__catanl): Likewise.
2220 * math/libm-test.inc (catan_test): Add more tests.
2221 (catanh_test): Likewise.
2222 * sysdeps/i386/fpu/libm-test-ulps: Update.
2223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2224
cb4d5414
AZ
22252013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2226
2227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2228
caf84319
JM
22292013-04-30 Joseph Myers <joseph@codesourcery.com>
2230
2231 [BZ #15416]
2232 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
2233 accurately for denominator in atan2.
2234 * math/s_catanf.c (__catanf): Likewise.
2235 * math/s_catanh.c (__catanh): Likewise.
2236 * math/s_catanhf.c (__catanhf): Likewise.
2237 * math/s_catanhl.c (__catanhl): Likewise.
2238 * math/s_catanl.c (__catanl): Likewise.
2239 * math/libm-test.inc (catan_test): Add more tests.
2240 (catanh_test): Likewise.
2241 * sysdeps/i386/fpu/libm-test-ulps: Update.
2242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2243
d569c6ee
SP
22442013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2245
6dbe713d
SP
2246 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
2247
f0ee064b
SP
2248 * benchtests/Makefile (bench): Remove slow benchmarks.
2249 * benchtests/atan-inputs: Add slow benchmark inputs.
2250 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
2251 (BENCH_FUNC): Accept variant offset.
2252 (VARIANT): Define.
2253 * benchtests/bench-skeleton.c (main): Run benchmark for each
2254 variant.
2255 * benchtests/cos-inputs: Add slow benchmark inputs.
2256 * benchtests/exp-inputs: Likewise.
2257 * benchtests/pow-inputs: Likewise.
2258 * benchtests/sin-inputs: Likewise.
2259 * benchtests/slowatan-inputs: Remove.
2260 * benchtests/slowatan.c: Remove.
2261 * benchtests/slowcos-inputs: Remove.
2262 * benchtests/slowcos.c: Remove.
2263 * benchtests/slowexp-inputs: Remove.
2264 * benchtests/slowexp.c: Remove.
2265 * benchtests/slowpow-inputs: Remove.
2266 * benchtests/slowpow.c: Remove.
2267 * benchtests/slowsin-inputs: Remove.
2268 * benchtests/slowsin.c: Remove.
2269 * benchtests/slowtan-inputs: Remove.
2270 * benchtests/slowtan.c: Remove.
2271 * benchtests/tan-inputs: Add slow benchmark inputs.
2272 * scripts/bench.pl: Parse comments and directives.
2273
d569c6ee
SP
2274 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
2275 in CPPFLAGS.
2276 ($(objpfx)bench-%.c): Remove *-ITER.
2277 * benchtests/bench-modf.c: Remove definition of ITER.
2278 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
2279 (main): Loop for DURATION seconds instead of fixed number of
2280 iterations.
2281 * scripts/bench.pl: Don't expect iterations in parameters.
2282
a6a242fe
RM
22832013-04-29 Roland McGrath <roland@hack.frob.com>
2284
2285 * io/fchdir.c (__fchdir): Renamed from fchdir.
2286 (fchdir): Define as weak alias.
2287
f2da7793
JM
22882013-04-29 Joseph Myers <joseph@codesourcery.com>
2289
2290 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
2291 (ERRNO_EDOM): Likewise.
2292 (ERRNO_ERANGE): Likewise.
2293 (noErrnoTests): New variable.
2294 (init_max_error): Set errno to 0.
2295 (test_single_errno): New function.
2296 (test_errno): Likewise.
2297 (check_float_internal): Call test_errno. Set errno to 0.
2298 (check_complex): Refer to errno tests in comment.
2299 (check_int): Call test_errno. Set errno to 0.
2300 (check_long): Likewise.
2301 (check_bool): Likewise.
2302 (check_longlong): Likewise.
2303 (cos_test): Use ERRNO_* flags for errno tests instead of
2304 check_int.
2305 (expm1_test): Likewise.
2306 (fmod_test): Likewise.
2307 (ilogb_test): Likewise.
2308 (lgamma_test): Likewise.
2309 (pow_test): Likewise.
2310 (remainder_test): Likewise.
2311 (sin_test): Likewise.
2312 (tan_test): Likewise.
2313 (yn_test): Likewise.
2314 (initialize): Set errno to 0.
2315 (main): Print number of errno tests.
2316 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
2317
b1a36ceb
AJ
23182013-04-29 Andreas Jaeger <aj@suse.de>
2319
c3ed8088
AJ
2320 [BZ #15084]
2321 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
2322 and RES_USEVC.
2323
f1a24198
AJ
2324 [BZ #15085]
2325 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
2326 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
2327 unimplemented.
2328
9ce3b2cb
AJ
2329 [BZ #15380]
2330 * stdlib/random.c (__initstate): Return NULL if
2331 __initstate fails.
2332
f1a24198 2333 [BZ #15086]
b1a36ceb
AJ
2334 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
2335 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
2336 RES_SNGLKUPREOP.
2337
7e7b6f36
AZ
23382013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2339
2340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2341
4d14f449
JM
23422013-04-29 Joseph Myers <joseph@codesourcery.com>
2343
2344 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
2345 of individual tests.
2346 (casin_test): Likewise.
2347 (casinh_test): Likewise.
2348
5b4217d7
JM
23492013-04-27 Joseph Myers <joseph@codesourcery.com>
2350
2351 [BZ #15409]
2352 * math/s_catan.c (__catan): Handle arguments with large real or
2353 imaginary part separately without squaring.
2354 * math/s_catanf.c (__catanf): Likewise.
2355 * math/s_catanh.c (__catanh): Likewise.
2356 * math/s_catanhf.c (__catanhf): Likewise.
2357 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2358 and redefine.
2359 (__catanhl): Handle arguments with large real or imaginary part
2360 separately without squaring.
2361 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2362 and redefine.
2363 (__catanl): Handle arguments with large real or imaginary part
2364 separately without squaring.
2365 * math/libm-test.inc (catan_test): Add more tests.
2366 (catanh_test): Likewise.
2367 * sysdeps/i386/fpu/libm-test-ulps: Update.
2368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2369
4220c3ef
AJ
23702013-04-27 Andreas Jaeger <aj@suse.de>
2371
2372 [BZ #15007]
2373 * stdlib/stdlib.h: Update guards for qecvt.
2374 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
2375 <stdlib.h>.
2376
4721b2d1
AM
23772013-04-27 Allan McRae <allan@archlinux.org>
2378
2379 * sysdeps/i386/fpu/libm-test-ulps: Update.
2380
f0302940
JM
23812013-04-26 Joseph Myers <joseph@codesourcery.com>
2382
9457fd95
JM
2383 [BZ #15406]
2384 * math/s_catan.c: Include <float.h>.
2385 (__catan): Ensure underflow exception occurs for underflowed
2386 result.
2387 * math/s_catanf.c: Include <float.h>.
2388 (__catanf): Ensure underflow exception occurs for underflowed
2389 result.
2390 * math/s_catanh.c: Include <float.h>.
2391 (__catanh): Ensure underflow exception occurs for underflowed
2392 result.
2393 * math/s_catanhf.c: Include <float.h>.
2394 (__catanhf): Ensure underflow exception occurs for underflowed
2395 result.
2396 * math/s_catanhl.c: Include <float.h>.
2397 (__catanhl): Ensure underflow exception occurs for underflowed
2398 result.
2399 * math/s_catanl.c: Include <float.h>.
2400 (__catanl): Ensure underflow exception occurs for underflowed
2401 result.
2402 * math/libm-test.inc (catan_test): Add more tests.
2403 (catanh_test): Likewise.
2404
f0302940
JM
2405 [BZ #15405]
2406 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
2407 underflowed result.
2408 * math/s_ccoshf.c (__ccoshf): Likewise.
2409 * math/s_ccoshl.c (__ccoshl): Likewise.
2410 * math/s_csin.c (__csin): Likewise.
2411 * math/s_csinf.c (__csinf): Likewise.
2412 * math/s_csinh.c (__csinh): Likewise.
2413 * math/s_csinhf.c (__csinhf): Likewise.
2414 * math/s_csinhl.c (__csinhl): Likewise.
2415 * math/s_csinl.c (__csinl): Likewise.
2416 * math/libm-test.inc (ccos_test): Add more tests.
2417 (ccosh_test): Likewise.
2418 (csin_test): Likewise.
2419 (csinh_test): Likewise.
2420
aa630f59
AZ
24212013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2422
2423 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
2424 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
2425 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
2426 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
2427 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
2428 powerpc/power5+/fpu folders.
2429 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
2430
2431
1b835983
MT
24322013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2433
2434 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2435
73709b26
JM
24362013-04-25 Joseph Myers <joseph@codesourcery.com>
2437
2438 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
2439 additions to variable.
2440 [$(config-machine) = x86_64] (modules-names): Likewise.
2441 ($(objpfx)tst-audit3): Remove dependency.
2442 ($(objpfx)tst-audit3.out): Likewise.
2443 ($(objpfx)tst-audit4): Likewise.
2444 ($(objpfx)tst-audit4.out): Likewise.
2445 ($(objpfx)tst-audit5): Likewise.
2446 ($(objpfx)tst-audit5.out): Likewise.
2447 ($(objpfx)tst-audit6): Likewise.
2448 ($(objpfx)tst-audit6.out): Likewise.
2449 ($(objpfx)tst-audit7): Likewise.
2450 ($(objpfx)tst-audit7.out): Likewise.
2451 (tst-audit3-ENV): Remove variable.
2452 (tst-audit4-ENV): Likewise.
2453 (tst-audit5-ENV): Likewise.
2454 (tst-audit6-ENV): Likewise.
2455 (tst-audit7-ENV): Likewise.
2456 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
2457 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
2458 addition to variable.
2459 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
2460 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
2461 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
2462 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
2463 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
2464 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
2465 tst-audit3, tst-audit4 and tst-audit5.
2466 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
2467 tst-audit6 and tst-audit7.
2468 [$(subdir) = elf] (modules-names): Add audit modules for those
2469 tests.
2470 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
2471 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
2472 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
2473 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
2474 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
2475 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
2476 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
2477 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
2478 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
2479 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
2480 [$(subdir) = elf] (tst-audit3-ENV): New variable.
2481 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
2482 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
2483 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
2484 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
2485 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
2486 Likewise.
2487 [$(subdir) = elf && $(config-cflags-avx) = yes]
2488 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
2489 [$(subdir) = elf && $(config-cflags-avx) = yes]
2490 (CFLAGS-tst-auditmod4a.c): Likewise.
2491 [$(subdir) = elf && $(config-cflags-avx) = yes]
2492 (CFLAGS-tst-auditmod4b.c): Likewise.
2493 [$(subdir) = elf && $(config-cflags-avx) = yes]
2494 (CFLAGS-tst-auditmod6b.c): Likewise.
2495 [$(subdir) = elf && $(config-cflags-avx) = yes]
2496 (CFLAGS-tst-auditmod6c.c): Likewise.
2497 [$(subdir) = elf && $(config-cflags-avx) = yes]
2498 (CFLAGS-tst-auditmod7b.c): Likewise.
2499 * elf/tst-audit3.c: Move to ...
2500 * sysdeps/x86_64/tst-audit3.c: ... here.
2501 * elf/tst-audit4.c: Move to ...
2502 * sysdeps/x86_64/tst-audit4.c: ... here.
2503 * elf/tst-audit5.c: Move to ...
2504 * sysdeps/x86_64/tst-audit5.c: ... here.
2505 * elf/tst-audit6.c: Move to ...
2506 * sysdeps/x86_64/tst-audit6.c: ... here.
2507 * elf/tst-audit7.c: Move to ...
2508 * sysdeps/x86_64/tst-audit7.c: ... here.
2509 * elf/tst-auditmod3a.c: Move to ...
2510 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
2511 * elf/tst-auditmod3b.c: Move to ...
2512 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
2513 * elf/tst-auditmod4a.c: Move to ...
2514 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
2515 * elf/tst-auditmod4b.c: Move to ...
2516 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
2517 * elf/tst-auditmod5a.c: Move to ...
2518 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
2519 * elf/tst-auditmod5b.c: Move to ...
2520 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
2521 * elf/tst-auditmod6a.c: Move to ...
2522 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
2523 * elf/tst-auditmod6b.c: Move to ...
2524 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
2525 * elf/tst-auditmod6c.c: Move to ...
2526 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
2527 * elf/tst-auditmod7a.c: Move to ...
2528 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
2529 * elf/tst-auditmod7b.c: Move to ...
2530 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
2531
1ef74943
PP
25322013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
2533
2534 [BZ #15366]
2535 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
2536 define unconditionally.
2537 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
2538 define unconditionally.
2539 (INT8_C, INT16_C, etc.): Likewise.
2540
93fd48c5
MR
25412013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
2542
ae9552cf
MR
2543 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
2544 __ehdr_start with hidden visibility.
2545
93fd48c5
MR
2546 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
2547
418601aa
CD
25482013-04-24 Carlos O'Donell <carlos@redhat.com>
2549
2550 * math/libm-test.inc (cos_test): Use accurate hex constants.
2551 (sincost_test): Likewise.
2552
2f38fbfe
JM
25532013-04-24 Joseph Myers <joseph@codesourcery.com>
2554
5e221800
JM
2555 * math/libm-test.inc (catan_test): Add more tests.
2556 (catanh_test): Likewise.
2557
77f143fd
JM
2558 * math/s_catanf.c (__catanf): Use suffixed floating-point
2559 constants.
2560 * math/s_catanhf.c (__catanhf): Likewise.
2561 * math/s_catanhl.c (__catanhl): Likewise.
2562 * math/s_catanl.c (__catanl): Likewise.
2563
2f38fbfe
JM
2564 [BZ #15394]
2565 * math/s_catan.c (__catan): Calculate imaginary part of result
2566 with log1p not log unless computing log of number close to 0.
2567 * math/s_catanf.c (__catanf): Likewise.
2568 * math/s_catanl.c (__catanl): Likewise.
2569 * math/s_catanh.c (__catanh): Calculate real part of result with
2570 log1p not log unless computing log of number close to 0.
2571 * math/s_catanhf.c (__catanhf): Likewise.
2572 * math/s_catanhl.c (__catanhl): Likewise.
2573 * math/libm-test.inc (catan_test): Add more tests.
2574 (catanh_test): Likewise.
2575 * sysdeps/i386/fpu/libm-test-ulps: Update.
2576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2577
45d69176
SP
25782013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2579
2580 * benchtests/Makefile: Mention files in which fast and slow
2581 paths of math functions are implemented.
2582
87f51853
RM
25832013-04-23 Roland McGrath <roland@hack.frob.com>
2584
2585 * sysdeps/posix/timespec_get.c: New file.
2586
3c026539
AZ
25872013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2588
2589 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
2590 POWER.
2591 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
2592 for POWER.
2593 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
2594 powerpc/power5/fpu folders.
2595 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
2596 * benchtests/Makefile: Add modf testcase.
2597 * benchtests/bench-modf.c: New file: Benchmark test for mo
2598
ff491d14
SP
25992013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2600
2601 [BZ #14888]
2602 * time/Makefile (tests): Add tst-strptime-whitespace.
2603 * time/strptime_l.c (get_number): Use ISSPACE.
2604 (__strptime_internal): Likewise.
2605 * time/tst-strptime-whitespace.c: New test case.
2606
7ed3f4e8
AS
26072013-04-23 Andreas Schwab <schwab@linux-m68k.org>
2608
2609 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
2610 member.
2611 (_nss_files_init): Set it here.
2612
5c95f7b6
HC
26132013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
2614
2615 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
2616 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
2617 unsigned.
2618
d34c9158
JBG
26192013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
2620
2621 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
2622
2169712d
SP
26232013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2624
2625 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
2626 size just once.
2627
29c5de99
DM
26282013-04-21 David S. Miller <davem@davemloft.net>
2629
2630 * po/ru.po: Update Russion translation from translation project.
2631
ccdad15d
AC
26322013-04-17 Adam Conrad <adconrad@0c3.net>
2633
2634 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
2635 and setfsgid.
2636
0f122b8d
CD
26372013-04-17 Carlos O'Donell <carlos@redhat.com>
2638
5c5b07da 2639 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 2640 * configure: Regenerate.
5c5b07da 2641 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
2642 Add example to error message.
2643 * sysdeps/i386/configure: Regenerate.
2644
037714dd
SP
26452013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2646
2647 * benchtests/Makefile (bench): Add cos, tan, slowcos and
2648 slowtan.
2649 * benchtests/cos-inputs: New file.
2650 * benchtests/slowcos-inputs: New file.
2651 * benchtests/slowcos.c: New file.
2652 * benchtests/slowtan-inputs: New file.
2653 * benchtests/slowtan.c: New file.
2654 * benchtests/tan-inputs: New file.
2655
e913141d
RM
26562013-04-16 Roland McGrath <roland@hack.frob.com>
2657
2658 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
2659 considered kosher.
2660
a2964074
SP
26612013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2662
4856bcd2
SP
2663 * benchtests/Makefile: Include cppflags-iterator.mk to add
2664 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
2665
a2964074
SP
2666 * Makefile.in (bench-clean): New target.
2667 * benchtests/Makefile (bench-clean): Likewise.
2668
9fbf9aca
DH
26692013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
2670
2671 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
2672
207d1e2a
TS
26732013-04-15 Thomas Schwinge <thomas@codesourcery.com>
2674
2675 * stdio-common/tstdiomisc.c: Fix coding-style violation.
2676
306dfba9
AS
26772013-04-15 Andreas Schwab <schwab@suse.de>
2678
2679 * nscd/grpcache.c (cache_addgr): Properly check for short write.
2680 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2681 * nscd/pwdcache.c (cache_addpw): Likewise.
2682 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
2683 more than recsize.
2684
206a6699
SP
26852013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2686
2687 * benchtests/Makefile (bench): Write all output to
2688 bench-out.tmp together.
2689
0582f6b3
AS
26902013-04-15 Andreas Schwab <schwab@suse.de>
2691
2692 * nscd/nscd.c (main): Don't fork again after closing files.
2693
acb4325f
SP
26942013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2695
5cb26d0a
SP
2696 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
2697
acb4325f
SP
2698 * benchtests/Rules (bench-deps): Collect dependencies into a
2699 single variable. Add Makefile to dependencies.
2700 ($(objpfx)bench-%.c): Depend on bench-deps.
2701
47792506
RM
27022013-04-12 Roland McGrath <roland@hack.frob.com>
2703 Xavier Roche <roche+kml2@exalead.com>
2704
2705 [BZ #15361]
2706 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
2707 just that it's a file descriptor.
2708 * manual/llio.texi (Synchronizing AIO Operations): Update description
2709 for EBADF error from aio_fsync.
2710
8fc1bee5
SP
27112013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2712
2713 * Rules (bench): Move target definition...
2714 * benchtests/Makefile: ... here.
2715
aba5e333
CD
27162013-04-11 Carlos O'Donell <carlos@redhat.com>
2717
2718 * math/libm-test.inc (cos_test): Fix PI/2 test.
2719 (sincos_test): Likewise.
2720 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2721 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2722
273cdee8
AS
27232013-04-11 Andreas Schwab <schwab@suse.de>
2724
6ecec3b6
AS
2725 [BZ #13988]
2726 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
2727 accept exponent character only when digits were seen.
2728 * stdio-common/Makefile (tests): Add bug26.
2729 * stdio-common/bug26.c: New file.
2730
273cdee8
AS
2731 [BZ #14293]
2732 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
2733 non-freeable.
2734
8da491f5
SP
27352013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2736
01dc6df9
SP
2737 * Makeconfig (rtld-prefix): Define built linker prefix.
2738 * Rules (run-bench): Use it.
2739 * math/Makefile (run-regen-ulps): Likewise.
2740
8da491f5
SP
2741 * Rules (bench): Remove eval.
2742
abe7f530
SP
27432013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2744 Roland McGrath <roland@hack.frob.com>
2745 Ondrej Bilka <neleai@seznam.cz>
2746
2747 [BZ #15346]
2748 * time/getdate.c: Include ctype.h and alloca.h.
2749 (__getdate_r): Trim leading and trailing spaces of input.
2750 * time/tst-getdate.c (tests): Add tests with leading and
2751 trailing spaces.
2752
61c23e62
RM
27532013-04-08 Roland McGrath <roland@hack.frob.com>
2754
2755 [BZ #14280]
2756 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
2757 when computing value.
2758
7208a313
CD
27592013-04-06 Carlos O'Donell <carlos@redhat.com>
2760
085b2d41
CD
2761 * math/README.libm-test (How can I generate "libm-test-ulps"?):
2762 Use testrun.sh to run libm tests.
2763
7208a313
CD
2764 [BZ #15309]
2765 * elf/dl-open.c (dl_open_worker): memset all of seen array.
2766
872c0acd
MM
27672013-04-06 Marko Myllynen <myllynen@redhat.com>
2768
2769 [BZ #15264]
2770 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
2771
26510bdd
CD
27722013-04-06 Carlos O'Donell <carlos@redhat.com>
2773
2774 * Makefile.in (regen-ulps): New target.
2775 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
2776 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
2777 [ifneq (no,$(PERL)] (regen-ulps): New target.
2778 [ifeq (no,$(PERL)] (regen-ulps): New target.
2779 * math/libm-test.inc (ulps_file_name): Define.
2780 (output_dir): New variable.
2781 (options): Add "output-dir" option.
2782 (parse_opt): Handle 'o' case.
2783 (main): If output_dir is non-NULL use it as a prefix
2784 otherwise use "".
2785 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
2786
a01f19c8
CD
27872013-04-06 Carlos O'Donell <carlos@redhat.com>
2788
2789 [BZ #10060, #10062]
2790 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
2791 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
2792 fail configure if __sync_val_compare_and_swap is not inlined.
2793 * sysdeps/i386/configure: Regenerate.
2794 * configure.in: Build for i686 when configured for i386.
2795 * configure: Regenerate.
2796 * README: Remove i386 reference.
2797
b7a329a5
CD
27982013-04-06 Carlos O'Donell <carlos@redhat.com>
2799
2800 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
2801 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2802
bf0f50df
TS
28032013-04-05 Thomas Schwinge <thomas@codesourcery.com>
2804
ee091edf
TS
2805 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
2806 (lmsnanval): New variables.
2807 (F): Add conversion tests.
2808 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
2809 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
2810
a8b792d6
TS
2811 * stdio-common/tstdiomisc.c (F): Properly collect individual
2812 tests' results.
2813
a1cbf437
TS
2814 [BZ #14686, #15336]
2815 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
2816 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2817 Instead, use input NaN values or generate a qNaN by arithmetic
2818 operation. Also fix bugs to comply with the standard.
2819 * math/libm-test.inc (remainder_test): Add more tests.
2820
8b43a0c9
TS
2821 [BZ #15335, #15342]
2822 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
2823 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
2824 input NaN values or generate a qNaN by arithmetic operation.
2825
d91da4ce
TS
2826 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
2827 unreachable code.
2828
bf0f50df
TS
2829 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
2830 definitions.
2831
05e166c8
JM
28322013-04-03 Joseph Myers <joseph@codesourcery.com>
2833
2834 [BZ #14478]
2835 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
2836 underflowed result.
2837 * math/s_cexpf.c (__cexpf): Likewise.
2838 * math/s_cexpl.c (__cexpl): Likewise.
2839 * math/libm-test.inc (cexp_test): Add more tests.
2840
1cef1b19
AS
28412013-04-03 Andreas Schwab <schwab@suse.de>
2842
2843 [BZ #15330]
2844 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
2845 order arrays from heap if bigger than alloca cutoff.
2846
74d87055
TS
28472013-04-03 Thomas Schwinge <thomas@codesourcery.com>
2848
2849 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
2850 (SNAN_TESTS_double): Refer to GCC PR56831.
2851 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
2852 GCC PR56828.
2853
d755bba4
SP
28542013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2855
90d5d5bb
SP
2856 * Rules (bench): Move bench.out after the run is complete.
2857
73e0cd5d
SP
2858 * Rules (bench): Echo currently running benchmark.
2859
64aabd4b
SP
2860 * benchtests/Makefile (bench): Add atan and slowatan.
2861 * benchtests/atan-inputs: New file.
2862 * benchtests/slowatan-inputs: New file.
2863 * benchtests/slowatan.c: New file.
2864
c871eccd
SP
2865 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
2866 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
2867 its value.
2868
d755bba4
SP
2869 [BZ #15305]
2870 * sysdeps/unix/sysv/linux/kernel-features.h
2871 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
2872 __ASSUME_XFS_RESTRICTED_CHOWN.
2873 * sysdeps/unix/sysv/linux/pathconf.c
2874 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2875 Save and restore errno.
2876
52ce4860
JM
28772013-04-02 Joseph Myers <joseph@codesourcery.com>
2878
2879 [BZ #15327]
2880 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
2881 arguments using __kernel_casinh.
2882 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
2883 arguments using __kernel_casinhf.
2884 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
2885 arguments using __kernel_casinhl.
2886 * math/libm-test.inc (cacosh_test): Add more tests.
2887 * sysdeps/i386/fpu/libm-test-ulps: Update.
2888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2889
81f311c2
SP
28902013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2891
e7906a47
SP
2892 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
2893 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
2894
92e3664b
SP
2895 * bench/Makefile (bench): Add sin and slowsin.
2896 * benchtests/sin-inputs: New file.
2897 * benchtests/slowsin-inputs: New file.
2898 * benchtests/slowsin.c: New file.
2899
81f311c2
SP
2900 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
2901 (bench): Add slowexp and slowpow.
2902 (exp-ITER): Increase iterations.
2903 (pow-ITER): Likewise.
2904 * benchtests/exp-inputs: Change input.
2905 * benchtests/pow-inputs: Likewise.
2906 * benchtests/slowexp-inputs: New file.
2907 * benchtests/slowexp.c: New file.
2908 * benchtests/slowpow-inputs: New file.
2909 * benchtests/slowpow.c: New file.
2910
ab0f1aa9
AZ
29112013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2912
2913 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
2914 instructions.
2915 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2916 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2917 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2918 * benchtests/Makefile: Add rint benchtest.
2919 * benchtests/rint-inputs: Input for rint benchtest.
2920
57267616
TS
29212013-04-02 Thomas Schwinge <thomas@codesourcery.com>
2922
2923 * Versions.def (libm): Add GLIBC_2.18.
2924 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
2925 hidden libm prototypes.
2926 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
2927 * math/Makefile (libm-calls): Add s_issignaling.
2928 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
2929 __issignalingf, __issignalingl. Adjust all libm.abilist files.
2930 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
2931 declaration.
2932 * math/math.h [__USE_GNU] (issignaling): New macro.
2933 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
2934 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
2935 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
2936 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
2937 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2938 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
2939 * manual/arith.texi (issignaling): New section.
2940 * manual/libm-err-tab.pl (@all_functions): Update comment.
2941 * math/gen-libm-test.pl (parse_args): Apply special handling for
2942 issignaling.
2943 * math/libm-test.inc (print_float, issignaling_test): New
2944 functions.
2945 (check_float_internal): Add issignaling checks.
2946 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
2947 default definition.
2948 * sysdeps/powerpc/math-tests.h: New file.
2949 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
2950 tests.
2951 * math/test-snan.c (TEST_FUNC): Likewise.
2952
6142896d
DM
29532013-03-30 David S. Miller <davem@davemloft.net>
2954
2955 * po/de.po: Update from translation team.
2956
ccc8cadf
JM
29572013-03-30 Joseph Myers <joseph@codesourcery.com>
2958
2959 [BZ #10357]
2960 * math/k_casinh.c (__kernel_casinh): Handle arguments with
2961 imaginary part less than 1.0 and real part less than 0.5
2962 specially.
2963 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2964 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2965 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
2966 (cacos_test): Add more tests.
2967 (casin_test): Likewise.
2968 (casinh_test): Likewise.
2969 * sysdeps/i386/fpu/libm-test-ulps: Update.
2970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2971
0f6a8d4b
SP
29722013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2973
0d1029de
SP
2974 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
2975 ONE with its value.
2976
c2d94018
SP
2977 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
2978 (__pow_mp): Replace ONE and MONE with their values.
2979 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2980 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
2981 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2982 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
2983 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2984 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2985
27ec37f1
SP
2986 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
2987
a64d7e0e
SP
2988 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
2989 (__pow_mp): Replace ZERO and MZERO with their values.
2990 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
2991 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2992 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2993 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2994 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
2995 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
2996 (__sqr): Likewise.
2997
d26dd3eb
SP
2998 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
2999
0f6a8d4b
SP
3000 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
3001
e57b0c61
RM
30022013-03-28 Roland McGrath <roland@hack.frob.com>
3003
3004 * include/stdlib.h [!SHARED] (__call_tls_dtors):
3005 Declare with __attribute__ ((weak)).
3006 * stdlib/exit.c (__libc_atexit) [!SHARED]:
3007 Call __call_tls_dtors only if it's not NULL.
3008
356b3480
RM
30092013-03-28 Roland McGrath <roland@hack.frob.com>
3010
288f7d79
RM
3011 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
3012 didn't do it already, then set _dl_phdr and _dl_phnum based on the
3013 magic __ehdr_start linker symbol if it's defined.
3014 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
3015 them up here if it was already done.
3016
dc0a0263
RM
3017 * elf/dl-support.c (_dl_phdr): Make pointer to const.
3018 (_dl_aux_init): Use const in cast when setting it.
3019 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
3020 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
3021 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
3022
3d3436ae
RM
3023 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
3024 Declare them here.
3025 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
3026 * csu/libc-tls.c: Nor here.
3027 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
3028
356b3480
RM
3029 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
3030 (__libc_message): Never call vsyslog.
3031
b0f1246a
AM
30322013-03-28 Alan Modra <amodra@gmail.com>
3033
3034 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
3035 Define as empty.
3036 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
3037 Likewise.
3038
fbbe2b9a
AZ
30392013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3040
3041 [BZ #15214]
3042 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
3043 underflow.
3044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3045
1728ab37
SP
30462013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3047
7a86be6e
SP
3048 [BZ #15304]
3049 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3050 Don't add gid passed as argument.
3051
1728ab37
SP
3052 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
3053
3a7182a1
JM
30542013-03-27 Joseph Myers <joseph@codesourcery.com>
3055
3056 [BZ #15307]
3057 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3058 imaginary part between 1.0 and 1.5 and real part less than 0.5
3059 specially.
3060 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3061 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3062 * math/libm-test.inc (cacos_test): Add more tests.
3063 (casin_test): Likewise.
3064 (casinh_test): Likewise.
3065 * sysdeps/i386/fpu/libm-test-ulps: Update.
3066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3067
6f2e90e7
SP
30682013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3069
5739f705
SP
3070 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
3071 constants.
3072 (norm): Likewise.
3073 (denorm): Likewise.
3074 (__dbl_mp): Likewise.
3075 (add_magnitudes): Likewise.
3076 (sub_magnitudes): Likewise.
3077 (__add): Likewise.
3078 (__sub): Likewise.
3079 (__mul): Likewise.
3080 (__sqr): Likewise.
3081 (__inv): Likewise.
3082 (__dvd): Likewise.
3083
e375e83d
SP
3084 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
3085 commented code.
3086 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
3087 (__dubcos): Likewise.
3088 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
3089 (__ieee754_acos): Likewise.
3090 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3091 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
3092 (__exp1): Likewise.
3093 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3094 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3095 (log1): Likewise.
3096 (my_log2): Likewise.
3097 (checkint): Likewise.
3098 * sysdeps/ieee754/dbl-64/e_remainder.c
3099 (__ieee754_remainder): Likewise.
3100 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3101 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3102 (bsloww): Likewise.
3103 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3104
6f2e90e7
SP
3105 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3106 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
3107 MANTISSA_STORE_T to store computations on mantissa. Use
3108 macros for rounding and division.
3109 (denorm): Likewise.
3110 (__dbl_mp): Likewise.
3111 (add_magnitudes): Likewise.
3112 (sub_magnitudes): Likewise.
3113 (__mul): Likewise.
3114 (__sqr): Likewise.
3115 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3116 powers of two in terms of TWOPOW macro.
3117 (mp_no): Make type of mantissa as MANTISSA_T.
3118 [!RADIXI]: Define RADIXI.
3119 [!TWO52]: Define TWO52.
3120 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3121
fce14d4e
AZ
31222013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3123
3124 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
3125 llroundl symbol when building for PPC32.
3126
9ad027fb
MW
31272013-03-24 Mark H Weaver <mhw@netris.org>
3128
3129 * manual/arith.texi (Normalization Functions): Fix prototypes for
3130 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
3131
e42a38dd
AZ
31322013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3133
3134 [BZ #13889]
3135 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
3136 high value to check if expl overflow.
3137 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
3138 to check for underflow and overflow.
3139 * math/libm-test.inc: Add exp test.
3140
2e0fb521
DL
31412013-03-21 Dmitry V. Levin <ldv@altlinux.org>
3142
3143 [BZ #11120]
3144 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
3145 with NOT_IN_libc.
3146
b5784d95
AZ
31472013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3148
3149 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
3150 symbol.
3151
5aa4a1a1
TS
31522013-03-21 Thomas Schwinge <thomas@codesourcery.com>
3153
bdef0be7
TS
3154 * math/gen-libm-test.pl (parse_args, special_functions): Properly
3155 wrap blocks consisting of several statements.
3156
5aa4a1a1
TS
3157 * sysdeps/generic/math-tests.h: New file.
3158 * sysdeps/i386/fpu/math-tests.h: Likewise.
3159 * math/test-snan.c: Include it.
3160 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
3161
98c48fe5
JM
31622013-03-21 Joseph Myers <joseph@codesourcery.com>
3163
3164 [BZ #15285]
3165 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
3166 (__ieee754_j0l): Do not improve calculations using cos of twice
3167 input for inputs above LDBL_MAX / 2.0L.
3168 (__ieee754_y0l): Likewise.
3169 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
3170 (__ieee754_j1l): Do not improve calculations using cos of twice
3171 input for inputs above LDBL_MAX / 2.0L.
3172 (__ieee754_y1l): Likewise.
3173 * math/libm-test.inc (j0_test): Add another test.
3174 (j1_test): Likewise.
3175 (y0_test): Likewise.
3176 (y1_test): Likewise.
3177 * sysdeps/i386/fpu/libm-test-ulps: Update.
3178
3775a8bc
SP
31792013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3180
3181 * Rules ($(objpfx)bench-%.c): Include code from a C source
3182 file.
3183
0a1b2ae6
JM
31842013-03-21 Joseph Myers <joseph@codesourcery.com>
3185
3186 [BZ #15287]
3187 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3188 imaginary part 1.0 and real part less than 0.5 specially.
3189 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3190 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3191 * math/libm-test.inc (cacos_test): Add more tests.
3192 (casin_test): Likewise.
3193 (casinh_test): Likewise.
3194 * sysdeps/i386/fpu/libm-test-ulps: Update.
3195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3196
b33d4ce4
SP
31972013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3198
3199 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
3200 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
3201
bef0b507
JM
32022013-03-20 Joseph Myers <joseph@codesourcery.com>
3203
3204 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
3205 * config.make.in (config-cflags-sse4): Remove variable.
3206 (config-cflags-avx): Likewise.
3207 (config-cflags-sse2avx): Likewise.
3208 (config-cflags-novzeroupper): Likewise.
3209 (config-asflags-i686): Likewise.
3210 (have-mfma4): Likewise.
3211 (have-as-vis3): Likewise.
3212 (MIG): Likewise.
3213 * configure.in (MIG): Do not AC_SUBST.
3214 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
3215 (libc_cv_cc_sse4): Do not AC_SUBST.
3216 (libc_cv_cc_avx): Likewise.
3217 (libc_cv_cc_sse2avx): Likewise.
3218 (libc_cv_cc_novzeroupper): Likewise.
3219 (libc_cv_cc_fma4): Likewise.
3220 (libc_cv_as_i686): Likewise.
3221 (libc_cv_sparc_as_vis3): Likewise.
3222 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
3223 LIBC_CONFIG_VAR.
3224 (config-asflags-i686): Likewise.
3225 (config-cflags-avx): Likewise.
3226 (config-cflags-sse2avx): Likewise.
3227 (have-mfma4): Likewise.
3228 (config-cflags-novzeroupper): Likewise.
3229 * sysdeps/mach/configure.in (MIG): Likewise.
3230 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
3231 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
3232 LIBC_CONFIG_VAR.
3233 (config-cflags-avx): Likewise.
3234 (config-cflags-sse2avx): Likewise.
3235 (have-mfma4): Likewise.
3236 (config-cflags-novzeroupper): Likewise.
3237 * configure: Regenerated.
3238 * sysdeps/i386/configure: Likewise.
3239 * sysdeps/mach/configure: Likewise.
3240 * sysdeps/sparc/configure: Likewise.
3241 * sysdeps/x86_64/configure: Likewise.
3242
912cc4b3
RM
32432013-03-20 Roland McGrath <roland@hack.frob.com>
3244
3245 [BZ #14812]
3246 * locale/programs/localedef.c (options): Put N_ translation marker
3247 on argument names, not just descriptions.
3248
04eed2b0
MS
32492013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3250
3251 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
3252
a065ceff
OB
32532013-03-20 Ondřej Bílka <neleai@seznam.cz>
3254
9bb2a810 3255 [BZ #14176]
a065ceff
OB
3256 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
3257
a600e5ce
RM
32582013-03-19 Roland McGrath <roland@hack.frob.com>
3259
3260 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
3261 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
3262 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
3263 [!BEFORE_ABORT] (before_abort): New function.
3264 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
3265 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
3266 (writev_for_fatal): New function.
3267 (WRITEV_FOR_FATAL): New macro; call that.
3268 (backtrace_and_maps): New function.
3269 (BEFORE_ABORT): New macro; call that.
3270 (struct str_list): Type removed.
3271 (__libc_message, __libc_fatal): Functions removed.
3272 Include <sysdeps/posix/libc_fatal.c> instead.
3273
6b18bea6
JM
32742013-03-19 Joseph Myers <joseph@codesourcery.com>
3275
3276 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
3277 constants.
3278 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
3279 double constants.
3280
aaa8cb4b
AS
32812013-03-19 Andreas Schwab <schwab@suse.de>
3282
44673770
AS
3283 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
3284 * sysdeps/gnu/configure: Regenerate.
3285
aaa8cb4b
AS
3286 * configure.in: Substitute libc_cv_rtlddir.
3287 * configure: Regenerate.
3288 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
3289 * Makeconfig (rtlddir, inst_rtlddir): New variables.
3290 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
3291 * elf/Makefile (install-others, CFLAGS-interp.c)
3292 (ldso_install, common-ldd-rewrite): Likewise.
3293 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
3294 $(inst_slibdir)/$(rtld-installed-name).
3295 * scripts/rellns-sh: Add -p option.
3296 * Makerules (make-shlib-link): Use rellns-sh to get relative name
3297 for source.
3298
d3cfc668
SP
32992013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3300
3301 * manual/nptl.texi: Renamed to ...
3302 * manual/threads.texi: ... this.
3303 * manual/Makefile (chapters): Update.
3304
0e2b9cdd
RM
33052013-03-18 Roland McGrath <roland@hack.frob.com>
3306
3307 [BZ #14812]
3308 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
3309 on argument names, not just descriptions.
0e2b9cdd
RM
3310 * malloc/memusagestat.c (options): Likewise.
3311 * nss/getent.c (options): Likewise.
63270c24
RM
3312
33132013-03-18 Benno Schulenberg <bensberg@justemail.net>
3314
3315 [BZ #14812]
3316 * iconv/iconv_prog.c (options): Put N_ translation marker
3317 on argument names, not just descriptions.
3318 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 3319
b2e1393c
OB
33202013-03-18 Ondrej Bilka <neleai@seznam.cz>
3321
3322 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
3323 implementation which is faster on all x86_64 architectures.
3324 Tested on AMD, Intel Nehalem, SNB, IVB.
3325 * sysdeps/x86_64/strnlen.S: Likewise.
3326
3327 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3328 Remove all multiarch strlen and strnlen versions.
3329 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
3330 Remove strlen and strnlen related parts.
3331
3332 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
3333 Inline strlen part.
3334 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3335
3336 * sysdeps/x86_64/multiarch/strlen.S: Remove.
3337 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
3338 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
3339 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
3340 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3341 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
3342
ec4ff04d
CD
33432013-03-17 Carlos O'Donell <carlos@redhat.com>
3344
3345 * manual/memory.texi (Malloc Tunable Parameters):
3346 Sort parameters alphabetically. Add comments for missing entries.
3347
cd18e90a
DM
33482013-03-17 David S. Miller <davem@davemloft.net>
3349
3350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3351
2a185d32
JM
33522013-03-16 Joseph Myers <joseph@codesourcery.com>
3353
d2f9799e
JM
3354 [BZ #15283]
3355 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
3356 for arguments at most half maximum finite value.
3357 * math/libm-test.inc (j0_test): Add more tests.
3358 (j1_test): Likewise.
3359 (y0_test): Likewise.
3360 (y1_test): Likewise.
3361 * sysdeps/i386/fpu/libm-test-ulps: Update.
3362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3363
2a185d32
JM
3364 [BZ #14155]
3365 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
3366 1 / x and functions P and Q for arguments above 0x1p256L.
3367 (__ieee754_y0l): Likewise.
3368 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
3369 (__ieee754_y1l): Likewise.
3370 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
3371 (j1_test): Likewise.
3372 (y0_test): Likewise.
3373 (y1_test): Likewise.
3374
6cbec759
TS
33752013-03-16 Thomas Schwinge <thomas@codesourcery.com>
3376
3377 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
3378 variable.
3379
bc16e260
RM
33802013-03-15 Roland McGrath <roland@hack.frob.com>
3381
aefc9b8c
RM
3382 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
3383 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
3384 zero since it's initialized to EXEC_PAGESIZE.
3385
bc16e260
RM
3386 * sysdeps/unix/sysv/linux/ldsodefs.h
3387 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
3388 * sysdeps/generic/ldsodefs.h: ... here.
3389
a57da955
TS
33902013-03-15 Thomas Schwinge <thomas@codesourcery.com>
3391
af00a34d
TS
3392 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
3393
495ded2c
TS
3394 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
3395 math/test-snan.c.
3396 * math/test-snan.c: Renamed from
3397 sysdeps/powerpc/fpu/test-powerpc-snan.c.
3398 * math/Makefile (tests): Add test-snan.
3399 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
3400 test-powerpc-snan.
3401
777b0332
TS
3402 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
3403 SUFFIX. Initialize qNaN_var with __builtin_nan family of
3404 functions.
3405 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
3406 __builtin_nan family of functions.
3407 * math/libm-test.inc (initialize): Initialize qnan_value with
3408 __builtin_nan family of functions.
3409 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
3410 Remove variables.
3411 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
3412 Remove functions.
3413 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
3414 storage class. Initialize qNaN_var and sNaN_var with
3415 __builtin_nan and __builtin_nans families of functions,
3416 respectively.
3417
64d063b8
TS
3418 * math/libm-test.inc (acosh_test): Also test with qNaN input.
3419 (sqrt_test): Remove duplicate test with qNaN input.
3420 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
3421 (round_test, signbit_test, significand_test): Note missing +/-Inf
3422 as well as qNaN tests.
3423
67e971f1
TS
3424 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
3425 qNaN_var. Fix a few strings, too.
3426 * math/libm-test.inc (nan_value): Rename to qnan_value.
3427 * math/gen-libm-test.pl (%beautify): Adjust to that.
3428 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
3429 * math/test-misc.c (main): Likewise.
3430 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
3431 to __qnan_bytes, and __qnan_union, respectively.
3432 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
3433 Likewise.
3434 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
3435 and lqnanval, respectively.
3436 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
3437 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
3438 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
3439 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
3440
64487e12
TS
3441 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
3442 * math/test-misc.c (main) [__x86_64__]: Enable test for long
3443 doubles.
3444
e015e27b
TS
3445 * math/test-misc.c (main): Fix copy'n'pastos.
3446 * misc/tst-efgcvt.c (special): Likewise.
3447
a57da955
TS
3448 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
3449 Remove declarations.
3450
1e380345
SP
34512013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3452
3453 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
3454 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
3455 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
3456 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
3457
ef26eece
AZ
34582013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3459
3460 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
3461 macro to return vdso values correctly in IFUNC implementations.
3462 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3463 Optimization by using IFUNC.
3464
8cfdb7e0
SP
34652013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3466 Richard Henderson <rth@redhat.com>
3467 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3468
3469 * Makefile.in (bench): New target.
3470 * NEWS: Mention the benchmark framework.
3471 * Rules (bench): Likewise.
3472 (binaries-bench): Generate binaries for functions to
3473 benchmark.
3474 * benchtests/Makefile: New makefile for benchmark tests.
3475 * benchtests/bench-skeleton.c: New skeleton file for benchmark
3476 programs.
3477 * benchtests/exp-inputs: New input file for EXP function.
3478 * benchtests/pow-inputs: New input file for POW function.
3479 * scripts/bench.pl: New script to generate source files for
3480 benchmark programs.
3481
bcda9880
SP
34822013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3483
d22ca8cd
SP
3484 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3485 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
3486 computations on mantissa. Use macros for rounding and
3487 division.
3488 (denorm): Likewise.
3489 (__dbl_mp): Likewise.
3490 (add_magnitudes): Likewise.
3491 (sub_magnitudes): Likewise.
3492 (__mul): Likewise.
3493 (__sqr): Likewise.
3494 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3495 powers of two in terms of TWOPOW macro.
3496 (mp_no): Make type of mantissa as MANTISSA_T.
3497 [!RADIXI]: Define RADIXI.
3498 [!TWO52]: Define TWO52.
3499 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3500
bcda9880
SP
3501 * manual/nptl.texi (cindex): Modify threads to pthreads.
3502
06d5adfb
JM
35032013-03-15 Joseph Myers <joseph@codesourcery.com>
3504
3505 * sysdeps/x86_64/preconfigure: Regenerated.
3506
41c7328e
JM
35072013-03-14 Joseph Myers <joseph@codesourcery.com>
3508
3509 [BZ #14155]
3510 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
3511 0x1p28 and above.
3512 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
3513 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
3514 0x1p28 and above.
3515 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
3516 * math/libm-test.inc (j0_test): Do not allow one spurious
3517 underflow exception.
3518 (y1_test): Likewise.
3519
e25cfa60
SP
35202013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3521
0409959c
SP
3522 * manual/Makefile (chapters): Add nptl.
3523 * manual/debug.texi (Debugging Support): Add link to Threads
3524 chapter.
3525 * manual/nptl.texi: New file.
3526
e25cfa60
SP
3527 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
3528
58a1335e
PB
35292013-03-14 Petr Baudis <pasky@ucw.cz>
3530
3531 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
3532 for non-NULL pointer before the memory validity test. Pointed
3533 out by Holger Brunck <holger.brunck@keymile.com>.
3534
9dc7c64f
AS
35352013-03-13 Andreas Schwab <schwab@suse.de>
3536
3537 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
3538 instead of .os.
3539
54206aa6
JM
35402013-03-13 Joseph Myers <joseph@codesourcery.com>
3541
3542 * timezone/zic.c: Update from tzcode 2013b.
3543
e98cdb38
CD
35442013-03-12 Carlos O'Donell <carlos@redhat.com>
3545
3546 * manual/install.texi (Configuring and compiling):
3547 Mention i686 and i586.
3548 * INSTALL: Regenerate.
3549
9967e003
RM
35502013-03-12 Roland McGrath <roland@hack.frob.com>
3551
3552 * sysdeps/init_array/elf-init.c: New file.
3553 * csu/elf-init.c
3554 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
3555 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
3556
3557 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
3558 __gmon_start__ as global, but as static with a .preinit_array pointer.
3559 * sysdeps/init_array/gmon-start.c: New file. Use that.
3560 * sysdeps/init_array/crti.S: New file, empty except for comments.
3561 * sysdeps/init_array/crtn.S: Likewise.
3562
e6b5a293 35632013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
3564
3565 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
3566 definining bcopy.
80f844c9
OB
3567 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3568 Remove Prefer_SSE_for_memop.
3569 * sysdeps/x86_64/multiarch/init-arch.h: Remove
3570 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
3571 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
3572 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3573 memset-x86-64.
80f844c9 3574 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 3575 Remove bzero, memset ifunc support.
80f844c9
OB
3576 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
3577 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
3578 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3579 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3580
fb6b0fcb
AS
35812013-03-11 Andreas Schwab <schwab@suse.de>
3582
3583 [BZ #15234]
3584 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
3585 by SHLIB_COMPAT.
3586 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
3587 (GLIBC_2.16): Remove pthread_atfork.
3588
3e6bd4b1
PP
35892013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3590
3591 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
3592 (ptestcases.h): Likewise.
3593
222d7f00
RM
35942013-03-08 Roland McGrath <roland@hack.frob.com>
3595
3596 * Makeconfig ($(common-objpfx)config.status): Depend on
3597 sysdeps/*/preconfigure{,.in} too.
3598
1ba4f030
JM
35992013-03-08 Joseph Myers <joseph@codesourcery.com>
3600
a222d91a
JM
3601 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
3602 (__free_hook): Use void * instead of __malloc_ptr_t.
3603 (__malloc_hook): Likewise.
3604 (__realloc_hook): Likewise.
3605 (__memalign_hook): Likewise.
3606 (__after_morecore_hook): Likewise.
3607 * malloc/arena.c (save_malloc_hook): Likewise.
3608 (save_free_hook): Likewise.
3609 * malloc/hooks.c (malloc_hook_ini): Likewise.
3610 (realloc_hook_ini): Likewise.
3611 (memalign_hook_ini): Likewise.
3612 * malloc/malloc.c (malloc_hook_ini): Likewise.
3613 (realloc_hook_ini): Likewise.
3614 (memalign_hook_ini): Likewise.
3615 (__free_hook): Likewise.
3616 (__malloc_hook): Likewise.
3617 (__realloc_hook): Likewise.
3618 (__memalign_hook): Likewise.
3619 (__libc_malloc): Likewise.
3620 (__libc_free): Likewise.
3621 (__libc_realloc): Likewise.
3622 (__libc_memalign): Likewise.
3623 (__libc_valloc): Likewise.
3624 (__libc_pvalloc): Likewise.
3625 (__libc_calloc): Likewise.
3626 (__posix_memalign): Likewise.
3627 * malloc/morecore.c (__sbrk): Likewise.
3628 (__default_morecore): Likewise.
3629
5cc45e10
JM
3630 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
3631
dd54b864
JM
3632 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
3633 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
3634 __malloc_ptrdiff_t.
3635
1ba4f030
JM
3636 * malloc/malloc.h (__malloc_size_t): Remove macro.
3637 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
3638 __malloc_size_t.
3639 (old_memalign_hook): Likewise.
3640 (old_realloc_hook): Likewise.
3641 (struct hdr): Likewise.
3642 (flood): Likewise.
3643 (mallochook): Likewise.
3644 (memalignhook): Likewise.
3645 (reallochook): Likewise.
3646 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
3647 (tr_old_realloc_hook): Likewise.
3648 (tr_old_memalign_hook): Likewise.
3649 (tr_mallochook): Likewise.
3650 (tr_reallochook): Likewise.
3651 (tr_memalignhook): Likewise.
3652
edf66e57
AZ
36532013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3654
3655 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
3656 default_ldbl_pack and using as default implementation.
3657 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
3658 implementation.
3659 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
3660 redundant definition.
3661 (ldbl_insert_mantissa): Likewise.
3662 (ldbl_canonicalize): Likewise.
3663 (ldbl_nearbyint): Likewise.
3664 (ldbl_pack): Rename to ldbl_pack_ppc.
3665 (ldbl_unpack): Rename to ldbl_unpack_ppc.
3666 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
3667 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
3668
6d9145d8
SP
36692013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3670
3671 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
3672 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
3673 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
3674 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
3675 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
3676 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
3677 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
3678 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
3679
4dd4e157
AJ
36802013-03-07 Andreas Jaeger <aj@suse.de>
3681
3682 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3683 bits/mman-linux.h.
3684
adbb8027
SP
36852013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3686
ce544b5b
SP
3687 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
3688 Include mpa.h and declare __MPEXP.
3689 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
3690 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3691 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3692 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
3693 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3694 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3695 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
3696
4cc149fd
SP
3697 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
3698 (__slowpow): Use long double EXPL and LOGL functions to
3699 compute POW.
3700 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3701 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3702 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
3703 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3704 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3705 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
3706
e6ebd4a7
SP
3707 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
3708 intermediate variable to calculate exponent.
3709 (__sqr): Likewise.
3710 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3711 Likewise.
3712 (__sqr): Likewise.
3713
82a9811d
SP
3714 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
3715 [!NO__SQR]: Define __sqr.
3716 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
3717 and NO__SQR. Remove all code except __mul and __sqr. Include
3718 sysdeps/ieee754/dbl-64/mpa.c.
3719 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3720
adbb8027
SP
3721 [BZ #12723]
3722 * posix/Makefile (tests): Add tst-pathconf.
3723 * posix/tst-pathconf.c: New test case.
3724 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
3725 _PC_PIPE_BUF.
3726 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
3727
39120df9
PF
37282013-03-06 Patsy Franklin <pfrankli@redhat.com>
3729
3730 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
3731
67525cb8
AJ
37322013-03-06 Andreas Jaeger <aj@suse.de>
3733
664a9ce4
AJ
3734 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
3735 definition via __MAP_ANONYMOUS.
3736
8e39047d
AJ
3737 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
3738 it's not part of Linux headers.
3739
67525cb8
AJ
3740 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
3741 (MAP_HUGE_MASK): Define.
3742
3743 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3744 Define.
3745 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3746 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3747 Define.
3748 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3749 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3750 Define.
3751 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3752 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
3753 Define.
3754 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3755
3756 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
3757 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
3758 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
3759 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
3760 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
3761 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
3762
3763 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
3764 Handle f2fs.
3765
3766 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3767 Handle f2fs and efivarfs.
3768
3769 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
3770 f2fs.
3771
3772 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
3773 (EFIVARFS_MAGIC): Add.
3774 (F2FS_LINK_MAX): Add.
3775
e1b42695
PP
37762013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3777
3778 * stdio-common/vfprintf.c: Replace __builtin_expect with
3779 __glibc_unlikely.
3780
2d67d91a
JM
37812013-03-06 Joseph Myers <joseph@codesourcery.com>
3782
3783 [BZ #13550]
3784 * sysdeps/generic/bp-sym.h: Remove file.
3785 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
3786 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
3787 <bp-sym.h> and <bp-asm.h>.
3788 (__longjmp): Don't use BP_SYM.
3789 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
3790 and <bp-asm.h>.
3791 (memcpy): Don't use BP_SYM.
3792 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
3793 <bp-sym.h> and <bp-asm.h>.
3794 (memcpy): Don't use BP_SYM.
3795 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
3796 <bp-asm.h>.
3797 (memcpy): Don't use BP_SYM.
3798 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
3799 <bp-asm.h>.
3800 (memset): Don't use BP_SYM.
3801 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3802 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3803 (__bzero): Don't use BP_SYM.
3804 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3805 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3806 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
3807 <bp-sym.h> and <bp-asm.h>.
3808 (memcmp): Don't use BP_SYM. Remove comment about bounded
3809 pointers.
3810 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
3811 <bp-sym.h> and <bp-asm.h>.
3812 (memcpy): Don't use BP_SYM.
3813 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
3814 <bp-sym.h> and <bp-asm.h>.
3815 (memset): Don't use BP_SYM.
3816 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3817 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3818 (__bzero): Don't use BP_SYM.
3819 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3820 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3821 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
3822 <bp-sym.h> and <bp-asm.h>.
3823 (strncmp): Don't use BP_SYM. Remove comment about bounded
3824 pointers.
3825 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
3826 <bp-sym.h> and <bp-asm.h>.
3827 (memcpy): Don't use BP_SYM.
3828 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
3829 <bp-sym.h> and <bp-asm.h>.
3830 (memset): Don't use BP_SYM.
3831 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3832 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3833 (__bzero): Don't use BP_SYM.
3834 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3835 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3836 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
3837 <bp-sym.h> and <bp-asm.h>.
3838 (__memchr): Don't use BP_SYM.
3839 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
3840 <bp-sym.h> and <bp-asm.h>.
3841 (memcmp): Don't use BP_SYM. Remove comment about bounded
3842 pointers.
3843 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
3844 <bp-sym.h> and <bp-asm.h>.
3845 (memcpy): Don't use BP_SYM.
3846 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
3847 <bp-sym.h> and <bp-asm.h>.
3848 (__mempcpy): Don't use BP_SYM.
3849 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
3850 <bp-sym.h> and <bp-asm.h>.
3851 (__memrchr): Don't use BP_SYM.
3852 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
3853 <bp-sym.h> and <bp-asm.h>.
3854 (memset): Don't use BP_SYM.
3855 (__bzero): Likewise.
3856 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
3857 <bp-sym.h> and <bp-asm.h>.
3858 (__rawmemchr): Don't use BP_SYM.
3859 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
3860 <bp-sym.h> and <bp-asm.h>.
3861 (__STRCMP): Don't use BP_SYM.
3862 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
3863 <bp-sym.h> and <bp-asm.h>.
3864 (strchr): Don't use BP_SYM.
3865 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
3866 <bp-sym.h> and <bp-asm.h>.
3867 (__strchrnul): Don't use BP_SYM.
3868 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
3869 <bp-sym.h> and <bp-asm.h>.
3870 (strlen): Don't use BP_SYM.
3871 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
3872 <bp-sym.h> and <bp-asm.h>.
3873 (strncmp): Don't use BP_SYM. Remove comment about bounded
3874 pointers.
3875 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
3876 <bp-sym.h> and <bp-asm.h>.
3877 (__strnlen): Don't use BP_SYM.
3878 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
3879 <bp-sym.h> and <bp-asm.h>.
3880 (__GI__setjmp): Don't use BP_SYM.
3881 (_setjmp): Likewise.
3882 (__sigsetjmp): Likewise.
3883 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
3884 (L(start_addresses)): Don't use BP_SYM.
3885 (_start): Likewise.
3886 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
3887 <bp-asm.h>.
3888 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
3889 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
3890 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3891 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3892 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
3893 <bp-asm.h>.
3894 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
3895 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
3896 about bounded pointers.
3897 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3898 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3899 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
3900 <bp-asm.h>.
3901 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3902 about bounded pointers. Remove GKM FIXME comments.
3903 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3904 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
3905 <bp-asm.h>.
3906 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
3907 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
3908 Remove GKM FIXME comments.
3909 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3910 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3911 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
3912 <bp-asm.h>.
3913 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3914 about bounded pointers. Remove GKM FIXME comment.
3915 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
3916 and <bp-asm.h>.
3917 (strncmp): Don't use BP_SYM. Remove comment about bounded
3918 pointers.
3919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
3920 <bp-sym.h> and <bp-asm.h>.
3921 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
3922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
3923 <bp-sym.h> and <bp-asm.h>.
3924 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
3925 comment.
3926
cdcf361f
PP
39272013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3928
3929 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
3930 call free(NULL).
3931
3c4a2b15
DM
39322013-03-05 David S. Miller <davem@davemloft.net>
3933
3934 * po/es.po: Update from translation team.
3935
cdcf361f 39362013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
3937
3938 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
3939 <bits/mman-linux.h>.
3940 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3941 is fine.
3942 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
3943 <bits/mman-linux.h> to end of file.
3944 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3945 is fine.
3946 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
3947 <bits/mman-linux.h> to end of file.
3948 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
3949 is fine.
3950 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
3951 <bits/mman-linux.h> to end of file.
3952
3953 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
3954 (MCL_CURRENT, MCL_FUTURE): Define here.
3955
5f67c04f
AK
39562013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3957
8a4473cc 3958 [BZ #15232]
5f67c04f
AK
3959 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
3960 attribute_hidden.
3961 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3962
c3e94a95
AK
39632013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3964
3965 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
3966 fourth parameter needed for rt_sigprocmask syscall.
3967 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3968 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3969 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3970 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3971 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3972 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
3973
cfb6382a
JM
39742013-03-04 Joseph Myers <joseph@codesourcery.com>
3975
3976 [BZ #13550]
3977 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
3978 comment about bounded pointers.
3979 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
3980 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
3981
539d8e01
AJ
39822013-03-04 Andreas Jaeger <aj@suse.de>
3983
3984 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
3985 common definitions.
3986
3987 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
3988 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
3989 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
3990 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3991 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
3992 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3993
2e167a70 39942013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
3995
3996 [BZ #15055]
3997 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3998 __ieee754_sqrl instead of __sqrl.
3999
68508633
JM
40002013-03-01 Joseph Myers <joseph@codesourcery.com>
4001
4002 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
4003 * sysdeps/powerpc/fpu_control.h: ... here.
4004 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
4005 * sysdeps/powerpc/bits/fenvinline.h: ... here.
4006 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
4007 * sysdeps/powerpc/bits/mathinline.h: ... here.
4008
7775448e
RM
40092013-03-01 Roland McGrath <roland@hack.frob.com>
4010
4011 * elf/dl-hwcaps.c (_dl_important_hwcaps):
4012 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
4013 to just [NEED_DL_SYSINFO_DSO].
4014 * elf/dl-support.c: Likewise.
4015 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4016 * elf/rtld.c (dl_main): Likewise.
4017 * elf/setup-vdso.h (setup_vdso): Likewise.
4018 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
4019 * sysdeps/unix/sysv/linux/dl-sysdep.c
4020 (_dl_discover_osversion): Likewise.
4021
4e9b5995
CD
40222013-03-01 Carlos O'Donell <carlos@redhat.com>
4023
4024 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
4025 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4026
e23872c8
SP
40272013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4028
e5c74c63
SP
4029 * NEWS: Mention libm performance improvements and non-x86 PI
4030 futex support.
4031
e23872c8
SP
4032 * csu/libc-start.c (__pthread_initialize_minimal): Change
4033 function arguments.
4034 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4035
b5510883
JM
40362013-02-28 Joseph Myers <joseph@codesourcery.com>
4037
4038 [BZ #13550]
4039 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
4040 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
4041 <bp-sym.h> and <bp-asm.h>.
4042 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4043 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
4044 and <bp-asm.h>.
4045 (memcpy): Don't use BP_SYM.
4046 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
4047 <bp-asm.h>.
4048 (__mpn_add_n): Don't use BP_SYM.
4049 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
4050 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
4051 and <bp-asm.h>.
4052 (__mpn_addmul_1): Don't use BP_SYM.
4053 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4054 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
4055 <bp-sym.h>.
4056 (_setjmp): Don't use BP_SYM.
4057 (__novmx_setjmp): Likewise.
4058 (__GI__setjmp): Likewise.
4059 (__vmx_setjmp): Likewise.
4060 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
4061 <bp-sym.h>.
4062 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
4063 (__bzero): Don't use BP_SYM.
4064 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4065 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4066 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
4067 <bp-sym.h> and <bp-asm.h>.
4068 (memcpy): Don't use BP_SYM.
4069 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
4070 <bp-sym.h> and <bp-asm.h>.
4071 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4072 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
4073 <bp-sym.h> and <bp-asm.h>.
4074 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4075 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
4076 <bp-asm.h>.
4077 (__mpn_lshift): Don't use BP_SYM.
4078 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4079 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
4080 <bp-asm.h>.
4081 (memset): Don't use BP_SYM.
4082 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4083 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4084 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
4085 <bp-asm.h>.
4086 (__mpn_mul_1): Don't use BP_SYM.
4087 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4088 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
4089 <bp-sym.h> and <bp-asm.h>.
4090 (memcmp): Don't use BP_SYM.
4091 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
4092 <bp-sym.h> and <bp-asm.h>.
4093 (memcpy): Don't use BP_SYM.
4094 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
4095 <bp-sym.h> and <bp-asm.h>.
4096 (memset): Don't use BP_SYM.
4097 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
4098 <bp-sym.h> and <bp-asm.h>.
4099 (strncmp): Don't use BP_SYM.
4100 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
4101 <bp-sym.h> and <bp-asm.h>.
4102 (memcpy): Don't use BP_SYM.
4103 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
4104 <bp-sym.h> and <bp-asm.h>.
4105 (memset): Don't use BP_SYM.
4106 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
4107 <bp-sym.h> and <bp-asm.h>.
4108 (__memchr): Don't use BP_SYM.
4109 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
4110 <bp-sym.h> and <bp-asm.h>.
4111 (memcmp): Don't use BP_SYM.
4112 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
4113 <bp-sym.h> and <bp-asm.h>.
4114 (memcpy): Don't use BP_SYM.
4115 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
4116 <bp-sym.h> and <bp-asm.h>.
4117 (__mempcpy): Don't use BP_SYM.
4118 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
4119 <bp-sym.h> and <bp-asm.h>.
4120 (__memrchr): Don't use BP_SYM.
4121 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
4122 <bp-sym.h> and <bp-asm.h>.
4123 (memset): Don't use BP_SYM.
4124 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
4125 <bp-sym.h> and <bp-asm.h>.
4126 (__rawmemchr): Don't use BP_SYM.
4127 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
4128 <bp-sym.h> and <bp-asm.h>.
4129 (__STRCMP): Don't use BP_SYM.
4130 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
4131 <bp-sym.h> and <bp-asm.h>.
4132 (strchr): Don't use BP_SYM.
4133 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
4134 <bp-sym.h> and <bp-asm.h>.
4135 (__strchrnul): Don't use BP_SYM.
4136 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
4137 <bp-sym.h> and <bp-asm.h>.
4138 (strlen): Don't use BP_SYM.
4139 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
4140 <bp-sym.h> and <bp-asm.h>.
4141 (strncmp): Don't use BP_SYM.
4142 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
4143 <bp-sym.h> and <bp-asm.h>.
4144 (__strnlen): Don't use BP_SYM.
4145 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
4146 <bp-asm.h>.
4147 (__mpn_rshift): Don't use BP_SYM.
4148 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4149 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
4150 <bp-sym.h> and <bp-asm.h>.
4151 (__sigsetjmp): Don't use BP_SYM.
4152 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
4153 (L(start_addresses)): Don't use BP_SYM.
4154 (_start): Likewise.
4155 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
4156 <bp-asm.h>.
4157 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
4158 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4159 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4160 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
4161 <bp-asm.h>.
4162 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
4163 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4164 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4165 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
4166 <bp-asm.h>.
4167 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4168 comments.
4169 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4170 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
4171 <bp-asm.h>.
4172 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
4173 FIXME comments.
4174 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4175 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4176 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
4177 <bp-asm.h>.
4178 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4179 comment.
4180 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
4181 and <bp-asm.h>.
4182 (strncmp): Don't use BP_SYM,
4183 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
4184 <bp-asm.h>.
4185 (__mpn_sub_n): Don't use BP_SYM.
4186 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4187 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
4188 and <bp-asm.h>.
4189 (__mpn_submul_1): Don't use BP_SYM.
4190 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
4192 <bp-sym.h> and <bp-asm.h>.
4193 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
4195 <bp-sym.h> and <bp-asm.h>.
4196 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4197 comment.
4198
8d19fe64
SP
41992013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4200
4201 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
4202 Use ZK to minimize writes to Z.
4203 (sub_magnitudes): Simplify code a bit.
4204 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
4205 Use ZK to minimize writes to Z.
4206 (sub_magnitudes): Simplify code a bit.
4207
85bd816a
RM
42082013-02-27 Roland McGrath <roland@hack.frob.com>
4209
4210 * csu/gmon-start.c: Add special exception to license text.
4211
b5977bf2
RH
42122013-02-27 Richard Henderson <rth@redhat.com>
4213
4214 * scripts/config.guess: Update from config.git.
4215 * scripts/config.sub: Likewise.
4216
11d6e2f2
SP
42172013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4218
09c14ed2
SP
4219 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
4220
a688864e
SP
4221 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
4222
6295157a
SP
4223 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
4224
b8de2202
SP
4225 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
4226
11d6e2f2
SP
4227 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
4228
7e80ddb8
RM
42292013-02-26 Roland McGrath <roland@hack.frob.com>
4230
4231 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
4232 [$(build-shared = yes].
7e80ddb8 4233
7da6d9ed
SP
42342013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4235
45f05884
SP
4236 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
4237 (__mul): Reduce iterations for calculating mantissa.
4238
2236d359
SP
4239 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
4240 MPTWO.
4241 (__mpranred): Likewise.
4242
7da6d9ed
SP
4243 [BZ #15160]
4244 * malloc/memusagestat.c (main): Draw graphs for heap and stack
4245 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
4246
b7688c42
PE
42472013-02-26 Paul Eggert <eggert@cs.ucla.edu>
4248
4249 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
4250 Define __attribute__.
4251
53a5c423
SP
42522013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4253
4254 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
4255 unused.
4256 * posix/regex_internal.h (__attribute): Remove.
4257 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
4258 (re_string_context_at): Likewise.
4259 (bitset_not): Use __attribute__ and mark function as possibly
4260 unused.
4261 (bitset_merge): Likewise.
4262 (bitset_mask): Likewise.
4263 (re_string_char_size_at): Likewise.
4264 (re_string_wchar_at): Likewise.
4265 (re_string_elem_size_at): Likewise.
4266
60f5a8b5
SP
42672013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4268
2a983a2e
SP
4269 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
4270 code.
4271 (cc32): Likewise.
4272
e69804d1
SP
4273 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
4274 (__acr): Likewise.
4275 (__cpy): Likewise.
4276 (norm): Likewise.
4277 (denorm): Likewise.
4278 (__dbl_mp): Likewise.
4279 (add_magnitudes): Likewise.
4280 (sub_magnitudes): Likewise.
4281 (__mul): Likewise.
4282 (__inv): Likewise.
4283
2f22a1e8
SP
4284 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
4285 style.
4286
8930ddc7
SP
4287 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
4288 style.
4289
dc60cb11
SP
4290 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
4291 code.
4292
60f5a8b5
SP
4293 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
4294 up changes with default code.
4295 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
4296 Likewise.
4297
b4d1fd33
AM
42982013-02-24 Allan McRae <allan@archlinux.org>
4299
faf6f8bc
AM
4300 * manual/socket.texi (The Internet Namespace): Order menu items
4301 to match that in the file.
4302
b4d1fd33
AM
4303 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
4304 node listing of the info page menu.
4305
2366713d
JM
43062013-02-21 Joseph Myers <joseph@codesourcery.com>
4307
4308 [BZ #13550]
4309 * sysdeps/i386/bp-asm.h: Remove file.
4310 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4311 (PARMS): Do not use macros from bp-asm.h.
4312 (S1): Likewise.
4313 (S2): Likewise.
4314 (SIZE): Likewise.
4315 (__mpn_add_n): Do not use BP_SYM
4316 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
4317 "bp-asm.h".
4318 (PARMS): Do not use macros from bp-asm.h.
4319 (S1): Likewise.
4320 (SIZE): Likewise.
4321 (__mpn_addmul_1): Do not use BP_SYM
4322 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
4323 "bp-asm.h".
4324 (PARMS): Do not use macros from bp-asm.h.
4325 (SIGMSK): Likewise.
4326 (_setjmp): Likewise. Do not use BP_SYM.
4327 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
4328 "bp-asm.h".
4329 (PARMS): Do not use macros from bp-asm.h.
4330 (SIGMSK): Likewise.
4331 (setjmp): Likewise. Do not use BP_SYM.
4332 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
4333 "bp-asm.h".
4334 (PARMS): Do not use macros from bp-asm.h.
4335 (__frexp): Do not use BP_SYM.
4336 (frexp): Likewise.
4337 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
4338 "bp-asm.h".
4339 (PARMS): Do not use macros from bp-asm.h.
4340 (__frexpf): Do not use BP_SYM.
4341 (frexpf): Likewise.
4342 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
4343 "bp-asm.h".
4344 (PARMS): Do not use macros from bp-asm.h.
4345 (__frexpl): Do not use BP_SYM.
4346 (frexpl): Likewise.
4347 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
4348 "bp-asm.h".
4349 (PARMS): Do not use macros from bp-asm.h.
4350 (__remquo): Do not use BP_SYM.
4351 (remquo): Likewise.
4352 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
4353 "bp-asm.h".
4354 (PARMS): Do not use macros from bp-asm.h.
4355 (__remquof): Do not use BP_SYM.
4356 (remquof): Likewise.
4357 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
4358 "bp-asm.h".
4359 (PARMS): Do not use macros from bp-asm.h.
4360 (__remquol): Do not use BP_SYM.
4361 (remquol): Likewise.
4362 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
4363 "bp-asm.h".
4364 (PARMS): Do not use macros from bp-asm.h.
4365 (DEST): Likewise.
4366 (SRC): Likewise.
4367 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
4368 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
4369 "bp-asm.h".
4370 (PARMS): Do not use macros from bp-asm.h.
4371 (strlen): Do not use BP_SYM.
4372 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
4373 "bp-asm.h".
4374 (PARMS): Do not use macros from bp-asm.h.
4375 (S1): Likewise.
4376 (S2): Likewise.
4377 (SIZE): Likewise.
4378 (__mpn_add_n): Do not use BP_SYM.
4379 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
4380 "bp-asm.h".
4381 (PARMS): Do not use macros from bp-asm.h.
4382 (S1): Likewise.
4383 (SIZE): Likewise.
4384 (__mpn_addmul_1): Do not use BP_SYM.
4385 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
4386 weak_alias.
4387 (bzero): Likewise.
4388 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
4389 "bp-asm.h".
4390 (PARMS): Do not use macros from bp-asm.h.
4391 (S): Likewise.
4392 (SIZE): Likewise.
4393 (__mpn_lshift): Do not use BP_SYM.
4394 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
4395 "bp-asm.h".
4396 (PARMS): Do not use macros from bp-asm.h.
4397 (DEST): Likewise.
4398 (SRC): Likewise.
4399 (LEN): Likewise.
4400 (memcpy): Likewise. Do not use BP_SYM.
4401 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
4402 libc_hidden_def and weak_alias.
4403 (mempcpy): Do not use BP_SYM in weak_alias.
4404 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
4405 "bp-asm.h".
4406 (PARMS): Do not use macros from bp-asm.h.
4407 (DEST): Likewise.
4408 (LEN): Likewise.
4409 [!BZERO_P] (CHR): Likewise.
4410 (memset): Likewise. Do not use BP_SYM.
4411 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
4412 "bp-asm.h".
4413 (PARMS): Do not use macros from bp-asm.h.
4414 (S1): Likewise.
4415 (SIZE): Likewise.
4416 (__mpn_mul_1): Do not use BP_SYM.
4417 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
4418 "bp-asm.h".
4419 (PARMS): Do not use macros from bp-asm.h.
4420 (S): Likewise.
4421 (SIZE): Likewise.
4422 (__mpn_rshift): Do not use BP_SYM.
4423 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
4424 "bp-asm.h".
4425 (PARMS): Do not use macros from bp-asm.h.
4426 (STR): Likewise.
4427 (CHR): Likewise.
4428 (strchr): Likewise. Do not use BP_SYM.
4429 (index): Do not use BP_SYM in weak_alias.
4430 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
4431 "bp-asm.h".
4432 (PARMS): Do not use macros from bp-asm.h.
4433 (DEST): Likewise.
4434 (SRC): Likewise.
4435 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
4436 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
4437 "bp-asm.h".
4438 (PARMS): Do not use macros from bp-asm.h.
4439 (strlen): Do not use BP_SYM.
4440 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
4441 "bp-asm.h".
4442 (PARMS): Do not use macros from bp-asm.h.
4443 (S1): Likewise.
4444 (S2): Likewise.
4445 (SIZE): Likewise.
4446 (__mpn_sub_n): Do not use BP_SYM.
4447 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
4448 "bp-asm.h".
4449 (PARMS): Do not use macros from bp-asm.h.
4450 (S1): Likewise.
4451 (SIZE): Likewise.
4452 (__mpn_submul_1): Do not use BP_SYM.
4453 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
4454 "bp-asm.h".
4455 (PARMS): Do not use macros from bp-asm.h.
4456 (S1): Likewise.
4457 (S2): Likewise.
4458 (SIZE): Likewise.
4459 (__mpn_add_n): Do not use BP_SYM.
4460 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
4461 weak_alias.
4462 (bzero): Likewise.
4463 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
4464 "bp-asm.h".
4465 (PARMS): Do not use macros from bp-asm.h.
4466 (BLK2): Likewise.
4467 (LEN): Likewise.
4468 (memcmp): Do not use BP_SYM.
4469 (bcmp): Do not use BP_SYM in weak_alias.
4470 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
4471 "bp-asm.h".
4472 (PARMS): Do not use macros from bp-asm.h.
4473 (DEST): Likewise.
4474 (SRC): Likewise.
4475 (LEN): Likewise.
4476 (memcpy): Likewise. Do not use BP_SYM.
4477 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
4478 "bp-asm.h".
4479 (PARMS): Do not use macros from bp-asm.h.
4480 (DEST): Likewise.
4481 (SRC): Likewise.
4482 (LEN): Likewise.
4483 (memmove): Likewise. Do not use BP_SYM.
4484 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
4485 "bp-asm.h".
4486 (PARMS): Do not use macros from bp-asm.h.
4487 (DEST): Likewise.
4488 (SRC): Likewise.
4489 (LEN): Likewise.
4490 (__mempcpy): Likewise. Do not use BP_SYM.
4491 (mempcpy): Do not use BP_SYM in weak_alias.
4492 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
4493 "bp-asm.h".
4494 (PARMS): Do not use macros from bp-asm.h.
4495 (DEST): Likewise.
4496 (LEN): Likewise.
4497 [!BZERO_P] (CHR): Likewise.
4498 (memset): Likewise. Do not use BP_SYM.
4499 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
4500 "bp-asm.h".
4501 (PARMS): Do not use macros from bp-asm.h.
4502 (STR2): Likewise.
4503 (strcmp): Do not use BP_SYM.
4504 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
4505 "bp-asm.h".
4506 (PARMS): Do not use macros from bp-asm.h.
4507 (STR): Likewise.
4508 (DELIM): Likewise.
4509 [USE_AS_STRTOK_R] (SAVE): Likewise.
4510 (FUNCTION): Likewise. Do not use BP_SYM.
4511 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
4512 aliases.
4513 (strtok_r): Likewise.
4514 (__GI___strtok_r): Likewise.
4515 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4516 (PARMS): Do not use macros from bp-asm.h.
4517 (S): Likewise.
4518 (SIZE): Likewise.
4519 (__mpn_lshift): Do not use BP_SYM.
4520 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4521 (PARMS): Do not use macros from bp-asm.h.
4522 (STR): Likewise.
4523 (CHR): Likewise.
4524 (__memchr): Do not use BP_SYM.
4525 (memchr): Do not use BP_SYM in weak_alias.
4526 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4527 (PARMS): Do not use macros from bp-asm.h.
4528 (BLK2): Likewise.
4529 (LEN): Likewise.
4530 (memcmp): Do not use BP_SYM.
4531 (bcmp): Do not use BP_SYM in weak_alias.
4532 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
4533 (PARMS): Do not use macros from bp-asm.h.
4534 (S1): Likewise.
4535 (SIZE): Likewise.
4536 (__mpn_mul_1): Do not use BP_SYM.
4537 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
4538 "bp-asm.h".
4539 (PARMS): Do not use macros from bp-asm.h.
4540 (STR): Likewise.
4541 (CHR): Likewise.
4542 (__rawmemchr): Do not use BP_SYM.
4543 (rawmemchr): Do not use BP_SYM in weak_alias.
4544 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4545 (PARMS): Do not use macros from bp-asm.h.
4546 (S): Likewise.
4547 (SIZE): Likewise.
4548 (__mpn_rshift): Do not use BP_SYM.
4549 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4550 (PARMS): Do not use macros from bp-asm.h.
4551 (SIGMSK): Likewise.
4552 (__sigsetjmp): Likewise. Do not use BP_SYM.
4553 * sysdeps/i386/start.S: Do not include "bp-sym.h".
4554 (_start): Do not use BP_SYM.
4555 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
4556 (PARMS): Do not use macros from bp-asm.h.
4557 (DEST): Likewise.
4558 (SRC): Likewise.
4559 (__stpcpy): Likewise. Do not use BP_SYM.
4560 (stpcpy): Do not use BP_SYM in weak_alias.
4561 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
4562 "bp-asm.h".
4563 (PARMS): Do not use macros from bp-asm.h.
4564 (DEST): Likewise.
4565 (SRC): Likewise.
4566 (LEN): Likewise.
4567 (__stpncpy): Likewise. Do not use BP_SYM.
4568 (stpncpy): Do not use BP_SYM in weak_alias.
4569 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4570 (PARMS): Do not use macros from bp-asm.h.
4571 (STR): Likewise.
4572 (CHR): Likewise.
4573 (strchr): Likewise. Do not use BP_SYM.
4574 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
4575 "bp-asm.h".
4576 (PARMS): Do not use macros from bp-asm.h.
4577 (STR): Likewise.
4578 (CHR): Likewise.
4579 (__strchrnul): Likewise. Do not use BP_SYM.
4580 (strchrnul): Do not use BP_SYM in weak_alias.
4581 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
4582 "bp-asm.h".
4583 (PARMS): Do not use macros from bp-asm.h.
4584 (STOP): Likewise.
4585 (strcspn): Do not use BP_SYM.
4586 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
4587 "bp-asm.h".
4588 (PARMS): Do not use macros from bp-asm.h.
4589 (STR): Likewise.
4590 (STOP): Likewise.
4591 (strpbrk): Likewise. Do not use BP_SYM.
4592 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
4593 "bp-asm.h".
4594 (PARMS): Do not use macros from bp-asm.h.
4595 (STR): Likewise.
4596 (CHR): Likewise.
4597 (strrchr): Likewise. Do not use BP_SYM.
4598 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
4599 (PARMS): Do not use macros from bp-asm.h.
4600 (SKIP): Likewise.
4601 (strspn): Do not use BP_SYM.
4602 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
4603 (PARMS): Do not use macros from bp-asm.h.
4604 (STR): Likewise.
4605 (DELIM): Likewise.
4606 (SAVE): Likewise.
4607 (FUNCTION): Likewise. Do not use BP_SYM.
4608 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
4609 aliases.
4610 (strtok_r): Likewise.
4611 (__GI___strtok_r): Likewise.
4612 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4613 (PARMS): Do not use macros from bp-asm.h.
4614 (S1): Likewise.
4615 (S2): Likewise.
4616 (SIZE): Likewise.
4617 (__mpn_sub_n): Do not use BP_SYM.
4618 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
4619 "bp-asm.h".
4620 (PARMS): Do not use macros from bp-asm.h.
4621 (S1): Likewise.
4622 (SIZE): Likewise.
4623 (__mpn_submul_1): Do not use BP_SYM.
4624 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
4625 <bp-sym.h>.
4626 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
4627 and <bp-asm.h>.
4628 (PARMS): Do not use macros from bp-asm.h.
4629 (FLAGS): Likewise.
4630 (PTID): Likewise.
4631 (TLS): Likewise.
4632 (CTID): Likewise.
4633 (__clone): Do not use BP_SYM.
4634 (clone): Do not use BP_SYM in weak_alias.
4635 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
4636 and <bp-asm.h>.
4637 (PARMS): Do not use macros from bp-asm.h.
4638 (LEN): Likewise.
4639 (__mmap64): Do not use BP_SYM.
4640 (mmap64): Do not use BP_SYM in weak_alias.
4641 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4642 <bp-sym.h> and <bp-asm.h>.
4643 (PARMS): Do not use macros from bp-asm.h.
4644 (__posix_fadvise64_l64): Do not use BP_SYM.
4645 * sysdeps/unix/sysv/linux/i386/semtimedop.S
4646 (PARMS): Do not use macros from bp-asm.h.
4647 (NSOPS): Likewise.
4648 (semtimedop): Do not use BP_SYM.
4649 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
4650 and <bp-asm.h>.
4651
582a3cff
AM
46522013-02-21 Allan McRae <allan@archlinux.org>
4653
4654 * manual/message.texi (Charset conversion in gettext):
4655 Move @end statement to beginning of line.
4656
bab8a695
SP
46572013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4658
80945231
SP
4659 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
4660 static.
4661 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4662 Likewise.
4663
bab8a695
SP
4664 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
4665 (denorm): Likewise.
4666 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
4667 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
4668
e21d7aa7
AK
46692013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4670
4671 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
4672 tail-call to the resolved function if pltexit isn't needed.
4673
4c7a4263
SP
46742013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4675
4676 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
4677 or Y being zero as being unlikely.
4678 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4679 Likewise.
4680
41f49342
CD
46812013-02-20 Carlos O'Donell <carlos@redhat.com>
4682
4683 * manual/nss.texi (System Databases and Name Service Switch):
4684 Remove frobnicate @pxref.
4685
50022a93
TS
46862013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4687
4688 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4689 __attribute__ ((unused)) to __attribute__ ((__unused__)).
4690
08cbd996
PM
46912013-02-20 Petr Machata <pmachata@redhat.com>
4692
4693 * elf/elf.h (R_ARM_TARGET1): New macro.
4694 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
4695 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
4696 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
4697 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
4698 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
4699 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
4700 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
4701 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
4702 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
4703 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
4704 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
4705 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
4706 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
4707 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
4708 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
4709 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
4710 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
4711 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
4712 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
4713 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
4714 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
4715 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
4716 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
4717 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
4718 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
4719 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
4720 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
4721 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
4722 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
4723 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
4724 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
4725 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
4726 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
4727 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
4728 (R_ARM_THM_GOT_BREL12): Likewise.
4729 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
4730 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
4731 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
4732 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
4733 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
4734 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
4735 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
4736 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
4737 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
4738
c7b275d6
TS
47392013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4740
4741 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4742 __attribute_used__ to __attribute__ ((unused)).
4743
20cd7fb3
SP
47442013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4745
4746 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
4747 powerpc mpa.c.
4748 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
4749 comment formatting.
4750 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
4751
92945b52
JM
47522013-02-19 Joseph Myers <joseph@codesourcery.com>
4753
4754 [BZ #13550]
4755 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
4756 Remove macro.
4757 (ENTER): Remove both macro definitions.
4758 (LEAVE): Likewise.
4759 (CHECK_BOUNDS_LOW): Likewise.
4760 (CHECK_BOUNDS_HIGH): Likewise.
4761 (CHECK_BOUNDS_BOTH): Likewise.
4762 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
4763 (RETURN_BOUNDED_POINTER): Likewise.
4764 (RETURN_NULL_BOUNDED_POINTER): Likewise.
4765 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
4766 (POP_ERRNO_LOCATION_RETURN): Likewise.
4767 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
4768 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4769 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
4770 macros.
4771 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4772 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
4773 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
4774 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
4775 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
4776 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
4777 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
4778 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
4779 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
4780 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
4781 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
4782 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
4783 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4784 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
4785 removed macros.
4786 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4787 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
4788 macros.
4789 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4790 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
4791 * sysdeps/i386/i586/memset.S (memset): Likewise.
4792 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
4793 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4794 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
4795 macros.
4796 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4797 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
4798 Change uses of L(2) to L(out).
4799 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
4800 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
4801 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
4802 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4803 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
4804 removed macros.
4805 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4806 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
4807 macros.
4808 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4809 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
4810 (RETURN): Do not use macro LEAVE.
4811 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
4812 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
4813 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
4814 * sysdeps/i386/i686/memset.S (memset): Likewise.
4815 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
4816 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
4817 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4818 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
4819 Likewise.
4820 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4821 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
4822 L(1_2) and L(1_3) into L(1).
4823 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4824 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
4825 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4826 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
4827 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4828 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
4829 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
4830 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4831 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
4832 macros.
4833 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
4834 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4835 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
4836 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
4837 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
4838 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4839 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
4840 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
4841 * sysdeps/i386/strcspn.S (strcspn): Likewise.
4842 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
4843 * sysdeps/i386/strrchr.S (strrchr): Likewise.
4844 * sysdeps/i386/strspn.S (strspn): Likewise.
4845 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
4846 conditional code.
4847 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4848 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
4849 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4850 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
4851 L(1_3) into L(1_1).
4852 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
4853 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4854 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
4855 macros.
4856 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4857
2389741a
JJ
48582013-02-19 Jakub Jelinek <jakub@redhat.com>
4859
4860 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
4861 macro.
4862
2016b3cd
SP
48632013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4864
e4f22324
SP
4865 * math/atest-exp.c (exp_mpn): Remove ROUND.
4866 * math/atest-exp2.c (exp_mpn): Likewise.
4867 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
4868
2016b3cd
SP
4869 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
4870 * stdlib/tst-tls-atexit-lib.c: Likewise.
4871 * stdlib/tst-tls-atexit.c: Likewise.
4872
4be9b544
MF
48732013-02-18 Mike Frysinger <vapier@gentoo.org>
4874
4875 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
4876 and __attribute_alloc_size__.
4877
2f62b9ee
MF
48782013-02-18 Mike Frysinger <vapier@gentoo.org>
4879
4880 * include/programs/xmalloc.h: Change __attribute_alloc_size to
4881 __attribute_alloc_size__.
4882 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
4883 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
4884
6ff444c4
MF
48852013-02-18 Mike Frysinger <vapier@gentoo.org>
4886
4887 * include/programs/xmalloc.h: New file.
4888 * catgets/gencat.c: Include it.
4889 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
4890 * elf/pldd.c: Likewise.
4891 * iconv/iconv_charmap.c: Likewise.
4892 * iconv/iconvconfig.c: Likewise.
4893 * iconv/strtab.c: Likewise.
4894 * locale/programs/locale.c: Likewise.
4895 * locale/programs/localedef.h: Likewise.
4896 * locale/programs/simple-hash.c: Likewise.
4897 * nscd/nscd.h: Likewise.
4898 * nss/makedb.c: Likewise.
4899 * sysdeps/generic/ldconfig.h: Likewise.
4900
be179c8a
SP
49012013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4902
ba384f6e
SP
4903 * Versions.def: Add GLIBC_2.18.
4904 * include/link.h (struct link_map): New member l_tls_dtor_count.
4905 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
4906 (__call_tls_dtors): Likewise.
4907 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
4908 __cxa_thread_atexit_impl.
4909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4910 Likewise.
4911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4912 Likewise.
4913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4914 Likewise.
4915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4916 Likewise.
4917 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4918 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
4919 Likewise.
4920 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
4921 Likewise.
4922 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4924 Likewise.
4925 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
4926 (tests): Add test case tst-tls-atexit.
4927 (modules-names): Add shared library for tst-tls-atexit.
4928 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
4929 (GLIBC_PRIVATE): Add __call_tls_dtors.
4930 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
4931 for libstdc++.
4932 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
4933 * stdlib/tst-tls-atexit.c: New test case.
4934 * stdlib/tst-tls-atexit-lib.c: New test case.
4935
ffaa74cf 4936 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 4937
be179c8a
SP
4938 * elf/Versions (ld): Add _dl_find_dso_for_object.
4939 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
4940 * elf/dl-open.c (_dl_find_dso_for_object): New function.
4941 (dl_open_worker): Use _dl_find_dso_for_object.
4942 * elf/dl-sym.c (do_sym): Likewise.
4943 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
4944
f78b5caa
AK
49452013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4946
4947 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
4948 Syntactic changes only.
4949 (_dl_runtime_profile): Do a tail-call to the resolved function.
4950
29691210
JM
49512013-02-17 Joseph Myers <joseph@codesourcery.com>
4952
4953 [BZ #13550]
4954 * sysdeps/x86_64/bp-asm.h: Remove file.
4955 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
4956 <bp-sym.h> and <bp-asm.h>.
4957 (__clone): Do not use BP_SYM.
4958 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
4959 <bp-sym.h> and <bp-asm.h>.
4960 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4961 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
4962 "bp-asm.h".
4963 (_setjmp): Do not use BP_SYM.
4964 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
4965 "bp-asm.h".
4966 (setjmp): Do not use BP_SYM.
4967 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
4968 libc_hidden_def.
4969 (mempcpy): Do not use BP_SYM in weak_alias.
4970 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
4971 "bp-asm.h".
4972 (strchr): Do not use BP_SYM.
4973 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
4974 "bp-asm.h".
4975 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
4976 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
4977 (_start): Do not use BP_SYM.
4978 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
4979 "bp-asm.h".
4980 (strcat): Do not use BP_SYM.
4981 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
4982 "bp-asm.h".
4983 (STRCMP): Do not use BP_SYM.
4984 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
4985 "bp-asm.h".
4986 (STRCPY): Do not use BP_SYM.
4987 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
4988 "bp-asm.h".
4989 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
4990 "bp-asm.h".
4991 (FUNCTION): Do not use BP_SYM.
4992 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
4993 weak_alias.
4994 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
4995
f238fd19
AJ
49962013-02-17 Andreas Jaeger <aj@suse.de>
4997
4998 * time/Versions: Sort entries.
4999 * string/Versions: Likewise.
5000 * resolv/Versions: Likewise.
5001 * posix/Versions: Likewise.
5002 * iconv/Versions: Likewise.
5003 * elf/Versions: Likewise.
5004 * wcsmbs/Versions: Likewise.
5005
bd07f23c 50062013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 5007
22af19f9
SP
5008 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
5009 loop termination condition.
5010
4709fe76
SP
5011 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
5012 variable to calculate EZ.
5013 (__sqr): Likewise.
2d0e0f29
SP
5014
5015 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
5016 the lower precision input.
5017
daaa7713
JM
50182013-02-15 Joseph Myers <joseph@codesourcery.com>
5019
5020 [BZ #13550]
5021 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
5022 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
5023 (run-via-rtld-prefix): Do not handle %-bp tests.
5024 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
5025 (all-object-suffixes): Remove .ob.
5026 (bppfx): Remove variable.
5027 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
5028 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
5029 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
5030 [$(build-bounded) = yes] (libtype.ob): Likewise.
5031 * Makerules (elide-routines.ob): Remove variable.
5032 (do-tests-clean): Do not handle *-bp.out.
5033 (common-mostlyclean): Do not handle *-bp and *-bp.out.
5034 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
5035 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
5036 (tests): Do not include $(tests-bp.out).
5037 (xtests): Do not include $(xtests-bp.out).
5038 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
5039 [$(build-bounded) = yes] ($(addprefix
5040 $(objpfx),$(binaries-bounded))): Remove rule.
5041 ($(objpfx)%-bp.out): Remove rule.
5042 * config.make.in (build-bounded): Remove variable.
5043 * crypt/Makefile [$(build-bounded) = yes]
5044 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
5045 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
5046 append to variable.
5047 [$(build-bounded) = yes] (install-lib): Likewise.
5048 [$(build-bounded) = yes] (generated): Likewise.
5049 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
5050 Remove rule.
5051 * intl/Makefile [$(build-bounded) = yes]
5052 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
5053 * math/Makefile [$(build-bounded) = yes]
5054 ($(tests:%=$(objpfx)%-bp): Likewise.
5055 * misc/Makefile [$(build-bounded) = yes]
5056 ($(objpfx)tst-tsearch-bp): Likewise.
5057 * nptl/Makeconfig (bounded-thread-library): Remove variable.
5058 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
5059 Remove dependency.
5060 * string/Makefile (o-objects.ob): Remove variable.
5061 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
5062 (CFLAGS-.ob): Remove variable.
5063 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
5064 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
5065 both definitions of variable.
5066 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
5067 (ASFLAGS-.ob): Remove variable.
5068
e97ed6dd
JM
50692013-02-14 Joseph Myers <joseph@codesourcery.com>
5070
2bdd4ca6
JM
5071 [BZ #13550]
5072 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
5073 Remove __BOUNDED_POINTERS__ from condition.
5074 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
5075 * string/bits/string2.h [!__NO_STRING_INLINES &&
5076 !__BOUNDED_POINTERS__]: Likewise.
5077 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
5078 Likewise.
5079 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
5080 Remove conditional code.
5081 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
5082 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
5083 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
5084 condition.
5085
e97ed6dd
JM
5086 [BZ #13550]
5087 * csu/libc-start.c: Do not include <bp-sym.h>.
5088 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
5089 * elf/dl-open.c: Do not include <bp-sym.h>.
5090 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
5091 * math/fegetenv.c: Do not include <bp-sym.h>.
5092 (fegetenv): Do not use BP_SYM in versioned symbols.
5093 * nptl/sysdeps/pthread/bits/libc-lockP.h
5094 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
5095 <bp-sym.h>.
5096 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5097 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
5098 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5099 (__pthread_mutex_destroy): Likewise.
5100 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5101 (__pthread_mutex_lock): Likewise.
5102 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5103 (__pthread_mutex_trylock): Likewise.
5104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5105 (__pthread_mutex_unlock): Likewise.
5106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5107 (__pthread_mutexattr_init): Likewise.
5108 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5109 (__pthread_mutexattr_destroy): Likewise.
5110 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5111 (__pthread_mutexattr_settype): Likewise.
5112 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5113 (__pthread_rwlock_init): Likewise.
5114 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5115 (__pthread_rwlock_destroy): Likewise.
5116 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5117 (__pthread_rwlock_rdlock): Likewise.
5118 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5119 (__pthread_rwlock_tryrdlock): Likewise.
5120 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5121 (__pthread_rwlock_wrlock): Likewise.
5122 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5123 (__pthread_rwlock_trywrlock): Likewise.
5124 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5125 (__pthread_rwlock_unlock): Likewise.
5126 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5127 (__pthread_key_create): Likewise.
5128 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5129 (__pthread_setspecific): Likewise.
5130 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5131 (__pthread_getspecific): Likewise.
5132 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
5133 Likewise.
5134 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5135 (_pthread_cleanup_push_defer): Likewise.
5136 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5137 (_pthread_cleanup_pop_restore): Likewise.
5138 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5139 (pthread_setcancelstate): Likewise.
5140 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
5141 <bp-sym.h>.
5142 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
5143 (memchr): Do not use BP_SYM in weak_alias.
5144 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
5145 (fegetenv): Do not use BP_SYM in versioned symbols.
5146 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
5147 (fesetenv): Do not use BP_SYM in versioned symbols.
5148 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5149 (feupdateenv): Do not use BP_SYM in versioned symbols.
5150 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5151 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5152 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
5153 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
5154 (open64): Do not use BP_SYM in weak_alias.
5155 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
5156 (fegetenv): Do not use BP_SYM in versioned symbols.
5157 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
5158 (fesetenv): Do not use BP_SYM in versioned symbols.
5159 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5160 (feupdateenv): Do not use BP_SYM in versioned symbols.
5161 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
5162 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
5163 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
5164 (feraiseexcept): Do not use BP_SYM in versioned symbols.
5165 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5166 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5167 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
5168 <bp-sym.h>.
5169 (__libc_start_main): Do not use BP_SYM.
5170
d6752ccd
SP
51712013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5172
cb57ce60
SP
5173 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
5174 redundant return line.
5175 (norm): Likewise.
5176 (denorm): Likewise.
5177 (dbl_mp): Likewise.
5178 (sub_magnitudes): Likewise.
5179 (__add): Likewise.
5180 (__sub): Likewise.
5181 (__mul): Likewise.
5182 (__inv): Likewise.
5183 (__dvd): Likewise.
5184 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
5185 (norm): Likewise.
5186 (denorm): Likewise.
5187 (dbl_mp): Likewise.
5188 (sub_magnitudes): Likewise.
5189 (__add): Likewise.
5190 (__sub): Likewise.
5191 (__mul): Likewise.
5192 (__inv): Likewise.
5193 (__dvd): Likewise.
5194
f414520d
SP
5195 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
5196 instead of __mul.
5197 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5198 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
5199 (cc32): Likewise.
5200
d6752ccd
SP
5201 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
5202 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
5203 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
5204 of __mul for squares.
5205 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
5206 function
5207 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
5208 Likewise.
5209 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
5210 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5211
70d9946a
JM
52122013-02-13 Joseph Myers <joseph@codesourcery.com>
5213
5214 [BZ #13550]
5215 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
5216 code.
5217 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
5218 prototype or function definition. Rename ubp_* variables and
5219 parameters. Remove argv definitions conditional on
5220 [__BOUNDED_POINTERS__].
5221 * debug/backtrace.c (__backtrace): Do not use __unbounded.
5222 * elf/dl-runtime.c (_dl_fixup): Likewise.
5223 * include/set-hooks.h (RUN_HOOK): Likewise.
5224 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
5225 definition.
5226 * string/strcpy.c (strcpy): Do not use __unbounded.
5227 * sysdeps/generic/frame.h (struct layout): Likewise.
5228 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
5229 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
5230 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
5231 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
5232 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
5233 (__backtrace): Likewise.
5234 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
5235 use __ptrvalue.
5236 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5237 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5238 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5239 Likewise.
5240 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
5241 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
5242 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5243 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5244 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
5245 Do not use __unbounded.
5246 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
5247 Rename __unboundedrlimits parameter to rlimits in prototype.
5248 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
5249 Do not use __unbounded.
5250 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
5251 not use __ptrvalue.
5252 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5253 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
5254 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5255 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
5256 __ptrvalue or __unbounded.
5257 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
5258 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
5259 use __unbounded.
5260 (__new_msgctl): Do not use __ptrvalue.
5261 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
5262 __unbounded.
5263 (__libc_msgrcv): Do not use __ptrvalue.
5264 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
5265 startup_info): Do not use __unbounded.
5266 (__libc_start_main): Likewise. Rename ubp_* variables and
5267 parameters. Remove argv definitions conditional on
5268 [__BOUNDED_POINTERS__].
5269 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
5270 __ptrvalue.
5271 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
5272 use __unbounded.
5273 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
5274 or __ptrvalue.
5275 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
5276 use __unbounded.
5277 (__new_shmctl): Do not use __ptrvalue.
5278 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5279 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5280 Likewise.
5281 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5282 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
5283 (__libc_sigaction): Likewise.
5284 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
5285 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
5286 Likewise.
5287 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5288
cc7834d6
OB
52892013-02-13 Ondřej Bílka <neleai@seznam.cz>
5290
ffb1ec7b 5291 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
5292
5293 * string/mempcpy.c: Implement by calling memcpy.
5294
bdf02814
SP
52952013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5296
c2af38aa
SP
5297 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
5298
4e92d59e
SP
5299 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
5300 evaluation.
5301
909279a5
SP
5302 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
5303 values in the mantissa.
5304
bdf02814
SP
5305 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
5306 minimize writes to Z.
5307 (sub_magnitudes): Simplify code a bit.
5308
cd525923
RM
53092013-02-12 Roland McGrath <roland@hack.frob.com>
5310
5311 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
5312 from the message. The linker prefixes all warnings with that already.
5313
7e2f0d2d
AS
53142013-02-12 Andreas Schwab <schwab@suse.de>
5315
a445af0b
AS
5316 [BZ #15078]
5317 * posix/regexec.c (extend_buffers): Add parameter min_len.
5318 (check_matching): Pass minimum needed length.
5319 (clean_state_log_if_needed): Likewise.
5320 (get_subexp): Likewise.
5321 * posix/Makefile (tests): Add bug-regex34.
5322 (bug-regex34-ENV): Define.
5323 * posix/bug-regex34.c: New file.
5324
7e2f0d2d
AS
5325 [BZ #11561]
5326 * posix/regcomp.c (parse_bracket_exp): When looking up collating
5327 elements compare against the byte sequence of it, not its name.
5328 * posix/Makefile (tests): Add bug-regex35.
5329 (bug-regex35-ENV): Define.
5330 * posix/bug-regex35.c: New file.
5331
a175b684
TV
53322013-02-11 Tom de Vries <tom@codesourcery.com>
5333
5334 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
5335 comment.
5336 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
5337 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
5338 (CHECK_EOL): Add undef.
5339
310998fe 53402013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
5341
5342 * bits/stdlib-bsearch.h: New file.
5343 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 5344 * stdlib/stdlib.h: Likewise.
41eda41d 5345
8ded91fb
RM
53462013-02-11 Roland McGrath <roland@hack.frob.com>
5347
5348 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
5349 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
5350 declaration.
5351 * manual/search.texi (Array Search Function): Add missing const in
5352 lfind prototype.
5353 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
5354 declaration to use rlim_t.
5355 (Basic Scheduling Functions): Remove erroneous const from
5356 sched_getparam prototype. Remove erroneous * from
5357 sched_get_priority_max and sched_get_priority_min prototypes.
5358 (Resource Usage): Fix summary @comment on vtimes to refer to
5359 sys/vtimes.h rather than vtimes.h.
5360 Add missing *s in vtimes prototype.
5361 (Limits on Resources): Fix ulimit prototype to return long int.
5362 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
5363 prototypes to use long int rather than double.
5364 (BSD Random): Fix initstate and setstate to use char *, not void *.
5365 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
5366 prototype to make second argument 'struct aiocb64 *const[]'.
5367 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
5368 (Status of AIO Operations): Remove erroneous const in aio_return and
5369 aio_return64 prototypes.
5370 (Synchronizing I/O): Fix sync prototype to return void.
5371 * manual/startup.texi (Suboptions): Remove an erroneous const in
5372 getsubopt prototype.
5373 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
5374 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
5375 use size_t rather than int.
5376 (Scanning All Users): Likewise for getpwent_r.
5377 (Setting Groups): Add missing const to setgroups prototype.
5378 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
5379 * manual/socket.texi (Host Names): Fix gethostbyaddr and
5380 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
5381 'const void *' rather than 'const char *'.
5382 (Host Address Functions): Likewise for inet_ntop.
5383 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
5384 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
5385 ssize_t for return value.
5386 (Sending Data): Likewise for send, sendto, sendmsg.
5387 (Socket Option Functions): Add a missing const in setsockopt prototype.
5388 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
5389 use wchar_t for the argument.
5390 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
5391 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
5392 take no arguments.
5393 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
5394 double/float/long double for second argument.
5395 Fix return types of significand, significandf, significandl.
5396 * manual/filesys.texi (Setting Permissions): Use mode_t for second
5397 argument in fchmod prototype.
5398 (File Owner): Use uid_t and gid_t in fchown prototype.
5399 (File Times): Add const to utimes, futimes, and lutimes prototypes.
5400 (Making Special Files): Use mode_t and dev_t in mknod prototype.
5401 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
5402 use 'const struct dirent **' as argument types to CMP function pointer
5403 argument.
5404 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
5405 (File Times): Fix summary magic @comment for struct utimbuf and utime
5406 to refer to utime.h, not time.h.
5407 * manual/string.texi (Argz Functions): Add missing const in
5408 argz_extract and argz_next prototypes.
5409 (Finding Tokens in a String): Likewise for basename.
5410 (String/Array Comparison): Fix typo in wcscasecmp prototype.
5411 (Copying and Concatenation): Fix typo in wmemmove prototype.
5412 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
5413 (Signal Stack): Remove erroneous const in sigstack prototype.
5414 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
5415 prototype.
5416 (Simple Calendar Time): Likewise for stime.
5417 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
5418 prototype.
5419 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
5420 say sys/sysctl.h instead.
5421 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
5422 and vsyslog prototypes.
5423
fe77fe6d
TV
54242013-02-11 Tom de Vries <tom@codesourcery.com>
5425
5426 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
5427 Remove.
5428
3a09b620
RM
54292013-02-11 Roland McGrath <roland@hack.frob.com>
5430
5431 * misc/sys/mman.h: Fix typo in mremap comment.
5432
550a0b89
RM
54332013-02-08 Roland McGrath <roland@hack.frob.com>
5434
5435 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
5436 the '\0' terminator.
5437
a2da1673
JM
54382013-02-08 Joseph Myers <joseph@codesourcery.com>
5439
5440 [BZ #13550]
5441 * debug/segfault.c: Don't include <bp-checks.h>.
5442 * sysdeps/generic/bp-checks.h: Remove file.
5443 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
5444 (__GETDENTS): Don't use CHECK_N.
5445 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
5446 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5447 (__getgroups): Don't use CHECK_N.
5448 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5449 (setgroups): Don't use CHECK_N.
5450 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
5451 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
5452 (__libc_msgrcv): Don't use CHECK_N.
5453 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
5454 (__libc_msgsnd): Don't use CHECK_N.
5455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
5456 <bp-checks.h>.
5457 (__libc_pread): Don't use CHECK_N.
5458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
5459 include <bp-checks.h>.
5460 (__libc_pread64): Don't use CHECK_N.
5461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
5462 include <bp-checks.h>.
5463 (__libc_pwrite): Don't use CHECK_N.
5464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
5465 include <bp-checks.h>.
5466 (__libc_pwrite64): Don't use CHECK_N.
5467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
5468 <bp-checks.h>.
5469 (__libc_pread): Don't use CHECK_N.
5470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
5471 include <bp-checks.h>.
5472 (__libc_pread64): Don't use CHECK_N.
5473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
5474 include <bp-checks.h>.
5475 (__libc_pwrite): Don't use CHECK_N.
5476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
5477 include <bp-checks.h>.
5478 (__libc_pwrite64): Don't use CHECK_N.
5479 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
5480 (do_pread): Don't use CHECK_N.
5481 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
5482 (do_pread64): Don't use CHECK_N.
5483 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
5484 (do_pwrite): Don't use CHECK_N.
5485 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
5486 (do_pwrite64): Don't use CHECK_N.
5487 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
5488 (__libc_readv): Don't use CHECK_N.
5489 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
5490 (semop): Don't use CHECK_N.
5491 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
5492 <bp-checks.h>.
5493 (semtimedop): Don't use CHECK_N.
5494 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
5495 (__libc_pread): Don't use CHECK_N.
5496 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
5497 <bp-checks.h>.
5498 (__libc_pread64): Don't use CHECK_N.
5499 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
5500 <bp-checks.h>.
5501 (__libc_pwrite): Don't use CHECK_N.
5502 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
5503 <bp-checks.h>.
5504 (__libc_pwrite64): Don't use CHECK_N.
5505 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
5506 <bp-checks.h>.
5507 (__libc_msgrcv): Don't use CHECK_N.
5508 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
5509 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
5510 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
5511 (__libc_writev): Don't use CHECK_N.
5512
b84660a8
RM
55132013-02-08 Roland McGrath <roland@hack.frob.com>
5514
7f3e75f8
RM
5515 * string/strcpy.c: Removed unused variable.
5516
b84660a8
RM
5517 * Makeconfig (+sysdep-includes): Define with := rather than =.
5518 Use an existing include/ subdir of each sysdeps dir before it.
5519
471514d3
CD
55202013-02-08 Carlos O'Donell <carlos@redhat.com>
5521
5522 * nscd/connection.c (register_traced_file): Comment function.
5523 [HAVE_INOTIFY] (union __inev): Define.
5524 [HAVE_INOTIFY] (inotify_check_files): New function.
5525 [HAVE_INOTIFY] (clear_db_cache): Likewise.
5526 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
5527 clear_db_cache.
5528 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
5529
b2d3c3be
CD
55302013-02-08 Carlos O'Donell <carlos@redhat.com>
5531
5532 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
5533 loaded if not already and that a failure is permanent.
5534
b39949d2
CD
55352013-02-08 Carlos O'Donell <carlos@redhat.com>
5536
ddacd1db 5537 [BZ #15006]
b39949d2
CD
5538 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
5539 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
5540
b2c9eff4
JM
55412013-02-08 Joseph Myers <joseph@codesourcery.com>
5542
f3aae3f3
JM
5543 [BZ #13550]
5544 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
5545 (CHECK_1_NULL_OK): Likewise.
5546 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
5547 (__fxstat): Do not use CHECK_1.
5548 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5549 <bp-checks.h>.
5550 (___fxstat64): Do not use CHECK_1.
5551 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5552 <bp-checks.h>.
5553 (__fxstatat): Do not use CHECK_1.
5554 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5555 <bp-checks.h>.
5556 (__fxstatat64): Do not use CHECK_1.
5557 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
5558 <bp-checks.h>.
5559 (__fxstat): Do not use CHECK_1.
5560 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5561 <bp-checks.h>.
5562 (__fxstatat): Do not use CHECK_1.
5563 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5564 <bp-checks.h>.
5565 (__getresgid): Do not use CHECK_1.
5566 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5567 <bp-checks.h>.
5568 (__getresuid): Do not use CHECK_1.
5569 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
5570 <bp-checks.h>.
5571 (__lxstat): Do not use CHECK_1.
5572 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5573 <bp-checks.h>.
5574 (__old_msgctl): Do not use CHECK_1.
5575 (__new_msgctl): Likewise.
5576 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
5577 <bp-checks.h>.
5578 (__new_setrlimit): Do not use CHECK_1.
5579 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5580 <bp-checks.h>.
5581 (__old_shmctl): Do not use CHECK_1.
5582 (__new_shmctl): Likewise.
5583 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
5584 <bp-checks.h>.
5585 (__xstat): Do not use CHECK_1.
5586 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
5587 (__lxstat): Do not use CHECK_1.
5588 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5589 <bp-checks.h>.
5590 (___lxstat64): Do not use CHECK_1.
5591 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
5592 (__old_msgctl): Do not use CHECK_1.
5593 (__new_msgctl): Likewise.
5594 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
5595 <bp-checks.h>.
5596 (__gettimeofday): Do not use CHECK_1.
5597 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
5598 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
5599 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
5600 <bp-checks.h>.
5601 (__gettimeofday): Do not use CHECK_1.
5602 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
5603 (__old_shmctl): Do not use CHECK_1_NULL_OK.
5604 (__new_shmctl): Do not use CHECK_1.
5605 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
5606 <bp-checks.h>.
5607 (do_sigtimedwait): Do not use CHECK_1.
5608 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
5609 <bp-checks.h>.
5610 (do_sigwaitinfo): Do not use CHECK_1.
5611 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
5612 <bp-checks.h>.
5613 (msgctl): Do not use CHECK_1.
5614 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
5615 <bp-checks.h>.
5616 (shmctl): Do not use CHECK_1.
5617 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
5618 (ustat): Do not use CHECK_1.
5619 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
5620 <bp-checks.h>.
5621 (__fxstat): Do not use CHECK_1.
5622 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5623 <bp-checks.h>.
5624 (__fxstatat): Do not use CHECK_1.
5625 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
5626 <bp-checks.h>.
5627 (__lxstat): Do not use CHECK_1.
5628 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
5629 <bp-checks.h>.
5630 (__xstat): Do not use CHECK_1.
5631 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
5632 (__xstat): Do not use CHECK_1.
5633 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
5634 (___xstat64): Do not use CHECK_1.
5635
b2c9eff4
JM
5636 [BZ #13550]
5637 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
5638 definitions.
5639 (CHECK_BOUNDS_HIGH): Likewise.
5640 * string/strcpy.c: Do not include <bp-checks.h>.
5641 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
5642
f1d70dad
RM
56432013-02-07 Roland McGrath <roland@hack.frob.com>
5644
5645 * nscd/nscd-client.h (__nscd_drop_map_ref):
5646 Add __attribute__ ((unused)).
5647 * nis/nss-nisplus.h (niserr2nss): Likewise.
5648
5649 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
5650 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
5651
5652 * csu/libc-tls.c (init_static_tls, init_slotinfo):
5653 Remove inline keyword.
5654 * include/rounding-mode.h (round_away): Likewise.
5655 * libio/wfileops.c (adjust_wide_data): Likewise.
5656 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
5657 (__m128i_strloadu_tolower): Likewise.
5658 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
5659 (__m128i_strloadu_tolower): Likewise.
5660 * time/mktime.c (ydhms_diff): Likewise.
5661 * locale/elem-hash.h (elem_hash): Likewise.
5662 * locale/setlocale.c (setdata): Likewise.
5663 * posix/regex_internal.h (re_string_char_size_at): Likewise.
5664 (re_string_wchar_at): Likewise.
5665 (bitset_not, bitset_merge, bitset_mask): Likewise.
5666 [!(__GNUC__ > 3)] (inline): Remove macro.
5667 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
5668 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
5669 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5670 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
5671 * string/memcmp.c (memcmp_bytes): Likewise.
5672 * locale/programs/locarchive.c (compute_hashval): Likewise.
5673 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
5674 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
5675 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
5676 * nss/getent.c (print_rpc, print_protocols): Likewise.
5677 (print_passwd, print_group, print_aliases): Likewise.
5678 * nis/nss-nisplus.h (niserr2nss): Likewise.
5679 * nscd/connections.c (restart_p): Likewise.
5680 Change return type to bool.
5681
eab55bfb
RM
56822013-02-05 Roland McGrath <roland@hack.frob.com>
5683
7bd642f5
RM
5684 * Makeconfig (all-Depend-files): Add existing
5685 $(sorted-subdirs:=/Depend) files.
5686 (all-subdirs): Remove nss.
5687 * sysdeps/unix/inet/Subdirs: Add it here instead.
5688 * hesiod/Depend: New file.
5689
573c29b2
RM
5690 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
5691 instead of calling alloca.
5692
b2e25af0
RM
5693 * io/lseek.c (__lseek): Rename to __libc_lseek.
5694 Define __lseek as an alias.
5695
eab55bfb
RM
5696 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
5697
9a0d1941
CD
56982013-02-04 Carlos O'Donell <carlos@redhat.com>
5699
5700 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
5701 else clause and remove check for non-standard endianness.
5702
b83bbec4
DM
57032013-02-04 David S. Miller <davem@davemloft.net>
5704
5705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5706
6277fdab
JM
57072013-02-04 Joseph Myers <joseph@codesourcery.com>
5708
5709 [BZ #13550]
5710 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
5711 (__ubp_memchr): Remove prototype.
5712 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
5713 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5714 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
5715 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5716 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
5717 Remove alias.
5718 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
5719 (__ubp_memchr): Likewise.
5720 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
5721 (__ubp_memchr): Likewise.
5722 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
5723 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
5724 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
5725 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
5726 CHECK_STRING.
5727 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5728 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
5729 (__getcwd): Do not use CHECK_STRING.
5730 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5731 <bp-checks.h>.
5732 (__real_chown): Do not use CHECK_STRING.
5733 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
5734 <bp-checks.h>.
5735 (fchownat): Do not use CHECK_STRING.
5736 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
5737 CHECK_STRING.
5738 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5739 <bp-checks.h>.
5740 (__lchown): Do not use CHECK_STRING.
5741 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5742 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5743 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5744 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5746 include <bp-checks.h>.
5747 (truncate64): Do not use CHECK_STRING.
5748 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5749 <bp-checks.h>.
5750 (__real_chown): Do not use CHECK_STRING.
5751 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5752 <bp-checks.h>.
5753 (__lchown): Do not use CHECK_STRING.
5754 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5755 <bp-checks.h>.
5756 (__chown): Do not use CHECK_STRING.
5757 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
5758 <bp-checks.h>.
5759 (truncate64): Do not use CHECK_STRING.
5760 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
5761 Likewise.
5762 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
5763 (__xmknod): Do not use CHECK_STRING.
5764 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5765 <bp-checks.h>.
5766 (__xmknodat): Do not use CHECK_STRING.
5767 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5768 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5769
903ae060
AS
57702013-02-04 Andreas Schwab <schwab@suse.de>
5771
5772 [BZ #14142]
5773 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
5774 * include/netdb.h: Likewise for h_errno.
5775 * elf/tst-stackguard1.c: Include <tls.h>.
5776
542f9466
JK
57772013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5778
5779 * elf/link.h (struct link_map): Extend the l_addr comment.
5780 * include/link.h (struct link_map): Likewise.
5781
e782a927
JM
57822013-02-01 Joseph Myers <joseph@codesourcery.com>
5783
5784 [BZ #13550]
5785 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
5786 (BOUNDED_1): Remove macro.
5787 * debug/backtrace.c: Don't include <bp-checks.h>.
5788 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
5789 (__backtrace): Likewise.
5790 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
5791 <bp-checks.h>.
5792 (__backtrace): Don't use BOUNDED_1.
5793 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
5794 <bp-checks.h>.
5795 (__backtrace): Don't use BOUNDED_1.
5796 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
5797 (__backtrace): Don't use BOUNDED_1.
5798 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
5799 (shmat): Don't use BOUNDED_N.
5800
8cf28c5e
JM
58012013-01-31 Joseph Myers <joseph@codesourcery.com>
5802
3a7ac8a0
JM
5803 [BZ #13550]
5804 * sysdeps/generic/bp-start.h: Remove file.
5805 * csu/libc-start.c: Don't include <bp-start.h>.
5806 (LIBC_START_MAIN): Set up __environ directly instead of using
5807 INIT_ARGV_and_ENVIRON.
5808 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
5809 <bp-start.h>.
5810
f3499f95
JM
5811 [BZ #13550]
5812 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
5813 definitions.
5814 (CHECK_FCNTL): Likewise.
5815 (CHECK_N_PAGES): Likewise.
5816
32a45bea
JM
5817 [BZ #13550]
5818 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
5819 definitions.
5820 (CHECK_SIGSET_NULL_OK): Likewise.
5821 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
5822 <bp-checks.h>.
5823 (sigpending): Don't use CHECK_SIGSET.
5824 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
5825 <bp-checks.h>.
5826 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5827 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
5828 <bp-checks.h>.
5829 (do_sigsuspend): Don't use CHECK_SIGSET.
5830 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
5831 use CHECK_SIGSET.
5832 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
5833 (do_sigwait): Don't use CHECK_SIGSET.
5834 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
5835 use CHECK_SIGSET.
5836 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
5837 include <bp-checks.h>.
5838 (sigpending): Don't use CHECK_SIGSET.
5839 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
5840 include <bp-checks.h>.
5841 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5842 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
5843 <bp-checks.h>.
5844 (sigpending): Don't use CHECK_SIGSET.
5845 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
5846 <bp-checks.h>.
5847 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5848
2e8a5c8c
JM
5849 [BZ #13550]
5850 * sysdeps/generic/bp-semctl.h: Remove file.
5851 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
5852 <bp-checks.h> and <bp-semctl.h>.
5853 (__old_semctl): Don't use CHECK_SEMCTL.
5854 (__new_semctl): Likewise.
5855 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
5856 and <bp-semctl.h>.
5857 (__old_semctl): Don't use CHECK_SEMCTL.
5858 (__new_semctl): Likewise.
5859 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
5860 <bp-checks.h> and <bp-semctl.h>.
5861 (__old_semctl): Don't use CHECK_SEMCTL.
5862 (__new_semctl): Likewise.
5863 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
5864 <bp-checks.h> and <bp-semctl.h>.
5865 (semctl): Don't use CHECK_SEMCTL.
5866
c2d54929
JM
5867 [BZ #13550]
5868 * Makerules (elide-bp-thunks): Remove variable.
5869 (elide-routines.oS): Don't use $(elide-bp-thunks).
5870 (elide-routines.os): Likewise.
5871 (elide-routines.o): Likewise.
5872 (elide-routines.op): Likewise.
5873 (elide-routines.og): Likewise.
5874 (objects): Don't use $(bp-thunks).
5875 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
5876 include.
5877 (common-generated): Do not add s-proto-bp.d.
5878 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
5879 (int): Likewise.
5880 (typ): Likewise.
5881 Do not generate makefile rules for bounded-pointer thunks.
5882 * sysdeps/generic/bp-thunks.h: Remove file.
5883 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
5884 * sysdeps/unix/s-proto-bp.S: Likewise.
5885
8cf28c5e
JM
5886 [BZ #15062]
5887 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
5888 parts of result separately when argument is not close to line from
5889 -i to i and one part of argument is small.
5890 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5891 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5892 * math/libm-test.inc (cacos_test): Add more tests.
5893 (casin_test): Likewise.
5894 (casinh_test): Likewise.
5895 * sysdeps/i386/fpu/libm-test-ulps: Update.
5896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5897
c4e33b8d
DM
58982013-01-31 David S. Miller <davem@davemloft.net>
5899
5900 * po/de.po: Update from translation team.
5901
3b60b421
MK
59022013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
5903
5904 * time/tzfile.c: Include stdint.h for SIZE_MAX.
5905
bb931195
TS
59062013-01-25 Thomas Schwinge <thomas@codesourcery.com>
5907
b5a5da23
TS
5908 * configure.in (_AC_PROG_CC_C89): New definition.
5909 * configure: Regenerate.
5910
bb931195
TS
5911 * configure.in (AC_PROG_CPP): New definition.
5912 * configure: Regenerate.
5913
8c53a12c
JM
59142013-01-23 Joseph Myers <joseph@codesourcery.com>
5915
5916 * debug/tst-backtrace.h: New file.
5917 * debug/tst-backtrace2.c: Include tst-backtrace.h.
5918 (ret): Remove variable.
5919 (x): Likewise.
5920 (FAIL): Remove macro.
5921 (NO_INLINE): Likewise.
5922 (fn1): Use match function instead of strstr.
5923 * debug/tst-backtrace3.c: Include tst-backtrace.h.
5924 (ret): Remove variable.
5925 (x): Likewise.
5926 (FAIL): Remove macro.
5927 (NO_INLINE): Likewise.
5928 (fn): Use match function instead of strstr.
5929 * debug/tst-backtrace4.c: Include tst-backtrace.h.
5930 (ret): Remove variable.
5931 (x): Likewise.
5932 (FAIL): Remove macro.
5933 (NO_INLINE): Likewise.
5934 (handle_signal): Use match function instead of strstr.
5935 * debug/tst-backtrace5.c: Include tst-backtrace.h.
5936 (ret): Remove variable.
5937 (x): Likewise.
5938 (FAIL): Remove macro.
5939 (NO_INLINE): Likewise.
5940 (handle_signal): Use match function instead of strstr.
5941
4858fa2a
RM
59422013-01-23 Roland McGrath <roland@hack.frob.com>
5943
5944 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
5945
bae8e7f5
DM
59462013-01-23 David S. Miller <davem@davemloft.net>
5947
5948 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
5949 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
5950 argument of CAS if possible.
5951 * sysdeps/sparc/sparc64/bits/atomic.h
5952 (__arch_compare_and_exchange_val_32_acq): Likewise.
5953 (__arch_compare_and_exchange_val_64_acq): Likewise.
5954
9cbbc4ae
PT
59552013-01-23 Pino Toscano <toscano.pino@tiscali.it>
5956
5957 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
5958 * sysdeps/posix/ulimit.c: ... this.
92a601b8 5959 Include <limits.h>.
67b3f58c 5960 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 5961
5655a0b5
AC
59622013-01-23 Adam Conrad <adconrad@0c3.net>
5963
5964 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
5965 (LDFLAGS-tst-array5): Likewise.
5966
052aff95
JM
59672013-01-23 Joseph Myers <joseph@codesourcery.com>
5968
5969 [BZ #15036]
5970 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
5971 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
5972 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
5973 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
5974
7c1e01aa
DM
59752013-01-21 David S. Miller <davem@davemloft.net>
5976
5977 * sysdeps/sparc/backtrace.c: New file.
5978 * sysdeps/sparc/sparc32/backtrace.h: New file.
5979 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
5980 * sysdeps/sparc/sparc64/backtrace.h: New file.
5981 * sysdeps/sparc/sparc64/backtrace.c: Delete.
5982 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
5983 -funwind-tables.
5984
ab087e0a
AS
59852013-01-21 Andreas Schwab <schwab@suse.de>
5986
5987 [BZ #15020]
5988 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
5989 closed its stdout.
5990
ed689c2f
AS
59912013-01-20 Andreas Schwab <schwab@linux-m68k.org>
5992
5993 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
5994 "mpa2.h".
5995 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5996
31d470ac
JM
59972013-01-18 Joseph Myers <joseph@codesourcery.com>
5998 Mark Mitchell <mark@codesourcery.com>
5999 Tom de Vries <tom@codesourcery.com>
6000 Paul Pluzhnikov <ppluzhnikov@google.com>
6001
6002 * debug/tst-backtrace2.c: New file.
6003 * debug/tst-backtrace3.c: Likewise.
6004 * debug/tst-backtrace4.c: Likewise.
6005 * debug/tst-backtrace5.c: Likewise.
6006 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
6007 (CFLAGS-tst-backtrace3.c): Likewise.
6008 (CFLAGS-tst-backtrace4.c): Likewise.
6009 (CFLAGS-tst-backtrace5.c): Likewise.
6010 (LDFLAGS-tst-backtrace2): Likewise.
6011 (LDFLAGS-tst-backtrace3): Likewise.
6012 (LDFLAGS-tst-backtrace4): Likewise.
6013 (LDFLAGS-tst-backtrace5): Likewise.
6014 (tests): Add new tests tst-backtrace2, tst-backtrace3,
6015 tst-backtrace4 and tst-backtrace5.
6016
90567f30 60172013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
6018 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6019
6020 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
6021 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
6022 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
6023 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
6024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6025 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
6026 "+r" and remove output regs list as redundant. Add explicit inline
6027 asm to specify register of return val to work around compiler codegen
6028 bug. Remove (int) cast on return value. Add return type parameter to
6029 use in macro so that this macro does not truncate return value for
6030 64-bit values.
6031 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
6032 pass to INTERNAL_VSYSCALL_NCS.
6033 (INLINE_VSYSCALL): Add 'long int' as return type to
6034 INTERNAL_VSYSCALL_NCS macro invocation.
6035 (INTERNAL_VSYSCALL): Add 'long int' as return type to
6036 INTERNAL_VSYSCALL_NCS macro invocation.
6037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6038
d3b9ea61
SP
60392013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6040
0b57daeb
SP
6041 [BZ #14496]
6042 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
6043 Fix application of SIMD FP exception mask.
6044
caa99d06
SP
6045 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
6046 mp_no from a power of two.
6047 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
6048 __mpexp_twomm1. Use __pow_mp.
6049
d3b9ea61
SP
6050 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
6051 multiplication.
6052
1dbaee3c
DM
60532013-01-17 David S. Miller <davem@davemloft.net>
6054
6055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6056
728d7b43
JM
60572013-01-17 Joseph Myers <joseph@codesourcery.com>
6058
6059 [BZ #15023]
6060 * include/complex.h: Condition contents on [!_COMPLEX_H].
6061 (__kernel_casinhf): New prototype.
6062 (__kernel_casinh): Likewise.
6063 (__kernel_casinhl): Likewise.
6064 * math/Makefile (libm_calls): Add k_casinh.
6065 * math/k_casinh.c: New file.
6066 * math/k_casinhf.c: Likewise.
6067 * math/k_casinhl.c: Likewise.
6068 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
6069 finite nonzero arguments.
6070 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
6071 finite nonzero arguments.
6072 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
6073 finite nonzero arguments.
6074 * math/s_casinh.c: Do not include <float.h>.
6075 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
6076 * math/s_casinhf.c: Do not include <float.h>.
6077 (__casinhf): Move code for finite nonzero arguments to
6078 k_casinhf.c.
6079 * math/s_casinhl.c: Do not include <float.h>.
6080 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
6081 redefine.
6082 (__casinhl): Move code for finite nonzero arguments to
6083 k_casinhl.c.
6084 * math/libm-test.inc (cacos_test): Add more tests.
6085 * sysdeps/i386/fpu/libm-test-ulps: Update.
6086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6087
2a26ef3a
PT
60882013-01-17 Pino Toscano <toscano.pino@tiscali.it>
6089
6090 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
6091 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
6092 [!HAVE_MREMAP]: Remove [defined linux] case.
6093 * malloc/arena.c: Do not include <malloc-sysdep.h>.
6094
a897655d
SP
60952013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6096
6097 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
6098
881ebe89 60992013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
6100
6101 * elf/elf.h (R_386_SIZE32): New relocation.
6102 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
6103 R_386_SIZE32.
6104 (elf_machine_rela): Likewise.
6105 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6106 R_X86_64_SIZE64 and R_X86_64_SIZE32.
6107
59981e9b
JM
61082013-01-17 Joseph Myers <joseph@codesourcery.com>
6109
6110 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
6111 (FP_FAST_FMA): Do not define.
6112 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
6113 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
6114 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
6115 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
6116 !_SOFT_FLOAT]: Likewise.
6117 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
6118 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
6119 value.
6120 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
6121 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
6122 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
6123 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
6124 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
6125 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
6126 file.
6127
cfa8054f
AS
61282013-01-16 Andreas Schwab <schwab@suse.de>
6129
6130 [BZ #14327]
6131 * include/stdlib.h (__mktemp): Add declaration.
6132 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
6133 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
6134
dd930cc5
SP
61352013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6136
881ebe89
SP
6137 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
6138 definitions.
6139 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6140 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
6141 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
6142 definitions here.
6143 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
6144 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
6145 definitions.
6146 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
6147 and ONE.
6148 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
6149 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
6150 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
6151 definitions.
6152 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
6153 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
6154 definitions.
6155 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 6156
dd930cc5
SP
6157 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
6158
c19a9f89
DM
61592013-01-15 David S. Miller <davem@davemloft.net>
6160
1aa61767
DM
6161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6162 trunc{,f} to libm-sysdep_routes.
6163 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
6165 file.
6166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
6167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
6168 file.
6169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
6170 file.
6171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
6172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
6173 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
6174 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
6175 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
6176 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
6177 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
6178 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
6179
c42d5e98
DM
6180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6181 nearbyint{,f} to libm-sysdep_routes.
6182 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
6184 New file.
6185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
6186 file.
6187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
6188 New file.
6189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
6190 file.
6191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
6192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
6193 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
6194 file.
6195 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
6196 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
6197 file.
6198 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
6199 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
6200 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
6201
c19a9f89
DM
6202 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6203 libc_feholdexcept and libc_fesetenv.
6204
357679d2
MF
62052013-01-15 Mike Frysinger <vapier@gentoo.org>
6206
6207 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
6208
65a82e3d
DM
62092013-01-14 David S. Miller <davem@davemloft.net>
6210
8b954ab9
DM
6211 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
6212 (SPARC_ASM_VIS2_IFUNC): Likewise.
6213 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
6214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
6215 use of 'siam' instruction.
6216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
6217 Likewise.
6218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
6219 Likewise.
6220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
6221 Likewise.
6222 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
6223 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6224 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
6225 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
6226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
6227 file.
6228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
6229 file.
6230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
6231 file.
6232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
6233 file.
6234 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
6235 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
6236 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
6237 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
6238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
6239 new VIS2 routines.
6240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6243 Likewise.
6244 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6245 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6246 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6247 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
6249 routines to libm-sysdep_routines.
6250 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6251
65a82e3d
DM
6252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6253 fdim/fdimf to libm-sysdep_routines.
6254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
6255 file.
6256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
6257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
6258 file.
6259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
6260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
6261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
6262 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
6263 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
6264 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
6265 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
6266
e34ab705
SP
62672013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6268
2a91b573
SP
6269 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
6270 to optimize copies.
6271
1066a534
SP
6272 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
6273 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6274 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6275
e34ab705
SP
6276 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
6277 local variable MPTWO.
6278 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6279 Likewise.
6280
aba5e596
MF
62812013-01-13 Mike Frysinger <vapier@gentoo.org>
6282
6283 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
6284 GLOB_NOESCAPE.
6285
e557e9e5
MF
62862013-01-13 Mike Frysinger <vapier@gentoo.org>
6287
6288 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
6289
0428cec9
MF
62902013-01-13 Mike Frysinger <vapier@gentoo.org>
6291
6292 * manual/pattern.texi (glob_t): Document gl_flags.
6293 (glob64_t): Likewise.
6294
8794a964
DM
62952013-01-11 David S. Miller <davem@davemloft.net>
6296
66438c3f
RM
6297 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
6298 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
6299 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
6300 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
6301 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
6302 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
6303 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
6304 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
6305 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
6306 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
6307 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
6308 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
6309 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
6310
4ae4244d
DM
6311 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6312 sparc V9 rather than using V8 code.
6313 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6314 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6315
8794a964
DM
6316 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6317 Move to...
6318 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
6319 Here.
6320
6270516e
RM
63212013-01-11 Roland McGrath <roland@hack.frob.com>
6322
6323 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
6324 not in the main loop.
6325 * configure: Regenerated.
6326
6a57d931
JM
63272013-01-11 Joseph Myers <joseph@codesourcery.com>
6328
6329 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
6330 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
6331 to just #else.
6332 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
6333 [!__GLIBC_HAVE_LONG_LONG] case.
6334 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
6335 condition to just #else.
6336 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
6337 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
6338 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
6339 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
6340 unconditional.
6341 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
6342 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6343 #elif condition to just #else.
6344 * sysdeps/unix/sysv/linux/sys/sysmacros.h
6345 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
6346 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6347 #elif condition to just #else.
6348
0e8529e9
SE
63492013-01-11 Steve Ellcey <sellcey@mips.com>
6350
6351 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
6352 (EF_MIPS_ARCH_64): Fix value.
6353 (EF_MIPS_ARCH_32R2): New.
6354 (EF_MIPS_ARCH_64R2): New.
6355
740b3dbe
L
63562013-01-11 H.J. Lu <hongjiu.lu@intel.com>
6357
6358 * Makeconfig (+link-pie-before-libc): New.
6359 (+link-pie-after-libc): Likewise.
6360 (+link-pie-tests): Likewise.
6361 (+link-pie): Rewritten.
6362 (link-before-libc): Remove $(config-LDFLAGS).
6363 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
6364 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
6365 (config-LDFLAGS): Renamed to ...
6366 (rtld-LDFLAGS): This.
6367 (rtld-tests-LDFLAGS): New macro.
6368 (link-libc-rpath-link): Likewise.
6369 (link-libc-tests-rpath-link): Likewise.
6370 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
6371 (link-libc): Prepand $(link-libc-rpath-link).
6372 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
6373 (test-program-prefix): New macro.
6374 (test-via-rtld-prefix): Likewise.
6375 (test-program-cmd): Likewise.
6376 (host-test-program-cmd): Likewise.
6377 * Makefile ($(common-objpfx)testrun.sh): Replace
6378 $(run-program-prefix) with $(test-program-prefix).
6379 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
6380 $(rtld-LDFLAGS).
6381 ($(common-objpfx)shlib.lds): Likewise.
6382 (build-module-helper): Likewise.
6383 ($(common-objpfx)format.lds): Likewise.
6384 * Rules (binaries-pie-tests): New.
6385 (binaries-pie-notests): Likewise.
6386 (binaries-pie): Rewritten.
6387 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
6388 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
6389 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
6390 (make-test-out): Replace $(host-built-program-cmd) with
6391 $(host-test-program-cmd).
6392 * config.make.in (build-hardcoded-path-in-tests): New variable.
6393 * configure.in (--enable-hardcoded-path-in-tests): New configure
6394 option.
6395 (hardcoded_path_in_tests): New AC_SUBST.
6396 * configure: Regenerated.
6397 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
6398 $(built-program-cmd) with $(test-program-cmd).
6399 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
6400 (test_program_cmd): This.
6401 * elf/Makefile ($(objpfx)order.out): Run test with
6402 $(test-program-prefix).
6403 ($(objpfx)order2.out): Likewise.
6404 ($(objpfx)tst-initorder.out): Likewise.
6405 ($(objpfx)tst-initorder2.out): Likewise.
6406 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
6407 $(test-program-cmd).
6408 ($(objpfx)tst-array1-static.out): Likewise.
6409 ($(objpfx)tst-array2.out): Likewise.
6410 ($(objpfx)tst-array3.out): Likewise.
6411 ($(objpfx)tst-array4.out): Likewise.
6412 ($(objpfx)tst-array5.out): Likewise.
6413 ($(objpfx)tst-array5-static.out): Likewise.
6414 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
6415 $(test-program-cmd).
6416 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
6417 $(run-program-prefix) with $(test-program-prefix).
6418 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
6419 (test_program_prefix): This.
6420 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
6421 $(run-program-prefix) with $(test-program-prefix).
6422 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
6423 (test_program_prefix): This.
6424 * iconvdata/tst-tables.sh: Likewise.
6425 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
6426 $(run-program-prefix) with $(test-program-prefix).
6427 ($(objpfx)tst-translit.out): Likewise.
6428 ($(objpfx)tst-gettext2.out): Likewise.
6429 ($(objpfx)tst-gettext4.out): Likewise.
6430 ($(objpfx)tst-gettext6.out): Likewise.
6431 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
6432 (test_program_prefix): This.
6433 * intl/tst-gettext2.sh: Likewise.
6434 * intl/tst-gettext4.sh Likewise.
6435 * intl/tst-gettext6.sh: Likewise.
6436 * intl/tst-translit.sh: Likewise.
6437 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
6438 with $(test-program-cmd).
6439 * libio/Makefile ($(objpfx)test-freopen.out): Replace
6440 $(run-program-prefix) with $(test-program-prefix).
6441 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
6442 (test_program_prefix): This.
6443 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
6444 $(run-program-prefix) with $(test-program-prefix).
6445 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
6446 (test_program_prefix): This.
6447 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
6448 * posix/Makefile ($(objpfx)globtest.out): Replace
6449 $(run-via-rtld-prefix) and $(test-wrapper) with
6450 $(test-program-prefix) and $(test-via-rtld-prefix).
6451 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
6452 $(test-program-prefix).
6453 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
6454 $(host-test-program-cmd).
6455 (tst-spawn-ARGS): Likewise.
6456 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
6457 $(test-program-prefix).
6458 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
6459 (test_via_rtld_prefix): This.
6460 (test_wrapper): Renamed to ...
6461 (test_program_prefix): This.
6462 (run_program_prefix): Replaced by test_program_prefix.
6463 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
6464 (test_program_prefix): This.
6465 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
6466 with $(host-test-program-cmd).
6467 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
6468 $(run-program-prefix) with $(test-program-prefix).
6469 ($(objpfx)tst-printf.out): Likewise.
6470 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
6471 $(test-program-cmd).
6472 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
6473 (test_program_prefix): This.
6474 * stdio-common/tst-unbputc.sh: Likewise.
6475 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
6476 $(run-program-prefix) with $(test-program-prefix).
6477 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
6478 (test_program_prefix): This.
6479 * string/Makefile ($(objpfx)tst-svc.out): Replace
6480 $(built-program-cmd) with $(test-program-cmd).
6481
c6fe55cf
AJ
64822013-01-11 Andreas Jaeger <aj@suse.de>
6483
6484 [BZ #15003]
6485 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
6486 value. Sync with Linux 3.7.
6487
9e6919c8
DM
64882013-01-10 David S. Miller <davem@davemloft.net>
6489
6490 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
6491 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6492 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6493
1c9f1a02
RM
64942013-01-10 Roland McGrath <roland@hack.frob.com>
6495
6496 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
6497 never set.
6498 * configure: Regenerated.
6499
b9de2dde
DM
65002013-01-10 David S. Miller <davem@davemloft.net>
6501
6502 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6503 sparc V9 rather than using V8 code.
6504 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6505 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6506
e7f68ef4
RM
65072013-01-10 Roland McGrath <roland@hack.frob.com>
6508
6509 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
6510 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
6511 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
6512 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
6513 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
6514 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
6515 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
6516 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
6517 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
6518 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
6519 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
6520 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
6521 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
6522 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
6523 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
6524 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
6525 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
6526 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
6527 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
6528 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
6529 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
6530 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
6531 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
6532 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
6533 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
6534 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
6535 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
6536
5a47cc9c
DM
65372013-01-10 David S. Miller <davem@davemloft.net>
6538
6539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6540
4cf8f209
L
65412013-01-10 H.J. Lu <hongjiu.lu@intel.com>
6542
6543 * posix/Makefile (tests-static): New variable.
6544 (tests): Add $(tests-static).
6545 (tst-exec-static-ARGS): New variable.
6546 (tst-spawn-static-ARGS): Likewise.
6547 * posix/tst-exec-static.c: New file.
6548 * posix/tst-spawn-static.c: Likewise.
6549 * posix/tst-exec.c: Support run directly.
6550 * posix/tst-spawn.c: Likewise.
6551
fed0faa1
JM
65522013-01-10 Joseph Myers <joseph@codesourcery.com>
6553
828beb13
JM
6554 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
6555 long.
6556 * math/bits/mathcalls.h (llrint): Likewise.
6557 (llround): Likewise.
6558 * stdlib/stdlib.h (struct drand48_data): Likewise.
6559 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
6560 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
6561 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
6562 Likewise.
6563 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
6564 Likewise.
6565 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
6566 (elf_greg_t): Likewise.
6567 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
6568 (__jmp_buf): Likewise.
6569 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
6570 definitions.
6571 (llrint): Likewise, for all definitions.
6572 (llrintl): Likewise.
6573
fed0faa1
JM
6574 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
6575 Remove [__GNUC__] condition.
6576 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
6577 condition to just [__USE_ISOC99].
6578 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
6579
1a20cb20
L
65802013-01-10 H.J. Lu <hongjiu.lu@intel.com>
6581
6582 [BZ #14200]
6583 * sysdeps/unix/sysv/linux/x86/bits/environments.h
6584 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
6585 defined.
6586 (_POSIX_V6_ILP32_OFF32): Likewise.
6587 (_XBS5_ILP32_OFF32): Likewise.
6588 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
6589 (__ILP32_OFFBIG_LDFLAGS): Likewise.
6590
751b85f7
SP
65912013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6592
7490eb81
SP
6593 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
6594
751b85f7
SP
6595 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
6596 doubles __mpexp_twomm1. Adjust usage.
6597 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
6598 Remove.
6599
988197f0
AS
66002013-01-10 Andreas Schwab <schwab@suse.de>
6601
6602 [BZ #14964]
6603 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
6604 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
6605
e83d7298
DM
66062013-01-09 David S. Miller <davem@davemloft.net>
6607
034ed64b 6608 [BZ #15003]
e83d7298
DM
6609 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
6610 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
6611 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
6612 TCP_FASTOPEN): Define.
6613 (tcp_repair_opt): New structure.
6614 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
6615 enum values.
6616 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
6617 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
6618 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
6619 (tcp_cookie_transactions): New structure.
6620
d5e0b9bd
AB
66212013-01-09 Anton Blanchard <anton@samba.org>
6622
6623 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
6624 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
6625 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
6626 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6627
0c07e3ea
JM
66282013-01-09 Joseph Myers <joseph@codesourcery.com>
6629
6630 * include/features.h (__USE_ANSI): Remove.
6631
232f7002
RM
66322013-01-09 Roland McGrath <roland@hack.frob.com>
6633
ad98e30c
RM
6634 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
6635
232f7002
RM
6636 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
6637
950c99ca
SP
66382013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6639
b5792741
SP
6640 * sysdeps/s390/fpu/libm-test-ulps: Update.
6641
47cf2278
SP
6642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6643
950c99ca
SP
6644 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
6645 (__acr): Likewise.
6646 (__cpy): Likewise.
6647 (norm): Likewise.
6648 (denorm): Likewise.
6649 (__mp_dbl): Likewise.
6650 (__dbl_mp): Likewise.
6651 (add_magnitudes): Likewise.
6652 (sub_magnitudes): Likewise.
6653 (__add): Likewise.
6654 (__sub): Likewise.
6655 (__mul): Likewise.
6656 (__inv): Likewise.
6657 (__dvd): Likewise.
6658 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
6659 (__acr): Likewise.
6660 (__cpy): Likewise.
6661 (norm): Likewise.
6662 (denorm): Likewise.
6663 (__mp_dbl): Likewise.
6664 (__dbl_mp): Likewise.
6665 (add_magnitudes): Likewise.
6666 (sub_magnitudes): Likewise.
6667 (__add): Likewise.
6668 (__sub): Likewise.
6669 (__mul): Likewise.
6670 (__inv): Likewise.
6671 (__dvd): Likewise.
6672 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
6673 (__acr): Likewise.
6674 (__cpy): Likewise.
6675 (norm): Likewise.
6676 (denorm): Likewise.
6677 (__mp_dbl): Likewise.
6678 (__dbl_mp): Likewise.
6679 (add_magnitudes): Likewise.
6680 (sub_magnitudes): Likewise.
6681 (__add): Likewise.
6682 (__sub): Likewise.
6683 (__mul): Likewise.
6684 (__inv): Likewise.
6685 (__dvd): Likewise.
6686
eede9df9
JM
66872013-01-08 Joseph Myers <joseph@codesourcery.com>
6688
6689 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
6690 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
6691 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
6692 2 && __USE_EXTERN_INLINES]: Likewise.
6693
c40ea3d9
AJ
66942013-01-08 Andreas Jaeger <aj@suse.de>
6695
6696 [BZ# 14985]
6697 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
6698 Remove.
6699 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6700 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6701
2ccdea26
AB
67022013-01-07 Anton Blanchard <anton@samba.org>
6703
6704 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
6705 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6706 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
6707 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6708 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6709 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6710 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
6711 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
6712 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6713 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6714 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6715 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6716 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6717 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6718 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6719 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6720 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6721 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6722 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6723 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6724 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6725 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
6726 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6727 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6728 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
6729 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6730 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6731 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6732 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
6733 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6734 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6735 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6736 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6737 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6738 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6739 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6740 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6741 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6742 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6743 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6744 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
6745 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6746 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6747
a9708fed
JM
67482013-01-07 Joseph Myers <joseph@codesourcery.com>
6749
375607b9
JM
6750 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
6751 (__MALLOC_PMT): Likewise.
6752 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
6753 [__GNUC__], only on [_LIBC].
6754 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6755 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
6756 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6757 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
6758 forward declaration.
6759 (realloc_hook_ini): Likewise.
6760 (memalign_hook_ini): Likewise.
6761 (__libc_memalign): Do not use __MALLOC_PMT in variable
6762 declaration.
6763 (__libc_valloc): Likewise.
6764 (__libc_pvalloc): Likewise.
6765 (__libc_calloc): Likewise.
6766 (__posix_memalign): Likewise.
6767
a9708fed
JM
6768 [BZ #14996]
6769 * math/s_casinh.c: Include <float.h>.
6770 (__casinh): Do not do computation with squaring and square root
6771 for large arguments.
6772 * math/s_casinhf.c: Include <float.h>.
6773 (__casinhf): Do not do computation with squaring and square root
6774 for large arguments.
6775 * math/s_casinhl.c: Include <float.h>.
6776 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
6777 (__casinhl): Do not do computation with squaring and square root
6778 for large arguments.
6779 * math/libm-test.inc (casin_test): Add more tests.
6780 (casinh_test): Likewise.
6781 * sysdeps/i386/fpu/libm-test-ulps: Update.
6782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6783
afec409a
L
67842013-01-04 H.J. Lu <hongjiu.lu@intel.com>
6785
6786 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
6787 (__x86_64_raw_data_cache_size): Likewise.
6788 (__x86_64_data_cache_size_half): Likewise.
6789 (__x86_64_raw_data_cache_size_half): Likewise.
6790 (__x86_64_shared_cache_size): Likewise.
6791 (__x86_64_raw_shared_cache_size): Likewise.
6792 (__x86_64_shared_cache_size_half): Likewise.
6793 (__x86_64_raw_shared_cache_size_half): Likewise.
6794 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
6795 to ...
6796 (__x86_data_cache_size): This.
6797 (__x86_64_raw_data_cache_size): Renamed to ...
6798 (__x86_raw_data_cache_size): This.
6799 (__x86_64_data_cache_size_half): Renamed to ...
6800 (__x86_data_cache_size_half): This.
6801 (__x86_64_raw_data_cache_size_half): Renamed to ...
6802 (__x86_raw_data_cache_size_half): This.
6803 (__x86_64_shared_cache_size): Renamed to ...
6804 (__x86_shared_cache_size): This.
6805 (__x86_64_raw_shared_cache_size): Renamed to ...
6806 (__x86_raw_shared_cache_size): This.
6807 (__x86_64_shared_cache_size_half): Renamed to ...
6808 (__x86_shared_cache_size_half): This.
6809 (__x86_64_raw_shared_cache_size_half): Renamed to ...
6810 (__x86_raw_shared_cache_size_half): This.
6811 * sysdeps/x86_64/memcpy.S: Updated.
6812 * sysdeps/x86_64/memset.S: Likewise.
6813 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6814 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6815 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6816
0b3986d0
DM
68172013-01-04 David S. Miller <davem@davemloft.net>
6818
6819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6820
e47686e9
AS
68212013-01-04 Andreas Schwab <schwab@linux-m68k.org>
6822
d643bac1
AS
6823 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
6824 1 to avoid redefinition warning.
6825 (__USE_GNU): Don't define.
6826 (init_signaling_nan): Protoize.
6827
e47686e9
AS
6828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6829
b18decba
SP
68302013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6831
fffb407f
SP
6832 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
6833 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
6834 (__cpymn): Likewise.
6835 (norm): Remove commented code.
6836 (denorm): Likewise.
6837 (__mp_dbl): Likewise.
6838 (__inv): Likewise.
6839 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
6840 (__cpymn): Likewise.
6841 (norm): Remove commented code.
6842 (denorm): Likewise.
6843 (__mp_dbl): Likewise.
6844 (__inv): Likewise.
6845
b18decba
SP
6846 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
6847 mp_no value for 1.0 and 2.0.
6848 (norm): Use RADIXI instead of radixi.d.
6849 (denorm): Likewise.
6850 (__mul): Use 0.0 instead of zero.d.
6851 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
6852 mp_no value for 1.0 and 2.0.
6853 (norm): Use RADIXI instead of radixi.d.
6854 (denorm): Likewise.
6855 (__mul): Use 0.0 instead of zero.d.
6856
cdc1c96f
JM
68572013-01-04 Joseph Myers <joseph@codesourcery.com>
6858
6859 [BZ #14994]
6860 * math/s_casinh.c (__casinh): Reduce finite argument to first
6861 quadrant then set signs of results at the end.
6862 * math/s_casinhf.c (__casinhf): Likewise.
6863 * math/s_casinhl.c (__casinhl): Likewise.
6864 * math/libm-test.inc (casin_test): Add more tests.
6865 (casinh_test): Likewise.
6866 * sysdeps/i386/fpu/libm-test-ulps: Update.
6867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6868
302913e1
SP
68692013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6870
6420d207
SP
6871 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
6872
a9e48ab4
SP
6873 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
6874
b7837264
SP
6875 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
6876 declarations.
6877 (denorm): Likewise.
6878 (__mp_dbl): Likewise.
6879 (__inv): Likewise.
6880
f8af25d2
SP
6881 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
6882 and adjust the header comment.
6883
302913e1
SP
6884 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
6885 variable name from declaration.
6886
5d7dd1ca
L
68872013-01-03 H.J. Lu <hongjiu.lu@intel.com>
6888
6889 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6890 Initialize COMMON_CPUID_INDEX_7 element.
6891 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
6892 (CPUID_RTM): Likewise.
6893 (HAS_RTM): Likewise.
6894 (COMMON_CPUID_INDEX_7): New enum.
6895
2f5f40f4
AS
68962013-01-03 Andreas Schwab <schwab@linux-m68k.org>
6897
6898 [BZ #14981]
6899 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
6900 size is zero, record memory as freed.
6901
4056f4a0
AJ
69022013-01-03 Andreas Jaeger <aj@suse.de>
6903
6904 * po/ia.po: Add new Interlingua translation.
6905
ab15736f 69062012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
6907
6908 * locale/programs/localedef.c: Fix description of '--posix' flag.
6909
568035b7
JM
69102013-01-02 Joseph Myers <joseph@codesourcery.com>
6911
e6898b8d
JM
6912 * NEWS: Update dates in second copyright notice.
6913 * README: Update copyright dates in example.
6914 * manual/libc.texinfo: Update copyright dates.
6915 * scripts/test-installation.pl: Update copyright date in --version
6916 output.
6917
0e2f9562
JM
6918 * hurd/ctty-input.c: Fix copyright notice formatting.
6919 * hurd/ctty-output.c: Likewise.
6920 * hurd/dtable.c: Likewise.
6921 * hurd/hurd-raise.c: Likewise.
6922 * hurd/hurdprio.c: Likewise.
6923 * hurd/msgportdemux.c: Likewise.
6924 * misc/sys/file.h: Likewise.
6925 * misc/sys/ioctl.h: Likewise.
6926 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6927 * sysdeps/mach/hurd/chdir.c: Likewise.
6928 * sysdeps/mach/hurd/fchdir.c: Likewise.
6929 * sysdeps/mach/hurd/rename.c: Likewise.
6930 * sysdeps/mach/hurd/rmdir.c: Likewise.
6931 * sysdeps/mach/hurd/seekdir.c: Likewise.
6932 * sysdeps/mach/hurd/setsid.c: Likewise.
6933 * sysdeps/posix/wait3.c: Likewise.
6934
568035b7
JM
6935 * All files with FSF copyright notices: Update copyright dates
6936 using scripts/update-copyrights.
6937 * intl/plural.c: Regenerated.
6938 * locale/programs/charmap-kw.h: Likewise.
6939 * locale/programs/locfile-kw.h: Likewise.
6940
da08f647
SP
69412013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6942
0f5477af
SP
6943 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
6944 four values.
6945
44e0d4c2
SP
6946 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
6947 calculation loop and add branch prediction.
6948
4d55b4e5
SP
6949 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
6950 check access beyond bounds of m1np.
6951
da08f647
SP
6952 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
6953 MPTWO.
6954 (__inv): Remove local variable MPTWO to use the global
6955 constant.
6956 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
6957 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
6958 variable MPTWO.
6959 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
6960 MP3HALFS static const.
6961
8e051029
DM
69622013-01-01 David S. Miller <davem@davemloft.net>
6963
6964 * po/ca.po: Update from translation team.
6965
f4cf5f2d
JM
69662013-01-01 Joseph Myers <joseph@codesourcery.com>
6967
6968 * scripts/update-copyrights: New file.
6969 * Makeconfig: Reformat copyright notice.
6970 * ctype/ctype.h: Likewise.
6971 * debug/swprintf_chk.c: Likewise.
6972 * elf/dl-cache.c: Likewise.
6973 * elf/dl-debug.c: Likewise.
6974 * elf/dl-object.c: Likewise.
6975 * grp/initgroups.c: Likewise.
6976 * hurd/Makefile: Likewise.
6977 * hurd/hurd/signal.h: Likewise.
6978 * hurd/hurdfault.c: Likewise.
6979 * hurd/hurdioctl.c: Likewise.
6980 * hurd/hurdlookup.c: Likewise.
6981 * hurd/intr-msg.c: Likewise.
6982 * iconv/gconv_open.c: Likewise.
6983 * libio/swprintf.c: Likewise.
6984 * locale/lc-ctype.c: Likewise.
6985 * locale/nl_langinfo.c: Likewise.
6986 * mach/Machrules: Likewise.
6987 * mach/Makefile: Likewise.
6988 * malloc/obstack.h: Likewise.
6989 * manual/Makefile: Likewise.
6990 * manual/tsort.awk: Likewise.
6991 * misc/bits/stab.def: Likewise.
6992 * nis/nis_print_group_entry.c: Likewise.
6993 * nis/nis_table.c: Likewise.
6994 * nis/nss_compat/compat-pwd.c: Likewise.
6995 * nis/nss_compat/compat-spwd.c: Likewise.
6996 * po/Makefile: Likewise.
6997 * posix/fnmatch.c: Likewise.
6998 * posix/regex.h: Likewise.
6999 * resolv/Makefile: Likewise.
7000 * resolv/nss_dns/dns-network.c: Likewise.
7001 * resolv/res_hconf.c: Likewise.
7002 * scripts/gen-sorted.awk: Likewise.
7003 * soft-fp/soft-fp.h: Likewise.
7004 * stdio-common/printf.h: Likewise.
7005 * stdlib/monetary.h: Likewise.
7006 * stdlib/random.c: Likewise.
7007 * stdlib/random_r.c: Likewise.
7008 * sysdeps/generic/Makefile: Likewise.
7009 * sysdeps/gnu/Makefile: Likewise.
7010 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7011 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7012 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7013 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7014 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7015 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7016 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7017 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7018 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7019 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7020 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7021 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7022 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7023 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7024 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
7025 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7026 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7027 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7028 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7029 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7030 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7031 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7032 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7033 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7034 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
7035 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7036 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7037 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
7038 * sysdeps/mach/hurd/errnos.awk: Likewise.
7039 * sysdeps/mach/hurd/fork.c: Likewise.
7040 * sysdeps/mach/hurd/getcwd.c: Likewise.
7041 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
7042 * sysdeps/mach/hurd/mmap.c: Likewise.
7043 * sysdeps/mach/hurd/utimes.c: Likewise.
7044 * sysdeps/mach/hurd/xmknod.c: Likewise.
7045 * sysdeps/posix/profil.c: Likewise.
7046 * sysdeps/posix/readdir_r.c: Likewise.
7047 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7048 * sysdeps/powerpc/bits/setjmp.h: Likewise.
7049 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
7050 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7051 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7052 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7053 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7054 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7055 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7056 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7057 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7058 * sysdeps/pthread/lio_listio.c: Likewise.
7059 * sysdeps/sparc/dl-procinfo.h: Likewise.
7060 * sysdeps/unix/i386/sysdep.S: Likewise.
7061 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
7062 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
7063 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7064 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
7065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7066 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7067 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7068 * sysdeps/unix/sysv/linux/speed.c: Likewise.
7069 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7070 * sysdeps/wordsize-32/divdi3.c: Likewise.
7071 * time/sys/time.h: Likewise.
7072 * wcsmbs/Makefile: Likewise.
7073
0549fbba
DM
70742013-01-01 David S. Miller <davem@davemloft.net>
7075
a141f1a7
DM
7076 * po/fr.po: Update from translation team.
7077
0549fbba
DM
7078 * catgets/gencat.c: Update copyright year.
7079 * csu/version.c: Likewise.
7080 * debug/catchsegv.sh: Likewise.
7081 * debug/pcprofiledump.c: Likewise.
7082 * debug/xtrace.sh: Likewise.
7083 * elf/ldconfig.c: Likewise.
7084 * elf/ldd.bash.in: Likewise.
7085 * elf/pldd.c: Likewise.
7086 * elf/sotruss.ksh: Likewise.
7087 * elf/sprof.c: Likewise.
7088 * iconv/iconv_prog.c: Likewise.
7089 * iconv/iconvconfig.c: Likewise.
7090 * locale/programs/locale.c: Likewise.
7091 * locale/programs/localedef.c: Likewise.
7092 * login/programs/pt_chown.c: Likewise.
7093 * malloc/memusage.sh: Likewise.
7094 * malloc/memusagestat.c: Likewise.
7095 * malloc/mtrace.pl: Likewise.
7096 * nscd/nscd.c: Likewise.
7097 * nss/getent.c: Likewise.
7098 * nss/makedb.c: Likewise.
7099 * posix/getconf.c: Likewise.
7100
18ea052c
SP
71012012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7102
7103 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
7104 numbers.
7105
9c89fca6
MF
71062012-12-30 Mike Frysinger <vapier@gentoo.org>
7107
7108 * math/bits/mathcalls.h (modf): Use __nonnull.
7109
085ec079
SP
71102012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7111
7112 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
7113 (split): Use macro CN instead of the bare value.
7114 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
7115 could be used.
7116 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
7117 instead of the bare value.
7118 (power1): Likewise.
7119
6d9f97e1
SP
71202012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7121
d63f73be
SP
7122 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
7123 __ATAN_TWOM.
7124 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7125
6d9f97e1
SP
7126 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
7127 their values.
7128 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7129 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7130 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
7131 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7132
4c4febf5
AJ
71332012-12-28 Andreas Jaeger <aj@suse.de>
7134
af5843ef
AJ
7135 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
7136 values are from Linux 3.7.
7137
4c4febf5
AJ
7138 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
7139 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
7140
99136f82
SP
71412012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7142
2f216c3c 7143 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
7144 TRUE case.
7145
99136f82
SP
7146 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
7147 (norm): Likewise.
7148 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
7149 variables with preprocessor constants.
7150 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7151 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7152 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7153
7fffbdff
BH
71542012-12-27 Bruno Haible <bruno@clisp.org>
7155
7156 [BZ #14317]
7157 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
7158 only if needed.
7159
b76eb5f0
SP
71602012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7161
31a7fe5c
SP
7162 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
7163 and use variable directly.
7164 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
7165
b76eb5f0
SP
7166 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7167 MPONE.
7168 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
7169 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7170 variable MPONE.
7171 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7172 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7173 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
7174 include directive. Remove local variable MPONE.
7175 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
7176 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
7177 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7178
2c8bfe7d
DM
71792012-12-25 David S. Miller <davem@davemloft.net>
7180
7181 * version.h (RELEASE): Set to "development".
7182 (VERSION): Set to "2.17.90".
7183 * NEWS: Add 2.18 section.
7184
147d03b0
DM
71852012-12-21 David S. Miller <davem@davemloft.net>
7186
7187 * po/hr.po: Update from translation team.
7188
a8ebb2b9
AK
71892012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7190
7191 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
7192
95b4f1b6
SE
71932012-12-19 Steve Ellcey <sellcey@mips.com>
7194
b2d94007 7195 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 7196
cedb2a90
MS
71972012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7198
7199 * manual/contrib.texi (Contributors): Spelling correction.
7200
bbf527d6
DM
72012012-12-15 David S. Miller <davem@davemloft.net>
7202
7203 * po/ru.po: Update from translation team.
7204
bc38c906
DM
72052012-12-13 David S. Miller <davem@davemloft.net>
7206
85429b1a
DM
7207 * NEWS: Mention IFUNC testsuite enhancements.
7208
d283e353
DM
7209 * po/pl.po: Update from translation team.
7210 * po/bg.po: Likewise.
7211
bc38c906
DM
7212 * manual/contrib.texi (Contributors): Update entries for Hongjiu
7213 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
7214
a181b0d7
DM
72152012-12-11 David S. Miller <davem@davemloft.net>
7216
4641d57e
DM
7217 * po/sv.po: Update from translation team.
7218
f7bc6495
DM
7219 * po/vi.po: Update from translation team.
7220
6fc9048f
DM
7221 * po/cs.po: Update from translation team.
7222
a181b0d7
DM
7223 * po/de.po: Update from translation team.
7224 * po/eo.po: Likewise.
7225 * po/nl.po: Likewise.
7226
f70bfe80
SP
72272012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7228
3c8b4190
SP
7229 [BZ #14246]
7230 * manual/argp.texi (Argp Helper Functions): Move node to follow
7231 Argp Parsing State.
7232
f70bfe80
SP
7233 [BZ #14872]
7234 * manual/conf.texi (Limits on File System Capacity): Mention if
7235 terminating null is included in the max size.
7236
188f0adf
AJ
72372012-12-10 Andreas Jaeger <aj@suse.de>
7238
7239 * po/cs.po: Update from translation team.
7240
56e7d3ad
SP
72412012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7242
7243 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
7244 void pointer and cast to uintptr_t.
7245 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
7246 path.
7247 * sysdeps/s390/s390-64/memcpy.S: Likewise.
7248 * sysdeps/s390/s390-64/memset.S: Likewise.
7249
76f2d2ea 72502012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
7251
7252 [BZ #14833]
7253 * menual/message.texi (Message Translation): Fix typos.
7254 (Helper programs for gettext): Likewise.
7255
67cbf9a2
AS
72562012-12-07 Andreas Schwab <schwab@linux-m68k.org>
7257
7258 [BZ #14898]
7259 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
7260 Change to -1.
7261
682d0e9a
DM
72622012-12-07 David S. Miller <davem@davemloft.net>
7263
7264 * po/libc.pot: Update.
7265
573cd484
RH
72662012-12-07 Richard Henderson <rth@redhat.com>
7267
7e9da188 7268 [BZ #10114]
573cd484
RH
7269 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
7270 normal/normal case to before the switch.
7271 (_FP_DIV): Likewise.
7272
e933a943
MF
72732012-12-06 Carlos O'Donell <carlos@systemhalted.org>
7274 Mike Frysinger <vapier@gentoo.org>
7275
7276 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
7277 check for __NR_fadvise64_64.
7278
82123268
CM
72792012-12-06 Chris Metcalf <cmetcalf@tilera.com>
7280
7281 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
7282 0, not just to plain "0" as a statement.
7283 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
7284 with cw.
7285
d9814526
JM
72862012-12-06 Joseph Myers <joseph@codesourcery.com>
7287
7288 * NEWS: Use sourceware.org in Bugzilla URL.
7289
7728c574
SP
72902012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7291
f16946dd
SP
7292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7293 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7294
5704bbcb
SP
7295 * stdio-common/tst-put-error.c (do_test): Add newline to the
7296 padded test to ensure flush.
7297
17aa0516
JL
72982012-12-05 Jeff Law <law@redhat.com>
7299
7300 * sunrpc/etc.rpc (fedfs_admin): Add entry.
7301
363313b5
JM
73022012-12-05 Joseph Myers <joseph@codesourcery.com>
7303
effbd42a
JM
7304 * README: Don't refer to ports add-on as distributed separately.
7305 Mention AArch64 in list of systems supported in the ports add-on.
7306
87600365
JM
7307 * LICENSES: Add more non-FSF copyright and license notices.
7308
a0d7066a
JM
7309 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
7310 ((unused)).
7311
66ca5a5b
JM
7312 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
7313
363313b5
JM
7314 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
7315 10000 as width of padded output.
7316
b37984ad
JM
73172012-12-04 Joseph Myers <joseph@codesourcery.com>
7318
9003570a
JM
7319 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
7320
b37984ad
JM
7321 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
7322 variable LX with __attribute__ ((unused)).
7323 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7324 Likewise.
7325 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
7326 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7327 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
7328 with __attribute__ ((unused)).
7329
c8df52ec
DM
73302012-12-04 David S. Miller <davem@abraco.davemloft.net>
7331
7332 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
7333
b3b099af
JM
73342012-12-04 Joseph Myers <joseph@codesourcery.com>
7335
c33aa6e3
JM
7336 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
7337 (CFLAGS-nldbl-acos.c): New variable.
7338 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
7339 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
7340 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
7341 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
7342 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
7343 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
7344 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
7345 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
7346 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
7347 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
7348 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
7349 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
7350 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
7351 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
7352 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
7353 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
7354 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
7355 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
7356 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
7357 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
7358 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
7359 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
7360 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
7361 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
7362 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
7363 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
7364 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
7365 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
7366 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
7367 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
7368 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
7369 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
7370 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
7371 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
7372 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
7373 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
7374 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
7375 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
7376 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
7377 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
7378 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
7379 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
7380 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
7381 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
7382 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
7383 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
7384 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
7385 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
7386 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
7387 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
7388 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
7389 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
7390 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
7391 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
7392 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
7393 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
7394 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
7395 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
7396 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
7397 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
7398 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
7399 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
7400 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
7401 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
7402 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
7403 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
7404 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
7405 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
7406 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
7407 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
7408 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
7409 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
7410 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
7411 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
7412 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
7413 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
7414 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
7415 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
7416 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
7417 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
7418 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
7419 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
7420 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
7421 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
7422 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
7423 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
7424 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
7425 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
7426 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
7427 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
7428 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
7429 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
7430 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
7431 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
7432 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
7433 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
7434 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
7435
20f0018d
JM
7436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7437 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7438
b3b099af
JM
7439 [BZ #14914]
7440 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
7441 whole low double instead of just low 47 bits when splitting values
7442 into two parts.
7443
029264d1
AM
74442012-12-03 Allan McRae <allan@archlinux.org>
7445
7446 * manual/stdio.texi (Predefined Printf Handlers): Remove
7447 @hsep and @vsep usage.
7448
c9d6789e
MF
74492012-12-03 Mike Frysinger <vapier@gentoo.org>
7450
7451 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
7452 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
7453
4b7634a5
JL
74542012-12-03 Jeff Law <law@redhat.com>
7455
7456 * time/sys/time.h (settimeofday): Do not mark TV argument
7457 as __nonnull.
7458
eb6cbd24
MF
74592012-12-01 Mike Frysinger <vapier@gentoo.org>
7460
7461 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
7462 when currently writing and seek to current position when not.
7463 * libio/Makefile (tests): Remove bug-fclose1.
7464 * libio/bug-fclose1.c: Delete.
7465
f638872a
JM
74662012-12-01 Joseph Myers <joseph@codesourcery.com>
7467
7468 * manual/arith.texi (feenableexcept): Fix typo.
7469 (fedisableexcept): Likewise.
7470
48085d14
RM
74712012-11-30 Roland McGrath <roland@hack.frob.com>
7472
7473 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
7474 second, differently-typed declaration, rather than a cast.
7475
1a538b9f
SP
74762012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7477
7478 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
7479 * include/rpc/svc.h: ... here.
7480
d07f2ff1 74812012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
7482
7483 [BZ #13013]
7484 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
7485 depending n and resplen2 to catch cases where answer
7486 equals answerp2.
7487
c93ec1f0
CD
74882012-11-29 Carlos O'Donell <carlos@systemhalted.org>
7489
7490 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
7491 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
7492
37db69de
MF
74932012-11-29 Mike Frysinger <vapier@gentoo.org>
7494
7495 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
7496
e10c4e4f
RM
74972012-11-29 Roland McGrath <roland@hack.frob.com>
7498
7499 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
7500
2af1b328
JL
75012012-11-28 Jeff Law <law@redhat.com>
7502
7503 [BZ #13761]
7504 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
7505 dataset_temporary. Track alloca usage into alloca_used.
7506 If dataset is large allocate and release it via malloc/free.
7507
111db5b1
FW
75082012-06-04 Florian Weimer <fweimer@redhat.com>
7509
f06cc227 7510 [BZ #14197]
111db5b1
FW
7511 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
7512
dd694abd
DM
75132012-11-28 David S. Miller <davem@davemloft.net>
7514
7515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7516
9984dd01
JM
75172012-11-28 Joseph Myers <joseph@codesourcery.com>
7518
7519 [BZ #14803]
7520 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
7521 of pi/2 rounded to nearest to 64 bits.
7522 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
7523 nearest to 64 bits.
7524 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
7525 bits.
7526
14bc93a9
JL
75272012-11-28 Jeff Law <law@redhat.com>
7528 Martin Osvald <mosvald@redhat.com>
7529
7530 [BZ #14889]
7531 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
7532 * sunrpc/svc.c: Include time.h.
7533 (__svc_accept_failed): New function.
7534 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
7535 any reason other than EINTR, call __svc_accept_failed.
7536 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
7537 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
7538
e3c6aa3a
AS
75392012-11-28 Andreas Schwab <schwab@suse.de>
7540
7541 * scripts/abilist.awk: Also handle indirect functions in .opd
7542 section.
7543
1bead169
JM
75442012-11-28 Joseph Myers <joseph@codesourcery.com>
7545
7546 [BZ #13881]
7547 * sysdeps/x86/fpu/powl_helper.c: New file.
7548 * sysdeps/x86/fpu/Makefile: Likewise.
7549 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
7550 (p3): New object.
7551 (__ieee754_powl): Use __powl_helper for finite arguments except
7552 integer exponents below 8.
7553 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
7554 (p3): New object.
7555 (__ieee754_powl): Use __powl_helper for finite arguments except
7556 integer exponents below 8.
7557 * math/libm-test.inc (pow_test): Add more tests and enable some
7558 previously disabled tests.
7559 * sysdeps/i386/fpu/libm-test-ulps: Update.
7560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7561
0817d63d
SP
75622012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7563 Carlos O'Donell <carlos_odonell@mentor.com>
7564
7565 * nss/makedb.c (is_prime): Assert that input is odd and greater
7566 than 4. Note that fact in a comment too.
7567 (next_prime): Add 4 to input.
7568
de2fd463
SP
75692012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7570
7571 [BZ #11741]
7572 * libio/Makefile (tests): Add test case tst-fwrite-error.
7573 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
7574 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
7575 * libio/tst-fwrite-error.c: New test case.
7576
c515fb51
L
75772012-11-26 H.J. Lu <hongjiu.lu@intel.com>
7578
7579 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
7580 before casting to void *.
7581 * include/libc-internal.h (__pointer_type): New macro.
7582 (__integer_if_pointer_type_sub): Likewise.
7583 (__integer_if_pointer_type): Likewise.
7584 (cast_to_integer): Likewise.
7585 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
7586 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
7587 before casting to atomic64_t.
7588 (atomic_exchange_acq): Likewise.
7589 (__arch_exchange_and_add_body): Likewise.
7590 (__arch_add_body): Likewise.
7591 (atomic_add_negative): Likewise.
7592 (atomic_add_zero): Likewise.
7593
4cf77aa9
JM
75942012-11-26 Joseph Myers <joseph@codesourcery.com>
7595
7596 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
7597 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
7598 (add_fdes): Likewise.
7599 (linear_search_fdes): Likewise.
7600 (binary_search_unencoded_fdes): Likewise.
7601
d260b3b4
AS
76022012-11-26 Andreas Schwab <schwab@linux-m68k.org>
7603
7604 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
7605
67060746
AC
76062012-11-24 Adam Conrad <adconrad@0c3.net>
7607
7608 * configure.in: Autodetect C++ header directories.
7609 * configure: Regenerated.
7610
800938a1
MF
76112012-11-23 Mike Frysinger <vapier@gentoo.org>
7612
7613 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
7614
4e6e34e6
AS
76152012-11-23 Andreas Schwab <schwab@linux-m68k.org>
7616
7617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7618
7c7feb47
JM
76192012-11-22 Joseph Myers <joseph@codesourcery.com>
7620
7184dcdf
JM
7621 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
7622 LDBL_MANT_DIG == 106]: Disable some tests.
7623 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7624 Likewise.
7625 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7626 Likewise.
7627
0a42601f
JM
7628 [BZ #14871]
7629 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
7630 input for small inputs. Return +/- pi/2 for large inputs.
7631 * math/libm-test.inc (atan_test): Add more tests.
7632
79c9b9fe
JM
7633 * sysdeps/generic/unwind-dw2-fde-glibc.c
7634 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
7635 __attribute__ ((unused)).
7636
c60d3bf2
JM
7637 [BZ #14645]
7638 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
7639 x * y if x and y are nonzero and z is zero.
7640
ef1e0867
JM
7641 [BZ #14811]
7642 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
7643 nonzero exponents with absolute value below 0x1p-117 to +/-
7644 0x1p-117.
7645
1468ded3
JM
7646 [BZ #14869]
7647 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
7648 up arguments below 2**-450, not just those below 2**-500.
7649 * math/libm-test.inc (hypot_test): Add another test.
7650
8e27e3cc
JM
7651 [BZ #14868]
7652 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7653 Return a+b for ratio over 2**120, not 2**60.
7654 * math/libm-test.inc (hypot_test): Add another test.
7655
c9c0279b
JM
7656 * math/libm-test.inc (clog_test): Use
7657 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
7658 (clog10_test): Likewise.
7659
7c7feb47
JM
7660 [BZ #6778]
7661 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
7662
fff1530e
AS
76632012-11-22 Andreas Schwab <schwab@suse.de>
7664
7665 * sysdeps/i386/fpu/libm-test-ulps: Update.
7666
94558d30
PT
76672012-11-22 Pino Toscano <toscano.pino@tiscali.it>
7668
7669 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
7670 printf output with newline.
7671
7e1be741
L
76722012-11-21 H.J. Lu <hongjiu.lu@intel.com>
7673
6bfea974
L
7674 [BZ #14865]
7675 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
7676 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
7677 -z nodlopen, -z initfirst and -z execstack support.
7678 * configure: Regenerated.
7679
7e1be741
L
7680 * elf/elf.h (DF_1_NODIRECT): New macro.
7681 (DF_1_IGNMULDEF): Likewise.
7682 (DF_1_NOKSYMS): Likewise.
7683 (DF_1_NOHDR): Likewise.
7684 (DF_1_EDITED): Likewise.
7685 (DF_1_NORELOC): Likewise.
7686 (DF_1_SYMINTPOSE): Likewise.
7687 (DF_1_GLOBAUDIT): Likewise.
7688 (DF_1_SINGLETON): Likewise.
7689 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
7690 DT_1_SUPPORTED_MASK bits.
7691 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
7692
105ce2ce
CD
76932012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
7694
7695 * sysdeps/unix/make-syscalls.sh: Document prefixes.
7696
123be9de
TS
76972012-11-20 Thomas Schwinge <thomas@codesourcery.com>
7698
d072f3f7
TS
7699 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
7700 macro.
7701
123be9de
TS
7702 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
7703 (sendmmsg): Move declarations...
7704 * socket/sys/socket.h: ... here.
7705 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
7706 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
7707 include it from...
7708 * socket/recvmmsg.c: ... this new file.
7709 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
7710 (sendmmsg): Rename to __sendmmsg, create weak alias and make
7711 definition of __sendmmsg hidden.
7712 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
7713 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
7714 Move ENOSYS stub into and include it from...
7715 * socket/sendmmsg.c: ... this new file.
7716 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
7717 (sysdep_routines): Move recvmmsg and sendmmsg...
7718 * socket/Makefile (routines): ... here.
7719 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
7720 (GLIBC_PRIVATE): Add __sendmmsg.
7721 * include/sys/socket.h (__sendmmsg): Add declarations.
7722 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
7723 sendmmsg.
7724
cf9a5d18
JM
77252012-11-20 Joseph Myers <joseph@codesourcery.com>
7726
7727 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
7728 variable I1 with __attribute__ ((unused)).
7729 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7730
ecd4caf9
JM
77312012-11-19 Joseph Myers <joseph@codesourcery.com>
7732
be14d48f
JM
7733 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
7734 DUMMY variables with __attribute__ ((unused)).
7735
ecd4caf9
JM
7736 * bits/byteswap.h: Include <bits/types.h>.
7737 (__bswap_64): Use __uint64_t instead of unsigned long long int.
7738
986cab95
PT
77392012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7740
7741 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
7742 string_t. Do not manually set errno.
7743 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
7744 length with __strnlen. Make sure to both set errno and return it on
7745 failure.
7746
6d33cc9d
DM
77472012-11-19 David S. Miller <davem@davemloft.net>
7748
7749 With help from Joseph Myers.
7750 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
7751 very large arguments properly.
7752 * math/libm-test.inc (atan_test): New tests.
7753 (atan2_test): New tests.
7754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7755 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7756
ee663277
JM
77572012-11-19 Joseph Myers <joseph@codesourcery.com>
7758
877f2d8e
JM
7759 [BZ #14856]
7760 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
7761 Define to 3.
7762
116fc08a
JM
7763 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
7764 [POSIX] (EADDRNOTAVAIL): Likewise.
7765 [POSIX] (EAFNOSUPPORT): Likewise.
7766 [POSIX] (EALREADY): Likewise.
7767 [POSIX] (ECONNABORTED): Likewise.
7768 [POSIX] (ECONNREFUSED): Likewise.
7769 [POSIX] (ECONNRESET): Likewise.
7770 [POSIX] (EDESTADDRREQ): Likewise.
7771 [POSIX] (EDQUOT): Likewise.
7772 [POSIX] (EHOSTUNREACH): Likewise.
7773 [POSIX] (EIDRM): Likewise.
7774 [POSIX] (EISCONN): Likewise.
7775 [POSIX] (ELOOP): Likewise.
7776 [POSIX] (EMULTIHOP): Likewise.
7777 [POSIX] (ENETDOWN): Likewise.
7778 [POSIX] (ENETUNREACH): Likewise.
7779 [POSIX] (ENOBUFS): Likewise.
7780 [POSIX] (ENODATA): Likewise.
7781 [POSIX] (ENOLINK): Likewise.
7782 [POSIX] (ENOMSG): Likewise.
7783 [POSIX] (ENOPROTOOPT): Likewise.
7784 [POSIX] (ENOSR): Likewise.
7785 [POSIX] (ENOSTR): Likewise.
7786 [POSIX] (ENOTCONN): Likewise.
7787 [POSIX] (ENOTSOCK): Likewise.
7788 [POSIX] (EOPNOTSUPP): Likewise.
7789 [POSIX] (EOVERFLOW): Likewise.
7790 [POSIX] (EPROTO): Likewise.
7791 [POSIX] (EPROTONOSUPPORT): Likewise.
7792 [POSIX] (EPROTOTYPE): Likewise.
7793 [POSIX] (ESTALE): Likewise.
7794 [POSIX] (ETIME): Likewise.
7795 [POSIX] (ETXTBSY): Likewise.
7796 [POSIX] (EWOULDBLOCK): Likewise.
7797 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
7798 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
7799 [POSIX] (SEEK_CUR): Likewise.
7800 [POSIX] (SEEK_END): Likewise.
7801 [POSIX || UNIX98] (mode_t): Do not require.
7802 [POSIX] (off_t): Likewise.
7803 [POSIX] (pid_t): Likewise.
7804 [POSIX] (sys/stat.h): Do not allow header.
7805 [POSIX] (unistd.h): Likewise.
7806 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
7807 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
7808 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
7809 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
7810 require.
7811 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
7812 sigevent): Specify elements.
7813 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
7814 entry.
7815 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
7816 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
7817
a483863f
JM
7818 * conform/data/cpio.h-data [POSIX]: Disable whole file.
7819 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
7820 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
7821 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
7822 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
7823 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
7824 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
7825 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
7826 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
7827 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
7828 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
7829 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
7830 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
7831 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
7832 Likewise.
7833 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
7834 Likewise.
7835 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
7836 Likewise.
7837 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
7838 Likewise.
7839 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
7840 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
7841 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
7842 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
7843 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
7844 Specify lower bound on value.
7845 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
7846 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
7847 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
7848 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
7849 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
7850 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
7851 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
7852 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
7853 value.
7854 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
7855 as optional.
7856 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
7857 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
7858 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
7859 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
7860 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
7861 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
7862 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
7863 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
7864 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
7865 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
7866 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
7867 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
7868 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
7869 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
7870 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
7871 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
7872 entry.
7873 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
7874 optional.
7875 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
7876 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
7877 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
7878 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
7879 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
7880 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
7881 Likewise.
7882 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
7883 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
7884 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
7885 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
7886 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
7887 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
7888 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
7889 as optional.
7890 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
7891 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
7892 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
7893 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
7894 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
7895 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
7896 specify as optional.
7897 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
7898 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
7899 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
7900 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
7901 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
7902 [XPG3] (NL_LANGMAX): Likewise.
7903 [POSIX || XPG3] (NL_MSGMAX): Likewise.
7904 [POSIX || XPG3] (NL_NMAX): Likewise.
7905 [POSIX || XPG3] (NL_SETMAX): Likewise.
7906 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
7907 [XPG3] (NZERO): Likewise.
7908 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
7909 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
7910 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
7911 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
7912 (REG_ERANGE): Expect.
7913 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
7914 optional-constant.
7915 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
7916 Use (void) in prototype.
7917 [POSIX] (*_t): Allow.
7918 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
7919 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
7920 (WRDE_BADVAL): Expect.
7921
5ba924e3
JM
7922 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
7923 expect.
7924 [XPG3 || XPG4] (O_RSYNC): Likewise.
7925 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
7926 Likewise.
7927 [XPG3 || XPG4] (pthread_sigmask): Likewise.
7928 [XPG3 || XPG4] (sigqueue): Likewise.
7929 [XPG3 || XPG4] (sigtimedwait): Likewise.
7930 [XPG3 || XPG4] (sigwaitinfo): Likewise.
7931 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
7932 [XPG3 || XPG4] (vsnprintf): Likewise.
7933 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
7934 Likewise.
7935 [XPG3 || XPG4] (blksize_t): Likewise.
7936 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
7937 Likewise.
7938 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
7939 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7940 [XPG3 || XPG4] (struct itimerspec): Likewise.
7941 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
7942 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
7943 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
7944 [XPG3 || XPG4] (clockid_t): Likewise.
7945 [XPG3 || XPG4] (timer_t): Likewise.
7946 [XPG3 || XPG4] (clock_getres): Likewise.
7947 [XPG3 || XPG4] (clock_gettime): Likewise.
7948 [XPG3 || XPG4] (clock_settime): Likewise.
7949 [XPG3 || XPG4] (nanosleep): Likewise.
7950 [XPG3 || XPG4] (timer_create): Likewise.
7951 [XPG3 || XPG4] (timer_delete): Likewise.
7952 [XPG3 || XPG4] (timer_gettime): Likewise.
7953 [XPG3 || XPG4] (timer_getoverrun): Likewise.
7954 [XPG3 || XPG4] (timer_settime): Likewise.
7955 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
7956 [XPG3 || XPG4] (getlogin_r): Likewise.
7957 [XPG3 || XPG4] (pread): Likewise.
7958 [XPG3 || XPG4] (pthread_atfork): Likewise.
7959 [XPG3 || XPG4] (pwrite): Likewise.
7960
ee663277
JM
7961 [BZ #14835]
7962 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
7963 <bits/siginfo.h>.
7964
942caa16
PT
79652012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7966
e19af380
PT
7967 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
7968 finalizing MALLSTREAM.
7969
942caa16
PT
7970 * sysdeps/mach/hurd/syncfs.c: New file.
7971
cfde9b46
SP
79722012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7973
7974 [BZ #14719]
7975 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
7976 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
7977 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
7978 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
7979 (_nss_dns_gethostbyname4_r): Likewise.
7980 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
7981 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
7982
f6da27e5
PH
79832012-11-19 Peng Haitao <penght@cn.fujitsu.com>
7984
7985 [BZ #13763]
7986 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
7987
6665d4a2
SM
79882012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
7989
1f51ee92
SM
7990 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
7991 * elf/cache.c (print_entry): Print ",AArch64" for
7992 FLAG_AARCH64_LIB64
7993
6665d4a2
SM
7994 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
7995 * elf/cache.c (print_entry): Print ",hard-float" for
7996 FLAG_ARM_LIBHF.
7997
05b227bd
DM
79982012-11-18 David S. Miller <davem@davemloft.net>
7999
8000 With help from Joseph Myers.
8001 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
8002 cutoff to 2**-13.
8003 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
8004 cutoff to 2**-25.
8005 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
8006 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
8007 small.
8008 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8009 * math/libm-test.inc (y0_test): New tests.
8010 (y1_test): New tests.
8011 * sysdeps/i386/fpu/libm-test-ulps: Update.
8012 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8013 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8014
786b0b67
AS
80152012-11-18 Andreas Schwab <schwab@linux-m68k.org>
8016
8017 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
8018 64-bit targets.
8019 * configure: Regenerated.
8020
8e18b86d
DM
80212012-11-17 David S. Miller <davem@davemloft.net>
8022
8023 [BZ #14811]
8024 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
8025 nonzero exponents with absolute value below 0x1p-128 to +/-
8026 0x1p-128.
8027
531f1ae0
JM
80282012-11-17 Joseph Myers <joseph@codesourcery.com>
8029
12df29e2
JM
8030 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
8031
150dc1a0
JM
8032 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
8033
531f1ae0
JM
8034 * posix/getconf-speclist.c: New file.
8035 * posix/posix-envs.def: Likewise.
8036 * posix/confstr.c (START_ENV_GROUP): New macro.
8037 (END_ENV_GROUP): Likewise.
8038 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8039 (KNOWN_PRESENT_ENV_STRING): Likewise.
8040 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8041 (UNKNOWN_ENVIRONMENT): Likewise.
8042 (confstr): Include posix-envs.def instead of handling
8043 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
8044 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
8045 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
8046 (END_ENV_GROUP): Likewise.
8047 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8048 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8049 (UNKNOWN_ENVIRONMENT): Likewise.
8050 (__sysconf): Include posix-envs.def instead of handling associated
8051 cases directly here.
8052 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
8053 preprocessing getconf-speclist.c rather than running getconf or
8054 generating empty file.
8055
a93f9cbc
PT
80562012-11-16 Pino Toscano <toscano.pino@tiscali.it>
8057
8058 * scripts/check-local-headers.sh: Ignore 'mach' headers.
8059
d64d9f87
AL
80602012-11-16 Andrej Lajovic <natrij@gmail.com>
8061
8062 [BZ #14672]
8063 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
8064
447885eb
DM
80652012-11-16 David S. Miller <davem@davemloft.net>
8066
8067 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
8068 smaller than LDBL_EPSILON/2.0L, just return xm1.
8069
bcbf9830
L
80702012-11-16 H.J. Lu <hongjiu.lu@intel.com>
8071
8072 * elf/tst-array1.c (init): Set constructor priority to 1000.
8073 (fini): Set destructor priority to 1000.
8074 * elf/tst-array2dep.c: Likewise.
8075
2b766585
SP
80762012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8077
8078 [BZ #11741]
8079 * libio/fileops.c (_IO_new_file_write): Correctly return error.
8080 (_IO_new_file_xsputn): Also return EOF if none of the input
8081 data was written when overflow failed.
8082 * libio/iopadn.c (_IO_padn): Likewise.
8083 * libio/iowpadn.c (_IO_wpadn): Likewise.
8084 * stdio-common/tst-put-error.c: Add copyright notice.
8085 (do_test): Add case for printing padded string.
8086 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
8087 _IO_padn returned error.
8088 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
8089 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
8090 return EOF.
8091
b1848fde
SP
80922012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8093
8094 * libio/libioP.h: Add comment note that the references to C++
8095 bits are now obsolete.
8096
2fd89785
MS
80972012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8098
8099 * math/libm-test.inc (check_complex): Use asprintf.
8100
e3ea5409
JM
81012012-11-14 Joseph Myers <joseph@codesourcery.com>
8102
8103 * debug/pcprofiledump.c (print_version): Update copyright year.
8104 * malloc/memusagestat.c (print_version): Likewise.
8105
2e64d265
L
81062012-11-14 H.J. Lu <hongjiu.lu@intel.com>
8107
8108 [BZ #14831]
8109 * elf/Makefile (tests): Add tst-audit8.
8110 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
8111 ($(objpfx)tst-audit8.out): New target.
8112 (tst-audit8-ENV): New variable.
8113 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
8114 audit if l_reloc_result is NULL.
8115 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
8116 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
8117 * elf/tst-audit8.c: New file.
8118
c485e4d2
MS
81192012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8120
8121 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
8122 * misc/Makefile (CFLAGS-select.c): Define.
8123 * posix/Makefile (CFLAGS-pause.c): Define.
8124
3a0d900a
DM
81252012-11-13 David S. Miller <davem@davemloft.net>
8126
8127 * crypt/Makefile: Move test targets after toplevel Rules
8128 inclusion. Grab any necessary sysdep routines when linking.
8129 * crypt/md5.c (md5_process_block): Remove define, we will always
8130 name it __md5_process_block.
8131 (md5_finish_ctx): Update md5_process_block call.
8132 (md5_stream): Likewise.
8133 (md5_process_bytes): Likewise.
8134 (md5_process_block): Rename to __md5_process_block and move to ...
8135 * crypt/md5-block.c: ... here.
8136 * crypt/sha256.c (sha256_process_block): Move to ...
8137 * crypt/sha256-block.c: ... here.
8138 * crypt/sha512.c (sha512_process_block): Move to ...
8139 * crypt/sha512-block.c: ... here.
8140 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
8141 path.
8142 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
8143 * sysdeps/sparc/sparc64/multiarch/Makefile
8144 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
8145 crypt subdir.
8146 (localedef-aux): Add md5 crypto assembler when in locale subdir.
8147 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
8148 multiarch changes.
8149 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
8150 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
8151 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
8152 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
8153 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
8154 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
8155 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
8156 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
8157 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
8158 file.
8159 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
8160 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
8161 file.
8162 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
8163
8ca89318
JM
81642012-11-13 Joseph Myers <joseph@codesourcery.com>
8165
e27d476a
JM
8166 * timezone/tzselect.ksh: Update from tzcode git revision
8167 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
8168 * timezone/zdump.c: Likewise.
8169 * timezone/zic.c: Likewise.
8170 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
8171 in TZVERSION setting, not $(PKGVERSION).
8172 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
8173 REPORT_BUGS_TO settings.
8174
8ca89318
JM
8175 [BZ #14838]
8176 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
8177 macro.
8178
47594329
MS
81792012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8180
8181 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
8182 detection to immediately after _FP_ROUND().
8183 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
8184 bits are 0.
8185
640ac3f1
DM
81862012-11-11 David S. Miller <davem@davemloft.net>
8187
8188 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
8189 inttypes.h
8190 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
8191 __close rather than their public counterparts.
8192
3d2577bb
JM
81932012-11-10 Joseph Myers <joseph@codesourcery.com>
8194
8195 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
8196 file.
8197 [UNIX98] (sem_timedwait): Do not expect.
8198 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
8199 [XPG4 || UNIX98] (sockatmark): Do not expect.
8200 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
8201 (clock_getcpuclockid): Do not expect.
8202 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
8203 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
8204 Do not expect.
8205 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
8206 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
8207 [UNIX98] (vwscanf): Likewise.
8208 [UNIX98] (vswscanf): Likewise.
8209
fb1ae1ee
JM
82102012-11-09 Joseph Myers <joseph@codesourcery.com>
8211
9ec6f8bd
JM
8212 * timezone/version.h: Remove file.
8213 * timezone/README: Do not refer to version.h.
8214 * timezone/Makefile ($(objpfx)zic.o): New dependency on
8215 $(objpfx)version.h.
8216 ($(objpfx)zdump.o): Likewise.
c3f81911 8217 ($(objpfx)version.h): New target.
9ec6f8bd 8218
0aa8f8a1
JM
8219 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
8220 2012i.
8221 * timezone/README: Don't mention modification to tzselect.ksh.
8222 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
8223 work on unmodified tzselect.ksh. Substitute version numbers in
8224 tzselect.ksh.
8225
4e87147f
JM
8226 * Makefile (format-me): Remove.
8227 (INSTALL): Adjust indentation. Use commands directly instead of
8228 using $(format-me).
8229
8b748aed
JM
8230 * aclocal.m4 (ACX_PKGVERSION): New macro.
8231 (ACX_BUGURL): Likewise.
8232 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
8233 (PKGVERSION): New AC_DEFINE_UNQUOTED.
8234 (REPORT_BUGS_TO): Likewise.
8235 * configure: Regenerated.
8236 * config.h.in (PKGVERSION): New macro.
8237 (REPORT_BUGS_TO): Likewise.
8238 * config.make.in (PKGVERSION): New variable.
8239 (PKGVERSION_TEXI): Likewise.
8240 (REPORT_BUGS_TO): Likewise.
8241 (REPORT_BUGS_TEXI): Likewise.
8242 * Makefile (format-me): Use -I$(common-objpfx)manual.
8243 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
8244 ($(common-objpfx)manual/%): New target.
8245 (manual/%): Remove target.
8246 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
8247 (print_version): Use PKGVERSION.
8248 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
8249 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
8250 and REPORT_BUGS_TO.
8251 ($(objpfx)xtrace): Likewise.
8252 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
8253 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
8254 (print_version): Use PKGVERSION.
8255 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
8256 (do_version): Use PKGVERSION.
8257 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
8258 REPORT_BUGS_TO.
8259 (common-ldd-rewrite): Likewise.
8260 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
8261 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
8262 (print_version): Use PKGVERSION.
8263 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
8264 * elf/pldd.c (argp_program_bug_address): Remove variable.
8265 (more_help): New function.
8266 (argp): Use more_help.
8267 (print_version): Use PKGVERSION.
8268 * elf/sln.c (main): Use PKGVERSION.
8269 (usage): Use REPORT_BUGS_TO.
8270 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
8271 (top level): Use PKGVERSION.
8272 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
8273 (print_version): Use PKGVERSION.
8274 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
8275 (print_version): Use PKGVERSION.
8276 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
8277 (print_version): Use PKGVERSION.
8278 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
8279 (print_version): Use PKGVERSION.
8280 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
8281 (print_version): Use PKGVERSION.
8282 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
8283 (print_version): Use PKGVERSION.
8284 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
8285 and BUGURL.
8286 ($(objpfx)memusage): Likewise.
8287 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
8288 (do_version): Use PKGVERSION.
8289 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
8290 (print_version): Use PKGVERSION.
8291 * malloc/mtrace.pl ($PACKAGE): Remove variable.
8292 ($PKGVERSION): New variable.
8293 ($REPORT_BUGS_TO): Likewise.
8294 (usage): Use $REPORT_BUGS_TO.
8295 (top level): Use $PKGVERSION.
8296 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
8297 ($(objpfx)pkgvers.texi): New rule.
8298 ($(objpfx)stamp-pkgvers): Likewise.
8299 * manual/install.texi: Include pkgvers.texi.
8300 (--with-pkgversion): Document new configure option.
8301 (--with-bugurl): Likewise.
8302 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
8303 than necessarily for this particular distribution. Use
8304 REPORT_BUGS_TO for where to report bugs.
8305 * INSTALL: Regenerated.
8306 * manual/libc.texinfo: Include pkgvers.texi.
8307 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
8308 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
8309 (print_version): Use PKGVERSION.
8310 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
8311 (print_version): Use PKGVERSION.
8312 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
8313 (print_version): Use PKGVERSION.
8314 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
8315 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
8316 macro.
8317 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
8318 (print_version): Use PKGVERSION.
8319 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
8320 (print_version): Use PKGVERSION.
8321 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
8322 and PKGVERSION.
8323
92e4b6a9
JM
8324 * timezone/checktab.awk: Update from tzcode 2012i.
8325 * timezone/ialloc.c: Likewise.
8326 * timezone/private.h: Likewise.
8327 * timezone/scheck.c: Likewise.
8328 * timezone/tzfile.h: Likewise.
8329 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
8330 (TZVERSION): Hardcode tzcode version number.
8331 * timezone/zdump.c: Update from tzcode 2012i.
8332 * timezone/zic.c: Likewise.
8333 * timezone/version.h: New file.
8334 * timezone/README: Describe version.h. Update upstream location.
8335
9bde902c
JM
8336 [BZ #14824]
8337 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
8338 (mktemp): Enable declaration.
8339 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
8340 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
8341 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
8342 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
8343 Likewise.
8344 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
8345 Likewise.
8346 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
8347 Likewise.
8348 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
8349 Likewise.
8350 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
8351 Likewise.
8352 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
8353 Likewise.
8354
fb1ae1ee
JM
8355 [BZ #14821]
8356 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
8357 offset in buffer as u_int32_t not u_long. Consistently use memcpy
8358 for copies of such integer values.
8359 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
8360 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
8361
2c1adbcb
AJ
83622012-11-09 Andreas Jaeger <aj@suse.de>
8363
8364 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
8365 definitions and declarations that are provided by
8366 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8367
d0f8457e
AK
83682012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8369
3a235abb 8370 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
8371 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
8372 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
8373 definition.
8374
57241e26
MS
83752012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8376
8377 * elf/elf.h: Update comment before AArch64 relocations.
8378
60e8270d
DM
83792012-11-07 David S. Miller <davem@davemloft.net>
8380
8381 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
8382 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8383 (__start_context): Declare.
8384 (__makecontext_ret): Delete.
8385 (__makecontext): Hook up __start_context instead of
8386 __makecontext_ret.
8387 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8388 (sysdep_routines): Add __start_context when in stdlib.
8389
0fbb0fbc
JM
83902012-11-07 Joseph Myers <joseph@codesourcery.com>
8391
8392 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
8393 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
8394 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
8395 hardcoded "nm".
8396 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
8397 (READELF): New variable. Use it instead of hardcoded "readelf".
8398
eb48db7e
L
83992012-11-07 H.J. Lu <hongjiu.lu@intel.com>
8400
8401 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
8402 * sysdeps/x86/Makefile: Here.
8403 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
8404 * sysdeps/x86/tst-xmmymm.sh: This.
8405
05bcf62a
JM
84062012-11-07 Joseph Myers <joseph@codesourcery.com>
8407
c4b6cf53
JM
8408 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
8409 expectations.
8410 [UNIX98] (pthread_barrier_t): Do not expect.
8411 [UNIX98] (pthread_barrierattr_t): Likewise.
8412 [UNIX98] (pthread_spinlock_t): Likewise.
8413 [UNIX98] (pthread_barrier_destroy): Likewise.
8414 [UNIX98] (pthread_barrier_init): Likewise.
8415 [UNIX98] (pthread_barrier_wait): Likewise.
8416 [UNIX98] (pthread_barrierattr_destroy): Likewise.
8417 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
8418 [UNIX98] (pthread_barrierattr_init): Likewise.
8419 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
8420 [UNIX98] (pthread_getcpuclockid): Likewise.
8421 [UNIX98] (pthread_mutex_timedlock): Likewise.
8422 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
8423 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
8424 [UNIX98] (pthread_sigmask): Likewise.
8425 [UNIX98] (pthread_spin_destroy): Likewise.
8426 [UNIX98] (pthread_spin_init): Likewise.
8427 [UNIX98] (pthread_spin_lock): Likewise.
8428 [UNIX98] (pthread_spin_trylock): Likewise.
8429 [UNIX98] (pthread_spin_unlock): Likewise.
8430 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
8431 Do not expect.
8432 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
8433 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
8434 [XPG3 || XPG4] (pthread_cond_t): Likewise.
8435 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
8436 [XPG3 || XPG4] (pthread_key_t): Likewise.
8437 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
8438 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
8439 [XPG3 || XPG4] (pthread_once_t): Likewise.
8440 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
8441 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
8442 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
8443 [XPG3 || XPG4] (pthread_t): Likewise.
8444
cbe6e120
JM
8445 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
8446 not expect.
8447 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
8448
1b126443
JM
8449 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
8450 Change function return type to int.
8451
b961a573
JM
8452 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
8453 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
8454 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
8455 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
8456 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
8457 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
8458 [!POSIX] (posix_madvise): Likewise.
8459 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
8460 && !UNIX98].
8461 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
8462 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
8463 (mode_t): Likewise.
8464 (posix_mem_offset): Likewise.
8465 (posix_typed_mem_get_info): Likewise.
8466 (posix_typed_mem_open): Likewise.
8467
9e188909
JM
8468 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
8469 Change condition to [XOPEN2K8].
8470
05bcf62a
JM
8471 * conform/conformtest.pl: Preprocess allow-header data with -x c
8472 instead of from stdin.
8473 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
8474 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
8475 [C99-based standards] (cerfc): Likewise.
8476 [C99-based standards] (cexp2): Likewise.
8477 [C99-based standards] (cexpm1): Likewise.
8478 [C99-based standards] (clog10): Likewise.
8479 [C99-based standards] (clog1p): Likewise.
8480 [C99-based standards] (clog2): Likewise.
8481 [C99-based standards] (clgamma): Likewise.
8482 [C99-based standards] (ctgamma): Likewise.
8483 [C99-based standards] (cerff): Likewise.
8484 [C99-based standards] (cerfcf): Likewise.
8485 [C99-based standards] (cexp2f): Likewise.
8486 [C99-based standards] (cexpm1f): Likewise.
8487 [C99-based standards] (clog10f): Likewise.
8488 [C99-based standards] (clog1pf): Likewise.
8489 [C99-based standards] (clog2f): Likewise.
8490 [C99-based standards] (clgammaf): Likewise.
8491 [C99-based standards] (ctgammaf): Likewise.
8492 [C99-based standards] (cerfl): Likewise.
8493 [C99-based standards] (cerfcl): Likewise.
8494 [C99-based standards] (cexp2l): Likewise.
8495 [C99-based standards] (cexpm1l): Likewise.
8496 [C99-based standards] (clog10l): Likewise.
8497 [C99-based standards] (clog1pl): Likewise.
8498 [C99-based standards] (clog2l): Likewise.
8499 [C99-based standards] (clgammal): Likewise.
8500 [C99-based standards] (ctgammal): Likewise.
8501 * conform/data/inttypes.h-data [C99-based standards]: Include
8502 stdint.h-data. Remove all expectations for stdint.h contents.
8503 [C99-based standards] (PRI*): Do not allow.
8504 [C99-based standards] (SCN*): Likewise.
8505 [C99-based standards] (*_t): Likewise.
8506 [C99-based-standards] (PRId8): Expect macro.
8507 [C99-based-standards] (PRIi8): Likewise.
8508 [C99-based-standards] (PRIo8): Likewise.
8509 [C99-based-standards] (PRIu8): Likewise.
8510 [C99-based-standards] (PRIx8): Likewise.
8511 [C99-based-standards] (PRIX8): Likewise.
8512 [C99-based-standards] (SCNd8): Likewise.
8513 [C99-based-standards] (SCNi8): Likewise.
8514 [C99-based-standards] (SCNo8): Likewise.
8515 [C99-based-standards] (SCNu8): Likewise.
8516 [C99-based-standards] (SCNx8): Likewise.
8517 [C99-based-standards] (PRIdLEAST8): Likewise.
8518 [C99-based-standards] (PRIiLEAST8): Likewise.
8519 [C99-based-standards] (PRIoLEAST8): Likewise.
8520 [C99-based-standards] (PRIuLEAST8): Likewise.
8521 [C99-based-standards] (PRIxLEAST8): Likewise.
8522 [C99-based-standards] (PRIXLEAST8): Likewise.
8523 [C99-based-standards] (SCNdLEAST8): Likewise.
8524 [C99-based-standards] (SCNiLEAST8): Likewise.
8525 [C99-based-standards] (SCNoLEAST8): Likewise.
8526 [C99-based-standards] (SCNuLEAST8): Likewise.
8527 [C99-based-standards] (SCNxLEAST8): Likewise.
8528 [C99-based-standards] (PRIdFAST8): Likewise.
8529 [C99-based-standards] (PRIiFAST8): Likewise.
8530 [C99-based-standards] (PRIoFAST8): Likewise.
8531 [C99-based-standards] (PRIuFAST8): Likewise.
8532 [C99-based-standards] (PRIxFAST8): Likewise.
8533 [C99-based-standards] (PRIXFAST8): Likewise.
8534 [C99-based-standards] (SCNdFAST8): Likewise.
8535 [C99-based-standards] (SCNiFAST8): Likewise.
8536 [C99-based-standards] (SCNoFAST8): Likewise.
8537 [C99-based-standards] (SCNuFAST8): Likewise.
8538 [C99-based-standards] (SCNxFAST8): Likewise.
8539 [C99-based-standards] (PRId16): Likewise.
8540 [C99-based-standards] (PRIi16): Likewise.
8541 [C99-based-standards] (PRIo16): Likewise.
8542 [C99-based-standards] (PRIu16): Likewise.
8543 [C99-based-standards] (PRIx16): Likewise.
8544 [C99-based-standards] (PRIX16): Likewise.
8545 [C99-based-standards] (SCNd16): Likewise.
8546 [C99-based-standards] (SCNi16): Likewise.
8547 [C99-based-standards] (SCNo16): Likewise.
8548 [C99-based-standards] (SCNu16): Likewise.
8549 [C99-based-standards] (SCNx16): Likewise.
8550 [C99-based-standards] (PRIdLEAST16): Likewise.
8551 [C99-based-standards] (PRIiLEAST16): Likewise.
8552 [C99-based-standards] (PRIoLEAST16): Likewise.
8553 [C99-based-standards] (PRIuLEAST16): Likewise.
8554 [C99-based-standards] (PRIxLEAST16): Likewise.
8555 [C99-based-standards] (PRIXLEAST16): Likewise.
8556 [C99-based-standards] (SCNdLEAST16): Likewise.
8557 [C99-based-standards] (SCNiLEAST16): Likewise.
8558 [C99-based-standards] (SCNoLEAST16): Likewise.
8559 [C99-based-standards] (SCNuLEAST16): Likewise.
8560 [C99-based-standards] (SCNxLEAST16): Likewise.
8561 [C99-based-standards] (PRIdFAST16): Likewise.
8562 [C99-based-standards] (PRIiFAST16): Likewise.
8563 [C99-based-standards] (PRIoFAST16): Likewise.
8564 [C99-based-standards] (PRIuFAST16): Likewise.
8565 [C99-based-standards] (PRIxFAST16): Likewise.
8566 [C99-based-standards] (PRIXFAST16): Likewise.
8567 [C99-based-standards] (SCNdFAST16): Likewise.
8568 [C99-based-standards] (SCNiFAST16): Likewise.
8569 [C99-based-standards] (SCNoFAST16): Likewise.
8570 [C99-based-standards] (SCNuFAST16): Likewise.
8571 [C99-based-standards] (SCNxFAST16): Likewise.
8572 [C99-based-standards] (PRId32): Likewise.
8573 [C99-based-standards] (PRIi32): Likewise.
8574 [C99-based-standards] (PRIo32): Likewise.
8575 [C99-based-standards] (PRIu32): Likewise.
8576 [C99-based-standards] (PRIx32): Likewise.
8577 [C99-based-standards] (PRIX32): Likewise.
8578 [C99-based-standards] (SCNd32): Likewise.
8579 [C99-based-standards] (SCNi32): Likewise.
8580 [C99-based-standards] (SCNo32): Likewise.
8581 [C99-based-standards] (SCNu32): Likewise.
8582 [C99-based-standards] (SCNx32): Likewise.
8583 [C99-based-standards] (PRIdLEAST32): Likewise.
8584 [C99-based-standards] (PRIiLEAST32): Likewise.
8585 [C99-based-standards] (PRIoLEAST32): Likewise.
8586 [C99-based-standards] (PRIuLEAST32): Likewise.
8587 [C99-based-standards] (PRIxLEAST32): Likewise.
8588 [C99-based-standards] (PRIXLEAST32): Likewise.
8589 [C99-based-standards] (SCNdLEAST32): Likewise.
8590 [C99-based-standards] (SCNiLEAST32): Likewise.
8591 [C99-based-standards] (SCNoLEAST32): Likewise.
8592 [C99-based-standards] (SCNuLEAST32): Likewise.
8593 [C99-based-standards] (SCNxLEAST32): Likewise.
8594 [C99-based-standards] (PRIdFAST32): Likewise.
8595 [C99-based-standards] (PRIiFAST32): Likewise.
8596 [C99-based-standards] (PRIoFAST32): Likewise.
8597 [C99-based-standards] (PRIuFAST32): Likewise.
8598 [C99-based-standards] (PRIxFAST32): Likewise.
8599 [C99-based-standards] (PRIXFAST32): Likewise.
8600 [C99-based-standards] (SCNdFAST32): Likewise.
8601 [C99-based-standards] (SCNiFAST32): Likewise.
8602 [C99-based-standards] (SCNoFAST32): Likewise.
8603 [C99-based-standards] (SCNuFAST32): Likewise.
8604 [C99-based-standards] (SCNxFAST32): Likewise.
8605 [C99-based-standards] (PRId64): Likewise.
8606 [C99-based-standards] (PRIi64): Likewise.
8607 [C99-based-standards] (PRIo64): Likewise.
8608 [C99-based-standards] (PRIu64): Likewise.
8609 [C99-based-standards] (PRIx64): Likewise.
8610 [C99-based-standards] (PRIX64): Likewise.
8611 [C99-based-standards] (SCNd64): Likewise.
8612 [C99-based-standards] (SCNi64): Likewise.
8613 [C99-based-standards] (SCNo64): Likewise.
8614 [C99-based-standards] (SCNu64): Likewise.
8615 [C99-based-standards] (SCNx64): Likewise.
8616 [C99-based-standards] (PRIdLEAST64): Likewise.
8617 [C99-based-standards] (PRIiLEAST64): Likewise.
8618 [C99-based-standards] (PRIoLEAST64): Likewise.
8619 [C99-based-standards] (PRIuLEAST64): Likewise.
8620 [C99-based-standards] (PRIxLEAST64): Likewise.
8621 [C99-based-standards] (PRIXLEAST64): Likewise.
8622 [C99-based-standards] (SCNdLEAST64): Likewise.
8623 [C99-based-standards] (SCNiLEAST64): Likewise.
8624 [C99-based-standards] (SCNoLEAST64): Likewise.
8625 [C99-based-standards] (SCNuLEAST64): Likewise.
8626 [C99-based-standards] (SCNxLEAST64): Likewise.
8627 [C99-based-standards] (PRIdFAST64): Likewise.
8628 [C99-based-standards] (PRIiFAST64): Likewise.
8629 [C99-based-standards] (PRIoFAST64): Likewise.
8630 [C99-based-standards] (PRIuFAST64): Likewise.
8631 [C99-based-standards] (PRIxFAST64): Likewise.
8632 [C99-based-standards] (PRIXFAST64): Likewise.
8633 [C99-based-standards] (SCNdFAST64): Likewise.
8634 [C99-based-standards] (SCNiFAST64): Likewise.
8635 [C99-based-standards] (SCNoFAST64): Likewise.
8636 [C99-based-standards] (SCNuFAST64): Likewise.
8637 [C99-based-standards] (SCNxFAST64): Likewise.
8638 [C99-based-standards] (PRIdMAX): Likewise.
8639 [C99-based-standards] (PRIiMAX): Likewise.
8640 [C99-based-standards] (PRIoMAX): Likewise.
8641 [C99-based-standards] (PRIuMAX): Likewise.
8642 [C99-based-standards] (PRIxMAX): Likewise.
8643 [C99-based-standards] (PRIXMAX): Likewise.
8644 [C99-based-standards] (SCNdMAX): Likewise.
8645 [C99-based-standards] (SCNiMAX): Likewise.
8646 [C99-based-standards] (SCNoMAX): Likewise.
8647 [C99-based-standards] (SCNuMAX): Likewise.
8648 [C99-based-standards] (SCNxMAX): Likewise.
8649 [C99-based-standards] (PRIdPTR): Likewise.
8650 [C99-based-standards] (PRIiPTR): Likewise.
8651 [C99-based-standards] (PRIoPTR): Likewise.
8652 [C99-based-standards] (PRIuPTR): Likewise.
8653 [C99-based-standards] (PRIxPTR): Likewise.
8654 [C99-based-standards] (PRIXPTR): Likewise.
8655 [C99-based-standards] (SCNdPTR): Likewise.
8656 [C99-based-standards] (SCNiPTR): Likewise.
8657 [C99-based-standards] (SCNoPTR): Likewise.
8658 [C99-based-standards] (SCNuPTR): Likewise.
8659 [C99-based-standards] (SCNxPTR): Likewise.
8660 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
8661 allow.
8662 * conform/data/stdint.h-data: Update comments to clarify
8663 requirements.
8664 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
8665 type.
8666 [C99-based standards] (INT8_MAX): Likewise.
8667 [C99-based standards] (INT16_MIN): Likewise.
8668 [C99-based standards] (INT16_MAX): Likewise.
8669 [C99-based standards] (INT32_MIN): Likewise.
8670 [C99-based standards] (INT32_MAX): Likewise.
8671 [C99-based standards] (INT64_MIN): Likewise.
8672 [C99-based standards] (INT64_MAX): Likewise.
8673 [C99-based standards] (UINT8_MAX): Likewise.
8674 [C99-based standards] (UINT16_MAX): Likewise.
8675 [C99-based standards] (UINT32_MAX): Likewise.
8676 [C99-based standards] (UINT64_MAX): Likewise.
8677 [C99-based standards] (INT_LEAST8_MIN): Likewise.
8678 [C99-based standards] (INT_LEAST8_MAX): Likewise.
8679 [C99-based standards] (INT_LEAST16_MIN): Likewise.
8680 [C99-based standards] (INT_LEAST16_MAX): Likewise.
8681 [C99-based standards] (INT_LEAST32_MIN): Likewise.
8682 [C99-based standards] (INT_LEAST32_MAX): Likewise.
8683 [C99-based standards] (INT_LEAST64_MIN): Likewise.
8684 [C99-based standards] (INT_LEAST64_MAX): Likewise.
8685 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
8686 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
8687 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
8688 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
8689 [C99-based standards] (INT_FAST8_MIN): Likewise.
8690 [C99-based standards] (INT_FAST8_MAX): Likewise.
8691 [C99-based standards] (INT_FAST16_MIN): Likewise.
8692 [C99-based standards] (INT_FAST16_MAX): Likewise.
8693 [C99-based standards] (INT_FAST32_MIN): Likewise.
8694 [C99-based standards] (INT_FAST32_MAX): Likewise.
8695 [C99-based standards] (INT_FAST64_MIN): Likewise.
8696 [C99-based standards] (INT_FAST64_MAX): Likewise.
8697 [C99-based standards] (UINT_FAST8_MAX): Likewise.
8698 [C99-based standards] (UINT_FAST16_MAX): Likewise.
8699 [C99-based standards] (UINT_FAST32_MAX): Likewise.
8700 [C99-based standards] (UINT_FAST64_MAX): Likewise.
8701 [C99-based standards] (INTPTR_MIN): Likewise.
8702 [C99-based standards] (INTPTR_MAX): Likewise.
8703 [C99-based standards] (UINTPTR_MAX): Likewise.
8704 [C99-based standards] (INTMAX_MIN): Likewise.
8705 [C99-based standards] (INTMAX_MAX): Likewise.
8706 [C99-based standards] (UINTMAX_MAX): Likewise.
8707 [C99-based standards] (PTRDIFF_MIN): Likewise.
8708 [C99-based standards] (PTRDIFF_MAX): Likewise.
8709 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
8710 [C99-based standards] (SIZE_MAX): Likewise.
8711 [C99-based standards] (WCHAR_MAX): Likewise.
8712 [C99-based standards] (WINT_MAX): Likewise.
8713 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
8714 constraint on value.
8715 [C99-based standards] (WCHAR_MIN): Likewise.
8716 [C99-based standards] (WINT_MIN): Likewise.
8717 [C99-based standards] (*_t): Allow.
8718 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
8719 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
8720 Include math.h-data and complex.h-data. Remove all expectations
8721 of math.h and complex.h contents.
8722 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
8723 at end of line.
8724 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
8725 (struct tm): Expect tag.
8726 [C99-based-standards] (wcstof): Expect function.
8727 [C99-based-standards] (wcstold): Likewise.
8728 [C99-based-standards] (wcstoll): Likewise.
8729 [C99-based-standards] (wcstoull): Likewise.
8730 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
8731 macro-int-constant. Specify type.
8732 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
8733 constraint on value.
8734 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8735 Specify type.
8736 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
8737 Specify value.
8738 [ISO C standards]: Do not allow headers.
8739 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
8740 wcs[abcdefghijklmnopqrstuvwxyz]*.
8741 [ISO C standards] (*_t): Do not allow.
8742 * conform/data/wctype.h-data [C99-based standards] (iswblank):
8743 Expect function.
8744 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
8745 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8746 Specify type.
8747 [ISO C standards]: Do not allow headers.
8748 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
8749 is[abcdefghijklmnopqrstuvwxyz]*.
8750 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
8751 to[abcdefghijklmnopqrstuvwxyz]*.
8752 [ISO C standards] (*_t): Do not allow.
8753 * conform/data/stdalign.h-data: New file.
8754 * conform/data/stdbool.h-data: Likewise.
8755 * conform/data/stdnoreturn.h-data: Likewise.
8756
7514feb8
RM
87572012-11-07 Roland McGrath <roland@hack.frob.com>
8758
8759 [BZ #14815]
8760 * manual/filesys.texi (Directory Entries): Typo fix.
8761 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
8762
19b2ecfc
MS
87632012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8764
8765 * elf/elf.h (EM_AARCH64): New macro.
8766 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
8767 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
8768 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
8769 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
8770 (R_AARCH64_TLSDESC): Likewise.
8771 (NT_ARM_TLS): Likewise.
8772 (NT_ARM_HW_BREAK): Likewise.
8773 (NT_ARM_HW_WATCH): Likewise.
8774
60e235ee
JM
87752012-11-07 Joseph Myers <joseph@codesourcery.com>
8776
8777 [BZ #14811]
8778 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
8779 (__ieee754_powl): Saturate nonzero exponents with absolute value
8780 below 0x1p-79 to +/- 0x1p-79.
8781 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
8782 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
8783 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
8784 nonzero exponents with absolute value below 0x1p-32 to +/-
8785 0x1p-32.
8786 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
8787 (__ieee754_powl): Saturate nonzero exponents with absolute value
8788 below 0x1p-79 to +/- 0x1p-79.
8789 * math/libm-test.inc (pow_test): Add more tests.
8790
0ab234b7
AK
87912012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8792
8793 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
8794 _dl_s390_cap_flags with kernel. Increase string length.
8795 (_dl_s390_platforms): Add z196 and zEC12.
8796
45832f74
JM
87972012-11-07 Joseph Myers <joseph@codesourcery.com>
8798
8799 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
8800 Change XOPEN21K to XOPEN2K.
8801
19218757
MK
88022012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
8803
8804 * string/memmove.c: Use memcpy when possible.
8805
c5f45721
AJ
88062012-11-06 Andreas Jaeger <aj@suse.de>
8807
8808 * po/eo.po: Update from translation team.
8809
82477c28
JM
88102012-11-06 Joseph Myers <joseph@codesourcery.com>
8811
8812 [BZ #14793]
8813 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
8814 exponent and small x and y exponents, scale x or y up. Increase
8815 by 2 the exponent used in scaling up.
8816 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8817 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8818 * math/libm-test.inc (fma_test): Add more tests.
8819 (fma_test_towardzero): Likewise.
8820 (fma_test_downward): Likewise.
8821 (fma_test_upward): Likewise.
8822
99252c8c
JM
88232012-11-05 Joseph Myers <joseph@codesourcery.com>
8824
acfa885f
JM
8825 [BZ #14805]
8826 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
8827 fenv_t *.
8828
99252c8c
JM
8829 [BZ #14801]
8830 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
8831 namespace for names of struct fields.
8832 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
8833 fenv_t fields.
8834 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8835 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
8836
d6d98dea
ST
88372012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8838
8839 [BZ #3665]
8840 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
8841
e10bb107
TS
88422012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8843
8844 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
8845 PTR_DEMANGLE.
8846
8847 [BZ #5246]
8848 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
8849 PTR_DEMANGLE.
8850
a0c2940d
JM
88512012-11-04 Joseph Myers <joseph@codesourcery.com>
8852
8853 [BZ #14797]
8854 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
8855 definitely overflow as x * y not x * y + z.
8856 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8857 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8858 * math/libm-test.inc (fma_test): Add more tests.
8859 (fma_test_towardzero): Likewise.
8860 (fma_test_downward): Likewise.
8861 (fma_test_upward): Likewise.
8862
b830319d
TS
88632012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8864
8865 [BZ #157]
8866
8867 * include/stub-tag.h: Remove file.
8868 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
8869 '#include' of it.
8870 * manual/maint.texi (Porting): Don't reference it.
8871 * Makerules ($(objpfx)stubs): Likewise.
8872 * dirent/closedir.c: Don't include <stub-tag.h>.
8873 * dirent/dirfd.c: Likewise.
8874 * dirent/fdopendir.c: Likewise.
8875 * dirent/getdents.c: Likewise.
8876 * dirent/getdents64.c: Likewise.
8877 * dirent/opendir.c: Likewise.
8878 * dirent/readdir.c: Likewise.
8879 * dirent/readdir64.c: Likewise.
8880 * dirent/readdir64_r.c: Likewise.
8881 * dirent/readdir_r.c: Likewise.
8882 * dirent/rewinddir.c: Likewise.
8883 * dirent/seekdir.c: Likewise.
8884 * dirent/telldir.c: Likewise.
8885 * gmon/profil.c: Likewise.
8886 * grp/setgroups.c: Likewise.
8887 * inet/if_index.c: Likewise.
8888 * io/access.c: Likewise.
8889 * io/chdir.c: Likewise.
8890 * io/chmod.c: Likewise.
8891 * io/chown.c: Likewise.
8892 * io/close.c: Likewise.
8893 * io/dup.c: Likewise.
8894 * io/dup2.c: Likewise.
8895 * io/dup3.c: Likewise.
8896 * io/euidaccess.c: Likewise.
8897 * io/faccessat.c: Likewise.
8898 * io/fchdir.c: Likewise.
8899 * io/fchmod.c: Likewise.
8900 * io/fchmodat.c: Likewise.
8901 * io/fchown.c: Likewise.
8902 * io/fchownat.c: Likewise.
8903 * io/fcntl.c: Likewise.
8904 * io/flock.c: Likewise.
8905 * io/fstatfs.c: Likewise.
8906 * io/fstatfs64.c: Likewise.
8907 * io/fstatvfs.c: Likewise.
8908 * io/fstatvfs64.c: Likewise.
8909 * io/futimens.c: Likewise.
8910 * io/fxstat.c: Likewise.
8911 * io/fxstat64.c: Likewise.
8912 * io/fxstatat.c: Likewise.
8913 * io/fxstatat64.c: Likewise.
8914 * io/getcwd.c: Likewise.
8915 * io/isatty.c: Likewise.
8916 * io/lchmod.c: Likewise.
8917 * io/lchown.c: Likewise.
8918 * io/link.c: Likewise.
8919 * io/linkat.c: Likewise.
8920 * io/lseek.c: Likewise.
8921 * io/lseek64.c: Likewise.
8922 * io/lxstat64.c: Likewise.
8923 * io/mkdir.c: Likewise.
8924 * io/mkdirat.c: Likewise.
8925 * io/mkfifo.c: Likewise.
8926 * io/mkfifoat.c: Likewise.
8927 * io/open.c: Likewise.
8928 * io/open64.c: Likewise.
8929 * io/openat.c: Likewise.
8930 * io/openat64.c: Likewise.
8931 * io/pipe.c: Likewise.
8932 * io/pipe2.c: Likewise.
8933 * io/poll.c: Likewise.
8934 * io/posix_fadvise.c: Likewise.
8935 * io/posix_fadvise64.c: Likewise.
8936 * io/posix_fallocate.c: Likewise.
8937 * io/posix_fallocate64.c: Likewise.
8938 * io/read.c: Likewise.
8939 * io/readlink.c: Likewise.
8940 * io/readlinkat.c: Likewise.
8941 * io/rmdir.c: Likewise.
8942 * io/sendfile.c: Likewise.
8943 * io/sendfile64.c: Likewise.
8944 * io/statfs.c: Likewise.
8945 * io/statfs64.c: Likewise.
8946 * io/statvfs.c: Likewise.
8947 * io/statvfs64.c: Likewise.
8948 * io/symlink.c: Likewise.
8949 * io/symlinkat.c: Likewise.
8950 * io/ttyname.c: Likewise.
8951 * io/ttyname_r.c: Likewise.
8952 * io/umask.c: Likewise.
8953 * io/unlink.c: Likewise.
8954 * io/unlinkat.c: Likewise.
8955 * io/utime.c: Likewise.
8956 * io/utimensat.c: Likewise.
8957 * io/write.c: Likewise.
8958 * io/xmknod.c: Likewise.
8959 * io/xmknodat.c: Likewise.
8960 * io/xstat.c: Likewise.
8961 * io/xstat64.c: Likewise.
8962 * login/getpt.c: Likewise.
8963 * login/grantpt.c: Likewise.
8964 * login/unlockpt.c: Likewise.
8965 * math/e_acoshl.c: Likewise.
8966 * math/e_acosl.c: Likewise.
8967 * math/e_asinl.c: Likewise.
8968 * math/e_atan2l.c: Likewise.
8969 * math/e_atanhl.c: Likewise.
8970 * math/e_coshl.c: Likewise.
8971 * math/e_expl.c: Likewise.
8972 * math/e_fmodl.c: Likewise.
8973 * math/e_gammal_r.c: Likewise.
8974 * math/e_hypotl.c: Likewise.
8975 * math/e_j0l.c: Likewise.
8976 * math/e_j1l.c: Likewise.
8977 * math/e_jnl.c: Likewise.
8978 * math/e_lgammal_r.c: Likewise.
8979 * math/e_log10l.c: Likewise.
8980 * math/e_log2l.c: Likewise.
8981 * math/e_logl.c: Likewise.
8982 * math/e_powl.c: Likewise.
8983 * math/e_rem_pio2l.c: Likewise.
8984 * math/e_sinhl.c: Likewise.
8985 * math/e_sqrtl.c: Likewise.
8986 * math/fclrexcpt.c: Likewise.
8987 * math/fedisblxcpt.c: Likewise.
8988 * math/feenablxcpt.c: Likewise.
8989 * math/fegetenv.c: Likewise.
8990 * math/fegetexcept.c: Likewise.
8991 * math/fegetround.c: Likewise.
8992 * math/feholdexcpt.c: Likewise.
8993 * math/fesetenv.c: Likewise.
8994 * math/fesetround.c: Likewise.
8995 * math/feupdateenv.c: Likewise.
8996 * math/fgetexcptflg.c: Likewise.
8997 * math/fraiseexcpt.c: Likewise.
8998 * math/fsetexcptflg.c: Likewise.
8999 * math/ftestexcept.c: Likewise.
9000 * math/k_cosl.c: Likewise.
9001 * math/k_rem_pio2l.c: Likewise.
9002 * math/k_sinl.c: Likewise.
9003 * math/k_tanl.c: Likewise.
9004 * math/s_asinhl.c: Likewise.
9005 * math/s_atanl.c: Likewise.
9006 * math/s_cbrtl.c: Likewise.
9007 * math/s_erfl.c: Likewise.
9008 * math/s_expm1l.c: Likewise.
9009 * math/s_log1pl.c: Likewise.
9010 * math/s_tanhl.c: Likewise.
9011 * misc/acct.c: Likewise.
9012 * misc/brk.c: Likewise.
9013 * misc/chflags.c: Likewise.
9014 * misc/chroot.c: Likewise.
9015 * misc/fchflags.c: Likewise.
9016 * misc/fgetxattr.c: Likewise.
9017 * misc/flistxattr.c: Likewise.
9018 * misc/fremovexattr.c: Likewise.
9019 * misc/fsetxattr.c: Likewise.
9020 * misc/fsync.c: Likewise.
9021 * misc/ftruncate.c: Likewise.
9022 * misc/futimes.c: Likewise.
9023 * misc/futimesat.c: Likewise.
9024 * misc/getdomain.c: Likewise.
9025 * misc/getdtsz.c: Likewise.
9026 * misc/gethostid.c: Likewise.
9027 * misc/gethostname.c: Likewise.
9028 * misc/getloadavg.c: Likewise.
9029 * misc/getpagesize.c: Likewise.
9030 * misc/getsysstats.c: Likewise.
9031 * misc/getxattr.c: Likewise.
9032 * misc/gtty.c: Likewise.
9033 * misc/ioctl.c: Likewise.
9034 * misc/lgetxattr.c: Likewise.
9035 * misc/listxattr.c: Likewise.
9036 * misc/llistxattr.c: Likewise.
9037 * misc/lremovexattr.c: Likewise.
9038 * misc/lsetxattr.c: Likewise.
9039 * misc/lutimes.c: Likewise.
9040 * misc/madvise.c: Likewise.
9041 * misc/mincore.c: Likewise.
9042 * misc/mlock.c: Likewise.
9043 * misc/mlockall.c: Likewise.
9044 * misc/mmap.c: Likewise.
9045 * misc/mprotect.c: Likewise.
9046 * misc/msync.c: Likewise.
9047 * misc/munlock.c: Likewise.
9048 * misc/munlockall.c: Likewise.
9049 * misc/munmap.c: Likewise.
9050 * misc/preadv.c: Likewise.
9051 * misc/preadv64.c: Likewise.
9052 * misc/ptrace.c: Likewise.
9053 * misc/pwritev.c: Likewise.
9054 * misc/pwritev64.c: Likewise.
9055 * misc/readv.c: Likewise.
9056 * misc/reboot.c: Likewise.
9057 * misc/remap_file_pages.c: Likewise.
9058 * misc/removexattr.c: Likewise.
9059 * misc/revoke.c: Likewise.
9060 * misc/select.c: Likewise.
9061 * misc/setdomain.c: Likewise.
9062 * misc/setegid.c: Likewise.
9063 * misc/seteuid.c: Likewise.
9064 * misc/sethostid.c: Likewise.
9065 * misc/sethostname.c: Likewise.
9066 * misc/setregid.c: Likewise.
9067 * misc/setreuid.c: Likewise.
9068 * misc/setxattr.c: Likewise.
9069 * misc/sstk.c: Likewise.
9070 * misc/stty.c: Likewise.
9071 * misc/swapoff.c: Likewise.
9072 * misc/swapon.c: Likewise.
9073 * misc/sync.c: Likewise.
9074 * misc/syncfs.c: Likewise.
9075 * misc/syscall.c: Likewise.
9076 * misc/truncate.c: Likewise.
9077 * misc/ualarm.c: Likewise.
9078 * misc/usleep.c: Likewise.
9079 * misc/ustat.c: Likewise.
9080 * misc/utimes.c: Likewise.
9081 * misc/vhangup.c: Likewise.
9082 * misc/writev.c: Likewise.
9083 * posix/_exit.c: Likewise.
9084 * posix/alarm.c: Likewise.
9085 * posix/execve.c: Likewise.
9086 * posix/fexecve.c: Likewise.
9087 * posix/fork.c: Likewise.
9088 * posix/fpathconf.c: Likewise.
9089 * posix/getaddrinfo.c: Likewise.
9090 * posix/getegid.c: Likewise.
9091 * posix/geteuid.c: Likewise.
9092 * posix/getgid.c: Likewise.
9093 * posix/getgroups.c: Likewise.
9094 * posix/getlogin.c: Likewise.
9095 * posix/getlogin_r.c: Likewise.
9096 * posix/getpgid.c: Likewise.
9097 * posix/getpid.c: Likewise.
9098 * posix/getppid.c: Likewise.
9099 * posix/getresgid.c: Likewise.
9100 * posix/getresuid.c: Likewise.
9101 * posix/getsid.c: Likewise.
9102 * posix/getuid.c: Likewise.
9103 * posix/glob64.c: Likewise.
9104 * posix/nanosleep.c: Likewise.
9105 * posix/pathconf.c: Likewise.
9106 * posix/pause.c: Likewise.
9107 * posix/posix_madvise.c: Likewise.
9108 * posix/pread.c: Likewise.
9109 * posix/pread64.c: Likewise.
9110 * posix/pwrite.c: Likewise.
9111 * posix/pwrite64.c: Likewise.
9112 * posix/sched_getaffinity.c: Likewise.
9113 * posix/sched_getp.c: Likewise.
9114 * posix/sched_gets.c: Likewise.
9115 * posix/sched_primax.c: Likewise.
9116 * posix/sched_primin.c: Likewise.
9117 * posix/sched_rr_gi.c: Likewise.
9118 * posix/sched_setaffinity.c: Likewise.
9119 * posix/sched_setp.c: Likewise.
9120 * posix/sched_sets.c: Likewise.
9121 * posix/sched_yield.c: Likewise.
9122 * posix/setgid.c: Likewise.
9123 * posix/setlogin.c: Likewise.
9124 * posix/setpgid.c: Likewise.
9125 * posix/setresgid.c: Likewise.
9126 * posix/setresuid.c: Likewise.
9127 * posix/setsid.c: Likewise.
9128 * posix/setuid.c: Likewise.
9129 * posix/sleep.c: Likewise.
9130 * posix/spawni.c: Likewise.
9131 * posix/sysconf.c: Likewise.
9132 * posix/times.c: Likewise.
9133 * posix/wait.c: Likewise.
9134 * posix/wait3.c: Likewise.
9135 * posix/wait4.c: Likewise.
9136 * posix/waitpid.c: Likewise.
9137 * resolv/gai_sigqueue.c: Likewise.
9138 * resource/getpriority.c: Likewise.
9139 * resource/getrlimit.c: Likewise.
9140 * resource/getrusage.c: Likewise.
9141 * resource/nice.c: Likewise.
9142 * resource/setpriority.c: Likewise.
9143 * resource/setrlimit.c: Likewise.
9144 * resource/ulimit.c: Likewise.
9145 * rt/aio_cancel.c: Likewise.
9146 * rt/aio_fsync.c: Likewise.
9147 * rt/aio_read.c: Likewise.
9148 * rt/aio_sigqueue.c: Likewise.
9149 * rt/aio_suspend.c: Likewise.
9150 * rt/aio_write.c: Likewise.
9151 * rt/clock_getres.c: Likewise.
9152 * rt/clock_gettime.c: Likewise.
9153 * rt/clock_nanosleep.c: Likewise.
9154 * rt/clock_settime.c: Likewise.
9155 * rt/lio_listio.c: Likewise.
9156 * rt/mq_close.c: Likewise.
9157 * rt/mq_getattr.c: Likewise.
9158 * rt/mq_notify.c: Likewise.
9159 * rt/mq_open.c: Likewise.
9160 * rt/mq_receive.c: Likewise.
9161 * rt/mq_send.c: Likewise.
9162 * rt/mq_setattr.c: Likewise.
9163 * rt/mq_timedreceive.c: Likewise.
9164 * rt/mq_timedsend.c: Likewise.
9165 * rt/mq_unlink.c: Likewise.
9166 * rt/shm_open.c: Likewise.
9167 * rt/shm_unlink.c: Likewise.
9168 * rt/timer_create.c: Likewise.
9169 * rt/timer_delete.c: Likewise.
9170 * rt/timer_getoverr.c: Likewise.
9171 * rt/timer_gettime.c: Likewise.
9172 * rt/timer_settime.c: Likewise.
9173 * setjmp/__longjmp.c: Likewise.
9174 * setjmp/setjmp.c: Likewise.
9175 * signal/kill.c: Likewise.
9176 * signal/killpg.c: Likewise.
9177 * signal/raise.c: Likewise.
9178 * signal/sigaction.c: Likewise.
9179 * signal/sigaltstack.c: Likewise.
9180 * signal/sigblock.c: Likewise.
9181 * signal/sigignore.c: Likewise.
9182 * signal/sigintr.c: Likewise.
9183 * signal/signal.c: Likewise.
9184 * signal/sigpause.c: Likewise.
9185 * signal/sigpending.c: Likewise.
9186 * signal/sigqueue.c: Likewise.
9187 * signal/sigreturn.c: Likewise.
9188 * signal/sigset.c: Likewise.
9189 * signal/sigsetmask.c: Likewise.
9190 * signal/sigstack.c: Likewise.
9191 * signal/sigsuspend.c: Likewise.
9192 * signal/sigtimedwait.c: Likewise.
9193 * signal/sigvec.c: Likewise.
9194 * signal/sigwait.c: Likewise.
9195 * signal/sigwaitinfo.c: Likewise.
9196 * signal/sysv_signal.c: Likewise.
9197 * socket/accept.c: Likewise.
9198 * socket/accept4.c: Likewise.
9199 * socket/bind.c: Likewise.
9200 * socket/connect.c: Likewise.
9201 * socket/getpeername.c: Likewise.
9202 * socket/getsockname.c: Likewise.
9203 * socket/getsockopt.c: Likewise.
9204 * socket/isfdtype.c: Likewise.
9205 * socket/listen.c: Likewise.
9206 * socket/recv.c: Likewise.
9207 * socket/recvfrom.c: Likewise.
9208 * socket/recvmsg.c: Likewise.
9209 * socket/send.c: Likewise.
9210 * socket/sendmsg.c: Likewise.
9211 * socket/sendto.c: Likewise.
9212 * socket/setsockopt.c: Likewise.
9213 * socket/shutdown.c: Likewise.
9214 * socket/sockatmark.c: Likewise.
9215 * socket/socket.c: Likewise.
9216 * socket/socketpair.c: Likewise.
9217 * stdio-common/ctermid.c: Likewise.
9218 * stdio-common/cuserid.c: Likewise.
9219 * stdio-common/remove.c: Likewise.
9220 * stdio-common/rename.c: Likewise.
9221 * stdio-common/renameat.c: Likewise.
9222 * stdio-common/tempname.c: Likewise.
9223 * stdlib/getcontext.c: Likewise.
9224 * stdlib/makecontext.c: Likewise.
9225 * stdlib/setcontext.c: Likewise.
9226 * stdlib/swapcontext.c: Likewise.
9227 * stdlib/system.c: Likewise.
9228 * streams/fattach.c: Likewise.
9229 * streams/fdetach.c: Likewise.
9230 * streams/getmsg.c: Likewise.
9231 * streams/getpmsg.c: Likewise.
9232 * streams/putmsg.c: Likewise.
9233 * streams/putpmsg.c: Likewise.
9234 * sysdeps/unix/bsd/getpt.c: Likewise.
9235 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
9236 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
9237 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9239 Likewise.
9240 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
9241 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9242 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9243 * sysvipc/msgctl.c: Likewise.
9244 * sysvipc/msgget.c: Likewise.
9245 * sysvipc/msgrcv.c: Likewise.
9246 * sysvipc/msgsnd.c: Likewise.
9247 * sysvipc/semctl.c: Likewise.
9248 * sysvipc/semget.c: Likewise.
9249 * sysvipc/semop.c: Likewise.
9250 * sysvipc/semtimedop.c: Likewise.
9251 * sysvipc/shmat.c: Likewise.
9252 * sysvipc/shmctl.c: Likewise.
9253 * sysvipc/shmdt.c: Likewise.
9254 * sysvipc/shmget.c: Likewise.
9255 * termios/tcdrain.c: Likewise.
9256 * termios/tcflow.c: Likewise.
9257 * termios/tcflush.c: Likewise.
9258 * termios/tcgetattr.c: Likewise.
9259 * termios/tcgetpgrp.c: Likewise.
9260 * termios/tcsendbrk.c: Likewise.
9261 * termios/tcsetattr.c: Likewise.
9262 * termios/tcsetpgrp.c: Likewise.
9263 * time/adjtime.c: Likewise.
9264 * time/clock.c: Likewise.
9265 * time/getitimer.c: Likewise.
9266 * time/gettimeofday.c: Likewise.
9267 * time/setitimer.c: Likewise.
9268 * time/settimeofday.c: Likewise.
9269 * time/stime.c: Likewise.
9270 * time/time.c: Likewise.
9271
92722012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 9273
a20492cf
PT
9274 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
9275 /usr/old/bin.
9276
72e182e3
PT
9277 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
9278 instead of spaces.
9279 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
9280
fbeafede
JM
92812012-11-03 Joseph Myers <joseph@codesourcery.com>
9282
5b5b04d6
JM
9283 [BZ #14796]
9284 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
9285 FE_TONEAREST before applying Dekker multiplication and Knuth
9286 addition. Clear inexact exceptions and check for exact zero
9287 results afterwards.
9288 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9289 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9290 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9291 * math/libm-test.inc (fma_test): Add more tests.
9292 (fma_test_towardzero): Likewise.
9293 (fma_test_downward): Likewise.
9294 (fma_test_upward): Likewise.
9295 * sysdeps/generic/math_private.h (default_libc_fesetround): New
9296 function.
9297 (libc_fesetround): New macro.
9298 (libc_fesetroundf): Likewise.
9299 (libc_fesetroundl): Likewise.
9300 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
9301 function.
9302 (libc_fesetround_387): Likewise.
9303 (libc_fesetroundf): New macro.
9304 (libc_fesetround): Likewise.
9305 (libc_fesetroundl): Likewise.
9306 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
9307 function.
9308 (libc_fesetroundf): New macro.
9309 (libc_fesetround): Likewise.
9310 (libc_fesetroundl): Likewise.
9311 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
9312 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
9313 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
9314 libm_hidden_ver.
9315 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
9316 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
9317 libm_hidden_def.
9318 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
9319 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
9320 libm_hidden_ver.
9321 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
9322 libm_hidden_def.
9323
fbeafede
JM
9324 [BZ #3439]
9325 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
9326 integer constant usable in #if and use that to give value to enum
9327 constant.
9328 (FE_DIVBYZERO): Likewise.
9329 (FE_UNDERFLOW): Likewise.
9330 (FE_OVERFLOW): Likewise.
9331 (FE_INVALID): Likewise.
9332 (FE_INVALID_SNAN): Likewise.
9333 (FE_INVALID_ISI): Likewise.
9334 (FE_INVALID_IDI): Likewise.
9335 (FE_INVALID_ZDZ): Likewise.
9336 (FE_INVALID_IMZ): Likewise.
9337 (FE_INVALID_COMPARE): Likewise.
9338 (FE_INVALID_SOFTWARE): Likewise.
9339 (FE_INVALID_SQRT): Likewise.
9340 (FE_INVALID_INTEGER_CONVERSION): Likewise.
9341 (FE_TONEAREST): Likewise.
9342 (FE_TOWARDZERO): Likewise.
9343 (FE_UPWARD): Likewise.
9344 (FE_DOWNWARD): Likewise.
9345 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
9346 (FE_DIVBYZERO): Likewise.
9347 (FE_OVERFLOW): Likewise.
9348 (FE_UNDERFLOW): Likewise.
9349 (FE_INEXACT): Likewise.
9350 (FE_TONEAREST): Likewise.
9351 (FE_DOWNWARD): Likewise.
9352 (FE_UPWARD): Likewise.
9353 (FE_TOWARDZERO): Likewise.
9354 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
9355 (FE_UNDERFLOW): Likewise.
9356 (FE_OVERFLOW): Likewise.
9357 (FE_DIVBYZERO): Likewise.
9358 (FE_INVALID): Likewise.
9359 (FE_TONEAREST): Likewise.
9360 (FE_TOWARDZERO): Likewise.
9361 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
9362 (FE_OVERFLOW): Likewise.
9363 (FE_UNDERFLOW): Likewise.
9364 (FE_DIVBYZERO): Likewise.
9365 (FE_INEXACT): Likewise.
9366 (FE_TONEAREST): Likewise.
9367 (FE_TOWARDZERO): Likewise.
9368 (FE_UPWARD): Likewise.
9369 (FE_DOWNWARD): Likewise.
9370 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
9371 (FE_DIVBYZERO): Likewise.
9372 (FE_OVERFLOW): Likewise.
9373 (FE_UNDERFLOW): Likewise.
9374 (FE_INEXACT): Likewise.
9375 (FE_TONEAREST): Likewise.
9376 (FE_DOWNWARD): Likewise.
9377 (FE_UPWARD): Likewise.
9378 (FE_TOWARDZERO): Likewise.
9379
105ca950
CM
93802012-11-02 Chris Metcalf <cmetcalf@tilera.com>
9381
9382 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
9383
a542b389
AS
93842012-11-03 Andreas Schwab <schwab@linux-m68k.org>
9385
9386 * scripts/cross-test-ssh.sh (command): Use newlines to separate
9387 commands. Quote $PWD.
9388 (blacklist_exports): Don't use remove_newlines. Replace "declare
9389 -x" by "export".
9390 (remove_newlines): Remove.
9391
f62c8abc
L
93922012-11-02 H.J. Lu <hongjiu.lu@intel.com>
9393
9394 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
9395 * stdlib/stdlib.h (atof): Moved to ...
9396 * include/bits/stdlib-float.h: Here. New file.
9397 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
9398 * stdlib/bits/stdlib-float.h: New file.
9399 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
9400 -mno-sse -mno-mmx.
9401 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
9402 <xmmintrin.h>.
9403
0155d5b2
JM
94042012-11-02 Joseph Myers <joseph@codesourcery.com>
9405
a68d0680
JM
9406 * conform/conformtest.pl (@headers): Add fenv.h.
9407 * conform/data/fenv.h-data: New file.
9408 * include/fenv.h [_ISOMAC]: Disable all contents of file except
9409 include of <math/fenv.h>.
9410
caf7f573
JM
9411 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
9412 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
9413 && !UNIX98]. Enables tests for XOPEN2K8.
9414 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
9415 POSIX2008]: Likewise.
9416
6c073ad6
JM
9417 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
9418 (struct rusage): Do not expect type or its members.
9419
0155d5b2
JM
9420 [BZ #3439]
9421 * math/math.h (FP_NAN): Define macro to integer constant usable in
9422 #if and use that to give value to enum constant.
9423 (FP_INFINITE): Likewise.
9424 (FP_ZERO): Likewise.
9425 (FP_SUBNORMAL): Likewise.
9426 (FP_NORMAL): Likewise.
9427
b5dcacb4
AS
94282012-11-02 Andreas Schwab <schwab@linux-m68k.org>
9429
9430 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
9431 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
9432 arguments.
9433
f7934be8
RM
94342012-11-02 Roland McGrath <roland@hack.frob.com>
9435
9436 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
9437 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
9438 autoconf-time if not.
9439 * configure.in: Remove AC_PREREQ.
9440
d7d08bde
TMQMF
94412012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9442
9443 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
9444 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
9445 of the internal implementation.
9446
dcdae19a
JM
94472012-11-02 Joseph Myers <joseph@codesourcery.com>
9448
9449 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
9450 except include of <misc/sys/syslog.h>.
9451
d6cffd3e
AS
94522012-11-01 Andreas Schwab <schwab@linux-m68k.org>
9453
9454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
9455 function returns with a NULL context exit with zero.
9456
b3563932
TMQMF
94572012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9458
9459 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
9460
b288a93d
L
94612012-11-01 H.J. Lu <hongjiu.lu@intel.com>
9462
9463 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
9464 (run_program_cmd): This.
9465 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
9466 (tst_langinfo): New variable. Use it.
9467
a2421a68
SAS
94682012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
9469
9470 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
9471 floating point opcodes.
9472
6f796e1b
TS
94732012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9474
7402596b
TS
9475 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
9476 variable.
9477
d0d4f868
TS
9478 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
9479
6f796e1b
TS
9480 * sysdeps/mach/hurd/powerpc: Remove directory.
9481 * sysdeps/mach/powerpc: Likewise.
9482
4da224a2
AS
94832012-11-01 Andreas Schwab <schwab@linux-m68k.org>
9484
9485 * scripts/check-local-headers.sh: Ignore c++ headers.
9486
341dd673
TS
94872012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9488
9489 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
9490 __libc_cleanup_region_start argument.
9491
473611b2
JM
94922012-11-01 Joseph Myers <joseph@codesourcery.com>
9493
9494 [BZ #14784]
9495 [BZ #14785]
9496 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
9497 x * y using scaling, not as x * y + z.
9498 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9499 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9500 * math/libm-test.inc (fma_test): Add more tests.
9501 (fma_test_towardzero): Likewise.
9502 (fma_test_downward): Likewise.
9503 (fma_test_upward): Likewise.
9504
4078da3d
TS
95052012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9506
9507 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
9508
903252aa
JM
95092012-10-31 Joseph Myers <joseph@codesourcery.com>
9510
9511 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
9512 New variable.
9513
cbc818d0
TS
95142012-10-31 Thomas Schwinge <thomas@codesourcery.com>
9515
9516 * rt/tst-shm.c (worker): Correct checking for mmap failure.
9517
5a03cb1e
AS
95182012-10-31 Andreas Schwab <schwab@linux-m68k.org>
9519
9520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9521 Fix sort order.
9522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9523 Likewise.
9524
90aff2ff
TMQMF
95252012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9526
9527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9528 Fix the order of the list for glibc 2.17.
9529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9530 Likewise.
9531
1818fcb7
AS
95322012-10-31 Andreas Schwab <schwab@linux-m68k.org>
9533
9534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9535
ef82f4da
JM
95362012-10-31 Joseph Myers <joseph@codesourcery.com>
9537
16a0e2ec
JM
9538 [BZ #14610]
9539 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
9540 for low part of x being zero before using __atanl (y).
9541 * math/libm-test.inc (atan2_test): Add another test.
9542
0eb69512
JM
9543 * manual/install.texi (Configuring and compiling): Document
9544 general use of test-wrapper and test-wrapper-env.
9545 * INSTALL: Regenerated.
9546
ef82f4da
JM
9547 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
9548 (__fma): Do not extract and scale down low bits on after-rounding
9549 systems when result rounded to normal precision would have normal
9550 exponent.
9551 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
9552 (__fmal): Do not extract and scale down low bits on after-rounding
9553 systems when result rounded to normal precision would have normal
9554 exponent.
9555 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
9556 (__fmal): Do not extract and scale down low bits on after-rounding
9557 systems when result rounded to normal precision would have normal
9558 exponent.
9559 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
9560 macro.
9561 (fma_test): Add more tests.
9562 (fma_test_towardzero): Likewise.
9563 (fma_test_downward): Likewise.
9564 (fma_test_upward): Likewise.
9565
954ef0d9
L
95662012-10-30 H.J. Lu <hongjiu.lu@intel.com>
9567
9568 * sysdeps/i386/tininess.h: Renamed to ...
9569 * sysdeps/x86/tininess.h: This.
9570 * sysdeps/x86_64/tininess.h: Removed.
9571
df61ffb2
JM
95722012-10-30 Joseph Myers <joseph@codesourcery.com>
9573
9574 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
9575 input. Use $(build-program-cmd).
9576 ($(objpfx)tst-array1-static.out): Likewise.
9577 ($(objpfx)tst-array2.out): Likewise.
9578 ($(objpfx)tst-array3.out): Likewise.
9579 ($(objpfx)tst-array4.out): Likewise.
9580 ($(objpfx)tst-array5.out): Likewise.
9581 ($(objpfx)tst-array5-static.out): Likewise.
9582
01767843
CM
95832012-10-30 Chris Metcalf <cmetcalf@tilera.com>
9584
47cc1490
CM
9585 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
9586 if defined.
9587
01767843
CM
9588 * nss/nsswitch.h (nss_interface_function): Provide new
9589 macro for use with NSS functions.
9590 * grp/initgroups.c: Use new macro.
9591 * nss/getXXbyYY.c: Likewise.
9592 * nss/getXXbyYY_r.c: Likewise.
9593 * nss/getXXent.c: Likewise.
9594 * nss/getXXent_r.c: Likewise.
9595 * sysdeps/posix/getaddrinfo.c: Likewise.
9596
8321aa97
AJ
95972012-10-30 Andreas Jaeger <aj@suse.de>
9598
9599 * po/ru.po: Update Russion translation from translation project.
9600
2a27fd6d
JM
96012012-10-30 Joseph Myers <joseph@codesourcery.com>
9602
8627a232
JM
9603 [BZ #14152]
9604 [BZ #14783]
9605 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
9606 result and shift together with sticky bit instead of replicating
9607 round-to-nearest rounding.
9608 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9609 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9610 * math/libm-test.inc (fma_test): Add more tests. Do not permit
9611 missing underflow exceptions.
9612 (fma_test_towardzero): Add more tests.
9613 (fma_test_downward): Likewise.
9614 (fma_test_upward): Likewise.
9615
2a27fd6d
JM
9616 [BZ #14047]
9617 * sysdeps/generic/tininess.h: New file.
9618 * sysdeps/i386/tininess.h: Likewise.
9619 * sysdeps/sh/tininess.h: Likewise.
9620 * sysdeps/x86_64/tininess.h: Likewise.
9621 * stdlib/tst-strtod-underflow.c: Likewise.
9622 * stdlib/tst-tininess.c: Likewise.
9623 * stdlib/strtod_l.c: Include <tininess.h>.
9624 (round_and_return): Do not set errno for exact underflow cases.
9625 Force an underflow exception when setting errno for underflow.
9626 Determine underflow based on rounding to normal precision if
9627 TININESS_AFTER_ROUNDING.
9628 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
9629 ERANGE for exact underflow cases.
9630 * stdlib/Makefile (tests): Add tst-tininess and
9631 tst-strtod-underflow.
9632 ($(objpfx)tst-tininess): Use $(link-libm).
9633 ($(objpfx)tst-strtod-underflow): Likewise.
9634
e7170363
AJ
96352012-10-30 Andreas Jaeger <aj@suse.de>
9636
e5088dc6
AJ
9637 [BZ#14767]
9638 * elf/Makefile (tests): Remove conditional for have-initfini-array
9639 since this is now always required and the variable does not exist
9640 anymore.
9641 (tests-static): Likewise.
9642 (modules-names): Likewise.
9643
e7170363 9644 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
9645
9646 * elf/tst-array1.c (fini_array): Make writeable so that it can be
9647 merged with constructor/destructor.
9648 (init_array): Likewise.
9649 * elf/tst-array2dep.c (fini_array): Likewise.
9650 (init_array): Likewise.
9651
60457d8a
MF
96522012-10-29 Mike Frysinger <vapier@gentoo.org>
9653
9654 * manual/message.texi: Delete @cartouche tags.
9655
8bece752
PT
96562012-10-29 Pino Toscano <toscano.pino@tiscali.it>
9657
94ce799f
PT
9658 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
9659 EOPNOTSUPP.
9660 * sysdeps/mach/hurd/fsync.c: Likewise.
9661
8bece752
PT
9662 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
9663 [_POSIX_REALTIME_SIGNALS]: Change condition to
9664 [_POSIX_REALTIME_SIGNALS > 0].
9665
86ebe6b1
AJ
96662012-10-27 Andreas Jaeger <aj@suse.de>
9667
9668 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
9669 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
9670 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
9671 [__WORDSIZE != 64]: Likewise.
9672
54399c08
L
96732012-10-26 H.J. Lu <hongjiu.lu@intel.com>
9674
9675 * iconvdata/tst-table.sh: Remove ${SHELL}.
9676 * iconvdata/tst-tables.sh: Likewise.
9677
e2211bed
DM
96782012-10-25 David S. Miller <davem@davemloft.net>
9679
9680 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9681 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
9682 of strtoull.
9683
f303f97c
DM
9684 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
9685 ifunc-impl-list.c
9686 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9687 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
9688 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
9689 file.
9690
1e9d84cd
RM
96912012-10-25 Roland McGrath <roland@hack.frob.com>
9692
9693 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9694 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
9695 __getdirentries.
9696
df381762
JM
96972012-10-25 Joseph Myers <joseph@codesourcery.com>
9698 Jim Blandy <jimb@codesourcery.com>
9699
9700 * scripts/cross-test-ssh.sh: New file.
9701 * manual/install.texi (Configuring and compiling): Document use of
9702 cross-test-ssh.sh.
9703 * INSTALL: Regenerated.
9704
bff64913
PT
97052012-10-25 Pino Toscano <toscano.pino@tiscali.it>
9706
9707 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
9708 EOPNOTSUPP.
9709
25fe8932
JM
97102012-10-25 Joseph Myers <joseph@codesourcery.com>
9711
9712 * Makeconfig (run-program-prefix): Fix comment.
9713
cc1290d0
JM
97142012-10-24 Joseph Myers <joseph@codesourcery.com>
9715 Jim Blandy <jimb@codesourcery.com>
9716
9717 * Makeconfig (test-wrapper): New variable,
9718 (test-wrapper-env): Likewise.
9719 [$(cross-compiling) = yes && $(test-wrapper) != ""]
9720 (run-built-tests): Define to yes.
9721 (run-program-prefix): Use $(test-wrapper).
9722 (built-program-cmd): Likewise.
9723 * Rules (make-test-out): Use $(test-wrapper-env) and
9724 $(host-built-program-cmd).
9725 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
9726 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
9727 tst-pathopt.sh.
9728 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
9729 $(test-wrapper-env) to tst-rtld-load-self.sh.
9730 ($(objpfx)order2.out): Use $(test-wrapper).
9731 ($(objpfx)tst-initorder.out): Likewise.
9732 ($(objpfx)tst-initorder2.out): Likewise.
9733 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
9734 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
9735 (test_wrapper_env): New variable. Use it to run ld.so.
9736 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
9737 Use it to run ld.so.
9738 (test_wrapper_env): Likewise.
9739 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
9740 $(test-wrapper) to run-iconv-test.sh.
9741 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
9742 (ICONV): Use $test_wrapper.
9743 * posix/Makefile ($(objpfx)globtest.out): Pass
9744 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
9745 globtest.sh, not $(run-program-prefix).
9746 * posix/globtest.sh (run_via_rtld_prefix): New variable.
9747 (test_wrapper): Likewise.
9748 (test_wrapper_env): Likewise. Use it to run globtest with HOME
9749 set together with run_via_rtld_prefix.
9750 (run_program_prefix): Define in terms of test_wrapper and
9751 run_via_rtld_prefix.
9752
6e6249d0
RM
97532012-10-24 Roland McGrath <roland@hack.frob.com>
9754
9755 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
9756 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
9757 Targets removed.
9758
9759 [BZ #14743]
9760 * include/time.h: Remove librt_hidden_proto (clock_gettime).
9761 Declare __clock_getres, __clock_gettime, __clock_settime,
9762 __clock_nanosleep, and __clock_getcpuclockid.
9763 * rt/clock_gettime.c: Define __clock_gettime as an alias.
9764 Remove librt_hidden_def (clock_gettime).
9765 * sysdeps/unix/clock_gettime.c: Likewise.
9766 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
9767 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9768 * rt/clock_getres.c: Define __clock_getres as an alias.
9769 * sysdeps/posix/clock_getres.c: Likewise.
9770 * rt/clock_settime.c: Define __clock_settime as an alias.
9771 * sysdeps/unix/clock_settime.c: Likewise.
9772 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
9773 * sysdeps/unix/clock_nanosleep.c: Likewise.
9774 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9775 * rt/clock-compat.c: New file.
9776 * rt/Makefile (librt-routines): Add clock-compat and move
9777 $(clock-routines) to ...
9778 (routines): ... here, new variable.
9779 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
9780 Don't add get_clockfreq here.
9781 * rt/Versions (libc: GLIBC_2.17): New version set.
9782 Add clock_* symbols here.
9783 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
9784 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
9785 (GLIBC_2.17): Add clock_* symbols.
9786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9787 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9788 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9790 Likewise.
9791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9792 Likewise.
9793 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9797 * NEWS: Mention the move.
9798
9799 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9800 Use __open, __read, __close rather than their public counterparts.
9801 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9802 (__get_clockfreq_via_cpuinfo): Likewise.
9803 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
9804 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
9805
9806 * config.h.in (HAVE_IFUNC): New #undef.
9807 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
9808 was successful.
9809 * configure: Regenerated.
9810
0cae3f4b
MF
98112012-10-24 Mike Frysinger <vapier@gentoo.org>
9812
9813 * configure.in: Move READELF check to start of file.
9814 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
9815 libc_cv_asm_gnu_indirect_function in the process.
9816 * configure: Regenerated.
9817
8175a253
MF
98182012-10-24 Mike Frysinger <vapier@gentoo.org>
9819
9820 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
9821 send the output to /dev/null.
9822 (libc_cv_cc_with_libunwind): Likewise.
9823 (libc_cv_as_noexecstack): Likewise.
9824 * configure: Regenerate.
9825
0708a7d1
JM
98262012-10-24 Joseph Myers <joseph@codesourcery.com>
9827
10b40d85
JM
9828 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
9829
0708a7d1
JM
9830 * posix/globtest.sh (TMPDIR): Do not set.
9831 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
9832 (testout): Likewise.
9833
9fddec1a
AJ
98342012-10-24 Andreas Jaeger <aj@suse.de>
9835
3a8db22f
AJ
9836 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
9837 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
9838 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
9839 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
9840 posix_fadvise64, posix_fallocate64.
9841
9fddec1a
AJ
9842 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
9843 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
9844 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
9845 Likewise.
9846 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
9847 Likewise.
9848 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
9849
9850 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
9851 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
9852 <bits/fcntl-linux.h>.
9853 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
9854
9855 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
9856 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
9857 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
9858 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
9859 [__WORDSIZE != 64]: Likewise.
9860
ebfd1bbd
JM
98612012-10-23 Joseph Myers <joseph@codesourcery.com>
9862
03ac099f
JM
9863 * Makeconfig (run-built-tests): New variable.
9864 * Rules [$(cross-compiling) = yes]: Change condition to
9865 [$(run-built-tests) = no].
9866 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
9867 to [$(run-built-tests) = yes].
9868 * elf/Makefile [$(cross-compiling) = no]: Likewise
9869 * grp/Makefile [$(cross-compiling) = no]: Likewise.
9870 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
9871 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
9872 * intl/Makefile [$(cross-compiling) = no]: Likewise.
9873 * io/Makefile [$(cross-compiling) = no]: Likewise.
9874 * libio/Makefile [$(cross-compiling) = no]: Likewise.
9875 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
9876 * misc/Makefile [$(cross-compiling) = no]: Likewise.
9877 * posix/Makefile [$(cross-compiling) = no]: Likewise.
9878 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
9879 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
9880 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
9881 * string/Makefile [$(cross-compiling) = no]: Likewise.
9882
ebfd1bbd
JM
9883 * posix/Makefile ($(objpfx)globtest.out): Pass
9884 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
9885 $(rtld-installed-name).
9886 * posix/globtest.sh (elf_objpfx): Remove variable.
9887 (rtld_installed_name): Likewise.
9888 (library_path): Likewise.
9889 (run_program_prefix): New variable. Use for running globtest
9890 binary.
9891
166bca24
JB
98922012-10-23 Jim Blandy <jimb@codesourcery.com>
9893 Joseph Myers <joseph@codesourcery.com>
9894
9895 * Makeconfig (host-built-program-cmd): New variable.
9896 * elf/Makefile (tst-stackguard1-ARGS): Use
9897 $(host-built-program-cmd).
9898 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
9899 (tst-spawn-ARGS): Likewise.
9900 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
9901
88866099
JM
99022012-10-23 Joseph Myers <joseph@codesourcery.com>
9903 Jim Blandy <jimb@codesourcery.com>
9904
9905 * Makeconfig (run-via-rtld-prefix): New variable.
9906 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
9907 (built-program-cmd): Likewise.
9908
b4b4c296
AJ
99092012-10-22 Andreas Jaeger <aj@suse.de>
9910
9911 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
9912 __O_RSYNC if it exists, otherwise to O_SYNC.
9913
6fb54a22
JB
99142012-10-22 Jim Blandy <jimb@codesourcery.com>
9915 Joseph Myers <joseph@codesourcery.com>
9916
9917 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
9918 /dev/null.
9919 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
9920 from /dev/null
9921 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
9922 /dev/null.
9923
481b90b9
AJ
99242012-10-22 Andreas Jaeger <aj@suse.de>
9925
2a0e2669
AJ
9926 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
9927 Define always.
9928 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
9929
76e38f9a
AJ
9930 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9931 bits/fcntl-linux.h.
9932
7cd37b43
AJ
9933 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
9934 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
9935
481b90b9
AJ
9936 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
9937 to __O_LARGEFILE.
9938 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
9939 to __O_LARGEFILE.
9940
aba75984
JB
99412012-10-21 Jim Blandy <jimb@codesourcery.com>
9942 Joseph Myers <joseph@codesourcery.com>
9943
9944 * config.make.in (NM): New variable.
9945
88d4247f
AJ
99462012-10-21 Andreas Jaeger <aj@suse.de>
9947
9948 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
9949 definitions and declarations that are provided by
9950 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9951
f2eed205
L
99522012-10-20 H.J. Lu <hongjiu.lu@intel.com>
9953
9954 [BZ #14683]
9955 * elf/Makefile (tests-static): Add tst-leaks1-static.
9956 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
9957 ($(objpfx)tst-leaks1-static): New rule.
9958 ($(objpfx)tst-leaks1-static-mem): Likewise.
9959 (tst-leaks1-static-ENV): New macro.
9960 * elf/dl-open.c (dl_open_worker): Check the main application
9961 only if SHARED is defined.
9962 * elf/tst-leaks1-static.c: New file.
9963
335e6931
AJ
99642012-10-20 Andreas Jaeger <aj@suse.de>
9965
9966 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
9967 generic values for Linux.
9968 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
9969 and declarations that are provided by <bits/fcntl-linux.h> and
9970 include <bits/fcntl-linux.h>.
9971 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9972 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9973
ac5c94d3
RM
99742012-10-20 Roland McGrath <roland@hack.frob.com>
9975
9976 * io/fcntl.h: Move include of <bits/types.h> to the top and
9977 include it unconditionally.
9978
de54b33a
L
99792012-10-20 H.J. Lu <hongjiu.lu@intel.com>
9980
228cfb01
L
9981 * wcsmbs/Makefile (tests-ifunc): New variable.
9982 (tests): Add $(tests-ifunc).
9983 * wcsmbs/test-wcschr-ifunc.c: New file.
9984 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9985 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9986 * wcsmbs/test-wcslen-ifunc.c: Likewise.
9987 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9988 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9989
69f07e5f
L
9990 * string/Makefile (tests-ifunc): New variable.
9991 (tests): Add $(tests-ifunc).
9992 * string/test-memccpy.c (TEST_NAME): New macro.
9993 * string/test-memchr.c (TEST_NAME): Likewise.
9994 * string/test-memcmp.c (TEST_NAME): Likewise.
9995 * string/test-memcpy.c (TEST_NAME): Likewise.
9996 * string/test-memmem.c (TEST_NAME): Likewise.
9997 * string/test-memmove.c (TEST_NAME): Likewise.
9998 * string/test-memset.c (TEST_NAME): Likewise.
9999 * string/test-rawmemchr.c (TEST_NAME): Likewise.
10000 * string/test-stpcpy.c (TEST_NAME): Likewise.
10001 * string/test-stpncpy.c (TEST_NAME): Likewise.
10002 * string/test-strcasecmp.c (TEST_NAME): Likewise.
10003 * string/test-strcasestr.c (TEST_NAME): Likewise.
10004 * string/test-strcat.c (TEST_NAME): Likewise.
10005 * string/test-strchr.c (TEST_NAME): Likewise.
10006 * string/test-strcmp.c(TEST_NAME): Likewise.
10007 * string/test-strcpy.c (TEST_NAME): Likewise.
10008 * string/test-strcspn.c (TEST_NAME): Likewise.
10009 * string/test-strlen.c (TEST_NAME): Likewise.
10010 * string/test-strncasecmp.c (TEST_NAME): Likewise.
10011 * string/test-strncmp.c (TEST_NAME): Likewise.
10012 * string/test-strncpy.c (TEST_NAME): Likewise.
10013 * string/test-strnlen.c (TEST_NAME): Likewise.
10014 * string/test-strpbrk.c (TEST_NAME): Likewise.
10015 * string/test-strrchr.c (TEST_NAME): Likewise.
10016 * string/test-strspn.c (TEST_NAME): Likewise.
10017 * string/test-strstr.c (TEST_NAME): Likewise.
10018 * string/test-bcopy-ifunc.c: New file.
10019 * string/test-bzero-ifunc.c: Likewise.
10020 * string/test-memccpy-ifunc.c: Likewise.
10021 * string/test-memchr-ifunc.c: Likewise.
10022 * string/test-memcmp-ifunc.c: Likewise.
10023 * string/test-memcpy-ifunc.c: Likewise.
10024 * string/test-memmem-ifunc.c: Likewise.
10025 * string/test-memmove-ifunc.c: Likewise.
10026 * string/test-mempcpy-ifunc.c: Likewise.
10027 * string/test-memset-ifunc.c: Likewise.
10028 * string/test-rawmemchr-ifunc.c: Likewise.
10029 * string/test-stpcpy-ifunc.c: Likewise.
10030 * string/test-stpncpy-ifunc.c: Likewise.
10031 * string/test-strcasecmp-ifunc.c: Likewise.
10032 * string/test-strcasestr-ifunc.c: Likewise.
10033 * string/test-strcat-ifunc.c: Likewise.
10034 * string/test-strchr-ifunc.c: Likewise.
10035 * string/test-strchrnul-ifunc.c: Likewise.
10036 * string/test-strcmp-ifunc.c: Likewise.
10037 * string/test-strcpy-ifunc.c: Likewise.
10038 * string/test-strcspn-ifunc.c: Likewise.
10039 * string/test-strlen-ifunc.c: Likewise.
10040 * string/test-strncasecmp-ifunc.c: Likewise.
10041 * string/test-strncat-ifunc.c: Likewise.
10042 * string/test-strncmp-ifunc.c: Likewise.
10043 * string/test-strncpy-ifunc.c: Likewise.
10044 * string/test-strnlen-ifunc.c: Likewise.
10045 * string/test-strpbrk-ifunc.c: Likewise.
10046 * string/test-strrchr-ifunc.c: Likewise.
10047 * string/test-strspn-ifunc.c: Likewise.
10048 * string/test-strstr-ifunc.c: Likewise.
10049
de54b33a
L
10050 * debug/Makefile (tests-ifunc): New variable.
10051 (tests): Add $(tests-ifunc).
10052 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
10053 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
10054 * debug/test-stpcpy_chk-ifunc.c: New file.
10055 * debug/test-strcpy_chk-ifunc.c: Likewise.
10056
88481c16
SP
100572012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10058
10059 [BZ #13601]
10060 * elf/dl-load.c (open_verify): Retry read if the entire ELF
10061 header is not read in.
10062
135948bd
JM
100632012-10-19 Joseph Myers <joseph@codesourcery.com>
10064
89f1c388
JM
10065 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
10066 script to $(SHELL) as $<. Pass $(common-objpfx) to script
10067 directly. Pass built executable to script as
10068 $(built-program-cmd).
10069 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
10070 $testprogram without using LD_LIBRARY_PATH and $ldso.
10071
e40a0d21
JM
10072 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
10073 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
10074 $(rtld-installed-name).
10075 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
10076 (rtld_installed_name): Likewise.
10077 (library_path): Likewise.
10078 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
10079 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
10080 $(run-program-prefix) to tst-tables.sh.
10081 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
10082 it to run tst-table-from and tst-table-to.
10083 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
10084 Pass it to tst-table.sh.
10085 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
10086 $(run-program-prefix) to tst-gettext.sh.
10087 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
10088 tst-translit.sh.
10089 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
10090 tst-gettext2.sh.
10091 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
10092 to run tst-gettext.
10093 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
10094 to run tst-gettext2.
10095 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
10096 to run tst-translit.
10097 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
10098 $(run-program-prefix) to tst-mtrace.sh.
10099 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
10100 to run tst-mtrace.
10101 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
10102 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
10103 $(rtld-installed-name).
10104 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
10105 (rtld_installed_name): Likewise.
10106 (run_program_prefix): New variable. Use it to run wordexp-test.
10107
728e272a
JM
10108 * Makeconfig (ARCH): Remove all definitions.
10109 (machine): Likewise.
10110 [ARCH]: Remove conditional code.
10111 [!objdir]: Give error.
10112 [!objdir] (objpfx): Remove.
10113 [!objdir] (common-objpfx): Likewise.
10114 [!objdir] (common-objdir): Likewise.
10115 * configure.in (config_makefile): Remove. Hardcode Makefile in
10116 AC_CONFIG_FILES call.
10117 * configure: Regenerated.
10118
d528cdcf
JM
10119 [BZ #13888]
10120 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
10121 or TMPDIR.
10122 (testout): Likewise.
10123
135948bd
JM
10124 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
10125 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
10126 $(rtld-installed-name).
10127 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
10128 (rtld_installed_name): Likwise.
10129 (runit): Remove function.
10130 (run_getconf): New variable, Use it for running getconf binary.
10131
38c78296
L
101322012-10-18 H.J. Lu <hongjiu.lu@intel.com>
10133
10134 [BZ #14716]
10135 * string/test-memmem.c (check_result): New function.
10136 (do_one_test): Use it.
10137 (check1): New function.
10138 (test_main): Use it.
10139
d077f65f
MT
101402012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
10141
10142 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
10143
ced52c71
JM
101442012-10-18 Joseph Myers <joseph@codesourcery.com>
10145
10146 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
10147 (_G_LSEEK64): Likewise.
10148 (_G_MMAP64): Likewise.
10149 (_G_FSTAT64): Likewise.
10150 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
10151 (_G_LSEEK64): Likewise.
10152 (_G_MMAP64): Likewise.
10153 (_G_FSTAT64): Likewise.
10154 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
10155 unconditional. Call __mmap64 directly.
10156 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
10157 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
10158 __lseek64 directly.
10159 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
10160 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
10161 __mmap64 directly.
10162 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
10163 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
10164 __lseek64 directly.
10165 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
10166 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
10167 __lseek64 directly.
10168 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
10169 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
10170 __lseek64 directly.
10171 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
10172 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
10173 __fxstat64 directly.
10174 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
10175 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
10176 unconditional.
10177 (freopen64) [!_G_OPEN64]: Remove conditional code.
10178 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
10179 unconditional.
10180 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
10181 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
10182 unconditional.
10183 (ftello64) [!_G_LSEEK64]: Remove conditional code.
10184 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
10185 unconditional.
10186 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10187 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
10188 unconditional.
10189 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
10190 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
10191 unconditional.
10192 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10193 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
10194 unconditional.
10195 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10196 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
10197 unconditional.
10198 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10199
b741de23
SP
102002012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10201
10202 [BZ #12140]
10203 * manual/memory.texi (Malloc Tunable Parameters): Add note
10204 about free list pointers overwriting some perturb bytes.
10205 Wording suggested by Roland McGrath.
10206
f9b9d9c9
JM
102072012-10-17 Joseph Myers <joseph@codesourcery.com>
10208
10209 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
10210 (lgamma_test): Likewise.
10211 (tgamma_test): Likewise.
10212
172a631a
FW
102132012-10-16 Florian Weimer <fweimer@redhat.com>
10214
10215 [BZ #14700]
10216 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
10217 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
10218
e9f37252
MK
102192012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
10220
10221 * NEWS: Mention BZ #14716.
10222 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
10223 when removing AVAILABLE1_USES_J macro.
10224
d394eb74
L
102252012-10-12 H.J. Lu <hongjiu.lu@intel.com>
10226
10227 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
10228 (__bswap_64): __uint64_t for unsigned 64-bit int.
10229
ca38dc17
AS
102302012-10-12 Andreas Schwab <schwab@linux-m68k.org>
10231
10232 * include/string.h (memmem): Declare libc hidden alias.
10233 * string/memmem.c (memmem): Define libc hidden alias.
10234 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
10235 __read, __close instead of open, read, close.
10236
9a387d1f
L
102372012-10-11 H.J. Lu <hongjiu.lu@intel.com>
10238
ac49ecaf
L
10239 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
10240 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
10241 global and hidden.
10242 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
10243 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
10244 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
10245 Likewise.
10246 (__rawmemchr_sse2): Likewise.
10247 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
10248 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
10249 (__strchr_sse2): Likewise.
10250 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
10251 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
10252 (__strcasecmp_sse2): Likewise.
10253 (__strncasecmp_sse2): Likewise.
10254 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
10255 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
10256 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
10257 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
10258 (__strrchr_sse2): Likewise.
10259 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
10260 ifunc-impl-list.c.
10261 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10262 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10263 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10264 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10265 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10266 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10267 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10268 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10269 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
10270 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
10271 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
10272 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
10273 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
10274 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10275 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10276 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10277 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10278 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10279 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
10280 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
10281 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
10282 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
10283 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
10284 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10285 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
10286 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10287 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10288 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10289 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10290 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10291
b090e8ea
L
10292 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
10293 global and hidden.
10294 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
10295 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
10296 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
10297 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
10298 Likewise.
10299 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
10300 Likewise.
10301 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
10302 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
10303 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
10304 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
10305 ifunc-impl-list.c.
10306 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10307 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10308 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10309 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10310 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10311 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10312 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10313 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10314 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10315 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10316 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10317 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10318 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10319 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
10320 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
10321 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10322 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
10323 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
10324 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10325 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10326 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10327 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10328 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10329 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10330 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10331 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
10332 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
10333 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
10334 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
10335 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10336 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
10337 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10338 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10339 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
10340 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10341 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10342 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10343 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10344 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10345 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10346 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
10347
11dd4af6
L
10348 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
10349 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
10350 * include/ifunc-impl-list.h: New file.
10351 * misc/ifunc-impl-list.c: Likewise.
10352 * misc/Makefile (routines): Add ifunc-impl-list.
10353 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
10354 * string/test-string.h: Include <ifunc-impl-list.h>.
10355 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
10356 impl_array): New variables.
10357 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
10358 are defined.
10359 (test_init): Call __libc_ifunc_impl_list to initialize
10360 func_list if TEST_IFUNC and TEST_NAME are defined.
10361
9a387d1f
L
10362 * string/Makefile (strop-tests): Add bcopy and bzero.
10363 * string/test-bcopy.c: New file.
10364 * string/test-bzero.c: Likewise.
10365 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
10366 defined.
10367 * string/test-memset.c: Support bzero test if TEST_BZERO is
10368 defined.
10369 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
10370 __libc_memmove.
10371 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
10372 __libc_memset.
10373 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
10374 of memset.
10375
472371b9
JM
103762012-10-10 Joseph Myers <joseph@codesourcery.com>
10377
1e4a9536
JM
10378 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
10379 * configure: Regenerated.
10380
d173d12e
JM
10381 * Makeconfig (+link-static-before-libc): Don't include
10382 $(link-static-libc).
10383
472371b9
JM
10384 * libio/libio.h (_IO_pos_t): Remove.
10385
89a3ad0b
AO
103862012-10-10 Alexandre Oliva <aoliva@redhat.com>
10387
10388 * NEWS: Add note about FIPS mode. Wording suggested by Roland
10389 McGrath.
10390
e7451425
AO
103912012-10-10 Alexandre Oliva <aoliva@redhat.com>
10392
10393 * crypt/crypt-entry.c: Include fips-private.h.
10394 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
10395 * crypt/md5c-test.c (main): Tolerate disabled MD5.
10396 * sysdeps/unix/sysv/linux/fips-private.h: New file.
10397 * sysdeps/generic/fips-private.h: New file, dummy fallback.
10398
4ba74a35
AO
103992012-10-10 Alexandre Oliva <aoliva@redhat.com>
10400
10401 * crypt/crypt-private.h: Include stdbool.h.
10402 (_ufc_setup_salt_r): Return bool.
10403 * crypt/crypt-entry.c: Include errno.h.
10404 (__crypt_r): Return NULL with EINVAL for bad salt.
10405 * crypt/crypt_util.c (bad_for_salt): New.
10406 (_ufc_setup_salt_r): Check that salt is long enough and within
10407 the specified alphabet.
10408 * crypt/badsalttest.c: New file.
10409 * crypt/Makefile (tests): Add it.
10410 ($(objpfx)badsalttest): New.
10411
f96f1242
MK
104122012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
10413
10414 * NEWS: Add entry for BZ #14602.
10415
0e8e0c1c
JM
104162012-10-09 Joseph Myers <joseph@codesourcery.com>
10417
10418 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
10419 type-generic.
10420 * math/libm-test.inc: Update comment listing what functions and
10421 macros are tested.
10422 (isgreater_test): New function.
10423 (isgreaterequal_test): Likewise.
10424 (isless_test): Likewise.
10425 (islessequal_test): Likewise.
10426 (islessgreater_test): Likewise.
10427 (isunordered_test): Likewise.
10428 (main): Call the new functions.
10429
273edc5e
RM
104302012-10-09 Roland McGrath <roland@hack.frob.com>
10431
b8493de0
RM
10432 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
10433 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
10434 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
10435 * sysdeps/i386/configure: Regenerated.
10436 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
10437 * sysdeps/mach/configure: Regenerated.
10438 * sysdeps/mach/hurd/configure: Regenerated.
10439 * sysdeps/powerpc/configure: Regenerated.
10440 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10441 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10442 * sysdeps/s390/s390-32/configure: Regenerated.
10443 * sysdeps/s390/s390-64/configure: Regenerated.
10444 * sysdeps/sh/configure: Regenerated.
10445 * sysdeps/sparc/configure: Regenerated.
10446 * sysdeps/unix/sysv/linux/configure: Regenerated.
10447 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10448 * sysdeps/x86_64/configure: Regenerated.
10449
273edc5e
RM
10450 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
10451 defined. Don't check if MAP is NULL.
10452
c8450f70
JM
104532012-10-09 Joseph Myers <joseph@codesourcery.com>
10454
10455 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
10456 (_G_stat64): Likewise.
10457 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
10458 (_G_stat64): Likewise.
10459 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
10460 instead of struct _G_stat64.
10461 * libio/fileops.c (mmap_remap_check): Likewise.
10462 (decide_maybe_mmap): Likewise.
10463 (_IO_new_file_seekoff): Likewise.
10464 (_IO_file_stat): Likewise.
10465 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
10466 _G_off64_t.
10467 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
10468 instead of struct _G_stat64.
10469 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10470
57e605ba
MK
104712012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
10472
10473 [BZ #14602]
10474 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10475 Replace with ...
10476 (CHECK_EOL): New macro.
10477 (two_way_short_needle): Check beginning of haystack for EOL. Use
10478 CHECK_EOL.
10479 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10480 Replace with CHECK_EOL.
10481 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10482 Replace with CHECK_EOL.
10483
ef1bb361
JM
104842012-10-08 Joseph Myers <joseph@codesourcery.com>
10485
10486 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
10487 type-generic.
10488 * math/libm-test.inc: Update comment listing what functions and
10489 macros are tested.
10490 (finite_test): New function.
10491 (isinf_test): Likewise.
10492 (isnan_test): Likewise.
10493 (fpclassify_test): Test subnormal input.
10494 (isfinite_test): Likewise.
10495 (isnormal_test): Likewise.
10496 (main): Call the new functions.
10497
55f11534
JN
104982012-10-08 Jonathan Nieder <jrnieder@gmail.com>
10499
10500 [BZ #14660]
10501 * Makerules (%.dynsym): Force C locale when running
10502 $(OBJDUMP) --dynamic-syms.
10503
1ab29350
AS
105042012-10-08 Andreas Schwab <schwab@linux-m68k.org>
10505
10506 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
10507 <stdint.h>.
10508
f1ecb7ef
DM
105092012-10-06 David S. Miller <davem@davemloft.net>
10510
10511 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
10512 upper 32-bits of the length value in %o2 since we use branch-on-register
10513 tests which consider the entire 64-bit register.
10514
5d41d91a
L
105152012-10-06 H.J. Lu <hongjiu.lu@intel.com>
10516
10517 * string/test-strstr.c (check2): Add a test for page boundary.
10518
3baddb72
DM
105192012-10-05 David S. Miller <davem@davemloft.net>
10520
10521 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
10522 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
10523 file.
10524 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10525 sysdep_routines.
10526 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10527 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
10528 and bzero when HWCAP_SPARC_CRYPTO is present.
10529
9cee5585
L
105302012-10-05 H.J. Lu <hongjiu.lu@intel.com>
10531
d7e0dab9
L
10532 [BZ #14602]
10533 * string/test-strstr.c (check2): New function.
10534 (test_main): Call check2.
10535
03759f47
L
10536 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
10537 and bug-strchr1.
10538 * string/bug-strcasestr1.c (do_test): Moved to ...
10539 * string/test-strcasestr.c (check1): Here. New function.
10540 (do_one_test): Break out result checking code into ...
10541 (check_result): This. New function.
10542 (do_one_test): Call check_result.
10543 (test_main): Call check1.
10544 * string/bug-strchr1.c (do_test): Moved to ...
10545 * string/test-strchr.c (check1): Here. New function.
10546 (do_one_test): Break out result checking code into ...
10547 (check_result): This. New function.
10548 (do_one_test): Call check_result.
10549 (test_main): Call check1.
10550 * string/bug-strstr1.c (main): Moved to ...
046f153e 10551 * string/test-strstr.c (check1): Here. New function.
03759f47
L
10552 (do_one_test): Break out result checking code into ...
10553 (check_result): This. New function.
10554 (do_one_test): Call check_result.
10555 (test_main): Call check1.
10556 * string/bug-strcasestr1.c: Removed.
10557 * string/bug-strchr1.c: Likewise.
10558 * string/bug-strstr1.c: Likewise.
10559
53cea63e
L
10560 * elf/Makefile (dl-routines): Add hwcaps.
10561 * elf/dl-support.c (_dl_important_hwcaps): Removed.
10562 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
10563 (_dl_important_hwcaps): Moved to ...
10564 * elf/dl-hwcaps.c: Here. New file.
10565 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
10566
9cee5585 10567 [BZ #14557]
bb859b06
L
10568 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
10569 if IS_IN_rtld isn't defined.
10570
9cee5585
L
10571 * elf/dl-support.c (_dl_sysinfo_map): New.
10572 Include "get-dynamic-info.h" and "setup-vdso.h".
10573 (_dl_non_dynamic_init): Call setup_vdso.
10574 * elf/dynamic-link.h: Don't include <assert.h>.
10575 (elf_get_dynamic_info): Moved to ...
10576 * elf/get-dynamic-info.h: Here. New file.
10577 * elf/dynamic-link.h: Include "get-dynamic-info.h".
10578 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
10579 * elf/setup-vdso.h: Here. New file.
10580 * elf/rtld.c: Include "setup-vdso.h".
10581 (dl_main): Call setup_vdso.
10582
23c31b76
JM
105832012-10-05 Joseph Myers <joseph@codesourcery.com>
10584
28234b07
JM
10585 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
10586 creal in comment listing functions tested. List finite, isinf,
10587 isnan, isless, islessequal, isgreater, isgreaterequal,
10588 islessgreater, isunordered, lgamma_r and pow10 as functions and
10589 macros not tested. Mention which functions not tested are aliases
10590 for other functions. Fix typo. Note that signs of NaNs are not
10591 tested.
10592
23c31b76
JM
10593 * scripts/config.guess: Update from config.git.
10594 * scripts/config.sub: Likewise.
10595
9043e228
RM
105962012-10-04 Roland McGrath <roland@hack.frob.com>
10597
10598 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
10599 * misc/madvise.c (madvise): Renamed to __madvise.
10600 Make madvise a weak alias.
10601 * include/sys/mman.h: Declare __madvise.
10602 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
10603 * sysdeps/unix/syscalls.list
10604 (madvise): Make __madvise the strong name, and madvise a weak alias.
10605 * sysdeps/unix/sysv/linux/syscalls.list
10606 (madvise, mmap): Remove redundant entries.
10607 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
10608 * malloc/malloc.c (mtrim): Likewise.
10609 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
10610
f57f8055
RM
106112012-10-03 Roland McGrath <roland@hack.frob.com>
10612
10613 * sysdeps/mach/hurd/dl-cache.c: File removed.
10614 * config.h.in (USE_LDCONFIG): New #undef.
10615 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
10616 * configure: Regenerated.
10617 * elf/Makefile (dl-routines): Add dl-cache only under
10618 [$(use-ldconfig) = yes].
10619 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
10620 cache on [USE_LDCONFIG].
10621 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
10622 [USE_LDCONFIG].
10623 * elf/rtld.c (dl_main): Likewise.
10624
5bb0c10a
PT
106252012-10-03 Pino Toscano <toscano.pino@tiscali.it>
10626
10627 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
10628 _SC_LEVEL4_CACHE_LINESIZE.
10629
010188c6
RM
106302012-10-03 Roland McGrath <roland@hack.frob.com>
10631
10632 * sysdeps/unix/bsd/confstr.h: File removed.
10633
b6c5ec07
AO
106342012-10-02 Alexandre Oliva <aoliva@redhat.com>
10635
10636 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
10637 sys/sdt-config.h.
10638
408223d4
RM
106392012-10-02 Roland McGrath <roland@hack.frob.com>
10640
10641 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
10642 Make 'mapoff' field ElfW(Off) rather than off_t.
10643
bb9510dc
DL
106442012-10-02 Dmitry V. Levin <ldv@altlinux.org>
10645
fc997c6e
DL
10646 * nscd/Makefile: Remove nscd-cflags and all its users.
10647 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
10648 (CFLAGS-nonlib): Add compiler flags for nscd modules.
10649
bb9510dc
DL
10650 [BZ #10631]
10651 * malloc.c (malloc_printerr): Clarify error message.
10652
05699367
L
106532012-10-02 H.J. Lu <hongjiu.lu@intel.com>
10654
10655 [BZ #14648]
10656 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10657 Set bit_FMA_Usable if FMA is supported.
10658 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
10659 macro.
10660 (bit_FMA4_Usable): Updated.
10661 (index_FMA_Usable): New macro.
10662 (CPUID_FMA): Likewise
10663 (HAS_FMA): Defined with bit_FMA_Usable.
10664
51367701
RM
106652012-10-01 Roland McGrath <roland@hack.frob.com>
10666
10667 * bits/types.h (__swblk_t): Type removed.
10668 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
10669 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
10670 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10671 (__SWBLK_T_TYPE): Likewise.
10672 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10673 (__SWBLK_T_TYPE): Likewise.
10674 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10675 (__SWBLK_T_TYPE): Likewise.
10676 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10677 (__SWBLK_T_TYPE): Likewise.
10678
4d57bf63 106792012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 10680 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
10681
10682 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
10683 (xdr_mapname): Use YPMAXMAP as maxsize.
10684 (xdr_peername): Use YPMAXPEER as maxsize.
10685 (xdr_keydat): Use YPAXRECORD as maxsize.
10686 (xdr_valdat): Use YPMAXRECORD as maxsize.
10687
93c65d43
RM
106882012-10-01 Roland McGrath <roland@hack.frob.com>
10689
497a03d6
RM
10690 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
10691
93c65d43
RM
10692 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
10693 * csu/init-first.c: ... here.
10694 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
10695 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
10696 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10697 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10698 * sysdeps/i386/init-first.c: File removed.
10699 * sysdeps/sh/init-first.c: File removed.
10700
bec749fd
JM
107012012-10-01 Joseph Myers <joseph@codesourcery.com>
10702
10703 [BZ #14645]
10704 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
10705 if x * y might underflow to zero and z is zero.
10706 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10707 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10708 * math/libm-test.inc (min_subnorm_value): New variable.
10709 (fma_test): Add more tests.
10710 (fma_test_towardzero): Likewise.
10711 (fma_test_downward): Likewise
10712 (fma_test_upward): Likewise.
10713 (initialize): Set min_subnorm_value.
10714
8ec5b013
JM
107152012-09-29 Joseph Myers <joseph@codesourcery.com>
10716
10717 [BZ #14638]
10718 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
10719 0 + 0.
10720 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
10721 mode for addition resulting in exact zero.
10722 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
10723 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
10724 exact 0 + 0.
10725 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10726 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10727 * math/libm-test.inc (fma_test): Add more tests.
10728 (fma_test_towardzero): New function.
10729 (fma_test_downward): Likewise.
10730 (fma_test_upward): Likewise.
10731 (main): Call the new functions.
10732
b1fa802e
DM
107332012-09-28 David S. Miller <davem@davemloft.net>
10734
10735 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
10736
d3b9fd9e
RM
107372012-09-28 Roland McGrath <roland@hack.frob.com>
10738
ea4d37b3
RM
10739 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
10740 instead of SIGALRM.
10741
ac51c949
RM
10742 * sysdeps/gnu/_G_config.h: Moved to ...
10743 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
10744 * sysdeps/mach/hurd/_G_config.h: Moved to ...
10745 * sysdeps/generic/_G_config.h: ... here.
10746
28c195f7
RM
10747 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
10748
848917f9
RM
10749 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
10750
6bacf05b
RM
10751 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
10752 Conditionalize target on [libnss_test1.so-version].
10753
91363dbb
RM
10754 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
10755
cc87f7d8
RM
10756 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
10757 (elfobjdir): Move out of conditionals.
10758
b1c608fe
RM
10759 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
10760 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
10761 (__nss_lookup_function): Conditionalize label remove_from_tree on
10762 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 10763
1d9a6d96
DM
107642012-09-28 David S. Miller <davem@davemloft.net>
10765
10766 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
10767 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
10768 file.
10769 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10770 sysdep_routines.
10771 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10772 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
10773 when HWCAP_SPARC_CRYPTO is present.
10774
72581615
PT
107752012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10776
10777 * io/tst-mknodat.c: Create a FIFO instead of a socket.
10778
715a900c
JL
107792012-09-28 Andreas Schwab <schwab@linux-m68k.org>
10780
10781 [BZ #6530]
10782 * stdio-common/vfprintf.c (process_string_arg): Revert
10783 2000-07-22 change.
10784
107852011-09-28 Jonathan Nieder <jrnieder@gmail.com>
10786
10787 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
10788 for testcase.
10789 * stdio-common/tst-sprintf.c: Include <locale.h>
10790 (main): Test sprintf's handling of incomplete multibyte
10791 characters.
10792
9bac1d86
L
107932012-09-28 H.J. Lu <hongjiu.lu@intel.com>
10794
10795 * elf/dl-runtime.c (VERSYMIDX): Removed.
10796 * elf/dl-version.c (VERSYMIDX): Likewise.
10797 * elf/do-rel.h (VERSYMIDX): Likewise.
10798 (VALIDX): Likewise.
10799 * elf/dynamic-link.h (VERSYMIDX): Likewise.
10800 * elf/rtld.c (VALIDX): Likewise.
10801 (ADDRIDX): Likewise.
9bac1d86
L
10802 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
10803 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
10804 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
10805 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
10806 (VALIDX): Likewise.
10807 (ADDRIDX): Likewise.
9bac1d86 10808
b31606c0
PT
108092012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10810
10811 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
10812
11541177
JL
108132012-09-28 Dmitry V. Levin <ldv@altlinux.org>
10814
10815 [BZ #11438]
10816 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
10817 to global scope.
10818 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
10819 addresses are in the same scope as 192.0.2/24.
10820 * posix/gai.conf: Document new scope table defaults.
10821
adb26fae
SP
108222012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10823
10824 [BZ #5298]
10825 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
10826 for ftell. Compute offsets from write pointers instead.
10827 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10828
4573c6b0
SP
108292012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10830
10831 [BZ #14543]
10832 * libio/Makefile (tests): New test case tst-fseek.
10833 * libio/tst-fseek.c: New test case to verify that fseek/ftell
10834 combination works in wide mode.
10835 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
10836 state when the external buffer state changes.
10837
aa9bbfe6
DM
108382012-09-27 David S. Miller <davem@davemloft.net>
10839
10840 [BZ #14376]
10841 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
10842 pass reloc->r_addend in as the 'high' argument to
10843 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
10844
784421e7
DM
10845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10846
c39bc8b8
PT
108472012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10848
10849 * rt/tst-aio2.c: Include <pthread.h>.
10850 * rt/tst-aio3.c: Likewise.
10851
1ccc2399
SE
108522012-09-27 Steve Ellcey <sellcey@mips.com>
10853
10854 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
10855
31ed4153
L
108562012-09-27 H.J. Lu <hongjiu.lu@intel.com>
10857
25f5f885
L
10858 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
10859 contents on [SHARED].
31ed4153 10860
b7bfe116
MP
108612012-09-26 Marek Polacek <polacek@redhat.com>
10862
10863 [BZ #14530]
10864 [BZ #13741]
10865 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
10866 for C++ and GCC <4.3 as well as for non GCC compilers.
10867
43c4edba
MT
108682012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10869
10870 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10871
6a1bf82f
RM
108722012-09-25 Roland McGrath <roland@hack.frob.com>
10873
10874 * Makefile.in (all, install): Declare with .PHONY.
10875 Reported by Michael Hope <michael.hope@linaro.org>.
10876
8ad11b9a
TMQMF
108772012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10878
10879 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
10880 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
10881 system header.
10882 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
10883 Likewise.
10884 (sydep_routines): Add the new and the internal functions.
10885 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
10886 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
10887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
10888 (GLIBC_2.17): Add the new function.
10889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10890 (GLIBC_2.17): Likewise.
10891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
10892 (GLIBC_2.17): Likewise.
10893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
10894 (GLIBC_2.17): Likewise.
10895 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
10896
7e2fca8d
AM
108972012-09-25 Alan Modra <amodra@gmail.com>
10898
10899 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
10900 Add release barrier before setting once_control to say
10901 initialisation is done. Add hints on lwarx. Use macro in
10902 place of isync.
10903 (clear_once_control): Add release barrier.
10904
b87c4b24
JM
109052012-09-25 Joseph Myers <joseph@codesourcery.com>
10906
d032e0d2
JM
10907 [BZ #13629]
10908 * math/s_clog.c (__clog): Handle more values close to |z| = 1
10909 specially.
10910 * math/s_clog10.c (__clog10): Likewise.
10911 * math/s_clog10f.c (__clog10f): Likewise.
10912 * math/s_clog10l.c (__clog10l): Likewise.
10913 * math/s_clogf.c (__clogf): Likewise.
10914 * math/s_clogl.c (__clogl): Likewise.
10915 * math/Makefile (libm-calls): Add x2y2m1.
10916 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
10917 (__x2y2m1): Likewise.
10918 (__x2y2m1l): Likewise.
10919 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
10920 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
10921 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10922 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10923 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
10924 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10925 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
10926 * sysdeps/i386/fpu/libm-test-ulps: Update.
10927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10928
b87c4b24
JM
10929 [BZ #14621]
10930 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
10931 int as type of variable DEPTH.
10932 (glob): Use size_t instead of int as type of variables NEWCOUNT
10933 and OLD_PATHC.
10934
6d3bf199
LD
109352012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10936
22bf5c17
LD
10937 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10938 Add s_sincosf-sse2.
10939 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
10940 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
10941 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
10942 macros for using routine as __sincosf_ia32.
10943 Use macro for function declaration and weak_alias.
10944 * sysdeps/i386/fpu/libm-test-ulps: Update.
10945
10946 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
10947 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10948
10949 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
10950 subnormal argument.
10951 * math/s_cexpf.c (__cexpf): Likewise.
10952 * math/s_csinf.c (__csinf): Likewise.
10953 * math/s_csinhf.c (__csinhf): Likewise.
10954 * math/s_ctanf.c (__ctanf): Likewise.
10955 * math/s_ctanhf.c (__ctanhf): Likewise.
10956 * math/s_ccosh.c (__ccoshf): Likewise.
10957 * math/s_cexp.c (__cexpl): Likewise.
10958 * math/s_csin.c (__csin): Likewise.
10959 * math/s_csinh.c (__csinh): Likewise.
10960 * math/s_ctan.c (__ctan): Likewise.
10961 * math/s_ctanh.c (ctanh): Likewise.
10962 * math/s_ccoshl.c (__ccoshl): Likewise.
10963 * math/s_cexpl.c (__cexpl): Likewise.
10964 * math/s_csinl.c (__csinl): Likewise.
10965 * math/s_csinhl.c (__csinhl): Likewise.
10966 * math/s_ctanl.c (__ctanl): Likewise.
10967 * math/s_ctanhl.c (__ctanhl): Likewise.
10968
203e5603
JM
109692012-09-25 Joseph Myers <joseph@codesourcery.com>
10970
10971 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
10972 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
10973 (_IO_off_t): Define to __off_t, not _G_off_t.
10974 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
10975 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
10976 (_IO_wint_t): Define to wint_t, not _G_wint_t.
10977 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
10978 type of __dummy and __dummy2 fields.
10979 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
10980 (_G_ssize_t): Likewise.
10981 (_G_off_t): Likewise.
10982 (_G_pid_t): Likewise.
10983 (_G_uid_t): Likewise.
10984 (_G_wchar_t): Likewise.
10985 (_G_wint_t): Likewise.
10986 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
10987 (_G_ssize_t): Likewise.
10988 (_G_off_t): Likewise.
10989 (_G_pid_t): Likewise.
10990 (_G_uid_t): Likewise.
10991 (_G_wchar_t): Likewise.
10992 (_G_wint_t): Likewise.
10993 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
10994 (_G_ssize_t): Likewise.
10995 (_G_off_t): Likewise.
10996 (_G_pid_t): Likewise.
10997 (_G_uid_t): Likewise.
10998 (_G_wchar_t): Likewise.
10999 (_G_wint_t): Likewise.
11000
9fab36eb
SP
110012012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11002
11003 * malloc/arena.c: Include malloc-sysdep.h.
11004 (shrink_heap): Use check_may_shrink_heap to decide if madvise
11005 is sufficient to shrink the heap or an unmap is needed.
11006 * sysdeps/generic/malloc-sysdep.h: New file. Define
11007 new function check_may_shrink_heap.
11008 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
11009 new function check_may_shrink_heap.
11010
2b4f00d1
SP
110112012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11012
11013 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
11014 comments.
11015
9a9028b1
DL
110162012-09-24 Dmitry V. Levin <ldv@altlinux.org>
11017
57c69bef
DL
11018 * catgets/test-gencat.sh: Add "set -e".
11019 * elf/tst-pathopt.sh: Likewise.
11020 * grp/tst_fgetgrent.sh: Likewise.
11021 * iconvdata/run-iconv-test.sh: Likewise.
11022 * intl/tst-gettext.sh: Likewise.
11023 * intl/tst-gettext2.sh: Likewise.
11024 * intl/tst-gettext4.sh: Likewise.
11025 * intl/tst-gettext6.sh: Likewise.
11026 * intl/tst-translit.sh: Likewise.
11027 * io/ftwtest-sh: Likewise.
11028 * libio/test-freopen.sh: Likewise.
11029 * malloc/tst-mtrace.sh: Likewise.
11030 * posix/globtest.sh: Likewise.
11031 * posix/tst-getconf.sh: Likewise.
11032 * posix/wordexp-tst.sh: Likewise.
11033 * stdio-common/tst-printf.sh: Likewise.
11034 * stdio-common/tst-unbputc.sh: Likewise.
11035 * stdlib/tst-fmtmsg.sh: Likewise.
11036 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11037 * catgets/Makefile: Do not specify -e option when running
11038 testsuite shell scripts.
11039 * elf/Makefile: Likewise.
11040 * grp/Makefile: Likewise.
11041 * iconvdata/Makefile: Likewise.
11042 * intl/Makefile: Likewise.
11043 * io/Makefile: Likewise.
11044 * libio/Makefile: Likewise.
11045 * malloc/Makefile: Likewise.
11046 * posix/Makefile: Likewise.
11047 * stdio-common/Makefile: Likewise.
11048 * stdlib/Makefile: Likewise.
11049 * sysdeps/x86_64/Makefile: Likewise.
11050
9a9028b1
DL
11051 * io/ftwtest-sh: Add copyright header.
11052 * posix/globtest.sh: Likewise.
11053 * posix/tst-getconf.sh: Likewise.
11054 * posix/wordexp-tst.sh: Likewise.
11055 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11056
ced6f16e
L
110572012-09-24 H.J. Lu <hongjiu.lu@intel.com>
11058
94b32c39
L
11059 [BZ #13679]
11060 * Makeconfig (+link): Defined as $(+link-static) if
11061 $(build-shared) isn't yes.
11062 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
11063 isn't yes.
11064 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
11065
189e935b
L
11066 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
11067
ced6f16e
L
11068 [BZ #14562]
11069 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
11070 new chunk size with MALLOC_ALIGN_MASK.
11071
a9f8e53a
JM
110722012-09-24 Joseph Myers <joseph@codesourcery.com>
11073
11074 [BZ #5044]
11075 * stdio-common/printf_fphex.c: Include <stdbool.h> and
11076 <rounding-mode.h>.
11077 (__printf_fphex): Determine rounding using get_rounding_mode and
11078 round_away.
11079 * stdio-common/tst-printf-round.c (struct hex_test): New
11080 structure.
11081 (hex_tests): New variable.
11082 (test_hex_in_one_mode): New function.
11083 (do_test): Also run tests for hex float output.
11084
43153109
JM
110852012-09-21 Joseph Myers <joseph@codesourcery.com>
11086
11087 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11088 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11089 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
11090 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11091 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11092 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
11093 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11094 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11095
8a26625d
JM
110962012-09-20 Joseph Myers <joseph@codesourcery.com>
11097
11098 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
11099 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
11100 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
11101 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
11102
f3fd569c
DL
111032012-09-19 Dmitry V. Levin <ldv@altlinux.org>
11104
11105 [BZ #14579]
11106 * elf/rtld.c (dl_main): Limit the check for self loading to normal
11107 mode only.
11108 * elf/tst-rtld-load-self.sh: New test.
11109 * elf/Makefile: Run it.
11110
63bbedd4
JM
111112012-09-18 Joseph Myers <joseph@codesourcery.com>
11112
11113 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
11114 (tst-writev-ENV): Remove.
11115 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
11116
626f8b6a
CM
111172012-09-17 Chris Metcalf <cmetcalf@tilera.com>
11118
11119 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
11120
b7aaa4d6
JM
111212012-09-17 Joseph Myers <joseph@codesourcery.com>
11122
11123 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
11124 unconditional.
11125 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
11126 Likewise.
11127 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
11128 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
11129 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
11130 Likewise.
11131
65513990
L
111322012-09-14 H.J. Lu <hongjiu.lu@intel.com>
11133
11134 [BZ #14587]
11135 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
11136 * config.make.in (have-cpp-asm-debuginfo): Removed.
11137 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
11138 * configure: Regenerated.
11139
784761be
JM
111402012-09-14 Joseph Myers <joseph@codesourcery.com>
11141
11142 [BZ #5044]
11143 * stdio-common/printf_fp.c: Include <stdbool.h> and
11144 <rounding-mode.h>.
11145 (___printf_fp): Determine rounding using get_rounding_mode and
11146 round_away.
11147 * stdio-common/tst-printf-round.c: New file.
11148 * stdio-common/Makefile (tests): Add tst-printf-round.
11149 (link-libm): New variable.
11150 ($(objpfx)tst-printf-round): Depend in $(link-libm).
11151
9503345f
L
111522012-09-13 H.J. Lu <hongjiu.lu@intel.com>
11153
11154 [BZ #14576]
11155 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
11156 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
11157 Likewise.
11158 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
11159 Likewise.
11160
ad35fc00
JM
111612012-09-13 Joseph Myers <joseph@codesourcery.com>
11162
11163 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
11164 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11165 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11166 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11167
6c9b0f68
JM
111682012-09-12 Joseph Myers <joseph@codesourcery.com>
11169
11170 [BZ #14518]
11171 * include/rounding-mode.h: New file.
11172 * sysdeps/generic/get-rounding-mode.h: Likewise.
11173 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
11174 * stdlib/strtod_l.c: Include <rounding-mode.h>.
11175 (MAX_VALUE): New macro.
11176 (MIN_VALUE): Likewise.
11177 (overflow_value): New function.
11178 (underflow_value): Likewise.
11179 (round_and_return): Use overflow_value and underflow_value to
11180 determine return values in overflow and underflow cases. Use
11181 round_away to determine rounding depending on rounding mode.
11182 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
11183 determine return values in overflow and underflow cases.
11184 * stdlib/tst-strtod-round.c: Include <fenv.h>.
11185 (struct test_results): New structure.
11186 (struct test): Use struct test_results to store expected results
11187 for all rounding modes.
11188 (TEST): Include expected results for all rounding modes.
11189 (test_in_one_mode): New function.
11190 (do_test): Use test_in_one_mode to compute and check results.
11191 Check results for all rounding modes.
11192 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
11193 $(link-libm).
11194
19fcedd5
AM
111952012-12-09 Allan McRae <allan@archlinux.org>
11196
1e9d84cd 11197 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 11198
8bbfd2f1
JM
111992012-09-11 Joseph Myers <joseph@codesourcery.com>
11200
11201 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
11202 (_G_int32_t): Likewise.
11203 (_G_uint16_t): Likewise.
11204 (_G_uint32_t): Likewise.
11205 (_G_HAVE_BOOL): Likewise.
11206 (_G_HAVE_ATEXIT): Likewise.
11207 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11208 (_G_HAVE_IO_FILE_OPEN): Likewise.
11209 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
11210 (_G_int32_t): Likewise.
11211 (_G_uint16_t): Likewise.
11212 (_G_uint32_t): Likewise.
11213 (_G_HAVE_BOOL): Likewise.
11214 (_G_HAVE_ATEXIT): Likewise.
11215 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11216 (_G_HAVE_IO_FILE_OPEN): Likewise.
11217 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
11218 (_G_int32_t): Likewise.
11219 (_G_uint16_t): Likewise.
11220 (_G_uint32_t): Likewise.
11221 (_G_HAVE_BOOL): Likewise.
11222 (_G_HAVE_ATEXIT): Likewise.
11223 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11224 (_G_HAVE_IO_FILE_OPEN): Likewise.
11225
b1dc5912
L
112262012-09-11 H.J. Lu <hongjiu.lu@intel.com>
11227
11228 * csu/libc-tls.c: Update copyright years.
11229
0e886ef9
JM
112302012-09-10 Joseph Myers <joseph@codesourcery.com>
11231
28361c5e
JM
11232 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
11233 [!_G_USING_THUNKS]: Remove conditional code.
11234 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
11235 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
11236
0e886ef9
JM
11237 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
11238 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
11239 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11240 (_G_VTABLE_LABEL_PREFIX): Likewise.
11241 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11242 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11243 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11244 (_G_VTABLE_LABEL_PREFIX): Likewise.
11245 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11246 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11247 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11248 (_G_VTABLE_LABEL_PREFIX): Likewise.
11249 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11250
bcba7aa2
L
112512012-09-10 H.J. Lu <hongjiu.lu@intel.com>
11252
11253 * libio/Makefile: Include ../Makeconfig before tests.
11254 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
11255 only if $(build-shared) is yes.
11256
06585ee8
L
11257 * iconv/gconv_db.c: Update copyright years.
11258
80ccd52c
LD
112592012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11260
11261 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
11262 unwind info if defined PIC. Fix special cases description.
11263 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
11264
11265 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
11266 DP_HI_MASK entry.
11267 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
11268
691bc9c1
L
112692012-09-07 H.J. Lu <hongjiu.lu@intel.com>
11270
3d9b46b3
L
11271 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
11272
de2139a9
L
11273 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
11274 is NULL.
11275
5ca78dd0
L
11276 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
11277 (LDLIBS-tst-chk4): This.
11278 (LDFLAGS-tst-chk5): Renamed to ...
11279 (LDLIBS-tst-chk5): This.
11280 (LDFLAGS-tst-chk6): Renamed to ...
11281 (LDLIBS-tst-chk6): This.
11282 (LDFLAGS-tst-lfschk4): Renamed to ...
11283 (LDLIBS-tst-lfschk4): This.
11284 (LDFLAGS-tst-lfschk5): Renamed to ...
11285 (LDLIBS-tst-lfschk5): This.
11286 (LDFLAGS-tst-lfschk6): Renamed to ...
11287 (LDLIBS-tst-lfschk6): This.
11288
691bc9c1
L
11289 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
11290 on $(common-objpfx)soversions.mk.
11291
65cafb1c
JM
112922012-09-07 Joseph Myers <joseph@codesourcery.com>
11293
11294 [BZ #10014]
11295 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
11296 example host name.
11297
c78ab094
SP
112982012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11299
11300 * malloc/arena.c (arena_get_retry): New function that gets
11301 another arena for the caller to try its request on.
11302 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
11303 current arena cannot fulfill the request.
11304 (__libc_memalign): Likewise.
11305 (__libc_memalign): Likewise.
11306 (__libc_pvalloc): Likewise.
11307 (__libc_calloc): Likewise.
11308
01f49f59
JT
113092012-09-05 John Tobey <john.tobey@gmail.com>
11310
11311 [BZ #13542]
11312 * manual/arith.texi (Operations on Complex): Fix description
11313 of carg branch cut.
11314
4c23fed5
JM
113152012-09-06 Joseph Myers <joseph@codesourcery.com>
11316
1d3c8572
JM
11317 [BZ #10014]
11318 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
11319 host name.
11320
4c23fed5
JM
11321 [BZ #10038]
11322 * manual/memory.texi (Memory): Make order of menu items match
11323 order of sections.
11324
04570aaa
L
113252012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11326
11327 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
11328 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
11329 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
11330
b80af2f4
L
113312012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11332
11333 * csu/libc-tls.c (static_dtv): Renamed to ...
11334 (_dl_static_dtv): This. Make it global.
11335 (_dl_initial_dtv): Removed.
11336 (__libc_setup_tls): Updated.
11337 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
11338 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
11339 DL_INITIAL_DTV.
11340
2abe9f15
PM
113412012-09-06 Petr Machata <pmachata@redhat.com>
11342
11343 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
11344 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
11345 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
11346 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
11347
0948c3af
L
113482012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11349
11350 [BZ #14545]
11351 * csu/libc-tls.c (_dl_initial_dtv): New variable.
11352 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
11353 freeing dtv[-1].
11354
a5055ad1
L
113552012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11356
11357 [BZ #14544]
11358 * Makeconfig (link-static-before-libc): Replace $(+prector)
11359 with $(+prectorT).
11360 (link-static-after-libc): Replace $(+postctor) with
11361 $(+postctorT).
11362 (link-bounded): Replace $(+prector)/$(+postctor) with
11363 $(+prectorT)/$(+postctorT).
11364 (+prectorT): New macro.
11365 (+postctorT): Likewise.
11366
ed8c2ecd
JM
113672012-09-06 Joseph Myers <joseph@codesourcery.com>
11368
11369 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
11370 (round_str): Handle values above the maximum for IBM long double
11371 as inexact.
11372 * stdlib/tst-strtod-round.c (tests): Regenerated.
11373
14c996c8
AK
113742012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11375
11376 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
11377 assembler flag.
11378 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
11379 zarch_nohighgprs around the zarch optimized routines.
11380 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11381 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11382 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
11383 for zarch.
11384
430d6ce6
DM
113852012-09-05 David S. Miller <davem@davemloft.net>
11386
11387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11388
ff04dda4
DM
11389 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
11390 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
11391 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
11392 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11393 entries.
11394
24d4e01b
AO
113952012-09-05 Alexandre Oliva <aoliva@redhat.com>
11396
11397 * malloc/arena.c: Fold copyright years.
11398 * malloc/mcheck.c, malloc/memusage.c: Likewise.
11399
61d58174
AO
114002012-09-05 Alexandre Oliva <aoliva@redhat.com>
11401
11402 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
11403
20196a5e
AO
114042012-09-05 Alexandre Oliva <aoliva@redhat.com>
11405
11406 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
11407
5c447383
AO
114082012-09-05 Alexandre Oliva <aoliva@redhat.com>
11409
11410 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
11411 change internal state upon failure.
11412
fad64255
AO
114132012-09-05 Alexandre Oliva <aoliva@redhat.com>
11414
11415 * malloc/mcheck.c (mcheck_check_all): Fix typo.
11416 * malloc/memusage.c (mmap): Likewise.
11417 (mmap64, mremap): Likewise. Adjust name in comment.
11418
1ffb8c90
SP
114192012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11420
11421 * libio/fileops.c: Fix typos in comments.
11422 * libio/oldfileops.c: Likewise.
11423 * libio/wfileops.c: Likewise.
11424
6ef9cc37
SP
114252012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11426
11427 [BZ #1349]
11428 * malloc/Makefile (tests): Add tst-malloc-usable test case.
11429 (tst-malloc-usable-ENV): Set environment for test case.
11430 * malloc/hooks.c (malloc_check_get_size): New function to get
11431 requested size.
11432 * malloc/malloc.c (musable): Use malloc_check_get_size.
11433 * malloc/tst-malloc-usable.c: New test case.
11434
4d038ae3
AS
114352012-09-05 Andreas Schwab <schwab@linux-m68k.org>
11436
11437 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
11438
c4e85184
AM
114392012-09-05 Allan McRae <allan@archlinux.org>
11440
b9dafc56 11441 [BZ #13966]
c4e85184
AM
11442 * configure.in (CXX_SYSINCLUDES): Use compiler output to
11443 determine header location.
11444 * configure: Regenerated.
11445
e1343020
AS
114462012-09-05 Andreas Schwab <schwab@linux-m68k.org>
11447
11448 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
11449 float format.
11450 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
11451 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
11452 format.
e1343020
AS
11453 (test): Regenerate.
11454
0a9f1987
DM
114552012-09-04 David S. Miller <davem@davemloft.net>
11456
11457 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
11458 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
11459 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
11460
29237804
FW
114612012-09-04 Florian Weimer <fweimer@redhat.com>
11462
11463 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
11464 failures.
11465
edb3cb88
FW
11466 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
11467
60160d83
JM
114682012-09-04 Joseph Myers <joseph@codesourcery.com>
11469
11470 [BZ #9914]
11471 * libio/iogetdelim.c: Include <limits.h>.
11472 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
11473 + len + 1 would overflow.
11474
bcd6c8dc
AJ
114752012-09-03 Andreas Jaeger <aj@suse.de>
11476
11477 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11478 * sysdeps/i386/fpu/libm-test-ulps: Update.
11479
4ffffbd2
LD
114802012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11481
11482 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11483 Add s_sinf-sse2, s_conf-sse2.
11484
11485 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
11486 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
11487 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
11488 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
11489
11490 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
11491 for using routine as __sinf_ia32.
11492 Use macro for function declaration and weak_alias.
11493 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
11494 for using routine as __cosf_ia32.
11495 Use macro for function declaration and weak_alias.
11496
11497 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
11498 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
11499
11500 * sysdeps/x86_64/fpu/s_sinf.S: New file.
11501 * sysdeps/x86_64/fpu/s_cosf.S: New file.
11502 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11503
11504 * math/libm-test.inc (cos_test): Add more test cases.
11505 (sin_test): Likewise.
11506 (sincos_test): Likewise.
11507
511fa286
AK
115082012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11509
11510 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
11511 (IFUNC_RESOLVE): Make pointers to the specialized implementations
11512 hidden.
11513 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11514
5f30cfec
L
115152012-09-02 H.J. Lu <hongjiu.lu@intel.com>
11516
11517 [BZ #14538]
11518 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
11519 first element of the GOT.
11520 (elf_machine_load_address): Return the difference between
11521 the runtime address of _DYNAMIC and elf_machine_dynamic ().
11522
0786794f
AM
115232012-09-01 Allan McRae <allan@archlinux.org>
11524
5f30cfec
L
11525 [BZ #13412]
11526 * configure.in (AWK): Require gawk version 3.0 or later.
11527 * configure: Regenerated.
0786794f 11528
26889eac
JM
115292012-09-01 Joseph Myers <joseph@codesourcery.com>
11530
11531 * sysdeps/unix/sysv/linux/kernel-features.h
11532 (__ASSUME_POSIX_CPU_TIMERS): Remove.
11533 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11534 [__NR_clock_getres]: Make code unconditional.
11535 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
11536 (clock_getcpuclockid): Remove code left unreachable by removal of
11537 conditionals.
11538 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
11539 code unconditional.
11540 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11541 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11542 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
11543 Make code unconditional.
11544 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11545 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11546 * sysdeps/unix/sysv/linux/clock_settime.c
11547 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
11548 conditional code.
11549 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
11550 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11551
d22e28b0
L
115522012-08-29 H.J. Lu <hongjiu.lu@intel.com>
11553
11554 [BZ #14476]
11555 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
11556 scripts/test-installation.pl.
11557
11558 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
11559 and $ld_so_version if it is set.
11560
050af9c4
SP
115612012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11562
11563 [BZ #14516]
11564 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
11565 failure if reading from procfs failed.
11566 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
11567
ad845c0b
JM
115682012-08-27 Joseph Myers <joseph@codesourcery.com>
11569
11570 * sysdeps/unix/sysv/linux/kernel-features.h
11571 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
11572 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11573 Remove conditional code.
11574 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11575 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
11576 Remove conditional code.
11577 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11578 * sysdeps/unix/sysv/linux/i386/fxstat.c
11579 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11580 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11581 * sysdeps/unix/sysv/linux/i386/fxstatat.c
11582 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11583 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11584 * sysdeps/unix/sysv/linux/i386/lxstat.c
11585 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11586 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11587 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
11588 Remove conditional code.
11589 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11590 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11591 Remove conditional code.
11592 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11593 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
11594 <kernel-features.h>.
11595 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
11596 Remove.
11597 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
11598 Remove conditional code.
11599 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11600 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
11601 Remove conditional.
11602
5dbf56af
MF
116032012-08-27 Mike Frysinger <vapier@gentoo.org>
11604
11605 [BZ #5400]
11606 * NEWS: Add fixed bug number.
11607
d6e70f43
JM
116082012-08-27 Joseph Myers <joseph@codesourcery.com>
11609
7efb4737
JM
11610 [BZ #14519]
11611 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
11612 underflowing exponent in case of negative sign.
11613 * stdlib/tst-strtod-round-data: Add more tests.
11614 * stdlib/tst-strtod-round.c (tests): Regenerated.
11615
af92131a
JM
11616 [BZ #3479]
11617 * stdlib/strtod_l.c (NDIG): Remove.
11618 (HEXNDIG): Likewise.
11619 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
11620 smallest representable value.
11621 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
11622 lie within an exact representation of 1/2 ulp of the result.
11623 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
11624 unconditionally.
11625 (TENS_P9_IDX): Define unconditionally.
11626 (TENS_P9_SIZE): Likewise.
11627 (TENS_P10_IDX): Likewise.
11628 (TENS_P10_SIZE): Likewise.
11629 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
11630 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
11631 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
11632 entries for 10^2^13 and 10^2^14.
11633 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
11634 (TENS_P13_IDX): Define.
11635 (TENS_P13_SIZE): Likewise.
11636 (TENS_P14_IDX): Likewise.
11637 (TENS_P14_SIZE): Likewise.
11638 (_fpioconst_pow10): Change array size to
11639 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
11640 unconditional.
11641 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
11642 1024]: Add entries for 10^2^13 and 10^2^14.
11643 [LAST_POW10 > _LAST_POW10]: Remove #error.
11644 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
11645 (_fpioconst_pow10): Change array size to
11646 FPIOCONST_POW10_ARRAY_SIZE.
11647 * stdlib/gen-fpioconst.c: New file.
11648 * stdlib/gen-tst-strtod-round.c: Likewise.
11649 * stdlib/tst-strtod-round-data: Likewise.
11650 * stdlib/tst-strtod-round.c: Likewise.
11651 * stdlib/Makefile (tests): Add tst-strtod-round.
11652
d6e70f43
JM
11653 [BZ #14459]
11654 * stdlib/strtod_l.c: Include <stdint.h>.
11655 (NDEBUG): Do not define.
11656 (round_and_return): Change EXPONENT parameter to type intmax_t.
11657 Rearrange calculations to avoid internal overflow possibilities.
11658 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
11659 Rearrange calculations to avoid internal overflow possibilities.
11660 Assert that number fits inside MPNSIZE limbs.
11661 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
11662 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
11663 calculations and add assertions to avoid internal overflow
11664 possibilities. Add casts to avoid signed/unsigned operations.
11665 * stdlib/tst-strtod-overflow.c: New file.
11666 * stdlib/Makefile (tests): Add tst-strtod-overflow.
11667
1f529f7d
MP
116682012-08-25 Marek Polacek <polacek@redhat.com>
11669
11670 * time/time.h: Fix some typos in comments.
11671
59a629f1
RM
116722012-08-23 Roland McGrath <roland@hack.frob.com>
11673
11674 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
11675 * posix/tst-rfc3484-2.c: Likewise.
11676 * posix/tst-rfc3484-3.c: Likewise.
11677
d3bafbc9
SM
116782012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
11679
11680 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
11681 (EF_ARM_ABI_FLOAT_HARD): Likewise.
11682
4efcc022
JM
116832012-08-23 Joseph Myers <joseph@codesourcery.com>
11684
11685 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
11686 #include of fxstatat64.c.
11687
3cc3ef96
RM
116882012-08-22 Roland McGrath <roland@hack.frob.com>
11689
f04e2132
RM
11690 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
11691 * shadow/getspent_r.c: Likewise.
11692 * shadow/getspnam.c: Likewise.
11693 * shadow/getspnam_r.c: Likewise.
11694 * gshadow/getsgent.c: Likewise.
11695 * gshadow/getsgent_r.c: Likewise.
11696 * gshadow/getsgnam.c: Likewise.
11697 * gshadow/getsgnam_r.c: Likewise.
11698 * inet/getnetbyad.c: Likewise.
11699 * inet/getnetbyad_r.c: Likewise.
11700 * inet/getnetbynm.c: Likewise.
11701 * inet/getnetbynm_r.c: Likewise.
11702 * inet/getnetent.c: Likewise.
11703 * inet/getnetent_r.c: Likewise.
11704 * inet/getproto.c: Likewise.
11705 * inet/getproto_r.c: Likewise.
11706 * inet/getprtent.c: Likewise.
11707 * inet/getprtent_r.c: Likewise.
11708 * inet/getprtname.c: Likewise.
11709 * inet/getprtname_r.c: Likewise.
11710 * inet/getrpcbyname.c: Likewise.
11711 * inet/getrpcbyname_r.c: Likewise.
11712 * inet/getrpcbynumber.c: Likewise.
11713 * inet/getrpcbynumber_r.c: Likewise.
11714 * inet/getrpcent.c: Likewise.
11715 * inet/getrpcent_r.c: Likewise.
11716 * inet/getaliasent.c: Likewise.
11717 * inet/getaliasent_r.c: Likewise.
11718 * inet/getaliasname.c: Likewise.
11719 * inet/getaliasname_r.c: Likewise.
11720 * nscd/getgrgid_r.c: Likewise.
11721 * nscd/getgrnam_r.c: Likewise.
11722 * nscd/gethstbyad_r.c: Likewise.
11723 * nscd/gethstbynm3_r.c: Likewise.
11724 * nscd/getpwnam_r.c: Likewise.
11725 * nscd/getpwuid_r.c: Likewise.
11726 * nscd/getsrvbynm_r.c: Likewise.
11727 * nscd/getsrvbypt_r.c: Likewise.
11728 * nscd/gai.c: Likewise.
11729
c53d909c
RM
11730 * configure.in (build_nscd): New substituted variable, set
11731 by --disable-build-nscd and defaults to $use_nscd.
11732 * configure: Regenerated.
11733 * config.make.in (build-nscd): New substituted variable.
11734 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
11735 Change conditional to require [$(build-nscd) = yes] as well.
11736 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
11737
3cc3ef96
RM
11738 [BZ# 13696]
11739 * configure.in (use_nscd): New substituted variable, set by
11740 --disable-nscd. If enabled, define USE_NSCD.
11741 * configure: Regenerated.
11742 * config.h.in: Add USE_NSCD.
11743 * config.make.in (use-nscd): New substituted variable.
11744 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
11745 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
11746 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
11747 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
11748 (CFLAGS-getgrnam_r.c): Likewise.
11749 (CFLAGS-initgroups.c): Likewise.
11750 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
11751 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
11752 Variables removed.
11753 * inet/getnetgrent_r.c
11754 (nscd_setnetgrent): New function, broken out of ...
11755 (setnetgrent): ... here. Call it.
11756 (innetgr): Conditionalize nscd bits on [USE_NSCD].
11757 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
11758 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
11759 * nscd/Makefile (routines, aux): Move definitions after include of
11760 Makeconfig. Conditionalize on [$(use-nscd) != no].
11761 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
11762 Conditionalize on [USE_NSCD].
11763 (is_nscd, nscd_init_cb): Likewise.
11764 (nss_load_library): Conditionalize init callback on [USE_NSCD].
11765 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
11766 * nss/nss_db/db-init.c: Likewise.
11767 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
11768 [USE_NSCD].
11769 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
11770 (make_request): Use it.
11771 (cache_valid_p): New function.
11772 (__check_pf): Use it.
11773 * NEWS: Add item for --disable-nscd.
11774
07e51550
DL
117752012-08-22 Dmitry V. Levin <ldv@altlinux.org>
11776
11777 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
11778 to support sed >= 4.2.1-20-ga9bf076.
11779 * configure: Regenerated.
11780
35a5b08b
RM
117812012-08-22 Roland McGrath <roland@hack.frob.com>
11782
11783 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
11784 Conditionalize whole body on [IREL].
11785
8479f23a
JL
117862012-08-22 Jeff Law <law@redhat.com>
11787
11788 [BZ #14505]
11789 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
11790 if the family is PF_UNSPEC.
11791
48da0b21
MF
117922012-08-22 Mike Frysinger <vapier@gentoo.org>
11793
11794 * Makerules (lib-version): Rename from V.
11795 (install-lib-nosubdir): Change V to lib-version.
11796
15d0da8c
WS
117972012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
11798
11799 [BZ #14252]
11800 * powerpc32/power6/wcschr.c: New file.
11801 * powerpc32/power6/wcscpy.c: New file.
11802 * powerpc32/power6/wcsrchr.c: New file.
11803 * powerpc64/power6/wcschr.c: New file.
11804 * powerpc64/power6/wcscpy.c: New file.
11805 * powerpc64/power6/wcsrchr.c: New file.
11806
bcca0895
MK
118072012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11808
11809 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
11810 (two_way_short_needle): Use it.
5a4aaa33
RM
11811 * string/strstr.c (AVAILABLE1_USES_J): Define.
11812 * string/strcasestr.c: Likewise.
99677e57
MK
11813
11814 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
11815 array references.
11816 * string/strcasestr.c (TOLOWER): Make side-effect safe.
11817
400726de
MK
11818 [BZ #11607]
11819 * NEWS: Add an entry.
11820 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
11821 define their defaults.
11822 (two_way_short_needle): Detect end-of-string on-the-fly.
11823 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
11824 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
11825 * string/bug-strcasestr1.c: New test.
11826 * string/Makefile: Run it.
11827
20a71f2c
MK
118282012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11829
11830 [BZ #11607]
11831 * string/str-two-way.h (two_way_short_needle): Optimize matching of
11832 the first character.
11833
21ad0558
RM
118342012-08-21 Roland McGrath <roland@hack.frob.com>
11835
11836 * csu/elf-init.c (__libc_csu_irel): Function removed.
11837 * csu/libc-start.c (apply_irel): New function.
11838 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
11839
0e1d9911
JM
118402012-08-21 Joseph Myers <joseph@codesourcery.com>
11841
11842 * sysdeps/unix/sysv/linux/kernel-features.h
11843 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
11844 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11845 <kernel-features.h>.
11846 [__NR_fadvise64_64]: Make code unconditional.
11847 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
11848 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11849 !__NR_fadvise64_64)]: Likewise.
11850 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11851 !__NR_fadvise64_64))]: Likewise.
11852 [__NR_fadvise64]: Make code unconditional.
11853 [!__NR_fadvise64]: Remove conditional code.
11854 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
11855 <kernel-features.h>.
11856 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11857 unconditional.
11858 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11859 conditional code.
11860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
11861 not include <kernel-features.h>.
11862 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11863 unconditional.
11864 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11865 conditional code.
11866 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
11867 include <kernel-features.h>.
11868 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11869 unconditional.
11870 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11871 conditional code.
11872
14a50c9d
WS
118732012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11874
11875 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
11876 slight instruction rearrangements per scrollpipe analysis.
11877 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11878
c0f4faf0
RM
118792012-08-20 Roland McGrath <roland@hack.frob.com>
11880
696da859
RM
11881 * manual/syslog.texi (syslog; vsyslog, closelog):
11882 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
11883 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
11884
c0f4faf0
RM
11885 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
11886 DSOCAPS to match condition on defining it.
11887
348363b2
JM
118882012-08-20 Joseph Myers <joseph@codesourcery.com>
11889
a35cbf28
JM
11890 * sysdeps/unix/sysv/linux/kernel-features.h
11891 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
11892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
11893 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11894 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
11896 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11897 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
11899 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11900 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11901
445f7ecd
JM
11902 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
11903 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
11904
348363b2
JM
11905 * sysdeps/unix/sysv/linux/kernel-features.h
11906 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
11907 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
11908 unconditional.
11909 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11910 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
11911 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11912 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11913 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
11914 Make code unconditional.
11915 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11916 (__mmap64) [!__NR_mmap2]: Likewise.
11917 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
11918 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11919 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11920 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
11921 [__NR_mmap2]: Make code unconditional.
11922 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11923 (__mmap64) [!__NR_mmap2]: Likewise.
11924
bc5bc0e5
AK
119252012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11926
11927 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
11928
88d506de
AJ
119292012-08-18 Andreas Jaeger <aj@suse.de>
11930
11931 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
11932
493387d2
MF
119332012-08-18 Mike Frysinger <vapier@gentoo.org>
11934
11935 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
11936 * include/unistd.h (__have_sock_cloexec): Likewise.
11937 (__have_pipe2): Likewise.
11938 (__have_dup3): Likewise.
11939
a277af22
MF
119402012-08-18 Mike Frysinger <vapier@gentoo.org>
11941
11942 [BZ #9685]
11943 * include/unistd.h (__have_pipe2): Change define into an extern int.
11944 (__have_dup3): Likewise.
11945 * socket/have_sock_cloexec.c: Include fcntl.h.
11946 (__have_pipe2): New variable.
11947 (__have_dup3): Likewise.
11948
fdab8fd3
MF
119492012-08-17 Mike Frysinger <vapier@gentoo.org>
11950
11951 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
11952
31035e80
MP
119532012-08-17 Marek Polacek <polacek@redhat.com>
11954
11955 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
11956 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
11957
3bd9e993
RM
119582012-08-17 Roland McGrath <roland@hack.frob.com>
11959
c91c505f
RM
11960 * configure.in: Add AC_SUBST for sysheaders.
11961 * configure: Regenerated.
11962 * config.make.in (sysheaders): New substituted variable.
11963
7c6f9d53
RM
11964 * sysdeps/unix/mkfifo.c: Moved ...
11965 * sysdeps/posix/mkfifo.c: ... here.
11966 * sysdeps/unix/mkfifoat.c: Moved ...
11967 * sysdeps/posix/mkfifoat.c: ... here.
11968
11969 * sysdeps/unix/utime.c: Moved ...
11970 * sysdeps/posix/utime.c: ... here.
11971
11972 * sysdeps/unix/time.c: Moved ...
11973 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
11974 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
11975 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
11976
11977 * sysdeps/unix/nice.c: Moved ...
11978 * sysdeps/posix/nice.c: ... here.
11979
11980 * sysdeps/unix/alarm.c: Moved ...
11981 * sysdeps/posix/alarm.c: ... here.
11982
3bd9e993
RM
11983 * intl/Makefile ($(codeset_mo)): Depend on the input file.
11984
d1f09384
JL
119852012-08-17 Jeff Law <law@redhat.com>
11986
11987 * intl/Makefile (codeset_mo): New variable.
11988 ($(codeset_mo)): New target.
11989 (tst-codeset.out): Depend on that. Remove explicit rule.
11990 (tst-gettext3.out, tst-gettext5.out): Likewise.
11991 (LOCPATH-ENV, tst-codeset-ENV): New variables.
11992 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
11993 * intl/tst-codeset.sh: Remove.
11994 * intl/tst-gettext3.sh: Likewise.
11995 * intl/tst-gettext5.sh: Likewise.
11996
2ae1ae5c
RM
119972012-08-17 Roland McGrath <roland@hack.frob.com>
11998
c31fdb83
RM
11999 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
12000 * sysdeps/unix/syscalls.list: ... here.
12001
a0844057
RM
12002 * sysdeps/posix/getaddrinfo.c
12003 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
12004 (gaiconf_init, gaiconf_reload): Use them.
12005 [!_STATBUF_ST_NSEC]
12006 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
12007 Define using time_t rather than struct timespec.
12008
750c1f2a
RM
12009 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
12010 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
12011 Macros removed.
12012 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
12013 [!NO_THREADS].
12014 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
12015 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
12016 Likewise.
12017
2ae1ae5c
RM
12018 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
12019 __libc_cleanup_push argument.
12020
e66a42f5
RM
12021 * bits/param.h: New file.
12022 * misc/sys/param.h: New file.
12023 * include/sys/param.h: New file.
12024 * misc/Makefile (headers): Add bits/param.h.
12025 * sysdeps/generic/sys/param.h: File removed.
12026 * sysdeps/unix/sysv/linux/bits/param.h: New file.
12027 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
12028 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 12029 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 12030
b7c08a66
RM
12031 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
12032 last change.
12033
b2e1c562
RM
12034 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
12035 [_IO_MTSAFE_IO].
12036 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
12037 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
12038 New macros.
12039
c75ccd4c
RM
12040 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
12041 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
12042 rather than -D_IO_MTSAFE_IO conditionally.
12043 * stdio-common/Makefile (CPPFLAGS): Likewise.
12044 * wcsmbs/Makefile (CPPFLAGS): Likewise.
12045 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
12046 Use $(libio-mtsafe).
12047 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
12048 of -D_IO_MTSAFE_IO.
12049 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
12050 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
12051 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
12052 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
12053 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
12054 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
12055 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
12056 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
12057 (CFLAGS-fread_u_chk.c): Likewise.
12058 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
12059 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
12060 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
12061 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
12062 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
12063 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
12064 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
12065 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
12066 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
12067
12068 * libio/Makefile: Test [$(libc-reentrant) = yes]
12069 instead of [$(filter %REENTRANT, $(defines)) nonempty].
12070
12071 * Makeconfig
12072 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
12073 * sysdeps/pthread/configure: File removed.
12074 * sysdeps/pthread/Makeconfig: New file.
12075 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
12076 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
12077
d9195db8
GB
120782012-08-16 Gary Benson <gbenson@redhat.com>
12079
12080 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
12081 unmapping the first object in a namespace.
12082
86466cd9
RM
120832012-08-16 Roland McGrath <roland@hack.frob.com>
12084
12085 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
12086 (__internal_setnetgrent): ... this. Add internal_function to
12087 definition. Add libc_hidden_def.
12088 (setnetgrent): Update caller.
12089 (internal_endnetgrent): Renamed to ...
12090 (__internal_endnetgrent): ... this. Add internal_function to
12091 definition. Add libc_hidden_def.
12092 (endnetgrent): Update caller.
12093 (internal_getnetgrent_r): Renamed to ...
12094 (__internal_getnetgrent_r): ... this. Add internal_function to
12095 definition. Add libc_hidden_def.
12096 (__getnetgrent_r): Update caller.
12097 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
12098
c3c8283c
JM
120992012-08-16 Joseph Myers <joseph@codesourcery.com>
12100
12101 * stdlib/longlong.h: Update from GCC.
12102
db1ee0a8
RM
121032012-08-16 Roland McGrath <roland@hack.frob.com>
12104
12105 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
12106 on _QL, which is set by umul_ppmm but never used.
12107 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
12108 variables, which are set by GMP macros but never used.
12109 * stdio-common/_itowa.c (_itowa): Likewise.
12110 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
12111 * stdlib/mod_1.c (mpn_mod_1): Likewise.
12112
30f69637
CD
121132012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
12114
12115 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
12116 struct La_sh_regs is not constant.
12117 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
12118 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
12119 and struct La_sparc64_regs are not constant.
12120
93a78ac4
JM
121212012-08-16 Joseph Myers <joseph@codesourcery.com>
12122
12123 * sysdeps/unix/sysv/linux/kernel-features.h
12124 (__ASSUME_POSIX_TIMERS): Remove.
12125 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12126 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12127 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
12128 Make code unconditional.
12129 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12130 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
12131 Make code unconditional.
12132 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12133 * sysdeps/unix/sysv/linux/clock_nanosleep.c
12134 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
12135 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12136 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
12137 Make code unconditional.
12138 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12139 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
12140 (__libc_missing_posix_timers): Remove.
12141
dd924cd7
RM
121422012-08-15 Roland McGrath <roland@hack.frob.com>
12143
4b4f2771
RM
12144 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
12145 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
12146
601c888b
RM
12147 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
12148
176790a7
RM
12149 * elf/dl-sym.c: Include <stdlib.h>.
12150
329bc018
RM
12151 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
12152 constants, which avoids warnings in 32-bit builds.
12153
e04e272d
RM
12154 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
12155 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
12156
952bf94a
RM
12157 * misc/lseek.c: File moved to ...
12158 * io/lseek.c: ... here.
12159
7c99b50a
RM
12160 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
12161
dd924cd7
RM
12162 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
12163 shifting LEN more than 31 bits at once.
12164
b3f479a8
LD
121652012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12166
12167 [BZ #14195]
8c4ae0d4
RM
12168 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
12169 segmentation fault for a case of two empty input strings.
b3f479a8
LD
12170 * string/test-strncasecmp.c (check1): Renamed to...
12171 (bz12205): ...this.
12172 (bz14195): Add new testcase for two empty input strings and N > 0.
12173 (test_main): Call new testcase, adapt for renamed function.
12174
9c55864e
AJ
121752012-08-15 Andreas Jaeger <aj@suse.de>
12176
12177 [BZ #14090]
12178 * crypt/md5test2.c: New test, based on test supplied by Serge
12179 Belyshev <belyshev@depni.sinp.msu.ru>.
12180 * crypt/Makefile (xtests): Add md5test-giant..
12181 * crypt/Makefile ($(objpfx)md5test-giant): Add.
12182
02dcb6c5
PE
121832012-08-15 Paul Eggert <eggert@cs.ucla.edu>
12184
12185 [BZ #14090]
12186 * crypt/md5.c (md5_process_block): Don't assume the buffer
12187 length is less than 2**32.
12188 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
12189 length is less than 2**64.
12190
a3f95dcc
RM
121912012-08-15 Roland McGrath <roland@hack.frob.com>
12192
be75d758
RM
12193 * string/str-two-way.h: Include <sys/param.h>.
12194 (MAX): Macro removed.
12195
7312ca90
RM
12196 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
12197 Move #define and #undef of memmove to just before and after
12198 including <string.h>.
12199
9a0a5486
RM
12200 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
12201 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
12202 and after including <string.h>. Move declarations of
12203 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
12204 to before #include "string/memmove.c".
12205
67cc348d
RM
12206 * include/dirent.h: Declare __getdirentries.
12207
a3f95dcc
RM
12208 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
12209 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
12210
ca98e171
MF
122112012-08-14 Mike Frysinger <vapier@gentoo.org>
12212
12213 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
12214 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
12215 * sysdeps/i386/configure: Regenerated.
12216 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
12217 STABS_CURRENT_FILE, and STABS_FUN.
12218 (END): Remove call to STABS_FUN_END.
12219 (STABS_CURRENT_FILE1): Delete.
12220 (STABS_CURRENT_FILE): Likewise.
12221 (STABS_FUN): Likewise.
12222 (STABS_FUN_END): Likewise.
12223 (STABS_FUN2): Likewise.
12224 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
12225 * sysdeps/x86_64/configure: Regenerated.
12226
5908bf46
RM
122272012-08-14 Roland McGrath <roland@hack.frob.com>
12228
12229 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 12230 * elf/dl-lookup.c: Likewise.
5908bf46 12231
f2c05b9e
JM
122322012-08-14 Joseph Myers <joseph@codesourcery.com>
12233
12234 * sysdeps/unix/sysv/linux/kernel-features.h
12235 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
12236 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
12237 unconditionally.
12238 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
12239 unconditionally.
12240 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
12241 condition on __ASSUME_CLONE_THREAD_FLAGS.
12242
e11f5155
AJ
122432012-08-14 Andreas Jaeger <aj@suse.de>
12244
12245 * sysdeps/i386/fpu/libm-test-ulps: Update.
12246
51a9ba86
MK
122472012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
12248
2fdd4f78
AJ
12249 * include/atomic.h (atomic_exchange_and_add): Split into ...
12250 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
12251 New atomic macros.
51a9ba86 12252
ba6cba9e
MT
122532012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
12254
12255 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12256
42443a47
JL
122572012-08-13 Jeff Law <law@redhat.com>
12258
12259 * manual/stdio.texi (snprintf): Clarify handling of the trailing
12260 null byte in the output string.
12261
121dce05
JM
122622012-08-10 Joseph Myers <joseph@codesourcery.com>
12263
12264 * sysdeps/unix/sysv/linux/kernel-features.h
12265 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
12266 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
12267 (__ASSUME_ARG_MAX_STACK_BASED): Define.
12268 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12269 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
12270 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
12271 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
12272
bf51f568
JL
122732012-08-09 Jeff Law <law@redhat.com>
12274
12275 [BZ #13939]
12276 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
12277 When avoid_arena is set, don't retry in the that arena. Pick the
12278 next one, whatever it might be.
12279 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
12280 (arena_lock): Pass in new parameter to arena_get2.
12281 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
12282 arena_get2.
12283 (__libc_malloc): Unify retrying after main arena failure with
12284 __libc_memalign version.
12285 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
12286
f85fa270
L
122872012-08-09 H.J. Lu <hongjiu.lu@intel.com>
12288
12289 [BZ #14166]
12290 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
12291 to __redirect_strstr.
12292 (__strstr_sse42): Use typeof __redirect_strstr.
12293 (__strstr_ia32): Likewise.
12294 (__libc_strstr): New prototype.
12295 (strstr): Renamed to ...
12296 (__libc_strstr): This.
12297 (strstr): New strong alias of __libc_strstr.
12298 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12299 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
12300 __redirect_time.
12301 Include <time.h>.
12302 (__libc_time): New prototype.
12303 (time_ifunc): Replace time with __libc_time.
12304 (time): New strong alias and hidden definition of __libc_time.
12305 (__GI_time): Remove strong alias.
12306 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
12307 Include <stddef.h>.
12308 (memmove): Redefined to __redirect_memmove.
12309 (__memmove_sse2): Use typeof __redirect_memmove.
12310 (__memmove_ssse3): Likewise.
12311 (__memmove_ssse3_back): Likewise.
12312 (__libc_memmove): New prototype.
12313 (memmove): Renamed to ...
12314 (__libc_memmove): This.
12315 (memmove): New strong alias of __libc_memmove.
12316
33b4a91e
MS
123172012-08-08 Mark Salter <msalter@redhat.com>
12318
12319 * elf/elf.h
12320 (R_MN10300_TLS_GD): Define.
12321 (R_MN10300_TLS_LD): Likewise.
12322 (R_MN10300_TLS_LDO): Likewise.
12323 (R_MN10300_TLS_GOTIE): Likewise.
12324 (R_MN10300_TLS_IE): Likewise.
12325 (R_MN10300_TLS_LE): Likewise.
12326 (R_MN10300_TLS_DTPMOD): Likewise.
12327 (R_MN10300_TLS_DTPOFF): Likewise.
12328 (R_MN10300_TLS_TPOFF): Likewise.
12329 (R_MN10300_SYM_DIFF): Likewise.
12330 (R_MN10300_ALIGN): Likewise.
12331 (R_MN10300_NUM): Update.
12332
b36137f1
JM
123332012-08-08 Joseph Myers <joseph@codesourcery.com>
12334
12335 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
12336 Remove.
12337
cdd915fd
RM
123382012-08-08 Roland McGrath <roland@hack.frob.com>
12339
a2433aac
RM
12340 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
12341
cdd915fd
RM
12342 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
12343 sysdeps/unix -> sysdeps/posix move.
12344 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12345
bf9b740a
AM
123462012-08-07 Allan McRae <allan@archlinux.org>
12347
12348 [BZ #14303]
12349 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
12350 (SUNOS_CPP): Likewise.
12351 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
12352 not found.
12353 (open_input): Call CPP using execvp.
12354
93df14ee
JM
123552012-08-07 Joseph Myers <joseph@codesourcery.com>
12356
12357 * sysdeps/unix/sysv/linux/kernel-features.h
12358 (__ASSUME_PROT_GROWSUPDOWN): Remove.
12359 (__ASSUME_NO_CLONE_DETACHED): Likewise.
12360 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12361 (__ASSUME_WAITID_SYSCALL): Likewise.
12362 * sysdeps/unix/sysv/linux/dl-execstack.c
12363 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
12364 code unconditional.
12365 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
12366 conditional code.
12367 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
12368 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
12369 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
12370 code.
12371 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
12372 unconditional.
12373 [__ASSUME_WAITID_SYSCALL]: Likewise.
12374 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
12375
d34689de
RM
123762012-08-07 Roland McGrath <roland@hack.frob.com>
12377
a281decc
RM
12378 * sysdeps/unix/closedir.c: Renamed to ...
12379 * sysdeps/posix/closedir.c: ... here.
12380 * sysdeps/unix/dirfd.c: Renamed to ...
12381 * sysdeps/posix/dirfd.c: ... here.
12382 * sysdeps/unix/dirstream.h: Renamed to ...
12383 * sysdeps/posix/dirstream.h: ... here.
12384 * sysdeps/unix/fdopendir.c: Renamed to ...
12385 * sysdeps/posix/fdopendir.c: ... here.
12386 * sysdeps/unix/opendir.c: Renamed to ...
12387 * sysdeps/posix/opendir.c: ... here.
12388 * sysdeps/unix/readdir.c: Renamed to ...
12389 * sysdeps/posix/readdir.c: ... here.
12390 * sysdeps/unix/readdir_r.c: Renamed to ...
12391 * sysdeps/posix/readdir_r.c: ... here.
12392 * sysdeps/unix/rewinddir.c: Renamed to ...
12393 * sysdeps/posix/rewinddir.c: ... here.
12394 * sysdeps/unix/seekdir.c: Renamed to ...
12395 * sysdeps/posix/seekdir.c: ... here.
12396 * sysdeps/unix/telldir.c: Renamed to ...
12397 * sysdeps/posix/telldir.c: ... here.
12398 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
12399 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
12400 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12401 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12402
22895b47
RM
12403 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
12404 * bits/fcntl.h: ... here.
12405
707a53b6
RM
12406 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
12407 not 0.
12408 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
12409 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
12410 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
12411 (struct flock): Move l_start, l_len to the beginning.
12412 Use __pid_t for l_pid.
12413 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
12414 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
12415 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
12416 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
12417 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
12418 [__USE_LARGEFILE64] (struct flock64): New type.
12419 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
12420
f0bd3e25
RM
12421 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
12422 * bits/dirent.h: ... here.
12423
d34689de
RM
12424 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
12425 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
12426
6dad2c06
JM
124272012-08-07 Joseph Myers <joseph@codesourcery.com>
12428
12429 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12430 Change from 2.6.0 to 2.6.16.
12431 * sysdeps/unix/sysv/linux/configure: Regenerated.
12432 * sysdeps/unix/sysv/linux/kernel-features.h
12433 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
12434 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
12435 version.
12436 (__ASSUME_UTIMES): Likewise.
12437 (__ASSUME_CLONE_STOPPED): Remove.
12438 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
12439 architectures, not kernel version.
12440 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
12441 (__ASSUME_NO_CLONE_DETACHED): Likewise.
12442 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12443 (__ASSUME_WAITID_SYSCALL): Likewise.
12444 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
12445 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
12446 * README: State 2.6.16 as minimum Linux kernel version. Do not
12447 refer to older versions.
12448
03af9520
RM
124492012-08-06 Roland McGrath <roland@hack.frob.com>
12450
8e49df1d
RM
12451 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
12452 Define alphasort64 as an alias.
12453 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
12454 Define versionsort64 as an alias.
12455 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
12456 Define scandir64 as an alias.
12457 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
12458 Define scandirat64 as an alias.
12459 * dirent/alphasort64.c (alphasort64):
12460 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
12461 * dirent/versionsort64.c: Likewise.
12462 * dirent/scandir64.c: Likewise.
12463 * dirent/scandirat64.c: Likewise.
12464 * sysdeps/wordsize-64/alphasort.c: File removed.
12465 * sysdeps/wordsize-64/alphasort64.c: File removed.
12466 * sysdeps/wordsize-64/scandir.c: File removed.
12467 * sysdeps/wordsize-64/scandir64.c: File removed.
12468 * sysdeps/wordsize-64/scandirat.c: File removed.
12469 * sysdeps/wordsize-64/scandirat64.c: File removed.
12470 * sysdeps/wordsize-64/versionsort.c: File removed.
12471 * sysdeps/wordsize-64/versionsort64.c: File removed.
12472 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
12473 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
12474 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
12475 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
12476 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
12477 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
12478 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
12479 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
12480
12481 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
12482 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
12483 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
12484 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12485 [defined __arch64__ || defined __sparcv9]
12486 (__INO_T_MATCHES_INO64_T): New macro.
12487 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12488 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
12489 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
12490 * sysdeps/unix/sysv/linux/bits/dirent.h
12491 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
12492 (_DIRENT_MATCHES_DIRENT64): New macro.
12493
03af9520
RM
12494 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
12495 Define lockf64 as an alias.
12496 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
12497 Define fseeko64 as an alias.
12498 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
12499 Define ftello64 as an alias.
12500 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
12501 Define _IO_fgetpos64 and fgetpos64 as aliases.
12502 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
12503 Define _IO_fsetpos64 and fsetpos64 as aliases.
12504 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
12505 Conditionalize body on this.
12506 * libio/fseeko64.c: Likewise.
12507 * libio/ftello64.c: Likewise.
12508 * libio/iofgetpos64.c: Likewise.
12509 * libio/iofsetpos64.c: Likewise.
12510 * sysdeps/wordsize-64/lockf.c: File removed.
12511 * sysdeps/wordsize-64/lockf64.c: File removed.
12512 * sysdeps/wordsize-64/fseeko.c: File removed.
12513 * sysdeps/wordsize-64/fseeko64.c: File removed.
12514 * sysdeps/wordsize-64/ftello.c: File removed.
12515 * sysdeps/wordsize-64/ftello64.c: File removed.
12516 * sysdeps/wordsize-64/iofgetpos.c: File removed.
12517 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
12518 * sysdeps/wordsize-64/iofsetpos.c: File removed.
12519 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
12520 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
12521 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
12522 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
12523 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
12524 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
12525 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
12526 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
12527 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
12528 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
12529 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
12530
12531 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12532 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
12533 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
12534 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12535 [defined __arch64__ || defined __sparcv9]
12536 (__OFF_T_MATCHES_OFF64_T): New macro.
12537 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12538 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12539 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12540 (__OFF_T_MATCHES_OFF64_T): New macro.
12541
c5757acd
L
125422012-08-06 H.J. Lu <hongjiu.lu@intel.com>
12543
12544 * stdlib/secure-getenv.c (__secure_getenv): Replace
12545 GLIBC_2_16 with GLIBC_2_17.
12546
3a31811e
L
125472012-08-06 H.J. Lu <hongjiu.lu@intel.com>
12548
12549 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
12550 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12551
faa2bccb
DM
125522012-08-03 David S. Miller <davem@davemloft.net>
12553
12554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12555
85fe1997
JM
125562012-08-03 Joseph Myers <joseph@codesourcery.com>
12557
12558 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
12559 Remove.
12560 (__ASSUME_CORRECT_SI_PID): Likewise.
12561 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
12562 (__ASSUME_TMPFS_NAME): Likewise.
12563 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
12564 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
12565 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
12566 (HAVE_AUX_SECURE): Make definition unconditional.
12567 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
12568 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
12569
4f75b7a0
RM
125702012-08-03 Roland McGrath <roland@hack.frob.com>
12571
12572 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
12573 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
12574 * sysdeps/mach/hurd/eloop-threshold.h: New file.
12575 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12576 __eloop_threshold instead of SYMLOOP_MAX.
12577
12578 * sysdeps/generic/eloop-threshold.h: New file.
12579 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
12580 of MAXSYMLINKS.
12581 * elf/chroot_canon.c (chroot_canon): Likewise.
12582
7aab07e4
JM
125832012-08-03 Joseph Myers <joseph@codesourcery.com>
12584
12585 [BZ #13717]
12586 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12587 Change to 2.6.0 everywhere.
12588 * sysdeps/unix/sysv/linux/configure: Regenerated.
12589 * sysdeps/unix/sysv/linux/kernel-features.h
12590 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
12591 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
12592 kernel versions.
12593 (__ASSUME_POSIX_TIMERS): Define unconditionally.
12594 (__ASSUME_FUTEX_REQUEUE): Remove.
12595 (__ASSUME_STATFS64): Define unconditionally.
12596 (__ASSUME_AT_SECURE): Likewise.
12597 (__ASSUME_CORRECT_SI_PID): Likewise.
12598 (__ASSUME_TGKILL): Define without depending on kernel version for
12599 i386.
12600 (__ASSUME_UTIMES): Likewise.
12601 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
12602 kernel version.
12603 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
12604 (__ASSUME_TMPFS_NAME): Likewise.
12605 * README: Update reference to Linux kernel versions.
12606
b67e9372
MP
126072012-08-02 Marek Polacek <polacek@redhat.com>
12608
1f529f7d 12609 [BZ# 14150]
b67e9372
MP
12610 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
12611 libc_cv_asm_type_prefix with %.
12612 * configure: Regenerated.
d2441631
RM
12613 * include/libc-symbols.h: Remove comment about
12614 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
12615 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
12616 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
12617 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
12618 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
12619 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12620 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
12621 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
12622 * elf/tst-unique2mod1.c: Likewise.
12623 * elf/tst-unique1mod2.c: Likewise.
12624 * elf/tst-unique1mod1.c: Likewise.
12625 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
12626 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
12627 Replace ASM_TYPE_DIRECTIVE with .type.
12628 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12629 * sysdeps/i386/sysdep.h: Likewise.
12630 * sysdeps/x86_64/sysdep.h: Likewise.
12631 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
12632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12633 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 12634 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
12635 * sysdeps/powerpc/powerpc32/sysdep.h:
12636 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
12637 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12638 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12639 * sysdeps/i386/fpu/e_powf.S: Likewise.
12640 * sysdeps/i386/fpu/e_expl.S: Likewise.
12641 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12642 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12643 * sysdeps/i386/fpu/e_pow.S: Likewise.
12644 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12645 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12646 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12647 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12648 * sysdeps/i386/fpu/e_log2.S: Likewise.
12649 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12650 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12651 * sysdeps/i386/fpu/e_powl.S: Likewise.
12652 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12653 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12654 * sysdeps/i386/fpu/e_logl.S: Likewise.
12655 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12656 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12657 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12658 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12659 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12660 * sysdeps/i386/fpu/e_log.S: Likewise.
12661 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12662 * sysdeps/i386/fpu/e_logf.S: Likewise.
12663 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12664 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12665 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12666 * sysdeps/i386/fpu/e_log10.S: Likewise.
12667 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12668 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12669 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12670 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12671 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12672 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
12673 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12674 * sysdeps/i386/i686/strtok.S: Likewise.
12675 * sysdeps/i386/i386-mcount.S: Likewise.
12676 * sysdeps/i386/strtok.S: Likewise.
12677 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
12678 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12679 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12680 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12681 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12682 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12683 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12684 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12685 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12686 * sysdeps/x86_64/_mcount.S: Likewise.
12687 * sysdeps/x86_64/strtok.S: Likewise.
12688 * sysdeps/sh/_mcount.S: Likewise.
12689
2747bf9a
RM
126902012-08-01 Roland McGrath <roland@hack.frob.com>
12691
12692 * libio/iofopen.c: Include <fcntl.h>.
12693 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
12694 (_IO_fopen64, fopen64): Define as aliases.
12695 * libio/iofopen64.c: Include <fcntl.h>.
12696 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
12697 Conditionalize body on this.
12698 * sysdeps/wordsize-64/iofopen.c: File removed.
12699 * sysdeps/wordsize-64/iofopen64.c: File removed.
12700
3fb791b8
MP
127012012-08-01 Marek Polacek <polacek@redhat.com>
12702
12703 * libc/Makeconfig: Use elf in place of binfmt-subdir.
12704 Use dlfcn directly instead of a variable.
12705 (binfmt-subdir): Do not define.
12706 (dlfcn): Likewise.
12707
a9f1039f
JM
127082012-08-01 Joseph Myers <joseph@codesourcery.com>
12709
23bddc06
JM
12710 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
12711 Remove all definitions.
12712 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
12713 <kernel-features.h>.
12714 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12715 (miss_F_GETOWN_EX): Remove all definitions.
12716 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
12717 macro definition.
12718 [!__ASSUME_FCNTL64]: Remove conditional code.
12719 [__ASSUME_FCNTL64]: Make code unconditional.
12720 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
12721 <kernel-features.h>.
12722 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12723 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
12724 (lockf64) [__NR_fcntl64]: Make code unconditional.
12725 (lockf64) [__ASSUME_FCNTL64]: Likewise.
12726
a9f1039f
JM
12727 * sysdeps/unix/sysv/linux/kernel-features.h
12728 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
12729 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
12730 Make code unconditional.
12731 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12732 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
12734 [__NR_vfork]: Make code unconditional.
12735 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12736 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
12738 [__NR_vfork]: Make code unconditional.
12739 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12740 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12741
09c0ee5f
RM
127422012-08-01 Roland McGrath <roland@hack.frob.com>
12743
48aec5b9
RM
12744 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
12745 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
12746
cd97c966
RM
12747 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12748 Define mkstemp64 as an alias.
3f55550c
RM
12749 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12750 Define mkstemps64 as an alias.
cd97c966
RM
12751 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12752 Define mkostemp64 as an alias.
b8625cfc
RM
12753 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12754 Define mkostemps64 as an alias.
cd97c966
RM
12755 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
12756 Conditionalize body on this.
12757 * misc/mkostemp64.c: Likewise.
b8625cfc 12758 * misc/mkostemps64.c: Likewise.
3f55550c 12759 * misc/mkstemps64.c: Likewise.
cd97c966
RM
12760 * sysdeps/wordsize-64/mkstemp64.c: File removed.
12761 * sysdeps/wordsize-64/mkostemp64.c: File removed.
12762 * sysdeps/wordsize-64/mkostemp.c: File removed.
12763 * sysdeps/wordsize-64/mkstemp.c: File removed.
12764 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
12765 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
12766 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
12767 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
12768
09c0ee5f
RM
12769 [BZ #14138]
12770 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
12771 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
12772 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
12773 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
12774
12775 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
12776 compat_symbol macros from <shlib-compat.h> rather than the underlying
12777 default_symbol_version and symbol_version macros, so that DEFAULT
12778 lines in shlib-versions are respected.
12779 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
12780
7e66ee51
FW
127812012-08-01 Florian Weimer <fweimer@redhat.com>
12782
12783 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
12784 Declare with warn_unused_result.
12785 (setgid, setregid, setegid, setresgid): Likewise.
12786 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
12787 Likewise.
12788 * WUR-REPORT: Remove set*id functions.
12789
d2a54255
PT
127902012-07-31 Pino Toscano <toscano.pino@tiscali.it>
12791
12792 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
12793
7ecdb005
RM
127942012-07-31 Roland McGrath <roland@hack.frob.com>
12795
b4180a5e 12796 [BZ #10191]
789bd351
RM
12797 * include/sys/socket.h (__libc_accept, __libc_accept4):
12798 Add attribute_hidden.
12799 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
12800
40ce302d
RM
12801 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
12802 use of PTR_MANGLE.
12803 * inet/getnetgrent_r.c (setup): Likewise.
12804
7ecdb005
RM
12805 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
12806
e2eabb2c
DM
128072012-07-31 David S. Miller <davem@davemloft.net>
12808
12809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12810
d0419dbf
JM
128112012-07-31 Joseph Myers <joseph@codesourcery.com>
12812
12813 [BZ #13629]
12814 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
12815 value between 1.0 and 2.0 and smaller part has absolute value less
12816 than 1.0.
12817 * math/s_clog10.c (__clog10): Likewise.
12818 * math/s_clog10f.c (__clog10f): Likewise.
12819 * math/s_clog10l.c (__clog10l): Likewise.
12820 * math/s_clogf.c (__clogf): Likewise.
12821 * math/s_clogl.c (__clogl): Likewise.
12822 * math/libm-test.inc (clog_test): Add more tests.
12823 (clog10_test): Likewise.
12824 * sysdeps/i386/fpu/libm-test-ulps: Update.
12825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12826
2bc13872
FW
128272012-07-31 Florian Weimer <fweimer@redhat.com>
12828
12829 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
12830 Exit with zero in case no suitable GID is found, and write a
12831 message to standard error.
12832
bea9b193
RM
128332012-07-30 Roland McGrath <roland@hack.frob.com>
12834
12835 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
12836 rather than to 1.
12837 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
12838 (MAXPATHLEN): Removed.
12839 (NOGROUP, NODEV): New macros.
12840 (setbit, clrbit, isset, isclr): New macros.
12841 (howmany, roundup, powerof2): New macros.
12842 (DEV_BSIZE): New macro.
12843
12844 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
12845 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
12846
12847 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
12848 definition on [!__NO_LONG_DOUBLE_MATH].
12849
12850 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
12851 PTR_MANGLE and PTR_DEMANGLE.
12852
12853 * socket/accept4.c (accept4): Rename to __libc_accept4.
12854 Define accept4 as a weak alias.
12855
12856 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
12857 on [_DIRENT_HAVE_D_TYPE].
12858 * io/ftw.c (ftw_dir): Likewise.
12859
12860 * io/xmknod.c (__xmknod): Don't check PATH for being null.
12861
12862 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
12863
12864 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
12865 Use the BSD numbers rather than the arbitrary ones we had.
12866 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
12867 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
12868 (SIGXCPU, SIGXFSZ): New macros.
12869 (_NSIG): Now 32.
12870
12871 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
12872 initializer on [_LIBC_REENTRANT].
12873
12874 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
12875 definitions inside [_POSIX_MAPPED_FILES].
12876
12877 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
12878
12879 * dirent/opendir.c: Include <fcntl.h>.
12880
12881 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
12882 (__libc_getspecific): Likewise.
12883 (__libc_key_create): Likewise.
12884
12885 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
12886 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
12887 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
12888 (tmpfile64): Define as alias.
12889 * sysdeps/wordsize-64/tmpfile.c: File removed.
12890 * sysdeps/wordsize-64/tmpfile64.c: File removed.
12891 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
12892 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
12893
12894 * stdio-common/vfscanf.c: Include <stdbool.h>.
12895 * nss/makedb.c: Likewise.
12896 * stdio-common/_i18n_number.h: Likewise.
12897 * argp/argp-help.c: Likewise.
12898 * posix/wordexp.c: Likewise.
12899 * sysdeps/posix/spawni.c: Likewise.
12900 * nss/nss_files/files-initgroups.c: Likewise.
12901 * stdio-common/reg-modifier.c: Include <stdlib.h>.
12902 * nss/nss_files/files-initgroups.c: Likewise.
12903 * nss/nss_db/db-netgrp.c: Likewise.
12904 * nss/nss_db/db-initgroups.c: Likewise.
12905 * io/fchmodat.c: Include <sys/stat.h>.
12906
12907 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
12908 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
12909
12910 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
12911 [HAVE_MMAP].
12912
12913 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
12914 Add multiple inclusion protection.
12915
e5abc686
DM
129162012-07-27 David S. Miller <davem@davemloft.net>
12917
12918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12919
815e6fa3
GB
129202012-07-27 Gary Benson <gbenson@redhat.com>
12921
12922 [BZ #14298]
12923 * elf/rtld.c: Include <stap-probe.h>.
12924 (dl_main): Added static probes "init_start" and "init_complete".
12925 * elf/dl-load.c: Include <stap-probe.h>.
12926 (lose): Take new parameter "nsid".
12927 Added static probe "map_failed".
12928 (_dl_map_object_from_fd): Pass namespace id to lose.
12929 Added static probe "map_start".
12930 (open_verify): Pass namespace id to lose.
12931 * elf/dl-open.c: Include <stap-probe.h>.
12932 (dl_open_worker) Added static probes "map_complete", "reloc_start"
12933 and "reloc_complete".
12934 * elf/dl-close.c: Include <stap-probe.h>.
12935 (_dl_close_worker): Added static probes "unmap_start" and
12936 "unmap_complete".
12937 * elf/rtld-debugger-interface.txt: New file documenting the above.
12938
9f98c16c
RM
129392012-07-26 Roland McGrath <roland@hack.frob.com>
12940
12941 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
12942 rather than a string variable.
12943 * sunrpc/rpc_main.c (h_output): Likewise.
12944 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
12945
f3c22df3
PT
129462012-07-26 Pino Toscano <toscano.pino@tiscali.it>
12947
12948 * inet/check_native.c: New file.
12949
3129cfc6
JM
129502012-07-26 Joseph Myers <joseph@codesourcery.com>
12951
da865e95
JM
12952 [BZ #13629]
12953 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
12954 if larger part has absolute value 1.0.
12955 * math/s_clog10.c (__clog10): Likewise.
12956 * math/s_clog10f.c (__clog10f): Likewise.
12957 * math/s_clog10l.c (__clog10l): Likewise.
12958 * math/s_clogf.c (__clogf): Likewise.
12959 * math/s_clogl.c (__clogl): Likewise.
12960 * math/libm-test.inc (clog_test): Add more tests.
12961 (clog10_test): Likewise.
12962 * sysdeps/i386/fpu/libm-test-ulps: Update.
12963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12964
3129cfc6
JM
12965 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
12966 (pltexit): Likewise.
12967 (La_regs): Likewise.
12968 (La_retval): Likewise.
12969 (int_retval): Likewise.
12970 Update #error for removed macros to refer only to definitions in
12971 tst-audit.h.
12972 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
12973 macro.
12974 (pltexit): Likewise.
12975 (La_regs): Likewise.
12976 (La_retval): Likewise.
12977 (int_retval): Likewise.
12978 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
12979 macro.
12980 (pltexit): Likewise.
12981 (La_regs): Likewise.
12982 (La_retval): Likewise.
12983 (int_retval): Likewise.
12984 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
12985 macro.
12986 (pltexit): Likewise.
12987 (La_regs): Likewise.
12988 (La_retval): Likewise.
12989 (int_retval): Likewise.
12990 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
12991 macro.
12992 (pltexit): Likewise.
12993 (La_regs): Likewise.
12994 (La_retval): Likewise.
12995 (int_retval): Likewise.
12996 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
12997 macro.
12998 (pltexit): Likewise.
12999 (La_regs): Likewise.
13000 (La_retval): Likewise.
13001 (int_retval): Likewise.
13002 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
13003 macro.
13004 (pltexit): Likewise.
13005 (La_regs): Likewise.
13006 (La_retval): Likewise.
13007 (int_retval): Likewise.
13008 * sysdeps/generic/tst-audit.h: Update comment to refer only to
13009 macro definitions in tst-audit.h.
13010 * sysdeps/i386/tst-audit.h: New file.
13011 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
13012 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
13013 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
13014 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
13015 * sysdeps/sh/tst-audit.h: Likewise.
13016 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
13017 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
13018 * sysdeps/x86_64/tst-audit.h: Likewise.
13019
bfc07087
AJ
130202012-07-26 Andreas Jaeger <aj@suse.de>
13021
b1b2aaf8
AJ
13022 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
13023 ptrace.
13024
13025 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
13026 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
13027 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
13028 PTRACE_O_MASK.
13029 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
13030 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
13031 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
13032
bfc07087
AJ
13033 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
13034 value.
13035
13036 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
13037 _sigsys.
13038 (si_call_addr, si_syscall, si_arch): Define new macro.
13039 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
13040 _sigsys.
13041 (si_call_addr, si_syscall, si_arch): Define new marcro.
13042 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
13043 _sigsys.
13044 (si_call_addr, si_syscall, si_arch): Define new macro.
13045 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
13046 _sigsys.
13047 (si_call_addr, si_syscall, si_arch): Define new macro.
13048
89b4b02f
JM
130492012-07-25 Joseph Myers <joseph@codesourcery.com>
13050
13051 [BZ #13717]
13052 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13053 Change to 2.4.21 where previously 2.4.1.
13054 * sysdeps/unix/sysv/linux/configure: Regenerated.
13055 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
13056 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
13057 Linux kernel version.
13058 (__ASSUME_STD_AUXV): Remove.
13059 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
13060 kernel version.
13061 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
13062 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
13063 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
13064 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
13065 (__ASSUME_NETLINK_SUPPORT): Likewise.
13066 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
13067 (__no_netlink_support): Remove conditional definition.
13068 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
13069 Remove.
13070 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13071 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
13072 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
13073 (if_nameindex_ioctl): Remove.
13074 (if_nameindex_netlink): Do not handle __no_netlink_support.
13075 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13076 code.
13077 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
13078 Remove conditional code.
13079 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13080 code.
13081 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
13082 unconditional.
13083 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13084 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
13085 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
13086 Remove.
13087 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
13088 [!__ASSUME_STD_AUXV]: Remove conditional code.
13089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
13090 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
13091 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
13092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
13093 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
13094 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13095 code.
13096 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13098 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
13099 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13100 conditional code.
13101 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13103 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13104 code.
13105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13106 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13107 conditional code.
13108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
13109 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13110 code unconditional.
13111 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13112 conditional code.
13113 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13114 unconditional.
13115 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13116 conditional code.
13117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13118 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13119 unconditional.
13120 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13121 conditional code.
13122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13123 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13124 code unconditional.
13125 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13126 conditional code.
13127 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13128 unconditional.
13129 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13130 conditional code.
13131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13132 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13133 code unconditional.
13134 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13135 conditional code.
13136 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13137 unconditional.
13138 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13139 conditional code.
13140
842a39cd
AS
131412012-07-25 Andreas Schwab <schwab@linux-m68k.org>
13142
13143 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
13144 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
13145 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13146 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
13147 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
13148 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13149 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13150 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13151 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
13152 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13153 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
13154 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
13155 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
13156 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13157 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13158 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
13159 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
13160 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
13161 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
13162 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
13163 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
13164 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13165 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13166
84b3fd84
FW
131672012-07-25 Florian Weimer <fweimer@redhat.com>
13168
13169 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
13170 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
13171 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
13172 Introduce __libc_secure_getenv.
0c7936d5
FW
13173 * stdlib/Versions (2.17): Add secure_getenv
13174 (GLIBC_PRIVATE): Add __libc_secure_getenv.
13175 * stdlib/secure-getenv.c: Rename __secure_getenv to
13176 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
13177 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
13178 * stdlib/tst-secure-getenv.c: New.
13179 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
13180 * manual/startup.texi (Environment Access): Document
13181 secure_getenv.
84b3fd84
FW
13182 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
13183 __libc_secure_getenv.
13184 * inet/ruserpass.c (ruserpass): Likewise.
13185 * malloc/mtrace.c (mtrace): Likewise.
13186 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 13187 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
13188 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
13189 * sysdeps/posix/tempname.c: Likewise. Evaluate
13190 HAVE_SECURE_GETENV.
13191 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 13192 __secure_getenv to __libc_secure_getenv.
84b3fd84 13193 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
13194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13195 Likewise.
13196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13197 Likewise.
13198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13200 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 13205
56e49b71
JM
132062012-07-25 Joseph Myers <joseph@codesourcery.com>
13207
13208 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
13209 (struct La_i86_retval): Likewise.
13210 (struct La_x86_64_regs): Likewise.
13211 (struct La_x86_64_retval): Likewise.
13212 (struct La_x32_regs): Likewise.
13213 (struct La_x32_retval): Likewise.
13214 (struct La_ppc32_regs): Likewise.
13215 (struct La_ppc32_retval): Likewise.
13216 (struct La_ppc64_regs): Likewise.
13217 (struct La_ppc64_retval): Likewise.
13218 (struct La_sh_regs): Likewise.
13219 (struct La_sh_retval): Likewise.
13220 (struct La_s390_32_regs): Likewise.
13221 (struct La_s390_32_retval): Likewise.
13222 (struct La_s390_64_regs): Likewise.
13223 (struct La_s390_64_retval): Likewise.
13224 (struct La_sparc32_regs): Likewise.
13225 (struct La_sparc32_retval): Likewise.
13226 (struct La_sparc64_regs): Likewise.
13227 (struct La_sparc64_retval): Likewise.
13228 (struct audit_ifaces): Remove architecture-specific pltenter and
13229 pltexit members.
13230 * sysdeps/i386/ldsodefs.h: New file.
13231 * sysdeps/powerpc/ldsodefs.h: Likewise.
13232 * sysdeps/s390/ldsodefs.h: Likewise.
13233 * sysdeps/sh/ldsodefs.h: Likewise.
13234 * sysdeps/sparc/ldsodefs.h: Likewise.
13235 * sysdeps/x86_64/ldsodefs.h: Likewise.
13236
354691b7
MP
132372012-07-25 Marek Polacek <polacek@redhat.com>
13238
13239 [BZ #6808]
13240 * math/libm-test.inc (yn_test): Add another test.
13241 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
13242 to ERANGE when the result is +-Inf.
13243 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13244 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
13245 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
13246 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
13247
bf9e2071
JM
132482012-07-24 Joseph Myers <joseph@codesourcery.com>
13249
13250 * conform/data/time.h-data (NULL): Use macro-constant. Require
13251 equal to 0.
13252 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
13253 clock_t.
13254 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
13255
57633811
TS
132562012-07-23 Thomas Schwinge <thomas@codesourcery.com>
13257
13258 * configure.in <sysdeps resolving>: Correct printing
13259 Implies_before.
13260 * configure: Regenerate.
13261
c23c33b0
TS
132622012-07-22 Thomas Schwinge <thomas@codesourcery.com>
13263
13264 * math/w_ilogb.c: Include <limits.h>.
13265 * math/w_ilogbl.c: Likewise.
13266
b5982523
JM
132672012-07-20 Joseph Myers <joseph@codesourcery.com>
13268
13269 * manual/lang.texi (__va_copy): Document primarily as ISO C99
13270 va_copy. Document allowing for unavailable va_copy only as
13271 pre-C99 compatibility.
13272 * manual/string.texi (Copying and Concatenation): Use va_copy
13273 instead of __va_copy in concat example.
13274
ac4ea442
PT
132752012-07-20 Pino Toscano <toscano.pino@tiscali.it>
13276
13277 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
13278 (__sendto): Use create_address_port. Initialize APORT and deallocate
13279 it if not null.
13280
f98eafbd
PT
13281 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
13282 with O_NOLINK passed to __file_name_lookup.
13283
898c7aab
PT
13284 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
13285 with O_NOLINK passed to __file_name_lookup.
13286
0ced335a
PT
13287 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
13288 negative N or less than NGIDS.
13289
b3404dbd
PT
13290 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
13291 type to string_t. Set ERANGE as errno and return it if NAME is not big
13292 enough. Use memcpy instead of strncpy.
13293
0f48659e
JM
132942012-07-20 Joseph Myers <joseph@codesourcery.com>
13295
13296 * elf/Makefile (check-data): Remove.
13297 (localplt.data): New vpath directive.
13298 ($(objpfx)check-localplt.out): Use localplt.data from vpath
13299 instead of $(check-data).
13300 * scripts/data/localplt-generic.data: Move to ...
13301 * sysdeps/generic/localplt.data: ... here.
13302 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
13303 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
13304 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
13305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13306 ... here.
13307 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
13308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13309 ... here.
13310 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
13311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
13312 ... here.
13313 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
13314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13315 ... here.
13316 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
13317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
13318 ... here.
13319 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
13320 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
13321 ... here.
13322
d37cbdaa
AZ
133232012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13324
13325 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
13326 PPC32 and PPC64 files.
13327 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
13328 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
13329
46f85fc2
AK
133302012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13331
13332 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
13333 __makecontext_ret to ...
13334 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
13335 ... here and call exit if uc_link is NULL. New file.
13336 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
13337 __makecontext_ret.S.
13338 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
13339 __makecontext_ret to ...
13340 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
13341 ... here and call exit if uc_link is NULL. New file.
13342 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
13343 __makecontext_ret.S.
13344
08f43f9b
AK
133452012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13346
13347 * elf/elf.h (R_390_IRELATIVE): New definition.
13348 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
13349 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
13350 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
13351 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13352 (elf_machine_lazy_rel): Likewise.
13353 * sysdeps/s390/dl-irel.h: New file.
13354 * sysdeps/s390/s390-64/memcpy.S: New asm code.
13355 * sysdeps/s390/s390-64/memset.S: New asm code.
13356 * sysdeps/s390/s390-64/memcmp.S: New asm code.
13357 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
13358 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
13359 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
13360 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
13361 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
13362 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
13363 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
13364 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
13365 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
13366 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
13367 * sysdeps/s390/s390-32/memcpy.S: New asm code.
13368 * sysdeps/s390/s390-32/memset.S: New asm code.
13369 * sysdeps/s390/s390-32/memcmp.S: New asm code.
13370
3b05db33
MP
133712012-07-17 Marek Polacek <polacek@redhat.com>
13372
13373 [BZ #14349]
13374 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
13375 * sysdeps/s390/s390-64/configure.in: Likewise.
13376 * sysdeps/sparc/configure.in: Likewise.
13377 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
13378 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
13379 * sysdeps/i386/configure.in: Likewise.
13380 * sysdeps/x86_64/configure.in: Likewise.
13381 * sysdeps/sh/configure.in: Likewise.
13382 * sysdeps/s390/s390-32/configure: Regenerated.
13383 * sysdeps/s390/s390-64/configure: Likewise.
13384 * sysdeps/x86_64/configure: Likewise.
13385 * sysdeps/sh/configure: Likewise.
13386 * sysdeps/powerpc/powerpc64/configure: Likewise.
13387 * sysdeps/powerpc/powerpc32/configure: Likewise.
13388 * sysdeps/sparc/configure: Likwise.
13389 * sysdeps/i386/configure: Likewise.
13390
a66877c6
MP
13391 * elf/dl-open.c: Comment fixes.
13392
cfc82fd8
JM
133932012-07-17 Joseph Myers <joseph@codesourcery.com>
13394
bd29910a
JM
13395 * Makefile [CXX] (check-data): Remove.
13396 [CXX] (c++-types.data): New vpath directive.
13397 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
13398 vpath. Do not allow for C++ type data being missing.
13399 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
13400 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
13401 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
13402 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
13403 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
13404 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
13405 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
13406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13407 ... here.
13408 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
13409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13410 ... here.
13411 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
13412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
13413 ... here.
13414 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
13415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
13416 ... here.
13417 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
13418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
13419 ... here.
13420 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
13421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
13422 ... here.
13423 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
13424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
13425 ... here.
13426 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
13427 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
13428
cfc82fd8
JM
13429 * elf/tls-macros.h (TLS_LE): Move architecture-specific
13430 definitions to architecture-specific files.
13431 (TLS_IE): Likewise.
13432 (TLS_LD): Likewise.
13433 (TLS_GD): Likewise.
13434 * sysdeps/i386/tls-macros.h: New file.
13435 * sysdeps/powerpc/tls-macros.h: Likewise.
13436 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
13437 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
13438 * sysdeps/sh/tls-macros.h: Likewise.
13439 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
13440 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
13441 * sysdeps/x86_64/tls-macros.h: Likewise.
13442
f7db3170
TS
134432012-07-17 Thomas Schwinge <thomas@codesourcery.com>
13444
07cbfc23
TS
13445 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
13446 zero value for regular exit case.
13447
f7db3170
TS
13448 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13449 (__start_context): Preserve zero value for regular exit case.
13450
dc97c227
TS
134512012-07-17 Thomas Schwinge <thomas@codesourcery.com>
13452 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13453
13454 * manual/setjmp.texi (setcontext): Clarify normal process
13455 termination when uc_link is the null pointer.
13456 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
13457 exit call.
13458
d0cd7d02
AS
134592012-07-16 Andreas Schwab <schwab@linux-m68k.org>
13460
13461 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
13462 preprocessor. Test for each exception mask separately.
13463
dd318934
AJ
134642012-07-16 Andreas Jaeger <aj@suse.de>
13465
13466 * po/ru.po: Update from translation team.
13467
8048311a
JM
134682012-07-15 Joseph Myers <joseph@codesourcery.com>
13469
13470 * conform/data/string.h-data (NULL): Use macro-constant. Require
13471 equal to 0.
13472 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13473 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13474 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
13475 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
13476 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13477
b637d46e
AJ
134782012-07-13 Andreas Jaeger <aj@suse.de>
13479
13480 * po/fr.po: Update from translation team.
13481
541428fe
MP
134822012-07-12 Marek Polacek <polacek@redhat.com>
13483
13484 [BZ #14173]
13485 * math/libm-test.inc (yn_test): Add test for BZ #14173.
13486 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
13487 loop condition.
13488
ec332e94
JM
134892012-07-12 Joseph Myers <joseph@codesourcery.com>
13490
13491 [BZ #13717]
13492 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13493 Change to 2.4.1 where previously 2.4.0.
13494 * sysdeps/unix/sysv/linux/configure: Regenerated.
13495 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
13496 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
13497 version.
13498 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
13499 (__ASSUME_AT_CLKTCK): Remove.
13500 (__ASSUME_AT_PAGESIZE): Likewise.
13501 (__ASSUME_AT_XID): Likewise.
13502 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
13503 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
13504 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
13505 unconditionally.
13506 (HAVE_AUX_PAGESIZE): Likewise.
13507 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
13508 [__ASSUME_AT_CLKTCK]: Make code unconditional.
13509 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
13510
7b6e99be
JB
135112012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
13512
13513 [BZ #14307]
13514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
13515 the temporary buffer used to invoke __gethostbyname2_r,
13516 __gethostbyaddr_r and gethostbyname4_r to make room for struct
13517 host_data / struct gaih_addrtuple.
13518 * resolv/nss_dns/dns-host.c (global scope): Move definition of
13519 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
13520 header file nss/nsswitch.h.
13521 * nss/nsswitch.h (global scope): Add definition of implementation
13522 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
13523 resolv/nss_dns/dns-host.c).
13524
608404eb
AJ
135252012-07-11 Andreas Jaeger <aj@suse.de>
13526
13527 * po/fr.po: Update from translation team.
13528
71220aca
AJ
13529 * po/sv.po: Update from translation team
13530 * po/fr.po: Another update from translation team.
13531
28cfe843
AZ
135322012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13533
13534 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
13535 for subnormals or multiply small sinh result by itself.
13536 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13538
6b90f981
DM
135392012-07-11 David S. Miller <davem@davemloft.net>
13540
13541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13542
c6825772
AS
135432012-07-10 Andreas Schwab <schwab@linux-m68k.org>
13544
13545 [BZ #14347]
13546 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
13547 (INTERNAL_MARK): Shift it here.
13548
7b8e0d49
MP
135492012-07-10 Marek Polacek <polacek@redhat.com>
13550
13551 [BZ #14151]
13552 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
13553 libc_cv_asm_global_directive with .globl.
13554 * configure: Regenerated.
13555 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
13556 with .globl.
13557 * sysdeps/i386/configure: Regenerated.
13558 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
13559 with .globl.
13560 * sysdeps/x86_64/configure: Regenerated.
13561 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
13562 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
13563 * elf/tst-unique2mod2.c: Likewise.
13564 * elf/tst-unique2mod1.c: Likewise.
13565 * elf/tst-unique1mod2.c: Likewise.
13566 * elf/tst-unique1mod1.c: Likewise.
13567 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13568 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13569 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13570 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13571 * sysdeps/mach/sysdep.h: Likewise.
13572 * sysdeps/i386/sysdep.h: Likewise.
13573 * sysdeps/i386/i386-mcount.S: Likewise.
13574 * sysdeps/x86_64/_mcount.S: Likewise.
13575 * sysdeps/x86_64/sysdep.h: Likewise.
13576 * sysdeps/sh/_mcount.S: Likewise.
13577 * sysdeps/sh/sysdep.h: Likewise.
13578 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
13579 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
13580 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
13581 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13582 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
13583 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
13584 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
13585 * locale/localeinfo.h: Likewise.
13586 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
13587 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
13588
6c55cda3
RM
135892012-07-09 Roland McGrath <roland@hack.frob.com>
13590
13591 [BZ #14336]
13592 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
13593 system".
13594 * manual/message.texi (The Uniforum approach): Likewise.
13595 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
13596 (glibc iconv Implementation): Likewise.
13597
638a572e
JM
135982012-07-09 Joseph Myers <joseph@codesourcery.com>
13599
13600 [BZ #14337]
13601 * math/s_clog.c (__clog): Avoid scaling a value down where that
13602 could result in underflow.
13603 * math/s_clog10.c (__clog10): Likewise.
13604 * math/s_clog10f.c (__clog10f): Likewise.
13605 * math/s_clog10l.c (__clog10l): Likewise.
13606 * math/s_clogf.c (__clogf): Likewise.
13607 * math/s_clogl.c (__clogl): Likewise.
13608 * math/libm-test.inc (clog_test): Add more tests.
13609 (clog10_test): Likewise.
13610 * sysdeps/i386/fpu/libm-test-ulps: Update.
13611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13612
261f4859
AS
136132012-07-06 Andreas Schwab <schwab@linux-m68k.org>
13614
0abaf3e4
AS
13615 [BZ #14283]
13616 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
13617 by 7 not 8 to examine high bit of fractional part.
13618
261f4859
AS
13619 [BZ #14042]
13620 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
13621 for call to __mcount_internal.
13622 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
13623 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
13624 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
13625
f17ac40d
JM
136262012-07-06 Joseph Myers <joseph@codesourcery.com>
13627
9ad63c23
JM
13628 [BZ #14154]
13629 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
13630 approximation for values within 0x1p-13f of an odd multiple of
13631 pi/4.
13632 * math/libm-test.inc (tan_test): Do not allow spurious underflow
13633 exception. Add more tests.
13634 * sysdeps/i386/fpu/libm-test-ulps: Update.
13635
f17ac40d
JM
13636 [BZ #6778]
13637 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
13638 inputs and return -1 for them. Do not check for +Inf in case not
13639 reachable for +Inf.
13640 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13641 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
13642 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13643 and return -1 for them. Do not check for +Inf in case not
13644 reachable for +Inf.
13645 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
13646 define.
13647 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13648 and return -1 for them. Do not check for +Inf in case not
13649 reachable for +Inf.
13650 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
13651 spurious underflow.
13652 * sysdeps/i386/fpu/libm-test-ulps: Update.
13653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13654
fb21f89b
MF
136552012-07-06 Mike Frysinger <vapier@gentoo.org>
13656
13657 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
13658
cdfe2c5e
JM
136592012-07-05 Joseph Myers <joseph@codesourcery.com>
13660
13661 [BZ #14157]
13662 [BZ #14331]
13663 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
13664 could result in spurious underflow. Scale down values above
13665 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
13666 * math/s_csqrtf.c (__csqrtf): Likewise.
13667 * math/s_csqrtl.c (__csqrtl): Likewise.
13668 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
13669 spurious underflow.
13670 * sysdeps/i386/fpu/libm-test-ulps: Update.
13671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13672
70d35b67
AS
136732012-07-04 Andreas Schwab <schwab@linux-m68k.org>
13674
704bc459
AS
13675 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
13676 xopen-msg.sed.
13677 * catgets/xopen-msg.awk: New file.
13678 * catgets/xopen-msg.sed: Removed.
13679
70d35b67
AS
13680 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
13681 po2text.sed.
13682 * intl/po2test.awk: New file.
13683 * intl/po2test.sed: Removed.
13684
ca61cf32
JM
136852012-07-04 Joseph Myers <joseph@codesourcery.com>
13686
13687 [BZ #14328]
13688 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
13689 or multiply small sinh result by itself.
13690 * math/s_ctanf.c (__ctanf): Likewise.
13691 * math/s_ctanh.c (__ctanh): Likewise.
13692 * math/s_ctanhf.c (__ctanhf): Likewise.
13693 * math/s_ctanhl.c (__ctanhl): Likewise.
13694 * math/s_ctanl.c (__ctanl): Likewise.
13695 * math/libm-test.inc (ctan_test_tonearest): New function.
13696 (ctan_test_towardzero): Likewise.
13697 (ctan_test_downward): Likewise.
13698 (ctan_test_upward): Likewise.
13699 (ctanh_test_tonearest): Likewise.
13700 (ctanh_test_towardzero): Likewise.
13701 (ctanh_test_downward): Likewise.
13702 (ctanh_test_upward): Likewise.
13703 (main): Call these new functions.
13704 * sysdeps/i386/fpu/libm-test-ulps: Update.
13705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13706
ca48a46a
MF
137072012-07-03 Mike Frysinger <vapier@gentoo.org>
13708
13709 * .gitignore: Delete /ports entry.
13710
9d63d37d
AJ
137112012-07-03 Andreas Jaeger <aj@suse.de>
13712
13713 * po/bg.po: Update from translation team.
13714 * po/cs.po: Likewise.
13715 * po/de.po: Likewise.
13716 * po/hr.po: Likewise.
13717 * po/nl.pl: Likewise.
13718 * po/pl.po: Likewise.
13719 * po/vi.po: Likewise.
13720
370ca3d2
JM
137212012-07-03 Joseph Myers <joseph@codesourcery.com>
13722
95f5a9a8
JM
13723 * Makeconfig [!+link] (+link-before-libc): New variable.
13724 [!+link] (+link-after-libc): Likewise.
13725 [!+link] (+link-tests): Likewise.
13726 [!+link] (+link): Define in terms of $(+link-before-libc) and
13727 $(+link-after-libc).
13728 [!+link-static] (+link-static-before-libc): New variable.
13729 [!+link-static] (+link-static-after-libc): Likewise.
13730 [!+link-static] (+link-static-tests): Likewise.
13731 [!+link-static] (+link-static): Define in terms of
13732 $(+link-static-before-libc) and $(+link-static-after-libc).
13733 [build-shared] (link-libc-before-gnulib): New variable.
13734 [build-shared] (link-libc-tests): Likewise.
13735 [build-shared] (link-libc): Define in terms of
13736 $(link-libc-before-gnulib).
13737 [!build-shared] (link-libc-tests): New variable.
13738 (link-libc-static-tests): New variable.
13739 [!gnulib] (gnulib-arch): New variable.
13740 [!gnulib] (gnulib-tests): Likewise.
13741 [!gnulib] (static-gnulib-arch): Likewise.
13742 [!gnulib] (static-gnulib-tests): Likewise.
13743 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
13744 Define with "=" instead of ":=".
13745 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
13746 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
13747 * Rules (binaries-all-notests): New variable.
13748 (binaries-all-tests): Likewise.
13749 (binaries-static-notests): Likewise.
13750 (binaries-static-tests): Likewise.
13751 (binaries-all): Define using $(binaries-all-notests) and
13752 $(binaries-all-tests).
13753 (binaries-static): Define using $(binaries-static-notests) and
13754 $(binaries-static-tests).
13755 (binaries-shared-tests): New variable.
13756 (binaries-shared-notests): Likewise.
13757 (binaries-shared): Remove variable.
13758 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
13759 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
13760 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
13761 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
13762 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
13763 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
13764 * elf/Makefile (sln-modules): New variable.
13765 (extra-objs): Add $(sln-modules:=.o).
13766 (ldconfig-modules): Add static-stubs.
13767 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
13768 * elf/static-stubs.c: New file.
13769
7a845b2c
JM
13770 [BZ #14283]
13771 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
13772 by 7 not 8 to examine high bit of fractional part. Use volatile
13773 variables when splitting into final array of floats if
13774 __FLT_EVAL_METHOD__ != 0.
13775 * math/libm-test.inc (cos_test): Add another test.
13776 (sin_test): Likewise.
13777 * sysdeps/i386/fpu/libm-test-ulps: Update.
13778
e2283f38
JM
13779 [BZ #14273]
13780 * math/libm-test.inc (cosh_test): Add more tests.
13781
370ca3d2
JM
13782 * version.h (RELEASE): Set to "development".
13783 (VERSION): Set to "2.16.90".
13784
ee9247c3
CD
137852012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
13786
13787 * NEWS: Update copyright. Remove last-updated date.
13788 Mention math library bug fixes and timezone data changes.
13789 * README: Mention GNU/Hurd, x32, and HPPA support status.
13790
4648c381
TS
137912012-06-28 Thomas Schwinge <thomas@codesourcery.com>
13792
13793 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
13794
aac78a43
AJ
137952012-06-27 Andreas Jaeger <aj@suse.de>
13796
13797 * manual/contrib.texi (Contributors): Add Samuel Thibault.
13798
ed3dbfad
AJ
137992012-06-25 Andreas Jaeger <aj@suse.de>
13800
13801 * sysdeps/s390/fpu/libm-test-ulps: Update.
13802
4d0ee855
AS
138032012-06-23 Andreas Schwab <schwab@linux-m68k.org>
13804 Thomas Schwinge <thomas@codesourcery.com>
13805
13806 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
13807 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
13808 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
13809 fanotify_mark.
13810
af1bce34
TS
138112012-06-23 Thomas Schwinge <thomas@codesourcery.com>
13812
a9fa33ba
TS
13813 * sysdeps/mach/start.c: Remove file.
13814 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
13815 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
13816 * sysdeps/sh/init-first.c: Likewise.
13817
58f902b8
TS
13818 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
13819 registers for frame unwinding purposes, add CFI directives.
13820 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13821 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
13822 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
13823 Likewise.
13824
1518f58b
TS
13825 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
13826 __fortify_fail returning.
13827 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13828
db9b5059
TS
13829 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
13830 sysdeps/sh/____longjmp_chk.S.
13831 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
13832 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
13833 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
13834 (gen-as-const-headers): Append sigaltstack-offsets.sym.
13835
967705fe
TS
13836 * sysdeps/sh/abort-instr.h: New file.
13837 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
13838 process in case exit returns.
13839
a9def8c4
TS
13840 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
13841 initialize the GOT register before use.
13842
2a649725
TS
13843 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
13844 calculation of ARGC > 4.
13845
af1bce34
TS
13846 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
13847 meaningful names to some local labels.
13848
d230f50a
KK
138492012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13850 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13851
13852 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
13853 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
13854 (__arch_compare_and_exchange_val_16_acq): Likewise.
13855 (__arch_compare_and_exchange_val_32_acq): Likewise.
13856 (atomic_exchange_and_add): Fix gUSA sequence.
13857 (atomic_add): Likewise.
13858 (atomic_add_negative): Likewise.
13859 (atomic_add_zero): Likewise.
13860 (atomic_bit_test_set): Likewise.
13861
0479b305
AS
138622012-06-22 Andreas Schwab <schwab@redhat.com>
13863
13864 [BZ #13579]
13865 * include/link.h (struct link_map): Add l_free_initfini.
13866 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
13867 l_initfini.
13868 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
13869 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
13870 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
13871 set.
13872
0e3933b9
CD
138732012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
13874
13875 * configure.in: Use AC_LANG_SOURCE.
13876 * configure: Regenerate.
13877
4248b1b1
RM
138782012-06-22 Roland McGrath <roland@hack.frob.com>
13879
13880 * configure.in (libc_cv_localstatedir): New substituted variable.
13881 * configure: Regenerated.
13882 * config.make.in (localstatedir): New variable, substituted from
13883 libc_cv_localstatedir.
13884 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
13885 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
13886 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
13887 * sysdeps/gnu/configure: Regenerated.
13888
006dd861
JL
138892012-06-21 Jeff Law <law@redhat.com>
13890
13891 [BZ #14277]
13892 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
13893 free. Simplify list management for _LIBC case.
13894
79662d42
JM
138952012-06-21 Joseph Myers <joseph@codesourcery.com>
13896
b7abb4bf
JM
13897 [BZ #14273]
13898 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
13899 Clear sign bit of 64-bit integer value before comparing against
13900 overflow value.
13901
79662d42
JM
13902 * sysdeps/mach/configure: Regenerated.
13903
1f150908
L
139042012-06-21 H.J. Lu <hongjiu.lu@intel.com>
13905
13906 [BZ #14278]
13907 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
13908
28363bbf
JL
139092012-06-21 Jeff Law <law@redhat.com>
13910
13911 [BZ #13882]
13912 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
13913 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 13914 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
13915 * elf/dl-open.c (dl_open_worker): Likewise.
13916
09615db4
CD
139172012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
13918
13919 * scripts/list-sources.sh: Scan PORTS for translations.
13920 * po/libc.pot: Regenerated.
13921
2174c6dd
AJ
139222012-06-21 Andreas Jaeger <aj@suse.de>
13923
13924 [BZ #12194]
13925 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
13926 warning.
13927 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
13928 * bits/byteswap-16.h (__bswap_16): Likewise.
13929 * bits/byteswap.h (__bswap_constant_16): Likewise.
13930
3ee947b1
L
139312012-06-18 H.J. Lu <hongjiu.lu@intel.com>
13932
13933 [BZ #14117]
a2f34833
L
13934 * sysdeps/i386/fpu_control.h: Removed.
13935 * sysdeps/x86_64/fpu_control.h: Moved to ...
13936 * sysdeps/x86/fpu_control.h: Here.
13937
3ee947b1
L
13938 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
13939 (_FPU_SETCW): Likewise.
13940
ed1825f8
L
139412012-06-15 H.J. Lu <hongjiu.lu@intel.com>
13942
25f1282a
L
13943 [BZ #14117]
13944 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
13945 * sysdeps/x86/fpu/bits/mathinline.h: This.
13946 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
13947
ed1825f8
L
13948 [BZ #14050]
13949 [BZ #14117]
13950 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
13951 functions if __x86_64__ is defined.
13952
36d54b74
CLT
139532012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
13954
13955 * string/endian.h: Add !__ASSEMBLER__ condition for including
13956 conversion interfaces.
13957
10285c21
JM
139582012-06-15 Joseph Myers <joseph@codesourcery.com>
13959
13960 [BZ #14241]
13961 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
13962 of ABS(x) in calculating zero to negative powers other than odd
13963 integers.
13964 * math/libm-test.inc (pow_test): Add more tests.
13965
06c5abbd
AJ
139662012-06-15 Andreas Jaeger <aj@suse.de>
13967
13968 * manual/contrib.texi (Contributors): Update entry of Liubov
13969 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
13970 Machado Filho.
13971
a3aeac40
CH
139722012-06-15 Cyril Hrubis <metan@ucw.cz>
13973
13974 * string/string.h: Add __wur to GNU version of strerror_r.
13975
49bdf4c1
L
139762012-06-14 H.J. Lu <hongjiu.lu@intel.com>
13977
13978 [BZ #14229]
13979 * string/Makefile (tests): Add tst-strtok_r.
13980 * string/tst-strtok_r.c: New file.
13981 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
13982 RAX_LP/RDX_LP on SAVE_PTR.
13983
834f9b8d
RM
139842012-06-14 Roland McGrath <roland@hack.frob.com>
13985
13986 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
13987
75fa1921
JM
139882012-06-14 Joseph Myers <joseph@codesourcery.com>
13989
13990 * libm_test.inc (csqrt_test): Allow more spurious underflow
13991 exceptions.
13992 (j0_test): Likewise.
13993 (j1_test): Likewise.
13994 (y0_test): Likewise.
13995 (y1_test): Likewise.
13996
771766df
CD
139972012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
13998
13999 * po/Makefile (libc.pot): Use UTF-8 charset.
14000
ceb9e56b
PP
140012012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
14002
14003 [BZ #14210]
14004 Suppress sign-conversion warning from FD_SET.
14005 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
14006 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
14007 not unsigned long int.
14008 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
14009
ddb28975
L
140102012-06-12 H.J. Lu <hongjiu.lu@intel.com>
14011
14012 [BZ #14050]
14013 [BZ #14117]
14014 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
14015 __extern_always_inline instead of __extern_inline.
14016 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
14017 (__signbit): Likewise.
14018 (__signbitl): Support C++ namespace.
14019 (lrintf): New inline function.
14020 (lrint): Likewise.
14021 (llrintf): Likewise.
14022 (llrint): Likewise.
14023 (fmaxf): Likewise.
14024 (fmax): Likewise.
14025 (fminf): Likewise.
14026 (fmin): Likewise.
14027 (rint): Likewise.
14028 (rintf): Likewise.
14029 (ceil): Likewise.
14030 (ceilf): Likewise.
14031 (floor): Likewise.
14032 (floorf): Likewise.
14033 (nearbyint): Likewise.
14034 (nearbyintf): Likewise.
14035
d7b4fb26
TS
140362012-06-12 Thomas Schwinge <thomas@codesourcery.com>
14037
14038 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
14039 non-default versions.
14040
eb55f5c2
RM
140412012-06-11 Roland McGrath <roland@hack.frob.com>
14042
14043 [BZ #14218]
14044 * manual/argp.texi (Argp): Reword argp_parse description slightly.
14045
366af02c
TS
140462012-06-09 Thomas Schwinge <thomas@codesourcery.com>
14047
99ff6e5c
TS
14048 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
14049 (FE_UPWARD, FE_DOWNWARD): Don't define.
14050 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
14051 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14052
366af02c
TS
14053 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
14054 reading it.
14055 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14056 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14057
793ea851
KK
140582012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14059
14060 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14061 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
14062 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
14063 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
14064
a728a38f
L
140652012-06-06 H.J. Lu <hongjiu.lu@intel.com>
14066
14067 [BZ #14117]
c08010c7
L
14068 * sysdeps/i386/fpu/bits/fenv.h: Removed.
14069 * sysdeps/i386/fpu/Implies: New file.
14070 * sysdeps/x86_64/fpu/Implies: Likewise.
14071 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
14072 * sysdeps/x86/fpu/bits/fenv.h: This.
14073
a728a38f
L
14074 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
14075 __SSE_MATH__.
14076
6e230d11
SP
140772012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14078
14079 [BZ #14134]
14080 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
14081 character 0xffff that matches the last element of the
14082 conversion table.
14083
1b671feb
AZ
140842012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14085
14086 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
14087 fmodl commit.
14088
6043738b
AZ
140892012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14090
14091 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
14092 values higher than 25.6283.
14093
34ae0b32
AZ
140942012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14095
14096 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
14097 subnormal exponent extraction and add some __builtin_expect.
14098 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
14099 Fix for subnormal mantissa calculation.
14100
1214ec8f
MF
141012012-06-04 Mike Frysinger <vapier@gentoo.org>
14102
14103 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
14104 cpu2 is -1 and errno is not ENOSYS.
14105
f3d1f93c
L
141062012-06-04 H.J. Lu <hongjiu.lu@intel.com>
14107
14108 [BZ #14117]
0e4a3cd7
L
14109 * sysdeps/i386/i486/bits/string.h: Renamed to ...
14110 * sysdeps/x86/bits/string.h: This.
14111 * sysdeps/x86_64/bits/string.h: Removed.
14112
6704c645
L
14113 * sysdeps/i386/i486/bits/string.h: Define inline functions only
14114 if not compiling for x86-64, but compiling for >= i486.
14115
48495318
L
14116 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
14117 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
14118
14adcbfc
L
14119 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
14120 New macro from Linux kernel 3.4.0.
14121 (FP_XSTATE_MAGIC2): Likewise.
14122 (FP_XSTATE_MAGIC2_SIZE): Likewise.
14123 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
14124 (struct _fpx_sw_bytes): New struct.
14125 (struct _xsave_hdr): Likewise.
14126 (struct _ymmh_state): Likewise.
14127 (struct _xstate): Likewise.
14128
68e408ab
L
14129 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
14130 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
14131 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
14132 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
14133 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
14134 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
14135
f3d1f93c
L
14136 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
14137 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
14138 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
14139 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
14140 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
14141 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
14142
d9dc34cd
TMQMF
141432012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14144
14145 [BZ #13743]
14146 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
14147 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
14148 (sysdep_headers): Include sys/platform/ppc.h.
14149 * sysdeps/powerpc/test-gettimebase.c: Test for
14150 __ppc_get_timebase() to catch future ISA opcode/insn changes.
14151 * manual/Makefile (appendices): Include platform.texi.
14152 * manual/contrib.texi (Contributors): Update @node pointers.
14153 * manual/maint.texi (Maintenance): Likewise.
14154 (Platform): New node.
14155 * manual/platform.texi: New file. Document the new features.
14156
4af3879c
SP
141572012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14158 Jakub Jelinek <jakub@redhat.com>
14159
14160 [BZ #14188]
14161 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
14162 where __builtin_expect is unavailable.
14163
2fd6ff13
DM
141642012-06-03 David S. Miller <davem@davemloft.net>
14165
14166 * stdlib/longlong.h: Updated from GCC.
14167
173f7220
AS
141682012-06-02 Andreas Schwab <schwab@linux-m68k.org>
14169
14170 [BZ #14042]
14171 * sysdeps/powerpc/powerpc32/mcount.c: New file.
14172 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
14173 __mcount_internal.
14174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14175 (GLIBC_2.16): Likewise.
14176
f34a1c6f
L
141772012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14178
14179 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
14180
88a4576f
JM
141812012-06-01 Joseph Myers <joseph@codesourcery.com>
14182
ea32bcdd
JM
14183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14184 (default-abi): New variable.
14185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
14186 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
14187 variable.
14188 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
14189 Likewise.
14190 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
14191 Likewise.
14192 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
14193 Likewise.
14194
88a4576f
JM
14195 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
14196 definition. Document in comment.
14197
402fe938
DM
141982012-06-01 David S. Miller <davem@davemloft.net>
14199
14200 * stdlib/longlong.h: Updated from GCC.
14201
3553723f
L
142022012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14203
14204 [BZ #14117]
3bd872c4
L
14205 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
14206 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
14207 sys/debugreg.h sys/io.h here.
14208 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
14209 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
14210 sys/io.h.
14211 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
14212 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
14213 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
14214 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
14215 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
14216 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
14217
3553723f
L
14218 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
14219 Define only if __x86_64__ is defined.
14220
4842e4fe
JM
142212012-06-01 Joseph Myers <joseph@codesourcery.com>
14222
c5bfe3d5
JM
14223 [BZ #14048]
14224 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
14225 Use int64_t for variable i.
14226 * math/libm-test.inc (fmod_test): Add more tests.
14227
4842e4fe
JM
14228 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
14229 z computation is not scheduled after fetestexcept.
14230 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
14231 Use math_force_eval instead of asm to ensure calculation scheduled
14232 before exception test.
14233 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
14234 Ensure a1 + u.d computation is not scheduled after fetestexcept.
14235
efb73488
AJ
142362012-06-01 Aurelien Jarno <aurelien@aurel32.net>
14237
14238 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
14239 computation is not scheduled after fetestexcept.
14240
29bcce7c
L
142412012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14242
14243 [BZ #14117]
14244 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
14245 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
14246
73a68f94
AZ
142472012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14248
14249 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
14250 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14251
67b6df78
L
142522012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14253
edf2933a 14254 [BZ #14117]
ebc64a18
L
14255 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
14256 <bits/wordsize.h>.
14257 (__WCHAR_MIN): Support __WORDSIZE == 64.
14258 (__WCHAR_MAX): Likewise.
14259
edf2933a
L
14260 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
14261 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
14262
57c6cf40
L
14263 [BZ #14183]
14264 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
14265 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
14266
67b6df78 14267 [BZ #14117]
8eb6281e
L
14268 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
14269 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
14270
aac639f4
L
14271 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
14272 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
14273
67b6df78
L
14274 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
14275 Defined to 1 if __x86_64__ isn't defined.
14276 (_STAT_VER_LINUX_OLD): New.
14277 (st_atime): Remove duplicate.
14278 (st_mtime): Likewise.
14279 (st_ctime): Likewise.
14280
1c2cfe81
DM
142812012-05-31 David S. Miller <davem@davemloft.net>
14282
14283 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
14284 entries.
14285
5be8418c
AS
142862012-06-01 Andreas Schwab <schwab@linux-m68k.org>
14287
e7725326
AS
14288 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
14289 gen-libm-test.pl.
14290
5be8418c
AS
14291 [BZ #14132]
14292 * elf/dl-reloc.c: Include <_itoa.h>.
14293 (_dl_reloc_bad_type): Remove use of INTUSE.
14294 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
14295 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
14296 * stdio-common/psiginfo.c (psiginfo): Likewise.
14297 * stdio-common/psignal.c (psignal): Likewise.
14298 * string/strsignal.c (strsignal): Likewise.
14299 * include/signal.h (_sys_siglist): Declare hidden proto.
14300 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
14301 INTVARDEF with libc_hidden_data_def.
14302 * stdio-common/itoa-udigits.c: Likewise.
14303 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
14304 (_itoa_lower_digits_internal): Remove declaration.
14305 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
14306 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
14307 (_sys_sigabbrev_internal): Remove aliases.
14308 (_sys_siglist): Define hidden alias.
14309
507352f1
MT
143102012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
14311
14312 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14313 bits/sysctl.h.
14314
42bbb1c3
L
143152012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14316
14317 [BZ #14117]
6bd784b6
L
14318 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
14319 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
14320
8bca20f0
L
14321 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
14322 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
14323 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
14324 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
14325 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
14326 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
14327
f9e890a9
L
14328 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
14329 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
14330 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
14331
471101a1
L
14332 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
14333 with __addr.
14334 (insw): Likewise.
14335 (insl): Likewise.
14336 (outsb): Likewise.
14337 (outsw): Likewise.
14338 (outsl): Likewise.
14339
6451c862
L
14340 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
14341 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
14342 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
14343
a254b8c9
L
14344 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
14345 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
14346 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
14347 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
14348 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
14349 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
14350
b8dfdd92
L
14351 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
14352 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
14353
578cd270
L
14354 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
14355 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
14356
de662f5f
L
14357 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
14358 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
14359 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
14360
25653439
L
14361 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
14362 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
14363 to ...
14364 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
14365
6bad24a0
L
14366 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
14367 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
14368 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
14369
42bbb1c3
L
14370 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
14371 for x86-64.
14372 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
14373
2d10d547
JM
143742012-05-31 Joseph Myers <joseph@codesourcery.com>
14375
14376 * math/math.h (M_El): Use two more decimal places.
14377 (M_LOG2El): Likewise.
14378 (M_LOG10El): Likewise.
14379 (M_LN2l): Likewise.
14380 (M_LN10l): Likewise.
14381 (M_PIl): Likewise.
14382 (M_PI_2l): Likewise.
14383 (M_PI_4l): Likewise.
14384 (M_1_PIl): Likewise.
14385 (M_2_PIl): Likewise.
14386 (M_2_SQRTPIl): Likewise.
14387 (M_SQRT2l): Likewise.
14388 (M_SQRT1_2l): Likewise.
14389
f230c29b
DM
143902012-05-31 David S. Miller <davem@davemloft.net>
14391
14392 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
14393 values between float registers.
14394 * sysdeps/sparc/sparc64/memset.S: Likewise.
14395 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14396
fed806c3
MF
143972012-05-31 Mike Frysinger <vapier@gentoo.org>
14398
14399 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
14400 -D_FORTIFY_SOURCE=1.
14401 (CPPFLAGS-tst-longjmp_chk.c): Define.
14402 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
14403 (CPPFLAGS-tst-longjmp_chk2.c): Define.
14404 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
14405 CFLAGS-tst-wchar-h.c.
14406
30917259
MP
144072012-05-31 Marek Polacek <polacek@redhat.com>
14408
14409 [BZ #14132]
14410 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
14411 __endmntent_internal): Remove declaration.
14412 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
14413 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
14414 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
14415
1c58d5dc
DM
144162012-05-30 David S. Miller <davem@davemloft.net>
14417
14418 * sysdeps/sparc/sparc32/soft-fp/q_util.c
14419 (___Q_simulate_exceptions): Use real FP ops rather than writing
14420 into the %fsr.
14421 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
14422 Likewise.
14423
7dc00e0d
L
144242012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14425
14426 [BZ #14117]
0bd53985
L
14427 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
14428 * sysdeps/x86/bits/xtitypes.h: This.
14429
3a257e66
L
14430 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
14431 * sysdeps/x86/bits/wordsize.h: This.
14432
62f62904
L
14433 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
14434 * sysdeps/x86/bits/huge_vall.h: This.
14435
404fe9d9
L
14436 * sysdeps/i386/bits/select.h: Removed.
14437 * sysdeps/x86_64/bits/select.h: Renamed to ...
14438 * sysdeps/x86/bits/select.h: This.
14439
d48d0446
L
14440 * sysdeps/i386/bits/setjmp.h: Removed.
14441 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
14442 * sysdeps/x86/bits/setjmp.h: This.
14443
7dc00e0d
L
14444 * sysdeps/i386/bits/mathdef.h: Removed.
14445 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
14446 * sysdeps/x86/bits/mathdef.h: This.
14447
03277f8f
AS
144482012-05-30 Andreas Schwab <schwab@linux-m68k.org>
14449
14450 [BZ #14132]
14451 * include/sys/socket.h (__connect_internal)
14452 (__libc_sa_len_internal): Remove declaration.
14453 (__connect, __libc_sa_len): Declare hidden_proto.
14454 (SA_LEN): Remove use of INTUSE.
14455 * socket/connect.c: Add libc_hidden_def.
14456 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
14457 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
14458 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
14459 alias.
14460 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14461 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
14462 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
14463 of adding _internal alias.
14464
13764867
L
144652012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14466
14467 [BZ #14117]
6bd97696
L
14468 * sysdeps/i386/bits/link.h: Removed.
14469 * sysdeps/i386/bits/linkmap.h: Likewise.
14470 * sysdeps/x86_64/bits/link.h: Renamed to ...
14471 * sysdeps/x86/bits/link.h: This.
14472 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
14473 * sysdeps/x86/bits/linkmap.h: This.
14474
f726f0bb
L
14475 * sysdeps/i386/bits/endian.h: Removed.
14476 * sysdeps/x86_64/bits/endian.h: Renamed to ...
14477 * sysdeps/x86/bits/endian.h: This.
14478
13764867
L
14479 * sysdeps/i386/bits/byteswap.h: Removed.
14480 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14481 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
14482 * sysdeps/x86/bits/byteswap.h: This.
14483 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
14484 * sysdeps/x86/bits/byteswap-16.h: This.
14485 * sysdeps/i386/Implies: Add x86.
14486 * sysdeps/x86_64/Implies: Likewise.
14487
ae251b0b
DM
144882012-05-30 David S. Miller <davem@davemloft.net>
14489
14490 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
14491 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
14492 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14493 (FP_TRAPPING_EXCEPTIONS): Define.
14494 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14495 (FP_TRAPPING_EXCEPTIONS): Define.
14496 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
14497 subnormals only when inexact has been signalled or underflow
14498 exceptions are enabled.
14499 (_FP_PACK_CANONICAL): Likewise.
14500
d5c90867
L
145012012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14502
14503 [BZ #14183]
14504 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
14505 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
14506
63f1549e
RH
145072012-05-30 Richard Henderson <rth@twiddle.net>
14508
8d8f2279
RH
14509 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
14510 with #ifndef NOT_IN_libc.
14511
63f1549e
RH
14512 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
14513 marked to avoid plt entry.
14514
0ab0291b
L
145152012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14516
14517 [BZ #14112]
14518 * Makeconfig (default-abi): New macro.
14519 (abi-includes): Likewise.
14520 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
14521 $(abi-$(default-abi)-lib-soname) for soname if defined.
14522 ($(common-objpfx)gnu/lib-names.stmp): Generate from
14523 abi-variants.
14524 * Makefile (installed-stubs): Likewise.
14525 * include/stubs-biarch.h: Removed.
14526 * scripts/lib-names.awk: Only handle one library at a time.
14527 * scripts/soversions.awk: Remove WORDSIZE support.
14528 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
14529 entries.
14530 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
14531 Removed.
14532 (syscall-list-default-condition): Likewise.
14533 (syscall-list-default-condition): Likewise.
14534 (syscall-list-includes): Likewise.
14535 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
14536 syscall-list-* with abi-*. Handle undefined abi-variants.
14537 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
14538 * sysdeps/unix/sysv/linux/i386/Implies: New file.
14539 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
14540 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
14541 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
14542 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
14543 Removed.
14544 (syscall-list-32-options): Likewise.
14545 (syscall-list-32-condition): Likewise.
14546 (syscall-list-64-options): Likewise.
14547 (syscall-list-64-condition): Likewise.
14548 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
14549 macro.
14550 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
14551 Renamed to ...
14552 (abi-*): This.
14553 (abi-64-ld-soname): New macro.
14554 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
14555 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
14556 Renamed to ...
14557 (abi-*): This.
14558 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
14559 * sysdeps/x86_64/x32/shlib-versions: Likewise.
14560
4da0431d
JM
145612012-05-30 Joseph Myers <joseph@codesourcery.com>
14562
3a85279c
JM
14563 * sysdeps/unix/sysv/linux/kernel-features.h
14564 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
14565 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
14566 include <kernel-features.h>.
14567 [!__NR_ftruncate64]: Remove conditional code.
14568 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14569 [__NR_ftruncate64]: Make code unconditional.
14570 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14571 * sysdeps/unix/sysv/linux/truncate64.c: Do not
14572 include <kernel-features.h>.
14573 [!__NR_ftruncate64]: Remove conditional code.
14574 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14575 [__NR_ftruncate64]: Make code unconditional.
14576 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
14578 include <kernel-features.h>.
14579 [!__NR_ftruncate64]: Remove conditional code.
14580 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14581 [__NR_ftruncate64]: Make code unconditional.
14582 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14584 include <kernel-features.h>.
14585 [!__NR_ftruncate64]: Remove conditional code.
14586 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14587 [__NR_ftruncate64]: Make code unconditional.
14588 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14589
4da0431d
JM
14590 * configure.in (libc_cv_fpie): Weaken to a compile test using
14591 LIBC_TRY_CC_OPTION.
14592 * configure: Regenerated.
14593
11ef492c
AK
145942012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14595
14596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
14597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
14598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
14599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14600 Refreshed.
14601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
14602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
14603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
14604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
14605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
14606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14607 Refreshed.
14608
d66ef399
DM
146092012-05-27 David S. Miller <davem@davemloft.net>
14610
14611 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
14612 (___Q_zero): New.
14613 (__Q_simulate_exceptions): Return void. Change to simulate
14614 exceptions by writing into the %fsr.
14615 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
14616 (__Qp_handle_exceptions): Likewise.
14617 (numbers): Delete.
14618 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
14619 __Qp_handle_exceptions.
14620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
14621 __Qp_handle_exceptions.
14622 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14623 as unused and give dummy FP_RND_NEAREST initializer.
14624 (FP_INHIBIT_RESULTS): Define.
14625 (___Q_simulate_exceptions): Update declaration.
14626 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
14627 formatting.
14628 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14629 as unused and give dummy FP_RND_NEAREST initializer.
14630 (__Qp_handle_exceptions): Update declaration.
14631 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
14632 formatting.
14633
04fb54b5
TS
146342012-05-27 Thomas Schwinge <thomas@codesourcery.com>
14635
14636 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
14637 the temporary FPU control word.
14638 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14639 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
14640 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
14641 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14642 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14643 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
14644 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
14645 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14646 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14647 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14648 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14649
3f99608f
KK
146502012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14651
14652 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
14653 fields.
14654
65a4de4e
CLT
146552012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
14656
14657 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
14658 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
14659 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
14660 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
14661 Likewise.
14662 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
14663 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
14664 Likewise.
14665
15749d40
UD
146662012-05-27 Ulrich Drepper <drepper@gmail.com>
14667
14668 * po/h.po: Update from translation team.
14669
25dbcb27
AS
146702012-05-26 Andreas Schwab <schwab@linux-m68k.org>
14671
3d3f8e55
AS
14672 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
14673
25dbcb27
AS
14674 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
14675 handling of denormals.
14676 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14677 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14678 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14679 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14680 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14681 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
14682 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
14683 Likewise.
14684
7ad47a80 146852012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
14686
14687 [BZ #14152]
14688 * math/libm-test.inc (fma_test): Don't always expect underflow
14689 exception.
14690
9c6ea9fa
SP
146912012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14692
14693 [BZ #12416]
14694 * elf/tst-execstack.c: Include stackinfo.h.
14695 (do_test): Adjust test case to ensure that pthread_getattr_np
14696 behaviour remains the same after marking stack executable.
14697
a8239222
JM
146982012-05-25 Joseph Myers <joseph@codesourcery.com>
14699
14700 * sysdeps/unix/sysv/linux/kernel-features.h
14701 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
14702 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
14703 kernel-features.h.
14704 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14705 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14706 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
14707 kernel-features.h.
14708 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14709 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14710
918b5606
L
147112012-05-25 H.J. Lu <hongjiu.lu@intel.com>
14712
14713 * configure.in: Define the default includes to being none.
14714 * configure: Regenerated.
14715
3a097cc7
RM
147162012-05-25 Roland McGrath <roland@hack.frob.com>
14717
8422c9a5
RM
14718 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
14719 * sysdeps/x86_64/setjmp.S: Likewise.
14720 * sysdeps/i386/bsd-setjmp.S: Likewise.
14721 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14722 * sysdeps/i386/setjmp.S: Likewise.
14723 * sysdeps/i386/__longjmp.S: Likewise.
14724 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14725 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
14726
3a097cc7
RM
14727 * include/stap-probe.h: New file.
14728 * configure.in: Handle --enable-systemtap.
14729 * configure: Regenerated.
14730 * config.h.in (USE_STAP_PROBE): New #undef.
14731 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
14732 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
14733 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
14734
21708942
JM
147352012-05-25 Joseph Myers <joseph@codesourcery.com>
14736
14737 [BZ #13717]
14738 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14739 to 2.4.0 where earlier.
14740 * sysdeps/unix/sysv/linux/configure: Regenerated.
14741 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
14750 [__ASSUME_32BITUIDS]: Make code unconditional.
14751 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
14752 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
14753 <kernel-features.h>.
14754 [__ASSUME_32BITUIDS]: Make code unconditional.
14755 [!__ASSUME_32BITUIDS]: Remove conditional code.
14756 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
14757 <kernel-features.h>.
14758 [__ASSUME_32BITUIDS]: Make code unconditional.
14759 [!__ASSUME_32BITUIDS]: Remove conditional code.
14760 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
14761 <kernel-features.h>.
14762 [__ASSUME_32BITUIDS]: Make code unconditional.
14763 [!__ASSUME_32BITUIDS]: Remove conditional code.
14764 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
14765 <kernel-features.h>.
14766 [__ASSUME_32BITUIDS]: Make code unconditional.
14767 [!__ASSUME_32BITUIDS]: Remove conditional code.
14768 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14769 <kernel-features.h>.
14770 [__ASSUME_32BITUIDS]: Make code unconditional.
14771 [!__ASSUME_32BITUIDS]: Remove conditional code.
14772 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14773 <kernel-features.h>.
14774 [__ASSUME_32BITUIDS]: Make code unconditional.
14775 [!__ASSUME_32BITUIDS]: Remove conditional code.
14776 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
14777 <kernel-features.h>.
14778 [__ASSUME_32BITUIDS]: Make code unconditional.
14779 [!__ASSUME_32BITUIDS]: Remove conditional code.
14780 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14781 <kernel-features.h>.
14782 [__ASSUME_32BITUIDS]: Make code unconditional.
14783 [!__ASSUME_32BITUIDS]: Remove conditional code.
14784 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14785 <kernel-features.h>.
14786 [__ASSUME_32BITUIDS]: Make code unconditional.
14787 [!__ASSUME_32BITUIDS]: Remove conditional code.
14788 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
14789 <kernel-features.h>.
14790 [__ASSUME_32BITUIDS]: Make code unconditional.
14791 [!__ASSUME_32BITUIDS]: Remove conditional code.
14792 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
14793 <kernel-features.h>.
14794 [__NR_setresgid] (__setresgid): Do not declare.
14795 [__ASSUME_32BITUIDS]: Make code unconditional.
14796 [!__ASSUME_32BITUIDS]: Remove conditional code.
14797 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
14798 <kernel-features.h>.
14799 [__NR_setresuid] (__setresuid): Do not declare.
14800 [__ASSUME_32BITUIDS]: Make code unconditional.
14801 [!__ASSUME_32BITUIDS]: Remove conditional code.
14802 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
14803 <kernel-features.h>.
14804 [__ASSUME_32BITUIDS]: Make code unconditional.
14805 [!__ASSUME_32BITUIDS]: Remove conditional code.
14806 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
14807 <kernel-features.h>.
14808 [__ASSUME_32BITUIDS]: Make code unconditional.
14809 [!__ASSUME_32BITUIDS]: Remove conditional code.
14810 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
14811 <kernel-features.h>.
14812 [__ASSUME_32BITUIDS]: Make code unconditional.
14813 [!__ASSUME_32BITUIDS]: Remove conditional code.
14814 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
14815 <kernel-features.h>.
14816 [__ASSUME_32BITUIDS]: Make code unconditional.
14817 [!__ASSUME_32BITUIDS]: Remove conditional code.
14818 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
14819 <kernel-features.h>.
14820 [__ASSUME_32BITUIDS]: Make code unconditional.
14821 [!__ASSUME_32BITUIDS]: Remove conditional code.
14822 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
14823 <kernel-features.h>.
14824 [__ASSUME_32BITUIDS]: Make code unconditional.
14825 [!__ASSUME_32BITUIDS]: Remove conditional code.
14826 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
14827 <kernel-features.h>.
14828 [__ASSUME_32BITUIDS]: Make code unconditional.
14829 [!__ASSUME_32BITUIDS]: Remove conditional code.
14830 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
14831 <kernel-features.h>.
14832 [__ASSUME_32BITUIDS]: Make code unconditional.
14833 [!__ASSUME_32BITUIDS]: Remove conditional code.
14834 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
14835 <kernel-features.h>.
14836 [__ASSUME_32BITUIDS]: Make code unconditional.
14837 [!__ASSUME_32BITUIDS]: Remove conditional code.
14838 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14839 <kernel-features.h>.
14840 [__ASSUME_32BITUIDS]: Make code unconditional.
14841 [!__ASSUME_32BITUIDS]: Remove conditional code.
14842 * sysdeps/unix/sysv/linux/kernel-features.h
14843 (__ASSUME_SETRESUID_SYSCALL): Remove.
14844 (__ASSUME_SETRESGID_SYSCALL): Likewise.
14845 (__ASSUME_32BITUIDS): Likewise.
14846 (__ASSUME_LDT_WORKS): Likewise.
14847 (__ASSUME_O_DIRECTORY): Likewise.
14848 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
14849 architecture but not kernel version.
14850 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14851 (__ASSUME_MMAP2_SYSCALL): Likewise.
14852 (__ASSUME_STAT64_SYSCALL): Likewise.
14853 (__ASSUME_IPC64): Likewise.
14854 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
14855 <kernel-features.h>.
14856 [__ASSUME_32BITUIDS]: Make code unconditional.
14857 [!__ASSUME_32BITUIDS]: Remove conditional code.
14858 * sysdeps/unix/sysv/linux/opendir.c: Do not include
14859 <kernel-features.h>.
14860 [__ASSUME_O_DIRECTORY]: Make code unconditional.
14861 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
14862 132096]: Remove conditional code.
14863 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
14864 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14865 <kernel-features.h>.
14866 [__ASSUME_32BITUIDS]: Make code unconditional.
14867 [!__ASSUME_32BITUIDS]: Remove conditional code.
14868 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14869 <kernel-features.h>.
14870 [__ASSUME_32BITUIDS]: Make code unconditional.
14871 [!__ASSUME_32BITUIDS]: Remove conditional code.
14872 * sysdeps/unix/sysv/linux/setegid.c: Do not include
14873 <kernel-features.h>.
14874 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
14875 unconditional.
14876 (__setresgid): Do not declare.
14877 [__ASSUME_32BITUIDS]: Make code unconditional.
14878 [!__ASSUME_32BITUIDS]: Remove conditional code.
14879 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
14880 <kernel-features.h>.
14881 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
14882 unconditional.
14883 (__setresuid): Do not declare.
14884 [__ASSUME_32BITUIDS]: Make code unconditional.
14885 [!__ASSUME_32BITUIDS]: Remove conditional code.
14886 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14887 <kernel-features.h>.
14888 [__ASSUME_32BITUIDS]: Make code unconditional.
14889 [!__ASSUME_32BITUIDS]: Remove conditional code.
14890 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
14891 <kernel-features.h>.
14892 [__ASSUME_32BITUIDS]: Make code unconditional.
14893 [!__ASSUME_32BITUIDS]: Remove conditional code.
14894
a386f1cc
RH
148952012-05-25 Richard Henderson <rth@twiddle.net>
14896
14897 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
14898 dl_hwcap to ifunc resolver.
14899 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
14900 elf_ifunc_invoke.
14901 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
14902 dl_hwcap to ifunc resolver.
14903 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
14904
b6550497
JM
149052012-05-24 Joseph Myers <joseph@codesourcery.com>
14906
14907 [BZ #14153]
14908 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
14909 for |x| <= 2**-26, not 2**-57.
14910 * math/libm-test.inc (acos_test): Do not allow spurious underflow
14911 exception.
14912
b0bc23a1
JL
149132012-05-24 Jeff Law <law@redhat.com>
14914
14915 * stdio-common/Makefile (tests): Add bug25.
14916 * stdio-common/bug25.c: New test.
14917
347c92e9
L
149182012-05-24 H.J. Lu <hongjiu.lu@intel.com>
14919
14920 [BZ #13576]
14921 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
14922 multiple of MALLOC_ALIGNMENT in size.
14923 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
14924
6bcc8b3f
JM
149252012-05-24 Joseph Myers <joseph@codesourcery.com>
14926
14927 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
14928 Require >= 256.
14929 (FILENAME_MAX): Use macro-int-constant.
14930 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
14931 (_IOFBF): Use macro-int-constant.
14932 (_IOLBF): Likewise.
14933 (_IONBF): Likewise.
14934 (SEEK_CUR): Likewise.
14935 (SEEK_END): Likewise.
14936 (SEEK_SET): Likewise.
14937 (TMP_MAX): Likewise.
14938 (EOF): Use macro-int-constant. Require < 0.
14939 (NULL): Use macro-constant. Require == 0.
14940 (stdin): Require type to be FILE *.
14941 (stdout): Likewise.
14942 (stderr): Likewise.
14943 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
14944 macro-int-constant.
14945 (EXIT_SUCCESS): Likewise.
14946 (NULL): Use macro-constant. Require == 0.
14947 (RAND_MAX): Use macro-int-constant.
14948 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
14949 [C99-based standards] (strtof): Require function.
14950 [C99-based standards] (strtold): Likewise.
14951 [C99-based standards] (strtoll): Likewise.
14952 [C99-based standards] (strtoull): Likewise.
14953 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14954 [ISO || ISO99 || ISO11] (limits.h): Likewise.
14955 [ISO || ISO99 || ISO11] (math.h): Likewise.
14956 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
14957 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14958 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14959
d18ea0c5
AS
149602012-05-24 Andreas Schwab <schwab@linux-m68k.org>
14961
14962 [BZ #14132]
56d25bb8
AS
14963 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
14964 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
14965 * intl/dgettext.c (DCGETTEXT): Likewise.
14966 * intl/gettext.c (DCGETTEXT): Likewise.
14967 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
14968 * posix/regex_internal.h (gettext): Likewise.
14969 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
14970 Remove declaration.
14971 * include/argz.h (__argz_count_internal)
14972 (__argz_stringify_internal): Remove declaration.
14973 (__argz_count, __argz_stringify): Declare hidden proto.
14974 * intl/dcgettext.c: Remove use of INTDEF.
14975 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
14976 * string/argz-stringify.c: Likewise.
14977 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14978 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14979 Declare hidden proto.
d18ea0c5
AS
14980 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
14981 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
14982 Declare hidden proto.
14983 * include/stdio.h (__asprintf_internal): Don't declare.
14984 (__asprintf): Don't define as macro. Declare hidden proto.
14985 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
14986 (__fsetlocking): Declare hidden proto.
14987 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
14988 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
14989 hidden proto.
14990 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
14991 (_IO_setlinebuf): Remove use of INTUSE.
14992 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
14993 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
14994 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
14995 Remove declaration.
14996 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
14997 (_IO_do_flush): Remove use of INTUSE.
14998 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
14999 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
15000 (_IO_adjust_column, _IO_least_wmarker)
15001 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
15002 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
15003 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
15004 (_IO_default_doallocate, _IO_wdefault_doallocate)
15005 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
15006 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
15007 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
15008 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
15009 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
15010 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
15011 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
15012 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
15013 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
15014 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
15015 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
15016 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
15017 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
15018 proto.
15019 (_IO_flush_all_internal, _IO_adjust_column_internal)
15020 (_IO_default_uflow_internal, _IO_default_finish_internal)
15021 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
15022 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
15023 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
15024 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
15025 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
15026 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
15027 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
15028 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
15029 (_IO_file_close_internal, _IO_file_close_it_internal)
15030 (_IO_file_underflow_internal, _IO_file_overflow_internal)
15031 (_IO_file_init_internal, _IO_file_attach_internal)
15032 (_IO_file_fopen_internal, _IO_file_read_internal)
15033 (_IO_file_sync_internal, _IO_file_seek_internal)
15034 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
15035 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
15036 (_IO_str_underflow_internal, _IO_str_overflow_internal)
15037 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
15038 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
15039 (_IO_list_all_internal, _IO_link_in_internal)
15040 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
15041 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
15042 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
15043 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
15044 (_IO_do_write_internal, _IO_padn_internal)
15045 (_IO_getline_info_internal, _IO_getline_internal)
15046 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
15047 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
15048 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
15049 (_IO_vfscanf_internal, _IO_vfprintf_internal)
15050 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
15051 (_IO_init_internal, _IO_un_link_internal): Don't declare.
15052 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
15053 with libc_hidden_ver, remove use of INTUSE.
15054 * libio/genops.c: Likewise.
15055 * libio/freopen.c: Likewise.
15056 * libio/freopen64.c: Likewise.
15057 * libio/iofclose.c: Likewise.
15058 * libio/iofdopen.c: Likewise.
15059 * libio/iofflush.c: Likewise.
15060 * libio/iofflush_u.c: Likewise.
15061 * libio/iofgets.c: Likewise.
15062 * libio/iofgets_u.c: Likewise.
15063 * libio/iofopen.c: Likewise.
15064 * libio/iofopncook.c: Likewise.
15065 * libio/iofread.c: Likewise.
15066 * libio/iofread_u.c: Likewise.
15067 * libio/ioftell.c: Likewise.
15068 * libio/iofwrite.c: Likewise.
15069 * libio/iogetline.c: Likewise.
15070 * libio/iogets.c: Likewise.
15071 * libio/iogetwline.c: Likewise.
15072 * libio/iopadn.c: Likewise.
15073 * libio/iopopen.c: Likewise.
15074 * libio/ioseekoff.c: Likewise.
15075 * libio/ioseekpos.c: Likewise.
15076 * libio/iosetbuffer.c: Likewise.
15077 * libio/iosetvbuf.c: Likewise.
15078 * libio/ioungetc.c: Likewise.
15079 * libio/ioungetwc.c: Likewise.
15080 * libio/iovdprintf.c: Likewise.
15081 * libio/iovsprintf.c: Likewise.
15082 * libio/iovsscanf.c: Likewise.
15083 * libio/memstream.c: Likewise.
15084 * libio/obprintf.c: Likewise.
15085 * libio/oldfileops.c: Likewise.
15086 * libio/oldiofclose.c: Likewise.
15087 * libio/oldiofdopen.c: Likewise.
15088 * libio/oldiofopen.c: Likewise.
15089 * libio/oldiopopen.c: Likewise.
15090 * libio/oldstdfiles.c: Likewise.
15091 * libio/putc.c: Likewise.
15092 * libio/setbuf.c: Likewise.
15093 * libio/setlinebuf.c: Likewise.
15094 * libio/stdfiles.c: Likewise.
15095 * libio/strops.c: Likewise.
15096 * libio/vasprintf.c: Likewise.
15097 * libio/vscanf.c: Likewise.
15098 * libio/vsnprintf.c: Likewise.
15099 * libio/vswprintf.c: Likewise.
15100 * libio/wfiledoalloc.c: Likewise.
15101 * libio/wfileops.c: Likewise.
15102 * libio/wgenops.c: Likewise.
15103 * libio/wmemstream.c: Likewise.
15104 * libio/wstrops.c: Likewise.
15105 * libio/__fpurge.c: Likewise.
15106 * libio/__fsetlocking.c: Likewise.
15107 * assert/assert.c: Likewise.
15108 * debug/fgets_chk.c: Likewise.
15109 * debug/fgets_u_chk.c: Likewise.
15110 * debug/fread_chk.c: Likewise.
15111 * debug/fread_u_chk.c: Likewise.
15112 * debug/gets_chk.c: Likewise.
15113 * debug/obprintf_chk.c: Likewise.
15114 * debug/vasprintf_chk.c: Likewise.
15115 * debug/vdprintf_chk.c: Likewise.
15116 * debug/vsnprintf_chk.c: Likewise.
15117 * debug/vsprintf_chk.c: Likewise.
15118 * malloc/mtrace.c: Likewise.
15119 * misc/error.c: Likewise.
15120 * misc/syslog.c: Likewise.
15121 * stdio-common/asprintf.c: Likewise.
15122 * stdio-common/fxprintf.c: Likewise.
15123 * stdio-common/getw.c: Likewise.
15124 * stdio-common/isoc99_fscanf.c: Likewise.
15125 * stdio-common/isoc99_scanf.c: Likewise.
15126 * stdio-common/isoc99_vfscanf.c: Likewise.
15127 * stdio-common/isoc99_vscanf.c: Likewise.
15128 * stdio-common/isoc99_vsscanf.c: Likewise.
15129 * stdio-common/printf-prs.c: Likewise.
15130 * stdio-common/printf_fp.c: Likewise.
15131 * stdio-common/printf_fphex.c: Likewise.
15132 * stdio-common/printf_size.c: Likewise.
15133 * stdio-common/putw.c: Likewise.
15134 * stdio-common/scanf.c: Likewise.
15135 * stdio-common/sprintf.c: Likewise.
15136 * stdio-common/tmpfile.c: Likewise.
15137 * stdio-common/vfprintf.c: Likewise.
15138 * stdio-common/vfscanf.c: Likewise.
15139 * stdlib/strfmon_l.c: Likewise.
15140 * sunrpc/openchild.c: Likewise.
15141 * sunrpc/xdr_stdio.c: Likewise.
15142 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15143 * sysdeps/mach/hurd/tmpfile.c: Likewise.
15144
d6c33fda
RM
151452012-05-24 Roland McGrath <roland@hack.frob.com>
15146
c1487492
RM
15147 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15148
15149 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
15150 in the third column, to generate for the shared library an IFUNC
15151 that uses _dl_vdso_vsym.
15152 * Makerules (COMPILE.c, compile-stdin.c): New variables.
15153 * Makeconfig (object-suffixes-noshared): New variable.
15154
15155 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
15156 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
15157 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
15158 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
15159
d6c33fda
RM
15160 [BZ #14132]
15161 * include/sys/time.h (__gettimeofday): Remove macro.
15162 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
15163 * time/gettimeofday.c (__gettimeofday): Remove #undef.
15164 Remove INTDEF.
15165 (__gettimeofday): Add libc_hidden_def.
15166 (gettimeofday): Add libc_hidden_weak.
15167 * sysdeps/mach/gettimeofday.c: Likewise.
15168 * sysdeps/posix/gettimeofday.c: Likewise.
15169 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15170 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15171 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
15172 (__gettimeofday_internal): Remove strong_alias.
15173 (__gettimeofday): Add libc_hidden_def.
15174 (gettimeofday): Add libc_hidden_weak.
15175 * sysdeps/unix/syscalls.list (gettimeofday):
15176 Remove __gettimeofday_internal alias.
15177
b5a2bbe6
L
151782012-05-24 Daniel Jacobowitz <drow@false.org>
15179 H.J. Lu <hongjiu.lu@intel.com>
15180
15181 [BZ #12495]
15182 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
15183 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
15184 (largebin_index_32_big): New.
15185 (largebin_index): Use it for 16-byte alignment.
15186 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
15187 correction with front_misalign.
15188
cfba4fda
L
151892012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15190
7f907421
L
15191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
15192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15193 Likewise.
15194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
15195 Likewise.
15196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15197 Likewise.
15198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
15199 Likewise.
15200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
15201 Likewise.
15202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
15203 Likewise.
15204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
15205 Likewise.
15206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15207 Likewise.
15208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
15209 Likewise.
15210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
15211 Likewise.
15212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15213 Likewise.
15214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
15215 Likewise.
15216
cfba4fda
L
15217 * scripts/data/c++-types-x32-linux-gnu.data: New file.
15218 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
15219
80bad0cc
JM
152202012-05-24 Joseph Myers <joseph@codesourcery.com>
15221
7a25eb06
JM
15222 [BZ #10846]
15223 [BZ #14036]
15224 * math/libm-test.inc (exp_test): Add test from bug 14036.
15225 (pow_test): Add test from bug 10846.
15226
795405f9
JM
15227 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
15228 and other flags.
15229 (special_function): Do not include flags in test name.
15230 (parse_args): Likewise.
15231 * sysdeps/i386/fpu/libm-test-ulps: Update.
15232 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15233 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15234 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15236
80bad0cc
JM
15237 * math/gen-libm-test.pl (%beautify): Add entries for underflow
15238 exceptions.
15239 * math/libm-test.inc ("Philosophy"): Update comment about
15240 exception testing.
15241 (UNDERFLOW_EXCEPTION): New macro.
15242 (UNDERFLOW_EXCEPTION_OK): Likewise.
15243 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
15244 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
15245 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
15246 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
15247 (INVALID_EXCEPTION_OK): Update value.
15248 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15249 (OVERFLOW_EXCEPTION_OK): Likewise.
15250 (IGNORE_ZERO_INF_SIGN): Likewise.
15251 (test_exceptions): Handle underflow exceptions.
15252 (acos_test): Update for underflow exception expectations.
15253 (cexp_test): Likewise.
15254 (clog_test): Likewise.
15255 (clog10_test): Likewise.
15256 (csqrt_test): Likewise.
15257 (ctan_test): Likewise.
15258 (ctanh_test): Likewise.
15259 (exp_test): Likewise.
15260 (exp10_test): Likewise.
15261 (exp2_test): Likewise.
15262 (expm1_test): Likewise.
15263 (fma_test): Likewise.
15264 (j0_test): Likewise.
15265 (jn_test): Likewise.
15266 (nexttoward_test): Likewise.
15267 (pow_test): Likewise.
15268 (scalbn_test): Likewise.
15269 (scalbln_test): Likewise.
15270 (tan_test): Likewise.
15271 (y1_test): Likewise.
15272 * sysdeps/i386/fpu/libm-test-ulps: Update.
15273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15274
9e0e3d0b
DM
152752012-05-23 David S. Miller <davem@davemloft.net>
15276
15277 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15278 (__libc_sigaction): Remove unused local variables.
15279
ccd0a08f
L
152802012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15281
15282 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
15283
62bdf9a6
PE
152842012-05-23 Paul Eggert <eggert@cs.ucla.edu>
15285
f8591f80
PE
15286 mktime: avoid signed integer overflow
15287 * time/mktime.c (__mktime_internal): Do not mishandle the case
15288 where diff == INT_MIN.
15289
94c7d826
PE
15290 mktime: simplify computation of average
15291 * time/mktime.c (ranged_convert): Use new time_t_avg function
15292 instead of rolling our own (probably-slower) code.
15293
ce73d683
PE
15294 mktime: do not assume signed right shift propagates sign bit
15295 * time/mktime.c (isdst_differ): New static function.
15296 (__mktime_internal): No need to normalize tm_isdst now.
15297 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
15298 tm_isdst values.
15299
72a22e59
PE
15300 mktime: merge another wrapv change from gnulib
15301 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
15302 from some compilers.
15303
68605433
PE
15304 mktime: remove incorrect attempt at unusual arithmetics
15305 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
15306 The code didn't really work on such machines anyway.
15307 (TYPE_MINIMUM): Assume two's complement.
15308 (twos_complement_arithmetic): Verify that long_int and time_t
15309 are two's complement (or unsigned, in the latter case).
15310
03cf7fe3
PE
15311 mktime: check signed shifts on long_int and time_t, too
15312 * time/mktime.c (SHR): Check that shifts work as desired
15313 on the types long_int and time_t too, as SHR is used on
15314 such types.
15315
f04dfbc2
PE
15316 mktime: do not assume 'long' is wide enough
15317 * time/mktime.c (verify): Move decl up.
15318 (long_int): New type.
15319 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
15320 to remove assumption in the code that 'long' is wide enough to
15321 store year values. This assumption is not true on x32 and on
15322 some non-glibc platforms.
15323
62bdf9a6
PE
15324 mktime: merge wrapv change from gnulib
15325 * time/mktime.c (WRAPV): New macro.
15326 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
15327 (guess_time_tm, __mktime_internal): Do not assume that signed
15328 integer overflow wraps around; modern compilers generate code
15329 where this assumption is no longer valid.
15330
5e292e4f
L
153312012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15332
15333 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15334 Replace "jmp L(pseudo_end)" with "ret".
15335 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
15336 Likewise.
15337
8caf8c87
AJ
153382012-05-23 Andreas Jaeger <aj@suse.de>
15339
15340 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
15341 * sysdeps/unix/sysv/linux/poll.c: Remove file.
15342
1a09dc56
AJ
153432012-05-23 Andreas Jaeger <aj@suse.de>
15344 Maximilian Attems <max@stro.at>
15345
15346 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
15347 New macros.
15348
1c87aba0
L
153492012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15350
15351 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
15352 code so that pseudo_end is just ret and the stack pointer is
15353 correct also for static library in error case.
15354
40e45bd5
JM
153552012-05-23 Joseph Myers <joseph@codesourcery.com>
15356
c2670533
JM
15357 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
15358 move to syscalls.list.
15359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15363
40e45bd5
JM
15364 * manual/install.texi (Running make install): Do not mention Linux
15365 kernel version for which pt_chown is not needed.
15366 (Linux): Do not mention problems with nscd with 2.0 kernels.
15367 * INSTALL: Regenerated.
15368
be08eda5
AJ
153692012-05-23 Andreas Jaeger <aj@suse.de>
15370
15371 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
15372 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
15373 macro.
15374 * sysdeps/unix/sysv/linux/s390/bits/mman.h
15375 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15376 * sysdeps/unix/sysv/linux/sh/bits/mman.h
15377 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15378 * sysdeps/unix/sysv/linux/i386/bits/mman.h
15379 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15380 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
15381 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15382 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
15383 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15384 * sysdeps/unix/sysv/linux/bits/in.h
15385 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
15386
a6a056bb
RM
153872012-05-22 Roland McGrath <roland@hack.frob.com>
15388
15389 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
15390 (PREPARE_VERSION): Just use assert instead, it will be elided
15391 under [NDEBUG] anyway.
15392
c9009328
L
153932012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15394
15395 * sysdeps/unix/sysv/linux/Makefile: Include
15396 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 15397 (sysdep_routines): Remove sysctl.
c9009328
L
15398 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
15399 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
15400 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
15401 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
15402 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
15403
73338355
AJ
154042012-05-22 Andreas Jaeger <aj@suse.de>
15405
15406 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
15407 that pseudo_end is just ret and the stack pointer is correct also
15408 for static library in error case.
15409
d44638b0
PP
154102012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
15411
15412 [BZ #14122]
15413 * nss/nsswitch.c (defconfig_entries): New variable.
15414 (__nss_database_lookup): Don't leak defconfig entries.
15415 (nss_parse_service_list): Don't leak on error paths.
15416 (free_database_entries): New function.
15417 (free_defconfig): New function.
15418 (free_mem): Move common code to free_database_entries.
15419
31a39bd8
L
154202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15421
da0331a8
L
15422 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
15423 Add arch_prctl.
15424 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
15425
31a39bd8
L
15426 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15427 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
15428 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
15429 New macro.
15430 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
15431 (INTERNAL_SYSCALL_TYPES): Likewise.
15432 (LOAD_ARGS_TYPES_[1-6]): Likewise.
15433 (LOAD_REGS_TYPES_[1-6]): Likewise.
15434 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
15435 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
15436
45470df3
AZ
154372012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15438
15439 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
15440 copysignl for GLIBC_2_0.
15441 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
15442 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
15443 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
15444 logbl for GLIBC_2_0.
15445 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
15446 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
15447
98a61bcb
L
154482012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15449
a4f6e481
L
15450 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
15451 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
15452
f63d5db6
L
15453 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15454 Use "neg %eax".
15455
98a61bcb
L
15456 * time/mktime.c: Update copyright years.
15457
95770f14
PE
154582012-05-22 Paul Eggert <eggert@cs.ucla.edu>
15459
6226efbd
PE
15460 mktime: merge comment-quoting-style change from gnulib
15461 * time/mktime.c: Quote 'like this' in comments.
15462 The GNU coding standards suggest that we no longer quote `like this',
15463 as "`" and "'" are typically rendered asymmetrically nowadays.
15464 The typical gnulib style is to quote 'like this' when quoting
15465 code, and "like this" when quoting English.
15466
b99e4f78
PE
15467 * time/mktime.c (compile-command): Add "-I.".
15468
643e01e6
PE
15469 mktime: merge mktime-internal.h change from gnulib
15470 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
15471
2554247d
PE
15472 mktime: merge time_r change from gnulib
15473 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
15474
826dd0ab
PE
15475 mktime: merge DEBUG change from gnulib
15476 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
15477 case system <time.h> has a #define.
15478
bd83aabe
PE
15479 mktime: merge <sys/types.h> change from gnulib
15480 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
15481 since <time.t> is now guaranteed to define time_t.
15482
95770f14
PE
15483 mktime: merge HAVE_CONFIG_H change from gnulib
15484 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
15485
5e1a27a9
L
154862012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15487
0e44a77e
L
15488 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15489 Use "neg %eax".
15490
5e1a27a9
L
15491 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
15492 __rlim_t cast.
15493 (struct rusage): Use anonymous union to pad each field to
15494 __syscall_slong_t.
15495
46259bec
DM
154962012-05-21 David S. Miller <davem@davemloft.net>
15497
15498 * Makefules (o-iterator): Remove .s cases.
15499 (compile-command.s): Delete.
15500 (COMPILE.s): Delete.
15501 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
15502
59f0c22e
JM
155032012-05-21 Joseph Myers <joseph@codesourcery.com>
15504
15505 * configure.in (libc_cv_predef_stack_protector): Only consider
15506 "foobar" and "__stack_chk_fail" lines in libc_undefs.
15507 * configure: Regenerated.
15508
20c07380
L
155092012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15510
bbb3154b
L
15511 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15512 New macro. Use R*LP on int and pointer.
15513 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
15514 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
15515 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
15516 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
15517
20c07380
L
15518 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
15519 [__WORDSIZE_TIME64_COMPAT32] instead of
15520 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
15521 (struct utmp): Likewise.
15522 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
15523 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
15524 Renamed to ...
15525 (__WORDSIZE_TIME64_COMPAT32): This.
15526 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
15527 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
15528 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
15529 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
15530 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
15531 (__WORDSIZE_TIME64_COMPAT32): New macro.
15532
d8d1017e
AJ
155332012-05-21 Andreas Jaeger <aj@suse.de>
15534
15535 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
15536 only if [SHARED]. Add prototype for __wcschr_ia32.
15537
6c7fb145
RM
155382012-05-21 Roland McGrath <roland@hack.frob.com>
15539
15540 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
15541 of %rbp unmolested in the jmp_buf while mangling the low bits.
15542 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
15543 unmolested high bits of %rbp while demangling the low bits.
15544 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15545
66274218
AJ
155462012-05-21 Andreas Jaeger <aj@suse.de>
15547
07c58f8f
AJ
15548 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
15549 * sunrpc/svc_simple.c: Use it for registerrpc.
15550 * sunrpc/xcrypt.c: Use it for passwd2des.
15551
66274218
AJ
15552 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
15553
61f65140
L
155542012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15555
15556 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
15557 Don't define if [__SYSCALL_WORDSIZE != 32].
15558 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
15559 New macro.
15560
5fefb436
AJ
155612012-05-21 Bruno Haible <bruno@clisp.org>
15562 Andreas Jaeger <aj@suse.de>
15563
15564 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
15565 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
15566 inptr and inend for must_buffer_ch.
15567 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
15568 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
15569 * stdio-common/Makefile (tests): Remove bug15.
15570 (bug15-ENV): Remove macro.
15571 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
15572 anymore.
15573
d8e272ab
AJ
155742012-05-19 Andreas Jaeger <aj@suse.de>
15575 Roland McGrath <roland@hack.frob.com>
15576
15577 * manual/contrib.texi: Completely rewritten. It contains now an
15578 alphabetical list of contributors and their contributions.
15579
4a56a162
RH
155802012-05-21 Richard Henderson <rth@twiddle.net>
15581
15582 * misc/getauxval.c (__getauxval): Use unsigned long int.
15583 * misc/sys/auxv.h: Include <sys/cdefs.h>.
15584 (getauxval): Use unsigned long int.
15585
d024d23c
L
155862012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15587
15588 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15589
cbc00a03
RM
155902012-05-21 Roland McGrath <roland@hack.frob.com>
15591
15592 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
15593 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
15594 __alignof__ (long double).
15595
478143fa
AZ
155962012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15597
15598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15599
c7683a6d
RH
156002012-05-20 Richard Henderson <rth@twiddle.net>
15601
15602 * misc/getauxval.c: New file.
15603 * misc/sys/auxv.h: New file.
15604 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
15605 (routines): Add getauxval.
15606 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
15607 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
15608 * elf/dl-sysdep.c (_dl_auxv): Remove.
15609 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
15610 * elf/dl-support.c (_dl_auxv): New variable.
15611 (_dl_aux_init): Initialize it.
15612 * manual/startup.texi (Auxiliary Vector): New node.
15613 * sysdeps/generic/bits/hwcap.h: New file.
15614 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
15615 * sysdeps/powerpc/sysdep.h: ... here. Include it.
15616 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
15617 * sysdeps/sparc/sysdep.h: ... here. Include it.
15618 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
15619 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
15620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15621 Update.
c7683a6d
RH
15622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
15623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
15624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
15625 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
15626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
15629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
15630
a6f1845d
AZ
156312012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15632
15633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15634
cbcbe830
DM
156352012-05-19 David S. Miller <davem@davemloft.net>
15636
15637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15638
e0b16cc2
JM
156392012-05-19 Joseph Myers <joseph@codesourcery.com>
15640
15641 [BZ #14123]
15642 * math/s_ccosh.c: Include <float.h>
15643 (__ccosh): Avoid internal overflow calculating sinh and cosh
15644 values before multiplying by sin and cos values.
15645 * math/s_ccoshf.c: Likewise.
15646 * math/s_ccoshl.c: Likewise.
15647 * math/s_csin.c: Likewise.
15648 * math/s_csinf.c: Likewise.
15649 * math/s_csinl.c: Likewise.
15650 * math/s_csinh.c: Likewise.
15651 * math/s_csinhf.c: Likewise.
15652 * math/s_csinhl.c: Likewise.
15653 * math/libm-test.inc (ccos_test): Add more tests.
15654 (ccosh_test): Likewise.
15655 (csin_test): Likewise.
15656 (csinh_test): Likewise.
15657 * sysdeps/i386/fpu/libm-test-ulps: Update.
15658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15659
6ad13e08
L
156602012-05-19 H.J. Lu <hongjiu.lu@intel.com>
15661
f66f0ce8
L
15662 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
15663 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
15664
6ad13e08
L
15665 * sysdeps/x86_64/x32/_itoa.h: Add comment.
15666
b1d072a7
JM
156672012-05-19 Joseph Myers <joseph@codesourcery.com>
15668
15669 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
15670 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
15671 * sysdeps/powerpc/soft-fp/Versions: Likewise.
15672 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
15673 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
15674 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
15675 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
15676 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
15677 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
15678 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
15679 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
15680 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
15681 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
15682 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
15683 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
15684 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
15685 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
15686 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
15687 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
15688 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
15689 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
15690 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
15691 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
15692 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
15693 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
15694 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
15695 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
15696 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
15697 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
15698 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
15699 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
15700
9eae47cb
AJ
157012012-05-18 Andreas Jaeger <aj@suse.de>
15702
15703 * csu/.gitignore: Delete.
15704
bb07f69f
L
157052012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15706
15707 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
15708 (timex): Use __syscall_slong_t.
15709
e6bdb741
AJ
157102012-05-18 Andreas Jaeger <aj@suse.de>
15711 Carlos O'Donell <carlos_odonell@mentor.com>
15712
15713 * manual/install.texi (Configuring and compiling): Update
15714 description about files modified in the source directory.
d6c33fda 15715 * INSTALL: Regenerated.
e6bdb741 15716
1b74487e
L
157172012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15718
15719 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
15720 value. Use "or" to set return value to -1.
15721 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
15722 negate return value.
15723
a88b64b9
TMQMF
157242012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15725
15726 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
15727 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
15728 failure if the compiler has Graphite support disabled.
15729 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
15730 Likewise.
15731 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
15732 CFLAGS-memmove.c): Likewise.
15733 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
15734 Likewise.
15735
3707636e
L
157362012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15737
610b8622
L
15738 * sysdeps/x86_64/x32/_itoa.h: New file.
15739
7cd195df
L
15740 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
15741 getdents system call only if kernel and user dirents have the
15742 same d_ino and d_off.
15743
94b07d20
L
15744 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15745 LLONG_MAX != LONG_MAX.
15746 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15747 (_fitoa_word): Likewise.
15748
18298070
L
15749 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
15750 years.
15751 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
15752 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
15753 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
15754
553c7ea4
L
15755 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
15756 include <bits/wordsize.h>. Check __x86_64__ instead of
15757 __WORDSIZE.
15758 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
15759 if __x86_64__ is defined. Use anonymous union on fpstate.
15760
3707636e
L
15761 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
15762 anonymous union.
15763
b53ef01a
AS
157642012-05-18 Andreas Schwab <schwab@linux-m68k.org>
15765
37fb1dc0
AS
15766 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
15767 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
15768 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
15769 Refer to _rtld_local_ro instead of _rtld_global_ro.
15770 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
15771 Likewise.
15772 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
15773 Likewise.
15774 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
15775 Likewise.
15776 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
15777 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
15778 of _rtld_global, and rtld_progname instead of _dl_argv[0].
15779
b53ef01a
AS
15780 * sysdeps/powerpc/powerpc32/dl-machine.c
15781 (__elf_machine_runtime_setup) [PROF]: Don't reference
15782 _dl_prof_resolve.
15783
7a185db2
AJ
157842012-05-18 Andreas Jaeger <aj@suse.de>
15785
15786 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
15787 function only available for GCCs before 3.4 since GCC 3.4
15788 introduced a builtin.
15789 (lrint): Likewise.
15790 (llrintf): Likewise.
15791 (llrint): Likewise.
15792 (fmaxf): Likewise.
15793 (fmax): Likewise.
15794 (fminf): Likewise.
15795 (fmin): Likewise.
15796 (rint): Likewise.
15797 (rintf): Likewise.
15798 (nearbyint): Likewise.
15799 (nearbyintf): Likewise.
15800 (ceil): Likewise.
15801 (ceilf): Likewise.
15802 (floor): Likewise.
15803 (floorf): Likewise.
15804
3e5aef87
L
158052012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15806
428bd707
L
15807 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
15808 on both fields and cast pointer to __syscall_ulong_t.
15809
3e5aef87
L
15810 * bits/types.h (__fsword_t): New type.
15811 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
15812 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
15813 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15814 (__FSWORD_T_TYPE): Likewise.
15815 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15816 (__FSWORD_T_TYPE): Likewise.
15817 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15818 (__FSWORD_T_TYPE): Likewise.
15819 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
15820 (__FSWORD_T_TYPE): Likewise.
15821 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
15822 __SWORD_TYPE with __fsword_t.
15823 (statfs64): Likewise.
15824
1ba7c3dc
DM
158252012-05-17 David S. Miller <davem@davemloft.net>
15826
15827 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
15828
59910343
AJ
158292012-05-17 Andreas Jaeger <aj@suse.de>
15830
15831 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
15832 warning.
15833
2e4c1e9e
L
158342012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15835
15836 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
15837
de7f5ce7
AJ
158382012-05-17 Andreas Jaeger <aj@suse.de>
15839
15840 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
15841 when it is used.
15842
286abc3d
CM
158432012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15844
15845 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
15846
477cc68e
L
158472012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15848
15849 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
15850 * sysdeps/x86_64/tst-mallocalign1.c: New file.
15851
1a0994f5
CD
158522012-05-17 Andreas Jaeger <aj@suse.de>
15853 Carlos O'Donell <carlos_odonell@mentor.com>
15854
15855 [BZ #14059]
15856 * sysdeps/x86_64/multiarch/init-arch.h
15857 (bit_YMM_Usable): Rename to...
15858 (bit_AVX_Usable): ... this.
15859 (bit_FMA4_Usable): New macro.
15860 (bit_XMM_state): New macro.
15861 (bit_YMM_state): New macro.
15862 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
15863 [__ASSEMBLER__] (index_AVX_Usable): ... this.
15864 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
15865 (CPUID_OSXSAVE): New macro.
15866 (CPUID_AVX): New macro.
15867 (CPUID_FMA4): New macro.
15868 (index_YMM_Usable): Rename to...
15869 (index_AVX_Usable): ... this.
15870 (HAS_AVX): Use HAS_ARCH_FEATURE.
15871 (HAS_FMA4): Likewise.
15872 (HAS_YMM_USABLE): Remove.
15873 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15874 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
15875 are present.
15876 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
15877 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
15878 * sysdeps/x86_64/multiarch/Makefile: Likewise.
15879 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
15880 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
15881
0af797de
CM
158822012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15883
15884 * math/libm-test.c: Support platforms without multiple rounding modes.
15885 * math/bug-nextafter.c: Support platforms without FP exceptions.
15886 * math/bug-nexttoward.c: Likewise.
15887 * math/test-fenv.c: Likewise.
15888 * math/test-misc.c: Likewise.
15889 * stdlib/bug-getcontext.c: Likewise.
15890
e39745ff
AJ
158912012-05-17 Andreas Jaeger <aj@suse.de>
15892
15893 * manual/examples/search.c (critter_cmp): Change signature to
15894 avoid warnings.
15895 * manual/string.texi (Collation Functions): Likewise.
15896
48970aba
L
158972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15898
15899 * bits/types.h: Fold copyright years.
15900 * bits/typesizes.h: Likewise.
15901 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
15902 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15903 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
15904 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
15905 * time/time.h: Likewise.
15906
bedee953
PP
159072012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
15908
15909 [BZ #208]
15910 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
15911 in instead of returning them. Return void.
15912 (__libc_mallinfo): Accumulate over all arenas.
15913 (__malloc_stats): Adjust for change in int_mallinfo interface.
15914
61653dfb
RM
159152012-05-16 Roland McGrath <roland@hack.frob.com>
15916
30b99d79
RM
15917 [BZ #10375]
15918 * configure.in (NM): Add AC_CHECK_TOOL for it.
15919 (libc_extra_cflags): New substituted variable.
15920 Check for -fstack-protector being used implicitly.
15921 * configure: Regenerated.
15922 * config.make.in (config-extra-cflags): New variable,
15923 gets @libc_extra_cflags@.
15924 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
15925
61653dfb
RM
15926 [BZ #10375]
15927 * configure.in: Check for _FORTIFY_SOURCE being predefined.
15928 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
15929 * configure: Regenerated.
15930 * config.make.in (CPPUNDEFS): New substituted variable.
15931 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
15932 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
15933 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
15934
661768bb
L
159352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15936
15937 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
15938 (mq_attr): Use __syscall_slong_t.
15939
d4261567
L
159402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15941
15942 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
15943 Check __x86_64__ instead of __WORDSIZE.
15944 (_STAT_VER_LINUX): Likewise.
15945 (stat): Check __x86_64__ instead of __WORDSIZE. Use
15946 __syscall_ulong_t and __syscall_slong_t.
15947 (stat64): Likewise.
15948
cf3ff365
L
159492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15950
15951 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
15952
76cf3e4d
L
159532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15954
15955 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
15956
a637753a
L
159572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15958
15959 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
15960 __syscall_ulong_t.
15961
d5e05119
L
15962 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
15963 include <bits/wordsize.h>. Check __x86_64__ instead of
15964 __WORDSIZE.
15965 (greg_t): Use "__extension__ long long int" if __x86_64__ is
15966 defined.
15967 (mcontext_t): Replace "unsigned long" with "unsigned long long".
15968
f62ee380
L
15969 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
15970 include <bits/wordsize.h>. Check __x86_64__ instead of
15971 __WORDSIZE.
15972 (user_regs_struct): Use "__extension__ unsigned long long"
15973 instead of "unsigned long" if __x86_64__ is defined.
15974 (user): Likewise. Pad after pointer field if __ILP32__ is
15975 defined.
15976
4e124ced
JM
159772012-05-16 Joseph Myers <joseph@codesourcery.com>
15978
6a3951a0
JM
15979 * configure.in (makeinfo): Require version 4.5 or later. Allow
15980 versions 5 to 9.
15981 * configure: Regenerated.
15982 * manual/install.texi (texinfo): Increase version requirement to
15983 4.5 or later.
15984 * INSTALL: Regenerated.
15985
4e124ced
JM
15986 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
15987
953ca31a
L
159882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15989
15990 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
15991
617aca05
L
15992 * sysdeps/x86_64/x32/ffs.c: New file.
15993
5762f7ae
L
15994 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
15995 __syscall_ulong_t.
15996 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
15997 defined. Use __syscall_ulong_t.
15998 (shminfo): Use __syscall_ulong_t.
15999 (shm_info): Likewise.
16000
a26b6856
L
16001 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
16002 __syscall_ulong_t.
16003
cb2b9ef7
L
16004 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
16005 <bits/wordsize.h>.
16006 (msgqnum_t): Use __syscall_ulong_t.
16007 (msglen_t): Likewise.
16008 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
16009 __syscall_ulong_t.
16010
34683bb0
L
16011 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
16012 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16013
84a68786
L
16014 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
16015
48baa5f1
L
16016 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
16017 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
16018
180be88b
L
16019 * sysvipc/sys/msg.h (msgbuf): Replace long int with
16020 __syscall_slong_t.
16021
5e90c8ad
L
16022 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
16023 include <bits/wordsize.h>. Check __x86_64__ instead of
16024 __WORDSIZE.
16025
23dfb58b
L
16026 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
16027 "unsigned long long int" if __x86_64__ is defined.
16028 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
16029
ce5d54b0
L
16030 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
16031 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16032 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
16033
13dc9eac
L
16034 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
16035 <stdint.h>.
16036 (GET_PC): Cast to uintptr_t first.
16037 (GET_FRAME): Likewise.
16038 (GET_STACK): Likewise.
16039
a7895d15
L
16040 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
16041 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
16042 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
16043 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
16044 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
16045 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
16046 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
16047 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
16048 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
16049 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
16050 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
16051 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
16052 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16053 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
16054 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
16055 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
16056 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
16057 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
16058 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
16059 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
16060 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
16061 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
16062 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
16063 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
16064 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
16065 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
16066 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
16067 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
16068 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
16069
656416c9
AS
160702012-05-16 Andreas Schwab <schwab@linux-m68k.org>
16071
5bd66283
AS
16072 * Makerules (+depfiles): Also collect depfiles from .oS in
16073 $(extra-objs).
16074 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
16075 .oS, $(libnldbl-routines)).
16076
656416c9
AS
16077 * Makerules (native-compile-mkdep-flags): Define.
16078 * sunrpc/Makefile (extra-objs): Add $(addprefix
16079 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
16080 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
16081 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
16082 calling $(make-target-directory).
16083
a46f2169
L
160842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16085
16086 * bits/types.h (__snseconds_t): Removed.
16087 * time/time.h (struct timespec): Replace __snseconds_t with
16088 __syscall_slong_t.
16089 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
16090 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
16091 Likewise.
16092 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16093 (__SNSECONDS_T_TYPE): Likewise.
16094 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16095 (__SNSECONDS_T_TYPE): Likewise.
16096 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16097 (__SNSECONDS_T_TYPE): Likewise.
16098
6af6528b
L
160992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16100
16101 * sysdeps/mach/hurd/bits/typesizes.h
16102 (__SYSCALL_SLONG_TYPE): New macro.
16103 (__SYSCALL_ULONG_TYPE): Likewise.
16104
de986b56
L
161052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16106
16107 * bits/types.h (__syscall_slong_t): New type.
16108 (__syscall_ulong_t): Likewise.
16109
16110 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
16111 (__SYSCALL_ULONG_TYPE): Likewise.
16112 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16113 (__SYSCALL_SLONG_TYPE): Likewise.
16114 (__SYSCALL_ULONG_TYPE): Likewise.
16115 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16116 (__SYSCALL_SLONG_TYPE): Likewise.
16117 (__SYSCALL_ULONG_TYPE): Likewise.
16118 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16119 (__SYSCALL_SLONG_TYPE): Likewise.
16120 (__SYSCALL_ULONG_TYPE): Likewise.
16121
85736dc7
L
161222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16123
16124 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
16125 Add sigaltstack-offsets.sym.
16126 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
16127 <sigaltstack-offsets.h>.
16128 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
16129 longjmp_msg pointer.
16130 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
16131 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
16132 signal stack.
16133 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
16134
cc03b296
JM
161352012-05-15 Joseph Myers <joseph@codesourcery.com>
16136
a9538892
JM
16137 * elf/stackguard-macros.h: Remove file.
16138 * sysdeps/generic/stackguard-macros.h: New file.
16139 * sysdeps/i386/stackguard-macros.h: Likewise.
16140 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16141 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16142 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16143 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16144 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16145 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16146 * sysdeps/x86_64/stackguard-macros.h: Likewise.
16147 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
16148 <elf/stackguard-macros.h>.
16149
cc03b296
JM
16150 [BZ #14109]
16151 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
16152 __aligned__ in attribute.
16153 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
16154 (gregset_t): Likewise.
16155
93171016
L
161562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16157
16158 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
16159 * sysdeps/x86_64/64/Implies-after: Here. New file.
16160 * sysdeps/x86_64/x32/Implies-after: New file.
16161
d86813a0
L
161622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16163
16164 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
16165 and access return value for _dl_profile_fixup. Use R10_LP to
16166 load frame size.
16167
2953ec75
L
161682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16169
16170 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
16171
3b550e9e
L
161722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16173
16174 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
16175 * sysdeps/x86_64/x32/sysdep.h: New file.
16176
eda41706
L
161772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16178
16179 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
16180 * sysdeps/x86_64/setjmp.S: Likewise.
16181
9ea01d93
AZ
161822012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16183
16184 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
16185 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
16186 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
16187 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
16188 remove unused global constant.
16189
02a91938
CM
161902012-05-15 Chris Metcalf <cmetcalf@tilera.com>
16191
16192 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
16193 include of <not-cancel.h>.
16194
6540185f
RM
161952012-05-15 Roland McGrath <roland@hack.frob.com>
16196
16197 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
16198
509072a0
AJ
161992012-05-15 Jeff Law <law@redhat.com>
16200 Andreas Jaeger <aj@suse.de>
16201
16202 [BZ #13594]
16203 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
16204 out from...
16205 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
16206 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
16207 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
16208 code changing __hst_map_handle.map.
16209
ba75122d
RM
162102012-05-15 Roland McGrath <roland@hack.frob.com>
16211
16212 * configure.in (sysnames): Look for Implies-before and Implies-after
16213 files.
16214 * configure: Regenerated.
16215
890d8bd8
L
162162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16217
16218 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
16219 8-byte data alignment with LP_SIZE alignment.
16220
f6ee6623
L
162212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16222
16223 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
16224 into R10_LP.
16225
ea2626f6
L
162262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16227
16228 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
16229
085f715e
L
162302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16231
16232 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
16233 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
16234 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
16235 Likewise.
16236 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16237
be8498fc
L
162382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16239
16240 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
16241 (stackinfo_sub_sp): Likewise.
16242
70bc83b9
L
162432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16244
16245 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
16246 RAX_LP.
16247
9bc0b730
L
162482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16249
16250 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
16251 into R*_LP.
16252
6d2850e7
L
162532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16254
16255 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
16256 sizes into R*_LP.
16257
3cb84561
L
162582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16259
16260 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
16261
54e2ed81
L
162622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16263
16264 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
16265 into R11_LP and load __x86_64_shared_cache_size_half into
16266 R8_LP.
16267
8a17f349
L
162682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16269
16270 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
16271 R8_LP.
16272
777b1eea
AZ
162732012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16274
16275 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
16276 logb for POWER7.
16277 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
16278 logbf for POWER7.
16279 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
16280 logbl for POWER7.
16281 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
16282 powerpc32/power7/fpu/s_logb.c via #include.
16283 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
16284 powerpc32/power7/fpu/s_logbf.c via #include.
16285 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
16286 powerpc32/power7/fpu/s_logbl.c via #include.
16287
d20d4ac2
JM
162882012-05-15 Joseph Myers <joseph@codesourcery.com>
16289
16290 * README.libm: Remove file.
16291
6cdef1ab
L
162922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16293
16294 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
16295 count for x32. Use R*_LP and omit operand-size suffix.
16296
0b254d8f
L
162972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16298
16299 * shlib-versions: Move x86_64-.*-linux.* entries to ...
16300 * sysdeps/x86_64/64/shlib-versions: Here. New file.
16301 * sysdeps/x86_64/x32/shlib-versions: New file.
16302
ceb809dc
RM
163032012-05-14 Roland McGrath <roland@hack.frob.com>
16304
16305 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
16306 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
16307 Use _dl_fatal_printf instead.
16308
37f1abd4
JM
163092012-05-14 Joseph Myers <joseph@codesourcery.com>
16310
16311 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
16312 set if not set by the user. Do not allow for being unset.
16313 * sysdeps/unix/sysv/linux/configure: Regenerated.
16314
11de3a33
L
163152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16316
16317 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
16318 the `q' suffix from lea and replace .quad with ASM_ADDR.
16319
e02f153a
L
163202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16321
16322 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
16323 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
16324 instead of $17.
16325 (PTR_DEMANGLE): Likewise.
16326
520ae0fd
L
163272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16328
16329 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
16330 (LP_OP): Likewise.
16331 (ASM_ADDR): Likewise.
16332 (RAX_LP): Likewise.
16333 (RBP_LP): Likewise.
16334 (RBX_LP): Likewise.
16335 (RCX_LP): Likewise.
16336 (RDI_LP): Likewise.
16337 (RSI_LP): Likewise.
16338 (RSP_LP): Likewise.
16339 (R8_LP): Likewise.
16340 (R9_LP): Likewise.
16341 (R10_LP): Likewise.
16342 (R10_LP): Likewise.
16343 (R11_LP): Likewise.
16344 (R12_LP): Likewise.
16345 (R13_LP): Likewise.
16346 (R14_LP): Likewise.
16347 (R15_LP): Likewise.
16348
b985be81
L
163492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16350
16351 * sysdeps/x86_64/x32/dl-machine.h: New file.
16352
6a4888ff
AJ
163532012-05-14 Andreas Jaeger <aj@suse.de>
16354
16355 * manual/Makefile (subdir): Remove export of subdir.
16356 (all): Remove target.
16357 (.PHONY): Remove all from list.
16358 (mkinstalldirs): Remove.
16359 (.PHONY): Remove installdirs from list.
16360 ($(inst_infodir)/libc.info): Use make-target-directory.
16361 (installdirs): Remove.
16362 (subdir_%): Remove.
16363 (glibc-targets): Remove.
16364 (lib): Remove.
16365 (stubs): Remove.
16366 ($(objpfx)stubs ../po/manual.pot): Remove.
16367 ($(objpfx)stamp%): Remove.
16368 (make-target-directory): Remove.
16369 (subdir_install): Remove.
16370 (routines): Remove.
16371 (aux): Remove.
16372 (sources): Remove.
16373 (objects): Remove.
16374 (headers): Remove.
16375
16376 [BZ #13750]
16377 * manual/.gitignore: Remove, it's not needed anymore.
16378 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
16379 all files in it.
16380 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
16381 directory.
16382 (texis): Renamed to $(objpfx)texis.
16383 (texis-path): New, contains path to generated files.
16384 (chapters.%): Use texis-path for complete path, add extra argument
16385 libc-texinfo.sh.
16386 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
16387 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
16388 (summary,texi, stamp-summary): Use complete path of
16389 files. Generate files in build dir.
16390 (dir-add.texi): Build in build dir.
16391 (libm-err.texi,stamp-libm-err): Likewise.
16392 (version.texi, stamp-version): Likewise.
16393 (.%c.texi): Likewise.
16394 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
16395 (mostlyclean): Remove target.
16396 (realclean): Remove target.
16397 (generated): Add new variable with contents from mostlyclean and
16398 realclean, remove entries duplicated in common-mostlyclean, add
16399 stamp-libm-err and stamp-version.
16400 (generated-dirs): Add libc directory.
16401 ($(inst_infodir)/libc.info): Install files from build dir.
16402
16403 * manual/install.texi (Configuring and compiling): Adjust since
16404 the info files are not part of the tar ball anymore.
16405
7ac77294
AJ
164062012-05-14 Andreas Jaeger <aj@suse.de>
16407
16408 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
16409 variable.
16410
ffb7875d
JM
164112012-05-14 Joseph Myers <joseph@codesourcery.com>
16412
16413 [BZ #13717]
16414 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16415 to 2.2.0 where earlier.
16416 * sysdeps/unix/sysv/linux/configure: Regenerated.
16417 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
16418 Remove conditional code.
16419 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
16420 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
16421 Remove conditional code.
16422 [!__NR_lchown]: Likewise.
16423 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16424 [__NR_lchown]: Likewise.
16425 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
16426 comment referencing __ASSUME_LCHOWN_SYSCALL.
16427 * sysdeps/unix/sysv/linux/i386/sigaction.c
16428 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16429 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16430 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
16431 Remove conditional code.
16432 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
16433 (__protocol_available): Remove #if 0 code.
16434 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
16435 conditional code.
16436 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
16437 * sysdeps/unix/sysv/linux/kernel-features.h
16438 (__ASSUME_GETCWD_SYSCALL): Don't define.
16439 (__ASSUME_REALTIME_SIGNALS): Likewise.
16440 (__ASSUME_PREAD_SYSCALL): Likewise.
16441 (__ASSUME_PWRITE_SYSCALL): Likewise.
16442 (__ASSUME_POLL_SYSCALL): Likewise.
16443 (__ASSUME_LCHOWN_SYSCALL): Likewise.
16444 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
16445 non-SPARC.
16446 (__ASSUME_SIOCGIFNAME): Don't define.
16447 (__ASSUME_MSG_NOSIGNAL): Likewise.
16448 (__ASSUME_SENDFILE): Define unconditionally.
16449 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
16450 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
16451 conditional code.
16452 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
16453 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
16454 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
16455 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16456 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
16457 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
16458 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
16460 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16461 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16463 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16464 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
16466 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16467 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
16469 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16470 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
16472 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16473 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
16475 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16476 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
16478 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16479 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
16481 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16482 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16483 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
16484 Remove conditional code.
16485 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16486 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
16487 Remove conditional code.
16488 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16489 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
16490 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
16491 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
16492 Remove conditional code.
16493 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16494 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
16495 Remove conditional code.
16496 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16497 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
16498 Remove conditional code.
16499 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16500 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
16501 Remove conditional code.
16502 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16503 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
16504 Remove conditional code.
16505 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16506 * sysdeps/unix/sysv/linux/sh/pwrite64.c
16507 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16508 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16509 * sysdeps/unix/sysv/linux/sigaction.c
16510 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16511 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16512 * sysdeps/unix/sysv/linux/sigpending.c
16513 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16514 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16515 * sysdeps/unix/sysv/linux/sigprocmask.c
16516 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16517 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16518 * sysdeps/unix/sysv/linux/sigsuspend.c
16519 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16520 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16521 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16522 (__libc_missing_rt_sigs): Remove.
16523 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
16524 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
16525 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
16526 Remove conditional code.
16527 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
16528 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
16529 return 1.
16530 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
16531 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
16532 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
16533 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
16534
1bfb7291
AJ
165352012-05-14 Andreas Jaeger <aj@suse.de>
16536
caae5a81
AJ
16537 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
16538 it's not used in glibc.
16539 (__coshm1): Likewise.
16540 (__acosh1p): Likewise.
16541 (__sgn): Likewise.
16542
1bfb7291
AJ
16543 * manual/string.texi (Copying and Concatenation): Add missing
16544 variable in concat example.
16545 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
16546
c044d724
L
165472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16548
144c5467 16549 [BZ #14103]
c044d724
L
16550 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
16551 __builtin_clzl with __builtin_clzll.
16552
2523c62b
L
165532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16554
16555 [BZ #14104]
16556 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
16557 libc_freeres_ptr.
16558
d7bb4c42
LD
165592012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16560
16561 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
16562 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
16563 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
16564 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
16565
9dc4e1fb
MF
165662012-05-14 Mike Frysinger <vapier@gentoo.org>
16567
16568 * NEWS: Update ia64 info.
16569
c7df0112
AS
165702012-05-12 Andreas Schwab <schwab@linux-m68k.org>
16571
16572 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
16573 used as bcopy.
16574
dc70356c
TS
165752012-05-12 Thomas Schwinge <thomas@codesourcery.com>
16576
16577 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
16578 * sysdeps/unix/syscalls.list (dup3): Likewise.
16579 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
16580 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
16581
9fb1a21f
L
165822012-05-11 H.J. Lu <hongjiu.lu@intel.com>
16583
16584 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
16585 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
16586
4822a2a5
L
165872012-05-11 H.J. Lu <hongjiu.lu@intel.com>
16588
16589 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
16590 thread pointer.
16591 (TLS_IE): Use mov/add instead of movq/addq to load thread
16592 pointer.
16593 (TLS_GD_PREFIX): New.
16594 (TLS_GD): Use it.
16595
842b81d6
DM
165962012-05-11 David S. Miller <davem@davemloft.net>
16597
16598 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
16599 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
16600 (_FPU_SETCW): Likewise.
16601
1cf463cd
L
166022012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16603
16604 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
16605 is 32-byte aligned.
16606
60cc4a18
AS
166072012-05-11 Andreas Schwab <schwab@linux-m68k.org>
16608
16609 [BZ #11837]
16610 * iconvdata/gb18030.c: Update tables.
16611 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
16612 characters specially.
16613 (BODY for TO_LOOP): Add encoding of missing ranges.
16614
febb44a4
TS
166152012-05-11 Thomas Schwinge <thomas@codesourcery.com>
16616
16617 [BZ #13673]
16618 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
16619 * sysdeps/mach/hurd/dup3.c: Likewise.
16620 * sysdeps/mach/hurd/readlinkat.c: Likewise.
16621 * sysdeps/powerpc/memmove.c:: Likewise.
16622
0a10fb9e
L
166232012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16624
16625 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
16626 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
16627
df8a552f
L
166282012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16629
16630 * elf/elf.h (R_X86_64_RELATIVE64): New.
16631 (R_X86_64_NUM): Updated.
16632 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16633 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
16634 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
16635 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
16636 tst-quad1pie tst-quad2pie
16637 (modules-names): Add tst-quadmod1 tst-quadmod2.
16638 ($(objpfx)tst-quad1): New dependency.
16639 ($(objpfx)tst-quad2): Likewise.
16640 ($(objpfx)tst-quad1pie): Likewise.
16641 ($(objpfx)tst-quad2pie): Likewise.
16642 * sysdeps/x86_64/tst-quad1.c: New file.
16643 * sysdeps/x86_64/tst-quad1pie.c: New file.
16644 * sysdeps/x86_64/tst-quad2.c: Likewise.
16645 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
16646 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
16647 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
16648 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
16649 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
16650
f34d6f84
ST
166512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16652
f42d41d1
ST
16653 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
16654 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
16655 * streams/stropts.h (t_scalar_t): Define type.
16656
3c3571fc
ST
16657 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
16658 (_PATH_PRESERVE): Set to "/var/lib".
16659 (_PATH_RWHODIR): Set to "/var/spool/rwho".
16660
61f06bd3
ST
16661 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
16662 instead of int.
16663
918d4d71
ST
16664 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
16665 if __dir_mkfile succeeded.
16666
f34d6f84
ST
16667 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
16668 checking for _hurd_dtablesize. Unlock it right after having
16669 finished _hurd_dtable allocation.
16670
10589b4a
TS
166712012-05-10 Thomas Schwinge <thomas@schwinge.name>
16672
674cdbc7
TS
16673 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
16674 * sysdeps/mach/hurd/configure: Regenerated.
16675 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
16676 special-casing to...
16677 * sysdeps/gnu/configure.in: ... this new file.
16678 * sysdeps/unix/sysv/linux/configure: Regenerated.
16679 * sysdeps/gnu/configure: New generated file.
16680
8e41b99f
TS
16681 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
16682 for Linux: use nsec instead of usec, as well as:
16683 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
16684 members of type struct timespec.
16685 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
16686 New macros.
16687 (struct stat64): Likewise.
16688 (_STATBUF_ST_NSEC): New macro.
16689 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
16690
10589b4a
TS
16691 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16692 __strtoul_internal rather than strtoul.
16693
63643c85
PT
166942012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16695
16696 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
16697 and reject them.
16698
3faebe6a
ST
166992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16700
16701 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
16702 which preserves existing values.
16703 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
16704
c6474b07
PT
167052012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16706
16707 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
16708 TIMEOUT values. Return EINVAL for NFDS values either negative or
16709 greater than FD_SETSIZE.
16710
1043890b
ST
167112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16712
16713 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
16714 allocated, call __vm_protect to finish enabling the existing space, and
16715 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
16716 allocate the remainder.
16717
37ed8b9b
PT
167182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16719
16720 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
16721 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
16722
db653660
ST
167232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16724
37ed8b9b
PT
16725 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
16726 sysdeps/mach/hurd/readlink.c.
b29d4053 16727
db653660
ST
16728 * posix/tst-sysconf.c (posix_options): Only use
16729 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
16730 _POSIX_SYNCHRONIZED_IO when they are defined
16731 * sysdeps/mach/hurd/bits/posix_opt.h:
16732 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
16733 (_XOPEN_REALTIME): Undefine macro.
16734 (_XOPEN_REALTIME_THREADS): Undefine macro.
16735 (_XOPEN_SHM): Undefine macro.
16736 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
16737 macro to -1.
16738 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
16739 macro to -1.
16740 (_POSIX_ASYNC_IO): Undefine macro.
16741 (_POSIX_PRIORITIZED_IO): Undefine macro.
16742 (_POSIX_SPIN_LOCKS): Define macro to -1.
16743
ee16e894
ST
16744 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
16745 SA_NODEFER, SA_RESETHAND.
16746 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
16747 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
16748 F_DUPFD_CLOEXEC.
16749
6103ae3b
TS
167502012-05-10 Thomas Schwinge <thomas@schwinge.name>
16751
16752 * elf/Makefile (pldd-modules): Define unconditionally.
16753
80b4e5f3
TS
167542012-05-10 Thomas Schwinge <thomas@schwinge.name>
16755
16756 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
16757
edadcbd6
ST
167582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16759
16760 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
16761 Return ENOENT when name is empty.
16762 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
16763
80694780
TS
167642012-05-10 Thomas Schwinge <thomas@schwinge.name>
16765
1792c087
TS
16766 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
16767
80694780
TS
16768 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
16769
6b645f0d
ST
167702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16771
80694780
TS
16772 Fix mlock in all cases except non-readable pages.
16773 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
16774 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 16775
6b645f0d
ST
16776 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
16777 (__mkdir): When path is `/', just fail with EEXIST.
16778 * sysdeps/mach/hurd/mkdirat.c: Likewise.
16779
e468f8a3
TS
167802012-05-10 Thomas Schwinge <thomas@schwinge.name>
16781
16782 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
16783 <sys/uio.h> (for writev).
16784 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
16785 and <sys/param.h> (for MIN).
16786
a4186cff
PT
167872012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16788
16789 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
16790 REQUESTED_TIME. Properly set the remaining time and return EINTR
16791 if interrupted.
16792
510bbf14
TS
167932012-05-10 Thomas Schwinge <thomas@schwinge.name>
16794
16795 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
16796 Depend on against $(link-rpcuserlibs).
16797
5d5722e8
ST
167982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16799
a4186cff
PT
16800 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
16801 (__libc_stack_end): Do not use attribute_relro.
16802 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
16803 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 16804 to libthread-provided value.
a4186cff
PT
16805 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
16806 attribute_relro.
5d5722e8 16807
37233df9
TS
168082012-05-10 Thomas Schwinge <thomas@schwinge.name>
16809
be971a2b
TS
16810 [BZ #3748]
16811 * bits/libc-lock.h (__libc_once_get): New macro.
16812 * sysdeps/mach/bits/libc-lock.h: Likewise.
16813 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
16814 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
16815 instead of using implementation details.
16816
37233df9
TS
16817 * libio/fileops.c: Unconditionally include <kernel-features.h>.
16818 * libio/freopen.c: Likewise.
16819 * libio/freopen64.c: Likewise.
16820 * misc/syslog.c: Likewise.
16821 * nscd/connections.c: Likewise.
16822 * nscd/netgroupcache.c: Likewise.
16823 * sysdeps/posix/getcwd.c: Likewise.
16824
38de94a5
RM
168252012-05-10 Roland McGrath <roland@hack.frob.com>
16826
16827 * math/w_ilogbf.c: Add #include <limits.h>.
16828
67530489
ST
168292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16830
a4186cff 16831 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
16832 path instead of returning without unlocking.
16833
67530489
ST
16834 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
16835 immediate-write ioctls.
16836 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
16837
5aa3a74a
TS
168382012-05-10 Thomas Schwinge <thomas@schwinge.name>
16839
18bad2ae
TS
16840 * sysdeps/mach/hurd/i386/init-first.c (init): Use
16841 __builtin_frame_address instead of making assumptions about the
16842 location of the return address relative to DATA. Force early load of
16843 the return address.
16844 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
16845 __builtin_frame_address.
16846
5aa3a74a
TS
16847 dup3 for GNU Hurd.
16848 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
16849 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
16850 implement dup3 and do some further code clean-ups.
16851 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
16852 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
16853
ecd0de9a
ST
168542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16855
cd9fa985
ST
16856 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
16857
a4186cff
PT
16858 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
16859 HURD_CRITICAL_END around holding _hurd_dtable_lock.
16860 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
16861 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
16862 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
16863 d->port.lock.
802ca5a5 16864
a4186cff
PT
16865 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
16866 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
16867 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 16868
bcf55240
TS
168692012-05-10 Thomas Schwinge <thomas@schwinge.name>
16870
6960eb42
TS
16871 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
16872 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
16873 definitions.
16874
eb43375f
TS
16875 accept4 for GNU Hurd.
16876 * include/sys/socket.h (__libc_accept4): New prototype.
16877 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
16878 to implement __libc_accept4.
16879 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
16880 __libc_accept4.
16881 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
16882
bcf55240
TS
16883 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
16884 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
16885 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
16886 signal-defines.sym.
16887
6178c55b
ST
168882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16889
a4186cff 16890 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 16891
6f080c2f
TS
168922012-05-10 Thomas Schwinge <thomas@schwinge.name>
16893
16894 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
16895 assertion on O_CLOEXEC flag.
16896 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
16897 * hurd/intern-fd.c: Likewise.
16898 * hurd/port2fd.c: Likewise.
16899
bcfe3a54
ST
169002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16901
16902 [BZ #3906]
16903 * bits/in.h (IPV6_PKTINFO): Define new macro.
16904 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
16905
89c9aa49
AZ
169062012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16907
16908 [BZ #13954]
16909 [BZ #13955]
16910 [BZ #13956]
16911 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
16912 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16913 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
16914 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16915 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16916 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16917 * math/libm-test.inc (logb_test) : Additional logb tests.
16918
021db4be
AJ
169192012-05-09 Andreas Schwab <schwab@linux-m68k.org>
16920 Andreas Jaeger <aj@suse.de>
16921
16922 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
16923 * configure: Regenerated.
16924 * config.h.in (LINK_OBSOLETE_RPC): New macro.
16925 * config.make.in (link-obsolete-rpc): New substituted variable.
16926 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
16927 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
16928 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16929 (shared-only-routines): Don't set it under [link-obsolete-rpc],
16930 so that libc.a contains the symbols.
16931 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
16932 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
16933 * sunrpc/auth_none.c: Likewise.
16934 * sunrpc/auth_unix.c: Likewise.
16935 * sunrpc/authdes_prot.c: Likewise.
16936 * sunrpc/authuxprot.c: Likewise.
16937 * sunrpc/clnt_gen.c: Likewise.
16938 * sunrpc/clnt_perr.c: Likewise.
16939 * sunrpc/clnt_raw.c: Likewise.
16940 * sunrpc/clnt_simp.c: Likewise.
16941 * sunrpc/clnt_tcp.c: Likewise.
16942 * sunrpc/clnt_udp.c: Likewise.
16943 * sunrpc/clnt_unix.c: Likewise.
16944 * sunrpc/des_crypt.c: Likewise.
16945 * sunrpc/des_soft.c: Likewise.
16946 * sunrpc/get_myaddr.c: Likewise.
16947 * sunrpc/key_call.c: Likewise.
16948 * sunrpc/key_prot.c: Likewise.
16949 * sunrpc/netname.c: Likewise.
16950 * sunrpc/pm_getmaps.c: Likewise.
16951 * sunrpc/pm_getport.c: Likewise.
16952 * sunrpc/pmap_clnt.c: Likewise.
16953 * sunrpc/pmap_prot.c: Likewise.
16954 * sunrpc/pmap_prot2.c: Likewise.
16955 * sunrpc/pmap_rmt.c: Likewise.
16956 * sunrpc/publickey.c: Likewise.
16957 * sunrpc/rpc_cmsg.c: Likewise.
16958 * sunrpc/rpc_common.c: Likewise.
16959 * sunrpc/rpc_dtable.c: Likewise.
16960 * sunrpc/rpc_prot.c: Likewise.
16961 * sunrpc/rpc_thread.c: Likewise.
16962 * sunrpc/rtime.c: Likewise.
16963 * sunrpc/svc.c: Likewise.
16964 * sunrpc/svc_auth.c: Likewise.
16965 * sunrpc/svc_raw.c: Likewise.
16966 * sunrpc/svc_run.c: Likewise.
16967 * sunrpc/svc_tcp.c: Likewise.
16968 * sunrpc/svc_udp.c: Likewise.
16969 * sunrpc/svc_unix.c: Likewise.
16970 * sunrpc/svcauth_des.c: Likewise.
16971 * sunrpc/xcrypt.c: Likewise.
16972 * sunrpc/xdr.c: Likewise.
16973 * sunrpc/xdr_array.c: Likewise.
16974 * sunrpc/xdr_float.c: Likewise.
16975 * sunrpc/xdr_intXX_t.c: Likewise.
16976 * sunrpc/xdr_mem.c: Likewise.
16977 * sunrpc/xdr_rec.c: Likewise.
16978 * sunrpc/xdr_ref.c: Likewise.
16979 * sunrpc/xdr_sizeof.c: Likewise.
16980 * sunrpc/xdr_stdio.c: Likewise.
16981
b5c086a2
RM
169822012-05-10 Roland McGrath <roland@hack.frob.com>
16983
16984 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
16985 change. Update copyright years.
16986
6d74dd09
JM
169872012-05-10 Joseph Myers <joseph@codesourcery.com>
16988
16989 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
16990
28e72501
MK
169912012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
16992 Joseph Myers <joseph@codesourcery.com>
16993 Paul Pluzhnikov <ppluzhnikov@google.com>
16994
16995 [BZ #14012]
16996 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
16997 requiring rpcgen.
16998 [cross-compiling] (extra-libs): Likewise.
16999 [cross-compiling] (extra-libs-others): Likewise.
17000 [cross-compiling] (librpcsvc-routines): Likewise.
17001 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
17002 [cross-compiling] (omit-deps): Likewise.
17003 (sunrpc-CPPFLAGS): New variable.
17004 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
17005 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
17006 (cross-rpcgen-objs): New variable.
17007 (extra-objs): Append $(cross-rpcgen-objs).
17008 ($(cross-rpcgen-objs)): New rule.
17009 ($(objpfx)cross-rpcgen): Likewise.
17010 (rpcgen-cmd): Define to use $(built-program-file). Expand
17011 comment.
17012 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
17013 ($(objpfx)x%.stmp): Likewise.
17014 * sunrpc/proto.h [IS_IN_build] (_): Define.
17015 [IS_IN_build] (_libc_intl_domainname): Likewise.
17016
c8c59454
L
170172012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17018
17019 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
17020 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
17021 and R_X86_64_TPOFF64.
17022
6f27cd16
JM
170232012-05-10 Joseph Myers <joseph@codesourcery.com>
17024
17025 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
17026 sysdeps/unix/sysv/syscalls.list.
17027 (stime): Likewise.
17028 (utime): Likewise.
17029 * sysdeps/unix/sysv/syscalls.list: Remove file.
17030
02467e1c
PE
170312012-05-10 Paul Eggert <eggert@cs.ucla.edu>
17032
17033 [BZ #3440]
17034 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
17035 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
17036 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
17037 (__LC_IDENTIFICATION): Make these macros useful in #if
17038 expressions, as required by C99.
17039
da392631
AS
170402012-05-10 Andreas Schwab <schwab@linux-m68k.org>
17041
17042 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
17043 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
17044 after this.
17045
8115f29b
L
170462012-05-09 H.J. Lu <hongjiu.lu@intel.com>
17047
17048 * stdlib/longlong.h: Updated from GCC.
17049
bdd74070
AJ
170502012-05-09 Andreas Jaeger <aj@suse.de>
17051
edfe0dbe
AJ
17052 * nscd/nscd.c (run_modes): Make named enum, reorder so that
17053 default is first entry.
17054 (run_mode): Set type.
17055 (main): Remove informal message about syslog.
17056 (options): Fix typo.
17057
bcfe3a54
ST
17058 [BZ #14053]
17059 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 17060 to asm.
bcfe3a54
ST
17061 (lrint): Likewise.
17062 (llrintf): Likewise.
17063 (llrint): Likewise.
17064 (rint): Likewise.
17065 (rintf): Likewise.
17066 (nearbyint): Likewise.
17067 (nearbyintf): Likewise.
bdd74070 17068
91d8d69e
AJ
170692012-05-09 Andreas Jaeger <aj@suse.de>
17070 Pedro Alves <palves@redhat.com>
17071
17072 * nscd/nscd.c (run_mode): Use enum.
17073 (main): Cleanup coding style issue.
17074
bb90b80b
AJ
170752012-05-09 Alexandre Oliva <aoliva@redhat.com>
17076 Andreas Jaeger <aj@suse.de>
17077
bcfe3a54
ST
17078 * nscd/nscd.c (go_background): Replaced with...
17079 (run_mode): ... this.
bb90b80b 17080 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
17081 (options): Add -F --foreground.
17082 (main): Implement it.
17083 (parse_opt): Parse it.
bb90b80b 17084
1a4b75a1
AJ
170852012-05-09 Andreas Jaeger <aj@suse.de>
17086
17087 [BZ #14083]
17088 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
17089 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
17090 -Wconversion warning.
17091 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
17092 Likewise.
17093
b1cc2472
JM
170942012-05-09 Joseph Myers <joseph@codesourcery.com>
17095
17096 * conform/data/locale.h-data (NULL): Use macro-constant. Require
17097 == 0.
17098 (LC_ALL): Use macro-int-constant.
17099 (LC_COLLATE): Likewise.
17100 (LC_CTYPE): Likewise.
17101 (LC_MESSAGES): Likewise.
17102 (LC_MONETARY): Likewise.
17103 (LC_NUMERIC): Likewise.
17104 (LC_TIME): Likewise.
17105 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
17106 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17107 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17108 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
17109 Specify type.
17110 [C99-based standards] (float_t): Expect type.
17111 [C99-based standards] (double_t): Expect type.
17112 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
17113 type.
17114 [C99-based standards] (HUGE_VALL): Likewise.
17115 [C99-based standards] (INFINITY): Likewise.
17116 [C99-based standards] (NAN): Likewise.
17117 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
17118 [C99-based standards] (FP_NAN): Likewise.
17119 [C99-based standards] (FP_NORMAL): Likewise.
17120 [C99-based standards] (FP_SUBNORMAL): Likewise.
17121 [C99-based standards] (FP_ZERO): Likewise.
17122 [C99-based standards] (FP_FAST_FMA): Use
17123 optional-macro-int-constant. Specify type. Require == 1.
17124 [C99-based standards] (FP_FAST_FMAF): Likewise.
17125 [C99-based standards] (FP_FAST_FMAL): Likewise.
17126 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
17127 [C99-based standards] (FP_ILOGBNAN): Likewise.
17128 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
17129 Specify type.
17130 [C99-based standards] (MATH_ERREXCEPT): Likewise.
17131 [C99-based standards] (math_errhandling): Specify type.
17132 [ISO99 || ISO11] (signgam): Do not allow.
17133 [non-C99-based standards] (copysignf): Do not allow.
17134 [non-C99-based standards] (exp2f): Likewise.
17135 [non-C99-based standards] (log2f): Likewise.
17136 [non-C99-based standards] (modff): Allow.
17137 [non-C99-based standards] (erff): Do not allow.
17138 [non-C99-based standards] (erfcf): Likewise.
17139 [non-C99-based standards] (gammaf): Likewise.
17140 [non-C99-based standards] (hypotf): Likewise.
17141 [non-C99-based standards] (j0f): Likewise.
17142 [non-C99-based standards] (j1f): Likewise.
17143 [non-C99-based standards] (jnf): Likewise.
17144 [non-C99-based standards] (lgammaf): Likewise.
17145 [non-C99-based standards] (tgammaf): Likewise.
17146 [non-C99-based standards] (y0f): Likewise.
17147 [non-C99-based standards] (y1f): Likewise.
17148 [non-C99-based standards] (ynf): Likewise.
17149 [non-C99-based standards] (isnanf): Likewise.
17150 [non-C99-based standards] (acoshf): Likewise.
17151 [non-C99-based standards] (asinhf): Likewise.
17152 [non-C99-based standards] (atanhf): Likewise.
17153 [non-C99-based standards] (cbrtf): Likewise.
17154 [non-C99-based standards] (expm1f): Likewise.
17155 [non-C99-based standards] (ilogbf): Likewise.
17156 [non-C99-based standards] (log1pf): Likewise.
17157 [non-C99-based standards] (logbf): Likewise.
17158 [non-C99-based standards] (nextafterf): Likewise.
17159 [non-C99-based standards] (remainderf): Likewise.
17160 [non-C99-based standards] (rintf): Likewise.
17161 [non-C99-based standards] (scalbf): Likewise.
17162 [non-C99-based standards] (copysignl): Likewise.
17163 [non-C99-based standards] (exp2l): Likewise.
17164 [non-C99-based standards] (log2l): Likewise.
17165 [non-C99-based standards] (modfl): Allow.
17166 [non-C99-based standards] (erfl): Do not allow.
17167 [non-C99-based standards] (erfcl): Likewise.
17168 [non-C99-based standards] (gammal): Likewise.
17169 [non-C99-based standards] (hypotl): Likewise.
17170 [non-C99-based standards] (j0l): Likewise.
17171 [non-C99-based standards] (j1l): Likewise.
17172 [non-C99-based standards] (jnl): Likewise.
17173 [non-C99-based standards] (lgammal): Likewise.
17174 [non-C99-based standards] (tgammal): Likewise.
17175 [non-C99-based standards] (y0l): Likewise.
17176 [non-C99-based standards] (y1l): Likewise.
17177 [non-C99-based standards] (ynl): Likewise.
17178 [non-C99-based standards] (isnanl): Likewise.
17179 [non-C99-based standards] (acoshl): Likewise.
17180 [non-C99-based standards] (asinhl): Likewise.
17181 [non-C99-based standards] (atanhl): Likewise.
17182 [non-C99-based standards] (cbrtl): Likewise.
17183 [non-C99-based standards] (expm1l): Likewise.
17184 [non-C99-based standards] (ilogbl): Likewise.
17185 [non-C99-based standards] (log1pl): Likewise.
17186 [non-C99-based standards] (logbl): Likewise.
17187 [non-C99-based standards] (nextafterl): Likewise.
17188 [non-C99-based standards] (remainderl): Likewise.
17189 [non-C99-based standards] (rintl): Likewise.
17190 [non-C99-based standards] (scalbl): Likewise.
17191 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17192 [non-C99-based standards] (FP_*): Do not allow.
17193 [C99-based standards] (FP_*): Change to
17194 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17195 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17196 allow.
17197 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
17198 (SIG_ERR): Likewise.
17199 [X/Open-based standards] (SIG_HOLD): Likewise.
17200 (SIG_IGN): Likewise.
17201 (SIGABRT): Use macro-int-constant. Specify type. Require
17202 positive value.
17203 (SIGFPE): Likewise.
17204 (SIGILL): Likewise.
17205 (SIGINT): Likewise.
17206 (SIGSEGV): Likewise.
17207 (SIGTER): Likewise.
17208 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
17209 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
17210 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
17211 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
17212 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
17213 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
17214 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
17215 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
17216 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
17217 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
17218 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
17219 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
17220 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
17221 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
17222 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
17223 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
17224 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
17225 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
17226 [X/Open-based standards] (SIGTRAP): Likewise.
17227 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
17228 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
17229 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
17230 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
17231 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17232 allow.
17233
b9f1922d
IW
172342012-05-08 Ian Wienand <ianw@vmware.com>
17235
17236 [BZ #14080]
17237 * time/tzset.c (__tzset_parse_tz): Update default rules for
17238 daylight time changes in the Energy Policy Act of 2005.
17239
1db86e88
AJ
172402012-05-09 Andreas Jaeger <aj@suse.de>
17241
17242 [BZ #13983]
17243 * elf/ldconfig.c (parse_conf): Change string to make clear that
17244 ldconfig only issued a warning if ld.so.conf does not exist.
17245
dee4a4e3
DM
172462012-05-08 David S. Miller <davem@davemloft.net>
17247
ee0db190
DM
17248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
17249 movxtod instead of popping the value on the stack.
17250
dee4a4e3
DM
17251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17252
6a43ec98
CD
172532012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
17254
17255 * config.h.in: Add HAVE_ARM_PCS_VFP.
17256
05c2c961
RMG
172572012-05-08 Roland Mc Grath <roland@hack.frob.com>
17258
bcfe3a54
ST
17259 [BZ #13979]
17260 * include/features.h: Warn if user requests __FORTIFY_SOURCE
17261 checking but the checks are disabled for any reason.
05c2c961 17262
4b30f61a
L
172632012-05-08 H.J. Lu <hongjiu.lu@intel.com>
17264
17265 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
17266 and ELF64_R_TYPE with ELFW(R_TYPE).
17267
eee2bc67
JM
172682012-05-08 Joseph Myers <joseph@codesourcery.com>
17269
7ea5391a
JM
17270 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
17271 (ulimit): Likewise.
17272
eee2bc67
JM
17273 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
17274 (settimeofday): Likewise.
17275
abb66a67
MF
172762012-05-08 Mike Frysinger <vapier@gentoo.org>
17277
17278 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
17279 a struct th_u2 inside the union, and move tu_block/tu_code into
17280 a new th_u3 union of tu_block/tu_code inside of that. Move
17281 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
17282 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
17283 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
17284 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
17285 (th_stuff): Change to th_u1.tu_stuff.
17286 (th_data): Define.
17287 (th_msg): Change to th_u1.th_u2.tu_data.
17288
7f18b530
DM
172892012-05-07 David S. Miller <davem@davemloft.net>
17290
05760585
DM
17291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17292
7f18b530
DM
17293 [BZ #14074]
17294 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
17295 (SETUP_PIC_REG): Use it.
17296 (SETUP_PIC_REG_LEAF): Use it.
17297
495fd99f
JM
172982012-05-07 Joseph Myers <joseph@codesourcery.com>
17299
17300 [BZ #13885]
17301 [BZ #13923]
17302 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17303 USE_AS_EXPM1L.
17304 (EXPL_FINITE): Likewise.
17305 (FLDLOG): Likewise.
17306 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17307 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17308 e_expl.S.
17309 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17310 USE_AS_EXPM1L.
17311 (EXPL_FINITE): Likewise.
17312 (FLDLOG): Likewise.
17313 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17314 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17315 e_expl.S.
17316 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
17317 test of -max_value argument for long double.
17318 * sysdeps/i386/fpu/libm-test-ulps: Update.
17319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17320
6693d694
DM
173212012-05-06 David S. Miller <davem@davemloft.net>
17322
17323 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
17324 quad soft-float symbols whose references which are compiler
17325 generated.
17326 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17327
6c23e11c
JM
173282012-05-06 Joseph Myers <joseph@codesourcery.com>
17329
d8b82cad
JM
17330 [BZ #13884]
17331 [BZ #13914]
17332 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17333 USE_AS_EXP10L.
17334 (EXPL_FINITE): Likewise.
17335 (FLDLOG): Likewise.
17336 (c0): Likewise.
17337 (c1): Likewise.
17338 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
17339 Adjust comments for base varying.
17340 (__expl_finite): Change alias to EXPL_FINITE.
17341 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
17342 e_expl.S.
17343 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
17344 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17345 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17346 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
17347 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17348 USE_AS_EXP10L.
17349 (EXPL_FINITE): Likewise.
17350 (FLDLOG): Likewise.
17351 (c0): Likewise.
17352 (c1): Likewise.
17353 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
17354 Adjust comments for base varying.
17355 (__expl_finite): Change alias to EXPL_FINITE.
17356 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
17357 tests for bugs.
17358 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17359
6c23e11c
JM
17360 [BZ #14064]
17361 * math/libm-test.inc (check_float_internal): Correct ulp
17362 calculation for subnormal expected results.
17363
29ba805c
AJ
173642012-05-06 Andreas Jaeger <aj@suse.de>
17365
17366 * Makeconfig (+math-flags): New, set to -frounding-math.
17367 (+cflags): Add +math-flags so that all of glibc gets compiled with
17368 it.
17369
17370 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
17371
7b17aeda
JM
173722012-05-05 Joseph Myers <joseph@codesourcery.com>
17373
5779f134
JM
17374 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
17375 Disable one test.
17376
41498f4d
JM
17377 [BZ #13787]
17378 [BZ #13922]
17379 [BZ #14036]
17380 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
17381 (__ieee754_expl): Allow for and saturate large arguments.
17382 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
17383 (u_threshold): Likewise.
17384 (__exp): Call __ieee754_exp before checking for overflow and
17385 underflow.
17386 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
17387 (u_threshold): Likewise.
17388 (__expf): Call __ieee754_expf before checking for overflow and
17389 underflow.
17390 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
17391 (u_threshold): Likewise.
17392 (__expl): Call __ieee754_expl before checking for overflow and
17393 underflow.
17394 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
17395 (__ieee754_expl): Allow for and saturate large arguments.
17396 * math/libm-test.inc (exp_test): Add another test. Do not allow
17397 missing overflow exception on overflow.
17398 (expm1_test): Do not allow missing overflow exception on overflow.
17399
6698b8bf
JM
17400 * sysdeps/i386/fpu/e_expl.c: Move to ...
17401 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
17402 rather than using inline asm.
17403 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
17404 * sysdeps/x86_64/fpu/e_expl.S: Copy from
17405 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
17406
7b17aeda
JM
17407 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
17408 (nice): Likewise.
17409 (poll): Likewise.
17410 (signal): Likewise.
17411 (time): Likewise.
17412 (times): Likewise.
17413
f7c85819
JM
174142012-05-04 Joseph Myers <joseph@codesourcery.com>
17415
17416 * sysdeps/unix/syscalls.list (adjtime): Add entry from
17417 sysdeps/unix/common/syscalls.list.
17418 (fchmod): Likewise.
17419 (fchown): Likewise.
17420 (ftruncate): Likewise.
17421 (getrusage): Likewise.
17422 (gettimeofday): Likewise.
17423 (setpgid): Likewise.
17424 (setregid): Likewise.
17425 (setreuid): Likewise.
17426 (sigaction): Likewise.
17427 (truncate): Likewise.
17428 (vhangup): Likewise.
17429 * sysdeps/unix/common/syscalls.list: Remove file.
17430 * sysdeps/unix/bsd/Implies: Don't include unix/common.
17431 * sysdeps/unix/sysv/linux/Implies: Likewise.
17432
336270d0
L
174332012-05-04 H.J. Lu <hongjiu.lu@intel.com>
17434
17435 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
17436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
17437 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
17438 Moved to ...
17439 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17440 Here.
17441 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
17442 to ...
17443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
17444 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
17445 to ...
17446 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
17447 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
17448 to ...
17449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
17450 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
17451 to ...
17452 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
17453 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
17454 to ...
17455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
17456 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
17457 to ...
17458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
17459 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
17460 to ...
17461 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17462 Here.
17463 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
17464 to ...
17465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
17466 Here.
17467 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
17468 to ...
17469 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
17470 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
17471 Moved to ...
17472 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
17473 Here.
17474 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
17475 to ...
17476 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
17477
d128e450
JM
174782012-05-04 Joseph Myers <joseph@codesourcery.com>
17479
fa8ee516
JM
17480 * sysdeps/unix/common/bits/dirent.h: Remove file.
17481 * sysdeps/unix/common/bits/fcntl.h: Likewise.
17482
d128e450
JM
17483 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
17484 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
17485 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
17486 * sysdeps/unix/bsd/isatty.c: Likewise.
17487 * sysdeps/unix/bsd/tcdrain.c: Likewise.
17488 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
17489 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
17490
ff8faaf0 174912012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 17492
62881be4 17493 [BZ #13563]
31dc8730
AZ
17494 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
17495 long double comparison inaccuracies.
17496 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17498
6fef930c
AS
174992012-05-04 Andreas Schwab <schwab@linux-m68k.org>
17500
17501 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
17502 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
17503
8f203e6c
JM
175042012-05-04 Joseph Myers <joseph@codesourcery.com>
17505
17506 [BZ #14049]
17507 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
17508 nonzero digits before rounding a hex value.
17509 * stdlib/tst-strtod.c (tests): Add another test.
17510
5197d9c2
AK
175112012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17512
17513 * sysdeps/s390/fpu/libm-test-ulps: Update.
17514
f0c1dedf
AJ
175152012-05-03 Andreas Jaeger <aj@suse.de>
17516
17517 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
17518 does not get optimized out.
17519 (malloc_opt_barrier): New.
17520
a65ef2ae 175212012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 17522 Roland McGrath <roland@hack.frob.com>
a65ef2ae 17523
2b942cb7 17524 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 17525 intermediate file deletion.
2b942cb7 17526 (generated): Add .symlist files.
a65ef2ae 17527
54b71e02
JM
175282012-05-03 Joseph Myers <joseph@codesourcery.com>
17529
17530 [BZ #13775]
17531 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
17532 Redirect under this condition.
17533 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17534 [__USE_GNU] (__dprintf_chk): Not under this condition.
17535 [__USE_GNU] (__vdprintf_chk): Likewise.
17536 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
17537 under this condition.
17538 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17539 [__USE_XOPEN2K8] (dprintf): Define under this condition.
17540 [__USE_XOPEN2K8] (vdprintf): Likewise.
17541 [__USE_GNU] (__dprintf_chk): Not under this condition.
17542 [__USE_GNU] (__vdprintf_chk): Likewise.
17543 [__USE_GNU] (dprintf): Likewise.
17544 [__USE_GNU] (vdprintf): Likewise.
17545
d3dfcc41
RM
175462012-05-03 Roland McGrath <roland@hack.frob.com>
17547
17548 * elf/Makefile (common-generated): Set this instead of generated for
17549 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
17550 $(all-built-dso)-derived lists.
17551
7ac30cc5
AJ
175522012-05-03 Andreas Jaeger <aj@suse.de>
17553
0c51e550
AJ
17554 * sysdeps/i386/fpu/libm-test-ulps: Update.
17555
7ac30cc5
AJ
17556 * FAQ: Removed.
17557 * FAQ.in: Likewise.
17558 * scripts/gen-FAQ.pl: Likewise.
17559 * manual/install.texi (Installation): Point to online location of
17560 FAQ.
17561 * Makefile (files-for-dist): Remove FAQ.
17562 (FAQ): Remove.
17563
d4c2917f
AM
175642012-05-02 Allan McRae <allan@archlinux.org>
17565
17566 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
17567 (LDFLAGS-reldepmod5.so): Likewise.
17568 (LDFLAGS-reldep6mod1.so): Likewise.
17569 (LDFLAGS-reldep6mod4.so): Likewise.
17570 (LDFLAGS-reldep8mod3.so): Likewise.
17571 (LDFLAGS-unload4mod1.so): Likewise.
17572 (LDFLAGS-unload4mod2.so): Likewise.
17573 (LDFLAGS-tst-initorder): Likewise.
17574 (LDFLAGS-tst-initordera2.so): Likewise.
17575 (LDFLAGS-tst-initordera3.so): Likewise.
17576 (LDFLAGS-tst-initordera4.so): Likewise.
17577 (LDFLAGS-tst-initorderb2.so): Likewise.
17578 (LDFLAGS-noload): Likewise.
17579 (LDFLAGS-next): Likewise.
17580 (LDFLAGS-order2mod1.so): Likewise.
17581 (LDFLAGS-order2mod2.so): Likewise.
17582 (LDFLAGS-tst-initorder2): Likewise.
17583 (LDFLAGS-tst-initorder2a.so): Likewise.
17584 (LDFLAGS-tst-initorder2b.so): Likewise.
17585 (LDFLAGS-tst-initorder2c.so): Likewise.
17586 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
17587
d77f993f
DM
175882012-05-02 David S. Miller <davem@davemloft.net>
17589
17590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17591
171a70b4
PP
175922012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
17593
17594 [BZ #14055]
17595 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
17596
0be196ad
AJ
175972012-05-02 Andreas Jaeger <aj@suse.de>
17598
17599 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
17600 since we manipulate rounding mode.
17601 (CPPFLAGS-test-idouble.c): Likewise.
17602 (CPPFLAGS-test-ifloat.c): Likewise.
17603 (CFLAGS-test-ldouble.c): Likewise.
17604 (CFLAGS-test-double.c): Likewise.
17605 (CFLAGS-test-float.c): Likewise.
17606 (CFLAGS-test-misc.c): Likewise.
17607 (CFLAGS-test-test-fenv.c): Likewise.
17608
4f9d04aa
AZ
176092012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17610
2b942cb7
RM
17611 [BZ #2550]
17612 [BZ #2570]
17613 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
17614 comparisons to determine direction to adjust input.
4f9d04aa 17615
82a79e7d
RM
176162012-05-01 Roland McGrath <roland@hack.frob.com>
17617
f5a01ca9
RM
17618 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
17619 output to the target.
17620
90fe4186
RM
17621 * scripts/localplt.awk: New file.
17622 * elf/Makefile ($(objpfx)check-localplt): Target removed.
17623 (check-localplt-CFLAGS): Variable removed.
17624 ($(all-built-dso:=.jmprel)): New static pattern rule.
17625 (generated): Add those targets.
17626 (localplt-built-dso): New variable.
17627 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
17628
17629 * elf/check-localplt.c: File removed.
17630
82397ed6
RM
17631 * scripts/check-execstack.awk: New file.
17632 * elf/Makefile ($(objpfx)check-execstack): Target removed.
17633 (check-execstack-CFLAGS): Variable removed.
17634 ($(objpfx)check-execstack.h): Target removed.
17635 ($(objpfx)execstack-default): New target.
17636 (generated): Add that instead of check-execstack.h.
17637 ($(all-built-dso:=.phdr)): New static pattern rule.
17638 (generated): Add those targets.
17639 * elf/check-execstack.c: File removed.
17640
82a79e7d
RM
17641 * scripts/check-textrel.awk: New file.
17642 * elf/Makefile ($(objpfx)check-textrel): Target removed.
17643 (check-textrel-CFLAGS): Variable removed.
17644 (all-built-dso): Use := to define.o
17645 ($(all-built-dso:=.dyn)): New static pattern rule.
17646 (generated): Add those targets.
17647 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
17648 * config.make.in (READELF): New substituted variable.
17649 * elf/check-textrel.c: File removed.
17650
62fde54f 176512012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 17652
615605c9
JM
17653 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17654 allow.
17655 * conform/data/ctype.h-data [C99-based standards] (isblank):
17656 Expect function.
17657 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
17658 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
17659 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17660 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
17661 Specify type. Require positive value.
17662 (EILSEQ): Likewise.
17663 (ERANGE): Likewise.
17664 [ISO || POSIX] (EILSEQ): Do not expect.
17665 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
17666 Specify type. Require positive value.
17667 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
17668 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
17669 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
17670 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
17671 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
17672 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
17673 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
17674 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
17675 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
17676 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
17677 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
17678 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
17679 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
17680 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
17681 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
17682 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
17683 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
17684 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
17685 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
17686 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
17687 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
17688 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
17689 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
17690 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
17691 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
17692 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
17693 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
17694 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
17695 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
17696 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
17697 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
17698 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
17699 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
17700 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
17701 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
17702 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
17703 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
17704 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
17705 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
17706 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
17707 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
17708 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
17709 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
17710 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
17711 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
17712 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
17713 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
17714 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
17715 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
17716 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
17717 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
17718 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
17719 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
17720 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
17721 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
17722 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
17723 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
17724 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
17725 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
17726 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
17727 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
17728 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
17729 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
17730 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
17731 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
17732 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
17733 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
17734 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
17735 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
17736 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
17737 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
17738 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
17739 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
17740 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
17741 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
17742 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
17743 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
17744 Require >= 2.
17745 (FLT_ROUNDS): Expect as macro, not constant.
17746 (FLT_MANT_DIG): Use macro-int-constant.
17747 (DBL_MANT_DIG): Likewise.
17748 (LDBL_MANT_DIG): Likewise.
17749 (FLT_DIG): Likewise.
17750 (DBL_DIG): Likewise.
17751 (LDBL_DIG): Likewise.
17752 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
17753 (DBL_MIN_EXP): Likewise.
17754 (LDBL_MIN_EXP): Likewise.
17755 (FLT_MAX_EXP): Use macro-int-constant.
17756 (DBL_MAX_EXP): Likewise.
17757 (LDBL_MAX_EXP): Likewise.
17758 (FLT_MAX_10_EXP): Likewise.
17759 (DBL_MAX_10_EXP): Likewise.
17760 (LDBL_MAX_10_EXP): Likewise.
17761 (FLT_MAX): Use macro-constant.
17762 (DBL_MAX): Likewise.
17763 (LDBL_MAX): Likewise.
17764 (FLT_EPSILON): Use macro-constant. Give upper bound.
17765 (DBL_EPSILON): Likewise.
17766 (LDBL_EPSILON): Likewise.
17767 (FLT_MIN): Likewise.
17768 (DBL_MIN): Likewise.
17769 (LDBL_MIN): Likewise.
17770 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
17771 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
17772 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
17773 [ISO11] (FLT_HAS_SUBNORM): Likewise.
17774 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
17775 [ISO11] (DBL_DECIMAL_DIG): Likewise.
17776 [ISO11] (FLT_DECIMAL_DIG): Likewise.
17777 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
17778 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
17779 [ISO11] (FLT_TRUE_MIN): Likewise.
17780 [ISO11] (LDBL_TRUE_MIN): Likewise.
17781 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17782 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
17783 (SCHAR_MIN): Use macro-int-constant. Specify type.
17784 (SCHAR_MAX): Likewise.
17785 (UCHAR_MAX): Likewise.
17786 (CHAR_MIN): Likewise.
17787 (CHAR_MAX): Likewise.
17788 (MB_LEN_MAX): Use macro-int-constant.
17789 (SHRT_MIN): Use macro-int-constant. Specify type.
17790 (SHRT_MAX): Likewise.
17791 (USHRT_MAX): Likewise.
17792 (INT_MAX): Likewise.
17793 (INT_MIN): Use macro-int-constant. Specify type. Make upper
17794 bound negative.
17795 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
17796 bound with "U".
17797 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17798 bound with "L".
17799 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
17800 bound negative. Suffix upper bound with "L".
17801 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17802 bound with "UL".
17803 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
17804 Specify type.
17805 [C99-based standards] (LLONG_MAX): Likewise.
17806 [C99-based standards] (ULLONG_MAX): Likewise.
17807 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
17808 == 0.
17809 [ISO11] (max_align_t): Require type.
17810 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17811
c9140a62
JM
17812 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
17813 from $CFLAGS, without defining away __attribute__ calls.
17814 (checknamespace): Use $CFLAGS_namespace.
17815
9af0bf29
JM
17816 * conform/conformtest.pl (@keywords): Only include C99 keywords
17817 for standards based on C99 or C11.
17818
343222a2
JM
17819 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
17820 Disable tests.
17821 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
17822 UNIX98]: Likewise.
17823
661f8cf0
JM
17824 * conform/conformtest.pl: Handle "macro-int-constant" and test for
17825 usability of symbols in #if.
17826
ee74b9cb
JM
17827 * conform/conformtest.pl: If macro or constant types start
17828 "promoted:", expect the symbol to be of the following type
17829 promoted by the integer promotions.
62fde54f 17830
aafc49b3
JM
17831 * conform/conformtest.pl: Parse all "constant" and "macro" lines
17832 in one place. Also handle "macro-constant".
17833
fefdf574
JM
17834 * conform/conformtest.pl: Only accept expected macro values with
17835 "==". Parse all "macro" lines in one place.
17836 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
17837
f2d922fe
JM
17838 * conform/conformtest.pl: Handle braced types on "constant" lines
17839 instead of handling "typed-constant".
17840 * conform/data/signal.h-data: Use "constant" instead of
17841 "typed-constant".
17842
d22956c9
JM
17843 * conform/conformtest.pl: Handle "optional-" at start of lines in
17844 one place rather than duplicating several cases. Handle each
17845 format of "macro" line with initial "optional-".
17846
028e2e38
JM
17847 * conform/conformtest.pl: Only accept expected constant or
17848 optional-constant values with "==". Parse all "constant" lines in
17849 one place. Parse all "optional-constant" lines in one place.
17850 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
17851 * conform/data/fmtmsg.h-data: Likewise.
17852 * conform/data/netinet/in.h-data: Likewise.
17853 * conform/data/tar.h-data: Likewise.
17854 * conform/data/limits.h-data: Use "==" form on "constant" and
17855 "optional-constant" lines.
17856
1b8f2850
JM
17857 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
17858 Use -std=c99 for XOPEN2K.
17859 (@knownproblems): Remove.
17860 (newtoken): Don't check %isknown.
17861
a05a144b
JM
17862 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
17863 Do not expect macro.
17864 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
17865 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
17866 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
17867 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
17868 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
17869 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
17870 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
17871 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
17872 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
17873 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
17874 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
17875 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
17876 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
17877 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
17878 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
17879 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
17880 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
17881 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
17882 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
17883 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
17884 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
17885 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
17886 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
17887 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
17888 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
17889 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
17890 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
17891 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
17892 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
17893 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
17894 [XPG3] (acosh): Likewise.
17895 [XPG3] (asinh): Likewise.
17896 [XPG3] (atanh): Likewise.
17897 [XPG3] (cbrt): Likewise.
17898 [XPG3] (expm1): Likewise.
17899 [XPG3] (ilogb): Likewise.
17900 [XPG3] (log1p): Likewise.
17901 [XPG3] (logb): Likewise.
17902 [XPG3] (nextafter): Likewise.
17903 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
17904 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
17905 [XPG3] (remainder): Likewise.
17906 [XPG3] (rint): Likewise.
17907 [XPG3 || XPG4 || UNIX98] (round): Likewise.
17908 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
17909 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
17910 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
17911 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
17912 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
17913 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
17914 [UNIX98 || XOPEN2K] (scalb): Expect.
17915 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
17916 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
17917 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
17918 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
17919 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
17920 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
17921 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
17922 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
17923 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
17924 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
17925 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
17926 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
17927 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
17928 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
17929 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
17930 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
17931 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
17932 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
17933 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
17934 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
17935 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
17936 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
17937 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
17938 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
17939 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
17940 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
17941 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
17942 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
17943 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
17944 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
17945 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
17946 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
17947 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
17948 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
17949 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
17950 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
17951 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
17952 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
17953 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
17954 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
17955 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
17956 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
17957 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
17958 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
17959 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
17960 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
17961 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
17962 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
17963 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
17964 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
17965 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
17966 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
17967 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
17968 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
17969 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
17970 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
17971 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
17972 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
17973 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
17974 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
17975 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
17976 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
17977 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
17978 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
17979 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
17980 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
17981 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
17982 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
17983 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
17984 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
17985 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
17986 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
17987 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
17988 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
17989 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
17990 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
17991 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
17992 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
17993 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
17994 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
17995 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
17996 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
17997 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
17998 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
17999 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
18000 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
18001 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
18002 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
18003 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
18004 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
18005 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
18006 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
18007 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
18008 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
18009 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
18010 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
18011 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
18012 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
18013 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
18014 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
18015 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
18016 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
18017 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
18018 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
18019 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
18020 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
18021 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
18022 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
18023 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
18024 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
18025 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
18026 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
18027 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
18028 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
18029 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
18030 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
18031 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
18032 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
18033 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
18034 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
18035 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
18036 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
18037 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
18038 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
18039 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
18040 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
18041 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
18042 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
18043 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
18044 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
18045 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
18046 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
18047 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
18048 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
18049 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
18050 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
18051 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
18052
73c5ebe3
JM
18053 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
18054 _XOPEN_SOURCE_EXTENDED for XPG4.
18055
39c33b6c
JM
18056 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
18057
62fde54f
JM
18058 * Makeconfig (localtime): Remove variable.
18059 (inst_localtime-file): Likewise.
18060
0741d64c
AS
180612012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18062
18063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18064 Update.
18065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18066 Update.
18067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18068 Update.
18069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18070 Update.
18071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18072 Update.
18073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
18074 Update.
18075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18076 Update.
18077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
18078 Update.
18079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18080 Update.
18081
7cb029ee
JM
180822012-05-01 Joseph Myers <joseph@codesourcery.com>
18083
18084 [BZ #2550]
18085 [BZ #2570]
18086 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
18087 comparisons to determine direction to adjust input.
18088 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18089 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
18090 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18091 Likewise.
18092 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18093 Likewise.
18094 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18095 Likewise.
18096 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18097 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18098 Likewise.
18099 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18100 Likewise.
18101 * math/libm-test.inc (nexttoward_test): Add more tests.
18102
412bd966
AS
181032012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18104
18105 [BZ #14040]
18106 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
18107 in version GLIBC_2.1, not GLIBC_2.0.
18108 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
18109 Likewise.
18110
9568c0c2
JM
181112012-04-30 Joseph Myers <joseph@codesourcery.com>
18112
adfbc8ac
JM
18113 [BZ #13942]
18114 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
18115 (1 - x) * (1 + x).
18116 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18117 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
18118 * math/libm-test.inc (acos_test): Add more tests.
18119 (asin_test): Likewise.
18120 * sysdeps/i386/fpu/libm-test-ulps: Update.
18121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18122
5ba3cc69
JM
18123 [BZ #14034]
18124 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
18125 of square root.
18126 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
18127 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18128 * math/libm-test.inc (acos_test_tonearest): New function.
18129 (acos_test_towardzero): Likewise.
18130 (acos_test_downward): Likewise.
18131 (acos_test_upward): Likewise.
18132 (asin_test_tonearest): Likewise.
18133 (asin_test_towardzero): Likewise.
18134 (asin_test_downward): Likewise.
18135 (asin_test_upward): Likewise.
18136 (main): Call the new functions.
18137 * sysdeps/i386/fpu/libm-test-ulps: Update.
18138 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18139
9568c0c2
JM
18140 [BZ #13884]
18141 [BZ #13924]
18142 * math/e_exp10.c: Include <float.h>.
18143 (__ieee754_exp10): Handle underflow here rather than multiplying
18144 large negative argument by M_LN10.
18145 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
18146 of __ieee754_expf.
18147 * math/e_exp10l.c: Include <float.h>.
18148 (__ieee754_exp10l): Handle underflow here rather than multiplying
18149 large negative argument by M_LN10l.
18150 * math/libm-test.inc (exp10_test): Add another test. Do not allow
18151 spurious overflow exception on underflow.
18152
5ac3ea17
MP
181532012-04-29 Marek Polacek <polacek@redhat.com>
18154
18155 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
18156 (__fortify_function): New macro.
18157 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
18158 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
18159 __extern_always_inline.
18160 * libio/bits/stdio2.h: Likewise.
18161 * libio/bits/stdio.h: Likewise.
18162 * string/string.h: Likewise.
18163 * string/bits/string3.h: Likewise.
18164 * include/stdio.h: Likewise.
18165 * stdlib/bits/stdlib.h: Likewise.
18166 * stdlib/stdlib.h: Likewise.
18167 * rt/bits/mqueue2.h: Likewise.
18168 * rt/mqueue.h: Likewise.
18169 * posix/bits/unistd.h: Likewise.
18170 * posix/unistd.h: Likewise.
18171 * io/bits/poll2.h: Likewise.
18172 * io/bits/fcntl2.h: Likewise.
18173 * io/fcntl.h: Likewise.
18174 * io/sys/poll.h: Likewise.
18175 * misc/bits/syslog.h: Likewise.
18176 * misc/bits/syslog-ldbl.h: Likewise.
18177 * misc/sys/syslog.h: Likewise.
18178 * socket/bits/socket2.h: Likewise.
18179 * socket/sys/socket.h: Likewise.
18180 * debug/tst-chk1.c: Likewise.
18181 * wcsmbs/bits/wchar2.h: Likewise.
18182 * wcsmbs/bits/wchar-ldbl.h: Likewise.
18183 * wcsmbs/wchar.h: Likewise.
18184
ecf0ebfb
AJ
181852012-04-29 Andreas Jaeger <aj@suse.de>
18186
18187 * Makerules (tests): Remove enable-check-abi protection.
18188 (check-abi-warn): Remove.
18189 (check-abi-%): Remove check-abi-warn usage.
18190
18191 * configure.in: Remove check-abi configure option.
18192 * configure: Regenerated.
18193 * config.make.in (enable-check-abi): Remove.
18194
6d5c57fa
AS
181952012-04-28 Andreas Schwab <schwab@linux-m68k.org>
18196
24c5d07e 18197 [BZ #14033]
ded5180a
AS
18198 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
18199 double functions to double *_finite functions.
18200
7e0d315d
AS
18201 [BZ #13941]
18202 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
18203 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
18204 LDBL_MIN_EXP.
18205 * stdio-common/Makefile (tests): Add tst-sprintf3.
18206 * stdio-common/tst-sprintf3.c: New file.
18207
6d5c57fa
AS
18208 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
18209 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
18210
0749ff8b
JM
182112012-04-28 Joseph Myers <joseph@codesourcery.com>
18212
18213 * conform/conformtest.pl: Remove duplicate typed-constant
18214 handling.
18215
8dbd5d7b
DM
182162012-04-28 David S. Miller <davem@davemloft.net>
18217
18218 * Makerules (%.abilist): Add vpath on sysdep_dirs.
18219 (check-abi-%): Remove AWK script prerequisite and explicit
18220 abilist directory.
18221 (check-abi): Rewrite to just diff the symlist with the abilist.
18222 (config-tls, config-abi-config): Delete, no longer used.
18223 (update-abi-%): Remove AWK script and explicit abilist directory.
18224 (update-abi): Rewrite to simply compare and conditionally copy the
18225 symlist and the sysdep abilist file. Remove update-abi-config
18226 checks.
18227 * abilist/ld.abilist: Remove.
18228 * abilist/libBrokenLocale.abilist: Remove.
18229 * abilist/libanl.abilist: Remove.
18230 * abilist/libcrypt.abilist: Remove.
18231 * abilist/libdl.abilist: Remove.
18232 * abilist/librt.abilist: Remove.
18233 * abilist/libthread_db.abilist: Remove.
18234 * abilist/libutil.abilist: Remove.
18235 * scripts/extract-abilist.awk: Remove.
18236 * scripts/merge-abilist.awk: Remove.
18237 * sysdeps/generic/libcidn.abilist: New file.
18238 * sysdeps/generic/libnss_compat.abilist: New file.
18239 * sysdeps/generic/libnss_db.abilist: New file.
18240 * sysdeps/generic/libnss_dns.abilist: New file.
18241 * sysdeps/generic/libnss_files.abilist: New file.
18242 * sysdeps/generic/libnss_hesiod.abilist: New file.
18243 * sysdeps/generic/libnss_nis.abilist: New file.
18244 * sysdeps/generic/libnss_nisplus.abilist: New file.
18245 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
18246 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
18247 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
18248 file.
18249 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
18250 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
18251 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
18252 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
18253 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
18254 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
18255 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
18256 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
18257 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
18258 file.
18259 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
18260 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
18261 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
18262 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
18263 file.
18264 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
18265 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
18266 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
18267 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
18268 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
18269 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
18270 file.
18271 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
18272 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
18273 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
18274 file.
18275 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
18276 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
18277 New file.
18278 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
18279 New file.
18280 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
18281 New file.
18282 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
18283 New file.
18284 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
18285 New file.
18286 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
18287 New file.
18288 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
18289 New file.
18290 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
18291 New file.
18292 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
18293 New file.
18294 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
18295 New file.
18296 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
18297 New file.
18298 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
18299 New file.
18300 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
18301 New file.
18302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
18303 file.
18304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18305 New file.
18306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18307 New file.
18308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
18309 file.
18310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18311 New file.
18312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18313 New file.
18314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
18315 file.
18316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18317 New file.
18318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18319 New file.
18320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18321 New file.
18322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18323 New file.
18324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18325 New file.
18326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18327 New file.
18328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
18329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
18330 file.
18331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18332 New file.
18333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
18334 file.
18335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
18336 file.
18337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
18338 file.
18339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
18340 file.
18341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
18342 file.
18343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18344 New file.
18345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
18346 file.
18347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
18348 file.
18349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18350 New file.
18351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
18352 file.
18353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
18354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
18355 file.
18356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18357 New file.
18358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
18359 file.
18360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
18361 file.
18362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
18363 file.
18364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
18365 file.
18366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
18367 file.
18368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18369 New file.
18370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
18371 file.
18372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
18373 file.
18374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18375 New file.
18376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
18377 file.
18378 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18379 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
18380 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
18381 file.
18382 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
18383 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
18384 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
18385 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
18386 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
18387 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
18388 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
18389 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
18390 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
18391 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
18392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
18393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
18394 file.
18395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18396 New file.
18397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
18398 file.
18399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
18400 file.
18401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
18402 file.
18403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
18404 file.
18405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
18406 file.
18407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18408 New file.
18409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
18410 New file.
18411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
18412 file.
18413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
18414 New file.
18415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
18416 file.
18417 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
18418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
18419 file.
18420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
18421 New file.
18422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
18423 file.
18424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
18425 file.
18426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
18427 file.
18428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
18429 file.
18430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
18431 file.
18432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18433 New file.
18434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
18435 New file.
18436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
18437 file.
18438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
18439 New file.
18440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
18441 file.
18442
41d73a1b
JM
184432012-04-28 Joseph Myers <joseph@codesourcery.com>
18444
18445 * conform/conformtest.pl: Fix typo in handling typed-constant from
18446 allow-header.
18447
28aeeda4
JM
184482012-04-27 Joseph Myers <joseph@codesourcery.com>
18449
adae8f5e
JM
18450 * README: Cut down references to pre-2.6 Linux kernels and
18451 Linuxthreads. Update lists of configurations in libc and ports
18452 and sort alphabetically. Say "or newer" with Linux kernel version
18453 requirements.
18454
28aeeda4
JM
18455 * config.h.in [IS_IN_build]: Allow compiling without optimization.
18456
a462cb63
RA
184572012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18458
18459 [BZ #887]
18460 * math/libm-test.inc (logb_test_downward): New test to expose
18461 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
18462 rounding mode.
18463
6ad3493e
JM
184642012-04-27 Joseph Myers <joseph@codesourcery.com>
18465
18466 [BZ #14027]
18467 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
18468 to be done.
18469 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
18470 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
18471
2ce4f015
JM
184722012-04-26 Joseph Myers <joseph@codesourcery.com>
18473
5aeb141a
JM
18474 * sysdeps/unix/i386/brk.S: Remove file.
18475 * sysdeps/unix/i386/dl-brk.S: Likewise.
18476 * sysdeps/unix/i386/pipe.S: Likewise.
18477 * sysdeps/unix/i386/sigreturn.S: Likewise.
18478 * sysdeps/unix/i386/syscall.S: Likewise.
18479 * sysdeps/unix/i386/vfork.S: Likewise.
18480 * sysdeps/unix/i386/wait.S: Likewise.
18481
7143acae
JM
18482 * sysdeps/unix/common/tcsendbrk.c: Move to ...
18483 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
18484
2ce4f015
JM
18485 * configure.in (arm*-none*): Do not allow without
18486 --enable-hacker-mode.
18487 (netbsd*): Remove case setting base_os.
18488 (386bsd*): Likewise.
18489 (freebsd*): Likewise.
18490 (bsdi*): Likewise.
18491 (osf*): Likewise.
18492 (sunos*): Likewise.
18493 (ultrix*): Likewise.
18494 (newsos*): Likewise.
18495 (dynix*): Likewise.
18496 (*bsd*): Likewise.
18497 (sysv*): Likewise.
18498 (isc*): Likewise.
18499 (esix*): Likewise.
18500 (sco*): Likewise.
18501 (minix*): Likewise.
18502 (irix4*): Likewise.
18503 (irix6*): Likewise.
18504 (solaris[2-9]*): Likewise.
18505 (none): Likewise.
18506 * configure: Regenerated.
18507
0ac229c8
AZ
185082012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18509
18510 [BZ #11521]
18511 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
18512 overflow or cancellation in calculating denominator.
18513 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
18514 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
18515 down expression to avoid unexpected rounding in newer GCCs.
18516 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
18517
33f244f4
DM
185182012-04-26 David S. Miller <davem@davemloft.net>
18519
18520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
18521 long-double compat symbols.
18522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
18526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
18530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
18531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
18532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
18533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
18534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18535
cfa1f3e8
DM
185362012-04-25 David S. Miller <davem@davemloft.net>
18537
18538 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
18539 HWCAP_* values only after the memory barriers have been defined.
18540 (atomic_full_barrier): Define.
18541 (atomic_read_barrier): Define.
18542 (atomic_write_barrier): Define.
18543
6e236b92
SP
185442012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18545
18546 * shlib-versions: Add libgcc_s version information.
18547 * sysdeps/generic/libgcc_s.h: Remove.
18548 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
18549 libgcc_s.h.
18550 * sysdeps/gnu/unwind-resume.c: Likewise.
18551 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
18552
aab39a09
DM
185532012-04-25 David S. Miller <davem@davemloft.net>
18554
18555 * sysdeps/unix/sparc/brk.S: Delete.
18556 * sysdeps/unix/sparc/dl-brk.S: Delete.
18557 * sysdeps/unix/sparc/pipe.S: Delete.
18558 * sysdeps/unix/sparc/sysdep.S: Delete.
18559 * sysdeps/unix/sparc/sysdep.h: Delete.
18560 * sysdeps/unix/sparc/vfork.S: Delete.
18561 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
18562 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
18563 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
18564 ret_ERRVAL, r0, r1, MOVE): Define.
18565 (JUMPTARGET): Remove.
18566 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
18567 sysdeps/unix/sparc/sysdep.h
18568 (ENTRY, END): Remove.
18569 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18570
a3cc4f48
JM
185712012-04-25 Joseph Myers <joseph@codesourcery.com>
18572
2ed8cda2
JM
18573 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
18574 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
18575 -DIS_IN_build.
18576
35d76d59
JM
18577 * timezone/README: Update upstream location and email address for
18578 tzcode and tzdata.
18579 * timezone/zdump.c: Update from tzcode 2012b.
18580 * timezone/zic.c: Likewise.
18581
a3cc4f48
JM
18582 * configure.in (libc_cv_as_needed): Remove test.
18583 * configure: Regenerated.
18584 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
18585 conditional definition.
18586 [$(have-as-needed) != yes] (no-as-needed): Likewise.
18587 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
18588 * config.make.in (have-as-needed): Remove variable.
18589
ceab42c3
SP
185902012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18591 Paul Pluzhnikov <ppluzhnikov@google.com>
18592
18593 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
18594 strings correctly.
18595
3ce2865f
CLT
185962012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
18597
18598 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
18599 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
18600 * sysdeps/sh/strlen.S: Likewise.
18601
f37e0d68
JM
186022012-04-24 Joseph Myers <joseph@codesourcery.com>
18603
ae186e9a
JM
18604 * sysdeps/unix/fork.S: Remove file.
18605 * sysdeps/unix/i386/fork.S: Likewise.
18606 * sysdeps/unix/sparc/fork.S: Likewise.
18607
b96914af
JM
18608 * sysdeps/unix/system.c: Remove file.
18609 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
18610
f37e0d68
JM
18611 * sysdeps/unix/getegid.S: Remove file.
18612 * sysdeps/unix/geteuid.S: Likewise.
18613
87ef29ca
RM
186142012-04-24 Roland McGrath <roland@hack.frob.com>
18615
83bcd236
RM
18616 * scripts/check-localplt.awk: New file.
18617 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
18618 of diff.
18619 * scripts/data/localplt-generic.data: Add a comment.
18620
87ef29ca
RM
18621 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
18622 NODE when __dir_mkfile failed.
18623 * sysdeps/mach/hurd/symlinkat.c: Likewise.
18624 Reported by Ludovic Courtès <ludo@gnu.org>.
18625
e5a6e567
AJ
186262012-04-24 Andreas Jaeger <aj@suse.de>
18627
18628 * Makerules (common-clean): Also remove gen-as-const-headers
18629 files.
18630
c1820385
JM
186312012-04-24 Joseph Myers <joseph@codesourcery.com>
18632
18633 * Makerules (native-compile): Do not change working directory for
18634 build. Use $(OUTPUT_OPTION) in command.
18635 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
18636
94e02fc4
AZ
186372012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18638
18639 [BZ #13886]
18640 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
18641 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
18642 * math/libm-test.inc (floor_test): Add more tests.
18643 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
18644
3a533ca3
JM
186452012-04-24 Joseph Myers <joseph@codesourcery.com>
18646
940ab4b3
JM
18647 * sysdeps/unix/getdents.c: Remove file.
18648 * sysdeps/unix/sysv/getdents.c: Likewise.
18649 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
18650
90e037bd
JM
18651 * sysdeps/unix/syscalls.list (madvise): Add syscall from
18652 sysdeps/unix/mman/syscalls.list.
18653 (mmap): Likewise.
18654 (mprotect): Likewise.
18655 (msync): Likewise.
18656 (munmap): Likewise.
18657 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
18658 * sysdeps/unix/mman/syscalls.list: Remove.
18659 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
18660
3a533ca3
JM
18661 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
18662 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
18663 * configure: Regenerated.
18664 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
18665 $(libgcc_s_suffix).
18666 * config.make.in (libgcc_s_suffix): Remove variable.
18667
1ad743de
JM
186682012-04-23 Joseph Myers <joseph@codesourcery.com>
18669
4ad451e2
JM
18670 * sysdeps/unix/sysv/gethostname.c: Move to ...
18671 * sysdeps/posix/gethostname.c: ... here.
18672
5e37ce39
JM
18673 * sysdeps/unix/execve.S: Remove file.
18674
1ad743de
JM
18675 * sysdeps/unix/_exit.S: Remove file.
18676
4e681b5b
AJ
186772012-04-23 Andreas Jaeger <aj@suse.de>
18678
18679 [BZ #13739]
18680 * manual/Makefile: Remove make dist support, there's no
18681 need for a stand-alone documentation tar ball.
18682 (TEXI2DVI): Define always, it's not in Makeconfig.
18683 (dist): Removed.
18684 (tar-it): Removed.
18685 (edition): Removed.
18686 (glibc-doc-$(edition).tar): Removed
18687 (%.Z): Removed.
18688 (%.gz): Removed.
18689 (%.uu): Removed.
18690 (ETAGS): Remove, it's in Makeconfig.
18691 (move-if-change): Remove, it's in Makeconfig.
18692
38686a03 186932012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
18694
18695 [BZ #13970]
18696 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
18697 (strtod, strtof, strtold, strtol, strtoul, strtoq)
18698 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
18699 (strtod_l, strtof_l, strtold_l): Remove __wur.
18700 It is not necessarily an error to ignore strtol's return value.
18701 One can reliably look at the stored endptr to decide whether
18702 the number had valid syntax.
18703
7c0616fa
AJ
187042012-04-21 Andreas Jaeger <aj@suse.de>
18705
803cb6b7 18706 [BZ #13739]
7c0616fa
AJ
18707 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
18708
b0fe253f
JM
187092012-04-21 Joseph Myers <joseph@codesourcery.com>
18710
18711 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
18712 * sysdeps/unix/sysv/Versions: Remove file.
18713
8280f22d
MT
187142012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
18715
18716 [BZ #13927]
18717 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18718
75ce411f 187192012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
18720
18721 [BZ #7064]
18722 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
18723 version from __vm86.
18724
097d59fa
JM
187252012-04-20 Joseph Myers <joseph@codesourcery.com>
18726
a90f3bcb
JM
18727 * sysdeps/unix/common/lxstat.c: Remove file.
18728 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
18729
edc7ea78
JM
18730 * sysdeps/unix/sysv/Makefile: Remove file.
18731
cb78c221
JM
18732 * sysdeps/unix/sysv/direct.h: Remove file.
18733
efa6a45f
JM
18734 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
18735 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
18736 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
18737 * sysdeps/unix/sysv/bits/signum.h: Likewise.
18738 * sysdeps/unix/sysv/bits/stat.h: Likewise.
18739 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
18740 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
18741
9c9f2d0c
JM
18742 * sysdeps/unix/sysv/setrlimit.c: Remove file.
18743
4541c83b
JM
18744 * sysdeps/unix/xmknod.c: Remove file.
18745 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
18746
f5d153a0
JM
18747 * sysdeps/unix/sysv/settimeofday.c: Remove file.
18748
aa746595
JM
18749 * sysdeps/unix/sysv/i386/time.S: Remove file.
18750
cce5905e
JM
18751 * sysdeps/unix/fxstat.c: Remove file.
18752 * sysdeps/unix/xstat.c: Likewise.
18753 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
18754
37fa3841
JM
18755 * sysdeps/unix/sysv/sigaction.c: Remove file.
18756
ff1962a3
JM
18757 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
18758 (sysdep_headers): Remove variable.
18759 [termio.h not in sysdep_headers] (generated): Likewise.
18760 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
18761 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
18762 * sysdeps/unix/sysv/tcdrain.c: Likewise.
18763 * sysdeps/unix/sysv/tcflow.c: Likewise.
18764 * sysdeps/unix/sysv/tcflush.c: Likewise.
18765 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
18766 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
18767 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
18768 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
18769 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
18770
e7740d31
JM
18771 * sysdeps/unix/siglist.c: Remove file.
18772
ee06f18b
JM
18773 * sysdeps/unix/getppid.S: Remove file.
18774
097d59fa
JM
18775 * sysdeps/unix/mkdir.c: Remove file.
18776 * sysdeps/unix/rmdir.c: Likewise.
18777
ff3d51ec
AS
187782012-04-19 Andreas Schwab <schwab@linux-m68k.org>
18779
18780 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
18781 ERR_MAX value.
18782 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
18783 errlist-compat value.
18784
50f81fd7
DM
187852012-04-18 David S. Miller <davem@davemloft.net>
18786
18787 * sysdeps/generic/memcopy.h (reg_char): Delete.
18788 * debug/strcat_chk.c: Use char, not reg_char.
18789 * debug/strcpy_chk.c: Likewise.
18790 * debug/strncat_chk.c: Likewise.
18791 * debug/strncpy_chk.c: Likewise.
18792 * string/memchr.c: Likewise.
18793 * string/memrchr.c: Likewise.
18794 * string/rawmemchr.c: Likewise.
18795 * string/strcat.c: Likewise.
18796 * string/strchr.c: Likewise.
18797 * string/strchrnul.c: Likewise.
18798 * string/strcmp.c: Likewise.
18799 * string/strcpy.c: Likewise.
18800 * string/strncat.c: Likewise.
18801 * string/strncmp.c: Likewise.
18802 * string/strncpy.c: Likewise.
18803
8ff41c46
WS
188042012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18805
18806 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
18807 __builtin_memcopy is called when src and dest ranges are known to not
18808 overlap.
18809
6b652f46
WS
188102012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18811
18812 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
18813 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
18814 fwd_align_merge macro call.
18815 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
18816 bwd_align_merge macro call.
18817 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18818
b282631e
WS
188192012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18820
18821 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
18822 bwd_align_merge macros.
18823 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
18824 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
18825 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18826
95aa737c
DM
188272012-04-18 David S. Miller <davem@davemloft.net>
18828
18829 * sysdeps/sparc/sparc64/memcopy.h: Delete.
18830
7a99a614
AJ
188312012-04-18 Andreas Jaeger <aj@suse.de>
18832
18833 [BZ# 6794]
18834 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
18835 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
18836 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18837
18838 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
18839 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
18840 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18841
18842 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
18843 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
18844 Adjust for changed ldbl-128 files.
18845
18846 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
18847 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
18848 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18849
e5270c23
DM
188502012-04-17 David S. Miller <davem@davemloft.net>
18851
18852 * sysdeps/sparc/sparc32/memcopy.h: Delete.
18853
fb5e92c9
AS
188542012-04-17 Andreas Schwab <schwab@linux-m68k.org>
18855
18856 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
18857 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
18858 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
18859 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
18860 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18861 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
18862
76da7265
AZ
188632012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18864
18865 [BZ #6794]
18866 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
18867 * math/libm-test.inc: Add ilogb errno and exception tests.
18868 * math/w_ilogb.c: New file: ilogb wrapper.
18869 * math/w_ilogbf.c: New file: ilogbf wrapper.
18870 * math/w_ilogbl.c: New file: ilogbl wrapper.
18871 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
18872 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
18873 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
18874 exception being thrown with 0.0 as argument.
18875 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
18876 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
18877 exception being thrown with 0.0 as argument.
18878 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
18879 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18880 exception being thrown with 0.0 as argument.
18881 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
18882 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18883 exception being thrown with 0.0 as argument.
18884 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
18885 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 18886 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
18887 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
18888 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
18889 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
18890 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
18891 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
18892 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
18893
0396e69d
PB
188942012-04-17 Petr Baudis <pasky@ucw.cz>
18895
18896 * include/sys/uio.h: Change __vector to __iovec to avoid clash
18897 with altivec.
18898
750b5926
MP
188992012-04-16 Marek Polacek <polacek@redhat.com>
18900
18901 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
18902
751728a1
MP
189032012-04-16 Marek Polacek <polacek@redhat.com>
18904
18905 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
18906 operands of fdivp instruction.
18907
34a27407
L
189082012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18909
18910 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
18911 * elf/tst-auditmod3b.c: Likewise.
18912 * elf/tst-auditmod4b.c: Likewise.
18913 * elf/tst-auditmod5b.c: Likewise.
18914 * elf/tst-auditmod6b.c: Likewise.
18915 * elf/tst-auditmod6c.c: Likewise.
18916 * elf/tst-auditmod7b.c: Likewise.
18917 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
18918 * sysdeps/x86_64/preconfigure.in: Likewise.
18919 * sysdeps/x86_64/preconfigure: Regenerated.
18920
7e73e17d
L
189212012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18922
18923 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
18924 __ILP32__.
18925
c7a6ab72
AB
189262012-04-13 Antoine Balestrat <merkil33@gmail.com>
18927
18928 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18929 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
18930
a9e8e0e0
CL
189312012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
18932
18933 [BZ #13973]
18934 * locale/iso-639.def: Fix gl language name. Spotted by
18935 Yaron Shahrabani.
18936
ec98af7d
RM
189372012-04-12 Roland McGrath <roland@hack.frob.com>
18938
18939 [BZ #2074]
18940 * libio/libio.h (__io_write_fn): Update comment.
18941
247c3ede
PB
189422012-04-12 Petr Baudis <pasky@ucw.cz>
18943
18944 [BZ #2074]
18945 * stdio.texi (Hook Functions): The user provided writer function
18946 is not allowed to return -1.
18947
55939d6d
DM
189482012-04-11 David S. Miller <davem@davemloft.net>
18949
18950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18951
90020f5a
MF
189522012-04-11 Mike Frysinger <vapier@gentoo.org>
18953
18954 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
18955 Add a leading slash to rtkaio.
18956
288f9098
JM
189572012-04-11 Jim Meyering <meyering@redhat.com>
18958
90020f5a
MF
18959 [BZ #11959]
18960 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
18961 It is not necessarily an error to ignore fwrite's return
18962 value. One can reliably use ferror to test for errors after
18963 the fact.
288f9098 18964
4be2b570
L
189652012-04-10 H.J. Lu <hongjiu.lu@intel.com>
18966
18967 * bits/types.h (__snseconds_t): New type.
18968 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
18969
18970 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
18971 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18972 (__SNSECONDS_T_TYPE): Likewise.
18973 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18974 (__SNSECONDS_T_TYPE): Likewise.
18975 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18976 (__SNSECONDS_T_TYPE): Likewise.
18977
288f9098 189782012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
18979
18980 [BZ #2636]
18981 * manual/time.texi (Processor Time): Return type of times is
18982 elapsed real time since an arbitrary point in the past.
18983 (CPU Time): Move CLK_TCK from here...
18984 (Processor Time): ...to here. Correct description.
18985 * manual/conf.texi (Constants for Sysconf): Correct description of
18986 _SC_CLK_TCK.
18987
d7dd4413
DM
189882012-04-10 David S. Miller <davem@davemloft.net>
18989
18990 [BZ #13967]
18991 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
18992 where the is a gap between DT_REL(A) and DT_JMPREL.
18993
b46068fc
L
189942012-04-10 H.J. Lu <hongjiu.lu@intel.com>
18995
18996 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
18997 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
18998 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
18999
73d65cc3
SP
190002012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19001
19002 * elf/dl-support.c (_dl_inhibit_cache): New variable.
19003 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
19004 (dl_main): Handle --inhibit-cache.
19005 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
19006 _dl_inhibit_cache.
19007 * elf/dl-load.c (_dl_map_object): Use it.
19008 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
19009
bcc8d661
JM
190102012-04-09 Joseph Myers <joseph@codesourcery.com>
19011
8f9a2fae
JM
19012 [BZ #13872]
19013 * sysdeps/i386/fpu/e_powl.S (p78): New object.
19014 (__ieee754_powl): Saturate large exponents rather than testing for
19015 overflow of y*log2(x).
19016 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19017 * math/libm-test.inc (pow_test): Do not permit spurious overflow
19018 exceptions.
19019
bcc8d661
JM
19020 [BZ #11521]
19021 * math/s_ctan.c: Include <float.h>.
19022 (__ctan): Avoid internal overflow or cancellation in calculating
19023 denominator.
19024 * math/s_ctanf.c: Likewise.
19025 * math/s_ctanl.c: Likewise.
19026 * math/s_ctanh.c: Likewise.
19027 * math/s_ctanhf.c: Likewise.
19028 * math/s_ctanhl.c: Likewise.
19029 * math/libm-test.inc (ctan_test): Add more tests.
19030 (ctanh_test): Likewise.
19031 * sysdeps/i386/fpu/libm-test-ulps: Update.
19032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19033
823fbbb4
AJ
190342012-04-09 Andreas Jaeger <aj@suse.de>
19035
03879793
AJ
19036 [BZ #6894]
19037 * manual/filesys.texi (Directory Entries): Mention that d_namlen
19038 is an optional BSD extension.
19039
823fbbb4
AJ
19040 [BZ #10254]
19041 * manual/stdio.texi (Opening Streams): Document additional fopen
19042 parameters.
19043
8de131cb
RM
190442012-04-09 Roland McGrath <roland@hack.frob.com>
19045
19046 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
19047 %eax without telling the compiler.
19048
c0ed9d7d
CD
190492012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
19050
19051 [BZ # 13963]
19052 * manual/install.texi: Use sourceware.org.
19053
c483f6b4
JM
190542012-04-09 Joseph Myers <joseph@codesourcery.com>
19055
d7dd9453
JM
19056 [BZ #13873]
19057 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
19058 (__ieee754_pow): Generate overflow and underflow using huge*huge
19059 and tiny*tiny rather than just returning constant infinity or zero
19060 for large exponents.
19061 * math/libm-test.inc (pow_test): Require overflow exceptions for
19062 applicable cases of large exponents.
19063
c483f6b4
JM
19064 [BZ #706]
19065 * sysdeps/i386/fpu/e_pow.S (p10): New object.
19066 (__ieee754_pow): Use iterative multiplication algorithm only for
19067 integer exponents with absolute value below 1024. Check for odd
19068 integer exponents when using algorithm for real exponents.
19069 * math/libm-test.inc (pow_test): Add more tests.
19070 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19071
d2de7579
JM
190722012-04-08 Joseph Myers <joseph@codesourcery.com>
19073
19074 [BZ #13705]
19075 * math/libm-test.inc (exp_test): Do not allow overflow exception
19076 on underflow test.
19077
f77f1232
AJ
190782012-04-08 Aurelien Jarno <aurelien@aurel32.net>
19079
19080 [BZ #13705]
19081 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
19082 instead of __kernel_standard_f.
19083
3884932b
MF
190842012-04-08 Mike Frysinger <vapier@gentoo.org>
19085
19086 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
19087 * sysdeps/x86_64/memset_chk.S: Likewise.
19088
54472e9c
AJ
190892012-04-08 Andreas Jaeger <aj@suse.de>
19090
6ab0fbfc
AJ
19091 [BZ #10153]
19092 * manual/startup.texi (Environment Access): Describe return value
19093 for putenv and setenv.
19094
61efba8c
AJ
19095 [BZ #6895]
19096 * manual/filesys.texi (Directory Entries): Add description for
19097 DT_LNK.
19098
95c3f29a
AJ
19099 [BZ #6890]
19100 * manual/filesys.texi (Directory Entries): Clarify that it's file
19101 system not operating system in the description of DT_UNKNOWN.
19102
54472e9c
AJ
19103 [BZ #6578]
19104 * manual/syslog.texi (closelog): Fix reference, it's openlog.
19105
624254b1
SC
191062012-04-08 Stephen Compall <s11@member.fsf.org>
19107
19108 [BZ #6649]
19109 * manual/llio.texi (Opening and Closing Files): Add cross
19110 reference to explain mode argument.
19111
1e4920e0
MF
191122012-04-07 Mike Frysinger <vapier@gentoo.org>
19113
19114 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
19115 * sysdeps/x86_64/memset_chk.S: Likewise.
19116
5ed848f3
DM
191172012-04-07 David S. Miller <davem@davemloft.net>
19118
19119 * elf/elf.h (R_SPARC_WDISP10): Define.
19120 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
19121 R_SPARC_SIZE32.
19122 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
19123 R_SPARC_SIZE64 and R_SPARC_H34.
19124
96154cd8
CD
191252012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
19126
19127 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
19128 conditions and remove no longer applicable assertion.
19129
9904dc47
L
191302012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19131
19132 * bits/byteswap.h: Include <features.h>.
19133 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19134 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19135
f8887d0a
L
191362012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19137
19138 * bits/byteswap.h (__bswap_16): Removed.
19139 Include <bits/byteswap-16.h> to get __bswap_16.
19140 * sysdeps/i386/bits/byteswap.h: Likewise.
19141 * sysdeps/s390/bits/byteswap.h: Likewise.
19142 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19143 * bits/byteswap-16.h: New file.
19144 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19145 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19146 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
19147 * string/Makefile (headers): Add bits/byteswap-16.h.
19148
62470f60
PP
191492012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19150
19151 [BZ #13895]
19152 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
19153 extra indirection.
19154 * nss/Makefile (tests-static, tests): Add tst-nss-static.
19155 * nss/tst-nss-static.c: New.
19156
4dad7bab
RM
191572012-04-06 Robert Millan <rmh@gnu.org>
19158
19159 [BZ #6486]
19160 * manual/llio.texi (File Position Primitive): lseek
19161 refers to WHENCE when it really means OFFSET.
19162
e9142a17
AJ
191632012-04-06 Andreas Jaeger <aj@suse.de>
19164
2c040eff
AJ
19165 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
19166 strncmp declarations.
19167
e9142a17
AJ
19168 * abilist/libc.abilist: Add __poll and __ppoll.
19169
ff9f1c5f
DM
191702012-04-05 David S. Miller <davem@davemloft.net>
19171
dcd2ae90
DM
19172 * scripts/check-local-headers.sh: Accept a host triplet in the
19173 path matched by the exclude regexp.
19174
993eb054
DM
19175 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
19176 definition.
19177 * sysdeps/powerpc/powerpc32/dl-machine.h
19178 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
19179 * sysdeps/s390/s390-32/dl-machine.h
19180 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19181 * sysdeps/sparc/sparc32/dl-machine.h
19182 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19183 * sysdeps/sparc/sparc64/dl-machine.h
19184 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19185
ff9f1c5f
DM
19186 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
19187 lazy binding.
48e2e132 19188 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
19189 undefined symbol errors.
19190
48e2e132 19191 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
19192 DT_NEEDED entries.
19193
e80d6f94
MM
191942012-04-05 Michael Matz <matz@suse.de>
19195
19196 [BZ #13592]
19197 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
19198
349fa79f
AJ
191992012-04-05 Andreas Jaeger <aj@suse.de>
19200
19201 [BZ #13908]
19202 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
19203 comment.
19204
f402708f
KK
192052012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19206
19207 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
19208 which ROUND is no valid rounding mode.
19209
2ecccfc9
KK
192102012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19211
19212 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
19213 read again.
19214 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
19215
8a53f50f
KK
192162012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19217
19218 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
19219 an exception using FPU order intentionally.
19220
192212012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19222
19223 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
19224 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
19225 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
19226 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
19227
d653abb7
SJ
192282012-04-05 Simon Josefsson <simon@josefsson.org>
19229
19230 [BZ #12340]
19231 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
19232 EINVAL when BUFLEN is too smal.
19233
c3b1bf7d
TS
192342012-04-05 Thomas Schwinge <thomas@codesourcery.com>
19235
19236 [BZ #13553]
19237 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
19238 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
19239
b1aa60f3
AJ
192402012-04-03 Andreas Jaeger <aj@suse.de>
19241
c3b1bf7d 19242 [BZ #13938]
67f60a26
AJ
19243 * manual/setjmp.texi (System V contexts): Fix sentence.
19244
b1aa60f3
AJ
19245 [BZ #13926]
19246 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
19247 New macro for this case.
19248 [!__GNUC__] (__bswap_64): New inline function for this case.
19249 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19250 * bits/byteswap.h: Likewise.
19251 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
19252 ull, guard with __GLIBC_HAVE_LONG_LONG.
19253
19254 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
19255 __GLIBC_HAVE_LONG_LONG.
19256
19257 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
19258 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
19259
39c59c35
TMQMF
192602012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19261
19262 [BZ #13691]
19263 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
19264 inptr and inend, rather than using last_ch.
19265
135ffda8
DM
192662012-04-02 David S. Miller <davem@davemloft.net>
19267
19268 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
19269 * stdio-common/printf-parse.h (read_int): Change return type to
19270 'int', return -1 on INT_MAX overflow.
19271 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
19272 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
19273 overflows INT_MAX. Check for overflow of in-format-string precision
19274 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
19275 SIZE_MAX not INT_MAX for integer overflow test.
19276 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
19277 skip the construct in the format string but do not record anything.
19278 * stdio-common/bug22.c: Adjust to test both width/prevision
19279 INT_MAX overflow as well as total length INT_MAX overflow. Check
19280 explicitly for proper errno values.
19281
228c019e
TS
192822012-04-02 Thomas Schwinge <thomas@codesourcery.com>
19283
302cadd3
TS
19284 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
19285 CHAR_MAX.
19286 * string/test-strcmp.c [! WIDE]: Likewise.
19287 * time/tst-mktime2.c: Likewise for INT_MAX.
19288 * string/test-string.h: #include <sys/param.h> for MIN.
19289
228c019e
TS
19290 * csu/init-first.c (__libc_init_first): Call __ctype_init.
19291 * sysdeps/i386/init-first.c (init): Likewise.
19292 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
19293 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
19294 * sysdeps/sh/init-first.c (init): Likewise.
19295
cfa633f5
UD
192962012-04-01 Ulrich Drepper <drepper@gmail.com>
19297
19298 * po/ru.po: Update from translation team.
d1635ef8 19299 * po/vi.po: Likewise.
cfa633f5 19300
6cd0a5ea
SP
193012012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19302
19303 * resolv/nss_dns/dns-host.c: Merge copyright years.
19304
4b43400f
LD
193052012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19306
19307 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19308 Optimize memcpy with prefetch if
19309 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
19310 src, dst pointers have unequal 16 byte alignments.
19311
48c41d04
SP
193122012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19313
19314 [BZ #13928]
19315 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
19316 from a CNAME entry and return the minimum ttl for the query.
19317 (gaih_getanswer_slice): Likewise.
19318
b8dc394d
JL
193192012-03-30 Jeff Law <law@redhat.com>
19320
19321 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
19322 due to long keys.
19323 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
19324 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
19325
2f5a5ed0
JL
19326 * resolv/nss_dns/dns-host.c: Update copyright year.
19327
1d39e359
UD
193282012-03-30 Ulrich Drepper <drepper@gmail.com>
19329
c030f70c 19330 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 19331 requests to save a system call. Fix check that all bytes are sent.
c030f70c 19332
1d39e359
UD
19333 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
19334 comments for sendmmsg.
19335
193362012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
19337
19338 [BZ #13691]
19339 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
19340 with only 1 character between 0x0041 and 0x01b0.
19341 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
19342 * wcsmbs/tst-mbsnrtowcs.c: New file.
19343
20fde227
DM
193442012-03-29 David S. Miller <davem@davemloft.net>
19345
19346 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
19347 small copies by hand.
19348
984a4237
JL
193492012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19350
19351 [BZ #13761]
19352 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
19353 _nss_compat_initgroups_dyn): Fall back to malloc/free
19354 for large group memberships.
19355
18c9d62b
DM
193562012-03-28 David S. Miller <davem@davemloft.net>
19357
88d85d4f
DM
19358 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
19359 that branches into memcpy.
19360 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19361 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
19362 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19363 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
19364 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
19365 bits.
19366 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
19367 implementation too.
19368 * sysdeps/sparc/mempcpy.S: New file.
19369
e5aa83e1
DM
19370 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
19371 the IFUNC routine in the libc case.
19372 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19373
88570753
DM
19374 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
19375 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
19376 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
19377 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
19378 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
19379 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
19380 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
19381 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
19382
249d7567
DM
19383 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
19384 loop to 256 bytes instead of 64 bytes and fix test signedness.
19385
18c9d62b
DM
19386 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
19387 * sysdeps/sparc/sparc32/Makefile: rather than here...
19388 * sysdeps/sparc/sparc64/Makefile: and here.
19389
05f3d1f6
UD
193902012-03-28 Ulrich Drepper <drepper@gmail.com>
19391
19392 * malloc/mallocbug.c: Avoid warnings about unused variables.
19393
86ae07a8
JL
193942012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19395
19396 [BZ #13760]
19397 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
19398 in the right place. Discard and retry query if response is
19399 larger than input buffer size.
19400
41bf21a1
JM
194012012-03-28 Joseph Myers <joseph@codesourcery.com>
19402
d6270972
JM
19403 [BZ #369]
19404 [BZ #2678]
19405 [BZ #3866]
19406 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
19407 x for large integer exponent.
19408 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19409 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
19410 sign of result as needed afterwards.
19411 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19412 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
19413 result for underflowing pow the same as for overflow.
19414 (__kernel_standard_l): Handle powl overflow and underflow here
19415 rather than calling __kernel_standard.
19416 * math/libm-test.inc (pow_test): Add more tests.
19417
414fca03 19418 [BZ #3868]
41bf21a1
JM
19419 [BZ #13879]
19420 [BZ #13910]
19421 [BZ #13911]
19422 [BZ #13912]
19423 [BZ #13913]
19424 [BZ #13915]
19425 [BZ #13916]
19426 [BZ #13917]
19427 [BZ #13918]
19428 [BZ #13919]
19429 [BZ #13920]
19430 [BZ #13921]
19431 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
19432 * sysdeps/ieee754/k_standard.c: Include <float.h>.
19433 (__kernel_standard_l): New function.
19434 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
19435 __kernel_standard.
19436 * math/w_acosl.c (__acosl): Likewise.
19437 * math/w_asinl.c (__asinl): Likewise.
19438 * math/w_atan2l.c (__atan2l): Likewise.
19439 * math/w_atanhl.c (__atanhl): Likewise.
19440 * math/w_coshl.c (__coshl): Likewise.
19441 * math/w_exp10l.c (__exp10l): Likewise.
19442 * math/w_exp2l.c (__exp2l): Likewise.
19443 * math/w_fmodl.c (__fmodl): Likewise.
19444 * math/w_hypotl.c (__hypotl): Likewise.
19445 * math/w_j0l.c (__j0l, __y0l): Likewise.
19446 * math/w_j1l.c (__j1l, __y1l): Likewise.
19447 * math/w_jnl.c (__jnl, __ynl): Likewise.
19448 * math/w_lgammal.c (__lgammal): Likewise.
19449 * math/w_log10l.c (__log10l): Likewise.
19450 * math/w_log2l.c (__log2l): Likewise.
19451 * math/w_logl.c (__logl): Likewise.
19452 * math/w_powl.c (__powl): Likewise.
19453 * math/w_remainderl.c (__remainderl): Likewise.
19454 * math/w_scalbl.c (sysv_scalbl): Likewise.
19455 * math/w_sinhl.c (__sinhl): Likewise.
19456 * math/w_sqrtl.c (__sqrtl): Likewise.
19457 * math/w_tgammal.c (__tgammal): Likewise.
19458 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
19459 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
19460 * math/libm-test.inc (acos_test): Add more tests.
19461 (acosh_test): Likewise.
19462 (asin_test): Likewise.
19463 (atanh_test): Likewise.
19464 (exp_test): Likewise.
19465 (exp10_test): Likewise.
19466 (exp2_test): Likewise.
19467 (expm1_test): Likewise.
19468 (lgamma_test): Likewise.
19469 (log_test): Likewise.
19470 (log10_test): Likewise.
19471 (log1p_test): Likewise.
19472 (log2_test): Likewise.
19473 (pow_test): Do not allow some spurious overflow exceptions.
19474 (sqrt_test): Add more tests.
19475 (tgamma_test): Likewise.
19476 (y0_test): Likewise.
19477 (y1_test): Likewise.
19478 (yn_test): Likewise.
19479
dd62fda6
AB
194802012-03-27 Anton Blanchard <anton@samba.org>
19481
19482 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
19483 MAP_HUGETLB.
19484 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19485 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19486 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19487
1e3cdfda
AJ
194882012-03-27 David S. Miller <davem@davemloft.net>
19489
b855ab85
DM
19490 * conform/Makefile: Run run-conformtest.sh using $(BASH).
19491
1e3cdfda
AJ
19492 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
19493 have-as-vis3 check.
19494
194952012-03-27 Andreas Jaeger <aj@suse.de>
19496
19497 * sysdeps/x86_64/elf/configure.in: Moved to ...
19498 * sysdeps/x86_64/configure.in: ... here.
19499 * sysdeps/x86_64/elf/start.S: Moved to ...
19500 * sysdeps/x86_64/start.S: ... here.
19501 * sysdeps/x86_64/elf/configure: Delete.
19502
19503 * sysdeps/x86_64/configure.in: Merge contents from
19504 sysdeps/i386/configure.in (without i686 check).
19505
19506 * sysdeps/i386/elf/Versions: Merge into ...
19507 * sysdeps/i386/Versions: ... this.
19508 * sysdeps/i386/elf/Versions: Delete file.
19509 * sysdeps/i386/elf/start.S: Moved to ...
19510 * sysdeps/i386/start.S: ...here.
19511 * sysdeps/i386/elf/configure.in: Merge into...
19512 * sysdeps/i386/configure.in: ...here.
19513 * sysdeps/i386/elf/configure.in: Delete file.
19514 * sysdeps/i386/elf/configure: Delete file.
19515
19516 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
19517 * debug/backtracesyms.c: ... here.
19518 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
19519 * debug/backtracesymsfd.c: ... here.
19520 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
19521 * sysdeps/generic/ifunc-sel.h: ... here.
19522
19523 * sysdeps/unix/i386/start.c: Delete file.
19524 * sysdeps/unix/sparc/start.c: Delete file.
19525 * sysdeps/unix/start.c: Delete file.
19526
19527 * sysdeps/sh/elf/configure.in: Moved to ...
19528 * sysdeps/sh/configure.in: ... here.
19529 * sysdeps/sh/elf/start.S: Moved to ...
19530 * sysdeps/sh/start.S: ... here.
19531 * sysdeps/sh/elf/configure: Delete file.
19532
19533 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
19534 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
19535 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
19536 * sysdeps/powerpc/powerpc64/entry.h: ... here.
19537 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
19538 * sysdeps/powerpc/powerpc64/start.S: here.
19539 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
19540 * sysdeps/powerpc/powerpc64/Makefile: ... this.
19541 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
19542 * sysdeps/powerpc/powerpc64/configure.in: ... this.
19543 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
19544
19545 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
19546 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
19547 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
19548 * sysdeps/powerpc/powerpc32/start.S: ... here.
19549 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
19550 * sysdeps/powerpc/powerpc32/configure.in: ... this.
19551 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
19552
19553 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
19554 * sysdeps/powerpc/ifunc-sel.h: ... here.
19555 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
19556 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
19557
19558 * sysdeps/sparc/elf/configure.in: Moved to ...
19559 * sysdeps/sparc/configure.in: ... here.
19560 * sysdeps/sparc/elf/configure: Delete file.
19561 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
19562 * sysdeps/sparc/sparc32/start.S: ... here.
19563 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
19564 * sysdeps/sparc/sparc64/start.S: ... here.
19565 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
19566 * sysdeps/sparc/sparc32/Makefile: ... this.
19567 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
19568 * sysdeps/sparc/sparc64/Makefile: ... this.
19569
19570 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
19571 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
19572 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
19573 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
19574 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
19575 * sysdeps/s390/s390-32/setjmp.S: ... here.
19576 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
19577 * sysdeps/s390/s390-32/configure.in: ... here.
19578 * sysdeps/s390/s390-32/elf/configure: Delete file.
19579 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
19580 * sysdeps/s390/s390-32/start.S: ... here.
19581
19582 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
19583 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
19584 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
19585 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
19586 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
19587 * sysdeps/s390/s390-64/setjmp.S: ... here.
19588 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
19589 * sysdeps/s390/s390-64/configure.in: ... here
19590 * sysdeps/s390/s390-64/elf/configure: Delete file.
19591 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
19592 * sysdeps/s390/s390-64/start.S: ... here.
19593 * sysdeps/s390/s390-64/elf/configure: Delete.
19594
19595 * configure.in: Remove support for elf directories in sysdeps.
19596
19597 * configure: Regenerated.
19598 * sysdeps/i386/configure: Regenerated.
19599 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19600 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19601 * sysdeps/s390/s390-32/configure: Regenerated.
19602 * sysdeps/s390/s390-64/configure: Regenerated.
19603 * sysdeps/sh/configure: Regenerated.
19604 * sysdeps/sparc/configure: Regenerated.
19605 * sysdeps/x86_64/configure: Regenerated.
19606
a3f61311
AS
196072012-03-26 Andreas Schwab <schwab@linux-m68k.org>
19608
c876e002
AS
19609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19610
a3f61311
AS
19611 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
19612 denormal result into account.
19613
ac4c54f0
RM
196142012-03-25 Roland McGrath <roland@hack.frob.com>
19615
19616 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
19617 Reported by Allan McRae <allan@archlinux.org>.
19618
6a9b9c02
JL
196192012-03-23 Jeff Law <law@redhat.com>
19620
19621 * nss/getnssent.c (__nss_getent): Fix typo.
19622
4c42a0c1
DM
196232012-03-23 David S. Miller <davem@davemloft.net>
19624
19625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19626
1532c7ac
L
196272012-03-23 H.J. Lu <hongjiu.lu@intel.com>
19628
19629 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
19630 to pad to uint64_t for each field.
19631 (dl_tls_index): Replace unsigned long with uint64_t.
19632
3ff42526
PP
196332012-03-23 Daniel Jacobowitz <dmj@google.com>
19634 Paul Pluzhnikov <ppluzhnikov@google.com>
19635
19636 [BZ #6528]
19637 * grp/Makefile (otherlibs): Don't set it.
19638 * inet/Makefile (otherlibs): Likewise.
19639 * login/Makefile (otherlibs): Likewise.
19640 * nscd/Makefile (otherlibs): Likewise.
19641 * posix/Makefile (otherlibs): Likewise.
19642 * pwd/Makefile (otherlibs): Likewise.
19643 * rt/Makefile (otherlibs): Likewise.
19644 * sunrpc/Makefile (otherlibs): Likewise.
19645 * nss/Makefile (otherlibs): Likewise.
19646 Add libnss_files to routines and static-only-routines.
19647 ($(objpfx)getent): Remove rule.
19648 * resolv/Makefile: Add libnss_dns and libresolv to routines and
19649 static-only-routines.
19650
7c69cd14
JM
196512012-03-22 Joseph Myers <joseph@codesourcery.com>
19652
19653 [BZ #13892]
19654 * math/s_cexp.c: Include <float.h>.
19655 (__cexp): Handle exp result overflowing not necessarily
19656 overflowing both real and imaginary parts of result.
19657 * math/s_cexpf.c: Likewise.
19658 * math/s_cexpl.c: Likewise.
19659 * math/libm-test.inc (cexp_test): Add more tests.
19660 * sysdeps/i386/fpu/libm-test-ulps: Update.
19661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19662
81b035fe
L
196632012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19664
19665 * include/link.h (ELFW): New macro.
19666 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
19667 Replace ELF64_R_TYPE with ELFW(R_TYPE).
19668
1da7940c
L
196692012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19670
19671 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
19672 with uint64_t.
19673
b749dbb9
L
196742012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19675
19676 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
19677 declaration.
19678 (struct La_x32_retval): Likewise.
19679
2ff87f3f
L
196802012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19681
19682 * sysdeps/x86_64/preconfigure.in: New file.
19683 * sysdeps/x86_64/preconfigure: New generated file.
19684
c0df8e69
JM
196852012-03-22 Joseph Myers <joseph@codesourcery.com>
19686
48e44791
JM
19687 [BZ #13824]
19688 * math/e_exp2l.c: Include <float.h>.
19689 (__ieee754_exp2l): Handle overflow and underflow cases
19690 separately. Only pass fractional part of argument to
19691 __ieee754_expl.
19692 * math/libm-test.inc (exp2_test): Add more tests.
19693
c0df8e69
JM
19694 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
19695 negating x to take absolute value.
19696 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19697 Likewise.
19698 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19699 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19700 Likewise.
19701 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
19702 computing low part if x was negated.
19703 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19704
c8e43ba7
L
197052012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19706
19707 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
19708 la_x32_gnu_pltexit.
19709 (pltexit): Cast int_retval to ptrdiff_t.
19710 * elf/tst-auditmod3b.c: Likewise.
19711 * elf/tst-auditmod4b.c: Likewise.
19712 * elf/tst-auditmod5b.c: Likewise.
19713 * elf/tst-auditmod6b.c: Likewise.
19714 * elf/tst-auditmod6c.c: Likewise.
19715 * elf/tst-auditmod7b.c: Likewise.
19716
19717 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
19718 and x32_gnu_pltexit.
19719
19720 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
19721 __ELF_NATIVE_CLASS.
19722 (La_x32_regs): New macro.
19723 (La_x32_retval): Likewise.
19724 (la_x32_gnu_pltenter): New function prototype.
19725 (la_x32_gnu_pltexit): Likewise.
19726
7998fa78
AS
197272012-03-21 Andreas Schwab <schwab@linux-m68k.org>
19728
dcb33988
AS
19729 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
19730 exponent.
19731
233fc563
AS
19732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19733
7998fa78
AS
19734 * configure.in (libc_cv_cc_nofma): Check for option to disable
19735 generation of FMA instructions.
19736 * configure: Regenerate.
19737 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
19738 * sysdeps/ieee754/dbl-64/Makefile: New file.
19739 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19740 Remove brandred-fma4.
19741 (CFLAGS-brandred-fma4.c): Remove.
19742 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
19743 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
19744 define.
19745 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
19746 define.
19747
8e95c99a
L
197482012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19749
19750 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19751 LLONG_MAX != LONG_MAX.
19752 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19753 (_fitoa_word): Likewise.
19754 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
19755 LLONG_MAX != LONG_MAX.
19756 * stdio-common/_itowa.h: Include <_itoa.h>.
19757 (_itowa_word): Use _ITOA_WORD_TYPE on value.
19758 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
19759 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
19760 only if not defined.
19761 (_ITOA_WORD_TYPE): Likewise.
19762 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19763 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
19764
6f4db457
DM
197652012-03-21 David S. Miller <davem@davemloft.net>
19766
19767 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19768
7785fe5a
L
197692012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19770
19771 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
19772 of x86_64 when setting libc_cv_slibdir, libdir and
19773 libc_cv_localedir.
19774 * sysdeps/unix/sysv/linux/configure: Regenerated.
19775
4535cd55
JM
197762012-03-21 Joseph Myers <joseph@codesourcery.com>
19777
19778 * manual/lang.texi (Old Varargs): Remove section.
19779 (How Variadic): Update menu.
19780 (va_start): Do not mention varargs.h.
19781
17228132
TS
197822012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19783 Joseph Myers <joseph@codesourcery.com>
19784
19785 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
19786 link test.
19787 * configure: Regenerated.
19788
8149f976
TS
197892012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19790
05f3d1f6
UD
19791 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
19792 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
19793 conformtest.pl
8149f976 19794
1a4ac776
JM
197952012-03-21 Joseph Myers <joseph@codesourcery.com>
19796
be22ce65
JM
19797 * NOTES: Remove.
19798 * Makefile (files-for-dist): Remove NOTES.
19799 (NOTES): Remove rule.
19800 * README: Don't refer to NOTES.
19801 * manual/creature.texi: Don't include macros.texi.
19802 * manual/intro.texi (creature.texi): Remove comment referring to
19803 NOTES.
19804
40b601fb
JM
19805 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
19806 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
19807 * configure: Regenerated.
19808 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
19809 LIBC_TRY_CC_OPTION.
19810 (libc_cv_as_i686): Likewise.
19811 (libc_cv_cc_avx): Likewise.
19812 (libc_cv_cc_sse2avx): Likewise.
19813 (libc_cv_cc_fma4): Likewise.
19814 (libc_cv_cc_novzeroupper): Likewise.
19815 * sysdeps/i386/configure: Regenerated.
19816
1a4ac776
JM
19817 [BZ #13883]
19818 * sysdeps/i386/fpu/s_cexp.S: Remove.
19819 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19820 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19821 * math/libm-test.inc (cexp_test): Add more tests.
19822 * sysdeps/i386/fpu/libm-test-ulps: Update.
19823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19824
a458e7fe
AM
198252012-03-21 Allan McRae <allan@archlinux.org>
19826
19827 * timezone/Makefile: Do not install iso3166.tab and zone.tab
19828
0cb7efc5
JM
198292012-03-21 Joseph Myers <joseph@codesourcery.com>
19830
19831 [BZ #13871]
19832 * math/w_exp2.c: Do not include <float.h>.
19833 (o_threshold, u_threshold): Remove.
19834 (__exp2): Calculate result before checking finiteness and calling
19835 __kernel_standard.
19836 * math/w_exp2f.c: Likewise.
19837 * math/w_exp2l.c: Likewise.
19838 * math/libm-test.inc (exp2_test): Require overflow exception for
19839 1e6 input.
2460d3aa
JM
19840
19841 [BZ #3866]
19842 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
19843 range of signed 64-bit integers before using fistpll. Remove
19844 checks for whether integers fit in mantissa bits.
19845 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
19846 the range of signed 32-bit integers before using fistpl. Remove
19847 checks for whether integers fit in mantissa bits.
19848 * sysdeps/i386/fpu/e_powl.S (p64): New object.
19849 (__ieee754_powl): Test for y outside the range of signed 64-bit
19850 integers before using fistpll. Reduce 64-bit values to 63-bit
19851 ones as needed.
19852 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
19853 divide-by-zero is raised for zero to large negative powers.
19854 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
19855 (__ieee754_powl): Test for y outside the range of signed 64-bit
19856 integers before using fistpll. Reduce 64-bit values to 63-bit
19857 ones as needed.
19858 * math/libm-test.inc (pow_test): Add more tests.
19859
eb96ffb0
L
198602012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19861
19862 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
19863 <stdio-common/_itoa.h>.
19864 * debug/segfault.c: Likewise.
19865 * elf/dl-cache.c: Likewise.
19866 * elf/dl-minimal.c: Likewise.
19867 * elf/dl-misc.c: Likewise.
19868 * elf/dl-sysdep.c: Likewise.
19869 * elf/dl-version.c: Likewise.
19870 * elf/rtld.c: Likewise.
19871 * hurd/hurdsock.c: Likewise.
19872 * hurd/lookup-retry.c: Likewise.
19873 * malloc/malloc.c: Likewise.
19874 * malloc/mtrace.c: Likewise.
19875 * nscd/nscd_getgr_r.c: Likewise.
19876 * nscd/nscd_getpw_r.c: Likewise.
19877 * nscd/nscd_getserv_r.c: Likewise.
19878 * posix/getopt_init.c: Likewise.
19879 * posix/wordexp.c: Likewise.
19880 * stdio-common/_itoa.c: Likewise.
19881 * stdio-common/printf_fphex.c: Likewise.
19882 * stdio-common/vfprintf.c: Likewise.
19883 * string/_strerror.c: Likewise.
19884 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
19885 * sysdeps/i386/i686/hp-timing.h: Likewise.
19886 * sysdeps/mach/_strerror.c: Likewise.
19887 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
19888 * sysdeps/mach/hurd/sethostid.c: Likewise.
19889 * sysdeps/mach/hurd/xmknodat.c: Likewise.
19890 * sysdeps/mach/xpg-strerror.c: Likewise.
19891 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19892 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19893 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
19894 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
19895 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19896 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
19897 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
19898 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
19899 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
19900 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
19901 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
19902 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19903 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
19904 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19905 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19906 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
19907 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
19908 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
19909 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
19910 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
19911 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
19912
19913 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
19914
19915 * stdio-common/_itoa.h: Moved to ...
19916 * sysdeps/generic/_itoa.h: Here.
19917
19918 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
19919
19920 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
19921 instead of "_itoa.h" and "_itowa.h".
19922 * stdio-common/vfprintf.: Likewise.
19923
d1af992d
L
199242012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19925
19926 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
19927 <bits/wordsize.h>.
19928 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
19929 (__signbit): Likwise.
19930 (llrintf): Likwise.
19931 (llrint): Likwise.
19932
114883e0
L
199332012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19934
19935 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
19936 __WORDSIZE != 64.
19937
c135cc1b
JM
199382012-03-20 Joseph Myers <joseph@codesourcery.com>
19939
19940 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
19941 OVERFLOW_EXCEPTION_OK.
19942 * math/libm-test.inc ("Philosophy"): Update comment about
19943 exception testing.
19944 (OVERFLOW_EXCEPTION): Define.
19945 (OVERFLOW_EXCEPTION_OK): Likewise.
19946 (INVALID_EXCEPTION_OK): Renumber.
19947 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19948 (IGNORE_ZERO_INF_SIGN): Likewise.
19949 (test_exceptions): Handle FE_OVERFLOW.
19950 (exp10_test): Expect overflow exceptions.
19951 (exp2_test): Likewise.
19952 (expm1_test): Likewise.
19953 (nextafter_test): Likewise.
19954 (pow_test): Likewise.
19955 (scalbn_test): Likewise.
19956 (scalbln_test): Likewise.
19957
95443d88
L
199582012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19959
19960 * sysdeps/x86_64/bits/atomic.h
19961 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
19962 64bit integer.
19963 (atomic_exchange_acq): Likewise.
19964 (__arch_exchange_and_add_body): Likewise.
19965 (__arch_add_body): Likewise.
19966 (atomic_add_negative): Likewise.
19967 (atomic_add_zero): Likewise.
19968
490df6c4
L
199692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19970
c2722551 19971 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
19972 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
19973
5e52b189
L
199742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19975
19976 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
19977 Check __x86_64__ instead of __WORDSIZE.
19978
a9879d4c
L
199792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19980
19981 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
19982
5df98260
DM
199832012-03-19 David S. Miller <davem@davemloft.net>
19984
e1497744
DM
19985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19986
5df98260
DM
19987 * sysdeps/sparc/fpu/fenv_private.h: New file.
19988 * sysdeps/sparc/fpu/math_private.h: Use it.
19989 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
19990 Remove.
19991 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
19992 (libc_feholdexcept_setroundl): Remove.
19993 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
19994 Remove.
19995 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
19996 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
19997
b4c35121
L
199982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
19999
20000 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
20001 int64_t instead of long int.
20002 (INSERT_WORDS64): Likwise.
20003
56965fd7
L
200042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20005
20006 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
20007 _Unwind_GetCFA return to _Unwind_Ptr first.
20008
83d1aec8
JM
200092012-03-19 Joseph Myers <joseph@codesourcery.com>
20010
1897ad44
JM
20011 [BZ #13629]
20012 * math/s_clog.c: Include <float.h>.
20013 (__clog): Scale large or subnormal inputs.
20014 * math/s_clogf.c: Likewise.
20015 * math/s_clogl.c: Likewise.
20016 * math/s_clog10.c: Include <float.h>.
20017 (M_LOG10_2): Define.
20018 (__clog10): Scale large or subnormal inputs.
20019 * math/s_clog10f.c: Likewise.
20020 * math/s_clog10l.c: Likewise.
20021 * math/libm-test.inc (clog_test): Add more tests.
20022 (clog10_test): Likewise.
20023 * sysdeps/i386/fpu/libm-test-ulps: Update.
20024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20025
7726d6a9
JM
20026 [BZ #11451]
20027 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
20028 x and y.
20029 * math/libm-test.inc (atan2_test): Add another test.
20030
83d1aec8
JM
20031 * Makerules (common-objdir-compile): Remove.
20032 * sysdeps/unix/Makefile (config-generated): Do not add
20033 $(unix-generated) to variable.
20034 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
20035 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
20036 Remove rule.
20037 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
20038 Likewise.
20039 [generic bits/local_lim.h] (before-compile): Do not append to
20040 variable.
20041 [generic bits/local_lim.h] (common-generated): Likewise.
20042 [generic sys/param.h] (before-compile): Do not append to variable.
20043 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
20044 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
20045 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
20046 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
20047 include.
20048 [generic sys/param.h] (sys/param.h-includes): Remove variable.
20049 [generic sys/param.h] (sys/param.h-includes): Remove rule.
20050 [generic sys/param.h] ($(addprefix
20051 $(common-objpfx),$(sys/param.h-includes))): Likewise.
20052 [generic sys/param.h] (common-generated): Do not append to
20053 variable.
20054 [generic sys/param.h] (sysdep_headers): Likewise.
20055 [generic bits/errno.h] (before-compile): Do not append to
20056 variable.
20057 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
20058 rule.
20059 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
20060 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
20061 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
20062 [generic bits/errno.h] (common-generated): Do not append to
20063 variable.
20064 [generic bits/ioctls.h] (before-compile): Do not append to
20065 variable.
20066 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
20067 rule.
20068 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
20069 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
20070 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
20071 rule.
20072 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
20073 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
20074 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
20075 [generic bits/ioctls.h] (common-generated): Do not append to
20076 variable.
20077 [generic sys/syscall.h] (syscall.h): Remove variable.
20078 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
20079 rule.
20080 [generic sys/syscall.h] (before-compile): Do not append to
20081 variable.
20082 [generic sys/syscall.h] (common-generated): Likewise.
20083 * sysdeps/unix/errnos-tmpl.c: Remove file.
20084 * sysdeps/unix/errnos.awk: Likewise.
20085 * sysdeps/unix/ioctls-tmpl.c: Likewise.
20086 * sysdeps/unix/ioctls.awk: Likewise.
20087 * sysdeps/unix/mk-local_lim.c: Likewise.
20088 * sysdeps/unix/snarf-ioctls: Likewise.
20089
4851a949
RH
200902012-03-19 Richard Henderson <rth@twiddle.net>
20091
bd37f2ee
RH
20092 * sysdeps/i386/fpu/fenv_private.h: New file.
20093 * sysdeps/i386/fpu/math_private.h: Use it.
20094 (math_opt_barrier, math_force_eval): Remove.
20095 (libc_feholdexcept_setround_53bit): Remove.
20096 (libc_feupdateenv_53bit): Remove.
20097 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20098 (math_opt_barrier, math_force_eval): Remove.
20099 (libc_feholdexcept): Remove.
20100 (libc_feholdexcept_setround): Remove.
20101 (libc_fetestexcept, libc_fesetenv): Remove.
20102 (libc_feupdateenv_test): Remove.
20103 (libc_feupdateenv, libc_feholdsetround): Remove.
20104 (libc_feresetround): Remove.
20105
d0adc922
RH
20106 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
20107 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20108
0fe0f1f8
RH
20109 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
20110 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
20111 (libc_feupdateenv_testl): New.
20112 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
20113 (libc_feupdateenv_testf): New.
20114 (libc_feupdateenv): Use libc_feupdateenv_test.
20115 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
20116 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
20117
eb92c487
RH
20118 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
20119 (libc_feholdsetroundf, libc_feholdsetroundl): New.
20120 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
20121 (libc_feresetround_noex): New.
20122 (libc_feresetround_noexf): New.
20123 (libc_feresetround_noexl): New.
20124 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
20125 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
20126 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
20127 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
20128 SET_RESTORE_ROUND.
20129 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20130 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
20131 (__cos): Likewise.
20132 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
20133 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20134 SET_RESTORE_ROUND_NOEX.
20135 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
20136 SET_RESTORE_ROUND_NOEXF.
20137 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
20138 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
20139 (libc_feholdsetroundf): New.
20140 (libc_feresetround, libc_feresetroundf): New.
20141
7d2e8012
RH
20142 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
20143 (libc_feholdexcept_setround_53bit): Convert from macro to function.
20144 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
20145
b4dabbb4
RH
20146 * sysdeps/generic/math_private.h: Include <fenv.h>.
20147 (default_libc_feholdexcept): New.
20148 (default_libc_feholdexcept_setround): New.
20149 (default_libc_fesetenv, default_libc_feupdateenv): New.
20150 (libc_feholdexcept): Only define if undefined.
20151 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
20152 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
20153 (libc_feholdexcept_setroundl): Likewise.
20154 (libc_feholdexcept_setround_53bit): Likewise.
20155 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
20156 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
20157 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
20158 (libc_feupdateenv_53bit): Likewise.
20159 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
20160 (libc_feholdexcept): Convert from macro to inline function.
20161 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
20162 (libc_fesetenv, libc_feupdateenv): Likewise.
20163
4851a949
RH
20164 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
20165 not previously defined.
20166 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
20167 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
20168 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
20169 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
20170 * sysdeps/ieee754/flt-32/math_private.h: New file.
20171 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
20172 math_private.h below SET_FLOAT_WORD.
20173 (__isnan, __isinf_ns, __finite): Remove.
20174 (__isnanf, __isinf_nsf, __finitef): Remove.
20175
e79d442e
AS
201762012-03-18 Andreas Schwab <schwab@linux-m68k.org>
20177
20178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20179
90b80344
DM
201802012-03-17 David S. Miller <davem@davemloft.net>
20181
20182 [BZ #6471]
20183 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
20184 for 2.16.
20185
edc21804
DM
201862012-03-16 David S. Miller <davem@davemloft.net>
20187
77e927af
DM
20188 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
20189 warnings.
20190
374976dd
DM
20191 [BZ #6471]
20192 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
20193 properly.
20194 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
20195 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
20196 sysdep_routines when subdir is sysvipc.
20197 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
20198 __getshmlba helper.
20199
edc21804
DM
20200 * sysdeps/sparc/fpu/libm-test/ulps: Update.
20201
473c3ef3
L
202022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20203
20204 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
20205 [__LP64__].
20206
eb0f39b6
L
202072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20208
20209 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
20210 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
20211 (__lround): Renamed to ...
20212 (__llround): This. Replace long int with long long int.
20213 Define lround functions as aliases of llround functions.
20214 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
20215
6b6cd74b
L
202162012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20217
20218 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
20219 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
20220 adresses to uintptr_t. Replace "long int" and "unsigned long
20221 int" with "greg_t" on va_arg.
20222
f1a77b01
L
202232012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20224
20225 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
20226 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
20227
20228 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
20229 Move e_machine check before EI_CLASS check. Handle x32
20230 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
20231 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
20232 SKIP_EM_IA_64 and include
20233 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
20234
20235 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
20236 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
20237 (add_system_dir): New macro.
20238
20239 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
20240 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
20241
11b90b9f
JM
202422012-03-16 Joseph Myers <joseph@codesourcery.com>
20243
c36e1d23
JM
20244 [BZ #2551]
20245 [BZ #2552]
20246 [BZ #2553]
20247 [BZ #2554]
20248 [BZ #2562]
20249 [BZ #2563]
20250 [BZ #2565]
20251 [BZ #2566]
20252 [BZ #2576]
20253 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
20254 (y0): Likewise.
20255 * math/w_j0f.c (j0f): Likewise.
20256 (y0f): Likewise.
20257 * math/w_j0l.c (__j0l): Likewise.
20258 (__y0l): Likewise.
20259 * math/w_j1.c (j1): Likewise.
20260 (y1): Likewise.
20261 * math/w_j1f.c (j1f): Likewise.
20262 (y1f): Likewise.
20263 * math/w_j1l.c (__j1l): Likewise.
20264 (__y1l): Likewise.
20265 * math/w_jn.c (jn): Likewise.
20266 (yn): Likewise.
20267 * math/w_jnf.c (jnf): Likewise.
20268 (ynf): Likewise.
20269 * math/w_jnl.c (__jnl): Likewise.
20270 (__ynl): Likewise.
20271 * math/libm-test.inc (j0_test): Add more tests.
20272 (j1_test): Likewise.
20273 (jn_test): Likewise. Add trailing semicolon to existing test.
20274 (y0_test): Likewise.
20275 (y1_test): Likewise.
20276 * sysdeps/i386/fpu/libm-test-ulps: Update.
20277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20278
11b90b9f
JM
20279 [BZ #13851]
20280 [BZ #13854]
20281 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20282 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
20283 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
20284 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
20285 (__tanl): Set errno for infinite argument.
20286 * sysdeps/i386/fpu/mptan.c: Remove.
20287 * sysdeps/i386/fpu/s_tan.S: Likewise.
20288 * sysdeps/i386/fpu/s_tanl.S: Likewise.
20289 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
20290 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
20291 * math/libm-test.inc (tan_test): Add more tests and enable more
20292 tests for double and long double.
20293 * sysdeps/i386/fpu/libm-test-ulps: Update.
20294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20295
6a1bd2a1
JK
202962012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
20297
20298 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
20299 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
20300
10a803e0
RM
203012012-03-16 Roland McGrath <roland@hack.frob.com>
20302
20303 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
20304 * configure.in: Use it for both main tree and add-ons.
20305 * configure: Regenerated.
20306
f196c7f7
L
203072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20308
20309 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
20310
8848d99d
JM
203112012-03-16 Joseph Myers <joseph@codesourcery.com>
20312
96cbe7f4
JM
20313 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
20314 in comment.
20315
8848d99d
JM
20316 [BZ #13851]
20317 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
20318 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
20319 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
20320 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
20321 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
20322 infinite argument.
20323 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
20324 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
20325 != 0 for prec == 2.
20326 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
20327 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
20328 * sysdeps/i386/fpu/s_cosl.S: Likewise.
20329 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
20330 * sysdeps/i386/fpu/s_sinl.S: Likewise.
20331 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
20332 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
20333 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
20334 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
20335 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
20336 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
20337 * math/libm-test.inc (cos_test): Add more tests and enable more
20338 tests for long double.
20339 (sin_test): Likewise.
20340 (sincos_test): Likewise.
20341 * sysdeps/i386/fpu/libm-test-ulps: Update.
20342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20343
dd7f4703
DM
203442012-03-16 David S. Miller <davem@davemloft.net>
20345
20346 * sysdeps/sparc/fpu/math_private.h: New file.
20347
006f1daa
DM
203482012-03-15 David S. Miller <davem@davemloft.net>
20349
c0c83bc8
DM
20350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
20351 file.
e6a62e18 20352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
20353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
20354 file.
e6a62e18
DM
20355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
20356 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
20357 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
20358 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
20359 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
20360 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
20361 sysdep routines.
20362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20363
88cb87d9
DM
20364 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
20365 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
20366
006f1daa 20367 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
20368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
20369 sparc-ifunc.h
006f1daa 20370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
20371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20372 Likewise.
20373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20374 Likewise.
006f1daa
DM
20375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
20376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
20378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20379 Likewise.
006f1daa
DM
20380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
20382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
20384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
20385 Likewise.
20386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
20387 Likewise.
006f1daa
DM
20388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
20391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
20392 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20393 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20394 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
20395 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
20396 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20397 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
20399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
20400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
20401 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
20402 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
20403 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20404 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
20405 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20406 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
20407 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20408 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
20409 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20410 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
20411 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20412
11e0098e
AS
204132012-03-15 Andreas Schwab <schwab@linux-m68k.org>
20414
20415 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
20416 scaling.
20417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20418
e85b09d0
AJ
204192012-03-15 Andreas Jaeger <aj@suse.de>
20420
20421 [BZ #13852]
20422 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
20423 ieee754/flt-32 implementation for sin, cos and sincos.
20424 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
20425 * sysdeps/i386/fpu/s_cosf.S: Likewise.
20426 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
20427 * sysdeps/i386/fpu/s_sinf.S: Likewise.
20428 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
20429 ieee754/flt-32 implementation for tan.
20430
20431 * math/libm-test.inc (cos_test): Enable some large input tests for
20432 float as well
20433 (sin_test): Likewise.
20434 (sincos_test): Likewise.
20435 (tan_test): Add tests for large input.
20436
20437 * sysdeps/i386/fpu/libm-test-ulps: Update.
20438
81c64153
AJ
204392012-03-15 Andreas Jaeger <aj@suse.de>
20440
20441 [BZ #13658]
20442 * math/libm-test.inc (cos_test): Add more test cases.
20443 (sin_test): Likewise.
20444 (sincos_test): Likewise.
20445
7bbfa5c6
AJ
204462012-03-15 Andreas Jaeger <aj@suse.de>
20447
20448 [BZ #13837]
20449 * math/libm-test.inc (cos_test): Add a test case for large input
20450 value.
20451 (sin_test): Likewise.
20452 (sincos_test): Likewise.
20453
204542012-03-15 Andreas Jaeger <aj@suse.de>,
20455 Joseph Myers <joseph@codesourcery.com>
20456
20457 [BZ #13658]
0671f479 20458 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
20459 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
20460 * sysdeps/i386/fpu/branred.c: Likewise.
20461 * sysdeps/i386/fpu/dosincos.c: Likewise.
20462 * sysdeps/i386/fpu/mpa.c: Likewise.
20463 * sysdeps/i386/fpu/s_cos.S: Likewise.
20464 * sysdeps/i386/fpu/s_sin.S: Likewise.
20465 * sysdeps/i386/fpu/s_sincos.S: Likewise.
20466 * sysdeps/i386/fpu/sincos32.c: Likewise.
20467
20468 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
20469 Define.
20470 (libc_feupdateenv_53bit): Define.
20471 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
20472 Define.
20473 (libc_feupdateenv_53bit): Define.
20474
20475 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
20476 53 bit (without extend i386 double precision).
20477
20478 * math/libm-test.inc (sincos_test): Add tests for large input.
20479 (sin): Likewise.
20480 (cos): Likewise.
20481
20482 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20483
9cad04ea
AS
204842012-03-15 Andreas Schwab <schwab@linux-m68k.org>
20485
20486 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20487
f7062b9a
DM
204882012-03-15 David S. Miller <davem@davemloft.net>
20489
20490 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
20491 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
20492 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
20493 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
20494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
20495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
20496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
20497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
20498 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
20499 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
20500 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
20501 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
20502 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
20503 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
20504 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
20505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
20506 file.
f7062b9a 20507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
20508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
20509 file.
f7062b9a 20510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
20511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
20512 file.
f7062b9a 20513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
20514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
20515 file.
f7062b9a
DM
20516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
20517 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
20518 fmin/fmax sysdep routines.
20519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20520
7bd951ff
DM
205212012-03-14 David S. Miller <davem@davemloft.net>
20522
559398ab
DM
20523 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
20524 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
20525 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
20526 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
20527 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
20528 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
20529 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
20530 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
20531 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
20532 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
20533 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
20534 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
20535 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
20536 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
20537 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
20538 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
20539 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
20540 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
20541 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
20542 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
20543 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
20544 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
20545 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
20546 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
20547 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
20548 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
20549 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
20550 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
20551 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
20552 routines.
20553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
20554 file.
559398ab 20555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
20556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
20557 file.
559398ab 20558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
20559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
20560 file.
559398ab 20561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
20562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
20563 file.
559398ab 20564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
20565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
20566 file.
559398ab 20567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
20568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
20569 file.
20570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
20571 file.
20572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
20573 file.
20574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
20575 file.
20576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
20577 New file.
20578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
20579 file.
20580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
20581 file.
559398ab 20582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
20583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
20584 file.
559398ab 20585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
20586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
20587 file.
559398ab 20588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
20589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
20590 file.
559398ab 20591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
20592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
20593 VIS3 routines.
559398ab
DM
20594
20595 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20596 New file.
20597
5a1c1e32
DM
20598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20599
eae47a36
DM
20600 * sysdeps/sparc/configure.in: New file.
20601 * sysdeps/sparc/configure: Generate.
20602 * configure.in (libc_cv_sparc_as_vis3): Substitute.
20603 * configure: Regenerate.
20604 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
20605 * config.make.in (have-as-vis3): New.
20606 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
20607 available use -Av9d instead of -Av9a.
20608 * sysdeps/sparc/sparc64/Makefile: Likewise.
20609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
20610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
20611 New file.
20612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
20613 file.
20614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
20615 New file.
20616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
20617 file.
eae47a36
DM
20618 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
20619 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
20620 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
20621 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
20622 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
20623
c0c83bc8
DM
20624 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
20625 fzeros/fnegs to load 0x80000000 into a float register instead of
20626 using the stack.
7bd951ff
DM
20627 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
20628
bd951ccb
JM
206292012-03-14 Joseph Myers <joseph@codesourcery.com>
20630
20631 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20632 bits/syscall.h.
20633 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
20634 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
20635 ($(inst_includedir)/bits/syscall.h): Remove rule.
20636 ($(objpfx)bits/syscall.d): Include instead of
20637 $(objpfx)syscall-list.d.
20638 (generated): Change syscall-list.h and syscall-list.d to
20639 bits/syscall.h and bits/syscall.d.
20640
bb4e6db2
RM
206412012-03-14 Roland McGrath <roland@hack.frob.com>
20642
20643 [BZ #13846]
20644 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
20645
aa4a2ae1
JM
206462012-03-14 Joseph Myers <joseph@codesourcery.com>
20647
e456826d
JM
20648 [BZ #13841]
20649 * math/s_csqrt.c: Include <float.h>.
20650 (__csqrt): Scale large or subnormal inputs.
20651 * math/s_csqrtf.c: Likewise.
20652 * math/s_csqrtl.c: Likewise.
20653 * math/libm-test.inc (csqrt_test): Add more tests.
20654 * sysdeps/i386/fpu/libm-test-ulps: Update.
20655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20656
aa4a2ae1
JM
20657 [BZ #13840]
20658 * math/libm-test.inc (hypot_test): Add more tests.
20659
7c10fd35
DM
206602012-03-13 David S. Miller <davem@davemloft.net>
20661
20662 [BZ #13840]
20663 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
20664 double-precision for the calculation instead of scaling.
20665
f453b98b
JM
206662012-03-13 Joseph Myers <joseph@codesourcery.com>
20667
20668 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
20669 manipulate bits before adding and subtracting TWO52[sx].
20670 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
20671 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
20672 Likewise.
20673 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
20674
09a3453f
DM
206752012-03-13 David S. Miller <davem@davemloft.net>
20676
8e59da90
DM
20677 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
20678 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
20679 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
20680 rtld-global-offsets.h
20681 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20682
2a8ab7f2
DM
20683 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
20684 large parameters.
20685
10f62770
DM
20686 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
20687
5f0bdb18
DM
20688 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
20689 'err' in the ifdef scope in which it is actually used.
20690
09a3453f
DM
20691 * nss/nss_db/db-init.c: Include string.h
20692
b4b2eb5e
DM
206932012-03-12 David S. Miller <davem@davemloft.net>
20694
98bb2f1c
DM
20695 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20696 masking out of the most significant byte of random value used.
20697 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20698 Fix coding style in previous change.
20699
b4b2eb5e
DM
20700 * sysdeps/unix/sysv/linux/kernel-features.h
20701 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
20702 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
20703 expression.
20704 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
20705 later.
20706
6e226b09
DM
207072012-03-11 David S. Miller <davem@davemloft.net>
20708
a1bcbd40
DM
20709 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20710 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
20711 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
20712 for 'resultvar' otherwise things get truncated on 64-bit.
20713
cb9d6174
DM
20714 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20715 Fix masking out of the most significant byte of random value used.
20716
6e226b09
DM
20717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20718
058c132d
AS
207192012-03-10 Andreas Schwab <schwab@linux-m68k.org>
20720
20721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20722
2d2cd515
DM
207232012-03-09 David S. Miller <davem@davemloft.net>
20724
20725 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
20726 variables with appropriate CPP guards.
20727 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
20728 frame pointer, not the stack pointer. Correct layout comments. Fix test
20729 on resulting framesize and the management of the outregs buffer for pltexit.
20730 Preserve floating point return values across _dl_call_pltexit call.
20731 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
20732 framesize and the management of the outregs buffer for pltexit.
20733 Preserve floating point return values across _dl_call_pltexit
20734 call.
20735 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
20736 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
20737 (print_exit): Fix format string for return register value.
20738
9a07f9d0
JM
207392012-03-10 Joseph Myers <joseph@codesourcery.com>
20740
20741 * sunrpc/Makefile (others): Add rpcgen.
20742 ($(objpfx)rpcgen): Remove special build rule and dependency on
20743 libc.
20744 * sunrpc/rpcgen.c: New file.
20745
547b5e30
PE
207462012-03-09 Paul Eggert <eggert@cs.ucla.edu>
20747
c524201a
PE
20748 [BZ #13673]
20749 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
20750 * stdio-common/bug-vfprintf-nargs.c: Likewise.
20751 * sysdeps/i386/crti.S: Likewise.
20752 * sysdeps/i386/crtn.S: Likewise.
20753 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
20754 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
20755 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
20756 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
20757 * sysdeps/sh/crti.S: Likewise.
20758 * sysdeps/sh/crtn.S: Likewise.
20759 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20760
7b6235f2
PE
20761 [BZ #13673]
20762 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
20763 with URL.
20764 * locale/programs/locfile-kw.gperf: Likewise.
20765 * locale/programs/charmap-kw.h: Regenerated.
20766 * locale/programs/locfile-kw.h: Likewise.
20767
547b5e30
PE
20768 [BZ #13673]
20769 * intl/plural.y: Replace FSF snail mail address with URL.
20770 * intl/plural.c: Regenerated.
20771
5f0a5dae
RH
207722012-03-09 Richard Henderson <rth@twiddle.net>
20773
20774 * include/math_private.h: Remove file.
20775 * math/math_private.h: Move file ...
20776 * sysdeps/generic/math_private.h: ... here.
20777
b8c03620
RH
20778 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
20779 * sysdeps/powerpc/fpu/math_private.h: Likewise.
20780 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20781
4e234f5d 20782 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
20783 and <math_private.h>.
20784 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20785 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20786 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20787 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20788 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20789 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
20790 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20791 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20792 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20793 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20794 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20795 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20796 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20797 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20798 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20799 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20800 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20801 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20802 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20803 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20804 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20805 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20806 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20807 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20808 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20809 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20810 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20811 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20812 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20813 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20814 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20815 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20816 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20817 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20818 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20819 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20820 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20821 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20822 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20823 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20824 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
20825 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20826 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20827 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20828 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20829 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20830 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
20831 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20832 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20833 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20834 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20835 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
20836 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20837 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20838 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20839 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20840 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20841 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20842 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20843 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
20844 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20845 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20846 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20847 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20848 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
20849 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20850 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20851 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20852 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
20853 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
20854 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20855 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20856 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20857 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20858 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
20859 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
20860 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
20861 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20862 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
20863 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
20864 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20865 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
20866 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20867 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20868 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20869 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
20870 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
20871 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
20872 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20873 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20874 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20875 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20876 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20877 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20878 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20879 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20880 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20881 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20882 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20883 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20884 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20885 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20886 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20887 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20888 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20889 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20890 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20891 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20892 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20893 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20894 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20895 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20896 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20897 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20898 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
20899 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20900 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20901 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20902 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20903 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20904 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20905 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20906 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20907 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
20908 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20909 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20910 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20911 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
20912 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20913 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
20914 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
20915 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20916 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20917 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
20918 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
20919 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20920 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20921 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20922 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
20923 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20924 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20925 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20926 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20927 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
20928 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
20929 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20930 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20931 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20932 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
20933 * sysdeps/ieee754/k_standard.c: Likewise.
20934 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20935 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20936 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20937 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20938 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20939 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20940 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20941 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20942 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20943 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20944 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20945 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20946 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20947 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20948 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20949 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20950 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20951 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20952 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20953 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
20954 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
20955 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
20956 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20957 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20958 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20959 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20960 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20961 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20962 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20963 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20964 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20965 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20966 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20967 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20968 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20969 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20970 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20971 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
20972 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
20973 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20974 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20975 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20976 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20977 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20978 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20979 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20980 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20981 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20982 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20983 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20984 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20985 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20986 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20987 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
20988 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20989 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20990 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
20991 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
20992 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20993 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20994 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20995 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20996 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20997 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20998 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20999 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21000 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21001 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21002 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21003 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21004 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21005 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21006 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21007 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21008 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21009 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21010 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
21011 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21012 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21013 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21014 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21015 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21016 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21017 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21018 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
21019 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21020 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21021 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21022 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21023 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21024 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
21025 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21026 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21027 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21028 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21029 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21030 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
21031 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21032 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21033 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
21034 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21035 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21036 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21037 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21038 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
21039 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21040 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21041 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21042 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
21043 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21044 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21045 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21046 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21047 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21048 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21049 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21050 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21051 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21052 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21053 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21054 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21055 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21056 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21057 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21058 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21059 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
21060 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21061 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21062 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21063 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21064 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21065 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21066 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21067 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21068 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21069 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21070 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
21071 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21072 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21073 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
21074 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
21075 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21076 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
21077 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
21078 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21079 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21080 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21081 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21082 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21083 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
21084 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21085 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21086 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21087 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21088 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
21089 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
21090 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21091 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21092 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21093 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21094 * sysdeps/ieee754/s_lib_version.c: Likewise.
21095 * sysdeps/ieee754/s_matherr.c: Likewise.
21096 * sysdeps/ieee754/s_signgam.c: Likewise.
21097 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21098 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21099 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
21100 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
21101 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
21102 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21103 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
21104 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
21105 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
21106 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
21107 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21108 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
21109 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21110 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21111 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
21112 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21113 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21114 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21115 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21116 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21117 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 21118
1991fa03
JM
211192012-03-09 Joseph Myers <joseph@codesourcery.com>
21120
21121 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
21122 * sunrpc/rpc_main.c: Likewise.
21123 * sunrpc/rpc_svcout.c: Likewise.
21124
60d6f5a6
DM
211252012-03-09 David S. Miller <davem@davemloft.net>
21126
21127 * include/math_private.h: New file.
21128
4962050e
JM
211292012-03-09 Joseph Myers <joseph@codesourcery.com>
21130
02a6f887
JM
21131 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
21132 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
21133 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
21134 from <bits/socket_type.h>.
21135 (enum __socket_type): Don't define here.
21136 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
21137 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21138 bits/socket_type.h.
21139
c6e013c1
JM
21140 [BZ #13566]
21141 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
21142 checking __USE_GNU.
21143
4962050e
JM
21144 * Makerules ($(inst_includedir)/%.h): New rule.
21145 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
21146 (install-others): Remove variable setting.
21147 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
21148
38842f45
RH
211492012-03-08 Richard Henderson <rth@twiddle.net>
21150
67bb6da6
RH
21151 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
21152 from macro to inline function; merge with the
21153 !__LIBC_INTERNAL_MATH_INLINES version.
21154 (__ieee754_sqrtf): Likewise.
21155
15194b4b
RH
21156 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
21157 to inline function.
21158 (__rintf, __floor, __floorf): Likewise.
21159
64e21ede
RH
21160 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
21161 macro to inline function.
21162 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
21163
38842f45
RH
21164 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
21165 not <math/math_private.h>.
21166
c64bf5fe
DM
211672012-03-08 David S. Miller <davem@davemloft.net>
21168
21169 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
21170 copyright year.
21171 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
21172
82d86f28
TS
211732012-03-08 Thomas Schwinge <thomas@codesourcery.com>
21174
21175 * resolv/gai_misc.c (handle_requests): Fix struct timespec
21176 normalization.
21177 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
21178 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21179
aea5d727
UD
211802012-03-08 Ulrich Drepper <drepper@gmail.com>
21181
21182 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
21183 be defined individually, they must be defined as a block. Define
21184 S for printing a string instead of hidint the different by using a
21185 macro for adding the 'l'.
21186 * stdio-common/tst-fphex-wide.c: Adjust.
21187
70bca0a3
MP
211882012-03-07 Marek Polacek <polacek@redhat.com>
21189
21190 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
21191
65b81130
MP
211922012-03-08 Marek Polacek <polacek@redhat.com>
21193
21194 [BZ #13806]
21195 * stdio-common/Makefile (tests): Add tst-fphex-wide.
21196 * stdio-common/tst-fphex.c: Define a few macros to make the
21197 test reusable. Use them.
21198 * stdio-common/tst-fphex-wide.c: New file.
21199
07037eeb
JM
212002012-03-08 Joseph Myers <joseph@codesourcery.com>
21201
a7a93d50
JM
21202 [BZ #6911]
21203 * manual/macros.texi (gnusystems): New macro.
21204 (nongnusystems): Likewise.
21205 (gnulinuxhurdsystems): Likewise.
21206 (gnuhurdsystems): Likewise..
21207 (gnulinuxsystems): Likewise.
21208 * manual/charset.texi: Use new macros or @theglibc{} to refer to
21209 variants of the GNU system, not "GNU system".
21210 * manual/conf.texi: Likewise.
21211 * manual/errno.texi: Likewise. Update example of errno macro
21212 expansion.
21213 * manual/filesys.texi: Likewise.
21214 (getumask): Document as specific to GNU/Hurd.
21215 * manual/install.texi: Likewise. Reword some references to
21216 GNU/Linux.
21217 * manual/intro.texi: Likewise.
21218 * manual/io.texi: Likewise.
21219 (File Name Portability): Detail which constraints are inapplicable
21220 to all GNU systems and which are only inapplicable to GNU/Hurd.
21221 * manual/job.texi: Likewise.
21222 * manual/llio.texi: Likewise.
21223 (O_NOCTTY): Document as present on GNU/Linux.
21224 * manual/maint.texi: Likewise.
21225 * manual/memory.texi: Likewise.
21226 * manual/pattern.texi: Likewise.
21227 * manual/pipe.texi: Likewise.
21228 * manual/process.texi: Likewise.
21229 * manual/resource.texi: Likewise.
21230 (RUSAGE_CHILDREN): Remove statement about specifying a particular
21231 child on GNU/Hurd.
21232 * manual/setjmp.texi: Likewise.
21233 * manual/signal.texi: Likewise.
21234 * manual/startup.texi: Likewise.
21235 * manual/stdio.texi: Likewise.
21236 * manual/terminal.texi: Likewise.
21237 (ONLCR): Document as POSIX.
21238 (OXTABS): Document availability on GNU/Linux as XTABS.
21239 (ONOEOT): Document availability separately from other bits.
21240 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
21241 * manual/time.texi: Likewise.
21242 * manual/users.texi: Likewise.
21243 * INSTALL: Regenerated.
21244 * sysdeps/gnu/errlist.c: Regenerated.
21245
07037eeb
JM
21246 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
21247 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
21248 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
21249 puts.
21250 * configure: Regenerated.
21251
d1d3431a
JM
212522012-03-07 Joseph Myers <joseph@codesourcery.com>
21253
af6a1e37
JM
21254 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
21255 default includes instead of AC_HEADER_CHECK.
21256 * sysdeps/i386/configure: Regenerated.
21257
d1d3431a
JM
21258 [BZ #10716]
21259 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
21260 * math/s_cacoshf.c (__cacoshf): Likewise.
21261 * math/s_cacoshl.c (__cacoshl): Likewise.
21262 * math/s_casinh.c (__casinh): Set signs of result from argument.
21263 * math/s_casinhf.c (__casinhf): Likewise.
21264 * math/s_casinhl.c (__casinhl): Likewise.
21265 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
21266 (casinh_test): Add more tests.
21267 * sysdeps/i386/fpu/libm-test-ulps: Update.
21268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21269
482ff4da
UD
212702012-03-07 Ulrich Drepper <drepper@gmail.com>
21271
872fda05
UD
21272 * po/zh_TW.po: Update from translation team.
21273
a4300c7a
UD
21274 * login/Makefile (distribute): Remove variable.
21275 * catgets/Makefile: Likewise.
21276 * mach/Makefile: Likewise.
21277 * malloc/Makefile: Likewise.
21278 * misc/Makefile: Likewise.
21279 * iconv/Makefile: Likewise.
21280 * nscd/Makefile: Likewise.
21281 * hurd/Makefile: Likewise.
21282 * manual/Makefile: Likewise.
21283 * locale/Makefile: Likewise.
21284 * intl/Makefile: Likewise.
21285 * conform/Makefile: Likewise.
21286 * nss/Makefile: Likewise.
21287 * time/Makefile: Likewise.
21288 * soft-fp/Makefile: Likewise.
21289 * dirent/Makefile: Likewise.
21290 * gmon/Makefile: Likewise.
21291 * po/Makefile: Likewise.
21292 * rt/Makefile: Likewise.
21293 * socket/Makefile: Likewise.
21294 * math/Makefile: Likewise.
21295 * signal/Makefile: Likewise.
21296 * debug/Makefile: Likewise.
21297 * elf/Makefile: Likewise.
21298 * timezone/Makefile: Likewise.
21299 * stdlib/Makefile: Likewise.
21300 * iconvdata/Makefile: Likewise.
21301 * sunrpc/Makefile: Likewise.
21302 * io/Makefile: Likewise.
21303 * argp/Makefile: Likewise.
21304 * inet/Makefile: Likewise.
21305 * hesiod/Makefile: Likewise.
21306 * grp/Makefile: Likewise.
21307 * csu/Makefile: Likewise.
21308 * wctype/Makefile: Likewise.
21309 * crypt/Makefile: Likewise.
21310 * libio/Makefile: Likewise.
21311 * string/Makefile: Likewise.
21312 * nis/Makefile: Likewise.
21313 * resolv/Makefile: Likewise.
21314 * stdio-common/Makefile: Likewise.
21315 * wcsmbs/Makefile: Likewise.
21316 * dlfcn/Makefile: Likewise.
21317 * posix/Makefile: Likewise.
21318
3b7c4e74 21319 [BZ #6959]
482ff4da
UD
21320 * timezone/Makefile: Don't install timezone files, just the programs
21321 and scripts.
21322
f72ed77d
UD
213232012-03-06 Ulrich Drepper <drepper@gmail.com>
21324
a000466f
UD
21325 * nss/databases.def: Add missing gshadow entry.
21326
f72ed77d
UD
21327 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
21328
a53b7a4e
MP
213292012-03-06 Marek Polacek <polacek@redhat.com>
21330
21331 [BZ #13726]
21332 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
21333 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21334 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
21335 * stdio-common/tst-long-dbl-fphex.c: New file.
21336
e9258400
DM
213372012-03-06 David S. Miller <davem@davemloft.net>
21338
21339 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21340 (set_obp_int): New function.
21341 (get_obp_int): New function.
21342 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
21343 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
21344 Avoid unused variable warnings on 'val' and use builtin_expect.
21345 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
21346 __builtin_expect.
e9258400
DM
21347 (INLINE_CLONE_SYSCALL): Likewise.
21348
3bd2c723
DM
213492012-03-05 David S. Miller <davem@davemloft.net>
21350
21351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21352
bbb78d03
AS
213532012-03-05 Andreas Schwab <schwab@linux-m68k.org>
21354
884c5db4
AS
21355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21356
bbb78d03
AS
21357 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
21358 only for |x| >= 40.
21359 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21360
1c9f702a 213612012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
21362
21363 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
21364 Replace gettimeofday with __vdso_gettimeofday.
21365
7be16f82
RM
21366 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21367 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
21368 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
21369
21370 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
21371 time with __vdso_time.
21372
ed58a00f
JM
213732012-03-05 Joseph Myers <joseph@codesourcery.com>
21374
21375 * manual/lang.texi (size_t): Note types to which size_t may be
21376 equivalent with the GNU C Library, but do not describe when
21377 differences between them are significant.
21378
30ee4ced
AJ
213792012-03-05 Andreas Jaeger <aj@suse.de>
21380
21381 * sysdeps/i386/fpu/libm-test-ulps: Update.
21382
b7cd39e8
JM
213832012-03-05 Joseph Myers <joseph@codesourcery.com>
21384
21385 [BZ #3976]
21386 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
21387 (__ieee754_pow): Save and restore rounding mode and use
21388 round-to-nearest for main computations.
21389 * math/libm-test.inc (pow_test_tonearest): New function.
21390 (pow_test_towardzero): Likewise.
21391 (pow_test_downward): Likewise.
21392 (pow_test_upward): Likewise.
21393 (main): Call the new functions.
21394 * sysdeps/i386/fpu/libm-test-ulps: Update.
21395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
21396
21397 [BZ #3976]
21398 * math/libm-test.inc (cosh_test_tonearest): New function.
21399 (cosh_test_towardzero): Likewise.
21400 (cosh_test_downward): Likewise.
21401 (cosh_test_upward): Likewise.
21402 (sinh_test_tonearest): Likewise.
21403 (sinh_test_towardzero): Likewise.
21404 (sinh_test_downward): Likewise.
21405 (sinh_test_upward): Likewise.
21406 (main): Call the new functions.
21407 * sysdeps/i386/fpu/libm-test-ulps: Update.
21408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21409
6c6a98c9
TV
214102012-03-05 Tom de Vries <tom@codesourcery.com>
21411
21412 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
21413 default stack guard is set in last bytes.
21414 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
21415
21bb2d2e 214162012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 21417
21bb2d2e 21418 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 21419
21bb2d2e
AJ
21420 [BZ #13656]
21421 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
21422 possibly allocate from heap instead of stack.
21423 * stdio-common/bug-vfprintf-nargs.c: New file.
21424 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 21425
c6922934
AS
214262012-03-03 Andreas Schwab <schwab@linux-m68k.org>
21427
21428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21429
bc957d53
MP
214302012-03-03 Marek Polacek <polacek@redhat.com>
21431
21432 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
21433 * math/math_private.h: Likewise.
21434 * stdlib/tst-strtod.c: Likewise.
21435 * sysdeps/i386/i486/bits/atomic.h: Likewise.
21436 * sysdeps/x86_64/bits/atomic.h: Likewise.
21437
6358490d
DM
214382012-03-02 David S. Miller <davem@davemloft.net>
21439
21440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
21441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
21442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
21443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
21444 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
21445 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
21446 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
21447 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
21448
01ae168d
RM
214492012-03-02 Roland McGrath <roland@hack.frob.com>
21450
d9a17c07
RM
21451 [BZ #13792]
21452 * manual/examples/README: New file, says the example source files
21453 can be used under GPL>=2.
21454 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
21455 line containing just "*/".
21456 * manual/examples/add.c: Add copyright header (GPL>=2).
21457 * manual/examples/argp-ex1.c: Likewise.
21458 * manual/examples/argp-ex2.c: Likewise.
21459 * manual/examples/argp-ex3.c: Likewise.
21460 * manual/examples/argp-ex4.c: Likewise.
21461 * manual/examples/atexit.c: Likewise.
21462 * manual/examples/db.c: Likewise.
21463 * manual/examples/dir.c: Likewise.
21464 * manual/examples/dir2.c: Likewise.
21465 * manual/examples/execinfo.c: Likewise.
21466 * manual/examples/filecli.c: Likewise.
21467 * manual/examples/filesrv.c: Likewise.
21468 * manual/examples/fmtmsgexpl.c: Likewise.
21469 * manual/examples/genpass.c: Likewise.
21470 * manual/examples/inetcli.c: Likewise.
21471 * manual/examples/inetsrv.c: Likewise.
21472 * manual/examples/isockad.c: Likewise.
21473 * manual/examples/longopt.c: Likewise.
21474 * manual/examples/memopen.c: Likewise.
21475 * manual/examples/memstrm.c: Likewise.
21476 * manual/examples/mkfsock.c: Likewise.
21477 * manual/examples/mkisock.c: Likewise.
21478 * manual/examples/mygetpass.c: Likewise.
21479 * manual/examples/pipe.c: Likewise.
21480 * manual/examples/popen.c: Likewise.
21481 * manual/examples/rprintf.c: Likewise.
21482 * manual/examples/search.c: Likewise.
21483 * manual/examples/select.c: Likewise.
21484 * manual/examples/setjmp.c: Likewise.
21485 * manual/examples/sigh1.c: Likewise.
21486 * manual/examples/sigusr.c: Likewise.
21487 * manual/examples/stpcpy.c: Likewise.
21488 * manual/examples/strdupa.c: Likewise.
21489 * manual/examples/strftim.c: Likewise.
21490 * manual/examples/strncat.c: Likewise.
21491 * manual/examples/subopt.c: Likewise.
21492 * manual/examples/swapcontext.c: Likewise.
21493 * manual/examples/termios.c: Likewise.
21494 * manual/examples/testopt.c: Likewise.
21495 * manual/examples/testpass.c: Likewise.
21496 * manual/examples/timeval_subtract.c: Likewise.
21497
01ae168d
RM
21498 [BZ #13792]
21499 * manual/time.texi (Elapsed Time): Move timeval_subtract example
21500 function to ...
21501 * manual/timeval_subtract.c.texi: ... here, new file.
21502
49efa33d
DM
215032012-03-02 David S. Miller <davem@davemloft.net>
21504
21505 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
21506
28afd92d
JM
215072012-03-02 Joseph Myers <joseph@codesourcery.com>
21508
804360ed
JM
21509 [BZ #3976]
21510 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
21511 (__sin): Save and restore rounding mode and use round-to-nearest
21512 for all computations.
21513 (__cos): Save and restore rounding mode and use round-to-nearest
21514 for all computations.
21515 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
21516 <fenv.h>.
21517 (tan): Save and restore rounding mode and use round-to-nearest for
21518 all computations.
21519 * math/libm-test.inc (cos_test_tonearest): New function.
21520 (cos_test_towardzero): Likewise.
21521 (cos_test_downward): Likewise.
21522 (cos_test_upward): Likewise.
21523 (sin_test_tonearest): Likewise.
21524 (sin_test_towardzero): Likewise.
21525 (sin_test_downward): Likewise.
21526 (sin_test_upward): Likewise.
21527 (tan_test_tonearest): Likewise.
21528 (tan_test_towardzero): Likewise.
21529 (tan_test_downward): Likewise.
21530 (tan_test_upward): Likewise.
21531 (main): Call the new functions.
21532 * sysdeps/i386/fpu/libm-test-ulps: Update.
21533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21534
a6d06d7b
JM
21535 [BZ #10135]
21536 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
21537 small n, then large n, before computing and testing k+n.
21538 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21539 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
21540 Likewise.
21541 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
21542 Likewise.
21543 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
21544 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
21545 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
21546 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
21547 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21548 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21549 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
21550 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
21551 * math/libm-test.inc (scalbn_test): Add more tests.
21552 (scalbln_test): Likewise.
21553
07e12bb3
JM
21554 * manual/filesys.texi (mode_t): Describe constraints on size and
21555 signedness, not exact equivalence to a particular type.
21556 (ino_t): Likewise.
21557 (ino64_t): Likewise.
21558 (dev_t): Likewise.
21559 (nlink_t): Likewise.
21560 (blkcnt_t): Likewise.
21561 (blkcnt64_t): Likewise.
21562 * manual/llio.texi (off_t): Likewise.
21563
28afd92d
JM
21564 [BZ #3976]
21565 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
21566 (__ieee754_exp): Save and restore rounding mode and use
21567 round-to-nearest for all computations.
21568 * math/libm-test.inc (exp_test_tonearest): New function.
21569 (exp_test_towardzero): Likewise.
21570 (exp_test_downward): Likewise.
21571 (exp_test_upward): Likewise.
21572 (main): Call the new functions.
21573 * sysdeps/i386/fpu/libm-test-ulps: Update.
21574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21575
b1eeb65d
CD
215762012-03-01 Chris Demetriou <cgd@google.com>
21577
21578 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
21579 have predictable order.
21580
53362a4b
DM
215812012-03-01 David S. Miller <davem@davemloft.net>
21582
3c969083
DM
21583 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
21584
759707de
DM
21585 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
21586 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
21587 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
21588 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
21589
dfdb8ff2
DM
21590 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
21591 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
21592 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
21593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
21594 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
21595 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
21596 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
21597 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
21598 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
21599
ead89f96
DM
21600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21601
7f66bd07
DM
21602 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
21603 * sysdeps/sparc/fpu/libm-test-ulps: to here.
21604 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
21605
53362a4b
DM
21606 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
21607 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21608 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
21609 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
21610 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
21611 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
21612 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
21613 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21614 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
21615 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
21616 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
21617 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21618 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21619 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
21620 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21621 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21622 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
21623 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
21624 * sysdeps/sparc/elf/configure: Regenerated.
21625
7b1902cb
JM
216262012-03-01 Joseph Myers <joseph@codesourcery.com>
21627
bec039bc
JM
21628 * configure.in (AS, LD): Require binutils 2.20 or later.
21629 * configure: Regenerated.
21630 * manual/install.texi (Tools for Compilation): Give binutils 2.20
21631 as required minimum version.
21632 * INSTALL: Regenerated.
21633
7b1902cb
JM
21634 [BZ #2541]
21635 [BZ #4108]
21636 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
21637 before squaring exponent.
21638 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
21639 bottom long double and 27 bits of top long double before squaring
21640 exponent.
21641 * math/libm-test.inc (erfc_test): Add more tests.
21642 * sysdeps/i386/fpu/libm-test-ulps: Update.
21643 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21645
f775c276
KT
216462012-03-01 Kai Tietz <ktietz@redhat.com>
21647
21648 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
21649 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
21650 containing bit-fields.
21651 * soft-fp/extended.h (_FP_UNION_E): Likewise.
21652 * soft-fp/single.h (_FP_UNION_S): Likewise.
21653 * soft-fp/double.h (_FP_UNION_D): Likewise.
21654
5b8a4d4a
JM
216552012-02-29 Joseph Myers <joseph@codesourcery.com>
21656
0bab47b6
JM
21657 [BZ #13786]
21658 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
21659 not include ../strcmp.S.
21660 [USE_AS_STRNCASECMP_L]: Likewise.
21661 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
21662 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
21663 * sysdeps/i386/i686/multiarch/strncase_l-c.c
21664 (__strncasecmp_l_ia32): Define as alias to
21665 __strncasecmp_l_nonascii.
21666
0fcad3e2
JM
21667 [BZ #5794]
21668 * math/libm-test.inc (expm1_test): Add test for bug 5794.
21669 * sysdeps/i386/fpu/libm-test-ulps: Update.
21670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21671
5b8a4d4a
JM
21672 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
21673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21674
8fdceb2e
JL
216752012-02-29 Jeff Law <law@redhat.com>
21676
21677 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
21678 out of bounds read.
21679
1f393a11
MP
216802012-02-29 Marek Polacek <polacek@redhat.com>
21681
21682 [BZ #13706]
21683 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
21684 * elf/Makefile: Add rules to run tst-unused-dep.out.
21685
8847f037
DM
216862012-02-28 David S. Miller <davem@davemloft.net>
21687
21688 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
21689 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
21690 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
21691 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
21692 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
21693 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
21694
169d7f11
JM
216952012-02-29 Joseph Myers <joseph@codesourcery.com>
21696
21697 * math/libm-test.inc (llround_test): Move one test from
21698 lround_test. Use TEST_f_L in moved test.
21699 (lround_test): Move misplaced test to llround_test. Add testcase
21700 from bug 2561.
21701
39adf059
UD
217022012-02-28 Ulrich Drepper <drepper@gmail.com>
21703
21704 * sysdeps/x86_64/fpu/e_expf.S: New file.
21705 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
21706
71b5d1c5
SB
217072012-02-28 Stanislav Brabec <sbrabec@suse.cz>
21708
21709 [BZ #13637]
21710 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
21711 of remain_len that may cause incomplete multi-byte character and
21712 false match.
21713 * posix/bug-regex33.c: New file.
21714 * posix/Makefile (tests): Add bug-regex33.
21715
1f77f049
JM
217162012-02-28 Joseph Myers <joseph@codesourcery.com>
21717
21718 * manual/macros.texi: New file.
21719 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
21720 * manual/libc.texinfo: Include macros.texi.
21721 * manual/creatute.texi: Likewise.
21722 * manual/install.texi: Likewise.
21723 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
21724 @glibcadj{} in references to the GNU C Library.
21725 * manual/charset.texi: Likewise.
21726 * manual/conf.texi: Likewise.
21727 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
21728 when not using those macros.
21729 * manual/creature.texi: Likewise.
21730 * manual/crypt.texi: Likewise.
21731 * manual/errno.texi: Likewise.
21732 * manual/filesys.texi: Likewise.
21733 * manual/header.texi: Likewise.
21734 * manual/install.texi: Likewise.
21735 * manual/intro.texi: Likewise.
21736 * manual/io.texi: Likewise.
21737 * manual/job.texi: Likewise.
21738 * manual/lang.texi: Likewise.
21739 * manual/libc.texiinfo: Likewise.
21740 * manual/llio.texi: Likewise.
21741 * manual/locale.texi: Likewise.
21742 * manual/maint.texi: Likewise.
21743 * manual/math.texi: Likewise.
21744 * manual/memory.texi: Likewise.
21745 * manual/message.texi: Likewise.
21746 * manual/nss.texi: Likewise.
21747 * manual/pattern.texi: Likewise.
21748 * manual/process.texi: Likewise.
21749 * manual/resource.texi: Likewise.
21750 * manual/search.texi: Likewise.
21751 * manual/setjmp.texi: Likewise.
21752 * manual/signal.texi: Likewise.
21753 * manual/socket.texi: Likewise.
21754 * manual/startup.texi: Likewise.
21755 * manual/stdio.texi: Likewise.
21756 * manual/string.texi: Likewise.
21757 * manual/sysinfo.texi: Likewise.
21758 * manual/syslog.texi: Likewise.
21759 * manual/terminal.texi: Likewise.
21760 * manual/time.texi: Likewise.
21761 * manual/users.texi: Likewise.
21762 * INSTALL: Regenerated.
21763 * NOTES: Regenerated.
d40c5d54 21764 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 21765
450bf206
AS
217662012-02-28 Andreas Schwab <schwab@linux-m68k.org>
21767
21768 * include/dirent.h: Include <dirstream.h> before
21769 <dirent/dirent.h>.
21770
741a235b
DM
217712012-02-28 David S. Miller <davem@davemloft.net>
21772
21773 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
21774 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
21775 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
21776 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
21777
d6b5aa58
DM
217782012-02-27 David S. Miller <davem@davemloft.net>
21779
1aff59a3
DM
21780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
21781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
21782 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
21783 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
21784
d6b5aa58
DM
21785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
21786 frame pointer instead of stack pointer relative arg slot.
21787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21788 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21789 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21790
433f48bf
CD
217912012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
21792
21793 [BZ #3992]
21794 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
21795
d674b76d
DM
217962012-02-27 David S. Miller <davem@davemloft.net>
21797
21798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
21799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
21802 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21803 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21804 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
21805 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
21806
0e7727f7
JM
218072012-02-27 Joseph Myers <joseph@codesourcery.com>
21808
21809 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
21810 later. Allow versions 5-9.
43be4ca2 21811 * configure: Regenerated.
0e7727f7
JM
21812 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
21813 required minimum version and 4.6 as recommended version. Do not
21814 mention bugs in GCC 2.7 and 2.8.
43be4ca2 21815 * INSTALL: Regenerated.
0e7727f7 21816
a78bc654
DM
218172012-02-27 David S. Miller <davem@davemloft.net>
21818
428d5830
DM
21819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
21820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
21821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
21822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
21823 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
21824 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
21825 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
21826 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
21827
a78bc654
DM
21828 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
21829 manipulate bits before adding and subtracting TWO112[sx].
21830 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21831
4579f81c
RM
218322012-02-27 Roland McGrath <roland@hack.frob.com>
21833
36c8acb4
RM
21834 [BZ #13775]
21835 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
21836 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
21837 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
21838 being in POSIX, because they are in 1003.1-2008.
21839
84ad622b
RM
21840 * rt/tst-aio.c: Include <fcntl.h>.
21841 * rt/tst-aio7.c: Likewise.
21842 * rt/tst-aio64.c: Likewise.
21843
4579f81c
RM
21844 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
21845
abd923db
JM
218462012-02-27 Joseph Myers <joseph@codesourcery.com>
21847
21848 * manual/install.texi (--with-headers): Describe headers as
21849 interface headers, not private headers.
21850 (Specific advice for GNU/Linux systems): Describe use of headers
21851 from "make headers_install", not private headers from older
21852 kernels.
43be4ca2 21853 * INSTALL: Regenerated.
abd923db
JM
21854 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
21855 Change to 2.6.19.
21856 * sysdeps/unix/sysv/linux/configure: Regenerated.
21857
6664049b
JM
21858 * manual/llio.texi (fclean): Remove documentation.
21859
bb8b6697
JM
21860 * manual/Makefile (libc-texi-generated): New variable. Include
21861 version.texi.
21862 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
21863 $(libc-texi-generated), not duplicated list of files.
21864 (version.texi, stamp-version): New rules.
21865 (realclean): Remove $(libc-texi-generated), not individual files
21866 from that list. Do not remove dir-add.texinfo.
21867 * manual/libc.texinfo: Comment out uses of edition numbers and
21868 references to printed manual. Remove last-updated dates.
21869 (EDITION): Comment out.
21870 (ISBN): Likewise.
21871 (VERSION, UPDATED): Remove.
21872 (version.texi): Include.
21873
12e5c3b9
AS
218742012-02-27 Andreas Schwab <schwab@linux-m68k.org>
21875
21876 * sysdeps/posix/spawni.c: Include <signal.h>.
21877 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
21878 * sysdeps/pthread/aio_fsync.c: Likewise.
21879
4efeffc1 218802012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 21881
ba63ba08
UD
21882 * conform/Makefile (tests): Run only when not cross-compiling and
21883 when fast-check is not defined.
21884
d94a4670
UD
21885 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
21886 * conform/data/limits.h-data: Fixes for POSIX2008.
21887 * conform/run-conformtest.sh: Run all tests.
21888 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
21889 headers.
21890 * include/bits/dlfcn.h: Likewise.
21891 * include/langinfo.h: Likewise.
21892 * include/monetary.h: Likewise.
21893 * include/sys/poll.h: Likewise.
21894
21895 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
21896 for __USE_GNU.
21897 * posix/spawn.h: Define __need_sigset_t.
21898 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
21899 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
21900 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
21901 to get sigevent_t only.
21902 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
21903 only for __USE_GNU.
21904 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21905 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21906 process_vm_writev only for __USE_GNU.
21907 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
21908
21909 * conform/Makefile: For now ignore errors from run-conformtest.
21910 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
21911 POSIX to avoid namespace pollution. Don't prepend headers.
21912 * conform/data/aio.h-data: Fixes for POSIX testing.
21913 * conform/data/fcntl.h-data: Likewise.
21914 * conform/data/glob.h-data: Likewise.
21915 * conform/data/grp.h-data: Likewise.
21916 * conform/data/pthread.h-data: Likewise.
21917 * conform/data/pwd.h-data: Likewise.
21918 * conform/data/signal.h-data: Likewise.
21919 * conform/data/spawn.h-data: Likewise.
21920 * conform/data/stdio.h-data: Likewise.
21921 * conform/data/stdlib.h-data: Likewise.
21922 * conform/data/stropts.h-data: Likewise.
21923 * conform/data/sys/mman.h-data: Likewise.
21924 * conform/data/sys/stat.h-data: Likewise.
21925 * conform/data/sys/types.h-data: Likewise.
21926 * conform/data/sys/wait.h-data: Likewise.
21927 * conform/data/time.h-data: Likewise.
21928 * conform/data/unistd.h-data: Likewise.
21929 * conform/data/utime.h-data: Likewise.
21930
21931 * io/sys/stat.h: fchmod was always in POSIX.
21932 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
21933 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
21934 * rt/aio.h: Define __need_timespec before including <time.h>.
21935 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
21936 struct. Add forward declaration of pthread_attr_t and use it in
21937 sigevent.
21938 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21939 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21940 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
21941 always remove CLK_TCK definition.
21942
c20105c3
AS
219432012-02-26 Andreas Schwab <schwab@linux-m68k.org>
21944
21945 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
21946
7a270350
UD
219472012-02-25 Ulrich Drepper <drepper@gmail.com>
21948
31341567
UD
21949 * conform/run-conformtest.sh: New file.
21950 * conform/Makefile: Run run-conformtest for tests.
21951 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
21952 support.
21953
21954 * conform/data/uchar.h-data: New file.
21955 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
21956 * conform/data/arpa/inet.h-data: Likewise.
21957 * conform/data/assert.h-data: Likewise.
21958 * conform/data/complex.h-data: Likewise.
21959 * conform/data/cpio.h-data: Likewise.
21960 * conform/data/ctype.h-data: Likewise.
21961 * conform/data/dirent.h-data: Likewise.
21962 * conform/data/dlfcn.h-data: Likewise.
21963 * conform/data/errno.h-data: Likewise.
21964 * conform/data/fcntl.h-data: Likewise.
21965 * conform/data/float.h-data: Likewise.
21966 * conform/data/fmtmsg.h-data: Likewise.
21967 * conform/data/fnmatch.h-data: Likewise.
21968 * conform/data/ftw.h-data: Likewise.
21969 * conform/data/glob.h-data: Likewise.
21970 * conform/data/grp.h-data: Likewise.
21971 * conform/data/iconv.h-data: Likewise.
21972 * conform/data/inttypes.h-data: Likewise.
21973 * conform/data/langinfo.h-data: Likewise.
21974 * conform/data/libgen.h-data: Likewise.
21975 * conform/data/limits.h-data: Likewise.
21976 * conform/data/locale.h-data: Likewise.
21977 * conform/data/math.h-data: Likewise.
21978 * conform/data/monetary.h-data: Likewise.
21979 * conform/data/mqueue.h-data: Likewise.
21980 * conform/data/ndbm.h-data: Likewise.
21981 * conform/data/net/if.h-data: Likewise.
21982 * conform/data/netdb.h-data: Likewise.
21983 * conform/data/netinet/in.h-data: Likewise.
21984 * conform/data/nl_types.h-data: Likewise.
21985 * conform/data/poll.h-data: Likewise.
21986 * conform/data/pthread.h-data: Likewise.
21987 * conform/data/pwd.h-data: Likewise.
21988 * conform/data/regex.h-data: Likewise.
21989 * conform/data/sched.h-data: Likewise.
21990 * conform/data/search.h-data: Likewise.
21991 * conform/data/semaphore.h-data: Likewise.
21992 * conform/data/setjmp.h-data: Likewise.
21993 * conform/data/signal.h-data: Likewise.
21994 * conform/data/spawn.h-data: Likewise.
21995 * conform/data/stdarg.h-data: Likewise.
21996 * conform/data/stdio.h-data: Likewise.
21997 * conform/data/stdlib.h-data: Likewise.
21998 * conform/data/string.h-data: Likewise.
21999 * conform/data/strings.h-data: Likewise.
22000 * conform/data/stropts.h-data: Likewise.
22001 * conform/data/sys/ipc.h-data: Likewise.
22002 * conform/data/sys/mman.h-data: Likewise.
22003 * conform/data/sys/msg.h-data: Likewise.
22004 * conform/data/sys/resource.h-data: Likewise.
22005 * conform/data/sys/select.h-data: Likewise.
22006 * conform/data/sys/sem.h-data: Likewise.
22007 * conform/data/sys/shm.h-data: Likewise.
22008 * conform/data/sys/socket.h-data: Likewise.
22009 * conform/data/sys/stat.h-data: Likewise.
22010 * conform/data/sys/statvfs.h-data: Likewise.
22011 * conform/data/sys/time.h-data: Likewise.
22012 * conform/data/sys/timeb.h-data: Likewise.
22013 * conform/data/sys/times.h-data: Likewise.
22014 * conform/data/sys/types.h-data: Likewise.
22015 * conform/data/sys/uio.h-data: Likewise.
22016 * conform/data/sys/un.h-data: Likewise.
22017 * conform/data/sys/utsname.h-data: Likewise.
22018 * conform/data/sys/wait.h-data: Likewise.
22019 * conform/data/syslog.h-data: Likewise.
22020 * conform/data/tar.h-data: Likewise.
22021 * conform/data/termios.h-data: Likewise.
22022 * conform/data/utime.h-data: Likewise.
22023 * conform/data/utmpx.h-data: Likewise.
22024 * conform/data/varargs.h-data: Likewise.
22025 * conform/data/wchar.h-data: Likewise.
22026 * conform/data/wctype.h-data: Likewise.
22027 * conform/data/wordexp.h-data: Likewise.
22028
22029 * include/stropts.h: New file.
22030 * include/uchar.h: New file.
22031 * include/aio.h: Changes to allow conformtest.pl to use the headers.
22032 * include/assert.h: Likewise.
22033 * include/ctype.h: Likewise.
22034 * include/dirent.h: Likewise.
22035 * include/dlfcn.h: Likewise.
22036 * include/fcntl.h: Likewise.
22037 * include/fnmatch.h: Likewise.
22038 * include/glob.h: Likewise.
22039 * include/grp.h: Likewise.
22040 * include/libio.h: Likewise.
22041 * include/locale.h: Likewise.
22042 * include/math.h: Likewise.
22043 * include/net/if.h: Likewise.
22044 * include/netdb.h: Likewise.
22045 * include/netinet/in.h: Likewise.
22046 * include/pthread.h: Likewise.
22047 * include/pwd.h: Likewise.
22048 * include/regex.h: Likewise.
22049 * include/sched.h: Likewise.
22050 * include/search.h: Likewise.
22051 * include/setjmp.h: Likewise.
22052 * include/signal.h: Likewise.
22053 * include/stdio.h: Likewise.
22054 * include/stdlib.h: Likewise.
22055 * include/string.h: Likewise.
22056 * include/sys/cdefs.h: Likewise.
22057 * include/sys/mman.h: Likewise.
22058 * include/sys/msg.h: Likewise.
22059 * include/sys/resource.h: Likewise.
22060 * include/sys/select.h: Likewise.
22061 * include/sys/socket.h: Likewise.
22062 * include/sys/stat.h: Likewise.
22063 * include/sys/statvfs.h: Likewise.
22064 * include/sys/time.h: Likewise.
22065 * include/sys/times.h: Likewise.
22066 * include/sys/uio.h: Likewise.
22067 * include/sys/utsname.h: Likewise.
22068 * include/sys/wait.h: Likewise.
22069 * include/termios.h: Likewise.
22070 * include/time.h: Likewise.
22071 * include/ulimit.h: Likewise.
22072 * include/unistd.h: Likewise.
22073 * include/utime.h: Likewise.
22074 * include/wchar.h: Likewise.
22075 * include/wctype.h: Likewise.
22076 * include/wordexp.h: Likewise.
22077
22078 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
22079
7a270350
UD
22080 * time/time.h: TIME_UTC must be a macro.
22081 Make timespec_get available for ISO C11 only as well.
22082
7724defc
UD
220832012-02-24 Ulrich Drepper <drepper@gmail.com>
22084
22085 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
22086 Reported by Peng Haitao <penght@cn.fujitsu.com>.
22087
6b1d1d46
JM
220882012-02-24 Joseph Myers <joseph@codesourcery.com>
22089
22090 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 22091
0f8bbd69
JM
220922012-02-24 Joseph Myers <joseph@codesourcery.com>
22093
22094 * manual/texinfo.tex: Update to version 2012-01-19.16.
22095
66ab80bc
JM
220962012-02-24 Joseph Myers <joseph@codesourcery.com>
22097
22098 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
22099
74981cc5
RM
221002012-02-24 Roland McGrath <roland@hack.frob.com>
22101
ee968201
RM
22102 [BZ #13738]
22103 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
22104 * manual/fdl-1.3.texi: New file.
22105 * manual/fdl-1.1.texi: File removed.
22106
74981cc5
RM
22107 [BZ #13738]
22108 * manual/libc.texinfo (FDL_VERSION): New @set.
22109 Use it for mention of FDL in cover text.
22110 (Documentation License): Use it in @include file name.
22111
7bb764bc
JM
221122012-02-22 Joseph Myers <joseph@codesourcery.com>
22113 Roland McGrath <roland@hack.frob.com>
22114
22115 [BZ #5461]
22116 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
22117 not LONG_LONG_MAX and LONG_LONG_MIN.
22118 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
22119 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
22120 name.
22121 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
22122
6cbeae47
JM
221232012-02-22 Joseph Myers <joseph@codesourcery.com>
22124
22125 [BZ #2547]
22126 [BZ #11365]
22127 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
22128 manipulate bits before adding and subtracting TWO23[sx].
22129 * math/libm-test.inc (nearbyint_test): Add more tests.
22130
fe45ce09
JM
221312012-02-22 Joseph Myers <joseph@codesourcery.com>
22132
22133 [BZ #2548]
22134 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
22135 bits before adding and subtracting TWO23[sx].
22136 * math/libm-test.inc (rint_test): Add more tests.
22137 (rint_test_tonearest): Likewise.
22138 (rint_test_towardzero): Likewise.
22139 (rint_test_downward): Likewise.
22140 (rint_test_upward: Likewise.
22141
ff3b3d82
JM
221422012-02-22 Joseph Myers <joseph@codesourcery.com>
22143
22144 [BZ #10110]
22145 * include/stdc-predef.h: New file. Extracted from features.h.
22146 * include/features.h: Include stdc-predef.h.
22147 * Makefile (headers): Add stdc-predef.h.
22148 * CONFORMANCE (Compiler limitations): Update.
22149
ef0aab35
JM
221502012-02-22 Joseph Myers <joseph@codesourcery.com>
22151
22152 * manual/libc.texinfo (VERSION, UPDATED): Revert.
22153
58639409
DM
221542012-02-21 David S. Miller <davem@davemloft.net>
22155
22156 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
22157 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22158
c0e70b25
DM
221592012-02-20 David S. Miller <davem@davemloft.net>
22160
22161 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
22162 using a normal save/restore sequence, rather than allocating a
22163 dummy stack frame just to store a frame pointer and restore.
22164 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22165
fb06851d
JM
221662012-02-21 Joseph Myers <joseph@codesourcery.com>
22167
22168 * manual/install.texi: Fix stray word in line-wrapped comment.
22169
7a8b71c3
DM
221702012-02-20 David S. Miller <davem@davemloft.net>
22171
d510c123
DM
22172 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
22173 both binutils and gcc support GOTDATA.
22174
0722d7c2
DM
22175 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
22176 "rd %pc" in the PIC register setup sequences.
22177
3d2b3019
DM
22178 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
22179 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22180 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22181 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22182 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22183 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22184 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22185 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22186 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
22187 (SYSCALL_ERROR_HANDLER): Likewise.
22188 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22189 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22190 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
22191 (SYSCALL_ERROR_HANDLER): Likewise.
22192
c80098a9
DM
22193 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
22194 (HAVE_GCC_GOTDATA): New.
22195 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
22196 relocation support in both binutils and gcc.
22197 * sysdeps/sparc/elf/configure: Regenerate.
22198
3a2545a0
DM
22199 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
22200 * sysdeps/sparc/sparc32/elf/configure: Delete.
22201 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
22202 * sysdeps/sparc/sparc64/elf/configure: Delete.
22203 * sysdeps/sparc/elf/configure.in: New file.
22204 * sysdeps/sparc/elf/configure: Generate.
22205
7a8b71c3
DM
22206 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
22207 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
22208 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22209 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
22210 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
22211
f1e86fca
JM
222122012-02-21 Joseph Myers <joseph@codesourcery.com>
22213
22214 * manual/install.texi: Do not mention specific glibc version
22215 numbers.
22216 * manual/libc.texinfo (VERSION, UPDATED): Update.
22217 (@copying): Use @copyright{} and range of years.
22218
0e7dfaef
JM
222192012-02-21 Joseph Myers <joseph@codesourcery.com>
22220
22221 [BZ #13695]
22222 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
22223 [crti.S not in sysdirs] (generated): Do not append.
22224 [crti.S not in sysdirs] (omit-deps): Likewise.
22225 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
22226 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
22227 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
22228 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
22229 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
22230 Likewise.
22231 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
22232 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
22233 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
22234 * csu/defs.awk: Remove file.
22235 * sysdeps/generic/initfini.c: Likewise.
22236 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
22237 variable.
22238 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
22239 Likewise.
22240
599af3ca
JM
222412012-02-20 Joseph Myers <joseph@codesourcery.com>
22242
22243 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
22244 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
22245 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
22246 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
22247 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22248 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
22249 <bits/epoll.h>.
22250 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
22251 (__EPOLL_PACKED): Define to empty if not defined by
22252 <bits/epoll.h>.
22253 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
22254 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22255 bits/epoll.h.
22256
0e499750
JM
222572012-02-20 Joseph Myers <joseph@codesourcery.com>
22258
22259 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
22260 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
22261 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
22262 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
22263 <bits/timerfd.h>.
22264 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
22265 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22266 bits/timerfd.h.
22267
5ad91f6e
JM
222682012-02-20 Joseph Myers <joseph@codesourcery.com>
22269
22270 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
22271 in C locale.
22272 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22273 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22274 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
22275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22276
06b99b02
AJ
222772012-02-20 Aurelien Jarno <aurelien@aurel32.net>
22278
22279 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22280 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22281
7638c0fd
AS
222822012-02-19 Andreas Schwab <schwab@linux-m68k.org>
22283
22284 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
22285 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
22286 defined.
22287 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
22288 Likewise.
22289 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
22290 entry for 2.16.
22291
92221550
AJ
222922012-02-19 Aurelien Jarno <aurelien@aurel32.net>
22293
22294 * math/w_acos.c: Use non-signaling floating-point comparisons.
22295 * math/w_acosf.c: Likewise.
22296 * math/w_acosh.c: Likewise.
22297 * math/w_acoshf.c: Likewise.
22298 * math/w_acoshl.c: Likewise.
22299 * math/w_acosl.c: Likewise.
22300 * math/w_asin.c: Likewise.
22301 * math/w_asinf.c: Likewise.
22302 * math/w_asinl.c: Likewise.
22303 * math/w_atanh.c: Likewise.
22304 * math/w_atanhf.c: Likewise.
22305 * math/w_atanhl.c: Likewise.
22306 * math/w_exp2.c: Likewise.
22307 * math/w_exp2f.c: Likewise.
22308 * math/w_exp2l.c: Likewise.
22309 * math/w_j0.c: Likewise.
22310 * math/w_j0f.c: Likewise.
22311 * math/w_j0l.c: Likewise.
22312 * math/w_j1.c: Likewise.
22313 * math/w_j1f.c: Likewise.
22314 * math/w_j1l.c: Likewise.
22315 * math/w_jn.c: Likewise.
22316 * math/w_jnf.c: Likewise.
22317 * math/w_log.c: Likewise.
22318 * math/w_log10.c: Likewise.
22319 * math/w_log10f.c: Likewise.
22320 * math/w_log10l.c: Likewise.
22321 * math/w_log2.c: Likewise.
22322 * math/w_log2f.c: Likewise.
22323 * math/w_log2l.c: Likewise.
22324 * math/w_logf.c: Likewise.
22325 * math/w_logl.c: Likewise.
22326 * math/w_sqrt.c: Likewise.
22327 * math/w_sqrtf.c: Likewise.
22328 * math/w_sqrtl.c: Likewise.
22329 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22330 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
22331 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22332 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22333 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22334
ebaf36eb
JM
223352012-02-19 Joseph Myers <joseph@codesourcery.com>
22336
22337 [BZ #9739]
22338 * manual/string.texi (strnlen): Use correct parameter name in
22339 equivalent expression.
22340
71c254a6
JM
223412012-02-19 Joseph Myers <joseph@codesourcery.com>
22342
22343 [BZ #11174]
22344 * manual/users.texi (seteuid): Consistently use neweuid for
22345 argument name.
22346
16d2c631
JM
223472012-02-19 Joseph Myers <joseph@codesourcery.com>
22348
22349 [BZ #13704]
22350 * manual/nss.texi (Services in the NSS configuration): Correct
22351 list of services in example configuration file.
22352
cd837b09
NB
223532012-02-19 Nick Bowler <nbowler@draconx.ca>
22354
22355 [BZ #11322]
22356 * manual/arith.texi: Remove statements about negative zero
22357 behaving identically to zero.
22358
02c4bbad
JM
223592012-02-18 Joseph Myers <joseph@codesourcery.com>
22360
22361 [BZ #5993]
22362 * manual/install.texi: Do not document upgrading from libc5.
22363
366842e7
JM
223642012-02-18 Joseph Myers <joseph@codesourcery.com>
22365
22366 [BZ #4596]
22367 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
22368
dd54084d
DM
223692012-02-18 David S. Miller <davem@davemloft.net>
22370
22371 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
22372 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
22373 %o7 across the call.
22374 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
22375 instead.
22376 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
22377 SETUP_PIC_REG_LEAF.
22378 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22379 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
22380 * sysdeps/sparc/crtn.S: Likewise.
22381
2bcc53a3
UD
223822012-02-17 Ulrich Drepper <drepper@gmail.com>
22383
22384 * aout/Makefile: Remove.
22385
09c093b5
RK
223862012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
22387
22388 [BZ #13058]
22389 * manual/examples/argp-ex1.c (main): Format definition in GNU
22390 style.
22391 * manual/examples/argp-ex2.c (main): Likewise.
22392 * manual/examples/argp-ex3.c (main): Likewise.
22393 * manual/examples/argp-ex4.c (main): Likewise.
22394 * manual/examples/longopt.c (main): Use new-style prototype
22395 definition.
22396 * manual/examples/strncat.c (main): Specify return type and use
22397 (void) for arguments.
22398 * manual/examples/subopt.c (main): Use char **argv argument.
22399
2ee633a2
JM
224002012-02-17 Joseph Myers <joseph@codesourcery.com>
22401
22402 [BZ #5077]
22403 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
22404 rounding modes.
22405
0520adde
FB
224062012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
22407
22408 [BZ #6907]
22409 * manual/string.texi (strchr): Change when strchrnul is
22410 recommended.
22411
3f4081cd
DGM
224122012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
22413
22414 [BZ #174]
22415 * manual/locale.texi (setlocale): Document LOCPATH.
22416
d1b10e78
JM
224172012-02-17 Joseph Myers <joseph@codesourcery.com>
22418
22419 [BZ #10210]
22420 * manual/process.texi (execle): Move @dots{} before last argument.
22421
79c6869c
PB
224222012-02-17 Paul Bolle <pebolle@tiscali.nl>
22423
22424 [BZ #12047]
22425 * manual/charset.texi (Generic Charset Conversion): Fix typo
22426 (LC_TYPE -> LC_CTYPE).
22427
cc6e48bc
NB
224282012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
22429
22430 [BZ #5805]
22431 * manual/arith.texi (scalbn): Use @var{} on parameter names.
22432 (scalbnf): Likewise.
22433 (scalbnl): Likewise.
22434 (scalbln): Likewise.
22435 (scalblnf): Likewise.
22436 (scalblnl): Likewise.
22437 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
22438 (vwarnx): Likewise.
22439 (verr): Likewise.
22440 (verrx): Likewise.
22441 * manual/filesys.texi (telldir): Use braces around return type.
22442 * manual/llio.texi (mmap): Add space after comma.
22443 (mmap64): Likewise.
22444 * manual/math.texi (jn): Use @var{} on parameter names.
22445 (jnf): Likewise.
22446 (jnl): Likewise.
22447 (yn): Likewise.
22448 (ynf): Likewise.
22449 (ynl): Likewise.
22450 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
22451 line.
22452 * manual/resource.texi (ulimit): Use @dots{} instead of literal
22453 "...".
22454 (sched_get_priority_min): Remove semicolon on @deftypefun line.
22455 (sched_get_priority_max): Likewise.
22456 * manual/signal.texi (sigvec): Add space after comma.
22457 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
22458 names.
22459 (if_indextoname): Likewise.
22460 (if_freenameindex): Likewise.
22461 (sendto): Use ',' instead of '.' in prototype.
22462 * manual/startup.texi (syscall): Use @dots{} instead of literal
22463 "...".
22464 * manual/stdio.texi (__fpending): Separate initial words of
22465 paragraph from @deftypefun line.
22466 * manual/syslog.texi (syslog): Use @dots{} instead of literal
22467 "...".
22468 (vsyslog): Use @var{} on parameter names.
22469 * manual/terminal.texi (stty): Use @var{} on parameter names.
22470 * manual/users.texi (getutmp): Use @var{} on parameter names.
22471 (getutmpx): Likewise.
22472
5b23062f
JM
224732012-02-17 Joseph Myers <joseph@codesourcery.com>
22474
22475 [BZ #6884]
22476 * manual/stdio.texi (fopen): Fix typos in description of
22477 ",ccs=STRING".
22478
8dee4833
AJ
224792012-02-17 Aurelien Jarno <aurelien@aurel32.net>
22480
22481 [BZ #4026]
22482 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
22483 get clock_id definition.
22484
9078ce93
TS
224852012-02-17 Thomas Schwinge <thomas@schwinge.name>
22486
22487 [BZ #4822]
22488 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
22489 (madvise): Cast every argument to void on its own.
22490
3835c55f
JM
224912012-02-17 Joseph Myers <joseph@codesourcery.com>
22492
22493 [BZ #9902]
22494 * manual/startup.texi (Exit Status): Fix typo.
22495
35c47e37
JM
224962012-02-17 Joseph Myers <joseph@codesourcery.com>
22497
22498 [BZ #10140]
22499 * manual/examples/argp-ex1.c: Include <stdlib.h>.
22500 * manual/examples/argp-ex2.c: Likewise.
22501 * manual/examples/argp-ex3.c: Likewise.
22502
e3b69ca7
RH
225032012-02-16 Richard Henderson <rth@redhat.com>
22504
22505 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
22506 * sysdeps/s390/s390-32/initfini.c: Remove.
22507 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
22508 * sysdeps/s390/s390-64/initfini.c: Remove.
22509
df83af67
KK
225102012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22511
22512 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
22513 compiler output for sysdeps/generic/initfini.c.
22514 * sysdeps/sh/elf/initfini.c: Remove file.
22515
f63f3380
DM
225162012-02-16 David S. Miller <davem@davemloft.net>
22517
fb59b3a4
DM
22518 [BZ #11494]
22519 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
22520
f63f3380
DM
22521 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
22522 * sysdeps/sparc/crti.S: New file.
22523 * sysdeps/sparc/crtn.S: New file.
22524 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
22525 * sysdeps/sparc/sparc64/Makefile: Likewise.
22526
df6a4a4a
MF
225272012-02-15 Mike Frysinger <vapier@gentoo.org>
22528
6dd8f3dc 22529 [BZ #3335]
df6a4a4a
MF
22530 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
22531
1cac7236
RM
225322012-02-15 Roland McGrath <roland@hack.frob.com>
22533
d2c736f8
RM
22534 [BZ #4822]
22535 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
22536
1cac7236
RM
22537 * mach/devstream.c (cookie_io_functions_t): Macro removed.
22538 (write, read, close): Likewise.
22539 Patch by Aurelien Jarno <aurelien@aurel32.net>.
22540
8e475601
JM
225412012-02-15 Joseph Myers <joseph@codesourcery.com>
22542
22543 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
22544 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
22545 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
22546 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
22547 <bits/signalfd.h>.
22548 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
22549 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22550 bits/signalfd.h.
22551
ed656b40
MP
225522012-02-14 Marek Polacek <polacek@redhat.com>
22553
22554 * sysdeps/x86_64/crti.S: New file.
22555 * sysdeps/x86_64/crtn.S: New file.
22556 * sysdeps/x86_64/elf/initfini.c: Remove file.
22557
2a979d3a
JM
225582012-02-13 Joseph Myers <joseph@codesourcery.com>
22559
22560 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
22561 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
22562 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
22563 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
22564 <bits/inotify.h>.
22565 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
22566 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22567 bits/inotify.h.
22568
2a418ac3
JM
225692012-02-13 Joseph Myers <joseph@codesourcery.com>
22570
22571 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
22572 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
22573 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
22574 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
22575 <bits/eventfd.h>.
22576 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
22577 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22578 bits/eventfd.h.
22579
fb779be7
TS
225802012-02-10 Thomas Schwinge <thomas@codesourcery.com>
22581
e19e83c5
RM
22582 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
22583 __feraiseexcept instead of feraiseexcept.
7c35ffed 22584
fb779be7
TS
22585 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
22586 nanosleep invocations.
22587 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
22588 strings, and add error checking for a nanosleep invocations.
22589
59ba27a6
PE
225902012-02-09 Paul Eggert <eggert@cs.ucla.edu>
22591
22592 Replace FSF snail mail address with URLs, as per GNU coding standards.
22593 Most of the snail mail addresses were wrong anyway, and omitting
22594 them makes the source code easier to maintain. Almost all of the
22595 changes are to license notices and to locale LC_IDENTIFICATION
22596 addresses, except for this one:
22597 * manual/libc.texinfo: In "Published by", give the FSF's URL,
22598 not its snail mail address.
22599
57b957eb
RH
226002012-02-09 Richard Henderson <rth@twiddle.net>
22601
af850b1c
RH
22602 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
22603 of kernel-features.h.
22604
57b957eb
RH
22605 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
22606
6b73181a
MP
226072012-02-08 Marek Polacek <polacek@redhat.com>
22608
22609 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
22610 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
22611 * sysdeps/gnu/_G_config.h: Likewise.
22612 * sysdeps/generic/_G_config.h: Likewise.
22613
26ecc33a
AS
226142012-02-08 Andreas Schwab <schwab@linux-m68k.org>
22615
6c6dbc63
AS
22616 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
22617 tests.
22618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22619
e216c012
AS
22620 * sysdeps/powerpc/powerpc32/crti.S: New file.
22621 * sysdeps/powerpc/powerpc32/crtn.S: New file.
22622 * sysdeps/powerpc/powerpc64/crti.S: New file.
22623 * sysdeps/powerpc/powerpc64/crtn.S: New file.
22624
26ecc33a
AS
22625 * Makeconfig (have-initfini): Don't set.
22626 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
22627 * configure.in (nopic_initfini): Don't substitute.
22628 * config.h.in (HAVE_INITFINI): Don't #undef.
22629 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
22630 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
22631
3add8e13
JM
226322012-02-08 Joseph Myers <joseph@codesourcery.com>
22633
22634 Support crti.S and crtn.S provided directly by architectures.
22635 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
22636 [crti.S in sysdirs] (omit-deps): Likewise.
22637 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
22638 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
22639 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
22640 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
22641 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
22642 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
22643 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
22644 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
22645 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
22646 compiler output for sysdeps/generic/initfini.c.
22647 * sysdeps/i386/elf/Makefile: Remove file.
22648 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
22649
a22f12b4
MP
226502012-02-07 Marek Polacek <polacek@redhat.com>
22651
22652 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
22653 * sysdeps/gnu/_G_config.h: Likewise.
22654 * sysdeps/mach/hurd/_G_config.h: Likewise.
22655
148cf100
MP
226562012-02-07 Marek Polacek <polacek@redhat.com>
22657
22658 * math/Makefile (tests): Add tst-CMPLX2.
22659 * math/tst-CMPLX2.c: New file.
22660
cfdc0dd7
AS
226612012-02-07 Andreas Schwab <schwab@linux-m68k.org>
22662
84ba42c4
AS
22663 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22664
cfdc0dd7
AS
22665 * math/libm-test.inc (jn_test): Add missing L suffix.
22666
622c86f4
MP
226672012-02-06 Marek Polacek <polacek@redhat.com>
22668
22669 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
22670 * sysdeps/i386/fpu/e_powf.S: Likewise.
22671 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22672 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22673 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22674 * sysdeps/i386/fpu/e_pow.S: Likewise.
22675 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22676 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22677 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22678 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22679 * sysdeps/i386/fpu/e_log2.S: Likewise.
22680 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22681 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22682 * sysdeps/i386/fpu/e_powl.S: Likewise.
22683 * sysdeps/i386/fpu/s_log1p.S: Likewise.
22684 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22685 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22686 * sysdeps/i386/fpu/e_logl.S: Likewise.
22687 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22688 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
22689 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22690 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22691 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22692 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22693 * sysdeps/i386/fpu/e_log.S: Likewise.
22694 * sysdeps/i386/fpu/s_cexp.S: Likewise.
22695 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22696 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
22697 * sysdeps/i386/fpu/e_logf.S: Likewise.
22698 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22699 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22700 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
22701 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22702 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22703 * sysdeps/i386/fpu/e_log10.S: Likewise.
22704 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22705 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22706 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22707 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22708 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22709 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22710 * sysdeps/i386/asm-syntax.h: Likewise.
22711 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22712 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22713 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22714 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
22715 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
22716 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22717 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22718 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22719 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22720 * sysdeps/powerpc/sysdep.h: Likewise.
22721 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22722 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22723
d4a54ac6
JM
227242012-02-06 Joseph Myers <joseph@codesourcery.com>
22725
22726 [BZ #411]
22727 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
22728
314054ea
JM
227292012-02-06 Joseph Myers <joseph@codesourcery.com>
22730
22731 * sysdeps/i386/sysdep.h: Include <features.h>.
22732 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
22733 version.
22734
d8e0ca50
JM
227352012-02-05 Joseph Myers <joseph@codesourcery.com>
22736
22737 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
22738 Define.
22739 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
22740 LOAD_PIC_REG_STR.
22741
b1da7dd9
JM
227422012-02-03 Joseph Myers <joseph@codesourcery.com>
22743
22744 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
22745 (SETUP_PIC_REG): Use GET_PC_THUNK.
22746 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
22747 macro.
22748
9a1d9254
JM
227492012-02-03 Joseph Myers <joseph@codesourcery.com>
22750
22751 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
22752 for non-PIC compilation.
22753 (SETUP_PIC_REG): Add .p2align directive.
22754 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
22755 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
22756 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22757 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22758 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22759 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22760 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
22761 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22762 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22763 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22764 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22765 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22766 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22767 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22768 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22769 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22770 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22771 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22772 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22773 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22774 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22775 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22776 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22777 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22778 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22779 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22780 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22781 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22782 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22783 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22784 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22785 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22786 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22787 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22788 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22789 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22790 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22791 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22792 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22793 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22794 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22795
65dc3b75
JM
227962012-02-03 Joseph Myers <joseph@codesourcery.com>
22797
22798 * math/tst-CMPLX.c: Include <stdio.h>.
22799
d55bf177
JM
228002012-01-31 Joseph Myers <joseph@codesourcery.com>
22801
22802 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
22803 float.
22804 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
22805 * sysdeps/sparc/bits/mathdef.h: Likewise.
22806
69db4f8f
MP
228072012-01-31 Marek Polacek <polacek@redhat.com>
22808
22809 * libio/libio.h: Don't define _PARAMS.
22810 * locale/programs/config.h: Don't define PARAMS.
22811 * stdlib/strtol_l.c: Likewise.
22812 (__strtol_l): Remove PARAMS from the prototype.
22813
41b81892
UD
228142012-01-31 Ulrich Drepper <drepper@gmail.com>
22815
3b49edc0
UD
22816 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
22817 names. Just use the correct names. Remove unnecessary wrapper
22818 functions.
22819 * malloc/arena.c: Likewise.
22820 * malloc/hooks.c: Likewise.
22821
41b81892
UD
22822 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
22823 ARENA_TEST says not to. Simplify test for creation of a new arena.
22824 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
22825
27a25b6e
UD
228262012-01-30 Ulrich Drepper <drepper@gmail.com>
22827
22828 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
22829 into tail calls.
22830 (update_get_addr): New function.
22831 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
22832 GET_ADDR_MODULE parameter.
22833
c8a89e7d
JM
228342012-01-30 Joseph Myers <joseph@codesourcery.com>
22835
22836 * crypt/cert.c: Remove __STDC__ conditionals.
22837 * crypt/crypt-entry.c: Likewise.
22838 * crypt/crypt_util.c: Likewise.
22839 * libio/filedoalloc.c: Likewise.
22840 * libio/fileops.c: Likewise.
22841 * libio/genops.c: Likewise.
22842 * libio/iofclose.c: Likewise.
22843 * libio/iofdopen.c: Likewise.
22844 * libio/iofopen.c: Likewise.
22845 * libio/iofopen64.c: Likewise.
22846 * libio/iogetdelim.c: Likewise.
22847 * libio/iopopen.c: Likewise.
22848 * libio/obprintf.c: Likewise.
22849 * libio/oldfileops.c: Likewise.
22850 * libio/oldiofclose.c: Likewise.
22851 * libio/oldiofdopen.c: Likewise.
22852 * libio/oldiofopen.c: Likewise.
22853 * libio/oldiopopen.c: Likewise.
22854 * libio/wfiledoalloc.c: Likewise.
22855 * libio/wgenops.c: Likewise.
22856 * locale/programs/xmalloc.c: Likewise.
22857 * misc/syslog.c: Likewise.
22858 * stdio-common/xbug.c: Likewise.
22859 * string/memchr.c: Likewise.
22860 * string/memcmp.c: Likewise.
22861 * string/memrchr.c: Likewise.
22862 * string/rawmemchr.c: Likewise.
22863 * sysdeps/posix/getcwd.c: Likewise.
22864 * time/strftime_l.c: Likewise.
22865
3b100462
JM
228662012-01-30 Joseph Myers <joseph@codesourcery.com>
22867
22868 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
22869 * config.make.in (config-cflags-sse2avx): Define.
22870 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
22871 Fix typo.
22872
607998af
CM
228732012-01-29 Chris Metcalf <cmetcalf@tilera.com>
22874
22875 * scripts/config.guess: Update from upstream config git repository.
22876 * scripts/config.sub: Likewise.
22877
3601428f
CM
228782012-01-28 Chris Metcalf <cmetcalf@tilera.com>
22879
3ac8b282
CM
22880 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
22881 (EM_NUM): Update.
22882 (R_TILEPRO_*, R_TILEGX_*): New macros.
22883
e034841e
CM
22884 * scripts/firstversions.awk: Fix bug in version range handling.
22885
540d7568
CM
22886 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
22887
3601428f
CM
22888 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
22889
463de862
CM
22890 * include/sys/epoll.h: New file.
22891 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
22892 libc_hidden_def.
22893
73139a76
UD
228942012-01-28 Ulrich Drepper <drepper@gmail.com>
22895
96bc5b45
UD
22896 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
22897 Avoid unnecessary __WORDSIZE == 64 test.
22898 (fmaxf): Use VEX format if possible.
22899 (fmax): Likewise.
22900 (fminf): Likewise.
22901 (fmin): Likewise.
22902
56f6f6a2
UD
22903 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
22904 * math/math_private.h: Remove libc_fegetround* and
22905 libc_fesetround*.
22906 * sysdeps/i386/configure.in: Check for -msse2avx.
22907 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
22908 also if SSE2AVX is defined.
22909 Remove libc_fegetround* and libc_fesetround*.
22910 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
22911 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
22912 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
22913 of HAS_YMM_USABLE.
22914 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22915 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22916 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22917 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22918 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22919
73139a76
UD
22920 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
22921
d73f93a4
AZ
229222012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22923
22924 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
22925 size is not set.
22926 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22927
6ee65ed6
UD
229282012-01-27 Ulrich Drepper <drepper@gmail.com>
22929
22930 [BZ #13618]
22931 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
22932 relocation.
22933 * Makeconfig (libm): Define.
22934 * elf/Makefile: Add rules to build and run tst-relsort1.
22935 * elf/tst-relsort1.c: New file.
22936 * elf/tst-relsort1mod1.c: New file.
22937 * elf/tst-relsort1mod2.c: New file.
22938
8db21882
JM
229392012-01-27 Joseph Myers <joseph@codesourcery.com>
22940
22941 * math/s_ldexp.c: Remove __STDC__ conditionals.
22942 * math/s_ldexpf.c: Likewise.
22943 * math/s_ldexpl.c: Likewise.
22944 * math/s_nextafter.c: Likewise.
22945 * math/s_nexttowardf.c: Likewise.
22946 * math/s_significand.c: Likewise.
22947 * math/s_significandf.c: Likewise.
22948 * math/s_significandl.c: Likewise.
22949 * math/w_jnl.c: Likewise.
22950 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22951 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22952 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22953 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22954 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22955 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22956 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
22957 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22958 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22959 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22960 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22961 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22962 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22963 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22964 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22965 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22966 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22967 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22968 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22969 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22970 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22971 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22972 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22973 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22974 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22975 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22976 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22977 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22978 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22979 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22980 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22981 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22982 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22983 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22984 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22985 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22986 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22987 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22988 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22989 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22990 * sysdeps/ieee754/k_standard.c: Likewise.
22991 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22992 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22993 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22994 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22995 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22996 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22997 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22998 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22999 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23000 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23001 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23002 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23003 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23004 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23005 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23006 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23007 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23008 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23009 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23010 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23011 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23012 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23013 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23014 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23015 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23016 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23017 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23018 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23019 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23020 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23021 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23022 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
23023 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23024 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23025 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23026 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23027 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
23028 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23029 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23030 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
23031 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
23032 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23033 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23034 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
23035 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23036 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23037 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23038 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23039 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23040 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23041 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
23042 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23043 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23044 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23045 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23046 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23047 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
23048 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23049 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23050 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23051 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23052 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23053 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23054 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23055 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23056 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23057 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23058 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23059 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23060 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23061 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23062 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23063 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23064 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23065 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23066 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23067 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23068 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23069 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23070 * sysdeps/ieee754/s_matherr.c: Likewise.
23071 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23072 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23073 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23074 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23075
965a54a4
JM
230762012-01-26 Joseph Myers <joseph@codesourcery.com>
23077
23078 * crypt/md5.h: Remove __STDC__ conditionals.
23079 * libio/libioP.h: Likewise.
23080 * locale/programs/config.h: Likewise.
23081 * sysdeps/generic/sysdep.h: Likewise.
23082 * sysdeps/i386/asm-syntax.h: Likewise.
23083 * sysdeps/s390/asm-syntax.h: Likewise.
23084 * sysdeps/unix/sysdep.h: Likewise.
23085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23087
7071ad79
JM
230882012-01-26 Joseph Myers <joseph@codesourcery.com>
23089
23090 * libio/libio.h: Remove __STDC__ conditionals.
23091 * malloc/obstack.h: Likewise.
23092 * math/complex.h: Likewise.
23093 * math/math.h: Likewise.
23094 * sysdeps/generic/_G_config.h: Likewise.
23095 * sysdeps/gnu/_G_config.h: Likewise.
23096 * sysdeps/mach/hurd/_G_config.h: Likewise.
23097 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23098 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23099 * sysdeps/sparc/bits/mathdef.h: Likewise.
23100
afc5ed09
UD
231012012-01-26 Ulrich Drepper <drepper@gmail.com>
23102
23103 [BZ #13583]
23104 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 23105 Clean up HAS_* macros.
afc5ed09 23106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
23107 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
23108 possible.
23109 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
23110 HAS_AVX.
23111 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23112 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23113 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23114 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23115 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 23116
bdb6de1d
JM
231172012-01-25 Joseph Myers <joseph@codesourcery.com>
23118
23119 * elf/tst-unique3.cc (gets): Remove declaration.
23120 * elf/tst-unique3lib.cc (gets): Likewise.
23121 * elf/tst-unique3lib2.cc (gets): Likewise.
23122 * elf/tst-unique4.cc (gets): Likewise.
23123
b15549e6
UD
231242012-01-24 Ulrich Drepper <drepper@gmail.com>
23125
23126 * include/stdio.h: Add C++ protection. Add gets declarations and
23127 definitions.
23128 * debug/tst-chk1.c: Don't declare gets here.
23129 * stdio-common/tst-gets.c: Likewise.
23130
a037381f
JM
231312012-01-24 Joseph Myers <joseph@codesourcery.com>
23132
23133 * posix/glob: Remove directory.
23134
f1d4aa75
JM
231352012-01-24 Joseph Myers <joseph@codesourcery.com>
23136
23137 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
23138
81c0c964
PT
231392012-01-22 Pino Toscano <toscano.pino@tiscali.it>
23140
23141 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
23142 of the non-standard EPFNOSUPPORT.
23143
0ea698ae
ST
231442011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
23145
23146 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
23147 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
23148 ANYWHERE set to 1 only on KERN_NO_SPACE error.
23149
d220b117
UD
231502012-01-21 Ulrich Drepper <drepper@gmail.com>
23151
23152 * wcsmbs/uchar.h: Test __STDC_VERSION__.
23153
3e1aa84e
UD
231542012-01-20 Ulrich Drepper <drepper@gmail.com>
23155
23156 * nscd/aicache.c (addhstaiX): Do not cache negative results of
23157 transient errors.
23158 * nscd/grpcache.c (cache_addgr): Likewise.
23159 * nscd/hstcache.c (cache_addhst): Likewise.
23160 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23161 * nscd/pwdcache.c (cache_addpw): Likewise.
23162 * nscd/servicescache.c (cache_addserv): Likewise.
23163
400aa020
UD
231642012-01-16 Ulrich Drepper <drepper@gmail.com>
23165
d77e7869
UD
23166 * malloc/malloc.c: Various cleanups.
23167 * malloc/hooks.c: Likewise.
23168
400aa020
UD
23169 * stdlib/Makefile (tests): Add bug-fmtmsg1.
23170 * stdlib/bug-fmtmsg1.c: New file.
23171
23172 * stdlib/fmtmsg.c (init): Add missing unlock.
23173 Patch by Peng Haitao <penght@cn.fujitsu.com>.
23174
e0a309cf
MP
231752012-01-12 Marek Polacek <polacek@redhat.com>
23176
23177 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
23178 and _GNU_SOURCE.
23179
929d11c7
WS
231802012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23181
23182 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
23183 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
23184 macro to ensure uniqueness of label name.
23185 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23186 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23187
41d0e869
UD
231882012-01-11 Ulrich Drepper <drepper@gmail.com>
23189
0cc5ed3b
UD
23190 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
23191
41d0e869
UD
23192 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
23193 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23194 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23195 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
23196
a47a831a
UD
231972012-01-10 Ulrich Drepper <drepper@gmail.com>
23198
daa891c0
UD
23199 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
23200
23201 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
23202 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23203 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23204
e58ef0f2
UD
23205 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
23206
a47a831a 23207 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
23208 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23209 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 23210 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
23211
23212 * math/bits/math-finite.h: Add ldexp support.
23213
a0bfc9c7
MP
232142012-01-10 Marek Polacek <polacek@redhat.com>
23215
23216 * locale/programs/localedef.h (show_archive_content): Add noreturn
23217 attribute.
23218
d6e97a1d
UD
232192012-01-09 Ulrich Drepper <drepper@gmail.com>
23220
23221 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
23222
d5835c26
UD
232232012-01-08 Ulrich Drepper <drepper@gmail.com>
23224
e5f484c6
UD
23225 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
23226
d5835c26
UD
23227 * io/Makefile (headers): Add bits/poll2.h.
23228
d1f741e9
WS
232292011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
23230
23231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
23232 typo #include statement.
23233
ec09c1c4
UD
232342012-01-08 Ulrich Drepper <drepper@gmail.com>
23235
23236 * include/sys/cdefs.h: Define __attribute_alloc_size.
23237 * catgets/gencat.c: Add alloc_size attribute and apply consistently
23238 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
23239 * elf/pldd.c: Likewise.
23240 * iconv/iconv_charmap.c: Likewise.
23241 * iconv/iconvconfig.c: Likewise.
23242 * iconv/strtab.c: Likewise.
23243 * locale/programs/locale.c: Likewise.
23244 * locale/programs/localedef.h: Likewise.
23245 * locale/programs/simple-hash.c: Likewise.
23246 * nscd/nscd.h: Likewise.
23247 * nss/makedb.c: Likewise.
23248 * sysdeps/generic/ldconfig.h: Likewise.
23249 * locale/programs/localedef.c: Remove xmalloc prototype.
23250 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
23251
20b38e03
PP
232522012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23253
23254 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
23255 appropriate.
23256
a0da5fe1
UD
232572012-01-08 Ulrich Drepper <drepper@gmail.com>
23258
1d5a644a 23259 * math/Makefile (tests): Add tst-CMPLX.
669704fd 23260 * math/tst-CMPLX.c: New file.
1d5a644a 23261
8784a6db
UD
23262 * math/complex.h (CMPLXL): Fix typo.
23263
d9a216c0
UD
23264 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
23265 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
23266 GLIBC_2.16.
23267 * debug/tst-chk1.c: Add poll and ppoll tests.
23268 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
23269 * include/sys/poll.h: Add hidden proto for ppoll.
23270 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
23271 * sysdeps/mach/hurd/ppoll.c: Likewise.
23272 * io/ppoll.c: Likewise.
23273 * debug/poll_chk.c: New file.
23274 * debug/ppoll_chk.c: New file.
23275 * include/bits/poll2.h: New file.
23276 * io/bits/poll2.h: New file.
23277
ac097f5c
UD
23278 [BZ #1350]
23279 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
23280
2119dcfa
UD
23281 * configure.in: static is always set to yes. Remove.
23282 * config.make.in: Don't set build-static.
23283 * Makeconfig: Remove use of build-static.
23284 * dlfcn/Makefile: Likewise.
23285 * elf/Makefile: Likewise.
23286 * math/Makefile: Likewise.
23287 * misc/Makefile: Likewise.
23288 * nptl/Makefile: Likewise.
23289 * sysdeps/mach/hurd/Makefile: Likewise.
23290
121766a9
UD
23291 * configure.in: PWD_P is not used anymore.
23292 * config.make.in: Remove PWD_P entry.
23293
51a1d39c 23294 * configure.in: Remove last remnants of RANLIB.
8720d066 23295 No need to check for signed size_t anymore.
215f4bdc
UD
23296 Don't set libc_commonpagesize and libc_relro_required here for Alpha
23297 and IA-64.
3857022a 23298 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
23299 * aclocal.m4: Likewise.
23300
d3ed7225
UD
23301 * wcsmbs/mbrtoc16.c: Implement using towc function.
23302 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
23303 * wcsmbs/wcsmbsload.c: Likewise.
23304 * iconv/gconv_simple.c: Likewise.
23305 * iconv/gconv_int.h: Likewise.
23306 * iconv/gconv_builtin.h: Likewise.
23307 * iconv/iconv_prog.c: Remove CHAR16 handling.
23308
23309 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
23310
23311 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
23312
a0da5fe1
UD
23313 * configure.in: Remove --with-elf and --enable-bounded options.
23314 Dont set base_machine for ia64. More non-ELF conditions removed.
23315 Remove testing and setting of leading underscore information.
23316 * config.make.in (build-bounded): Set to no.
23317 * config.h.in: Remove NO_UNDERSCORES entry.
23318 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
23319 them.
23320 * csu/start.c: Remove !NO_UNDERSCORE code.
23321 * locale/localeinfo.h: Likewise.
23322 * sysdeps/generic/machine-gmon.h: Likewise.
23323 * sysdeps/generic/sysdep.h: Likewise.
23324 * sysdeps/i386/sysdep.h: Likewise.
23325 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23326 * sysdeps/mach/sysdep.h: Likewise.
23327 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23328 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23329 * sysdeps/sh/sysdep.h: Likewise.
23330 * sysdeps/sparc/sparc32/alloca.S: Likewise.
23331 * sysdeps/unix/i386/sysdep.S: Likewise.
23332 * sysdeps/unix/sparc/start.c: Likewise.
23333 * sysdeps/unix/sparc/sysdep.S: Likewise.
23334 * sysdeps/unix/sparc/sysdep.h: Likewise.
23335 * sysdeps/unix/start.c: Likewise.
23336 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23337 * sysdeps/x86_64/sysdep.h: Likewise.
23338
df78418a
UD
233392012-01-07 Ulrich Drepper <drepper@gmail.com>
23340
a784e502
UD
23341 [BZ #13553]
23342 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
23343 for non-gcc.
23344 * argp/argp-fmtstream.h: Use const instead __const.
23345 * argp/argp.h: Likewise.
23346 * assert/assert.h: Likewise.
23347 * bits/fenv.h: Likewise.
23348 * bits/sched.h: Likewise.
23349 * bits/sigset.h: Likewise.
23350 * bits/sigthread.h: Likewise.
23351 * catgets/nl_types.h: Likewise.
23352 * conform/data/pthread.h-data: Likewise.
23353 * crypt/crypt-private.h: Likewise.
23354 * crypt/crypt.h: Likewise.
23355 * crypt/crypt_util.c: Likewise.
23356 * ctype/ctype.h: Likewise.
23357 * debug/execinfo.h: Likewise.
23358 * debug/mbsnrtowcs_chk.c: Likewise.
23359 * debug/mbsrtowcs_chk.c: Likewise.
23360 * debug/wcsnrtombs_chk.c: Likewise.
23361 * debug/wcsrtombs_chk.c: Likewise.
23362 * debug/wcstombs_chk.c: Likewise.
23363 * dirent/dirent.h: Likewise.
23364 * dlfcn/dlfcn.h: Likewise.
23365 * elf/neededtest4.c: Likewise.
23366 * grp/grp.h: Likewise.
23367 * gshadow/gshadow.h: Likewise.
23368 * iconv/gconv.h: Likewise.
23369 * iconv/gconv_int.h: Likewise.
23370 * iconv/gconv_simple.c: Likewise.
23371 * iconv/iconv.h: Likewise.
23372 * iconv/loop.c: Likewise.
23373 * iconv/skeleton.c: Likewise.
23374 * include/aio.h: Likewise.
23375 * include/aliases.h: Likewise.
23376 * include/argz.h: Likewise.
23377 * include/arpa/inet.h: Likewise.
23378 * include/assert.h: Likewise.
23379 * include/dirent.h: Likewise.
23380 * include/dlfcn.h: Likewise.
23381 * include/execinfo.h: Likewise.
23382 * include/fcntl.h: Likewise.
23383 * include/fenv.h: Likewise.
23384 * include/glob.h: Likewise.
23385 * include/grp.h: Likewise.
23386 * include/libintl.h: Likewise.
23387 * include/mntent.h: Likewise.
23388 * include/netdb.h: Likewise.
23389 * include/pwd.h: Likewise.
23390 * include/rpc/netdb.h: Likewise.
23391 * include/sched.h: Likewise.
23392 * include/search.h: Likewise.
23393 * include/shadow.h: Likewise.
23394 * include/signal.h: Likewise.
23395 * include/stdio.h: Likewise.
23396 * include/stdlib.h: Likewise.
23397 * include/string.h: Likewise.
23398 * include/sys/socket.h: Likewise.
23399 * include/sys/stat.h: Likewise.
23400 * include/sys/statfs.h: Likewise.
23401 * include/sys/statvfs.h: Likewise.
23402 * include/sys/syslog.h: Likewise.
23403 * include/sys/time.h: Likewise.
23404 * include/sys/uio.h: Likewise.
23405 * include/time.h: Likewise.
23406 * include/unistd.h: Likewise.
23407 * include/utmp.h: Likewise.
23408 * include/wchar.h: Likewise.
23409 * include/wctype.h: Likewise.
23410 * inet/aliases.h: Likewise.
23411 * inet/arpa/inet.h: Likewise.
23412 * inet/netinet/ether.h: Likewise.
23413 * inet/netinet/in.h: Likewise.
23414 * intl/libintl.h: Likewise.
23415 * io/bits/fcntl2.h: Likewise.
23416 * io/fcntl.h: Likewise.
23417 * io/ftw.h: Likewise.
23418 * io/sys/poll.h: Likewise.
23419 * io/sys/stat.h: Likewise.
23420 * io/sys/statfs.h: Likewise.
23421 * io/sys/statvfs.h: Likewise.
23422 * io/utime.h: Likewise.
23423 * libio/bits/stdio.h: Likewise.
23424 * libio/bits/stdio2.h: Likewise.
23425 * libio/libio.h: Likewise.
23426 * libio/libioP.h: Likewise.
23427 * libio/stdio.h: Likewise.
23428 * locale/lc-ctype.c: Likewise.
23429 * locale/locale.h: Likewise.
23430 * login/utmp.h: Likewise.
23431 * malloc/arena.c: Likewise.
23432 * malloc/malloc.c: Likewise.
23433 * malloc/malloc.h: Likewise.
23434 * malloc/mcheck.c: Likewise.
23435 * malloc/mtrace.c: Likewise.
23436 * math/bits/mathcalls.h: Likewise.
23437 * math/fenv.h: Likewise.
23438 * math/math_private.h: Likewise.
23439 * misc/bits/error.h: Likewise.
23440 * misc/bits/syslog.h: Likewise.
23441 * misc/err.h: Likewise.
23442 * misc/error.h: Likewise.
23443 * misc/fstab.h: Likewise.
23444 * misc/mntent.h: Likewise.
23445 * misc/regexp.h: Likewise.
23446 * misc/search.h: Likewise.
23447 * misc/sgtty.h: Likewise.
23448 * misc/sys/mman.h: Likewise.
23449 * misc/sys/syslog.h: Likewise.
23450 * misc/sys/uio.h: Likewise.
23451 * misc/sys/xattr.h: Likewise.
23452 * misc/ttyent.h: Likewise.
23453 * nis/rpcsvc/ypclnt.h: Likewise.
23454 * nss/nss.h: Likewise.
23455 * posix/bits/unistd.h: Likewise.
23456 * posix/fnmatch.h: Likewise.
23457 * posix/glob.h: Likewise.
23458 * posix/sched.h: Likewise.
23459 * posix/spawn.h: Likewise.
23460 * posix/sys/wait.h: Likewise.
23461 * posix/unistd.h: Likewise.
23462 * posix/wordexp.h: Likewise.
23463 * pwd/pwd.h: Likewise.
23464 * resolv/netdb.h: Likewise.
23465 * resource/sys/resource.h: Likewise.
23466 * rt/aio.h: Likewise.
23467 * rt/bits/mqueue2.h: Likewise.
23468 * rt/mqueue.h: Likewise.
23469 * shadow/shadow.h: Likewise.
23470 * signal/signal.h: Likewise.
23471 * socket/send.c: Likewise.
23472 * socket/sendto.c: Likewise.
23473 * socket/sys/socket.h: Likewise.
23474 * stdio-common/printf.h: Likewise.
23475 * stdlib/bits/stdlib.h: Likewise.
23476 * stdlib/fmtmsg.h: Likewise.
23477 * stdlib/monetary.h: Likewise.
23478 * stdlib/stdlib.h: Likewise.
23479 * stdlib/ucontext.h: Likewise.
23480 * streams/stropts.h: Likewise.
23481 * string/argz.h: Likewise.
23482 * string/bits/string2.h: Likewise.
23483 * string/string.h: Likewise.
23484 * string/strings.h: Likewise.
23485 * sunrpc/rpc/auth.h: Likewise.
23486 * sunrpc/rpc/auth_des.h: Likewise.
23487 * sunrpc/rpc/clnt.h: Likewise.
23488 * sunrpc/rpc/netdb.h: Likewise.
23489 * sunrpc/rpc/pmap_clnt.h: Likewise.
23490 * sunrpc/rpc/xdr.h: Likewise.
23491 * sysdeps/generic/inttypes.h: Likewise.
23492 * sysdeps/generic/net/if.h: Likewise.
23493 * sysdeps/generic/sys/swap.h: Likewise.
23494 * sysdeps/gnu/net/if.h: Likewise.
23495 * sysdeps/gnu/utmpx.h: Likewise.
23496 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
23497 * sysdeps/i386/i486/bits/string.h: Likewise.
23498 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
23499 * sysdeps/s390/bits/string.h: Likewise.
23500 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
23501 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
23502 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
23503 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
23504 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
23505 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
23506 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
23507 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
23508 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
23509 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
23510 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
23511 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23512 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
23513 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23514 * sysdeps/unix/sysv/linux/readv.c: Likewise.
23515 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
23516 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
23517 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23518 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
23519 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
23520 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23521 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
23522 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
23523 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
23524 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
23525 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
23526 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
23527 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23528 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
23529 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
23530 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
23531 * sysvipc/sys/ipc.h: Likewise.
23532 * sysvipc/sys/msg.h: Likewise.
23533 * sysvipc/sys/sem.h: Likewise.
23534 * sysvipc/sys/shm.h: Likewise.
23535 * termios/termios.h: Likewise.
23536 * time/sys/time.h: Likewise.
23537 * time/time.h: Likewise.
23538 * wcsmbs/bits/wchar2.h: Likewise.
23539 * wcsmbs/uchar.h: Likewise.
23540 * wcsmbs/wchar.h: Likewise.
23541 * wctype/wctype.h: Likewise.
23542
0269750c
UD
23543 [BZ #13551]
23544 * Makeconfig: Remove all but ELF support including AIX support.
23545 * Makerules: Likewise.
23546 * config.h.in: Likewise.
23547 * config.make.in: Likewise.
23548 * configure: Likewise.
23549 * configure.in: Likewise.
23550 * csu/Makefile: Likewise.
23551 * csu/version.c: Likewise.
23552 * debug/Makefile: Likewise.
23553 * dlfcn/Makefile: Likewise.
23554 * elf/Makefile: Likewise.
23555 * extra-lib.mk: Likewise.
23556 * iconv/Makefile: Likewise.
23557 * include/libc-symbols.h: Likewise.
23558 * include/shlib-compat.h: Likewise.
23559 * resolv/Makefile: Likewise.
23560 * resolv/res_libc.c: Likewise.
23561 * rt/Makefile: Likewise.
23562 * sysdeps/i386/asm-syntax.h: Likewise.
23563 * sysdeps/i386/sysdep.h: Likewise.
23564 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23565 * sysdeps/mach/sysdep.h: Likewise.
23566 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
23567 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
23568 * sysdeps/s390/asm-syntax.h: Likewise.
23569 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23570 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23571 * sysdeps/sh/sysdep.h: Likewise.
23572 * sysdeps/unix/sparc/sysdep.h: Likewise.
23573 * sysdeps/wordsize-32/divdi3.c: Likewise.
23574 * sysdeps/x86_64/sysdep.h: Likewise.
23575
00bbd29b
UD
23576 * argp/Versions: Remove _argp_unlock_xxx.
23577
23578 [BZ #13559]
23579 * abilist/ld.abilist: Update. Adjust for removal of tls option.
23580 * abilist/libBrokenLocale.abilist: Likewise.
23581 * abilist/libanl.abilist: Likewise.
23582 * abilist/libc.abilist: Likewise.
23583 * abilist/libcrypt.abilist: Likewise.
23584 * abilist/libdl.abilist: Likewise.
23585 * abilist/libm.abilist: Likewise.
23586 * abilist/libnsl.abilist: Likewise.
23587 * abilist/libpthread.abilist: Likewise.
23588 * abilist/libresolv.abilist: Likewise.
23589 * abilist/librt.abilist: Likewise.
23590 * abilist/libthread_db.abilist: Likewise.
23591 * abilist/libutil.abilist: Likewise.
23592 * abilist/libnss_db.abilist: New file.
23593
23594 * scripts/abilist.awk: Add support for indirect functions.
23595
a2693a0e
UD
23596 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
23597
3f05895f
UD
23598 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
23599
ecb6fb48
UD
23600 * shlib-versions: Remove entries for ports architectures.
23601
664f8cb9
UD
23602 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
23603 files in ports.
23604 * elf/stackguard-macros.h: Remove support for IA-64.
23605 * elf/tst-auditmod1.c: Likewise.
23606 * sysdeps/generic/ldsodefs.h: Likewise.
23607
7ae81d88
UD
23608 * sysdeps/unix/sysv/linux/configure.in: Ports should define
23609 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
23610 configure files.
23611
bdeba135
UD
23612 [BZ #13552]
23613 * configure.in: Remove --enable-omitfp support.
23614 * FAQ.in: Adjust.
23615 * config.make.in: Likewise.
23616 * Makeconfig: Likewise.
23617 * manual/install.texi: Likewise.
23618
d75a0a62
UD
23619 In case anyone cares, the IA-64 architecture could move to ports.
23620 * sysdeps/ia64/*: Removed.
23621 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 23622 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 23623
dcc9756b
UD
23624 [BZ #13555]
23625 * configure.in: Remove entries for unsupported architectures.
23626
d3761ebc 23627 [BZ #13533]
9954432e
UD
23628 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
23629 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
23630 routines.
23631 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
23632 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
23633 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
23634 fall back to using wcrtomb.
23635 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
23636 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
23637 renaming.
23638 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
23639 * wcsmbs/tst-c16c32-1.c: New file.
23640
23641 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
23642 local variable.
23643
c3a87236
UD
23644 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
23645
28926a1b
UD
23646 * elf/tst-unique3.cc: Add explicit declaration of gets.
23647 * elf/tst-unique3lib.cc: Likewise.
23648 * elf/tst-unique3lib2.cc: Likewise.
23649 * elf/tst-unique4.cc: Likewise.
23650
df78418a
UD
23651 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
23652
8ecd6b2a
JM
236532012-01-06 Joseph Myers <joseph@codesourcery.com>
23654
23655 [BZ #13566]
23656 * assert/assert.h (static_assert): Don't define for C++.
23657 * libio/stdio.h (gets): Do declare for C++ <= C++11.
23658 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
23659
9f115170
UD
236602012-01-03 Ulrich Drepper <drepper@gmail.com>
23661
5e0d0300
UD
23662 * iconv/loop.c (single loop): Fix assertion in storing of
23663 remaining bytes.
23664
9f115170
UD
23665 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
23666
81fb02b0
UD
236672012-01-01 Ulrich Drepper <drepper@gmail.com>
23668
23669 * posix/getconf.c: Update copyright year.
23670 * nss/getent.c: Likewise.
a316c1f6 23671 * nss/makedb.c: Likewise.
81fb02b0
UD
23672 * iconv/iconvconfig.c: Likewise.
23673 * iconv/iconv_prog.c: Likewise.
23674 * elf/ldconfig.c: Likewise.
a316c1f6
UD
23675 * elf/pldd.c: Likewise.
23676 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
23677 * catgets/gencat.c: Likewise.
23678 * csu/version.c: Likewise.
23679 * elf/ldd.bash.in: Likewise.
23680 * elf/sprof.c (print_version): Likewise.
23681 * locale/programs/locale.c: Likewise.
23682 * locale/programs/localedef.c: Likewise.
a316c1f6 23683 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
23684 * nscd/nscd.c (print_version): Likewise.
23685 * debug/xtrace.sh: Likewise.
23686 * malloc/memusage.sh: Likewise.
23687 * malloc/mtrace.pl: Likewise.
23688 * debug/catchsegv.sh: Likewise.
23689
2ba92745
JJ
236902011-12-30 Jakub Jelinek <jakub@redhat.com>
23691
23692 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
23693 pure attribute.
23694
dadebdae
UD
236952011-12-24 Ulrich Drepper <drepper@gmail.com>
23696
d3761ebc 23697 [BZ #13533]
db6af3eb
UD
23698 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
23699 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
23700 transformations.
23701 * iconv/gconv_int.h: Likewise.
23702 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
23703 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
23704 from libc for GLIBC_2.16.
23705 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
23706 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
23707 * wcsmbs/uchar.h: Really define mbstate_t.
23708 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
23709 * wcsmbs/c16rtomb.c: New file.
23710 * wcsmbs/mbrtoc16.c: New file.
23711 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
23712 for C/POSIX locale.
23713 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
23714 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
23715
dadebdae
UD
23716 * wcsmbs/wchar.h: Add missing __restrict.
23717
67371b56
UD
237182011-12-23 Ulrich Drepper <drepper@gmail.com>
23719
74033a25
UD
23720 [BZ #13532]
23721 * time/Makefile (routines): Add timespec_get.
23722 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
23723 * time/time.h: Define TIME_UTC and declare timespec_get. Define
23724 timespec for ISO C11.
23725 * time/timespec_get.c: New file.
23726 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
23727 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
23728
380d7e87
UD
23729 [BZ #13531]
23730 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
23731 * stdlib/stdlib.h: Declare aligned_alloc.
23732 * Versions.def: Add GLIBC_2.16 for libc.
23733 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
23734
4e9e7a35
UD
23735 [BZ 13527]
23736 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
23737 ISO C11.
23738
380d7e87 23739 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
23740 code.
23741
03a71829
UD
23742 [BZ #13528]
23743 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
23744
839e283e
UD
23745 [BZ #13529]
23746 * assert/assert.h (static_assert): Define.
23747
ce5294e2 23748 * version.h: Update for 2.16 development version.
90fa7312 23749
8d44e150 23750 [BZ #13526]
d7809905
UD
23751 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
23752 _ISOC11_SOURCE.
23753
c0da14cd
UD
23754 * version.h (RELEASE): Bump for 2.15 release.
23755 * include/features.h (__GLIBC_MINOR__): Bump to 15.
23756
530a3249
MP
23757 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
23758 Patch by Marek Polacek <mpolacek@redhat.com>.
23759
67371b56
UD
23760 * bits/byteswap.h: Protect long long constants with __extension__.
23761 * sysdeps/i386/bits/byteswap.h: Likewise.
23762 * sysdeps/ia64/bits/byteswap.h: Likewise.
23763 * sysdeps/s390/bits/byteswap.h: Likewise.
23764 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23765
15db4de1
LD
237662011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23767
23768 [BZ #13540]
bbe315ea
LD
23769 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
23770 destination buffer.
15db4de1
LD
23771 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
23772
2b2596b1
MP
237732011-12-23 Marek Polacek <polacek@redhat.com>
23774
23775 * elf/dl-addr.c (determine_info): Add inline keyword.
23776 * elf/tst-auditmod4b.c (check_avx): Likewise.
23777 * elf/tst-auditmod6b.c (check_avx): Likewise.
23778 * elf/tst-auditmod6c.c (check_avx): Likewise.
23779 * elf/tst-auditmod7b.c (check_avx): Likewise.
23780
70c6c246
UD
237812011-12-23 Ulrich Drepper <drepper@gmail.com>
23782
23783 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
23784 !__SSE_MATH__.
23785
c044cf14
LD
237862011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23787
15db4de1 23788 [BZ #13540]
c044cf14
LD
23789 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
23790 processing for last bytes.
23791
6b13d9d9
BH
237922011-08-06 Bruno Haible <bruno@clisp.org>
23793
d455f537
BH
23794 [BZ #13061]
23795 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
23796 U+0385, not to U+1FEE.
23797
6b13d9d9
BH
23798 [BZ #13062]
23799 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
23800 entry for U+00A5 U+0301.
23801
db910efd
UD
238022011-12-22 Ulrich Drepper <drepper@gmail.com>
23803
27deeafc
UD
23804 [BZ #13166]
23805 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
23806 buffer for the output is too small.
23807
aed9d171
UD
23808 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
23809 optimization.
23810
db910efd
UD
23811 [BZ #13185]
23812 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
23813 SSE flags if possible.
23814
2bd779ae
LD
238152011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23816
e7f9dac3 23817 [BZ #13540]
2bd779ae
LD
23818 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
23819 processing for last bytes.
23820
154bfc16
JM
238212011-12-22 Joseph Myers <joseph@codesourcery.com>
23822
23823 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
23824 (syscall-list-default-options, syscall-list-default-condition)
23825 (syscall-list-includes): Define.
23826 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
23827 list of ABIs and options and #if conditions for each ABI. Do not
23828 handle common syscalls between ABIs specially.
23829 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
23830 Remove.
23831 (syscall-list-variants, syscall-list-32bit-options)
23832 (syscall-list-32bit-condition, syscall-list-64bit-options)
23833 (syscall-list-64bit-condition): Define.
23834 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
23835 (syscall-list-variants, syscall-list-32bit-options)
23836 (syscall-list-32bit-condition, syscall-list-64bit-options)
23837 (syscall-list-64bit-condition): Define.
23838 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
23839 Remove.
23840 (syscall-list-variants, syscall-list-32bit-options)
23841 (syscall-list-32bit-condition, syscall-list-64bit-options)
23842 (syscall-list-64bit-condition): Define.
23843 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
23844 Remove.
23845 (syscall-list-variants, syscall-list-32bit-options)
23846 (syscall-list-32bit-condition, syscall-list-64bit-options)
23847 (syscall-list-64bit-condition): Define.
23848
21eaf3a5
UD
238492011-12-22 Ulrich Drepper <drepper@gmail.com>
23850
16c6f992
UD
23851 * locale/iso-639.def: Add brx entry.
23852
41043168
UD
23853 [BZ #13328]
23854 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
23855 Proposed by Mariusz_Cukr <marcukr@op.pl>.
23856
21eaf3a5
UD
23857 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
23858 __feraiseexcept_renamed.
23859
e3a851a2
UD
238602011-12-21 Ulrich Drepper <drepper@gmail.com>
23861
4920765e
UD
23862 [BZ #13538]
23863 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
23864 EPOLLET with unsigned values.
23865 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23866 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23867
e3a851a2
UD
23868 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
23869 to large cancellation.
23870 * math/s_cacoshf.c: Likewise.
23871 * math/s_cacoshl.c: Likewise.
23872
b27e24b8
RK
238732011-11-18 Richard B. Kreckel <kreckel@ginac.de>
23874
23875 [BZ #13305]
aebefeee 23876 [BZ #12786]
b27e24b8
RK
23877 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
23878 * math/s_cacoshf.c: Likewise.
23879 * math/s_cacoshl.c: Likewise.
23880
ee190f67
UD
238812011-12-21 Ulrich Drepper <drepper@gmail.com>
23882
23883 [BZ #13439]
23884 * iconv/gconv.h: Define __GCONV_SWAP.
23885 * iconvdata/unicode.c: The swap bit must be stored in __flags.
23886 * iconvdata/utf-16.c: Likewise.
23887 * iconvdata/utf-32.c: Likewise.
23888
707f25df
AS
238892011-12-21 Andreas Schwab <schwab@linux-m68k.org>
23890
23891 [BZ #13524]
23892 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
23893 numerator after shifting it by one limb.
23894
d2daaa1e
RÁE
238952011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
23896
23897 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
23898 under [__USE_EXTERN_INLINES].
23899
a4647e72
UD
239002011-12-17 Ulrich Drepper <drepper@gmail.com>
23901
23902 [BZ #13446]
23903 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
23904
f0b264f1
AZ
239052011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23906
23907 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
23908 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
23909 optimized code.
23910 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
23911 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
23912 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
23913 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
23914 for strncasecmp/strncasecmp_l compilation.
23915 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
23916 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
23917
8ef4f244
MP
239182011-12-08 Marek Polacek <mpolacek@redhat.com>
23919
23920 [BZ #13484]
23921 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
23922 of __asm__.
23923
97ac2654
UD
239242011-12-17 Ulrich Drepper <drepper@gmail.com>
23925
23926 [BZ #13506]
23927 * time/tzfile.c (__tzfile_read): Check values from file header.
23928
91d2a845
WS
239292011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
23930
23931 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
23932 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
23933 * powerpc/powerpc32/dl-start.S: Likewise.
23934 * powerpc/powerpc32/elf/start.S: Likewise.
23935 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23936 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
23937 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
23938 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
23939 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23940 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
23941 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
23942 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23943 * powerpc/powerpc32/fpu/s_round.S: Likewise.
23944 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23945 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23946 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23947 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
23948 * powerpc/powerpc32/memset.S: Likewise.
23949 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23950 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23951 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23952 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23953 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23954 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23955 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23956 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23957 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
23958 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
23959 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
23960 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23961 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23962
a1267ba1
AZ
239632011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23964
23965 * math/libm-test.inc: Added more nearbyint tests.
23966 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
23967 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
23968 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
23969 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
23970
ad8ac1bd
RL
239712011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
23972
23973 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
23974 FD_CLOEXEC.
23975
1d3e4b61
UD
239762011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23977
23978 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
23979 Add wcscpy-ssse3 wcscpy-c.
23980 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
23981 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
23982 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
23983 * sysdeps/x86_64/wcschr.S: New file.
23984 * sysdeps/x86_64/wcsrchr.S: New file.
23985 * string/test-strcmp.c: Remove checking of wcscmp function for
23986 wrong alignments.
23987 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
23988 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
23989 wcsrchr-sse2 wcsrchr-c.
23990 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
23991 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
23992 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
23993 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
23994 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
23995 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
23996 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
23997 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
23998 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
23999 * wcsmbc/wcschr.c (WCSCHR): New macro.
24000
5b330a2d
UD
240012011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24002
24003 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
24004 * wcsmbs/test-wcsrchr.c: New file.
24005 * string/test-strrchr.c: Add wcsrchr support.
24006 (WIDE): New macro.
24007 * wcsmbs/test-wcscpy.c: New file.
24008 * string/test-strcpy.c: Add wcscpy support.
24009 (WIDE): New macro.
26428b7c 24010
f039c043
UD
240112011-12-10 Ulrich Drepper <drepper@gmail.com>
24012
24013 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
24014 the inner loop.
24015
850fb039
AS
240162011-12-06 Andreas Schwab <schwab@linux-m68k.org>
24017
24018 [BZ #13472]
24019 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
24020
4efbd5cb
UD
240212011-12-04 Ulrich Drepper <drepper@gmail.com>
24022
52ff5dd0 24023 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 24024 Minor optimizations.
52ff5dd0 24025
4efbd5cb
UD
24026 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
24027 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
24028 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24029
8a426e12
UD
240302011-12-03 Ulrich Drepper <drepper@gmail.com>
24031
aff2453d
UD
24032 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
24033 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
24034 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
24035 for gcc to avoid warnings.
24036 * inet/Makefile (tests): Add tst-checks.
24037 * inet/tst-checks.c: New file.
24038
24039 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
24040 warning.
24041
24042 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
24043 __wmemcmp_sse2.
24044
24045 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
24046 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
24047
8a426e12
UD
24048 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
24049
9bea3473
UD
240502011-12-02 Ulrich Drepper <drepper@gmail.com>
24051
3a965496
UD
24052 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
24053 problem.
24054
9bea3473
UD
24055 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
24056
f101631b
UD
240572011-11-29 Joseph Myers <joseph@codesourcery.com>
24058
24059 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
24060 conditional on GCC version.
24061 (__arch_compare_and_exchange_val_8_acq)
24062 (__arch_compare_and_exchange_val_16_acq)
24063 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
24064 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
24065 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
24066
a98275aa
UD
240672011-12-02 Joseph Myers <joseph@codesourcery.com>
24068
24069 * sysdeps/sh/backtrace.c: New file.
24070
d4cc29a2
AS
240712011-12-02 Andreas Schwab <schwab@redhat.com>
24072
24073 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
24074 parenthesis.
24075
6257af2d
AS
240762011-12-01 Andreas Schwab <schwab@redhat.com>
24077
24078 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
24079 falling back to utime.
24080
b5f44c1a
AS
240812011-11-30 Andreas Schwab <schwab@redhat.com>
24082
24083 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
24084 expectations for float.
24085
f3a6cc0a
AS
240862011-11-29 Andreas Schwab <schwab@redhat.com>
24087
24088 * locale/weight.h (findidx): Add parameter len.
24089 * locale/weightwc.h (findidx): Likewise.
24090 * posix/fnmatch_loop.c (FCT): Adjust caller.
24091 * posix/regcomp.c (build_equiv_class): Likewise.
24092 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
24093 * posix/regexec.c (check_node_accept_bytes): Likewise.
24094 * string/strcoll_l.c (STRCOLL): Likewise.
24095 * string/strxfrm_l.c (STRXFRM): Likewise.
24096
9d65ea3a
UD
240972011-11-17 Ulrich Drepper <drepper@gmail.com>
24098
24099 * Makefile.in: Remove CVSOPT handling.
24100 * configure.in: Remove use of AC_REVISION.
24101 * iconvdata/Makefile (distribute): No need to filter out CVS.
24102 * scripts/list-sources.sh: Remove CVS, subversion and monotone
24103 handling.
24104
5583a086
AS
241052011-11-16 Andreas Schwab <schwab@redhat.com>
24106
24107 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
24108 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
24109 [USE_AS_STRNCASECMP_L]: Likewise.
24110 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
24111 NO_TLS_DIRECT_SEG_REFS.
24112 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
24113 Fix argument offsets for non-PIC.
24114 [USE_AS_STRNCASECMP_L]: Likewise.
24115 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
24116 NO_TLS_DIRECT_SEG_REFS.
24117
d62a8200
UD
241182011-11-15 Ulrich Drepper <drepper@gmail.com>
24119
9d65ea3a 24120 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
24121 O_CLOEXEC.
24122 * locale/loadlocale.c (_nl_load_locale): Likewise.
24123
09f93bd3
AS
241242011-11-15 Andreas Schwab <schwab@redhat.com>
24125
446514f9
AS
24126 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
24127 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
24128 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
24129 (SYSCALL_GETTIME): Set errno on error.
24130
09f93bd3
AS
24131 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
24132 count references to noai6ai_cached.
24133
312be3f9
UD
241342011-11-15 Ulrich Drepper <drepper@gmail.com>
24135
24136 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
24137
24138 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
24139 FD_CLOEXEC for /proc/self/maps.
24140
24141 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
24142 FD_CLOEXEC for /proc/meminfo.
24143
24144 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
24145 gai.conf.
24146
24147 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
24148 FD_CLOEXEC for given file.
24149
24150 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
24151
24152 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
24153 FD_CLOEXEC for /etc/hosts.
24154 (_gethtent): Likewise.
24155
24156 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
24157
24158 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
24159 cancellation and set FD_CLOEXEC for /etc/netgroup.
24160
24161 * nss/nss_files/files-key.c (search): Don't allow cancellation when
24162 reading /etc/publickey.
24163
24164 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
24165 allow cancellation when reading /etc/group.
24166
24167 * nss/nss_files/files-alias.c (internal_setent): Don't allow
24168 cancellation.
24169 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
24170
24171 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
24172 when using data file.
24173
24174 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
24175
24176 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
24177 (write_nis_obj): Use "c" and "e" in fopen.
24178
24179 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
24180
24181 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
24182
24183 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
24184
24185 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
24186
24187 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
24188 locale.alias.
24189
24190 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
24191
24192 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
24193
24194 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
24195
24196 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
24197 file parsing and set FD_CLOEXEC.
24198
82af0fa8
UD
241992011-11-14 Ulrich Drepper <drepper@gmail.com>
24200
24201 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
24202
a5fb313c
AS
242032011-11-14 Andreas Schwab <schwab@redhat.com>
24204
24205 * malloc/arena.c (arena_get2): Don't call reused_arena when
24206 _int_new_arena failed.
24207
6abf3465
UD
242082011-11-14 Ulrich Drepper <drepper@gmail.com>
24209
24210 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
24211 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
24212 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
24213 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24214 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24215 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
24216 to compile strcasecmp and strncasecmp.
24217 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
24218 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
24219
24220 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
24221
76e3966e
UD
242222011-11-13 Ulrich Drepper <drepper@gmail.com>
24223
24224 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
24225 locale-defines.sym to gen-as-const-headers.
24226 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
24227 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
24228 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
24229 to compile strcasecmp and strncasecmp.
24230 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
24231 strcasecmp_l and strncasecmp_l.
24232 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
24233 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
24234 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
24235 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
24236 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
24237 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
24238 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
24239 * sysdeps/i386/i686/multiarch/strncase.S: New file.
24240 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
24241 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
24242 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
24243
ab26144e
UD
242442011-11-12 Ulrich Drepper <drepper@gmail.com>
24245
7edb22ef
UD
24246 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
24247 result of SYSDEP_GETTIME_CPU to retval.
24248 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
24249 parameter list to macro. Remove trailing semicolon. Adjust users.
24250
9694fc44
UD
24251 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
24252 variable.
24253
8ad89ef8
UD
24254 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
24255 mantissa words.
24256 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
24257
0c822ef9
UD
24258 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
24259 from unused variable.
24260
874e0564
UD
24261 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
24262 DWARF definitions.
24263 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
24264 for assembling.
24265
3a2edc79
UD
24266 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
24267 over namespaces.
24268
f3c2577f
UD
24269 * sunrpc/rpc_prot.c (rejected): Fix case value.
24270
294ce126
UD
24271 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
24272 unsigned long long int to avoid warnings in shift.
24273
5e2b63c6
UD
24274 * posix/regex_internal.c (re_string_reconstruct): Actually use result
24275 of use of trans.
24276 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
24277 variable tmp.
24278
e7f4b08e
UD
24279 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
24280 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24281 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24282
ab26144e
UD
24283 * nis/nis_table.c (nis_list): Use variable of correct type for
24284 result of __follow_path call.
24285
8a6d5255
AZ
242862011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24287
24288 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
24289 of math functions ceil, trunc, floor, round, and sqrt, when
24290 avaliable on the platform.
24291 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
24292 name clash.
24293 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24294 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24295 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24296
aaddc98c
MP
242972011-10-30 Marek Polacek <mpolacek@redhat.com>
24298
24299 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
24300 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24301
95b7042b
RM
243022011-11-11 Roland McGrath <roland@hack.frob.com>
24303
24304 * include/unistd.h: Fix __readlink return type.
24305 Reported by Chris Metcalf <cmetcalf@tilera.com>.
24306
57769839
UD
243072011-11-11 Ulrich Drepper <drepper@gmail.com>
24308
24309 * stdlib/ucontext.h: Undo last change for makecontext.
24310
edc5984d
AS
243112011-11-11 Andreas Schwab <schwab@redhat.com>
24312
98591e58
AS
24313 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
24314
edc5984d
AS
24315 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
24316 * setjmp/setjmp.h: Mark functions as non-leaf.
24317 * setjmp/bits/setjmp2.h: Likewise.
24318 * stdlib/ucontext.h: Likewise.
24319
77cdc054
AS
243202011-11-10 Andreas Schwab <schwab@redhat.com>
24321
24322 * malloc/arena.c (_int_new_arena): Don't increment narenas.
24323 (reused_arena): Don't check arena limit.
24324 (arena_get2): Atomically check arena limit.
24325
fe72eebd
UD
243262011-11-08 Ulrich Drepper <drepper@gmail.com>
24327
5f078c32
UD
24328 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
24329 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
24330
fe72eebd
UD
24331 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
24332 instructions.
24333
ae1bc2fa
AS
243342011-11-07 Andreas Schwab <schwab@redhat.com>
24335
7583a88d
AS
24336 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
24337 handler when locking.
24338
ae1bc2fa
AS
24339 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24340 Fix size of allocated buffer.
24341
10fb0bfa
AS
243422011-11-04 Andreas Schwab <schwab@redhat.com>
24343
998832a4
AS
24344 [BZ #10103]
24345 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
24346 declarations for long double functions.
24347 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
24348
10fb0bfa
AS
24349 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
24350
3d7ba52b
AS
243512011-11-03 Andreas Schwab <schwab@redhat.com>
24352
a9ae54a1
AS
24353 * nscd/nscd.c (main): Don't start AVC thread until credentials are
24354 installed.
24355
3d7ba52b
AS
24356 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
24357 is disabled.
24358
bc8db248
ST
243592011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
24360
24361 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
24362
45b96dd6
AS
243632011-11-01 Andreas Schwab <schwab@linux-m68k.org>
24364
647776f6
AS
24365 * include/alloca.h (stackinfo_alloca_round): Define.
24366 (extend_alloca): Use it.
24367 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
24368 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
24369 here.
24370
d91a8b93
AS
24371 * scripts/check-local-headers.sh: Ignore libaudit.h.
24372
45b96dd6
AS
24373 * nscd/Makefile (extra-objs): Make recursively expanded.
24374
432d41ce
UD
243752011-11-01 Ulrich Drepper <drepper@gmail.com>
24376
34372fc6
UD
24377 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
24378 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24379
fadb59f8
UD
24380 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
24381 * posix/tst-rfc3484-2.c: Likewise.
24382 * posix/tst-rfc3484-3.c: Likewise.
24383
78239589
UD
24384 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24385 process_vm_writev.
24386 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
24387 process_vm_writev.
24388 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
24389 process_vm_writev from libc using GLIBC_2.15 version.
24390
432d41ce
UD
24391 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
24392
02f9c6cf
PP
243932011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
24394
24395 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
24396 stack usage.
24397
3a2c0242
UD
243982011-10-31 Ulrich Drepper <drepper@gmail.com>
24399
f4ec4833
UD
24400 [BZ #13367]
24401 * nss/getent.c (initgroups_keys): Show error message in case no group
24402 names are given.
24403
3a2c0242
UD
24404 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
24405 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
24406 __bump_nl_timestamp.
24407 * nscd/connections (nscd_init): When host database is served open
24408 netlink socket and request notification about configuration changes.
24409 (main_loop_poll): Track netlink file descriptor and bump timestamp
24410 in case data becomes available.
24411 (main_loop_epoll): Likewise.
24412 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
24413 (database_pers_head): Add extra_data fileds.
24414 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
24415 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
24416 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
24417 Adjust caller.
24418 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
24419 in6ai data, call __free_in6ai.
24420 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
24421 Add -DHAVE_NETLINK.
24422 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
24423 interface information. Reuse previous data if netlink timestamp
24424 is not changed.
24425 (__bump_nl_timestamp): New function.
24426 (__free_in6ai): New function.
24427
636064eb
UD
244282011-10-30 Ulrich Drepper <drepper@gmail.com>
24429
24430 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
24431 close_not_cancel_no_status here.
24432 (__check_pf): Reorganize code a bit to not call close twice if OOM.
24433
9beb2334
UD
244342011-10-29 Ulrich Drepper <drepper@gmail.com>
24435
6ef76f3b
UD
24436 [BZ #13276]
24437 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
24438 return value.
24439
0ffc4f3e 24440 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
24441 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
24442 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
24443
cb95113e
UD
244442011-07-03 Andreas Jaeger <aj@suse.de>
24445
24446 [BZ #10709]
24447 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
24448 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
24449 * math/libm-test.inc (sin_test): Add test case.
24450
a1b560ff
UD
244512011-10-29 Ulrich Drepper <drepper@gmail.com>
24452
c9aaface
UD
24453 [BZ #13337]
24454 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
24455 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24456
d272e7f1
UD
24457 * elf/chroot_canon.c (chroot_canon): Cleanups.
24458
1bc33071
UD
24459 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
24460
1760874d
TJ
24461 [BZ #13335]
24462 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
24463 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24464
51d91b18
UD
24465 * string/test-strchr.c: Make usable for strchrnul testing.
24466 * string/test-strchrnul.c: New file.
24467 * string/Makefile (strop-tests): Add strchrnul.
24468
a1b560ff 24469 * po/it.po: Update from translation team.
b611fb81 24470 * po/es.po: Likewise.
a1b560ff 24471
a5b81e1f
UD
244722011-10-28 Ulrich Drepper <drepper@gmail.com>
24473
fd52bc6d
UD
24474 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
24475 the three constants needed as parameters. Drop the others.
24476 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
24477 __m128i_strloadu_tolower.
52e4b9eb
UD
24478 Create and initialize variable zero and use it in all the places
24479 where _mm_setzero_si128 was used.
fd52bc6d 24480
a5b81e1f
UD
24481 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
24482 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
24483 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
24484 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
24485 anymore.
24486 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
24487 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
24488 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
24489 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
24490 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
24491 __mpranred, __mptan.
24492 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
24493 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
24494 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
24495 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
24496 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
24497 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
24498 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
24499 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
24500 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
24501
b4343346
AS
245022011-10-28 Andreas Schwab <schwab@redhat.com>
24503
0c92d8a8
AS
24504 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
24505 redefine if SHARED.
24506 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
24507
b4343346
AS
24508 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
24509 wide char related routines to wcsmbs subdir.
24510
3871f58f
AS
245112011-10-27 Andreas Schwab <schwab@redhat.com>
24512
24513 [BZ #13344]
24514 * misc/sys/cdefs.h (__THROWNL): Define.
24515 * posix/unistd.h: Use __THREADNL instead of __THREAD
24516 for memory synchronization functions.
24517
94d44d9f
RM
245182011-10-26 Roland McGrath <roland@hack.frob.com>
24519
21b64b15 24520 [BZ #13349]
94d44d9f
RM
24521 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
24522 doesn't exist.
24523 * manual/stdio.texi (Obstack Streams): Node removed.
24524
f6ce9294
AS
245252011-10-26 Andreas Schwab <schwab@redhat.com>
24526
80479147
AS
24527 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
24528 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24529 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24530
f6ce9294
AS
24531 * math/math_private.h (math_force_eval): Allow non-addressable
24532 arguments.
24533 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
24534
618280a1
UD
245352011-10-25 Ulrich Drepper <drepper@gmail.com>
24536
e0016b11
UD
24537 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
24538 file is not needed.
24539
24540 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
24541 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
24542 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24543 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24544 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24545 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24546 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24547 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
24548 Add AVX variants.
24549 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
24550 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
24551 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
24552 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
24553 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
24554 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
24555 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
24556 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
24557 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
24558 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
24559 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
24560 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
24561 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
24562 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
24563 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
24564 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
24565 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
24566 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
24567 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
24568
24569 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
24570 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
24571
618280a1
UD
24572 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
24573 place. Use VEX encoding when compiling for AVX.
24574
37822576
AS
245752011-10-25 Andreas Schwab <schwab@redhat.com>
24576
1f1e1947
AS
24577 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
24578 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24579
37822576
AS
24580 * string/test-strchr.c (do_test): Don't generate NUL bytes.
24581
31ea014d
UD
245822011-10-25 Ulrich Drepper <drepper@gmail.com>
24583
d7826aa1 24584 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 24585 useless if() expression.
d7826aa1
UD
24586 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24587 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24588 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24589 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24590 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24591 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24592 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24593 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24594 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24595 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24596 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24597 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24598 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24599 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24600 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24601 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24602 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24603 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24604 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24605
31ea014d
UD
24606 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
24607
16437fec
AS
246082011-10-25 Andreas Schwab <schwab@redhat.com>
24609
24610 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
24611 condition.
24612 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24613
31d3cc00
UD
246142011-10-25 Ulrich Drepper <drepper@gmail.com>
24615
24616 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
24617 .text section. Avoid duplicate constants.
24618 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24619 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24620 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24621 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24622 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24623 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24624 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24625 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24626 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24627 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
24628 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24629 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24630 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24631 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24632 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24633 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24634 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24635 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24636 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24637 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24638 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24639 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24640 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24641 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
24642 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
24643 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
24644 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
24645 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
24646 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
24647 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
24648 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
24649 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
24650 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24651 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
24652 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
24653 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
24654 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
24655 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
24656 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
24657 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
24658 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
24659 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
24660 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
24661 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24662 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
24663
58985aa9
UD
246642011-10-24 Ulrich Drepper <drepper@gmail.com>
24665
202c9deb
UD
24666 * sysdeps/x86_64/dla.h: Move to ...
24667 * sysdeps/x86_64/fpu/dla.h: ...here.
24668 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
24669 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 24670
af968f62
UD
24671 * config.make.in: Add have-mfma4 entry.
24672 * configure.in: Substitute libc_cv_cc_fma4.
24673 * math/Makefile (dbl-only-routines): Add sincostab.
24674 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
24675 Use __sincostab not sincos.
24676 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
24677 name is a macro.
24678 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24679 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24680 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24681 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
24682 using __copysign.
24683 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
24684 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
24685 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
24686 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
24687 and __inv.
24688 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
24689 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
24690 __copysign.
24691 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
24692 define aliases when function name is a macro.
24693 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
24694 sysdeps/ieee754/dbl-64/sincos.tbl.
24695 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
24696 fma4-enabled routines.
24697 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
24698 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
24699 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
24700 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
24701 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
24702 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
24703 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
24704 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
24705 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
24706 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
24707 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
24708 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
24709 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
24710 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
24711 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
24712 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
24713 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
24714 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
24715 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
24716 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
24717 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
24718 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
24719 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
24720 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
24721 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
24722 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
24723 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
24724 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
24725 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
24726 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
24727
58985aa9
UD
24728 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
24729 rename.
24730 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24731 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24732 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24733 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24734 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24735 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24736 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24737 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24738
a201fbcf
AS
247392011-10-24 Andreas Schwab <schwab@redhat.com>
24740
24741 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
24742
fc2ee42a
LD
247432011-10-23 Ulrich Drepper <drepper@gmail.com>
24744
bb3129bd
UD
24745 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
24746
0275fff8
UD
24747 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
24748 prediction.
24749 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
24750
2fa2ae85
UD
24751 * string/strnlen.c: Don't define STRNLEN, reverse logic.
24752 Remove unused variable magic_bits.
24753 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
24754
fc2ee42a
LD
24755 * string/strnlen.c: Define and use STRNLEN macro.
24756 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
24757 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
24758 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
24759 * wcsmbs/wcslen.c: Define and use WCSLEN.
24760 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
24761 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
24762 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
24763 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
24764 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
24765 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
24766 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24767
ce7dd29f
LD
247682011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24769
24770 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24771 strnlen-sse2-no-bsf.
24772 Rename strlen-no-bsf to strlen-sse2-no-bsf.
24773 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
24774 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
24775 Add strnlen support.
24776 (USE_AS_STRNLEN): New macro.
24777 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
24778 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
24779 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
24780 * sysdeps/x86_64/wcslen.S: New file.
24781
979c70a3
MZ
247822011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
24783
24784 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24785 XMM-moves are used for copying on small sizes.
24786
2d09f82f
LD
247872011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24788
24789 * wcsmbs/Makefile (strop-tests): Add wcschr.
24790 * wcsmbs/test-wcschr.c: New file.
24791 * string/test-strchr.c: Update.
24792 Add wcschr support.
24793 (WIDE): New macro.
24794
619fccca
LD
247952011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24796
2d09f82f 24797 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
24798 * wcsmbs/test-wcslen.c: New file.
24799 * string/test-strlen.c: Update.
24800 Add wcslen support.
24801 (WIDE): New macro.
24802
09f699ea
UD
248032011-10-23 Ulrich Drepper <drepper@gmail.com>
24804
24805 * po/it.po: Update from translation team.
24806
95584d3b
LD
248072011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24808
24809 * sysdeps/x86_64/wcscmp.S: Update.
24810 Fix wrong comparison semantics.
24811 wcscmp shall use signed comparison not unsigned.
24812 Don't use substraction to avoid overflow bug.
24813 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24814 * wcsmbc/wcscmp.c: Likewise.
24815 * string/test-strcmp.c: Likewise.
24816 Add new tests to check cases with negative values.
24817
c8b3296b
UD
248182011-10-23 Ulrich Drepper <drepper@gmail.com>
24819
24820 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
24821 * sysdeps/x86_64/dla.h: ...here. New file.
24822 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
24823 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24824 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24825 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24826 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24827 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24828 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24829 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24830 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24831
246ad57a
AS
248322011-10-23 Andreas Schwab <schwab@linux-m68k.org>
24833
24834 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
24835 __ynl_finite aliases.
24836
a1a87169
UD
248372011-10-22 Ulrich Drepper <drepper@gmail.com>
24838
0d355eb7
UD
24839 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24840
a1a87169
UD
24841 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
24842 define DLA_FMA.
24843 [DLA_FMA] (EMULV): Use DLA_FMA.
24844 [DLA_FMA] (MUL12): Use EMULV.
24845 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
24846 that are not needed.
24847 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24848 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24849 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24850 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24851 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24852 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24853 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24854
ee2aafe0
AS
248552011-10-22 Andreas Schwab <schwab@linux-m68k.org>
24856
24857 * math/s_nan.c: Undef __nan.
24858 * math/s_nanf.c: Undef __nanf.
24859 * math/s_nanl.c: Undef __nanl.
24860 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
24861 "math_private.h".
24862
bc62c2fb
UD
248632011-10-22 Ulrich Drepper <drepper@gmail.com>
24864
77425c63
UD
24865 * math/s_catan.c: Add branch predictions.
24866 * math/s_catanf.c: Likewise.
24867 * math/s_catanh.c: Likewise.
24868 * math/s_catanhf.c: Likewise.
24869 * math/s_catanhl.c: Likewise.
24870 * math/s_catanl.c: Likewise.
24871 * math/s_cexp.c: Likewise.
24872 * math/s_cexpf.c: Likewise.
24873 * math/s_cexpl.c: Likewise.
24874 * math/s_clog.c: Likewise.
24875 * math/s_clog10.c: Likewise.
24876 * math/s_clog10f.c: Likewise.
24877 * math/s_clog10l.c: Likewise.
24878 * math/s_clogf.c: Likewise.
24879 * math/s_clogl.c: Likewise.
24880 * math/s_csqrt.c: Likewise.
24881 * math/s_csqrtf.c: Likewise.
24882 * math/s_csqrtl.c: Likewise.
24883 * math/s_ctanf.c: Likewise.
24884 * math/s_ctanh.c: Likewise.
24885 * math/s_ctanhf.c: Likewise.
24886 * math/s_ctanhl.c: Likewise.
24887 * math/s_ctanl.c: Likewise.
24888
bc62c2fb
UD
24889 * math/math_private.h: Define __nan, __nanf, __nanl.
24890 * math/s_cacosh.c: Include <math_private.h>.
24891 * math/s_cacoshl.c: Likewise.
24892 * math/s_casinh.c: Likewise.
24893 * math/s_casinhf.c: Likewise.
24894 * math/s_casinhl.c: Likewise.
24895 * math/s_ccos.c: Rely entire on ccosh.
24896 * math/s_ccosf.c: Rely entire on ccoshf.
24897 * math/s_ccosl.c: Rely entirely on ccoshl.
24898 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
24899 Remove tests for FE_INVALID.
24900 * math/s_ccoshf.c: Likewise.
24901 * math/s_ccoshl.c: Likewise.
24902 * math/s_csin.c: Likewise.
24903 * math/s_csinf.c: Likewise.
24904 * math/s_csinh.c Likewise.
24905 * math/s_csinhf.c: Likewise.
24906 * math/s_csinhl.c: Likewise.
24907 * math/s_csinl.c: Likewise.
24908 * math/s_ctan.c: Likewise.
24909 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
24910 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
24911 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
24912
8ec250a4
UD
249132011-10-21 Ulrich Drepper <drepper@gmail.com>
24914
c196fed8
UD
24915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
24916 compilation problems.
24917
8ec250a4
UD
24918 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
24919 __builtin_expect.
24920
8d4f46c6
UD
249212011-10-20 Ulrich Drepper <drepper@gmail.com>
24922
ed72b654
UD
24923 * sysdeps/i386/configure.in: Test for -mfma4 option.
24924 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
24925 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
24926 COMMON_CPUID_INDEX_80000001.
24927 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
24928 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
24929 use it if FMA3 is not supported.
24930 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
24931
8d4f46c6
UD
24932 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
24933 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24934
d45c60c2
AS
249352011-10-20 Andreas Schwab <schwab@redhat.com>
24936
24937 [BZ #12892]
24938 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
24939 it would create a cycle with a link time dependency.
24940
d9a4d2ab
UD
249412011-10-19 Ulrich Drepper <drepper@gmail.com>
24942
855d1560
UD
24943 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
24944 instruction.
24945 * string/Makefile (strop-tests): Add rawmemchr.
24946 * string/test-rawmemchr.c: New file.
24947
d9a4d2ab
UD
24948 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
24949 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
24950 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
24951 when compiling str{,n}casecmp and when AVX is available. Hook up
24952 new optimized code in initializers.
24953
8f3b1ffe
AS
249542011-10-19 Andreas Schwab <schwab@redhat.com>
24955
24956 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
24957 __feraiseexcept instead of feraiseexcept.
24958
d38f1dba
UD
249592011-10-18 Ulrich Drepper <drepper@gmail.com>
24960
d9a8d0ab
UD
24961 * math/math_private.h: Define defaults for libc_fetestexcept and
24962 libc_feupdateenv.
24963 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
24964 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
24965 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24966 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24967 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24968 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24969 libc_fetestexcept and libc_feupdateenv.
24970
4855e3dd
UD
24971 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
24972 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
24973 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
24974 * sysdeps/x86_64/fpu/math_private.h: Define special version of
24975 libc_feholdexcept_setround.
24976
581d30e3
UD
24977 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
24978 Add s_nearbyint-c and s_nearbyintf-c.
24979 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
24980 nearbyintf inlines.
24981 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
24982 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
24983 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
24984 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
24985
d38f1dba
UD
24986 * math/math_private.h: Define defaults for libc_fegetround,
24987 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
24988 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
24989 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
24990 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
24991 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
24992 standard functions.
24993 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24994 Remove comments and hacks for old compiler versions.
24995 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
24996 libc_fegetround, libc_fesetround, libc_feholdexcept, and
24997 libc_feholdexceptl.
24998
caa6c9d8
AS
249992011-10-18 Andreas Schwab <schwab@redhat.com>
25000
25001 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
25002 (__feraiseexcept_renamed): Add __NTH.
25003 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
25004 namespace violations.
25005
97c066e6
UD
250062011-10-17 Ulrich Drepper <drepper@gmail.com>
25007
99ce7b04
UD
25008 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
25009
1004d182
UD
25010 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
25011
228a984d
UD
25012 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
25013 recently added interfaces.
25014 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
25015
c8553a6a
UD
25016 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
25017 about macro parameter expansion.
25018
ed22dcf6
UD
25019 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
25020 __NO_MATH_INLINES is defined. Cleanups.
25021
25022 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
25023 and __floorf is target has SSE4.1.
25024 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
25025 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
25026 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
25027 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
25028
b171c137
UD
25029 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
25030 name.
25031 (floorf): Likewise.
25032
97c066e6
UD
25033 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
25034
629f62ef
AS
250352011-10-17 Andreas Schwab <schwab@redhat.com>
25036
49a43d80
AS
25037 * misc/sys/cdefs.h: Fix last change.
25038
629f62ef
AS
25039 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
25040 database lookup.
25041
e453f6cd
UD
250422011-10-16 Ulrich Drepper <drepper@gmail.com>
25043
aa78043a
UD
25044 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
25045
ad0f5cad
UD
25046 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
25047 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25048 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25049 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25050 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25051 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25052 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25053 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25054 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25055 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
25056 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
25057 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
25058 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
25059 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
25060 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
25061 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
25062 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
25063 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
25064 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
25065 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
25066 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
25067 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
25068
25069 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
25070 ceil, ceilf, floor, floorf.
25071
25072 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
25073 Perform IRELATIVE relocations last.
25074
e453f6cd
UD
25075 * elf/do-rel.h: Add another parameter nrelative, replacing the
25076 local variable with the same name. Change name of the function
25077 to end in Rel or Rela (uppercase).
25078 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
25079 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
25080 elf_dynamic_do_##reloc function.
25081
fd5bdc09
UD
250822011-10-15 Ulrich Drepper <drepper@gmail.com>
25083
79b195b5
UD
25084 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
25085 is sufficient, at least on modern CPUs.
25086
d4a28569
UD
25087 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
25088
b61099b5
UD
25089 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
25090 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
25091
bcf01e6d
UD
25092 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
25093 __expl_finite.
25094 * math/bits/math-finite.h: Add entries for exp.
25095 * math/e_expl.c: Add __*_finite alias.
25096 * sysdeps/i386/fpu/e_exp.S: Likewise.
25097 * sysdeps/i386/fpu/e_expf.S: Likewise.
25098 * sysdeps/i386/fpu/e_expl.c: Likewise.
25099 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25100 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25101 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25102 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25103 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
25104 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25105 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25106
ba1a0d59
UD
25107 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
25108 is sufficient, at least on modern CPUs.
25109
fd5bdc09
UD
25110 * ctype/ctype-info.c (__ctype_init): Define.
25111 * include/ctype.h (__ctype_init): Declare.
25112 (__ctype_b_loc): The variable is always initialized.
25113 (__ctype_toupper_loc): Likewise.
25114 (__ctype_tolower_loc): Likewise.
25115 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
25116 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
25117
7872cfb0
AS
251182011-10-15 Andreas Schwab <schwab@linux-m68k.org>
25119
b468825a
AS
25120 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
25121
7872cfb0
AS
25122 * configure.in: Also look in $cxxmachine/include for C++ system
25123 headers.
25124
be13f7bf
LD
251252011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25126
25127 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
25128 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
25129 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
25130 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
25131 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
25132 (USE_AS_WMEMCMP): New macro.
25133 Fixing indents.
25134 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
25135 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
25136 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
25137 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
25138 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25139 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
25140 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
25141 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
25142 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
25143 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
25144 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
25145 (USE_AS_WMEMCMP): New macro.
25146 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
25147 * sysdeps/string/test-memcmp.c: Update.
25148 Fix simple_wmemcmp.
25149 Add new tests.
25150 * wcsmbs/wmemcmp.c: Update.
25151 (WMEMCMP): New macro.
25152 Fix overflow bug.
25153
556a2007
AJ
251542011-10-12 Andreas Jaeger <aj@suse.de>
25155
25156 [BZ #13268]
25157 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
25158
538faaa7
UD
251592011-10-15 Ulrich Drepper <drepper@gmail.com>
25160
ab6737ff
UD
25161 * libio/iofwide.c (do_length): Avoid warning.
25162
538faaa7
UD
25163 * ctype/ctype.h (__isctype_f): Add missing __THROW.
25164
396a21b1
UD
251652011-10-14 Ulrich Drepper <drepper@gmail.com>
25166
cdf2901f
UD
25167 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
25168
38ad40ce
UD
25169 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
25170 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
25171 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
25172 * sysdeps/i386/i686/fpu/e_log.S: New file.
25173 * sysdeps/i386/i686/fpu/e_logf.S: New file.
25174 * sysdeps/i386/i686/fpu/e_logl.S: New file.
25175
396a21b1
UD
25176 * ctype/ctype.h: Add support for inlined isXXX functions when
25177 compiling C++ code.
25178
6b1f68c9
AS
251792011-10-14 Andreas Schwab <schwab@redhat.com>
25180
349290c0
AS
25181 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25182
6b1f68c9
AS
25183 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
25184
f2282d42
RM
251852011-10-13 Roland McGrath <roland@hack.frob.com>
25186
25187 [BZ #13291]
25188 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
25189
5298ffa8
AS
251902011-10-13 Andreas Schwab <schwab@redhat.com>
25191
714fad23
AS
25192 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
25193 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
25194 feraiseexcept.
25195
81dcc7fb
AS
25196 * sysdeps/x86_64/memrchr.S: Check for zero size.
25197
5298ffa8
AS
25198 * string/stratcliff.c: Add memrchr tests.
25199
951fbcec
LD
252002011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25201
25202 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25203 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
25204 rawmemchr-sse2 rawmemchr-sse2-bsf.
25205 * sysdeps/i386/i686/multiarch/memchr.S: New file.
25206 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
25207 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
25208 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
25209 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
25210 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
25211 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
25212 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
25213 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
25214 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
25215 * string/memrchr.c (MEMRCHR): New macro.
25216
0ac5ae23
UD
252172011-10-12 Ulrich Drepper <drepper@gmail.com>
25218
25219 Add integration with gcc's -ffinite-math-only and optimize wrapper
25220 functions in libm.
25221 * Versions.def: Define GLIBC_2.15 version for libm.
25222 * math/Makefile (headers): Add bits/math-finite.h.
25223 * math/bits/math-finite.h: New file.
25224 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
25225 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
25226 * math/e_acoshl.c: Add __*_finite alias.
25227 * math/e_acosl.c: Likewise.
25228 * math/e_asinl.c: Likewise.
25229 * math/e_atan2l.c: Likewise.
25230 * math/e_atanhl.c: Likewise.
25231 * math/e_coshl.c: Likewise.
25232 * math/e_exp10.c: Likewise.
25233 * math/e_exp10f.c: Likewise.
25234 * math/e_exp10l.c: Likewise.
25235 * math/e_exp2l.c: Likewise.
25236 * math/e_fmodl.c: Likewise.
25237 * math/e_gammal_r.c: Likewise.
25238 * math/e_hypotl.c: Likewise.
25239 * math/e_j0l.c: Likewise.
25240 * math/e_j1l.c: Likewise.
25241 * math/e_jnl.c: Likewise.
25242 * math/e_lgammal_r.c: Likewise.
25243 * math/e_log10l.c: Likewise.
25244 * math/e_log2l.c: Likewise.
25245 * math/e_logl.c: Likewise.
25246 * math/e_powl.c: Likewise.
25247 * math/e_sinhl.c: Likewise.
25248 * math/e_sqrtl.c: Likewise.
25249 * math/e_scalb.c: Completely rewritten and optimized.
25250 * math/e_scalbf.c: Likewise.
25251 * math/e_scalbl.c: Likewise.
25252 * math/w_acos.c: Likewise.
25253 * math/w_acosf.c: Likewise.
25254 * math/w_acosl.c: Likewise.
25255 * math/w_acosh.c: Likewise.
25256 * math/w_acoshf.c: Likewise.
25257 * math/w_acoshl.c: Likewise.
25258 * math/w_asin.c: Likewise.
25259 * math/w_asinf.c: Likewise.
25260 * math/w_asinl.c: Likewise.
25261 * math/w_atan2.c: Likewise.
25262 * math/w_atan2f.c: Likewise.
25263 * math/w_atan2l.c: Likewise.
25264 * math/w_atanh.c: Likewise.
25265 * math/w_atanhf.c: Likewise.
25266 * math/w_atanhl.c: Likewise.
25267 * math/w_exp10.c: Likewise.
25268 * math/w_exp10f.c: Likewise.
25269 * math/w_exp10l.c: Likewise.
25270 * math/w_fmod.c: Likewise.
25271 * math/w_fmodf.c: Likewise.
25272 * math/w_fmodl.c: Likewise.
25273 * math/w_j0.c: Likewise.
25274 * math/w_j0f.c: Likewise.
25275 * math/w_j0l.c: Likewise.
25276 * math/w_j1.c: Likewise.
25277 * math/w_j1f.c: Likewise.
25278 * math/w_j1l.c: Likewise.
25279 * math/w_jn.c: Likewise.
25280 * math/w_jnf.c: Likewise.
25281 * math/w_log.c: Likewise.
25282 * math/w_logf.c: Likewise.
25283 * math/w_logl.c: Likewise.
25284 * math/w_log10.c: Likewise.
25285 * math/w_log10f.c: Likewise.
25286 * math/w_log10l.c: Likewise.
25287 * math/w_log2.c: Likewise.
25288 * math/w_log2f.c: Likewise.
25289 * math/w_log2l.c: Likewise.
25290 * math/w_pow.c: Likewise.
25291 * math/w_powf.c: Likewise.
25292 * math/w_powl.c: Likewise.
25293 * math/w_remainder.c: Likewise.
25294 * math/w_remainderf.c: Likewise.
25295 * math/w_remainderl.c: Likewise.
25296 * math/w_scalb.c: Likewise.
25297 * math/w_scalbf.c: Likewise.
25298 * math/w_scalbl.c: Likewise.
25299 * math/w_sqrt.c: Likewise.
25300 * math/w_sqrtf.c: Likewise.
25301 * math/w_sqrtl.c: Likewise.
25302 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
25303 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
25304 used.
25305 * math/math_private.h: Declare __kernel_standard_f.
25306 * math/w_cosh.c: Remove cruft and optimize a bit.
25307 * math/w_coshf.c: Likewise.
25308 * math/w_coshl.c: Likewise.
25309 * math/w_exp2.c: Likewise.
25310 * math/w_exp2f.c: Likewise.
25311 * math/w_exp2l.c: Likewise.
25312 * math/w_hypot.c: Likewise.
25313 * math/w_hypotf.c: Likewise.
25314 * math/w_hypotl.c: Likewise.
25315 * math/w_lgamma.c: Likewise.
25316 * math/w_lgamma_r.c: Likewise.
25317 * math/w_lgammaf.c: Likewise.
25318 * math/w_lgammaf_r.c: Likewise.
25319 * math/w_lgammal.c: Likewise.
25320 * math/w_lgammal_r.c: Likewise.
25321 * math/w_sinh.c: Likewise.
25322 * math/w_sinhf.c: Likewise.
25323 * math/w_sinhl.c: Likewise.
25324 * math/w_tgamma.c: Likewise.
25325 * math/w_tgammaf.c: Likewise.
25326 * math/w_tgammal.c: Likewise.
25327 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25328 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25329 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
25330 Minor optimizations. Pretty printing. Remove cruft.
25331 * sysdeps/i386/fpu/e_acosf.S: Likewise.
25332 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25333 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25334 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25335 * sysdeps/i386/fpu/e_acosl.c: Likewise.
25336 * sysdeps/i386/fpu/e_asin.S: Likewise.
25337 * sysdeps/i386/fpu/e_asinf.S: Likewise.
25338 * sysdeps/i386/fpu/e_atan2.S: Likewise.
25339 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
25340 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
25341 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25342 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25343 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25344 * sysdeps/i386/fpu/e_exp10.S: Likewise.
25345 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
25346 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
25347 * sysdeps/i386/fpu/e_exp2.S: Likewise.
25348 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
25349 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
25350 * sysdeps/i386/fpu/e_fmod.S: Likewise.
25351 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
25352 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
25353 * sysdeps/i386/fpu/e_hypot.S: Likewise.
25354 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
25355 * sysdeps/i386/fpu/e_log.S: Likewise.
25356 * sysdeps/i386/fpu/e_log10.S: Likewise.
25357 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25358 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25359 * sysdeps/i386/fpu/e_log2.S: Likewise.
25360 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25361 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25362 * sysdeps/i386/fpu/e_logf.S: Likewise.
25363 * sysdeps/i386/fpu/e_logl.S: Likewise.
25364 * sysdeps/i386/fpu/e_pow.S: Likewise.
25365 * sysdeps/i386/fpu/e_powf.S: Likewise.
25366 * sysdeps/i386/fpu/e_powl.S: Likewise.
25367 * sysdeps/i386/fpu/e_remainder.S: Likewise.
25368 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
25369 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
25370 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25371 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25372 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25373 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
25374 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
25375 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
25376 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25377 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25378 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25379 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25380 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25381 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25382 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25383 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25384 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25385 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25386 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25387 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25388 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25389 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25390 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25391 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25392 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25393 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25394 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25395 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25396 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25397 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25398 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25399 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25400 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25401 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25402 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25403 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25404 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
25405 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25406 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25407 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25408 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25409 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25410 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25411 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25412 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25413 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25414 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25415 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25416 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25417 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25418 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25419 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25420 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25421 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25422 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25423 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25424 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25425 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
25426 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25427 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25428 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25429 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25430 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25431 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25432 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25433 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25434 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25435 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25436 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25437 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25438 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25439 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25440 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25441 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25442 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25443 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25444 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
25445 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25446 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25447 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25448 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25449 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25450 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25451 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25452 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25453 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25454 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25455 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25456 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25457 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25458 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
25459 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25460 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25461 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25462 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25463 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25464 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25465 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25466 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25467 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25468 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25469 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25470 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25471 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25472 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25473 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
25474 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
25475 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
25476 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
25477 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
25478 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
25479 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
25480 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25481 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25482 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25483 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25484 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
25485 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25486 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
25487 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
25488 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
25489 (__isnanf): Likewise.
25490 (__isinf_ns): Likewise.
25491 (__isinf_nsf): Likewise.
25492 (__finite): Likewise.
25493 (__finitef): Likewise.
25494 (__ieee754_sqrt): Define as macro.
25495 (__ieee754_sqrtf): Define as macro.
25496 (__ieee754_sqrtl): Define as macro.
25497 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
25498 inlined copy.
25499 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
25500 __FINITE_MATH_ONLY__ consistent.
25501 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
25502
12cc2fcd
AS
255032011-10-10 Andreas Schwab <schwab@linux-m68k.org>
25504
a843a204
AS
25505 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
25506 of rawmemchr.
25507
12cc2fcd
AS
25508 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
25509
c853acd5
UD
255102011-10-09 Ulrich Drepper <drepper@gmail.com>
25511
25512 * po/ja.po: Update from translation team.
25513
c658d255
RM
255142011-10-08 Roland McGrath <roland@hack.frob.com>
25515
110946e4
RM
25516 * locale/programs/locarchive.c (prepare_address_space): New function.
25517 (create_archive, enlarge_archive, open_archive): Use it.
25518
50604220
RM
25519 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
25520 inside [SHARED], where it is used.
25521
c658d255
RM
25522 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
25523
25524 * nss/getent.c (netgroup_keys): Remove unused variable.
25525 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25526
6a621eb7
UD
255272011-10-08 Ulrich Drepper <drepper@gmail.com>
25528
7edb55ce
UD
25529 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
25530 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
25531 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
25532 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
25533 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
25534 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
25535 * math/Makefile (libm-calls): Add s_isinf_ns.
25536 * math/divtc3.c: Use __isinf_nsl instead of isinf.
25537 * math/multc3.c: Likewise.
25538 * math/s_casin.c: Likewise.
25539 * math/s_casinf.c: Likewise.
25540 * math/s_casinl.c: Likewise.
25541 * math/s_ccos.c: Likewise.
25542 * math/s_ccosf.c: Likewise.
25543 * math/s_ccosl.c: Likewise.
25544 * math/s_ctan.c: Likewise.
25545 * math/s_ctanf.c: Likewise.
25546 * math/s_ctanh.c: Likewise.
25547 * math/s_ctanhf.c: Likewise.
25548 * math/s_ctanhl.c: Likewise.
25549 * math/s_ctanl.c: Likewise.
25550 * math/w_fmod.c: Likewise.
25551 * math/w_fmodf.c: Likewise.
25552 * math/w_fmodl.c: Likewise.
25553 * math/w_remainder.c: Likewise.
25554 * math/w_remainderf.c: Likewise.
25555 * math/w_remainderl.c: Likewise.
25556 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
25557 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
25558 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
25559 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
25560 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
25561 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
25562 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
25563 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
25564
187da0ae
UD
25565 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
25566 of the number.
25567 * stdio-common/printf_fphex.c: Likewise.
25568 * stdio-common/printf_size.c: Likewise.
25569
9277c064
UD
25570 * math/e_exp10.c: Include math_private.h using <...> not "...".
25571 * math/e_exp10f.c: Likewise.
25572 * math/e_exp10l.c: Likewise.
25573 * math/e_exp2l.c: Likewise.
25574 * math/e_j0l.c: Likewise.
25575 * math/e_j1l.c: Likewise.
25576 * math/e_jnl.c: Likewise.
25577 * math/e_lgammal_r.c: Likewise.
25578 * math/e_rem_pio2l.c: Likewise.
25579 * math/e_scalb.c: Likewise.
25580 * math/e_scalbf.c: Likewise.
25581 * math/e_scalbl.c: Likewise.
25582 * math/k_cosl.c: Likewise.
25583 * math/k_sinl.c: Likewise.
25584 * math/k_tanl.c: Likewise.
25585 * math/s_cacoshf.c: Likewise.
25586 * math/s_catan.c: Likewise.
25587 * math/s_catanf.c: Likewise.
25588 * math/s_catanh.c: Likewise.
25589 * math/s_catanhf.c: Likewise.
25590 * math/s_catanhl.c: Likewise.
25591 * math/s_catanl.c: Likewise.
25592 * math/s_ccosh.c: Likewise.
25593 * math/s_ccoshf.c: Likewise.
25594 * math/s_ccoshl.c: Likewise.
25595 * math/s_cexp.c: Likewise.
25596 * math/s_cexpf.c: Likewise.
25597 * math/s_cexpl.c: Likewise.
25598 * math/s_clog.c: Likewise.
25599 * math/s_clog10.c: Likewise.
25600 * math/s_clog10f.c: Likewise.
25601 * math/s_clog10l.c: Likewise.
25602 * math/s_clogf.c: Likewise.
25603 * math/s_clogl.c: Likewise.
25604 * math/s_csin.c: Likewise.
25605 * math/s_csinf.c: Likewise.
25606 * math/s_csinh.c: Likewise.
25607 * math/s_csinhf.c: Likewise.
25608 * math/s_csinhl.c: Likewise.
25609 * math/s_csinl.c: Likewise.
25610 * math/s_csqrt.c: Likewise.
25611 * math/s_csqrtf.c: Likewise.
25612 * math/s_csqrtl.c: Likewise.
25613 * math/s_ctan.c: Likewise.
25614 * math/s_ctanf.c: Likewise.
25615 * math/s_ctanh.c: Likewise.
25616 * math/s_ctanhf.c: Likewise.
25617 * math/s_ctanhl.c: Likewise.
25618 * math/s_ctanl.c: Likewise.
25619 * math/s_ldexp.c: Likewise.
25620 * math/s_ldexpf.c: Likewise.
25621 * math/s_ldexpl.c: Likewise.
25622 * math/s_significand.c: Likewise.
25623 * math/s_significandf.c: Likewise.
25624 * math/s_significandl.c: Likewise.
25625 * math/w_acos.c: Likewise.
25626 * math/w_acosf.c: Likewise.
25627 * math/w_acosh.c: Likewise.
25628 * math/w_acoshf.c: Likewise.
25629 * math/w_acoshl.c: Likewise.
25630 * math/w_acosl.c: Likewise.
25631 * math/w_asin.c: Likewise.
25632 * math/w_asinf.c: Likewise.
25633 * math/w_asinl.c: Likewise.
25634 * math/w_atan2.c: Likewise.
25635 * math/w_atan2f.c: Likewise.
25636 * math/w_atan2l.c: Likewise.
25637 * math/w_atanh.c: Likewise.
25638 * math/w_atanhf.c: Likewise.
25639 * math/w_atanhl.c: Likewise.
25640 * math/w_cosh.c: Likewise.
25641 * math/w_coshf.c: Likewise.
25642 * math/w_coshl.c: Likewise.
25643 * math/w_dremf.c: Likewise.
25644 * math/w_exp10.c: Likewise.
25645 * math/w_exp10f.c: Likewise.
25646 * math/w_exp10l.c: Likewise.
25647 * math/w_exp2.c: Likewise.
25648 * math/w_exp2f.c: Likewise.
25649 * math/w_fmod.c: Likewise.
25650 * math/w_fmodf.c: Likewise.
25651 * math/w_fmodl.c: Likewise.
25652 * math/w_hypot.c: Likewise.
25653 * math/w_hypotf.c: Likewise.
25654 * math/w_hypotl.c: Likewise.
25655 * math/w_j0.c: Likewise.
25656 * math/w_j0f.c: Likewise.
25657 * math/w_j0l.c: Likewise.
25658 * math/w_j1.c: Likewise.
25659 * math/w_j1f.c: Likewise.
25660 * math/w_j1l.c: Likewise.
25661 * math/w_jn.c: Likewise.
25662 * math/w_jnf.c: Likewise.
25663 * math/w_jnl.c: Likewise.
25664 * math/w_lgamma.c: Likewise.
25665 * math/w_lgamma_r.c: Likewise.
25666 * math/w_lgammaf.c: Likewise.
25667 * math/w_lgammaf_r.c: Likewise.
25668 * math/w_lgammal.c: Likewise.
25669 * math/w_lgammal_r.c: Likewise.
25670 * math/w_log.c: Likewise.
25671 * math/w_log10.c: Likewise.
25672 * math/w_log10f.c: Likewise.
25673 * math/w_log10l.c: Likewise.
25674 * math/w_log2.c: Likewise.
25675 * math/w_log2f.c: Likewise.
25676 * math/w_log2l.c: Likewise.
25677 * math/w_logf.c: Likewise.
25678 * math/w_logl.c: Likewise.
25679 * math/w_pow.c: Likewise.
25680 * math/w_powf.c: Likewise.
25681 * math/w_powl.c: Likewise.
25682 * math/w_remainder.c: Likewise.
25683 * math/w_remainderf.c: Likewise.
25684 * math/w_remainderl.c: Likewise.
25685 * math/w_scalb.c: Likewise.
25686 * math/w_scalbf.c: Likewise.
25687 * math/w_scalbl.c: Likewise.
25688 * math/w_sinh.c: Likewise.
25689 * math/w_sinhf.c: Likewise.
25690 * math/w_sinhl.c: Likewise.
25691 * math/w_sqrt.c: Likewise.
25692 * math/w_sqrtf.c: Likewise.
25693 * math/w_sqrtl.c: Likewise.
25694 * math/w_tgamma.c: Likewise.
25695 * math/w_tgammaf.c: Likewise.
25696 * math/w_tgammal.c: Likewise.
25697
6a621eb7
UD
25698 * po/ja.po: Update from translation team.
25699
bf582445
AJ
257002011-09-29 Andreas Jaeger <aj@suse.de>
25701
f9efbf3a
AJ
25702 [BZ #13179]
25703 * sunrpc/netname.c (netname2host): Fix logic.
25704
bf582445
AJ
25705 [BZ #6779]
25706 [BZ #6783]
25707 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
25708 correctly.
25709 * math/w_remainder.c (__remainder): Likewise.
25710 * math/w_remainderf.c (__remainderf): Likewise.
25711 * math/libm-test.inc (remainder_test): Add test cases.
25712
48693bea
AK
257132011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25714
25715 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
25716 sdiv_qrnnd.
25717
42622229
LD
257182011-10-07 Ulrich Drepper <drepper@gmail.com>
25719
25720 * string/test-memcmp.c: Avoid unncessary #defines.
25721 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25722
093ecf92
LD
257232011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25724
25725 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
25726 Use new sse2 version for core i3 - i7 as it's faster
25727 than sse42 version.
25728 (bit_Prefer_PMINUB_for_stringop): New.
25729 * sysdeps/x86_64/rawmemchr.S: Update.
25730 Replace with faster SSE2 version.
25731 * sysdeps/x86_64/memrchr.S: New file.
25732 * sysdeps/x86_64/memchr.S: Update.
25733 Replace with faster SSE2 version.
25734
fde56e5c
MP
257352011-09-12 Marek Polacek <mpolacek@redhat.com>
25736
25737 * elf/dl-load.c (lose): Add cast to avoid warning.
25738
21fd49a9
UD
257392011-10-07 Ulrich Drepper <drepper@gmail.com>
25740
5a06e643
UD
25741 * po/ca.po: Update from translation team.
25742
684ae515
UD
25743 * inet/getnetgrent_r.c: Hook up nscd.
25744 * nscd/Makefile (routines): Add nscd_netgroup.
25745 (nscd-modules): Add netgroupcache.
25746 (CFLAGS-netgroupcache.c): Define.
25747 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
25748 (cache_search): Add const to second parameter.
25749 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
25750 INNETGR.
25751 (dbs): Add netgrdb entry.
25752 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
25753 (verify_persistent_db): Handle netgrdb.
25754 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
25755 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
25756 GETFDNETGR.
25757 (netgroup_response_header): Define.
25758 (innetgroup_response_header): Define.
25759 (datahead): Add netgroup_response_header and innetgroup_response_header
25760 elements.
25761 * nscd/nscd.conf: Add entries for netgroup cache.
25762 * nscd/nscd.h (dbtype): Add netgrdb.
25763 (_PATH_NSCD_NETGROUP_DB): Define.
25764 (netgroup_iov_disabled): Declare.
25765 (xmalloc, xcalloc, xrealloc): Move declarations here.
25766 (cache_search): Adjust prototype.
25767 Add netgroup-related prototypes.
25768 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
25769 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
25770 (__nscd_innetgr): Declare.
25771 * nscd/selinux.c (perms): Use access_vector_t as element type and
25772 add netgroup-related initializers.
25773 * nscd/netgroupcache.c: New file.
25774 * nscd/nscd_netgroup.c: New file.
25775 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
25776 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
25777 For four parameters use innetgr.
25778 * nss/nss_files/files-init.c: Add definition and callback for netgr.
25779 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
25780 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
25781 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
25782
21fd49a9
UD
25783 * nscd/connections.c (register_traced_file): Don't register file
25784 for disabled databases.
25785
054c0457
UD
257862011-10-06 Ulrich Drepper <drepper@gmail.com>
25787
32b63198
UD
25788 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
25789
054c0457
UD
25790 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
25791 from tree and freeing node.
25792
64031225
JO
257932011-09-25 Jiri Olsa <jolsa@redhat.com>
25794
25795 * nss/nsswitch.c (__nss_database_lookup): Handle
25796 nss_parse_service_list out of memory case.
25797
0490345c
JO
257982011-09-15 Jiri Olsa <jolsa@redhat.com>
25799
25800 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
25801 out of memory case.
25802
3a62d00d
AS
258032011-10-04 Andreas Schwab <schwab@redhat.com>
25804
25805 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
25806 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
25807 pass it down.
25808 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
25809 elf_machine_rela, elf_machine_lazy_rel.
25810 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
25811 (ELF_DYNAMIC_DO_REL): Likewise.
25812 (ELF_DYNAMIC_DO_RELA): Likewise.
25813 (ELF_DYNAMIC_RELOCATE): Likewise.
25814 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
25815 to ELF_DYNAMIC_DO_REL.
25816 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
25817 (dl_main): In trace mode always set __RTLD_NOIFUNC.
25818 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
25819 elf_machine_rela.
25820 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
25821 skip_ifunc, don't call ifunc function if non-zero.
25822 (elf_machine_rela): Likewise.
25823 (elf_machine_lazy_rel): Likewise.
25824 (elf_machine_lazy_rela): Likewise.
25825 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
25826 (elf_machine_lazy_rel): Likewise.
25827 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25828 Likewise.
25829 (elf_machine_lazy_rel): Likewise.
25830 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25831 Likewise.
25832 (elf_machine_lazy_rel): Likewise.
25833 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
25834 (elf_machine_lazy_rel): Likewise.
25835 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
25836 (elf_machine_lazy_rel): Likewise.
25837 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25838 (elf_machine_lazy_rel): Likewise.
25839 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25840 (elf_machine_lazy_rel): Likewise.
25841 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25842 (elf_machine_lazy_rel): Likewise.
25843 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25844 (elf_machine_lazy_rel): Likewise.
25845
68577918
UD
258462011-09-28 Ulrich Drepper <drepper@gmail.com>
25847
25848 * nss/nss_files/files-init.c (_nss_files_init): Use static
25849 initialization for all the *_traced_file variables.
25850
68822d74
AS
258512011-09-28 Andreas Schwab <schwab@redhat.com>
25852
25853 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25854
2056100b
RM
258552011-09-27 Roland McGrath <roland@hack.frob.com>
25856
25857 [BZ #13226]
25858 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
25859
32c76b63
AS
258602011-09-27 Andreas Schwab <schwab@redhat.com>
25861
25862 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25863 Reread the line before reparsing it.
25864
bf972c9d
AS
258652011-09-26 Andreas Schwab <schwab@redhat.com>
25866
25867 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
25868
e057a1b5
JM
258692011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
25870 Maxim Kuvyrkov <maxim@codesourcery.com>
25871 Joseph Myers <joseph@codesourcery.com>
25872
25873 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
25874 if needed for __stack_chk_guard.
25875
bc7e1c36
RM
258762011-09-19 Roland McGrath <roland@hack.frob.com>
25877
ecb1482f
RM
25878 * sysdeps/posix/spawni.c (script_execute): Always define it.
25879 It will be optimized away if unused.
25880 (maybe_script_execute): New function.
25881 (__spawni): Call it.
25882
bc7e1c36
RM
25883 * Makerules: Don't include tls.make.
25884 (config-tls): Always set to thread.
25885 * tls.make.c: File removed.
25886
1c3b002b
MF
258872011-09-19 Mike Frysinger <vapier@gentoo.org>
25888
25889 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
25890 * config.make.in (CPPFLAGS-config): New substituted variable.
25891
2840865d
UD
258922011-09-15 Ulrich Drepper <drepper@gmail.com>
25893
88738eb6
UD
25894 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
25895
cbf645a6 25896 [BZ #13192]
2840865d
UD
25897 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
25898 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
25899
b402e91a
RM
259002011-09-15 Roland McGrath <roland@hack.frob.com>
25901
25902 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
25903 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
25904 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25905 (CALL_FAIL): Likewise.
25906 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
25907 (CALL_FAIL): Macro removed.
25908 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
25909
4c1a1f71
UD
259102011-09-15 Ulrich Drepper <drepper@gmail.com>
25911
25912 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
25913 for __FINITE_MATH_ONLY__ == 1.
25914
edc121be
AS
259152011-09-15 Andreas Schwab <schwab@redhat.com>
25916
25917 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
25918 __ieee754_sqrt instead of sqrt.
25919 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
25920 __ieee754_sqrtf instead of sqrtf.
25921 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
25922 __floorf instead of floorf.
25923 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
25924 __floorf, __truncf instead of floorf, truncf.
25925
cd205654
UD
259262011-09-14 Ulrich Drepper <drepper@gmail.com>
25927
ee4d0315
UD
25928 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
25929
cd205654
UD
25930 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
25931 __extern_always_inline.
25932 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
25933 32-bit.
25934
48b67d71
AS
259352011-09-14 Andreas Schwab <schwab@redhat.com>
25936
25937 * elf/rtld.c (dl_main): Also relocate in dependency order when
25938 doing symbol dependency testing.
25939
1ae12c75
AS
259402011-09-13 Andreas Schwab <schwab@linux-m68k.org>
25941
25942 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25943 Always define `refsym'.
25944
995a80df
AS
259452011-09-13 Andreas Schwab <schwab@redhat.com>
25946
e529793b
AS
25947 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
25948 (__FD_ELT): Renamed from __FDELT.
25949 * misc/bits/select2.h (__FD_ELT): Likewise.
25950 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
25951 __FD_MASK instead of __FDELT, __FDMASK.
25952 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25953 Likewise.
25954 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
25955 Likewise.
25956
52d4fef8
AS
25957 * elf/Makefile (gen-ldd): Fix pattern.
25958
995a80df
AS
25959 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
25960 (init_tls): Likewise.
25961
8682f8b0
UD
259622011-09-12 Ulrich Drepper <drepper@gmail.com>
25963
25964 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
25965
de82006d
AS
259662011-09-12 Andreas Schwab <schwab@redhat.com>
25967
a7c8e6a1
AS
25968 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
25969 `struct cmsghdr *' instead of `void *'.
25970 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
25971 Likewise.
25972
0f31fe77
AS
259732011-09-11 Andreas Schwab <schwab@linux-m68k.org>
25974
25975 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
25976 if non-absolute.
25977 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
25978 ldd_rewrite_script.
0f31fe77 25979
32b4c839
UD
259802011-09-11 Ulrich Drepper <drepper@gmail.com>
25981
83cd1420
UD
25982 * configure.in: Remove --with-tls option.
25983 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
25984 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
25985 out in case it is missing.
25986 * sysdeps/ia64/elf/configure.in: Likewise.
25987 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
25988 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
25989 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
25990 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
25991 * sysdeps/sh/elf/configure.in: Likewise.
25992 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
25993 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25994 * sysdeps/x86_64/elf/configure.in: Likewise.
25995 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
25996 * sysdeps/mach/hurd/tls.h: Likewise.
25997
633f745d
UD
25998 [BZ #13067]
25999 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
26000
f318beb8
UD
26001 [BZ #13090]
26002 * configure.in: Fix use of AC_INIT.
26003
32b4c839
UD
26004 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
26005
3ce1f295
UD
260062011-09-10 Ulrich Drepper <drepper@gmail.com>
26007
bb016596
UD
26008 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
26009 __set_errno.
8e58439c
UD
26010 * malloc/hooks.c: Likewise.
26011
aebae053 26012 [BZ #11929]
02d46fc4
UD
26013 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
26014 variables statically.
26015 (narenas): Initialize.
26016 (list_lock): Initialize.
bb016596
UD
26017 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
26018 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
26019 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
26020 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
26021 Add initializers to main_arena and mp_.
26022 (malloc_state): Remove pagesize member. Change all users to use
26023 GLRO(dl_pagesize).
26024
26025 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
26026 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
26027 is always initialized.
26028
22a89187
UD
26029 * malloc/malloc.c: Removed unused configurations and dead code.
26030 * malloc/arena.c: Likewise.
26031 * malloc/hooks.c: Likewise.
02d46fc4 26032 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 26033
d063d164
UD
26034 * include/tls.h: Removed. USE___THREAD must always be defined.
26035 * bits/libc-tsd.h: Don't handle !USE___THREAD.
26036 * elf/dl-libc.c: Likewise.
26037 * elf/dl-tsd.c: Likewise.
26038 * include/errno.h: Likewise.
26039 * include/netdb.h: Likewise.
26040 * include/resolv.h: Likewise.
26041 * inet/herrno-loc.c: Likewise.
26042 * inet/herrno.c: Likewise.
26043 * malloc/arena.c: Likewise.
26044 * malloc/hooks.c: Likewise.
26045 * malloc/malloc.c: Likewise.
26046 * resolv/res-state.c: Likewise.
26047 * resolv/res_libc.c: Likewise.
26048 * sysdeps/i386/dl-machine.h: Likewise.
26049 * sysdeps/ia64/dl-machine.h: Likewise.
26050 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26051 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26052 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26053 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26054 * sysdeps/sh/dl-machine.h: Likewise.
26055 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26056 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26057 * sysdeps/unix/i386/sysdep.S: Likewise.
26058 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26059 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26060 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26061 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26062 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26063 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26064 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26065 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26066 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26067 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26068 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26069 * sysdeps/x86_64/dl-machine.h: Likewise.
26070 * tls.make.c: Likewise.
26071
3ce1f295
UD
26072 * configure.in: Remove --with-__thread option. Make tests for
26073 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
26074 tls_model attribute fail if no support is available. Remove
26075 USE_IN_LIBIO.
26076 * Makeconfig: Adjust for dropped configure option. All features are
26077 now mandatory.
26078 * Makerules: Likewise.
26079 * Versions.def: Likewise.
26080 * argp/argp-fmtstream.c: Likewise.
26081 * argp/argp-fmtstream.h: Likewise.
26082 * argp/argp-help.c: Likewise.
26083 * assert/assert.c: Likewise.
26084 * config.h.in: Likewise.
26085 * config.make.in: Likewise.
26086 * configure: Likewise.
26087 * configure.in: Likewise.
26088 * csu/Versions: Likewise.
26089 * csu/init.c: Likewise.
26090 * elf/tst-audit2.c: Likewise.
26091 * elf/tst-tls10.c: Likewise.
26092 * elf/tst-tls10.h: Likewise.
26093 * elf/tst-tls11.c: Likewise.
26094 * elf/tst-tls12.c: Likewise.
26095 * elf/tst-tls14.c: Likewise.
26096 * elf/tst-tlsmod11.c: Likewise.
26097 * elf/tst-tlsmod12.c: Likewise.
26098 * elf/tst-tlsmod13.c: Likewise.
26099 * elf/tst-tlsmod13a.c: Likewise.
26100 * elf/tst-tlsmod14a.c: Likewise.
26101 * elf/tst-tlsmod15b.c: Likewise.
26102 * elf/tst-tlsmod16a.c: Likewise.
26103 * elf/tst-tlsmod16b.c: Likewise.
26104 * elf/tst-tlsmod7.c: Likewise.
26105 * elf/tst-tlsmod8.c: Likewise.
26106 * elf/tst-tlsmod9.c: Likewise.
26107 * gmon/gmon.c: Likewise.
26108 * grp/fgetgrent_r.c: Likewise.
26109 * grp/putgrent.c: Likewise.
26110 * hurd/fopenport.c: Likewise.
26111 * include/libc-symbols.h: Likewise.
26112 * include/tls.h: Likewise.
26113 * intl/gettextP.h: Likewise.
26114 * intl/loadinfo.h: Likewise.
26115 * locale/global-locale.c: Likewise.
26116 * locale/localeinfo.h: Likewise.
26117 * mach/devstream.c: Likewise.
26118 * malloc/arena.c: Likewise.
26119 * malloc/set-freeres.c: Likewise.
26120 * misc/err.c: Likewise.
26121 * misc/getttyent.c: Likewise.
26122 * misc/mntent_r.c: Likewise.
26123 * posix/getopt.c: Likewise.
26124 * posix/wordexp.c: Likewise.
26125 * pwd/fgetpwent_r.c: Likewise.
26126 * resolv/Versions: Likewise.
26127 * resolv/res_hconf.c: Likewise.
26128 * shadow/fgetspent_r.c: Likewise.
26129 * shadow/putspent.c: Likewise.
26130 * stdio-common/printf_fphex.c: Likewise.
26131 * stdio-common/tmpfile.c: Likewise.
26132 * stdlib/abort.c: Likewise.
26133 * stdlib/fmtmsg.c: Likewise.
26134 * sunrpc/auth_unix.c: Likewise.
26135 * sunrpc/clnt_perr.c: Likewise.
26136 * sunrpc/clnt_tcp.c: Likewise.
26137 * sunrpc/clnt_udp.c: Likewise.
26138 * sunrpc/clnt_unix.c: Likewise.
26139 * sunrpc/openchild.c: Likewise.
26140 * sunrpc/svc_simple.c: Likewise.
26141 * sunrpc/svc_tcp.c: Likewise.
26142 * sunrpc/svc_udp.c: Likewise.
26143 * sunrpc/svc_unix.c: Likewise.
26144 * sunrpc/xdr.c: Likewise.
26145 * sunrpc/xdr_array.c: Likewise.
26146 * sunrpc/xdr_rec.c: Likewise.
26147 * sunrpc/xdr_ref.c: Likewise.
26148 * sunrpc/xdr_stdio.c: Likewise.
26149
1248c1c4
PB
261502011-09-09 Ulrich Drepper <drepper@gmail.com>
26151
26152 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26153
261542011-07-03 Andreas Jaeger <aj@suse.de>
26155
26156 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
26157 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
26158 regenerate with gen-libm-tests.pl.
26159
261602010-05-12 Petr Baudis <pasky@suse.cz>
26161
26162 [BZ #11589]
26163 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
26164 around j0() zero points by switching to j1().
26165 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26166 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26167 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26168 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26169
f22e1074
UD
261702011-09-09 Ulrich Drepper <drepper@gmail.com>
26171
f19009c1
UD
26172 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
26173 instead of 0.
26174 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 26175 instead of 0.
f19009c1
UD
26176 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26177 Patch in part by Pavel Roskin <proski@gnu.org>.
26178
3f8cc204
UD
26179 [BZ #13138]
26180 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
26181 realloc.
26182 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
26183 Free memory block if necessary.
26184
f22e1074
UD
26185 [BZ #12847]
26186 * libio/genops.c (INTDEF): For string streams the _lock pointer can
26187 be NULL. Don't lock in this case.
26188
0a2349f9
RM
261892011-09-09 Roland McGrath <roland@hack.frob.com>
26190
26191 * elf/elf.h (ELFOSABI_GNU): New macro.
26192 (ELFOSABI_LINUX): Define to that.
26193
f3cdd467
DZ
261942011-07-29 Denis Zaitceff <zaitceff@gmail.com>
26195
26196 * string/strncat.c (strncat): Undef the symbol in case it has been
26197 defined in bits/string.h.
26198
74718d13
UD
261992011-09-09 Ulrich Drepper <drepper@gmail.com>
26200
633e9e0f
UD
26201 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
26202
0a2349f9 26203 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
26204 link map.
26205
f9924780
AJ
262062011-08-17 Andreas Jaeger <aj@suse.de>
26207
26208 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
26209
7f5517aa
PP
262102011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26211 Ian Lance Taylor <iant@google.com>
26212
26213 * math/libm-test.inc (lround_test): New testcase.
26214 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
26215
762011fe
UD
262162011-09-08 Ulrich Drepper <drepper@gmail.com>
26217
92963737
UD
26218 * Makefile: Remove support for automatic cvs check-ins.
26219 * Makerules: Likewise.
26220 * config.make.in: Likewise.
26221 * configure.in: Likewise.
26222 * intl/Makefile: Likewise.
26223 * locale/Makefile: Likewise.
26224 * po/Makefile: Likewise.
26225 * posix/Makefile: Likewise.
26226 * sysdeps/gnu/Makefile: Likewise.
26227 * sysdeps/mach/hurd/Makefile: Likewise.
26228 * sysdeps/sparc/sparc32/Makefile: Likewise.
26229
b0727fd8
JS
26230 [BZ #13118]
26231 * posix/Makefile (bug-regex32-ENV): Define.
26232 Patch by John Stanley <jpsinthemix@verizon.net>.
26233
a0f33f99
UD
26234 * misc/Makefile (headers): Add bits/select2.h.
26235 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
26236 * misc/bits/select2.h: New file.
26237 * include/bits/select2.h: New file.
26238 * debug/Makefile (routines): Add fdelt_chk.
26239 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
26240 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
26241 FD_ISSET.
26242 * debug/fdelt_chk.c: New file.
26243
762011fe
UD
26244 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
26245 * wcsmbs/test-wmemcmp.c: Likewise.
26246 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 26247 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
26248
262492011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26250
26251 * string/Makefile (strop-tests): Add memcmp.
26252 * string/test-wmemcmp.c: New file.
26253 * string/test-memcmp.c: Add wmemcmp support.
26254
7f513ec8
RM
262552011-09-08 Roland McGrath <roland@hack.frob.com>
26256
0442afb4
RM
26257 [BZ #13153]
26258 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
26259 2011-07-19 change.
26260
7f513ec8
RM
26261 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
26262 garbage value in a __mach_port_mod_refs call in the cases of the
26263 task-self and thread-self ports.
26264
a12b2239
ST
262652011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26266
26267 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
26268
610f9ab4
AS
262692011-09-08 Andreas Schwab <schwab@redhat.com>
26270
7f513ec8 26271 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 26272
48882a1a
LD
262732011-09-07 Ulrich Drepper <drepper@gmail.com>
26274
b49865be
UD
26275 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
26276
fdc86bc9
UD
26277 * elf/dl-libc.c (dlerror_run): Pass back error code from
26278 dl_catch_error.
26279
c966526a
UD
26280 [BZ #13123]
26281 * elf/dl-load.c (lose): Free l_origin if it is valid.
26282
48882a1a
LD
26283 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
26284 names.
26285 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26286 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26287 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26288 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26289 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26290 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
26291
77a2a8b4
AZ
262922011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26293
26294 * sysdeps/powerpc/fpu/e_hypot.c: New file.
26295 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
26296 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
26297 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
26298 * sysdeps/powerpc/fpu/k_cosf.c: New file.
26299 * sysdeps/powerpc/fpu/k_sinf.c: New file.
26300 * sysdeps/powerpc/fpu/s_cosf.c: New file.
26301 * sysdeps/powerpc/fpu/s_sinf.c: New file.
26302 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
26303 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
26304
24f579d8
AM
263052011-08-15 Alan Modra <amodra@gmail.com>
26306
26307 [BZ #13092]
26308 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
26309 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
26310 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
26311 ppc_mcount to static-only-routines.
26312 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
26313 __mcount_internal.
26314 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
26315 __mcount_internal with usual JUMPTARGET. Remove useless nop.
26316
3d4837df
UD
263172011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
26318
26319 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
26320 for finite and infinity parameters.
26321
22700377
WS
263222011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26323
26324 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
26325 and add nop instructions for throughput optimization.
26326 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26327
5025581e
WS
263282011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
26329
26330 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
26331 aligned copy for power7 with vector-scalar instructions.
26332 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26333
08a300c9
L
263342011-07-24 H.J. Lu <hongjiu.lu@intel.com>
26335
26336 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
26337 AVX check.
26338
59178ef9
AS
263392011-09-07 Andreas Schwab <schwab@redhat.com>
26340
26341 [BZ #13144]
26342 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
26343 last change.
26344
e38ba7ab
UD
263452011-09-07 Ulrich Drepper <drepper@gmail.com>
26346
26347 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26348 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
26349 syscall wrapper around clock_gettime in __vdso_clock_gettime.
26350 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
26351 clock_gettime.
26352
d53a73ac
UD
263532011-09-06 Ulrich Drepper <drepper@gmail.com>
26354
fc8bffcc
UD
26355 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
26356 Forgot to demangle the pointer.
26357
ceaa0c5d
UD
26358 * sysdeps/i386/sysdep.h: Define atom_text_section.
26359 * sysdeps/x86_64/sysdep.h: Likewise.
26360 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
26361 section with atom_text_section.
26362 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26363 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26364 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
26365 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
26366 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
26367
a77d3c17
UD
26368 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
26369 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
26370 already be defined. Change to take two parameters and don't assign
26371 result to variable. Adjust all users.
26372 Define INTERNAL_GETTIME if not already defined.
26373 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
26374 call.
26375 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
26376 HAVE_CLOCK_GETTIME_VSYSCALL.
26377 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
26378
d53a73ac
UD
26379 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
26380 gettimeofday vsyscall, just use time.
26381
a8f84144
AS
263822011-09-06 Andreas Schwab <schwab@redhat.com>
26383
26384 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
26385 <errno.h>.
26386
ef606249
UD
263872011-09-06 Ulrich Drepper <drepper@gmail.com>
26388
26389 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
26390 syscall on x86-64.
26391 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
26392 syscall.
26393 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
26394 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
26395 syscall if possible.
26396
6585cb60
UD
263972011-09-05 Ulrich Drepper <drepper@gmail.com>
26398
26399 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
26400 e_ident. Don't pass to find_mapsXX.
26401 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
26402
a5f524e4
LD
264032011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26404
26405 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26406 strchr-sse2-no-bsf strrchr-sse2-no-bsf
26407 * sysdeps/x86_64/multiarch/strchr.S: Update.
26408 Check bit_slow_BSF bit.
26409 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26410 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
26411 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
26412
554881ef
UD
264132011-09-05 Ulrich Drepper <drepper@gmail.com>
26414
d96de963
UD
26415 [BZ #13134]
26416 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
26417 before glibc 2.15.
26418 (tryshell): Define.
26419 (__spawni): Change last parameter to be flag. Test
26420 SPAWN_XFLAGS_USE_PATH flag to use path or not.
26421 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
26422 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
26423 * posix/spawni.c: Likewise.
26424 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
26425 * posix/spawnp.c: Likewise. Change normal version to use
26426 SPAWN_XFLAGS_USE_PATH.
26427 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
26428 SPAWN_XFLAGS_TRY_SHELL.
26429
d48e5868
UD
26430 [BZ #13150]
26431 * posix/glob.h: Remove gcc 1.x support.
26432
554881ef
UD
26433 [BZ #13068]
26434 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
26435
693fb948
LD
264362011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26437
26438 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26439 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
26440 strrchr-sse2-bsf
26441 * sysdeps/i386/i686/multiarch/strchr.S: New file.
26442 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
26443 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
26444 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
26445 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
26446 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
26447
1b48c537
UD
264482011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26449
49d42c37
UD
26450 * sysdeps/x86_64/wcscmp.S: New file.
26451
1b48c537
UD
26452 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
26453 wcscmp-c wcscmp-sse2
26454 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
26455 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
26456 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
26457 * wcsmbs/wcscmp.c: Allow renaming.
26458
15c95c5d
DM
264592011-09-05 David S. Miller <davem@davemloft.net>
26460
26461 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
26462 stack slot, rather than the struct return pointer slot.
26463 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
26464 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
26465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
26466 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
26467
2f0ad8f3
UD
264682011-09-05 Ulrich Drepper <drepper@gmail.com>
26469
d88ae418
UD
26470 * po/ja.po: Update from translation team.
26471
2f0ad8f3
UD
26472 [BZ #13144]
26473 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
26474 kernel in 64-bit binaries.
26475
5f4318d1
DM
264762011-09-01 David S. Miller <davem@davemloft.net>
26477
26478 * elf/elf.h (HWCAP_SPARC_*): Move to..
26479 * sysdeps/sparc/sysdep.h: this new file and add new values.
26480 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
26481 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
26482 _DL_HWCAP_COUNT to 24.
26483 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26484 entries.
26485 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
26486 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
26487 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
26488 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
26489 instead of magic constants.
26490 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26491
3ba57516
DM
264922011-08-31 David S. Miller <davem@davemloft.net>
26493
26494 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
26495 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
26496 Reimplement to do errno handling inline.
26497 (SYSCALL_ERROR_HANDLER): New macro.
26498 (__SYSCALL_STRING): Do not do errno handling in asm.
26499 (__CLONE_SYSCALL_STRING): Delete.
26500 (__INTERNAL_SYSCALL_STRING): Delete.
26501 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
26502 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
26503 (PSEUDO): Reimplement to do errno handling inline.
26504 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
26505 (SYSCALL_ERROR_HANDLER): New macro.
26506 (__SYSCALL_STRING): Do not do errno handling in asm.
26507 (__CLONE_SYSCALL_STRING): Delete.
26508 (__INTERNAL_SYSCALL_STRING): Delete.
26509 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
26510 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
26511 i386.
26512 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
26513 (inline_syscall*): Add 'err' argument.
26514 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
26515 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
26516 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
26517 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
26518
26519 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
26520 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26521
2bc17433
AS
265222011-08-30 Andreas Schwab <schwab@redhat.com>
26523
26524 * elf/rtld.c (dl_main): Relocate objects in dependency order.
26525
fbeb5f4d
JO
265262011-08-29 Jiri Olsa <jolsa@redhat.com>
26527
26528 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
26529 directive.
26530
ad69cc26
DM
265312011-08-24 David S. Miller <davem@davemloft.net>
26532
26533 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
26534
39dd69df
AS
265352011-08-24 Andreas Schwab <schwab@redhat.com>
26536
26537 * elf/Makefile: Add rules to build and run unload8 test.
26538 * elf/unload8.c: New file.
26539 * elf/unload8mod1.c: New file.
26540 * elf/unload8mod1x.c: New file.
26541 * elf/unload8mod2.c: New file.
26542 * elf/unload8mod3.c: New file.
26543
26544 * elf/dl-close.c (_dl_close_worker): Reset private search list if
26545 it wasn't used.
26546
2c0b250a
DM
265472011-08-23 David S. Miller <davem@davemloft.net>
26548
26549 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
26550 subtract stack bias.
26551 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
26552 %sp not %fp in calculations.
26553 (_JMPBUF_UNWINDS_ADJ): Likewise.
26554
22044b48
DM
26555 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
26556 (aio_suspend): Call it to force an exception region around the
26557 AIO_MISC_WAIT() invocation.
26558
2cae4995
AS
265592011-08-23 Andreas Schwab <schwab@redhat.com>
26560
26561 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
26562 backslash.
26563
873a772e
AJ
265642011-07-04 Aurelien Jarno <aurelien@aurel32.net>
26565
26566 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
26567 protection macro.
26568 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
26569 and <dl-machine.h>.
26570 (Elf64_FuncDesc): Remove.
26571
25ad0df1
DM
265722011-08-22 David S. Miller <davem@davemloft.net>
26573
26574 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
26575 sigaltstack check, add missing cfi directives.
26576 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
26577 missing cfi directives, and sigaltstack handling.
26578
e888bcbe
AS
265792011-08-16 Andreas Schwab <schwab@redhat.com>
26580
26581 [BZ #11724]
26582 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
26583 object is seen twice.
26584 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26585
26586 * elf/Makefile (distribute): Add tst-initorder2.c.
26587 (tests): Add tst-initorder2.
26588 (modules-names): Add tst-initorder2a tst-initorder2b
26589 tst-initorder2c tst-initorder2d. Add rules to build them.
26590 ($(objpfx)tst-initorder2.out): New rule.
26591 * elf/tst-initorder2.c: New file.
26592 * elf/tst-initorder2.exp: New file.
26593
87162f46
AS
265942011-08-22 Andreas Schwab <schwab@redhat.com>
26595
70538b7f
AS
26596 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
26597
f55ffe58
AS
26598 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
26599 dependencies back to end of function.
26600
87162f46
AS
26601 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26602 $(elfobjdir)/ld.so.
26603
91b392a4
UD
266042011-08-21 Ulrich Drepper <drepper@gmail.com>
26605
26606 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
26607 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
26608 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
26609 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
26610 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
26611 of __vdso_gettimeofday.
26612 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
26613 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
26614 attribute_hidden.
26615 (_libc_vdso_platform_setup): Remove initialization of
26616 __vdso_gettimeofday and __vdso_time.
26617
5c43483f
UD
266182011-08-20 Ulrich Drepper <drepper@gmail.com>
26619
775a77e7
UD
26620 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
26621 and fgetc_unlocked.
26622 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
26623 getc_unlocked.
89f447ed 26624
49c74ba9
UD
26625 * elf/dl-open.c (add_to_global): Report additions to the global scope
26626 for LD_DEBUG=scopes.
26627 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 26628 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 26629
5c43483f
UD
26630 [BZ #13114]
26631 * stdio-common/Makefile (tests): Add bug24.
26632 * stdio-common/bug24.c: New file.
26633
a101b025
AJ
266342011-08-19 Andreas Jaeger <aj@suse.de>
26635
26636 [BZ #13114]
26637 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
26638 non-existant file when using close-on-exec mode.
26639
c88f1766
UD
266402011-08-20 Ulrich Drepper <drepper@gmail.com>
26641
0276a718
UD
26642 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
26643 the very first instruction.
26644
c88f1766
UD
26645 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
26646 the CFI state in the end.
26647 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
26648 inclusion of dl-trampoline.h.
26649 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
26650
51ccffa0
AS
266512011-08-19 Andreas Schwab <schwab@redhat.com>
26652
94d7165f
AS
26653 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
26654 expectations for long double.
26655
51ccffa0
AS
26656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
26657 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
26658
fd708658 266592011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
26660
26661 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
26662 artificual limit depends upon the system page size.
26663
44f0a71e
UD
266642011-08-17 Ulrich Drepper <drepper@gmail.com>
26665
26666 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
26667 * resolv/Makefile: Define CFLAGS-libresolv.
26668
8de79a24
AS
266692011-08-17 Andreas Schwab <schwab@redhat.com>
26670
26671 * nss/makedb.c (compute_tables): Make variables used in nested
26672 function static.
26673
27724598
UD
266742011-08-17 Ulrich Drepper <drepper@gmail.com>
26675
c5305d88
UD
26676 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
26677 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
26678 if buffer was too small.
26679
27724598
UD
26680 * elf/pldd.c (main): Attach to all threads in the process.
26681 Rewrite /proc handling to use *at functions.
26682
076fe015
UD
266832011-08-16 Ulrich Drepper <drepper@gmail.com>
26684
174baab3
UD
26685 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
26686 specifies first scope to show.
26687 (dl_open_worker): Update callers. Move printing scope of new
26688 object to before the relocation.
44f0a71e 26689 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
26690 * sysdeps/generic/ldsodefs.h: Update declaration.
26691
076fe015
UD
26692 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
26693 string for the scope number.
26694
a60df2c3
UD
266952011-08-14 Ulrich Drepper <drepper@gmail.com>
26696
26697 * nscd/servicescache.c (cache_addserv): Make sure written is always
26698 initialized.
26699
5e4287d1
RM
267002011-08-14 Roland McGrath <roland@hack.frob.com>
26701
85ae0589
RM
26702 * sysdeps/i386/i486/bits/atomic.h
26703 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
26704 statement expression, so as to suppress "set but not used" warning.
26705 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
26706
69f63097
RM
26707 * string/strncat.c (STRNCAT): Use prototype definition.
26708
675456ef
RM
26709 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
26710 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
26711 -Iprograms here.
26712 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
26713 (localedef-modules): Add localedef.
26714 (locale-modules): Add locale.
26715
5e4287d1
RM
26716 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
26717 * elf/rtld.c (dl_main): Invert order of assignment in last change,
26718 to avoid a warning.
26719
9c96ff23
DM
267202011-08-14 David S. Miller <davem@davemloft.net>
26721
26722 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
26723 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
26724
f9ddf089
UD
267252011-08-13 Ulrich Drepper <drepper@gmail.com>
26726
44f0a71e 26727 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
26728 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
26729 * elf/rtld.c (dl_main): Set l_name of vDSO.
26730 Call _dl_show_scope when DL_DEBUG_SCOPES.
26731 (process_dl_debug): Recognize scopes flag and also set it for all.
26732 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
26733 Declare _dl_show_scope.
26734
1dc27704
UD
26735 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
26736 (do_dlopen): Pass caller_dlopen to dl_open.
26737 (__libc_dlopen_mode): Initialize caller_dlopen.
26738
f9ddf089
UD
26739 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
26740 of libc. Make tolower call locale-independent. Optimize a bit by
26741 using isdigit instead of isalnum.
26742 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
26743
9ac533d3
UD
267442011-08-12 Ulrich Drepper <drepper@gmail.com>
26745
26746 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
26747 was a dependency or dynamically loaded.
26748
89edf2e9
UD
267492011-08-11 Ulrich Drepper <drepper@gmail.com>
26750
8e999d29
UD
26751 * intl/l10nflist.c: Allow architecture-specific pop function.
26752 * sysdeps/x86_64/l10nflist.c: New file.
26753
89edf2e9
UD
26754 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
26755 classification.
26756
14d96785
AS
267572011-08-10 Andreas Schwab <schwab@redhat.com>
26758
26759 * include/dirent.h: Add libc_hidden_proto for scandirat and
26760 scandirat64. Don't declare __scandirat64.
26761 * dirent/scandirat.c: Add libc_hidden_def.
26762 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
26763 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
26764
6761ac04
DM
267652011-08-10 David S. Miller <davem@davemloft.net>
26766
26767 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
26768 enum.
26769 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26770 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26771 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26772
c55fbd1e
UD
267732011-08-09 Ulrich Drepper <drepper@gmail.com>
26774
26775 * Versions.def [libc]: Add GLIBC_2.15.
26776 * dirent/Makefile (routines): Add scandirat and scandirat64.
26777 * dirent/Versions [libc]: Export scandirat and scandirat64 for
26778 GLIBC_2.15.
26779 * dirent/dirent.h: Declare scandirat and scandirat64.
26780 * dirent/scandirat.c: New file.
26781 * dirent/scandirat64.c: New file.
26782 * sysdeps/wordsize-64/scandirat.c: New file.
26783 * sysdeps/wordsize-64/scandirat64.c: New file.
26784 * dirent/opendir.c: Define opendirat.
26785 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
26786 using scandirat.
26787 * dirent/scandir64.c: Adjust for scandir.c change.
26788 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
26789 __scandirat64, and __scandir_cancel_handler.
26790 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
26791 additional parameter and use openat instead of open (outside of ld.so).
26792 Add new __opendir as wrapper around __opendirat.
26793 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
26794 here without requiring old scandirat implementation.
26795
879165f2
UD
267962011-08-08 Ulrich Drepper <drepper@gmail.com>
26797
26798 * dirent/scandir.c (cancel_handler): Renamed to
26799 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
26800 defined. Adjust users.
26801 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
26802 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
26803
cb7e923b
UD
268042011-08-04 Ulrich Drepper <drepper@gmail.com>
26805
16292edd
UD
26806 * string/test-string.h (IMPL): Use __STRING to expand name and then
26807 stringify it.
26808
cb7e923b
UD
26809 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
26810 of cleanups.
26811
cff82933
LD
268122011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26813
26814 * string/Makefile: Update.
26815 (strop-tests): Append strncat.
26816 * string/test-wcscmp.c: New file.
26817 New comprehensive test for wcscmp.
26818 * string/test-strcmp.c: Update.
26819 (WIDE): New define.
26820
9be9bfcc
AS
268212011-07-22 Andreas Schwab <schwab@redhat.com>
26822
26823 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
26824 line.
26825
2e96f1c7
AS
268262011-07-26 Andreas Schwab <schwab@redhat.com>
26827
26828 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26829 encoding to ACE if AI_IDN.
26830
85188888
JJ
268312011-08-01 Jakub Jelinek <jakub@redhat.com>
26832
26833 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
26834 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
26835
5fa16e9b
LD
268362011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26837
26838 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
26839 Fix overflow bug in strncat.
26840 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26841
26842 * string/test-strncat.c: Update.
26843 Add new tests for checking overflow bugs.
26844
268452011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26846
26847 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26848 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
26849 * sysdeps/i386/i686/multiarch/strcat.S: New file.
26850 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
26851 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
26852 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
26853 * sysdeps/i386/i686/multiarch/strncat.S: New file.
26854 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
26855 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
26856
26857 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
26858 (USE_AS_STRCAT): Define.
26859 Add strcat and strncat support.
26860 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26861
8c1a459f
AS
268622011-07-25 Andreas Schwab <schwab@redhat.com>
26863
26864 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
26865 __n bigger than INT_MAX+1.
26866 (__strncmp_g): Likewise.
26867
bba33c28
UD
268682011-07-23 Ulrich Drepper <drepper@gmail.com>
26869
798be72d
UD
26870 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
26871 * libio/stido.h: Likewise.
26872
8accd4dc
UD
26873 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
26874 (AF_NFC): Define.
26875 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
26876 (AF_NFC): Define.
26877
cbff0d96
UD
26878 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
26879 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26880 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26881 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
26882 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26883
9191c04a
UD
26884 [BZ #13021]
26885 * scripts/test-installation.pl: Don't expect libnss_test1 to be
26886 installed.
26887
bba33c28
UD
26888 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
26889 typo.
26890 (_dl_x86_64_save_sse): Likewise.
26891
90f139dd
UD
268922011-07-22 Ulrich Drepper <drepper@gmail.com>
26893
1aae088a
UD
26894 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
26895 OSXSAVE.
26896 (_dl_x86_64_save_sse): Likewise.
26897
8e2045f5
UD
26898 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
26899
90f139dd
UD
26900 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
26901
1d002f25
AS
269022011-07-21 Andreas Schwab <schwab@redhat.com>
26903
26904 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
26905 change.
26906 (_dl_x86_64_save_sse): Use correct AVX check.
26907
21137f89
UD
269082011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26909
26910 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
26911 bug in strncpy/strncat.
26912 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26913
a65c0b7a
UD
269142011-07-21 Ulrich Drepper <drepper@gmail.com>
26915
26916 * string/tester.c (test_strcat): Add tests for different alignments
26917 of source and destination.
26918 (test_strncat): Likewise.
26919
6986b98a
UD
269202011-07-20 Ulrich Drepper <drepper@gmail.com>
26921
90bb2039
UD
26922 [BZ #12852]
26923 * posix/glob.c (glob): Check passed in values before using them in
26924 expressions to avoid some overflows.
26925 (glob_in_dir): Likewise.
26926
5644ef54
UD
26927 [BZ #13007]
26928 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
26929 check for AVX enablement so that we don't crash with old kernels and
26930 new hardware.
26931 * elf/tst-audit4.c: Add same checks here.
26932 * elf/tst-audit6.c: Likewise.
26933
26934 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 26935
bfc9dc9b
AS
269362011-07-09 Andreas Schwab <schwab@linux-m68k.org>
26937
26938 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
26939
702e64bb
UD
269402011-07-20 Ulrich Drepper <drepper@gmail.com>
26941
26942 * po/cs.po: Update from translation team.
26943 * po/bg.po: Likewise.
26944
295e904f
MP
269452011-07-12 Marek Polacek <mpolacek@redhat.com>
26946
26947 * misc/sys/cdefs.h: Add support for const attribute.
26948 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
26949 to gnu_dev_{major,minor,makedev} functions.
26950
3ff94596
MP
269512011-07-20 Marek Polacek <mpolacek@redhat.com>
26952
26953 * intl/dcigettext.c (get_output_charset): Add missing bracket.
26954
28b59fca
AS
269552011-07-20 Andreas Schwab <schwab@redhat.com>
26956
26957 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
26958 strlen results.
26959
19df733e
AK
269602011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26961
26962 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26963 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
26964 register in order to avoid conflicts with the soft frame pointer
26965 being held in r11 when necessary.
26966 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26967 (INTERNAL_VSYSCALL_NCS): Likewise.
26968
c8835729
MP
269692011-07-14 Marek Polacek <mpolacek@redhat.com>
26970
26971 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
26972 * elf/dl-fini.c (_dl_fini): Adjust caller.
26973 * elf/dl-close.c (_dl_close_worker): Likewise.
26974 * sysdeps/generic/ldsodefs.h: Adjust declaration.
26975
b902330c
MP
269762011-07-15 Marek Polacek <mpolacek@redhat.com>
26977
8991e135
MP
26978 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
26979 "aux_cache->nlibs < 0".
26980
b902330c
MP
26981 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
26982 in the reload-count case.
26983
99710781
LD
269842011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26985
26986 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26987 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
26988 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
26989 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
26990 * sysdeps/x86_64/multiarch/strcat.S: New file.
26991 * sysdeps/x86_64/multiarch/strncat.S: New file.
26992 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
26993 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
26994 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
26995 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
26996 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
26997 (USE_AS_STRCAT): Define.
26998 Add strcat and strncat support.
26999 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27000 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27001 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
27002 * string/strncat.c: Update.
27003 (USE_AS_STRNCAT): Define.
27004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27005 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
27006 and i7.
27007 * sysdeps/x86_64/multiarch/init-arch.h
27008 (bit_Prefer_PMINUB_for_stringop): New.
27009 (index_Prefer_PMINUB_for_stringop): Likewise.
27010 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
27011 bit_Prefer_PMINUB_for_stringop.
27012
7dc6bd90
UD
270132011-07-19 Ulrich Drepper <drepper@gmail.com>
27014
27015 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
27016 buffer64.
27017 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
27018 of casting of buffer.
27019 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
27020 buffer32 and buffer64.
27021 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
27022 writes instead of casting of buffer.
27023 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
27024 buffer32.
27025 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
27026 casting of buffer.
27027
e0e72284
AS
270282011-07-19 Andreas Schwab <schwab@redhat.com>
27029
27030 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
27031
feb1eb0b
UD
270322011-07-19 Ulrich Drepper <drepper@gmail.com>
27033
27034 * nscd/nscd.c (termination_handler): Don't do anything for a database
27035 if it has not yet been initialized.
27036
298711ff
UD
270372011-07-18 Ulrich Drepper <drepper@gmail.com>
27038
27039 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27040
270412011-07-15 Marek Polacek <mpolacek@redhat.com>
27042
27043 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27044
f9d68389
UD
270452011-07-18 Ulrich Drepper <drepper@gmail.com>
27046
27047 * po/nl.po: Update from translation team.
27048 * po/sv.po: Likewise.
27049
db290cf5
RM
270502011-07-16 Roland McGrath <roland@hack.frob.com>
27051
27052 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
27053 now disallowed by GCC.
5c550700 27054
fd5e21c7
RM
27055 * configure.in (use-default-link): Default to yes if a test -shared
27056 link meets our qualifications.
27057 * configure: Regenerated.
27058
5c550700
RM
27059 * config.make.in (output-format): New variable.
27060 * configure.in: Check for ld --print-output-format support.
27061 * configure: Regenerated.
27062 * Makerules ($(common-objpfx)format.lds)
27063 [$(output-format) != unknown]: Just use $(output-format),
27064 instead of the linker-script munging.
27065
9fa2c032
RM
270662011-07-14 Roland McGrath <roland@hack.frob.com>
27067
a6928d51
RM
27068 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
27069 of $(common-objpfx)shlib.lds.
27070 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
27071
661607b3
RM
27072 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
27073 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
27074
9fa2c032
RM
27075 * configure.in (-z relro check): Adjust test code to add a large
27076 writable data section after it.
27077 * configure: Regenerated.
27078
defe9061
RM
270792011-07-11 Roland McGrath <roland@hack.frob.com>
27080
27081 * configure.in (-z relro check): Fix test code to make the variable
27082 truly const.
27083 * configure: Regenerated.
27084
319b9ad4
UD
270852011-07-11 Ulrich Drepper <drepper@gmail.com>
27086
27087 * nscd/nscd.h (struct traced_file): Define.
27088 (struct database_dyn): Remove inotify_descr, reset_res, and filename
27089 elements. Add traced_files.
27090 (inotify_fd): Declare.
27091 (register_traced_file): Declare.
27092 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
27093 (inotify_fd): Export.
27094 (resolv_conf_descr): Remove.
27095 (nscd_init): Move inotify descriptor creation to main.
27096 Don't register files for notification here.
27097 (register_traced_file): New function.
27098 (invalidate_cache): Don't use reset_res to determine whether to call
27099 res_init, go through the list of registered files.
27100 (main_loop_poll): The inotify descriptors are now stored in the
27101 structures for the traced files.
27102 (main_loop_epoll): Likewise
27103 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
27104 to __nss_disable_nscd.
27105 * nscd/cache.c (prune_cache): There is no single inotify descriptor
27106 for a database anymore. Check the records for all the registered
27107 files instead.
27108 * nss/Makefile (libnss_files-routines): Add files-init.
27109 (libnss_db-routines): Add db-init.
27110 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
27111 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
27112 * nss/nss_db/db-init.c: New file.
27113 * nss/nss_files/files-init.c: New file.
27114 * nss/nsswitch.c (nss_load_library): New function. Broken out of
27115 __nss_lookup_function.
27116 (__nss_lookup_function): Call nss_load_library.
27117 (nss_load_all_libraries): New function.
27118 (__nss_disable_nscd): Take parameter with callback function for files
27119 to register. Set is_nscd. Load all the DSOs for the NSS modules
27120 used for the cached services.
27121 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
27122 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
27123 options for features to all the files in nscd.
27124
27125 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
27126
23bee3e8
RM
271272011-07-10 Roland McGrath <roland@hack.frob.com>
27128
27129 * csu/elf-init.c (__libc_csu_init): Comment typo.
27130
46a5b7f0
UD
271312011-07-09 Ulrich Drepper <drepper@gmail.com>
27132
27133 * po/pl.po: Update from translation team.
27134 * po/ja.po: Likewise.
27135 * po/ru.po: Likewise.
27136 * po/ko.po: Likewise.
27137 * po/fr.po: Likewise.
27138
d30cf5bb
RM
271392011-07-09 Roland McGrath <roland@hack.frob.com>
27140
113ddea4
RM
27141 * configure.in (.ctors/.dtors header and trailer check):
27142 Use an empirical test on a built program.
27143 * configure: Regenerated.
27144
574920b4
RM
27145 * configure.in (-z relro check): Use an empirical test on a built DSO.
27146 Detect, but do not require, on ia64.
27147 * configure: Regenerated.
27148
d30cf5bb
RM
27149 * configure.in (READELF): Find it with AC_CHECK_TOOL.
27150 Update tests that use readelf to use $READELF instead.
27151 * configure: Regenerated.
27152
8538fdb3
UD
271532011-07-08 Ulrich Drepper <drepper@gmail.com>
27154
27155 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
27156 if the result is not used.
27157
04d08991
AJ
271582011-07-05 Andreas Jaeger <aj@suse.de>
27159
27160 [BZ#9696]
27161 * stdlib/tst-strtod.c: Add testcase.
27162
de283087
AD
271632011-07-07 Ulrich Drepper <drepper@gmail.com>
27164
4e5f31c8 27165 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 27166 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
27167 The latter has a higher limit. Take additional parameter to pass to
27168 the new function.
27169 (__pathconf): Pass file to __statfs_link_max.
27170 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
27171 __statfs_link_max.
27172 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
27173 __statfs_link_max.
27174
de283087
AD
27175 [BZ #12868]
27176 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
27177 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27178 Handle Lustre.
27179 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
27180 (__statfs_filesize_max): Likewise.
27181 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
27182
c75fa153
AJ
271832011-07-05 Andreas Jaeger <aj@suse.de>
27184
27185 * resolv/res_comp.c (dn_skipname): Remove unused variable.
27186
1a544854
UD
271872011-07-06 Marek Polacek <mpolacek@redhat.com>
27188
27189 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
27190 `status' variable.
27191 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
27192 Likewise.
27193
6f0eec67
UD
271942011-07-04 H.J. Lu <hongjiu.lu@intel.com>
27195
27196 * Makefile (strop-tests): Add strncat.
27197 * string/test-strncat.c: New file.
27198
aae30307
UD
271992011-06-30 Marek Polacek <mpolacek@redhat.com>
27200
27201 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
27202
c0cfb5eb
UD
272032011-06-21 Andreas Jaeger <aj@suse.de>
27204
27205 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
27206 Copy rule from iconvdata/Makefile.
27207
01636b21
UD
272082011-07-06 Ulrich Drepper <drepper@gmail.com>
27209
27210 [BZ #12922]
27211 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
27212 but no long options are defined, just return 'W'.
27213
9895c8bc
UD
272142011-06-22 Marek Polacek <mpolacek@redhat.com>
27215
27216 [BZ #9696]
27217 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
27218
5d4cf042
UD
272192011-07-06 Ulrich Drepper <drepper@gmail.com>
27220
27221 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
27222 netgroups to read.
960e5535 27223 (innetgr): Likewise.
5d4cf042 27224
751eb97e
RM
272252011-07-05 Roland McGrath <roland@hack.frob.com>
27226
27227 * config.make.in (install_root): Default to $(DESTDIR).
27228
f15f1e45
UD
272292011-07-05 Ulrich Drepper <drepper@gmail.com>
27230
27231 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
27232
4e34ac6a
RM
272332011-07-02 Roland McGrath <roland@hack.frob.com>
27234
5e9b6af4
RM
27235 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
27236
84f9ea0f
RM
27237 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
27238 containing directory rather than embedding absolute directory names.
27239
ea5ee9f7
RM
27240 * scripts/check-local-headers.sh: Rewritten using awk.
27241 Match by word, not by line. Print error messages for matches.
27242 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
27243
1b74661a
RM
27244 * Makerules [shlib-lds-flags empty]:
27245 ($(common-objpfx)libc_pic.opts): New target.
27246 ($(common-objpfx)libc_pic.os.clean): New target.
27247 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
27248
27249 * config.make.in (OBJCOPY): New variable.
27250 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
27251 * configure: Regenerated.
27252
f781ef40
RM
27253 * config.make.in (use-default-link): New variable.
27254 * configure.in (use_default_link): Grok --with-default-link to set it.
27255 * configure: Regenerated.
27256 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
27257 (shlib-lds, shlib-lds-flags): Define to empty.
27258
2d4fa81e
RM
27259 * Makerules (shlib-lds): New variable.
27260 (shlib-lds-flags): New variable.
27261 (build-shlib, build-moduile, build-module-asneeded): Use it.
27262 ($(common-objpfx)libc.so): Use $(shlib-lds).
27263 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
27264 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
27265
31fffa6b
RM
27266 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
27267 DT_FLAGS/DT_FLAGS_1 with zero flags.
27268
4e34ac6a
RM
27269 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
27270 linker script munging.
27271
fcfc776b
UD
272722011-07-02 Ulrich Drepper <drepper@gmail.com>
27273
27274 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
27275 as 128-bit value.
27276 * crypt/sha512.c (sha512_process_block): Perform total addition using
27277 128-bit if possible.
27278 (__sha512_finish_ctx): Likewise.
27279 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
27280 as 64-bit value.
27281 * crypt/sha256.c (SWAP64): Define.
27282 (sha256_process_block): Perform total addition using 64-bit if
27283 possible.
27284 (__sha256_finish_ctx): Likewise.
27285
99231d9a
UD
272862011-07-01 Ulrich Drepper <drepper@gmail.com>
27287
27288 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
27289 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27290 * nscd/hstcache.c (cache_addhst): Likewise.
27291 * nscd/grpcache.c (cache_addgr): Likewise.
27292 * nscd/aicache.c (addhstaiX): Likewise
27293 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
27294
445b4a53
TK
272952011-07-01 Thorsten Kukuk <kukuk@suse.de>
27296
27297 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
27298 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27299 * nscd/hstcache.c (cache_addhst): Likewise.
27300 * nscd/grpcache.c (cache_addgr): Likewise.
27301 * nscd/aicache.c (addhstaiX): Likewise
27302
6d4d8e8e
AS
273032011-07-01 Andreas Schwab <schwab@redhat.com>
27304
27305 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
27306 domain only when needed.
27307
89f654c5
AS
273082011-06-30 Andreas Schwab <schwab@redhat.com>
27309
27310 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
27311 is always restored.
27312
cf3b23ff
UD
273132011-06-29 Ulrich Drepper <drepper@gmail.com>
27314
27315 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
27316 are re-adding the entry.
27317 * nscd/servicescache.c (cache_addserv): Likewise.
27318
751626f9
AJ
273192011-06-30 Aurelien Jarno <aurelien@aurel32.net>
27320
27321 * sysdeps/generic/dl-irel.h: fix protection against multiple
27322 inclusions.
27323 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
27324
9113ea1f
UD
273252011-06-28 Ulrich Drepper <drepper@gmail.com>
27326
5c0b8d90
UD
27327 [BZ #12935]
27328 * malloc/memusage.sh: Fix quoting in message.
27329 * debug/xtrace.sh: Likewise.
27330
9113ea1f
UD
27331 * configure.in: Remove support for --experimental-malloc option, make
27332 it the default.
27333 * config.make.in: Likewise.
27334 * malloc/Makefile: Likewise.
27335
a4172181
AS
273362011-06-27 Andreas Schwab <schwab@redhat.com>
27337
27338 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
27339 two-byte characters.
27340
78a7eee7
RM
273412011-06-27 Roland McGrath <roland@hack.frob.com>
27342
62bede13
RM
27343 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
27344 AC_CACHE_CHECK invocation.
27345 * configure: Regenerated.
27346
78a7eee7
RM
27347 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
27348
5ce33a62
UD
273492011-06-27 Ulrich Drepper <drepper@gmail.com>
27350
034807a9
UD
27351 [BZ #12350]
27352 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
27353 bit from old_res_options.
27354
4902da17
UD
27355 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
27356
5ce33a62
UD
27357 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
27358 value type for setfct.
27359
c2344f56
L
273602011-06-23 H.J. Lu <hongjiu.lu@intel.com>
27361
27362 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27363 __gettimeofday instead of gettimeofday.
27364
68468076
UD
273652011-06-26 Ulrich Drepper <drepper@gmail.com>
27366
27367 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
27368
acb0d739
L
273692011-06-24 H.J. Lu <hongjiu.lu@intel.com>
27370
27371 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
27372
27373 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
27374 info.
27375
8912479f
L
273762011-06-22 H.J. Lu <hongjiu.lu@intel.com>
27377
27378 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27379 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
27380 strcpy-sse2-unaligned strncpy-sse2-unaligned
27381 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
27382 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
27383 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
27384 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
27385 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
27386 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
27387 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
27388 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
27389 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
27390 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
27391 (STRCPY): Support SSE2 and SSSE3 versions.
27392
d5495a11
UD
273932011-06-24 Ulrich Drepper <drepper@gmail.com>
27394
27395 [BZ #12874]
27396 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
27397 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
27398 kernels which artificially limit size of requests.
27399
0b1cbaae
L
274002011-06-22 H.J. Lu <hongjiu.lu@intel.com>
27401
27402 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27403 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
27404 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
27405 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
27406 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
27407 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
27408 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
27409 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
27410 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
27411 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
27412 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
27413 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
27414 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
27415 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
27416 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
27417 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27418 Enable unaligned load optimization for Intel Core i3, i5 and i7
27419 processors.
27420 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
27421 Define.
27422 (index_Fast_Unaligned_Load): Define.
27423 (HAS_FAST_UNALIGNED_LOAD): Define.
27424
07f494a0
MP
274252011-06-23 Marek Polacek <mpolacek@redhat.com>
27426
27427 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
27428
fa3fc0fe
UD
274292011-06-22 Ulrich Drepper <drepper@gmail.com>
27430
27431 [BZ #12907]
27432 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
27433 until it is clear that the information is realy needed.
27434 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
27435
e12df166
AS
274362011-06-22 Andreas Schwab <schwab@redhat.com>
27437
27438 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
27439
852eb34d
UD
274402011-06-22 Ulrich Drepper <drepper@gmail.com>
27441
84e2a551
UD
27442 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27443 /sys/devices/system/cpu/online if it is usable.
27444
852eb34d
UD
27445 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
27446 reading the information from the /proc filesystem to once a second.
27447
6e502e19
UD
274482011-06-21 Andreas Jaeger <aj@suse.de>
27449
27450 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
27451 NULL after inclusion of kernel headers.
27452
75d39ff2
UD
274532011-06-21 Ulrich Drepper <drepper@gmail.com>
27454
51f9aa6a
UD
27455 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
27456 calls to internal_setent.
27457
c0244a9d
UD
27458 [BZ #12885]
27459 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
27460 addresses using gethostbyname4_r ignore IPv4 addresses.
27461
c5e3c2ae
UD
27462 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
27463 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
27464
75d39ff2
UD
27465 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
27466
42675c6f
DM
274672011-06-20 David S. Miller <davem@davemloft.net>
27468
27469 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
27470 inclusions.
27471 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
27472
27473 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
27474 (elf_irel): Use it.
27475 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
27476 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
27477 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
27478 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
27479 * sysdeps/x86_64/dl-irel.h: Likewise.
27480
27481 * elf/dl-runtime.c: Use elf_ifunc_invoke.
27482 * elf/dl-sym.c: Likewise.
27483
57912a71
UD
274842011-06-15 Ulrich Drepper <drepper@gmail.com>
27485
27486 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
27487 need to dereference resplen2.
27488
ee22793d
AS
274892011-06-14 Andreas Schwab <schwab@redhat.com>
27490
27491 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
27492
a9e836b0
UD
274932011-06-15 Ulrich Drepper <drepper@gmail.com>
27494
77fb9117
UD
27495 * Makeconfig: Define vardbdir and inst_vardbdir.
27496 * nss/Makefile: Add rules to install db-Makefile.
27497
40c1b22c
UD
27498 * nss/nss_db/db-XXX.c: Cleanup.
27499
9f2da732
UD
27500 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
27501 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
27502 GLIBC_PRIVATE.
27503 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
27504 * nss/makedb.c: Implement -g option to specify that value strings
27505 are generated and should not be added to table iterated over for
27506 get*ent calls.
27507 * nss/nss_db/db-initgroups.c: New file.
27508
82e9a1f7
UD
27509 * nss/getent.c: Add support for initgroups lookups through getgrouplist
27510 interface.
27511
c41af17e
UD
27512 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
27513 (internal_getgrouplist): Adjust to name change.
27514 Update use_initgroups_entry if this is not the first call.
27515 * nss/databases.def: Add initgroups entry.
27516
a9e836b0
UD
27517 * nss/makedb.c (compute_tables): Check result of multiple hash table
27518 sizes to minimize maximum chain length.
27519
2666d441
UD
275202011-06-14 Ulrich Drepper <drepper@gmail.com>
27521
27522 * Versions.def: Add entry for libnss_db.
27523 * shlib-versions: Likewise.
27524 * nss/Makefile: Add rules to build libnss_db.
27525 * nss/Versions: Add libnss_db information. Organize libnss_files
27526 entries better.
27527 * nss/db-Makefile: Add gshadow support. Change rules for the new
27528 makedb progra. Some minor improvements to generate smaller files.
27529 * nss/nss_db/nss_db.h: Move NSS database header data structures to
27530 here from...
27531 * nss/makedb.c: ...here.
27532 Improve database format to be smaller and require less memory at
27533 runtime.
27534 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
27535 db anymore.
27536 * nss/nss_db/db-netgrp.c: Likewise.
27537 * nss/nss_db/db-open.c: Likewise.
27538 * nss/nss_files/flies-XXX.x: Adjust comments.
27539 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
27540 * nss/nss_files/files-grp.c: Likewise.
27541 * nss/nss_files/files-hosts.c: Likewise.
27542 * nss/nss_files/files-network.c: Likewise.
27543 * nss/nss_files/files-proto.c: Likewise.
27544 * nss/nss_files/files-pwd.c: Likewise.
27545 * nss/nss_files/files-rpc.c: Likewise.
27546 * nss/nss_files/files-service.c: Likewise.
27547 * nss/nss_files/files-sgrp.c: Likewise.
27548 * nss/nss_files/files-spwd.c: Likewise.
27549 * nss/nss_db/db-alias.c: Removed.
27550 * nss/nss_db/dummy-db.h: Removed.
27551
9ee76b5a
UD
275522011-06-02 Ulrich Drepper <drepper@gmail.com>
27553
27554 * nss/makedb.c: Rewritten to not use database library.
27555 * nss/Makefile: Update to build new makedb program.
27556
c71ca1f8
AJ
275572011-06-14 Andreas Jaeger <aj@suse.de>
27558
27559 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
27560 memset declaration.
27561
3154bfb8
UD
275622011-06-10 Andreas Schwab <schwab@redhat.com>
27563
27564 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
27565 tmpbuf.
27566
b350afab
RM
275672011-06-10 Roland McGrath <roland@hack.frob.com>
27568
decd4e50
RM
27569 * Makerules (shlib.lds): Fail if the linker script comes out empty.
27570 * elf/Makefile ($(objpfx)ld.so): Likewise.
27571
5615eaf2
RM
27572 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
27573 Don't list ld.so twice in dependencies.
27574
27575 * posix/bug-regex31.c: Include <stdlib.h>.
27576
27577 * nscd/hstcache.c (cache_addhst): Remove unused variable.
27578
27579 * nis/nss_compat/compat-spwd.c
27580 (getspent_next_nss_netgr): Remove unused variable.
27581 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
27582
27583 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
27584 nonmembers" output to use the right array.
27585
27586 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
27587
27588 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
27589
27590 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
27591 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
27592 * catgets/gencat.c (read_input_file): Likewise.
27593 * locale/programs/locarchive.c (enlarge_archive): Likewise.
27594
27595 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
27596 variable definition inside #if's controlling its use.
27597
27598 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
27599
27600 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
27601
27602 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
27603
27604 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
27605 unreachable code.
27606
27607 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
27608
b68e08db
RM
27609 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
27610 * configure: Regenerated.
27611
b350afab
RM
27612 * Makerules: Revert last change.
27613 * elf/Makefile: Likewise.
27614
28368601
RM
276152011-06-09 Roland McGrath <roland@hack.frob.com>
27616
27617 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
27618 * elf/Makefile ($(objpfx)librtld.os): Likewise.
27619 (reloc-link): Likewise.
27620
11988f8f
UD
276212011-06-09 Ulrich Drepper <drepper@gmail.com>
27622
27623 * elf/Makefile: Add rules to build pldd.
27624 * elf/pldd.c: New file.
27625 * elf/pldd-xx.c: New file.
27626
e80fab37
UD
276272011-06-07 Ulrich Drepper <drepper@gmail.com>
27628
27629 * version.h: Update for 2.15 development version.
27630
9b849836
DM
276312011-06-07 David S. Miller <davem@davemloft.net>
27632
27633 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
27634 ifuncs.
27635 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
27636 elf_machine_lazy_rel): Likewise.
27637 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27638 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
27639 elf_machine_lazy_rel): Likewise.
27640 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
27641 dl_hwcap via passed in argument.
27642 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
27643 Likewise.
27644
5a31b283
AK
276452011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27646
27647 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
27648
069e52f8
RM
276492011-06-06 Roland McGrath <roland@hack.frob.com>
27650
27651 [BZ #12849]
27652 * manual/fdl-1.1.texi: New file, verbatim from:
27653 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
27654 * manual/lgpl-2.1.texi: New file, verbatim from:
27655 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
27656 * manual/Makefile (licenses): New variable, list those new file names.
27657 (texis): Use it.
27658 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
27659
27660 * manual/fdl.texi: File removed.
27661 * manual/lesser.texi: File removed.
27662 * manual/libc.texinfo (Copying, Documentation License):
27663 Use new @include file names, put @appendix directive before @include.
27664
f16846a5
JJ
276652011-06-04 Jakub Jelinek <jakub@redhat.com>
27666
27667 [BZ #12841]
27668 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
27669 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
27670 (mq_open): Add __NTH.
27671
3d29045b
L
276722011-06-02 H.J. Lu <hongjiu.lu@intel.com>
27673
27674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27675 Assume Intel Core i3/i5/i7 processor if AVX is available.
27676
8c297311
UD
276772011-05-31 Ulrich Drepper <drepper@gmail.com>
27678
27679 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27680 typo.
27681
c8fc0c91
UD
276822011-05-31 Andreas Schwab <schwab@redhat.com>
27683
27684 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
27685 memory. Use alloca_account. Fix memory leak when retrying.
27686
5b27a807
UD
276872011-05-31 Ulrich Drepper <drepper@gmail.com>
27688
356f8bc6
UD
27689 * version.h (RELEASE): Bump for 2.14 release.
27690 * include/features.h (__GLIBC_MINOR__): Bump to 14.
27691
5b27a807
UD
27692 * config.make.in (RANLIB): Remove entry.
27693
01f16ab0
UD
276942011-05-30 Ulrich Drepper <drepper@gmail.com>
27695
41fce8bd
UD
27696 * po/Makefile (po-sed-cmd): Add ksh to extensions.
27697 (libc.pot): Work around missing support for .ksh extension in xgettext.
27698
4769ae77
UD
27699 [BZ #12684]
27700 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
27701 if both request failed.
27702 (send_dg): In case of server errors clear resplen or *resplen2.
27703
6b1e7d19
UD
27704 [BZ #12454]
27705 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
27706 when there are multiple maps.
27707 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
27708 (_dl_fini): Remove test here.
27709
01f16ab0
UD
27710 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
27711
b1ebd700
UD
277122011-05-29 Ulrich Drepper <drepper@gmail.com>
27713
7ae22829
UD
27714 [BZ #12350]
27715 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
27716 bit from old_res_options.
27717 (gaih_inet): Likewise.
27718
553149f6 27719 [BZ #11099]
18a84741 27720 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
27721 as signed.
27722
652ffab1
UD
27723 * resolv/res_init.c (res_setoptions): Make the code more compact.
27724
16985fd0
UD
27725 [BZ #11558]
27726 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
27727 set RES_USEVC.
27728
0464f746
UD
27729 [BZ #11634]
27730 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
27731
7d17596c
UD
27732 * malloc/malloc.h: Mark malloc hook variables as deprecated.
27733
cf6bbbd7
UD
27734 [BZ #11781]
27735 * malloc/malloc.h: Declare malloc hook variables as volatile.
27736
13f1ab36
UD
27737 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
27738 in last patch.
27739
b1ebd700
UD
27740 [BZ #11799]
27741 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 27742 raise in the comment.
80e2212d
UD
27743 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27744 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27745 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 27746
ce67228d
UD
277472011-05-28 Ulrich Drepper <drepper@gmail.com>
27748
8887a920
UD
27749 [BZ #12811]
27750 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
27751 grow the buffers more if it already has to be sufficient.
27752 (build_wcs_upper_buffer): Likewise.
27753 * posix/regexec.c (check_matching): Likewise.
27754 (clean_state_log_if_needed): Likewise.
27755 (extend_buffers): Don't enlarge buffers beyond size of the input
27756 buffer.
27757 Patches mostly by Emil Wojak <emil@wojak.eu>.
27758 * posix/bug-regex32.c: New file.
27759 * posix/Makefile (tests): Add bug-regex32.
27760
4f031072
UD
27761 * locale/findlocale.c (_nl_find_locale): Return right away if
27762 _nl_explode_name failed.
27763 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27764
d0478f0c
UD
27765 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
27766
de81b246
UD
27767 * debug/xtrace.sh: Unify messages.
27768 * malloc/memusage.sh: Likewise.
27769
c738465a
UD
27770 [BZ #12813]
27771 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
27772 time symbol from vDSO. Substitute with vsyscall if not available.
27773 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
27774 __vdso_time.
27775
f1f929d7
UD
27776 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
27777 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
27778 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
27779 Add sendmmsg and internal_sendmmsg.
27780 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
27781 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
27782 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
27783
ce67228d
UD
27784 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
27785 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
27786 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
27787
e57420c6
UD
277882011-05-27 Ulrich Drepper <drepper@gmail.com>
27789
a8509ca5
UD
27790 [BZ #12813]
27791 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
27792 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
27793 available.
27794 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
27795 __vdso_getcpu.
27796
e57420c6
UD
27797 [BZ #12814]
27798 * iconvdata/Makefile (tests): Add bug-iconv9.
27799 * iconvdata/bug-iconv9.c: New file.
27800
4d07db15
AS
278012011-05-27 Andreas Schwab <schwab@redhat.com>
27802
27803 [BZ #12814]
27804 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
27805
ea486f69
JJ
278062011-05-25 Jakub Jelinek <jakub@redhat.com>
27807
27808 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27809 (struct user_regs_struct): Change intcs field back to cs.
27810
6f038433
UD
278112011-05-25 Ulrich Drepper <drepper@gmail.com>
27812
27813 * po/ja.po: Update from translation team.
27814
67f86a25
UD
278152011-05-23 Ulrich Drepper <drepper@gmail.com>
27816
27817 [BZ #12795]
27818 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
27819 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
27820
def7fbd6
AS
278212011-05-20 Andreas Schwab <schwab@redhat.com>
27822
27823 * stdlib/longlong.h: Update from GCC.
27824
f50ef8f1
AS
278252011-05-23 Andreas Schwab <schwab@redhat.com>
27826
27827 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
27828 parameter name.
27829 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
27830 Add parameter name.
27831 (__sysconf): Pass it down.
27832
de7ce8f1
UD
278332011-05-22 Ulrich Drepper <drepper@gmail.com>
27834
f2962a71
UD
27835 [BZ #12671]
27836 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
27837 some situations.
27838 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27839 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
27840 add in in __libc_use_alloca calls. Adjust callers.
27841 (glob): Use malloc in some situations.
27842
de7ce8f1
UD
27843 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
27844 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
27845 pltexit.
27846
aec84f53
UD
278472011-05-21 Ulrich Drepper <drepper@gmail.com>
27848
05bb4a68
UD
27849 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
27850 and CLOCK_BOOTTIME_ALARM.
27851
7ea72f99
UD
27852 [BZ #12782]
27853 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
27854 is returned.
27855
7e4afad5
UD
27856 * string/_strerror.c (__strerror_r): Print negative errors as signed
27857 numbers.
27858
8e211fec
UD
27859 [BZ #12777]
27860 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
27861 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
27862 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
27863
f7d82dc9
UD
27864 * configure.in: Fix typo in redirection and correct removal of test
27865 files in two cases.
27866
cc9e536d
UD
27867 [BZ #12788]
27868 * locale/setlocale.c (new_composite_name): Fix test to check for
27869 identical name of all categories.
27870
aec84f53
UD
27871 [BZ #12792]
27872 * libio/filedoalloc.c (local_isatty): New function.
27873 (_IO_file_doallocate): Use local_isatty.
27874 * stdio-common/perror.c (perror): In case a new stream is used
27875 forward the stream error.
27876 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
27877 error flag.
27878
78e64fdc
RT
278792011-05-20 Ulrich Drepper <drepper@gmail.com>
27880
34a9094f
UD
27881 [BZ #11869]
27882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
27883 alloca.
27884 * include/alloca.h (extend_alloca_account): Define.
27885
78e64fdc
RT
27886 [BZ #11857]
27887 * posix/regex.h: Fix comments with documentation of user-accessible
27888 fields after compilation and describe correct free'ing of pattern
27889 after re_compile_pattern.
27890 Patch by Reuben Thomas <rrt@sc3d.org>.
27891
457bddfc
RA
278922011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
27893
27894 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
27895 and -mno-altivec to prevent the compiler from using Altivec and/or
27896 VSX instructions when the corresponding registers are not available.
27897
a4527b51
AS
278982011-05-19 Andreas Schwab <schwab@redhat.com>
27899
27900 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
27901
ed690b2f
UD
279022011-05-19 Ulrich Drepper <drepper@gmail.com>
27903
27904 * libio/freopen.c (freopen): Use __dup2, not dup2.
27905 * libio/freopen64.c (freopen64): Likewise.
27906
8db73634
L
279072011-05-17 H.J. Lu <hongjiu.lu@intel.com>
27908
27909 [BZ #12775]
27910 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
27911 * math/Makefile (tests): Add test-powl.
27912 (CFLAGS-test-powl.c): Define.
27913 * math/test-powl.c: New file.
27914
0a197a9d
L
279152011-05-16 H.J. Lu <hongjiu.lu@intel.com>
27916
27917 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
27918
ee30c380
UD
279192011-05-17 Ulrich Drepper <drepper@gmail.com>
27920
27921 [BZ #11837]
27922 * iconvdata/gb18030.c: Update to GB18020-2005.
27923
6ce75379
UD
279242011-05-16 Ulrich Drepper <drepper@gmail.com>
27925
a4b89fd8
AR
27926 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
27927 RE_SYNTAX_POSIX_AWK): Update to match recent development.
27928 Patch by Aharon Robbins <arnold@skeeve.com>.
27929
ea389b12
UD
27930 [BZ #11892]
27931 * stdlib/putenv.c (putenv): Don't always create copy of the variable
27932 on the stack.
27933
68a3f91f
UD
27934 [BZ #11895]
27935 * misc/pselect.c (__pselect): Handle timeout value errors hidden
27936 through underflows.
27937
15cc7dd1
UD
27938 [BZ #12766]
27939 * misc/error.c (error_at_line): Ensure file_name and old_file_name
27940 point to strings before performing equality test for error_one_per_line
27941 mode.
27942
f3799213
UD
27943 [BZ #11697]
27944 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
27945
d79a9c94
UD
27946 [BZ #11820]
27947 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27948 (struct user_fpregs_struct): Avoid __uint*_t types.
27949
56e5eb46
UD
27950 [BZ #6420]
27951 * malloc/mtrace.c (tr_where): Add additional parameter to point to
27952 symbol info. Use it instead of calling _dl_addr locally.
27953 (lock_and_info): New function.
27954 (tr_freehook): Call lock_and_info and pass symbol info as additional
27955 parameter to tr_where.
27956 (tr_mallochook): Likewise.
27957 (tr_reallochook): Likewise.
27958 (tr_memalignhook): Likewise.
27959
6ce75379
UD
27960 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
27961 used and couldn't be at all thread-safe.
27962
f8a3b5bf
UD
279632011-05-15 Ulrich Drepper <drepper@gmail.com>
27964
94b7cc37
UD
27965 * libio/freopen.c (freopen): Don't close old file descriptor
27966 before the new one is opened. Instead dup the new file descriptor
27967 to the old one after the new stream is created.
27968 * libio/freopen64.c (freopen64): Likewise.
27969 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
27970 * libio/fileops.c (_IO_new_file_close_it): Handle new
27971 _IO_FLAGS2_NOCLOSE flag.
27972 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
27973 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
27974 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
27975 _IO_FLAGS2_NOCLOSE flag.
27976 * include/unistd.h: Add hidden_proto for dup3.
27977 Define __have_dup3.
27978 * io/dup3.c: Define hidden symbol.
27979 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
27980
bd25564e
UD
27981 [BZ #7101]
27982 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
27983 when an incomplete long option is used.
27984 * posix/tst-getopt_long1.c: New file.
27985 * posix/Makefile (tests): Add tst-getopt_long1.
27986
c84cfef4
UD
27987 [BZ #10138]
27988 * scripts/config.guess: Update from autoconf-2.68.
27989 * scripts/config.sub: Likewise.
27990
3b85df27
UD
27991 [BZ #10157]
27992 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
27993 tests into ...
27994 (has_cpuclock): ...this. New function.
27995 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
27996 macro here based on has_cpuclock code.
27997
15a856b1
UD
27998 [BZ #10149]
27999 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28000 First byte (not low byte) is now always NUL.
28001 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
28002
05f399e6
UD
28003 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28004 Use non-cancelable interfaces.
28005
10a52685 28006 [BZ #9809]
94ecc67d
UD
28007 * locale/iso-639.def: Add entry for Sorani.
28008
f8a3b5bf
UD
28009 [BZ #11901]
28010 * include/stdlib.h: Move include protection to the right place.
28011 Define abort_msg_s. Declare __abort_msg with it.
28012 * stdlib/abort.c (__abort_msg): Adjust type.
28013 * assert/assert.c (__assert_fail_base): New function. Majority
28014 of code from __assert_fail. Allocate memory for __abort_msg with
28015 mmap.
28016 (__assert_fail): Now call __assert_fail_base.
28017 * assert/assert-perr.c: Remove bulk of implementation. Use
28018 __assert_fail_base.
28019 * include/assert.hL Declare __assert_fail_base.
28020 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
28021 mmap.
28022 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
28023
1af4e298
UD
280242011-05-14 Ulrich Drepper <drepper@gmail.com>
28025
f8a3b5bf 28026 [BZ #11952]
d26dfc60
MG
28027 [BZ #12453]
28028 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
28029 until all modules are registered in the DTV.
28030 * elf/Makefile: Add rules to build and run tst-tls19.
28031 * elf/tst-tls19.c: New file.
28032 * elf/tst-tls19mod1.c: New file.
28033 * elf/tst-tls19mod2.c: New file.
28034 * elf/tst-tls19mod3.c: New file.
28035 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
28036
2fc54d6f
UD
28037 [BZ #12083]
28038 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
28039 correctly.
28040
98d76b46
UD
28041 [BZ #12601]
28042 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
28043 two-byte sequence errors.
28044 * iconvdata/Makefile (tests): Add bug-iconv8.
28045 * iconvdata/bug-iconv8.c: New file.
28046
da3c19ef
UD
28047 [BZ #12626]
28048 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
28049 buf2 definition.
28050
ca408c15
UD
28051 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
28052
d6f67f7d
UD
28053 [BZ #12432]
28054 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
28055 (dummy_getcfa): New function.
28056 (init): Get _Unwind_GetCFA address, use dummy if not found.
28057 (backtrace_helper): In recursion check, also check whether CFA changes.
28058 (__backtrace): Completely initialize arg.
28059
1af4e298 28060 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
28061 storing incomplete byte sequence in state object. Avoid testing for
28062 guaranteed too small input if we know there is enough data available.
1af4e298 28063
da62f81b
AS
280642011-05-11 Andreas Schwab <schwab@redhat.com>
28065
28066 * Makeconfig (+link-pie): Indent.
28067 * Rules (binaries-pie): Define if $(have-fpie) and
28068 $(build-shared).
28069 (binaries-shared): Also filter out $(binaries-pie).
28070 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
28071 * nscd/Makefile (others-pie): Add nscd.
28072 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
28073 ($(objpfx)nscd): Remove command override.
28074 * login/Makefile (others-pie): Add pt_chown.
28075 ($(objpfx)pt_chown): Remove command override.
28076 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
28077 remove command overrides.
28078
fcabc0f8
UD
280792011-05-13 Ulrich Drepper <drepper@gmail.com>
28080
20030ae6
UD
28081 * libio/tst_putwc.c: Fix error messages.
28082
fcabc0f8
UD
28083 [BZ #12724]
28084 * libio/fileops.c (_IO_new_file_close_it): Always flush when
28085 currently writing and seek to current position when not.
28086 * libio/Makefile (tests): Add bug-fclose1.
28087 * libio/bug-fclose1.c: New file.
28088
320a5dc0
PB
280892011-05-12 Ulrich Drepper <drepper@gmail.com>
28090
28091 [BZ #12511]
28092 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
28093 don't set DF_1_NODELETE here.
28094 (do_lookup_x): When entering new entry test for copy relocation
28095 and if necessary set DF_1_NODELETE flag.
28096 * elf/tst-unique4.cc: New file.
28097 * elf/tst-unique4.h: New file.
28098 * elf/tst-unique4lib.cc: New file.
28099 * elf/Makefile: Add rules to build and run tst-unique4.
28100 Patch by Piotr Bury <pbury@goahead.com>.
28101
22836f52
UD
281022011-05-11 Ulrich Drepper <drepper@gmail.com>
28103
f574184a
UD
28104 [BZ #12052]
28105 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
28106
e1fb097f
UD
28107 [BZ #12625]
28108 * misc/mntent_r.c (addmntent): Flush the stream after the output
28109
22836f52
UD
28110 [BZ #12393]
28111 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
28112 (is_trusted_path_normalize): Skip initial colon. Append slash
28113 to empty buffer. Duplicate is_trusted_path code but allow
28114 constructed patch to be prefix.
28115 (is_dst): Allow $ORIGIN followed by /.
28116 (_dl_dst_substitute): Correct clearing of check_for_trusted.
28117 Correct testing of result of is_trusted_path_normalize
28118 (decompose_rpath): Fix warning.
28119
7b3b0b2a
UD
281202011-05-10 Ulrich Drepper <drepper@gmail.com>
28121
28122 [BZ #11257]
28123 * grp/initgroups.c (internal_getgrouplist): When we found the service
28124 list through the initgroups entry in nsswitch.conf do not always
28125 continue on a successful lookup. Don't always use the
eac80ce2 28126 __nss_group_database value if it is set.
7b3b0b2a
UD
28127 * nss/nsswitch.conf (initgroups): Change action for successful db
28128 lookup to continue for compatibility.
28129
2a81eaa5
UD
281302011-05-09 Ulrich Drepper <drepper@gmail.com>
28131
be97a69e
UD
28132 [BZ #11532]
28133 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
28134 and CP774 modules.
28135 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
28136 and CP774 modules.
28137 * iconvdata/tst-tables.sh: Likewise.
28138 * iconvdata/cp770.c: New file.
28139 * iconvdata/cp771.c: New file.
28140 * iconvdata/cp772.c: New file.
28141 * iconvdata/cp773.c: New file.
28142 * iconvdata/cp774.c: New file.
28143 * iconvdata/testdata/CP770: New file.
28144 * iconvdata/testdata/CP770..UTF8: New file.
28145 * iconvdata/testdata/CP771: New file.
28146 * iconvdata/testdata/CP771..UTF8: New file.
28147 * iconvdata/testdata/CP772: New file.
28148 * iconvdata/testdata/CP772..UTF8: New file.
28149 * iconvdata/testdata/CP773: New file.
28150 * iconvdata/testdata/CP773..UTF8: New file.
28151 * iconvdata/testdata/CP774: New file.
28152 * iconvdata/testdata/CP774..UTF8: New file.
28153
28154 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
28155 END CHARMAP line.
28156 * iconvdata/gen-8bit-gap.sh: Likewise.
28157 * iconvdata/gen-8bit.sh: Likewise.
28158
c1e9e399
UD
28159 * locale/iso-639.def: Add ary entry.
28160
24c55fb3 28161 [BZ #11258]
96b4b1b0
UD
28162 * locale/C-translit.h.in: Add U20A1 transliteration.
28163
bdc2f971
KB
28164 [BZ #12178]
28165 * locale/iso-639.def: Add wae entry.
28166 Patch by Kevin Bortis <bortis@translate-wae.ch>.
28167
2952b117
UD
28168 [BZ #12545]
28169 * locale/programs/localedef.c (construct_output_path): Use ssize_t
28170 for n.
28171
2a81eaa5
UD
28172 [BZ #12711]
28173 * locale/C-translit.h.in: Add entry for U20B9.
28174 Patch by pravin.d.s@gmail.com.
28175
28377d1b
UD
281762011-05-08 Ulrich Drepper <drepper@gmail.com>
28177
7fb90fb8
UD
28178 [BZ #12713]
28179 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
28180 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
28181 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
28182 in rtld. Use *stat64.
7fb90fb8 28183 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 28184 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 28185 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
28186 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
28187 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
28188 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
28189 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
28190 __fstatat64 macros.
7fb90fb8
UD
28191 * include/dirent.h: Add libc_hidden_proto for rewinddir.
28192 * dirent/rewinddir.c: Add libc_hidden_def.
28193 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 28194 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 28195
28377d1b
UD
28196 * include/dirent.h (__alloc_dir): Add flags parameter.
28197 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
28198 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
28199 __alloc_dir.
28200 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
28201 from fdopendir if O_CLOEXEC is already set.
28202
66bdbaa4
AM
282032011-03-15 Alan Modra <amodra@gmail.com>
28204
28205 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
28206 l_tls_firstbyte_offset non-zero. Save padding offset in
28207 l_tls_firstbyte_offset for later use.
28208 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
28209 freeing static tls block.
28210
95721191
JN
282112011-03-05 Jonathan Nieder <jrnieder@gmail.com>
28212
28213 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
28214 where #ifdef was intended. The intent is to prevent ARG_MAX from
28215 being defined by the kernel headers.
28216
f87dfb1f
UD
282172011-05-07 Ulrich Drepper <drepper@gmail.com>
28218
28219 [BZ #12734]
28220 * resolv/resolv.h: Define RES_NOTLDQUERY.
28221 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
28222 no-tld-query and set RES_NOTLDQUERY.
28223 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
28224 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
28225 modern BIND to search name as TLD unless forbidden.
28226
47c3cd7a
UD
282272011-05-07 Petr Baudis <pasky@suse.cz>
28228 Ulrich Drepper <drepper@gmail.com>
28229
28230 [BZ #12393]
28231 * elf/dl-load.c (fillin_rpath): Move trusted path check...
28232 (is_trusted_path): ...to here.
c1e9ea35 28233 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 28234 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 28235 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 28236
8a35c912
PP
282372011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28238
28239 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
28240 __BEGIN/__END_DECLS.
28241
acd41f47
UD
282422011-05-06 Ulrich Drepper <drepper@gmail.com>
28243
28244 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
28245 NSS_STATUS_NOTFOUND if no record was found.
28246
597df647
AS
282472011-05-05 Andreas Schwab <schwab@redhat.com>
28248
28249 * sunrpc/Makefile (headers): Add rpc/netdb.h.
28250 (headers-not-in-tirpc): Remove rpc/netdb.h
28251 * resolv/netdb.h: Revert last change.
28252
b9af1301
PP
282532011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28254
28255 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
28256 circular dependency between libgcc.a and libc.a.
28257
4e34d5f5
AS
282582011-05-05 Andreas Schwab <schwab@redhat.com>
28259
28260 * resolv/netdb.h: Don't include <rpc/netdb.h>.
28261 * nis/Makefile: Don't install rpcsvc/*.
28262 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
28263 instead of <rpc/types.h>.
28264 (MAXHOSTNAMELEN): Define.
28265
00ee369c
AS
282662011-05-03 Andreas Schwab <schwab@redhat.com>
28267
28268 * elf/ldconfig.c (add_dir): Don't crash on empty path.
28269
0b592a30
MB
282702011-04-28 Maciej Babinski <mbabinski@google.com>
28271
28272 [BZ #12714]
28273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
28274 gethostbyname4_r when IPv6 results are possible.
28275
6e04cbbe
UD
282762011-05-02 Ulrich Drepper <drepper@gmail.com>
28277
28278 [BZ #12723]
28279 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
28280 _PC_PIPE_BUF handling.
28281
e4ecafe0
BH
282822011-04-30 Bruno Haible <bruno@clisp.org>
28283
28284 [BZ #12717]
28285 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
28286 * resolv/netdb.h (getnameinfo): Change type of flags parameter
28287 to 'int'.
28288 * inet/getnameinfo.c (getnameinfo): Likewise.
28289
125ee683
UD
282902011-04-29 Ulrich Drepper <drepper@gmail.com>
28291
28292 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
28293 to groups setting in database lookup.
28294 * nss/nsswitch.conf: Add initgroups entry.
28295
b722481a
EB
282962011-04-22 Ulrich Drepper <drepper@gmail.com>
28297
28298 [BZ #12685]
28299 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
28300 mode string.
28301 Patch by Eric Blake <eblake@redhat.com>.
28302
4df46dbd
L
283032011-04-20 H.J. Lu <hongjiu.lu@intel.com>
28304
28305 * sunrpc/Makefile (need-export-routines): Add svc_run.
28306 (routines): Remove svc_run.
28307 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
28308 * sunrpc/clnt_perr.c (clnt_perrno): Export.
28309 * sunrpc/svc_run.c (svc_run): Likewise.
28310 * sunrpc/svc_udp.c (svcudp_create): Likewise.
28311
e84142d2
UD
283122011-04-21 Ulrich Drepper <drepper@gmail.com>
28313
28314 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
28315 problem in reallocation in last patch.
28316
877175d8
UD
283172011-04-20 Ulrich Drepper <drepper@gmail.com>
28318
28319 * sunrpc/Makefile: Move inclusion of Rules.
28320
ab8eed78
UD
283212011-04-19 Ulrich Drepper <drepper@gmail.com>
28322
28323 * nss/nss_files/files-initgroups.c: New file.
28324 * nss/Makefile (libnss_files-routines): Add files-initgroups.
28325 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
28326 _nss_files_initgroups_dyn.
28327
e3d8f584
RS
283282011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
28329
28330 * elf/elf.h (R_ARM_IRELATIVE): Define.
28331
af190f45
UD
283322011-04-19 Ulrich Drepper <drepper@gmail.com>
28333
28334 * po/ru.po: Update from translation team.
28335
53cf59ef
UD
283362011-04-17 Ulrich Drepper <drepper@gmail.com>
28337
28338 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
28339 dependencies.
28340
4c559bcd
MF
283412011-02-06 Mike Frysinger <vapier@gentoo.org>
28342
28343 [BZ #12653]
28344 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
28345 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
28346 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28347 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28348 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28349
4420675c
AS
283502011-03-28 Andreas Schwab <schwab@linux-m68k.org>
28351
28352 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
28353 differing bytes.
28354 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28355 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28356 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28357
75ea32ab
UD
283582011-04-17 Ulrich Drepper <drepper@gmail.com>
28359
28360 [BZ #12420]
28361 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
28362 storing it.
28363 * stdlib/bug-getcontext.c: New file.
28364 * stdlib/Makefile: Add rules to build and run bug-getcontext.
28365
27390476
AK
283662011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28367
28368 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
28369 instructions into .machine "z9-109".
28370 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
28371 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
28372
10442705
AK
283732011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28374
28375 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
28376 between environment variables and auxiliary vector.
28377
7b57bfe5
UD
283782011-04-16 Ulrich Drepper <drepper@gmail.com>
28379
28380 * Makefile: Add rules to build linkobj/libc.so.
28381 * include/libc-symbols.h: Define libc_hidden_nolink.
28382 * include/rpc/auth.h: Mark functions which are to be hidden.
28383 * include/rpc/auth_des.h: Likewise.
28384 * include/rpc/auth_unix.h: Likewise.
28385 * include/rpc/clnt.h: Likewise.
28386 * include/rpc/des_crypt.h: Likewise.
28387 * include/rpc/key_prot.h: Likewise.
28388 * include/rpc/pmap_clnt.h: Likewise.
28389 * include/rpc/pmap_prot.h: Likewise.
28390 * include/rpc/pmap_rmt.h: Likewise.
28391 * include/rpc/rpc_msg.h: Likewise.
28392 * include/rpc/svc.h: Likewise.
28393 * include/rpc/svc_auth.h: Likewise.
28394 * include/rpc/xdr.h: Likewise.
28395 * nis/Makefile: Link all DSOs against linkobj/libc.so.
28396 * nss/Makefile: Likewise.
28397 * sunrpc/Makefile: Don't install headers. Build library with normal
28398 entry points. Don't build rpcinfo. Link RPC tests appropriately.
28399 * sunrpc/auth_des.c: Hide exported symbols by default, export some
28400 for the compat linking library. Remove use of INTDEF/INTUSE.
28401 * sunrpc/auth_none.c: Likewise.
28402 * sunrpc/auth_unix.c: Likewise.
28403 * sunrpc/authdes_prot.c: Likewise.
28404 * sunrpc/authuxprot.c: Likewise.
28405 * sunrpc/clnt_gen.c: Likewise.
28406 * sunrpc/clnt_perr.c: Likewise.
28407 * sunrpc/clnt_raw.c: Likewise.
28408 * sunrpc/clnt_simp.c: Likewise.
28409 * sunrpc/clnt_tcp.c: Likewise.
28410 * sunrpc/clnt_udp.c: Likewise.
28411 * sunrpc/clnt_unix.c: Likewise.
28412 * sunrpc/des_crypt.c: Likewise.
28413 * sunrpc/des_soft.c: Likewise.
28414 * sunrpc/get_myaddr.c: Likewise.
28415 * sunrpc/key_call.c: Likewise.
28416 * sunrpc/key_prot.c: Likewise.
28417 * sunrpc/netname.c: Likewise.
28418 * sunrpc/pm_getmaps.c: Likewise.
28419 * sunrpc/pm_getport.c: Likewise.
28420 * sunrpc/pmap_clnt.c: Likewise.
28421 * sunrpc/pmap_prot.c: Likewise.
28422 * sunrpc/pmap_prot2.c: Likewise.
28423 * sunrpc/pmap_rmt.c: Likewise.
28424 * sunrpc/publickey.c: Likewise.
28425 * sunrpc/rpc_cmsg.c: Likewise.
28426 * sunrpc/rpc_common.c: Likewise.
28427 * sunrpc/rpc_dtable.c: Likewise.
28428 * sunrpc/rpc_prot.c: Likewise.
28429 * sunrpc/rpc_thread.c: Likewise.
28430 * sunrpc/rtime.c: Likewise.
28431 * sunrpc/svc.c: Likewise.
28432 * sunrpc/svc_auth.c: Likewise.
28433 * sunrpc/svc_authux.c: Likewise.
28434 * sunrpc/svc_raw.c: Likewise.
28435 * sunrpc/svc_run.c: Likewise.
28436 * sunrpc/svc_simple.c: Likewise.
28437 * sunrpc/svc_tcp.c: Likewise.
28438 * sunrpc/svc_udp.c: Likewise.
28439 * sunrpc/svc_unix.c: Likewise.
28440 * sunrpc/svcauth_des.c: Likewise.
28441 * sunrpc/xcrypt.c: Likewise.
28442 * sunrpc/xdr.c: Likewise.
28443 * sunrpc/xdr_array.c: Likewise.
28444 * sunrpc/xdr_float.c: Likewise.
28445 * sunrpc/xdr_intXX_t.c: Likewise.
28446 * sunrpc/xdr_mem.c: Likewise.
28447 * sunrpc/xdr_rec.c: Likewise.
28448 * sunrpc/xdr_ref.c: Likewise.
28449 * sunrpc/xdr_sizeof.c: Likewise.
28450 * sunrpc/xdr_stdio.c: Likewise.
28451
e6c61494
UD
284522011-04-10 Ulrich Drepper <drepper@gmail.com>
28453
28454 [BZ #12650]
28455 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
28456 * sysdeps/ia64/dl-tls.h: Likewise.
28457 * sysdeps/powerpc/dl-tls.h: Likewise.
28458 * sysdeps/s390/dl-tls.h: Likewise.
28459 * sysdeps/sh/dl-tls.h: Likewise.
28460 * sysdeps/sparc/dl-tls.h: Likewise.
28461 * sysdeps/x86_64/dl-tls.h: Likewise.
28462 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
28463
34fe483e
AS
284642011-03-14 Andreas Schwab <schwab@redhat.com>
28465
28466 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
28467 rpath element also skip the following colon.
28468 (expand_dynamic_string_token): Add is_path parameter and pass
28469 down to DL_DST_REQUIRED and _dl_dst_substitute.
28470 (decompose_rpath): Call expand_dynamic_string_token with
28471 non-zero is_path. Ignore empty rpaths.
28472 (_dl_map_object_from_fd): Call expand_dynamic_string_token
28473 with zero is_path.
28474
f12a32e6
AS
284752011-04-08 Andreas Schwab <schwab@linux-m68k.org>
28476
28477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28478 Make cancelable.
28479
38a7d692
UD
284802011-04-09 Ulrich Drepper <drepper@gmail.com>
28481
28482 [BZ #12655]
28483 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
28484 Patch by Filipe David Manana <fdmanana@apache.org>.
28485
e451d22b
AS
284862011-04-07 Andreas Schwab <schwab@redhat.com>
28487
28488 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
28489 Maintain aligned stack.
28490 (CHECK_RSP): Remove unused macro.
28491
dedc7c7b
UD
284922011-04-03 Ulrich Drepper <drepper@gmail.com>
28493
28494 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
28495 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
28496
94521213
UD
284972011-04-02 Ulrich Drepper <drepper@gmail.com>
28498
28499 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
28500
8cb700c0 28501 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 28502
0354e355
L
285032011-03-26 H.J. Lu <hongjiu.lu@intel.com>
28504
28505 [BZ #12518]
28506 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
28507 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
28508 * sysdeps/x86_64/memmove.c: New file.
28509 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
28510 (memcpy): Renamed to ...
28511 (__new_memcpy): This.
28512 (memcpy): Provide GLIBC_2_14 memcpy.
28513 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
28514 (memcpy): Provide GLIBC_2_2_5 memcpy.
28515
8593482f
UD
285162011-04-01 Ulrich Drepper <drepper@gmail.com>
28517
28518 [BZ #12631]
28519 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
28520
81a5726b
AS
285212011-03-30 Andreas Schwab <schwab@redhat.com>
28522
28523 * misc/syncfs.c: New file.
28524 * misc/Makefile (routines): Add syncfs.
28525 * posix/unistd.h: Declare syncfs.
28526 * sysdeps/unix/syscalls.list: Add syncfs.
28527
00e5419f
AS
285282011-04-01 Andreas Schwab <schwab@redhat.com>
28529
28530 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
28531 open_by_handle_at.
28532 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28533 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28534 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28535 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28536 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28537 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
28538 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28539
748876bf
UD
285402011-04-01 Ulrich Drepper <drepper@gmail.com>
28541
658e451d
UD
28542 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
28543 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28544 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
28545 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28546 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28547 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28548 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28549
748876bf
UD
28550 * io/Makefile: Compile fallocate.c, fallocate64.c, and
28551 sync_file_range.c with -fexceptions.
28552 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
28553 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
28554 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
28555 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
28556 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
28557 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28558 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
28559 sync_file_range as cancellation point
28560 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
28561 now a wrapper around __call_sync_file_range with cancellation handling.
28562 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
28563 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
28564 function name to __call_sync_file_range.
28565 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
28566 Add call_sync_file_range.
748876bf 28567
6e63d5e1
AS
285682011-04-01 Andreas Schwab <schwab@redhat.com>
28569
28570 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 28571 bits/timex.h.
6e63d5e1 28572
46998f74
UD
285732011-04-01 Ulrich Drepper <drepper@gmail.com>
28574
4c1423ed
UD
28575 * iconv/iconv.h: Fix typo in comment.
28576 * io/fcntl.h: Likewise.
28577 * libio/stdio.h: Likewise.
28578 * posix/spawn.h: Likewise.
28579 * posix/unistd.h: Likewise.
28580 * stdlib/stdlib.h: Likewise.
28581 * time/time.h: Likewise.
28582 * wcsmbs/wchar.h: Likewise.
28583
158648c0
UD
28584 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
28585 open_by_handle): Add.
28586 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
28587 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
28588 Augment a few comments.
28589 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28590 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28591 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28592 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28593 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28594 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
28595 open_by_handle.
28596
46998f74
UD
28597 * io/fcntl.h (AT_EMPTY_PATH): Define.
28598
83fe108b
UD
285992011-03-30 Ulrich Drepper <drepper@gmail.com>
28600
28601 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
28602 * sysdeps/unix/sysv/linux/bits/time.h: New file.
28603 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
28604 to...
28605 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
28606 * Versions.def: Add GLIBC_2.14.
28607 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
28608 Export.
83fe108b 28609
bb242059
UD
286102011-03-22 Ulrich Drepper <drepper@gmail.com>
28611
28612 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
28613 round counter.
28614 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28615
c97a1282
L
286162011-03-20 H.J. Lu <hongjiu.lu@intel.com>
28617
28618 [BZ #12597]
28619 * string/test-strncmp.c (do_page_test): New function.
28620 (check2): Likewise.
28621 (test_main): Call check2.
28622 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
28623
2a115601
UD
286242011-03-20 Ulrich Drepper <drepper@gmail.com>
28625
28626 [BZ #12587]
28627 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
28628 Handle cache information in CPU leaf 4.
28629 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28630
8126d904
UD
286312011-03-18 Ulrich Drepper <drepper@gmail.com>
28632
042c49c6 28633 [BZ #12583]
8126d904
UD
28634 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
28635 character representation.
28636 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
28637
ccfe366e
RA
286382011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
28639
28640 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
28641 END(__isnan) to END(__isnanf) to match function entry point/label
28642 EALIGN(__isnanf,...).
28643
c6e13027
JJ
286442011-03-10 Jakub Jelinek <jakub@redhat.com>
28645
28646 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
28647
33f85a3f
UD
286482011-03-10 Ulrich Drepper <drepper@gmail.com>
28649
028478fa
UD
28650 [BZ #12510]
28651 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
28652 copy from the symbol referenced in the relocation to initialize the
28653 used variable.
28654 Patch by Piotr Bury <pbury@goahead.com>.
28655 * elf/Makefile: Add rules to build and tst-unique3.
28656 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
28657 * elf/tst-unique3.cc: New file.
28658 * elf/tst-unique3.h: New file.
28659 * elf/tst-unique3lib.cc: New file.
28660 * elf/tst-unique3lib2.cc: New file.
28661
33f85a3f
UD
28662 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
28663
03592fc7
MF
286642011-03-10 Mike Frysinger <vapier@gentoo.org>
28665
28666 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
28667 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
28668 to _start.
03592fc7 28669
6a5ee102
UD
286702011-03-06 Ulrich Drepper <drepper@gmail.com>
28671
28672 * elf/dl-load.c (_dl_map_object): If we are looking for the first
28673 to-be-loaded object along a path to loader is ld.so.
28674
7e4ba49c
HJ
286752011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28676 Ulrich Drepper <drepper@gmail.com>
28677
28678 * sysdeps/x86_64/memset.S: After aligning destination, code
28679 branches to different locations depending on the value of
28680 misalignment, when multiarch is enabled. Fix this.
28681
286822011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28683
28684 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
28685 Set _x86_64_preferred_memory_instruction for AMD processsors.
28686 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28687 Set bit_Prefer_SSE_for_memop for AMD processors.
28688
13a804de
UD
286892011-03-04 Ulrich Drepper <drepper@gmail.com>
28690
28691 * libio/fmemopen.c (fmemopen): Optimize a bit.
28692
9d25c392
AS
286932011-03-03 Andreas Schwab <schwab@redhat.com>
28694
28695 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
28696
a5543c6a
RM
286972011-03-03 Roland McGrath <roland@redhat.com>
28698
28699 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
28700
012d35f7
DM
287012011-02-28 Aurelien Jarno <aurelien@aurel32.net>
28702
7e4ba49c 28703 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
28704 __bzero_ultra1 instead of __memset_ultra1.
28705
4bff6e01
AS
287062011-02-23 Andreas Schwab <schwab@redhat.com>
28707 Ulrich Drepper <drepper@gmail.com>
28708
28709 [BZ #12509]
28710 * include/link.h (struct link_map): Add l_orig_initfini.
28711 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
28712 returning unsuccessfully.
28713 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
28714 close of a file loaded at startup, restore the original l_initfini
28715 list.
28716 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
28717 list, store the pointer.
28718 * elf/Makefile ($(objpfx)noload-mem): New rule.
28719 (noload-ENV): Define.
28720 (tests): Add $(objpfx)noload-mem.
28721 * elf/noload.c: Include <memcheck.h>.
28722 (main): Call mtrace. Close all opened handles.
28723
f2092faf
AS
287242011-02-17 Andreas Schwab <schwab@redhat.com>
28725
28726 [BZ #12454]
28727 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
28728 dependencies are missing.
28729
6c8a2e88
ST
287302011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
28731
f2092faf 28732 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
28733 Hurd needs munmap.
28734 * sysdeps/mach/hurd/ifreq.h: New file.
28735
84a42118
PB
287362011-01-27 Petr Baudis <pasky@suse.cz>
28737 Ulrich Drepper <drepper@gmail.com>
28738
071f805e 28739 [BZ 12445]#
84a42118
PB
28740 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
28741 to extend_alloca().
28742 * stdio-common/bug23.c: New file.
28743 * stdio-common/Makefile (tests): Add bug23.
28744
e23fe25b
AS
287452010-09-28 Andreas Schwab <schwab@redhat.com>
28746 Ulrich Drepper <drepper@gmail.com>
28747
28748 [BZ #12489]
28749 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
28750 before performing relro protection. At old place add assertion
28751 to make sure nothing changed.
28752
d3f02e10
NS
287532011-02-17 Nathan Sidwell <nathan@codesourcery.com>
28754 Glauber de Oliveira Costa <glommer@gmail.com>
28755
28756 * elf/elf.h: Add new ARM TLS relocs.
28757
d55fd7a5
RA
287582011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
28759
28760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28761 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
28762 cast from r3.
28763 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
28764 'tests' variable.
28765 * sysdeps/wordsize-64/tst-writev.c: New file.
28766
2206397e
RA
287672011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
28768
28769 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
28770 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
28771 insns in _dl_start to prevent a TOC reference before relocs are
28772 resolved.
28773
e9433893
UD
287742011-02-15 Ulrich Drepper <drepper@gmail.com>
28775
28776 [BZ #12469]
28777 * Makeconfig: Remove RANLIB definition.
28778 * Makerules: Don't use RANLIB.
28779 * aclocal.m4: Remove ranlib test.
28780 * configure.in: No need to check for ranlib.
28781 * elf/rtld-Rules: Don't use RANLIB.
28782
f75286c6
ST
287832011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
28784
8e31c82d
ST
28785 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
28786 protection macro.
28787 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
28788 inclusion protection macro.
28789
f75286c6
ST
28790 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
28791 SIGRTMIN and SIGRTMAX and print information in that case only when
28792 SIGRTMIN is defined.
28793
c1d0e639
JJ
287942011-02-11 Jakub Jelinek <jakub@redhat.com>
28795
28796 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
28797 arginfo fn returning -1.
28798
28799 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
28800 and thousands string is zero terminated.
28801
edf9294e
AS
288022011-02-03 Andreas Schwab <schwab@redhat.com>
28803
28804 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
28805 sysdeps/unix/sysv/linux/bits/socket.h.
28806
2b7e92df
ST
288072011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
28808
edf9294e
AS
28809 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
28810 (__CPU_COUNT): Remove old macros.
28811 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
28812 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
28813 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
28814 (__sched_cpualloc, __sched_cpufree): Add declarations.
28815
a4c7ea7b
UD
288162011-02-05 Ulrich Drepper <drepper@gmail.com>
28817
28818 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
28819 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
28820 * nscd/aicache.c (addhstaiX): Return timeout of added value.
28821 (readdhstai): Return value of addhstaiX call.
28822 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
28823 (addgrbyX): Return value returned by cache_addgr.
28824 (readdgrbyname): Return value returned by addgrbyX.
28825 (readdgrbygid): Likewise.
28826 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
28827 (addpwbyX): Return value returned by cache_addpw.
28828 (readdpwbyname): Return value returned by addhstbyX.
28829 (readdpwbyuid): Likewise.
28830 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
28831 (addservbyX): Return value returned by cache_addserv.
28832 (readdservbyname): Return value returned by addservbyX:
28833 (readdservbyport): Likewise.
28834 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
28835 (addhstbyX): Return value returned by cache_addhst.
28836 (readdhstbyname): Return value returned by addhstbyX.
28837 (readdhstbyaddr): Likewise.
28838 (readdhstbynamev6): Likewise.
28839 (readdhstbyaddrv6): Likewise.
28840 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
28841 (readdinitgroups): Return value returned by addinitgroupsX.
28842 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
28843 (prune_cache): Keep track of timeout value of re-added entries.
28844 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
28845 * nscd/nscd.h: Adjust prototypes of readd* functions.
28846
a0bf67cc
RM
288472011-02-04 Roland McGrath <roland@redhat.com>
28848
28849 * nis/nis_server.c (nis_servstate): Use the right name for 0.
28850 (nis_stats): Likewise.
28851 * nis/nis_modify.c (nis_modify): Likewise.
28852 * nis/nis_remove.c (nis_remove): Likewise.
28853 * nis/nis_add.c (nis_add): Likewise.
28854
28855 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
28856
28857 * posix/fnmatch_loop.c: Add some consts.
28858
28859 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
28860
435b95eb
L
288612011-02-02 H.J. Lu <hongjiu.lu@intel.com>
28862
28863 [BZ #12460]
28864 * config.make.in (config-cflags-novzeroupper): Define.
28865 * configure.in: Substitute libc_cv_cc_novzeroupper.
28866 * elf/Makefile (AVX-CFLAGS): Define.
28867 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
28868 (CFLAGS-tst-auditmod4a.c): Likewise.
28869 (CFLAGS-tst-auditmod4b.c): Likewise.
28870 (CFLAGS-tst-auditmod6b.c): Likewise.
28871 (CFLAGS-tst-auditmod6c.c): Likewise.
28872 (CFLAGS-tst-auditmod7b.c): Likewise.
28873 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
28874
8517b15e
UD
288752011-02-02 Ulrich Drepper <drepper@gmail.com>
28876
28877 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
28878 function to the callback.
28879 Patch partly by Jiri Olsa <jolsa@redhat.com>.
28880
10a656fe
AS
288812011-02-02 Andreas Schwab <schwab@redhat.com>
28882
28883 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
28884 of errno.
28885
968dad0a
UD
288862011-01-19 Ulrich Drepper <drepper@gmail.com>
28887
9f94d2ea 28888 [BZ #11724]
968dad0a
UD
28889 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
28890 of constructors.
28891 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
28892 of destructors.
28893 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
28894
28895 [BZ #11724]
28896 * elf/Makefile: Add rules to build and run new test.
28897 * elf/tst-initorder.c: New file.
28898 * elf/tst-initorder.exp: New file.
28899 * elf/tst-initordera1.c: New file.
28900 * elf/tst-initordera2.c: New file.
28901 * elf/tst-initordera3.c: New file.
28902 * elf/tst-initordera4.c: New file.
28903 * elf/tst-initorderb1.c: New file.
28904 * elf/tst-initorderb2.c: New file.
28905 * elf/tst-order-a1.c: New file.
28906 * elf/tst-order-a2.c: New file.
28907 * elf/tst-order-a3.c: New file.
28908 * elf/tst-order-a4.c: New file.
28909 * elf/tst-order-b1.c: New file.
28910 * elf/tst-order-b2.c: New file.
28911 * elf/tst-order-main.c: New file.
28912 New test case by George Gensure <werkt0@gmail.com>.
28913
86e92359
UD
289142010-10-01 Andreas Schwab <schwab@redhat.com>
28915
28916 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28917 decoding ACE if AI_CANONIDN.
28918
5d5732b0
UD
289192011-01-18 Ulrich Drepper <drepper@gmail.com>
28920
28921 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
28922
a77e8cbc
UD
289232011-01-17 Ulrich Drepper <drepper@gmail.com>
28924
6392473f
UD
28925 * version.h (RELEASE): Bump for 2.13 release.
28926 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
28927
620a0529
UD
28928 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
28929
18ba70a5
UD
28930 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
28931 MADV_NOHUGEPAGE.
32465c3e
UD
28932 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
28933 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28934 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28935 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28936 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28937 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
28938
c0dafcf1
UD
28939 * posix/getconf.c: Update copyright year.
28940 * catgets/gencat.c: Likewise.
28941 * csu/version.c: Likewise.
28942 * debug/catchsegv.sh: Likewise.
28943 * debug/xtrace.sh: Likewise.
28944 * elf/ldconfig.c: Likewise.
28945 * elf/ldd.bash.in: Likewise.
28946 * elf/sprof.c (print_version): Likewise.
28947 * iconv/iconv_prog.c: Likewise.
28948 * iconv/iconvconfig.c: Likewise.
28949 * locale/programs/locale.c: Likewise.
28950 * locale/programs/localedef.c: Likewise.
28951 * malloc/memusage.sh: Likewise.
28952 * malloc/mtrace.pl: Likewise.
28953 * nscd/nscd.c (print_version): Likewise.
28954 * nss/getent.c: Likewise.
28955
a77e8cbc
UD
28956 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
28957 PF_CAIF, and PF_ALG.
28958 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28959
77e8bddf
AS
289602011-01-16 Andreas Schwab <schwab@linux-m68k.org>
28961
1f20b93a
AS
28962 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
28963 (modules-names): Use them.
28964 (ifunc-test-modules, ifunc-pie-tests): Define.
28965 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
28966 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
28967 (test-extras): Likewise.
28968 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
28969 $(compile-command.c).
28970 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
28971 (all-built-dso): Define.
28972 (check-textrel.out, check-execstack.out): Depend on it.
28973
77e8bddf
AS
28974 * configure.in: Don't override --enable-multi-arch.
28975
bc425b33
UD
289762011-01-15 Ulrich Drepper <drepper@gmail.com>
28977
28978 [BZ #6812]
28979 * nscd/hstcache.c (tryagain): Define.
28980 (cache_addhst): Return tryagain not notfound for temporary errors.
28981 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
28982 failed.
28983
794c3ad3
UD
289842011-01-14 Ulrich Drepper <drepper@gmail.com>
28985
70181fdd
UD
28986 [BZ #10563]
28987 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
28988 to make the syscall.
28989 * sysdeps/unix/sysv/linux/setgroups.c: New file.
28990
794c3ad3
UD
28991 [BZ #12378]
28992 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
28993 and fall back to matching as normal character if the string ends before
28994 the matching ']' is found. This is what POSIX requires.
28995 * posix/testfnm.c: Adjust test result.
28996 * posix/globtest.sh: Adjust test result. Add new test.
28997 * posix/tst-fnmatch.input: Likewise.
28998 * posix/tst-fnmatch2.c: Add new test.
28999
68dc9497
AS
290002010-12-28 Andreas Schwab <schwab@linux-m68k.org>
29001
29002 * elf/Makefile (check-execstack): Revert last change. Depend on
29003 check-execstack.h.
29004 (check-execstack.h): New target.
29005 (generated): Add check-execstack.h.
29006 * elf/check-execstack.c: Include "check-execstack.h".
29007 (main): Revert last change.
29008 (handle_file): Return zero if GNU_STACK is absent and
29009 DEFAULT_STACK_PERMS doesn't include PF_X.
29010
451f001b
UD
290112011-01-13 Ulrich Drepper <drepper@gmail.com>
29012
cfa28e56
UD
29013 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
29014 in child fails because the descriptor is already closed.
8cf8ce17
UD
29015 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
29016 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
29017 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 29018
1086d70d
UD
29019 [BZ #12397]
29020 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
29021 syscall.
29022
451f001b
UD
29023 [BZ #10484]
29024 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
29025 temporary buffer used to handle multi lookups locally.
a85b5cb4 29026 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 29027
08769175
UD
290282011-01-12 Ulrich Drepper <drepper@gmail.com>
29029
29030 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
29031 loader is ld.so.
29032
5e49c52e
UD
290332011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
29034
29035 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
29036 alignment for SSE2.
29037
60522a5f
UD
290382011-01-12 Ulrich Drepper <drepper@gmail.com>
29039
29040 [BZ #12394]
29041 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
29042 characters. When rounding increased number of integer digits recompute
29043 number of groups.
29044 * stdio-common/tst-grouping.c: New file.
29045 * stdio-common/Makefile: Add rules to build and run tst-grouping.
29046
f257bbd7
UD
290472011-01-09 Ulrich Drepper <drepper@gmail.com>
29048
29049 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
29050 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
29051
29052 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
29053 void.
29054 * bits/select.h: Likewise.
29055
fa9c15cb
UD
290562011-01-08 Ulrich Drepper <drepper@gmail.com>
29057
29058 * po/ja.po: Update from translation team.
29059
16c2895f
DM
290602011-01-04 David S. Miller <davem@sunset.davemloft.net>
29061
29062 [BZ #11155]
29063 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
29064 implementation just like for lxstat, fxstatat, et al.
29065
2543fef2
JM
290662010-12-27 Jim Meyering <meyering@redhat.com>
29067
29068 [BZ #12348]
29069 * posix/regexec.c (build_trtable): Return failure indication upon
29070 calloc failure. Otherwise, re_search_internal could infloop on OOM.
29071
98727dbe
UD
290722010-12-25 Ulrich Drepper <drepper@gmail.com>
29073
5bd6dc5c
UD
29074 [BZ #12201]
29075 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
29076 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
29077 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
29078 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
29079
97983464
UD
29080 [BZ #12207]
29081 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
29082
98727dbe
UD
29083 [BZ #12204]
29084 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
29085 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
29086
4a531bb0
L
290872010-12-15 H.J. Lu <hongjiu.lu@intel.com>
29088
29089 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
29090 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
29091 script has SORT_BY_INIT_PRIORITY.
29092 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
29093 NO_CTORS_DTORS_SECTIONS is defined.
29094 * elf/soinit.c: Likewise.
29095 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
29096 NO_CTORS_DTORS_SECTIONS is defined.
29097 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
29098 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
29099 * sysdeps/sh/init-first.c: Likewise.
29100 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
29101
07eb4b71
UD
291022010-12-24 Ulrich Drepper <drepper@gmail.com>
29103
29104 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
29105 always use the slow path.
29106
30950a5f
RA
291072010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
29108
29109 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
29110 similar rule which adds the sysdep directories to the header search in
29111 order to pick up the correct platform stackinfo.h.
29112 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
29113 perform test if it is, otherwise return successfully without testing.
29114 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
29115 DEFAULT_STACK_PERMS define in stackinfo.h.
29116 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
29117 defined in stackinfo.h.
29118 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
29119 DEFAULT_STACK_PERMS defined in stackinfo.h.
29120 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
29121 * sysdeps/ia64/stackinfo.h: Likewise.
29122 * sysdeps/s390/stackinfo.h: Likewise.
29123 * sysdeps/sh/stackinfo.h: Likewise.
29124 * sysdeps/sparc/stackinfo.h: Likewise.
29125 * sysdeps/x86_64/stackinfo.h: Likewise.
29126 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
29127 PF_X for powerpc64. Retain PF_X for powerpc32.
29128
db753e2c
UD
291292010-12-19 Ulrich Drepper <drepper@gmail.com>
29130
14b697f7
UD
29131 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
29132 accurately.
db753e2c
UD
29133 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
29134 GETDENTS_64BIT_ALIGNED.
29135
28300719
UD
291362010-12-14 Ulrich Drepper <dreper@gmail.com>
29137
14b697f7 29138 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 29139
4f197237
AS
291402010-12-10 Andreas Schwab <schwab@redhat.com>
29141
dbb0472f
AS
29142 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
29143 _GNU_SOURCE.
29144
4f197237
AS
29145 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
29146 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
29147 Remove __restrict.
29148 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
29149 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
29150
fb88ac72
UD
291512010-12-09 Ulrich Drepper <drepper@gmail.com>
29152
29153 [BZ #11655]
29154 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
29155 are initialized.
29156
42acbb92
JJ
291572010-12-09 Jakub Jelinek <jakub@redhat.com>
29158
29159 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
29160
c038d98d
UD
291612010-12-03 Ulrich Drepper <drepper@gmail.com>
29162
29163 * po/it.po: Update from translation team.
29164
3a4a2499
L
291652010-12-01 H.J. Lu <hongjiu.lu@intel.com>
29166
29167 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
29168 unused codes.
29169
1e24cf6e
UD
291702010-11-30 Ulrich Drepper <drepper@gmail.com>
29171
29172 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
29173
a7690819
AS
291742010-11-24 Andreas Schwab <schwab@redhat.com>
29175
29176 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
29177 specially.
29178 (gaih_getanswer_slice): Likewise.
29179
3bf8d1b1
JJ
291802010-10-20 Jakub Jelinek <jakub@redhat.com>
29181
29182 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
29183
6db52fbb
PB
291842010-05-31 Petr Baudis <pasky@suse.cz>
29185
29186 [BZ #11149]
29187 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
29188 silently even in the chroot mode.
29189
eaca7569
UD
291902010-11-22 Ulrich Drepper <drepper@gmail.com>
29191
29192 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
29193 last patch a bit. Pretty printing
29194
3056dcdb
UD
291952010-05-31 Petr Baudis <pasky@suse.cz>
29196
29197 [BZ #10085]
29198 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
29199 initialization of skip_initgroups_dyn.
29200
cf7c9078
UD
292012010-11-19 Ulrich Drepper <drepper@gmail.com>
29202
29203 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
29204 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29205
a1fb5e3e
UD
292062010-11-16 Ulrich Drepper <drepper@gmail.com>
29207
29208 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
29209
3540d66b
AS
292102010-11-11 Andreas Schwab <schwab@redhat.com>
29211
29212 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
29213 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
29214 (tst-fnmatch-ENV): Set MALLOC_TRACE.
29215 ($(objpfx)tst-fnmatch-mem): New rule.
29216 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
29217 * posix/tst-fnmatch.c (main): Call mtrace.
29218
13b69574
L
292192010-11-11 H.J. Lu <hongjiu.lu@intel.com>
29220
29221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29222 Support Intel processor model 6 and model 0x2c.
29223
da93d214
LM
292242010-11-10 Luis Machado <luisgpm@br.ibm.com>
29225
29226 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
29227 signed comparison.
29228
8ca52c6e
L
292292010-11-09 H.J. Lu <hongjiu.lu@intel.com>
29230
29231 [BZ #12205]
29232 * string/test-strncasecmp.c (check_result): New function.
29233 (do_one_test): Use it.
29234 (check1): New function.
29235 (test_main): Use it.
29236 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
29237 Support strcasecmp and strncasecmp.
29238
69da074d
UD
292392010-11-08 Ulrich Drepper <drepper@gmail.com>
29240
29241 [BZ #12194]
29242 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
29243 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29244
ff02d528
L
292452010-11-07 H.J. Lu <hongjiu.lu@intel.com>
29246
29247 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
29248 IFUNC support.
29249 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29250 memset-x86-64.
29251 * sysdeps/x86_64/multiarch/bzero.S: New file.
29252 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
29253 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
29254 * sysdeps/x86_64/multiarch/memset.S: New file.
29255 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
29256 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29257 Set bit_Prefer_SSE_for_memop for Intel processors.
29258 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
29259 Define.
29260 (index_Prefer_SSE_for_memop): Define.
29261 (HAS_PREFER_SSE_FOR_MEMOP): Define.
29262
344d0b54
LM
292632010-11-04 Luis Machado <luisgpm@br.ibm.com>
29264
29265 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
29266 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
29267
c0dde15b
UD
292682010-11-03 H.J. Lu <hongjiu.lu@intel.com>
29269
29270 [BZ #12191]
29271 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29272 (__x86_64_raw_data_cache_size_half): Likewise.
29273 (__x86_64_raw_shared_cache_size): Likewise.
29274 (__x86_64_raw_shared_cache_size_half): Likewise.
29275
29276 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29277 (__x86_64_raw_data_cache_size_half): Likewise.
29278 (__x86_64_raw_shared_cache_size): Likewise.
29279 (__x86_64_raw_shared_cache_size_half): Likewise.
29280 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
29281 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
29282 and __x86_64_raw_shared_cache_size_half. Round
29283 __x86_64_data_cache_size_half, __x86_64_data_cache_size
29284 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
29285 to multiple of 256 bytes.
29286
0e516e0e
MS
292872010-11-03 Ulrich Drepper <drepper@gmail.com>
29288
29289 [BZ #12167]
29290 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
29291 of inacessible symlinks. Verify result of symlink before returning it.
29292 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
29293 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
29294
0e012e87
ER
292952010-10-28 Erich Ritz <erichritz@gmail.com>
29296
29297 * math/math.h (isinf): Fix typo in comment.
29298
de0ff7bc
UD
292992010-11-01 Ulrich Drepper <drepper@gmail.com>
29300
29301 * po/da.po: Update from translation team.
29302
fa41c84d
UD
293032010-10-26 Ulrich Drepper <drepper@gmail.com>
29304
29305 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
29306 is added to the list.
29307
f0967738
AK
293082010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29309 Ulrich Drepper <drepper@gmail.com>
29310
29311 * elf/dl-object.c (_dl_new_object): Don't append the new object to
29312 the global list here. Move code to...
29313 (_dl_add_to_namespace_list): ...here. New function.
29314 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
29315 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
29316 * elf/dl-load.c (lose): Don't remove the element from the list.
29317 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
29318 (_dl_map_object): Likewise.
29319
293202010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
29321
29322 [BZ #12159]
29323 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
29324 into all bytes of SSE register.
29325 Patch by Richard Li <richardpku@gmail.com>.
29326
f0967738 293272010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
29328
29329 [BZ #12140]
29330 * malloc/malloc.c (_int_free): Fill correct number of bytes when
29331 perturbing.
29332
d0b9e94f
MB
293332010-10-20 Michael B. Brutman <brutman@us.ibm.com>
29334
29335 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
29336 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
29337 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
29338 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
29340 submachine.
29341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
29342
8e9f92e9
AS
293432010-10-22 Andreas Schwab <schwab@redhat.com>
29344
29345 * include/dlfcn.h (__RTLD_SECURE): Define.
29346 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
29347 mode & __RTLD_SECURE instead.
29348 (open_path): Rename preloaded parameter to secure.
29349 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
29350 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
29351 * elf/dl-deps.c (openaux): Likewise.
29352 * elf/rtld.c (struct map_args): Remove is_preloaded.
29353 (map_doit): Don't use it.
29354 (dl_main): Likewise.
29355 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
29356 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
29357
bc96fbda
AS
293582010-09-09 Andreas Schwab <schwab@redhat.com>
29359
29360 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
29361 (sysd-rules-targets): Remove duplicates.
29362 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
29363 rtld-%.$o dependency.
29364
22cd1c9b
AS
293652010-10-18 Andreas Schwab <schwab@redhat.com>
29366
29367 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
29368 _dl_map_object do it.
29369
18edac48
UD
293702010-10-19 Ulrich Drepper <drepper@gmail.com>
29371
29372 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
29373 fast fma builtins, define the macros in the C99 standard.
29374 (FP_FAST_FMAF): Likewise.
29375 (FP_FAST_FMAL): Likewise.
29376 * sysdeps/x86_64/bits/mathdef.h: Likewise.
29377
29378 * bits/mathdef.h: Update copyright year.
29379 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29380
d2050124
MM
293812010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
29382
29383 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
29384 builtins, define the macros in the C99 standard.
29385 (FP_FAST_FMAF): Likewise.
29386 (FP_FAST_FMAL): Likewise.
29387 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
29388 multiply/add.
29389 (FP_FAST_FMAF): Likewise.
29390
475facd1
JJ
293912010-10-15 Jakub Jelinek <jakub@redhat.com>
29392
29393 [BZ #3268]
29394 * math/libm-test.inc (fma_test): Some new testcases.
29395 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
29396 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
29397 y and infinite z. Do multiplication by C already in long double.
29398 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
29399 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
29400 y and infinite z. Do bitwise or of inexact bit into u.d.
29401 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
29402 * sysdeps/i386/fpu/s_fmaf.S: Removed.
29403 * sysdeps/i386/fpu/s_fma.S: Removed.
29404 * sysdeps/i386/fpu/s_fmal.S: Removed.
29405
7c08a05c
JJ
294062010-10-16 Jakub Jelinek <jakub@redhat.com>
29407
29408 [BZ #3268]
29409 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
29410 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
29411 computation is not scheduled after fetestexcept. Fix value
29412 of minimum denormal long double.
29413
f3f7372d
JJ
294142010-10-14 Jakub Jelinek <jakub@redhat.com>
29415
29416 [BZ #3268]
29417 * math/libm-test.inc (fma_test): Add some more tests.
29418 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
29419 correctly.
29420
14d43591
AS
294212010-10-15 Andreas Schwab <schwab@redhat.com>
29422
29423 * scripts/data/localplt-s390-linux-gnu.data: New file.
29424 * scripts/data/localplt-s390x-linux-gnu.data: New file.
29425
5e908464
JJ
294262010-10-13 Jakub Jelinek <jakub@redhat.com>
29427
29428 [BZ #3268]
29429 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
29430 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
29431 instead of dbl-64.
29432 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
29433 inlines.
29434 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
29435 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
29436 if one of x and y is very large and the other is subnormal.
29437 * sysdeps/s390/fpu/s_fmaf.c: New file.
29438 * sysdeps/s390/fpu/s_fma.c: New file.
29439 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
29440 * sysdeps/powerpc/fpu/s_fma.S: New file.
29441 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
29442 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
29443 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
29444
294452010-10-12 Jakub Jelinek <jakub@redhat.com>
29446
29447 [BZ #3268]
29448 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
29449 fma tests.
29450 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
29451 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
29452 * sysdeps/i386/i686/multiarch/s_fma.c: Include
29453 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
29454 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
29455 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
29456 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
29457
b833d51f
UD
294582010-10-12 Ulrich Drepper <drepper@redhat.com>
29459
29460 [BZ #12078]
29461 * posix/regcomp.c (parse_branch): One more memory leak plugged.
29462 * posix/bug-regex31.input: Add test case.
29463
1751705d
UD
294642010-10-11 Ulrich Drepper <drepper@gmail.com>
29465
e9b9cbf5
UD
29466 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
29467 * posix/bug-regex31.input: New file.
29468
29469 [BZ #12078]
29470 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
29471 (parse_sub_exp): Fix last change, use postorder.
29472
ef06edbe
UD
29473 * posix/bug-regex31.c: New file.
29474 * posix/Makefile: Add rules to build and run bug-regex31.
29475
a129c80d
UD
29476 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
29477
29478 [BZ #12078]
29479 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
29480
b76b818e
UD
29481 [BZ #12108]
29482 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
29483 to have entries in sys_siglist.
29484
1751705d
UD
29485 [BZ #12093]
29486 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
29487 be NULL.
29488
9ff8d36f
JJ
294892010-10-07 Jakub Jelinek <jakub@redhat.com>
29490
29491 [BZ #3268]
29492 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
29493 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
29494 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
29495 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
29496 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29497 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
29498 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
29499 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
29500 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
29501 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
29502 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
29503 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
29504 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29505 * math/ftestexcept.c (fetestexcept): Likewise.
29506 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
29507 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
29508 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
29509 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
29510 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
29511 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
29512 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29513
af325969
UD
295142010-10-11 Ulrich Drepper <drepper@gmail.com>
29515
c579b202 29516 [BZ #12107]
af325969
UD
29517 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
29518 newline.
29519
67a67b95
UD
295202010-10-06 Ulrich Drepper <drepper@gmail.com>
29521
29522 * string/bug-strstr1.c: New file.
29523 * string/Makefile: Add rules to build and run bug-strstr1.
29524
5fb308bc
EB
295252010-10-05 Eric Blake <eblake@redhat.com>
29526
29527 [BZ #12092]
29528 * string/str-two-way.h (two_way_long_needle): Always clear memory
29529 when skipping input due to the shift table.
29530
45db99c7
UD
295312010-10-03 Ulrich Drepper <drepper@gmail.com>
29532
3b111893
UD
29533 [BZ #12005]
29534 * malloc/mcheck.c: Handle large requests.
29535
45db99c7
UD
29536 [BZ #12077]
29537 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
29538 for strncmp and strncasecmp.
29539 * string/stratcliff.c: Add tests for strcmp and strncmp.
29540 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
29541
cf7a1eb8
NI
295422010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29543
29544 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
29545 __set_fpscr.
29546
6484ba5e
AJ
295472010-09-30 Andreas Jaeger <aj@suse.de>
29548
29549 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
29550 (CGROUP_SUPER_MAGIC): Define.
29551 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29552 Handle btrfs and cgroup file systems.
29553 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29554 Likewise.
29555
91c42559
LM
295562010-09-27 Luis Machado <luisgpm@br.ibm.com>
29557
29558 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
29559 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
29560
87a97932
AK
295612010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29562
29563 [BZ #12067]
29564 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
29565 trying to locate the ELF header.
29566
c21cc9bc
AS
295672010-09-27 Andreas Schwab <schwab@redhat.com>
29568
29569 [BZ #11611]
29570 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
29571 Mask out sign-bit copies when constructing f_fsid.
29572
315970f6
PB
295732010-09-24 Petr Baudis <pasky@suse.cz>
29574
29575 * debug/stack_chk_fail_local.c: Add missing licence exception.
29576 * debug/warning-nop.c: Likewise.
29577
1ac7a2c7
JM
295782010-09-15 Joseph Myers <joseph@codesourcery.com>
29579
29580 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
29581 implementing getdents64 using getdents syscall, set d_type if
29582 __ASSUME_GETDENTS32_D_TYPE.
29583
56801c50
AS
295842010-09-16 Andreas Schwab <schwab@redhat.com>
29585
29586 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
29587 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
29588
dda51327
UD
295892010-09-21 Ulrich Drepper <drepper@redhat.com>
29590
29591 [BZ #12037]
29592 * posix/unistd.h: Undo change of feature selection for ftruncate from
29593 2010-01-11.
29594
8ffcee4a
UD
295952010-09-20 Ulrich Drepper <drepper@redhat.com>
29596
a545ecd9 29597 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
29598 detection.
29599
e24f0a8b
AS
296002010-09-20 Andreas Schwab <schwab@redhat.com>
29601
29602 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
29603 fanotify_mark.
29604 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
29605
7291c56f
AS
296062010-09-14 Andreas Schwab <schwab@redhat.com>
29607
29608 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
29609 variables after CHECK_SP call.
29610 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
29611
bc5fb037
AS
296122010-09-13 Andreas Schwab <schwab@redhat.com>
29613 Ulrich Drepper <drepper@redhat.com>
29614
29615 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
29616 re-relocationg ld.so.
29617 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
29618 _dl_init_paths call.
29619 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
29620 here anymore.
29621
e66e7419
UD
296222010-09-14 Ulrich Drepper <drepper@redhat.com>
29623
29624 * resolv/res_init.c (__res_vinit): Count the default server we added.
29625
c044aa75
CLT
296262010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
29627 Ulrich Drepper <drepper@redhat.com>
29628
29629 [BZ #11968]
29630 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29631 (____longjmp_chk): Use %ebx for saving value across system call.
29632 Add unwind info.
29633
32cf4069
AS
296342010-09-06 Andreas Schwab <schwab@redhat.com>
29635
29636 * manual/Makefile: Don't mix pattern rules with normal rules.
29637
817328ee
AS
296382010-09-05 Andreas Schwab <schwab@linux-m68k.org>
29639
29640 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
29641 operation.
29642 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
29643 * libio/iofopncook.c (_IO_cookie_init): Likewise.
29644 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
29645 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
29646 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29647 Likewise.
29648
29fddf61
UD
296492010-09-04 Ulrich Drepper <drepper@redhat.com>
29650
29651 [BZ #11979]
29652 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
29653 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
29654
0959ffc9
UD
296552010-09-02 Ulrich Drepper <drepper@redhat.com>
29656
29657 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
29658 * sysdeps/x86_64/addmul_1.S: Likewise.
29659 * sysdeps/x86_64/lshift.S: Likewise.
29660 * sysdeps/x86_64/mul_1.S: Likewise.
29661 * sysdeps/x86_64/rshift.S: Likewise.
29662 * sysdeps/x86_64/sub_n.S: Likewise.
29663 * sysdeps/x86_64/submul_1.S: Likewise.
29664
ece29840
ST
296652010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
29666
0959ffc9
UD
29667 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
29668 Define __sched_param instead of SCHED_* and sched_param when
ece29840 29669 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 29670 * bits/sched.h [__need_schedparam]
ece29840 29671 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
29672 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
29673 (__defined_schedparam): Define to 1.
ece29840
ST
29674 (__sched_param): New structure, identical to sched_param.
29675 (__need_schedparam): Undefine.
29676
e53a31fe
MF
296772010-08-31 Mike Frysinger <vapier@gentoo.org>
29678
fdc0c10d
MF
29679 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
29680 (epoll_create1): Declare.
29681
e53a31fe
MF
29682 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
29683
a726d796
AS
296842010-08-31 Andreas Schwab <schwab@redhat.com>
29685
29686 [BZ #7066]
29687 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
29688 shifting retval into place.
29689
2f3e3dc7
UD
296902010-09-01 Ulrich Drepper <drepper@redhat.com>
29691
f2933da9
UD
29692 * nis/rpcsvc/nis.h: Update copyright notice.
29693 * nis/rpcsvc/nis.x: Likewise.
29694 * nis/rpcsvc/nis_callback.h: Likewise.
29695 * nis/rpcsvc/nis_callback.x: Likewise.
29696 * nis/rpcsvc/nis_object.x: Likewise.
29697 * nis/rpcsvc/nis_tags.h: Likewise.
29698 * nis/rpcsvc/yp.h: Likewise.
29699 * nis/rpcsvc/yp.x: Likewise.
29700 * nis/rpcsvc/ypupd.h: Likewise.
29701 * nis/yp_xdr.c: Likewise.
29702 * nis/ypupdate_xdr.c: Likewise.
29703
2f3e3dc7
UD
29704 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
29705 mainly the body of pmap_getport. Add parameters to specify timeouts.
29706 (pmap_getport): Use __libc_rpc_getport.
29707 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
29708 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
29709 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
29710
f3dcc2f9
AS
297112010-08-31 Andreas Schwab <schwab@linux-m68k.org>
29712
29713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
29714 fanotify_mark.
29715
6d34eb5b
RM
297162010-08-27 Roland McGrath <roland@redhat.com>
29717
29718 * sysdeps/i386/i686/multiarch/Makefile
29719 (CFLAGS-varshift.c): New variable.
29720
9ea3de11
UD
297212010-08-27 Ulrich Drepper <drepper@redhat.com>
29722
c96d23fc
UD
29723 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
29724 * sysdeps/i386/i686/multiarch/varshift.c: New file.
29725
9ea3de11
UD
29726 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
29727
29728 * sysdeps/x86_64/strlen.S: Minimal code improvement.
29729
623aac7f
L
297302010-08-26 H.J. Lu <hongjiu.lu@intel.com>
29731
29732 * sysdeps/x86_64/strlen.S: Unroll the loop.
29733 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29734 strlen-sse2 strlen-sse2-bsf.
29735 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
29736 __strlen_no_bsf if bit_Slow_BSF is set.
29737 (__strlen_sse42): Removed.
29738 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
29739 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
29740
8b2b7715
RM
297412010-08-25 Roland McGrath <roland@redhat.com>
29742
29743 * sysdeps/x86_64/multiarch/varshift.S: File removed.
29744 * sysdeps/x86_64/multiarch/varshift.c: New file.
29745 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
29746 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
29747 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
29748 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29749
e73015f2
L
297502010-08-25 H.J. Lu <hongjiu.lu@intel.com>
29751
29752 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29753 strlen-sse2 strlen-sse2-bsf.
29754 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
29755 __strlen_sse2_bsf if bit_Slow_BSF is unset.
29756 (__strlen_sse2): Removed.
29757 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
29758 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
29759 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29760 bit_Slow_BSF for Atom.
29761 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
29762 (index_Slow_BSF): Define.
29763 (HAS_SLOW_BSF): Define.
29764
df24a73e
UD
297652010-08-25 Ulrich Drepper <drepper@redhat.com>
29766
29767 [BZ #10851]
29768 * resolv/res_init.c (__res_vinit): When no server address at all
29769 is given default to loopback.
29770
f2ac4868
RM
297712010-08-24 Roland McGrath <roland@redhat.com>
29772
09055553
RM
29773 * configure.in: Remove config-name.h generation.
29774 * configure: Regenerated.
29775 * config-name.in: File removed.
29776 * scripts/config-uname.sh: New file.
29777 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
29778 ($(objdir)config-name.h): New target.
29779
f2ac4868
RM
29780 * sunrpc/rpc_parse.h: Avoid nested comment.
29781
73f27d5e
RH
297822010-08-24 Richard Henderson <rth@redhat.com>
29783 Ulrich Drepper <drepper@redhat.com>
29784 H.J. Lu <hongjiu.lu@intel.com>
29785
29786 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
29787 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
29788 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
29789 Replace _mm_srli_si128 with __m128i_shift_right. Replace
29790 _mm_alignr_epi8 with _mm_loadu_si128.
29791 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
29792 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
29793 (__m128i_shift_right): Removed.
29794 * sysdeps/i386/i686/multiarch/varshift.h: New file.
29795 * sysdeps/i386/i686/multiarch/varshift.S: New file.
29796 * sysdeps/x86_64/multiarch/varshift.h: New file.
29797 * sysdeps/x86_64/multiarch/varshift.S: New file.
29798
84b9230c
MF
297992010-08-21 Mike Frysinger <vapier@gentoo.org>
29800
29801 * configure.in: Move assembler checks to before sysdep dir checking.
29802
9bbd0ddc
PB
298032010-08-20 Petr Baudis <pasky@suse.cz>
29804
29805 * LICENSES: Sync the sunrpc license.
29806
9da4bb31
UD
298072010-08-19 Ulrich Drepper <drepper@redhat.com>
29808
a7ab6ec8
UD
29809 * sunrpc/auth_des.c: Update copyright notice once again.
29810 * sunrpc/auth_none.c: Likewise.
29811 * sunrpc/auth_unix.c: Likewise.
29812 * sunrpc/authdes_prot.c: Likewise.
29813 * sunrpc/authuxprot.c: Likewise.
29814 * sunrpc/bindrsvprt.c: Likewise.
29815 * sunrpc/clnt_gen.c: Likewise.
29816 * sunrpc/clnt_perr.c: Likewise.
29817 * sunrpc/clnt_raw.c: Likewise.
29818 * sunrpc/clnt_simp.c: Likewise.
29819 * sunrpc/clnt_tcp.c: Likewise.
29820 * sunrpc/clnt_udp.c: Likewise.
29821 * sunrpc/clnt_unix.c: Likewise.
29822 * sunrpc/des_crypt.c: Likewise.
29823 * sunrpc/des_soft.c: Likewise.
29824 * sunrpc/get_myaddr.c: Likewise.
29825 * sunrpc/getrpcport.c: Likewise.
29826 * sunrpc/key_call.c: Likewise.
29827 * sunrpc/key_prot.c: Likewise.
29828 * sunrpc/openchild.c: Likewise.
29829 * sunrpc/pm_getmaps.c: Likewise.
29830 * sunrpc/pm_getport.c: Likewise.
29831 * sunrpc/pmap_clnt.c: Likewise.
29832 * sunrpc/pmap_prot.c: Likewise.
29833 * sunrpc/pmap_prot2.c: Likewise.
29834 * sunrpc/pmap_rmt.c: Likewise.
29835 * sunrpc/rpc/auth.h: Likewise.
29836 * sunrpc/rpc/auth_unix.h: Likewise.
29837 * sunrpc/rpc/clnt.h: Likewise.
29838 * sunrpc/rpc/des_crypt.h: Likewise.
29839 * sunrpc/rpc/key_prot.h: Likewise.
29840 * sunrpc/rpc/netdb.h: Likewise.
29841 * sunrpc/rpc/pmap_clnt.h: Likewise.
29842 * sunrpc/rpc/pmap_prot.h: Likewise.
29843 * sunrpc/rpc/pmap_rmt.h: Likewise.
29844 * sunrpc/rpc/rpc.h: Likewise.
29845 * sunrpc/rpc/rpc_des.h: Likewise.
29846 * sunrpc/rpc/rpc_msg.h: Likewise.
29847 * sunrpc/rpc/svc.h: Likewise.
29848 * sunrpc/rpc/svc_auth.h: Likewise.
29849 * sunrpc/rpc/types.h: Likewise.
29850 * sunrpc/rpc/xdr.h: Likewise.
29851 * sunrpc/rpc_clntout.c: Likewise.
29852 * sunrpc/rpc_cmsg.c: Likewise.
29853 * sunrpc/rpc_common.c: Likewise.
29854 * sunrpc/rpc_cout.c: Likewise.
29855 * sunrpc/rpc_dtable.c: Likewise.
29856 * sunrpc/rpc_hout.c: Likewise.
29857 * sunrpc/rpc_main.c: Likewise.
29858 * sunrpc/rpc_parse.c: Likewise.
29859 * sunrpc/rpc_parse.h: Likewise.
29860 * sunrpc/rpc_prot.c: Likewise.
29861 * sunrpc/rpc_sample.c: Likewise.
29862 * sunrpc/rpc_scan.c: Likewise.
29863 * sunrpc/rpc_scan.h: Likewise.
29864 * sunrpc/rpc_svcout.c: Likewise.
29865 * sunrpc/rpc_tblout.c: Likewise.
29866 * sunrpc/rpc_util.c: Likewise.
29867 * sunrpc/rpc_util.h: Likewise.
29868 * sunrpc/rpcinfo.c: Likewise.
29869 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
29870 * sunrpc/rpcsvc/key_prot.x: Likewise.
29871 * sunrpc/rpcsvc/klm_prot.x: Likewise.
29872 * sunrpc/rpcsvc/mount.x: Likewise.
29873 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
29874 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
29875 * sunrpc/rpcsvc/rex.x: Likewise.
29876 * sunrpc/rpcsvc/rstat.x: Likewise.
29877 * sunrpc/rpcsvc/rusers.x: Likewise.
29878 * sunrpc/rpcsvc/sm_inter.x: Likewise.
29879 * sunrpc/rpcsvc/spray.x: Likewise.
29880 * sunrpc/rpcsvc/yppasswd.x: Likewise.
29881 * sunrpc/rtime.c: Likewise.
29882 * sunrpc/svc.c: Likewise.
29883 * sunrpc/svc_auth.c: Likewise.
29884 * sunrpc/svc_authux.c: Likewise.
29885 * sunrpc/svc_raw.c: Likewise.
29886 * sunrpc/svc_run.c: Likewise.
29887 * sunrpc/svc_simple.c: Likewise.
29888 * sunrpc/svc_tcp.c: Likewise.
29889 * sunrpc/svc_udp.c: Likewise.
29890 * sunrpc/svc_unix.c: Likewise.
29891 * sunrpc/svcauth_des.c: Likewise.
29892 * sunrpc/xcrypt.c: Likewise.
29893 * sunrpc/xdr.c: Likewise.
29894 * sunrpc/xdr_array.c: Likewise.
29895 * sunrpc/xdr_float.c: Likewise.
29896 * sunrpc/xdr_mem.c: Likewise.
29897 * sunrpc/xdr_rec.c: Likewise.
29898 * sunrpc/xdr_ref.c: Likewise.
29899 * sunrpc/xdr_sizeof.c: Likewise.
29900 * sunrpc/xdr_stdio.c: Likewise.
29901
9da4bb31
UD
29902 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
29903 handling.
29904
bdaa77bc
AS
299052010-08-19 Andreas Schwab <schwab@redhat.com>
29906
29907 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
29908
fe2f79db
LM
299092010-08-19 Luis Machado <luisgpm@br.ibm.com>
29910
29911 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
29912 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
29913 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
29914 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
29915 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
29916 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
29917 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
29918 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
29919 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
29920 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
29921 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
29922 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
29923 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
29924 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
29925
b9b42ee0
AB
299262010-07-26 Anton Blanchard <anton@samba.org>
29927
29928 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
29929 * malloc/arena.c (heap_trim): Likewise.
29930
1c06ba31
UD
299312010-08-16 Ulrich Drepper <drepper@redhat.com>
29932
29933 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
29934 here. Not...
29935 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
29936 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
29937
f8392f40
L
299382010-08-12 H.J. Lu <hongjiu.lu@intel.com>
29939
29940 * sysdeps/i386/elf/Makefile: New file.
29941
3162f12e
AS
299422010-08-14 Andreas Schwab <schwab@linux-m68k.org>
29943
29944 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
29945 from fanotify_init.
29946 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
29947 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
29948
28c90b2c
UD
299492010-08-15 Ulrich Drepper <drepper@redhat.com>
29950
29951 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
29952 of strncasecmp_l.
1feccb6c 29953 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 29954
ca6bb004
UD
299552010-08-14 Ulrich Drepper <drepper@redhat.com>
29956
e9f82e0d
UD
29957 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
29958 strncase_l-nonascii.
29959 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
29960 Add strncase_l-ssse3.
29961 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
29962 * sysdeps/x86_64/strcmp.S: Likewise.
29963 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
29964 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
29965 * sysdeps/x86_64/strncase.S: New file.
29966 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
29967 * sysdeps/x86_64/strncase_l.S: New file.
29968 * string/Makefile (strop-tests): Add strncasecmp.
29969 * string/test-strncasecmp.c: New file.
29970
29971 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
29972 warning.
29973
ca6bb004
UD
29974 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
29975 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
29976
052fa7b3
AS
299772010-08-14 Andreas Schwab <schwab@linux-m68k.org>
29978
29979 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
29980
962dba78
UD
299812010-08-12 Ulrich Drepper <drepper@redhat.com>
29982
29983 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
29984 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
29985 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
29986
bebff237
AM
299872010-05-01 Alan Modra <amodra@gmail.com>
29988
29989 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
29990 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
29991 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
29992 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
29993 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
29994 tidying. Don't tail-call __sigjmp_save for static lib.
29995 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
29996 save location.
29997 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
29998 (CALL_MCOUNT): Add eh info, and nop after bl.
29999 (TAIL_CALL_SYSCALL_ERROR): New macro.
30000 (PSEUDO_RET): Use it.
30001 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30002 Correct save location of integer regs and cr.
30003 (_dl_profile_resolve): Correct cr save location. Delete nops
30004 after bl when SHARED. Reduce cfi size a little by better
30005 placement of cfi directives.
30006 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
30007 make a stack frame. Instead use parm save area as a temp.
30008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
30009 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
30010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30011 Don't make a stack frame for parent, use parm save area.
30012 Increase child stack frame to 112 bytes. Don't save unused reg,
30013 and adjust reg usage. Set up cfi on error recovery and
30014 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
30015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30016 (__makecontext): Add dummy nop after jump to exit.
30017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
30018 Use correct parm save area and cr save, reduce stack frame.
30019 Correct cfi for possible PSEUDO_RET frame setup.
30020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
30021 Branch to local label emitted by PSEUDO_RET rather than
30022 __syscall_error.
30023
02637374
AS
300242010-08-12 Andreas Schwab <schwab@redhat.com>
30025
30026 [BZ #11904]
30027 * locale/programs/locale.c (print_assignment): New function.
30028 (show_locale_vars): Use it.
30029
c3e2f19b
UD
300302010-08-11 Ulrich Drepper <drepper@redhat.com>
30031
3cdaa6ad
UD
30032 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
30033 field.
30034 (struct statfs64): Likewise.
30035 (_STATFS_F_FLAGS): Define.
30036 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
30037 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30038 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
30039 (ST_VALID): Define locally.
30040 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
30041 __statvfs_getflags, use the provided value.
30042 * sysdeps/unix/sysv/linux/kernel-features.h: Define
30043 __ASSUME_STATFS_F_FLAGS.
30044
754f7da3
UD
30045 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
30046
10b3bedc
UD
30047 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
30048 Add sys/fanotify.h.
30049 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
30050 fanotify_mask for GLIBC_2.13.
30051 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
30052 fanotify_init and fanotify_mark.
30053 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30054 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
30055
c08fb0d7
UD
30056 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
30057 Add prlimit.
30058 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
30059 prlimit64 for GLIBC_2.13.
30060 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
30061 prlimit64.
30062 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
30063 syscall.
30064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
30065 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30066 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
30067 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
30068 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
30069 add prlimit alias.
30070 * sysdeps/unix/sysv/linux/prlimit.c: New file.
30071
15bac72b
UD
30072 [BZ #11903]
30073 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
30074 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
30075
c3e2f19b
UD
30076 * nss/Makefile: Add rules to build and run tst-nss-test1.
30077 * shlib-versions: Add entry for libnss_test1.
30078 * nss/nss_test1.c: New file.
30079 * nss/tst-nss-test1.c: New file.
30080
30081 * nss/nsswitch.c (__nss_database_custom): Define new variable.
30082 (__nss_configure_lookup): Set appropriate entry in
30083 __nss_configure_lookup to true.
30084 * nss/nsswitch.h: Define enum with indeces of databases in
30085 databases and __nss_database_custom arrays. Declare
30086 __nss_database_custom.
30087 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
30088 to avoid using nscd when custom rules are installed.
30089 * nss/getXXbyYY_r.c: Likewise.
30090 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30091
30092 * nss/nss_files/files-parse.c: Whitespace fixes.
30093
f15ce4d8
UD
300942010-08-09 Ulrich Drepper <drepper@redhat.com>
30095
30096 [BZ #11883]
30097 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
30098 * posix/fnmatch_loop.c: Likewise.
30099
d22e4cc9
AK
301002010-07-17 Andi Kleen <ak@linux.intel.com>
30101
30102 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
30103 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
30104 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
30105 * Versions.def [GLIBC_2.13]: Add.
30106
805bc17d
UD
301072010-08-06 Ulrich Drepper <drepper@redhat.com>
30108
30109 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30110 Also fail if tpwd after pwuid call is NULL.
30111
5a42321d
ST
301122010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
30113
30114 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
30115 when converting to ms.
30116
fd3ebeda
ST
301172010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30118
30119 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
30120 EOPNOTSUPP errors with ENOTTY.
30121 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
30122 EOPNOTSUPP errors with ENOTTY.
30123
73507d3a
UD
301242010-07-31 Ulrich Drepper <drepper@redhat.com>
30125
30126 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30127 Add strcasecmp_l-ssse3.
30128 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
30129 strcasecmp.
30130 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
30131 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
30132 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
30133
fe36dd02
UD
301342010-07-30 Ulrich Drepper <drepper@redhat.com>
30135
66f6765a
UD
30136 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
30137
42e08a54
UD
30138 * string/Makefile (strop-tests): Add strcasecmp.
30139 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30140 strcasecmp_l-nonascii.
30141 (gen-as-const-headers): Add locale-defines.sym.
30142 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
30143 * sysdeps/x86_64/strcasecmp.S: New file.
30144 * sysdeps/x86_64/strcasecmp_l.S: New file.
30145 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
30146 * sysdeps/x86_64/locale-defines.sym: New file.
30147 * string/test-strcasecmp.c: New file.
30148
fe36dd02
UD
30149 * string/test-strcasestr.c: Test both ends of the range of characters.
30150 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
30151
48cbc0d6
RM
301522010-07-29 Roland McGrath <roland@redhat.com>
30153
76e6d6bc 30154 [BZ #11856]
48cbc0d6
RM
30155 * manual/locale.texi (Yes-or-No Questions): Fix example code.
30156
880113d9
UD
301572010-07-27 Ulrich Drepper <drepper@redhat.com>
30158
30159 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
30160 for ld.so.
30161
deb9cabb
AS
301622010-07-27 Andreas Schwab <schwab@redhat.com>
30163
30164 * manual/memory.texi (Malloc Tunable Parameters): Document
30165 M_PERTURB.
30166
1c7570ff
RM
301672010-07-26 Roland McGrath <roland@redhat.com>
30168
30169 [BZ #11840]
30170 * configure.in (-fgnu89-inline check): Set and substitute
30171 gnu89_inline, not libc_cv_gnu89_inline.
30172 * configure: Regenerated.
30173 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
30174
24fb0f88
UD
301752010-07-26 Ulrich Drepper <drepper@redhat.com>
30176
30177 * string/test-strnlen.c: New file.
30178 * string/Makefile (strop-tests): Add strnlen.
30179 * string/tester.c (test_strnlen): Add a few more test cases.
30180 * string/tst-strlen.c: Better error reporting.
30181
30182 * sysdeps/x86_64/strnlen.S: New file.
30183
8e96b93a
UD
301842010-07-24 Ulrich Drepper <drepper@redhat.com>
30185
30186 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
30187 lower-latency instructions.
30188
dbc676d4
UD
301892010-07-23 Ulrich Drepper <drepper@redhat.com>
30190
30191 * string/test-strcasestr.c: New file.
30192 * string/test-strstr.c: New file.
30193 * string/Makefile (strop-tests): Add strstr and strcasestr.
30194 * string/str-two-way.h: Don't undefine MAX.
30195 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
30196
f6a31e0e
AS
301972010-07-21 Andreas Schwab <schwab@redhat.com>
30198
30199 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30200 strcasestr-nonascii.
30201 (CFLAGS-strcasestr-nonascii.c): Define.
30202 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
30203 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
30204 Remove unused attribute.
30205
5dbc3b6c
RM
302062010-07-20 Roland McGrath <roland@redhat.com>
30207
30208 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
30209 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
30210 ld.so.cache was broken. With it, there is no way to disable dsocaps
30211 like LD_HWCAP_MASK can disable hwcaps.
30212
23d101d8
EPM
302132010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30214
30215 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
30216
cc9f2e47
UD
302172010-07-16 Ulrich Drepper <drepper@redhat.com>
30218
30219 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
30220 call in strcasestr.
30221 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
30222 __strcasestr_sse42_nonascii.
30223 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
30224 strcasestr-nonascii.c.
30225 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
30226
77c1b069
LM
302272010-06-15 Luis Machado <luisgpm@br.ibm.com>
30228
30229 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
30230 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
30231 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
30232 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
30233
440566c3
UD
302342010-07-09 Ulrich Drepper <drepper@redhat.com>
30235
30236 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
30237 fcntl.
30238
5be9d05d
AS
302392010-07-06 Andreas Schwab <schwab@redhat.com>
30240
c30b7ee2 30241 [BZ #11577]
5be9d05d
AS
30242 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
30243 dl_signal_cerror.
30244
8a492a67
UD
302452010-07-06 Ulrich Drepper <drepper@redhat.com>
30246
30247 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
30248 _PC_PIPE_BUF using F_GETPIPE_SZ.
30249
713df3d5
RM
302502010-07-05 Roland McGrath <roland@redhat.com>
30251
30252 * manual/arith.texi (Rounding Functions): Fix rint description
30253 implicit in round description.
30254
702e8f14
UD
302552010-07-02 Ulrich Drepper <drepper@redhat.com>
30256
30257 * elf/Makefile: Fix linking for a few tests to make recent linker
30258 happy.
30259
52ed8be9
AS
302602010-06-30 Andreas Schwab <schwab@redhat.com>
30261
30262 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30263 $(common-objpfx)libc_nonshared.a.
30264
f47c9a11
LM
302652010-06-21 Luis Machado <luisgpm@br.ibm.com>
30266
30267 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
30268 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
30269 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30270 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30271 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
30272 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
30273 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30274 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
30276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
30277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
30278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
30280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
30282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
30283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
30284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
30285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
30287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
30289 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
30290 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
30291 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
30292 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
30293 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
30294 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
30295 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
30296 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
30297 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
30298 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
30299 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
30300 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
30301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
30302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
30303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
30304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
30305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
30306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
30307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
30308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
30309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
30310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
30311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
30312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
30313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
30314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
30315
6fb8cbcb
L
303162010-06-25 H.J. Lu <hongjiu.lu@intel.com>
30317
30318 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
30319 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
30320 * string/memmove.c (memmove): Renamed to ...
30321 (MEMMOVE): ...this. Default to memmove.
30322 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
30323 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
30324 (END_CHK): Define.
30325 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30326 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
30327 mempcpy-ssse3-back memmove-ssse3-back.
30328 * sysdeps/x86_64/multiarch/bcopy.S: New file .
30329 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
30330 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
30331 * sysdeps/x86_64/multiarch/memcpy.S: New file.
30332 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
30333 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
30334 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
30335 * sysdeps/x86_64/multiarch/memmove.c: New file.
30336 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
30337 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
30338 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
30339 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
30340 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
30341 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
30342 Define.
30343 (index_Fast_Copy_Backward): Define.
30344 (HAS_ARCH_FEATURE): Define.
30345 (HAS_FAST_REP_STRING): Define.
30346 (HAS_FAST_COPY_BACKWARD): Define.
30347
4e733bac 303482010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
30349
30350 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30351 Restore proper fallback handling.
30352
63c4ed22
UD
303532010-06-19 Ulrich Drepper <drepper@redhat.com>
30354
ac2b484c
UD
30355 [BZ #11701]
30356 * posix/group_member.c (__group_member): Correct checking loop.
30357
63c4ed22
UD
30358 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
30359 OOM in getpwuid_r correctly. Return error number when the caller
30360 should return, otherwise -1.
30361 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
30362 call returning > 0 value.
30363 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
30364
765ade4b
AS
303652010-06-07 Andreas Schwab <schwab@redhat.com>
30366
30367 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
30368 libc_nonshared.a from targets in modules-names.
30369
80da2e09
KS
303702010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
30371
30372 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
30373 requires it.
30374
158db122
LM
303752010-06-10 Luis Machado <luisgpm@br.ibm.com>
30376
30377 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
30378 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
30379 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
30380 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
30381
caa78cf8
AS
303822010-06-02 Andreas Schwab <schwab@redhat.com>
30383
30384 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
30385
b2ef2c01
UD
303862010-06-14 Ulrich Drepper <drepper@redhat.com>
30387
30388 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
30389 and F_GETPIPE_SZ.
30390 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30391 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30392 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30393 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30394 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30395 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
30396
fbd643b6
RM
303972010-06-14 Roland McGrath <roland@redhat.com>
30398
30399 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
30400
f32f2869
JJ
304012010-06-07 Jakub Jelinek <jakub@redhat.com>
30402
30403 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
30404 __REDIRECT followed by __THROW.
30405 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
30406 * posix/getopt.h (getopt): Likewise.
30407
2a50c078
EPM
304082010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30409
30410 * hurd/lookup-at.c (__file_name_lookup_at): Accept
30411 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
30412 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
30413 in AT_FLAGS.
30414 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
30415 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
30416
eb5ad2eb
LM
304172010-05-28 Luis Machado <luisgpm@br.ibm.com>
30418
30419 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
30420
3c88fe1e
L
304212010-05-26 H.J. Lu <hongjiu.lu@intel.com>
30422
30423 [BZ #11640]
30424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30425 Properly check family and model.
30426
d2f73151
TY
304272010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
30428
30429 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
30430
ebd2e13d
LM
304312010-05-24 Luis Machado <luisgpm@br.ibm.com>
30432
30433 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
30434
b32b8b45
UD
304352010-05-21 Ulrich Drepper <drepper@redhat.com>
30436
30437 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
30438 symbol reference.
30439
9acbe24d
AS
304402010-05-19 Andreas Schwab <schwab@redhat.com>
30441
30442 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
30443 symbol reference.
30444
f0ccf6ea
AS
304452010-05-21 Andreas Schwab <schwab@redhat.com>
30446
3d04ff3a
AS
30447 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
30448 and internal_recvmmsg.
30449 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
30450 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
30451 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
30452 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
30453
f0ccf6ea
AS
30454 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
30455 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30456 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30457
5b08ac57
AS
304582010-05-20 Andreas Schwab <schwab@redhat.com>
30459
30460 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
30461
4828935d
LM
304622010-05-17 Luis Machado <luisgpm@br.ibm.com>
30463
30464 POWER7 optimizations.
30465 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
30466 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
30467
373d545e
UD
304682010-05-19 Ulrich Drepper <drepper@redhat.com>
30469
30470 * version.h: Update for 2.13 development version.
30471
21a2b1ae
AS
304722010-05-12 Andrew Stubbs <ams@codesourcery.com>
30473
30474 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
30475 exceptions. Return 0.
30476
3f7dcb2b
RM
304772010-05-07 Roland McGrath <roland@redhat.com>
30478
30479 * elf/ldconfig.c (main): Add a const.
30480
5f24d53a 304812010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 30482
a160f8d8
UD
30483 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
30484 (args_options): Add no-idn option.
30485 (ahosts_keys_int): Add idn_flags to ai_flags.
30486 (parse_option): Handle 'i' option to clear idn_flags.
30487
5f24d53a
UD
30488 * malloc/malloc.c (_int_free): Possible race in the most recently
30489 added check. Only act on the data if no current modification
30490 happened.
265bb1ce
UD
30491
30492See ChangeLog.17 for earlier changes.